(this.webpackJsonpoffice=this.webpackJsonpoffice||[]).push([[0],{103:function(e,a,t){},1041:function(e,a,t){},1042:function(e,a,t){},1043:function(e,a,t){},1044:function(e,a,t){e.exports=t.p+"static/media/formula.8371403a.png"},1188:function(e){e.exports=JSON.parse("{}")},1189:function(e,a,t){},1190:function(e,a,t){"use strict";t.r(a);var n=t(0),l=t.n(n),i=t(28),r=t.n(i),o=(t(735),t(736),t(35)),c=t.n(o),s=t(59),d=t(14),m=t(3),p=t(8),u=t(5),g=t(12),f=t.n(g),b=t(105),E=t(37),x=t(114),v=t(1227),y=t(443),h=t(1197),A=t(1216),j=t(72),B=t(1236),C=t(224),T=t(692),O=t.n(T),S=t(365),w=t.n(S),k=t(364),z=t.n(k),L=t(1200),N=t(1238),I=t(532),R=t(518),P=t(1250),D=t(453),q=t.n(D),G=t(95),U=t.n(G),F=t(96),_=t.n(F),M=t(454),W=t.n(M),Q=t(338),V=t.n(Q),H=t(455),K=t.n(H),Z=t(214),J=t.n(Z),X=t(694),Y=t.n(X),$=t(693),ee=t.n($),ae=t(32),te=t(185),ne=t(339),le=t(513),ie=t(623),re=t(1219),oe=t(1218),ce=t(393),se=t(1215),de=t(1246),me=(t(289),t(51));function pe(){return l.a.createElement("div",null,l.a.createElement("table",null,l.a.createElement("tr",null)))}var ue=Object(b.a)((function(e){return{paper:{marginTop:e.spacing(8),display:"flex",flexDirection:"column",alignItems:"center"},avatar:{margin:e.spacing(1),backgroundColor:"#788A6B"},form:{width:"100%",marginTop:e.spacing(1)},submit:{margin:e.spacing(3,0,2)}}})),ge=l.a.createContext({name:"Default"});function fe(){var e=de.b.useMessage(),a=Object(d.a)(e,2),t=a[0],i=a[1],r=ue(),o=Object(me.c)(),c=Object(n.useState)({name:"",password:""}),s=Object(d.a)(c,2),p=s[0],u=s[1],g=function(e,a){e.length>0&&a.length>0?f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/user/login/"+e+"/"+a).then((function(a){var t,n,l;console.log(a),o((t=e,n=a.data[0].id,l=a.data[0].is_superuser,function(e,a){console.log(t),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/user/auth/geo/geogeomac11").then((function(a){e({type:"SET_AUTH",payload:a.data,username:t,super:l,id:n})})).then().catch((function(a){console.log("erro"+a),e({type:"UNSET_AUTH"})})),console.log("action")}))})).catch((function(e){console.log(e),b()})):b()},b=function(){console.log("erro"),t.open({type:"error",content:l.a.createElement(ge.Consumer,null,(function(e){var a=e.name;return"".concat(a)})),duration:1,style:{color:"red"}})};return l.a.createElement(ge.Provider,{value:{name:"Erro de autentica\xe7\xe3o"}},l.a.createElement(se.a,{component:"main",maxWidth:"xs"},i,l.a.createElement(A.a,null),l.a.createElement("div",{className:r.paper},l.a.createElement(P.a,{className:r.avatar},l.a.createElement(V.a,null)),l.a.createElement(j.a,{component:"h1",variant:"h5"},"Login"),l.a.createElement("form",{className:r.form,noValidate:!0},l.a.createElement(ne.a,{variant:"outlined",margin:"normal",required:!0,fullWidth:!0,id:"email",label:"Utilizador",name:"email",autoComplete:"email",autoFocus:!0,value:p.name,onChange:function(e){e.persist(),u((function(a){return Object(m.a)(Object(m.a)({},a),{},{name:e.target.value})}))}}),l.a.createElement(ne.a,{variant:"outlined",margin:"normal",required:!0,fullWidth:!0,name:"password",label:"Password",type:"password",id:"password",autoComplete:"current-password",value:p.password,onChange:function(e){e.persist(),console.log(e.target.value),u((function(a){return Object(m.a)(Object(m.a)({},a),{},{password:e.target.value})}))}}),l.a.createElement(le.a,{control:l.a.createElement(ie.a,{value:"remember",color:"primary"}),label:"Lembrar-me"}),l.a.createElement(te.a,{fullWidth:!0,variant:"contained",color:"primary",style:{backgroundColor:"#788A6B"},className:r.submit,onClick:function(){g(p.name,p.password)}},"Entrar"),l.a.createElement(oe.a,{container:!0},l.a.createElement(oe.a,{item:!0,xs:!0},l.a.createElement(re.a,{style:{color:"#788A6B"},href:"https://turnoutsigs.ipvc.pt/account/password/reset/",variant:"body2"},"Esqueceu a password?")),l.a.createElement(oe.a,{item:!0},l.a.createElement(re.a,{style:{color:"#788A6B"},href:"https://turnoutsigs.ipvc.pt/account/signup/",variant:"body2"},"N\xe3o tem conta? Registo"))))),l.a.createElement(ce.a,{mt:8},l.a.createElement(pe,null)),l.a.createElement(ce.a,{mt:8})))}var be=t(1249),Ee=t(212),xe=t.n(Ee),ve=t(340),ye=t(439),he=t(517),Ae=t(438),je=t(447),Be=t(625),Ce=t(514),Te=t(58),Oe=t.n(Te),Se=Object(b.a)((function(e){return{formControl:{margin:e.spacing(1),minWidth:"20%"},chips:{display:"flex",flexWrap:"wrap"},chip:{margin:2,color:"black"},noLabel:{marginTop:e.spacing(3)}}}));function we(){Object(n.useEffect)((function(){f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/list/layer/all").then((function(e){var a=t.data.concat(e.data);i((function(e){return Object(m.a)(Object(m.a)({},e),{},{original:a})}));for(var n=0;n9?x((function(e){return Object(m.a)(Object(m.a)({},e),{},{nif:1})})):x((function(e){return Object(m.a)(Object(m.a)({},e),{},{nif:0})}));break;case"N\xba de registo":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{N_registo:e.target.value})}));break;case"Marcas":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Marcas:e.target.value})}));break;case"Endereco":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Endereco:e.target.value})}));break;case"Distrito":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Distrito:e.target.value})}));break;case"Concelho":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Concelho:e.target.value})}));break;case"Codigo_postal":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Codigo_postal:e.target.value})}));/[0-9]{4}-[0-9]{3}/.test(e.target.value)?x((function(e){return Object(m.a)(Object(m.a)({},e),{},{postal:0})})):(console.log("erro"),x((function(e){return Object(m.a)(Object(m.a)({},e),{},{postal:1})})));break;case"Localidade":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Localidade:e.target.value})}));break;case"Telefone":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Contacto_Telefone:e.target.value})}));/[9|2|][0-9]{8}/.test(e.target.value)?x((function(e){return Object(m.a)(Object(m.a)({},e),{},{tlm:0})})):(console.log("erro"),x((function(e){return Object(m.a)(Object(m.a)({},e),{},{tlm:1})})));break;case"Email":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Contacto_Email:e.target.value})}));/[a-z|A_Z|0-9]+@[a-z|A_Z|0-9]+\.[a-z]+/.test(e.target.value)?x((function(e){return Object(m.a)(Object(m.a)({},e),{},{mail:0})})):x((function(e){return Object(m.a)(Object(m.a)({},e),{},{mail:1})}));break;case"Atividades ao Ar_Livre/Natureza e Aventura":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_Ar_Livre_Natureza_e_Aventura:e.target.value})}));break;case"Atividades Maritimo Turisticas":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_Maritimo_Turisticas:e.target.value})}));break;case"Atividades Culturais/Tour de Paisagem Cultural":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_Cultural_Tour_Paisagem_Cultural:e.target.value})}));break;case"Atividades reconhecidas/turismo de natureza":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_reconhecidas_turismo_de_natureza:e.target.value})}));break;case"ERT_DRT":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{ERT_DRT:e.target.value})}));break;case"NUT_II":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{NUT_II:e.target.value})}));break;case"NUT_III":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{NUT_III:e.target.value})}));break;case"Estabelecimento seguro":u((function(a){return Object(m.a)(Object(m.a)({},a),{},{Estab_SAUDAVEL_SEGURO:e.target.value})}))}};return l.a.createElement("div",null,l.a.createElement(be.a,{"aria-label":"breadcrumb"},l.a.createElement(R.a,{title:"Voltar \xe0 p\xe1gina das entidades"},l.a.createElement(re.a,{color:"inherit",href:"/backoffice/entidades"},"Entidades")),l.a.createElement(j.a,{color:"textPrimary"},"Consulta da entidade : ",e.nif)),1==p.load?l.a.createElement("div",null,l.a.createElement(rt.a,{style:{fontSize:24},spin:!0,size:"large"})):p.entidade?l.a.createElement("div",{className:a.root},l.a.createElement(sa.a,{className:a.card},l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start"},l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement("div",{className:a.root},l.a.createElement("form",{className:a.form,noValidate:!0,autoComplete:"off"},l.a.createElement(ne.a,{id:"standard-read-only-input",label:"Tipologia",defaultValue:p.entidade.Tipologia,InputProps:{readOnly:!0}}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},r:!0,name:"Denomina\xe7\xe3o",id:"standard-read-only-input",label:"Denomina\xe7\xe3o",defaultValue:p.entidade.Denominacao,onChange:v}),1==E.nif?l.a.createElement(ne.a,{InputProps:{readOnly:!0},error:!0,name:"Contribuinte",id:"standard-read-only-input",label:"Contribuinte",defaultValue:p.entidade.N_de_contribuinte,onChange:v}):l.a.createElement(ne.a,{InputProps:{readOnly:!0},name:"Contribuinte",id:"standard-read-only-input",label:"Contribuinte",defaultValue:p.entidade.N_de_contribuinte,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},name:"Contribuinte",id:"standard-read-only-input",label:"Data do registo",defaultValue:p.entidade.Data_do_registo,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},name:"N\xba de registo",id:"standard-read-only-input",label:"N\xba de registo",defaultValue:p.entidade.N_registo,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",name:"Endereco",multiline:!0,label:"Endereco",defaultValue:p.entidade.Localizacao_Endereco,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",multiline:!0,name:"Distrito",label:"Distrito",defaultValue:p.entidade.Localizacao_Distrito,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",name:"Concelho",label:"Concelho",defaultValue:p.entidade.Localizacao_Concelho,onChange:v}),1==E.postal?l.a.createElement(ne.a,{InputProps:{readOnly:!0},error:!0,required:!0,id:"standard-required",name:"Codigo_postal",label:"Codigo postal",defaultValue:"",onChange:v}):l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",name:"Codigo_postal",label:"Codigo postal",defaultValue:p.entidade.Localizacao_Codigo_postal,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",name:"Localidade",label:"Localidade",defaultValue:p.entidade.Localizacao_Localidade,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",name:"Marcas",label:"Marcas",defaultValue:p.entidade.Marcas,onChange:v})))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement("div",{className:a.root},l.a.createElement("form",{className:a.form,noValidate:!0,autoComplete:"off"},1==E.tlm?l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-required",error:!0,name:"Telefone",label:"Telefone",defaultValue:"",onChange:v}):l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",name:"Telefone",label:"Telefone",defaultValue:p.entidade.Contacto_Telefone,onChange:v}),1==E.mail?l.a.createElement(ne.a,{InputProps:{readOnly:!0},error:!0,id:"standard-required",name:"Email",label:"Email",defaultValue:"",onChange:v}):l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",name:"Email",label:"Email",defaultValue:p.entidade.Contacto_Email,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",name:"Atividades ao Ar_Livre/Natureza e Aventura",multiline:!0,label:"Atividades ao Ar_Livre/Natureza e Aventura",defaultValue:p.entidade.Atividades_Ar_Livre_Natureza_e_Aventura,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",name:"Atividades Maritimo Turisticas",multiline:!0,label:"Atividades Maritimo Turisticas",defaultValue:p.entidade.Atividades_Maritimo_Turisticas,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-read-only-input",multiline:!0,name:"Atividades Culturais/Tour de Paisagem Cultural",label:"Atividades Culturais/Tour de Paisagem Cultural",defaultValue:p.entidade.Atividades_Cultural_Tour_Paisagem_Cultural,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-required",multiline:!0,name:"Atividades reconhecidas/turismo de natureza",label:"Atividades reconhecidas/turismo de natureza",defaultValue:p.entidade.Atividades_reconhecidas_turismo_de_natureza,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-required",name:"ERT_DRT",label:"ERT_DRT",defaultValue:p.entidade.ERT_DRT,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-required",name:"NUT_II",label:"NUT_II",defaultValue:p.entidade.NUT_II,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-required",name:"NUT_III",label:"NUT_III",defaultValue:p.entidade.NUT_III,onChange:v}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},id:"standard-required",name:"Estabelecimento seguro",label:"Estabelecimento seguro",defaultValue:p.entidade.Estab_SAUDAVEL_SEGURO,onChange:v}))))))):l.a.createElement("div",{style:{marginTop:"10%"}}," A Entidade n\xe3o est\xe1 registada, pode faz\xea-lo no menu das Entidades referenciando como n\xfamero de contribuinte o : ",e.nif," "))}var st=t(139),dt=t(48),mt=t(398),pt=Object(b.a)((function(e){return{root:{flexGrow:1},form:{"& .MuiTextField-root":{margin:e.spacing(1),width:"90%"},marginTop:"5%",alignContent:"left",display:"flex",flexWrap:"wrap",marginLeft:"5%",marginBottom:"5%"},card:{marginTop:"2%"}}}));function ut(e){var a=pt(),t=de.b.useMessage(),n=Object(d.a)(t,2),i=n[0],r=n[1],o=l.a.createContext({name:"Campos obrigat\xf3rios n\xe3o preenchidos ou campos com valores inv\xe1lidos"}),c=l.a.useState(new Date),s=Object(d.a)(c,2),p=s[0],u=s[1],g=l.a.useState({Tipologia:"",N_registo:"",Data_do_registo:"",Denominacao:"",N_de_contribuinte:"",Marcas:"",Atividades_Ar_Livre_Natureza_e_Aventura:"",Atividades_Maritimo_Turisticas:"",Atividades_Cultural_Tour_Paisagem_Cultural:"",Atividades_reconhecidas_turismo_de_natureza:"",Localizacao_Endereco:"",Localizacao_Codigo_postal:"",Localizacao_Localidade:"",Localizacao_Concelho:"",Localizacao_Distrito:"",ERT_DRT:"",NUT_II:"",NUT_III:"",Contacto_Telefone:"",Contacto_Email:"",Estab_SAUDAVEL_SEGURO:"sim"}),b=Object(d.a)(g,2),E=b[0],x=b[1],v=l.a.useState({nif:0,postal:0,mail:0,tlm:0}),y=Object(d.a)(v,2),h=y[0],A=y[1],B=function(e){switch(console.log(e.target.name),e.persist(),e.target.name){case"Tipologia":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Tipologia:e.target.value})})),console.log(E.Data_do_registo);break;case"Denomina\xe7\xe3o":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Denominacao:e.target.value})}));break;case"Contribuinte":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{N_de_contribuinte:e.target.value})})),isNaN(e.target.value)||e.target.value.length<9||e.target.value.length>9?A((function(e){return Object(m.a)(Object(m.a)({},e),{},{nif:1})})):A((function(e){return Object(m.a)(Object(m.a)({},e),{},{nif:0})}));break;case"N\xba de registo":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{N_registo:e.target.value})}));break;case"Marcas":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Marcas:e.target.value})}));break;case"Endereco":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Endereco:e.target.value})}));break;case"Distrito":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Distrito:e.target.value})}));break;case"Concelho":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Concelho:e.target.value})}));break;case"Codigo_postal":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Codigo_postal:e.target.value})}));/[0-9]{4}-[0-9]{3}/.test(e.target.value)?A((function(e){return Object(m.a)(Object(m.a)({},e),{},{postal:0})})):(console.log("erro"),A((function(e){return Object(m.a)(Object(m.a)({},e),{},{postal:1})})));break;case"Localidade":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Localidade:e.target.value})}));break;case"Telefone":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Contacto_Telefone:e.target.value})}));/[9|2|][0-9]{8}/.test(e.target.value)?A((function(e){return Object(m.a)(Object(m.a)({},e),{},{tlm:0})})):(console.log("erro"),A((function(e){return Object(m.a)(Object(m.a)({},e),{},{tlm:1})})));break;case"Email":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Contacto_Email:e.target.value})}));/[a-z|A_Z|0-9]+@[a-z|A_Z|0-9]+\.[a-z]+/.test(e.target.value)?A((function(e){return Object(m.a)(Object(m.a)({},e),{},{mail:0})})):A((function(e){return Object(m.a)(Object(m.a)({},e),{},{mail:1})}));break;case"Atividades ao Ar_Livre/Natureza e Aventura":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_Ar_Livre_Natureza_e_Aventura:e.target.value})}));break;case"Atividades Maritimo Turisticas":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_Maritimo_Turisticas:e.target.value})}));break;case"Atividades Culturais/Tour de Paisagem Cultural":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_Cultural_Tour_Paisagem_Cultural:e.target.value})}));break;case"Atividades reconhecidas/turismo de natureza":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_reconhecidas_turismo_de_natureza:e.target.value})}));break;case"ERT_DRT":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{ERT_DRT:e.target.value})}));break;case"NUT_II":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{NUT_II:e.target.value})}));break;case"NUT_III":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{NUT_III:e.target.value})}));break;case"Estabelecimento seguro":x((function(a){return Object(m.a)(Object(m.a)({},a),{},{Estab_SAUDAVEL_SEGURO:e.target.value})}))}};return l.a.createElement("div",null,l.a.createElement(be.a,{"aria-label":"breadcrumb"},l.a.createElement(R.a,{title:"Voltar \xe0 das entidades"},l.a.createElement(re.a,{color:"inherit",href:"/backoffice/entidades"},"Entidades")),l.a.createElement(j.a,{color:"textPrimary"},"Adicionar entidade")),l.a.createElement("div",{className:a.root},l.a.createElement(sa.a,{className:a.card},l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start"},l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement("div",{className:a.root},l.a.createElement("form",{className:a.form,noValidate:!0,autoComplete:"off"},l.a.createElement(ne.a,{required:!0,name:"Tipologia",multiline:!0,id:"standard-required",label:"Tipologia",defaultValue:"",onChange:B,value:E.Tipologia}),l.a.createElement(ne.a,{required:!0,name:"Denomina\xe7\xe3o",multiline:!0,id:"standard-required",label:"Denomina\xe7\xe3o",defaultValue:"",onChange:B}),1===h.nif?l.a.createElement(ne.a,{required:!0,error:!0,name:"Contribuinte",multiline:!0,id:"standard-required",label:"Contribuinte",defaultValue:"",onChange:B}):l.a.createElement(ne.a,{required:!0,name:"Contribuinte",multiline:!0,id:"standard-required",label:"Contribuinte",defaultValue:"",onChange:B}),l.a.createElement(dt.a,{utils:st.default},l.a.createElement(mt.b,{margin:"normal",id:"date-picker-dialog",label:"Date do registo",format:"MM/dd/yyyy",value:p,name:"Data",onChange:function(e){u(e);var a=e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate();x((function(e){return Object(m.a)(Object(m.a)({},e),{},{Data_do_registo:a.toString()})}))},KeyboardButtonProps:{"aria-label":"change date"}})),l.a.createElement(ne.a,{name:"N\xba de registo",required:!0,id:"standard-required",label:"N\xba de registo",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{required:!0,id:"standard-required",name:"Endereco",multiline:!0,label:"Endereco",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{required:!0,id:"standard-required",multiline:!0,name:"Distrito",label:"Distrito",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{required:!0,id:"standard-required",name:"Concelho",label:"Concelho",defaultValue:"",onChange:B}),1===h.postal?l.a.createElement(ne.a,{error:!0,required:!0,id:"standard-required",name:"Codigo_postal",label:"Codigo postal",defaultValue:"",onChange:B}):l.a.createElement(ne.a,{required:!0,id:"standard-required",name:"Codigo_postal",label:"Codigo postal",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{required:!0,id:"standard-required",name:"Localidade",label:"Localidade",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{id:"standard-required",name:"Marcas",label:"Marcas",defaultValue:"",onChange:B})))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement("div",{className:a.root},l.a.createElement("form",{className:a.form,noValidate:!0,autoComplete:"off"},1===h.tlm?l.a.createElement(ne.a,{id:"standard-required",error:!0,name:"Telefone",label:"Telefone",defaultValue:"",onChange:B}):l.a.createElement(ne.a,{id:"standard-required",name:"Telefone",label:"Telefone",defaultValue:"",onChange:B}),1===h.mail?l.a.createElement(ne.a,{error:!0,id:"standard-required",name:"Email",label:"Email",defaultValue:"",onChange:B}):l.a.createElement(ne.a,{id:"standard-required",name:"Email",label:"Email",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{id:"standard-required",name:"Atividades ao Ar_Livre/Natureza e Aventura",multiline:!0,label:"Atividades ao Ar_Livre/Natureza e Aventura",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{id:"standard-required",name:"Atividades Maritimo Turisticas",multiline:!0,label:"Atividades Maritimo Turisticas",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{id:"standard-required",multiline:!0,name:"Atividades Culturais/Tour de Paisagem Cultural",label:"Atividades Culturais/Tour de Paisagem Cultural",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{id:"standard-required",multiline:!0,name:"Atividades reconhecidas/turismo de natureza",label:"Atividades reconhecidas/turismo de natureza",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{id:"standard-required",name:"ERT_DRT",label:"ERT_DRT",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{id:"standard-required",name:"NUT_II",label:"NUT_II",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{id:"standard-required",name:"NUT_III",label:"NUT_III",defaultValue:"",onChange:B}),l.a.createElement(ne.a,{id:"standard-required",name:"Estabelecimento seguro",label:"Estabelecimento seguro",defaultValue:"",onChange:B})))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(o.Provider,{value:{name:"Campos inv\xe1lidos ou n\xe3o preenchidos"}},r,l.a.createElement(ke.a,{variant:"extended",size:"small",onClick:function(){0===h.nif&&0===h.postal&&0===h.mail&&0===h.tlm&&""!==E.Denominacao&&""!==E.Tipologia&&E.N_registo&&E.Localizacao_Endereco&&E.Localizacao_Distrito&&E.Localizacao_Concelho&&E.Localizacao_Codigo_postal&&E.Localizacao_Localidade?new Promise((function(e){setTimeout((function(){e(),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/entidades/add/"+E.N_de_contribuinte,{params:{entidade:E}}).then((function(e){200===e.status&&(console.log("Inserted"),Object(ae.c)("/backoffice/entidades/"))})).catch((function(e){console.log("Erro no insert")})).then()}),600)})):i.open({type:"error",content:l.a.createElement(o.Consumer,null,(function(e){var a=e.name;return"".concat(a)})),duration:5,style:{color:"red"}}),console.log(E)},style:{color:"white",backgroundColor:"#F7AD00",marginBottom:"5%",marginLeft:"5%"}},"Adicionar Entidade")))))))}var gt=t(664),ft=t.n(gt),bt=Object(b.a)((function(e){return{root:{flexGrow:1},form:{"& .MuiTextField-root":{margin:e.spacing(1),width:"90%"},marginTop:"5%",alignContent:"left",display:"flex",flexWrap:"wrap",marginLeft:"5%",marginBottom:"5%"},card:{marginTop:"2%"}}}));function Et(e){var a=bt();Object(n.useEffect)((function(){f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/entidades/getOne/"+e.nif).then((function(e){200==e.status&&(console.log(e.data[0]),E((function(a){return Object(m.a)(Object(m.a)({},a),{},{entidade:e.data[0],load:0})})),E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Tipologia:e.data[0].Tipologia,N_registo:e.data[0].N_registo,Data_do_registo:e.data[0].Data_do_registo,Denominacao:e.data[0].Denominacao,N_de_contribuinte:e.data[0].N_de_contribuinte,Marcas:e.data[0].Marcas,Atividades_Ar_Livre_Natureza_e_Aventura:e.data[0].Atividades_Ar_Livre_Natureza_e_Aventura,Atividades_Maritimo_Turisticas:e.data[0].Atividades_Maritimo_Turisticas,Atividades_Cultural_Tour_Paisagem_Cultural:e.data[0].Atividades_Cultural_Tour_Paisagem_Cultural,Atividades_reconhecidas_turismo_de_natureza:e.data[0].Atividades_reconhecidas_turismo_de_natureza,Localizacao_Endereco:e.data[0].Localizacao_Endereco,Localizacao_Codigo_postal:e.data[0].Localizacao_Codigo_postal,Localizacao_Localidade:e.data[0].Localizacao_Localidade,Localizacao_Concelho:e.data[0].Localizacao_Concelho,Localizacao_Distrito:e.data[0].Localizacao_Distrito,ERT_DRT:e.data[0].ERT_DRT,NUT_II:e.data[0].NUT_II,NUT_III:e.data[0].NUT_III,Contacto_Telefone:e.data[0].Contacto_Telefone,Contacto_Email:e.data[0].Contacto_Email,Estab_SAUDAVEL_SEGURO:e.data[0].Estab_SAUDAVEL_SEGURO})})))})).catch((function(e){console.log(e)}))}),[]);var t=de.b.useMessage(),i=Object(d.a)(t,2),r=i[0],o=i[1],c=l.a.createContext({name:"Campos obrigat\xf3rios n\xe3o preenchidos ou campos com valores inv\xe1lidos"}),s=l.a.useState(new Date),p=Object(d.a)(s,2),u=(p[0],p[1],l.a.useState({Tipologia:"",N_registo:"",Data_do_registo:"",Denominacao:"",N_de_contribuinte:"",Marcas:"",Atividades_Ar_Livre_Natureza_e_Aventura:"",Atividades_Maritimo_Turisticas:"",Atividades_Cultural_Tour_Paisagem_Cultural:"",Atividades_reconhecidas_turismo_de_natureza:"",Localizacao_Endereco:"",Localizacao_Codigo_postal:"",Localizacao_Localidade:"",Localizacao_Concelho:"",Localizacao_Distrito:"",ERT_DRT:"",NUT_II:"",NUT_III:"",Contacto_Telefone:"",Contacto_Email:"",Estab_SAUDAVEL_SEGURO:"sim",entidade:{},load:1})),g=Object(d.a)(u,2),b=g[0],E=g[1],x=l.a.useState({nif:0,postal:0,mail:0,tlm:0}),v=Object(d.a)(x,2),y=v[0],h=v[1],A=function(e){switch(console.log(e.target.name),console.log(e.target.value),e.persist(),e.target.name){case"Tipologia":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Tipologia:e.target.value})}));break;case"Denomina\xe7\xe3o":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Denominacao:e.target.value})}));break;case"Contribuinte":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{N_de_contribuinte:e.target.value})})),isNaN(e.target.value)||e.target.value.length<9||e.target.value.length>9?h((function(e){return Object(m.a)(Object(m.a)({},e),{},{nif:1})})):h((function(e){return Object(m.a)(Object(m.a)({},e),{},{nif:0})}));break;case"N\xba de registo":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{N_registo:e.target.value})}));break;case"Marcas":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Marcas:e.target.value})}));break;case"Endereco":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Endereco:e.target.value})}));break;case"Distrito":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Distrito:e.target.value})}));break;case"Concelho":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Concelho:e.target.value})}));break;case"Codigo_postal":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Codigo_postal:e.target.value})}));/[0-9]{4}-[0-9]{3}/.test(e.target.value)?h((function(e){return Object(m.a)(Object(m.a)({},e),{},{postal:0})})):(console.log("erro"),h((function(e){return Object(m.a)(Object(m.a)({},e),{},{postal:1})})));break;case"Localidade":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Localizacao_Localidade:e.target.value})}));break;case"Telefone":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Contacto_Telefone:e.target.value})}));/[9|2|][0-9]{8}/.test(e.target.value)?h((function(e){return Object(m.a)(Object(m.a)({},e),{},{tlm:0})})):(console.log("erro"),h((function(e){return Object(m.a)(Object(m.a)({},e),{},{tlm:1})})));break;case"Email":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Contacto_Email:e.target.value})}));/[a-z|A_Z|0-9]+@[a-z|A_Z|0-9]+\.[a-z]+/.test(e.target.value)?h((function(e){return Object(m.a)(Object(m.a)({},e),{},{mail:0})})):h((function(e){return Object(m.a)(Object(m.a)({},e),{},{mail:1})}));break;case"Atividades ao Ar_Livre/Natureza e Aventura":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_Ar_Livre_Natureza_e_Aventura:e.target.value})}));break;case"Atividades Maritimo Turisticas":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_Maritimo_Turisticas:e.target.value})}));break;case"Atividades Culturais/Tour de Paisagem Cultural":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_Cultural_Tour_Paisagem_Cultural:e.target.value})}));break;case"Atividades reconhecidas/turismo de natureza":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Atividades_reconhecidas_turismo_de_natureza:e.target.value})}));break;case"ERT_DRT":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{ERT_DRT:e.target.value})}));break;case"NUT_II":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{NUT_II:e.target.value})}));break;case"NUT_III":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{NUT_III:e.target.value})}));break;case"Estabelecimento seguro":E((function(a){return Object(m.a)(Object(m.a)({},a),{},{Estab_SAUDAVEL_SEGURO:e.target.value})}))}};return l.a.createElement("div",null,l.a.createElement(be.a,{"aria-label":"breadcrumb"},l.a.createElement(R.a,{title:"Voltar \xe0 p\xe1gina das entidades"},l.a.createElement(re.a,{color:"inherit",href:"/backoffice/entidades"},"Entidades")),l.a.createElement(j.a,{color:"textPrimary"},"Edi\xe7\xe3o da entidade : ",e.nif)),1==b.load?l.a.createElement("div",null,l.a.createElement(rt.a,{style:{fontSize:24},spin:!0,size:"large"})):l.a.createElement("div",{className:a.root},l.a.createElement(sa.a,{className:a.card},l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start"},l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement("div",{className:a.root},l.a.createElement("form",{className:a.form,noValidate:!0,autoComplete:"off"},l.a.createElement(ne.a,{required:!0,name:"Tipologia",multiline:!0,id:"standard-required",label:"Tipologia",defaultValue:"",onChange:A,value:b.Tipologia}),l.a.createElement(ne.a,{name:"Denomina\xe7\xe3o",id:"standard-required",required:!0,label:"Denomina\xe7\xe3o",defaultValue:b.Denominacao,value:b.Denominacao,onChange:A}),1==y.nif?l.a.createElement(ne.a,{InputProps:{readOnly:!0},error:!0,name:"Contribuinte",id:"standard-required",required:!0,label:"Contribuinte",defaultValue:b.entidade.N_de_contribuinte,onChange:A}):l.a.createElement(ne.a,{InputProps:{readOnly:!0},name:"Contribuinte",id:"standard-read-only-input",label:"Contribuinte",defaultValue:b.entidade.N_de_contribuinte,onChange:A}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},name:"Contribuinte",id:"standard-read-only-input",label:"Data do registo",defaultValue:b.entidade.Data_do_registo,onChange:A}),l.a.createElement(ne.a,{InputProps:{readOnly:!0},name:"N\xba de registo",id:"standard-read-only-input",label:"N\xba de registo",defaultValue:b.entidade.N_registo,onChange:A}),l.a.createElement(ne.a,{id:"standard-required",required:!0,name:"Endereco",multiline:!0,label:"Endereco",defaultValue:b.entidade.Localizacao_Endereco,onChange:A}),l.a.createElement(ne.a,{id:"standard-required",required:!0,multiline:!0,name:"Distrito",label:"Distrito",defaultValue:b.entidade.Localizacao_Distrito,onChange:A}),l.a.createElement(ne.a,{id:"standard-required",required:!0,name:"Concelho",label:"Concelho",defaultValue:b.entidade.Localizacao_Concelho,onChange:A}),1==y.postal?l.a.createElement(ne.a,{error:!0,id:"standard-required",required:!0,name:"Codigo_postal",label:"Codigo postal",defaultValue:"",onChange:A}):l.a.createElement(ne.a,{id:"standard-required",required:!0,name:"Codigo_postal",label:"Codigo postal",defaultValue:b.entidade.Localizacao_Codigo_postal,onChange:A}),l.a.createElement(ne.a,{id:"standard-required",required:!0,name:"Localidade",label:"Localidade",defaultValue:b.entidade.Localizacao_Localidade,onChange:A}),l.a.createElement(ne.a,{id:"standard-read-only-input",name:"Marcas",label:"Marcas",defaultValue:b.entidade.Marcas,onChange:A})))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement("div",{className:a.root},l.a.createElement("form",{className:a.form,noValidate:!0,autoComplete:"off"},1==y.tlm?l.a.createElement(ne.a,{id:"standard-required",error:!0,name:"Telefone",label:"Telefone",defaultValue:"",onChange:A}):l.a.createElement(ne.a,{id:"standard-read-only-input",name:"Telefone",label:"Telefone",defaultValue:b.entidade.Contacto_Telefone,onChange:A}),1==y.mail?l.a.createElement(ne.a,{error:!0,id:"standard-required",name:"Email",label:"Email",defaultValue:"",onChange:A}):l.a.createElement(ne.a,{id:"standard-read-only-input",name:"Email",label:"Email",defaultValue:b.entidade.Contacto_Email,onChange:A}),l.a.createElement(ne.a,{id:"standard-read-only-input",name:"Atividades ao Ar_Livre/Natureza e Aventura",multiline:!0,label:"Atividades ao Ar_Livre/Natureza e Aventura",defaultValue:b.entidade.Atividades_Ar_Livre_Natureza_e_Aventura,onChange:A}),l.a.createElement(ne.a,{id:"standard-read-only-input",name:"Atividades Maritimo Turisticas",multiline:!0,label:"Atividades Maritimo Turisticas",defaultValue:b.entidade.Atividades_Maritimo_Turisticas,onChange:A}),l.a.createElement(ne.a,{id:"standard-read-only-input",multiline:!0,name:"Atividades Culturais/Tour de Paisagem Cultural",label:"Atividades Culturais/Tour de Paisagem Cultural",defaultValue:b.entidade.Atividades_Cultural_Tour_Paisagem_Cultural,onChange:A}),l.a.createElement(ne.a,{id:"standard-required",multiline:!0,name:"Atividades reconhecidas/turismo de natureza",label:"Atividades reconhecidas/turismo de natureza",defaultValue:b.entidade.Atividades_reconhecidas_turismo_de_natureza,onChange:A}),l.a.createElement(ne.a,{id:"standard-required",name:"ERT_DRT",label:"ERT_DRT",defaultValue:b.entidade.ERT_DRT,onChange:A}),l.a.createElement(ne.a,{id:"standard-required",name:"NUT_II",label:"NUT_II",defaultValue:b.entidade.NUT_II,onChange:A}),l.a.createElement(ne.a,{id:"standard-required",name:"NUT_III",label:"NUT_III",defaultValue:b.entidade.NUT_III,onChange:A}),l.a.createElement(ne.a,{id:"standard-required",name:"Estabelecimento seguro",label:"Estabelecimento seguro",defaultValue:b.entidade.Estab_SAUDAVEL_SEGURO,onChange:A})))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(c.Provider,{value:{name:"Campos inv\xe1lidos ou n\xe3o preenchidos"}},o,l.a.createElement(R.a,{title:"Guardar altera\xe7\xf5es"},l.a.createElement(ke.a,{size:"medium",onClick:function(){0==y.nif&&0==y.postal&&0==y.mail&&0==y.tlm&&""!=b.Denominacao&&""!=b.Tipologia&&b.N_registo&&b.Localizacao_Endereco&&b.Localizacao_Distrito&&b.Localizacao_Concelho&&b.Localizacao_Codigo_postal&&b.Localizacao_Localidade?new Promise((function(e){setTimeout((function(){e(),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/entidades/edit/"+b.N_de_contribuinte,{params:{entidades:b}}).then((function(e){200==e.status&&(console.log("Inserted"),Object(ae.c)("/backoffice/entidades/"))})).catch((function(e){console.log("Erro no insert")})).then()}),600)})):r.open({type:"error",content:l.a.createElement(c.Consumer,null,(function(e){var a=e.name;return"".concat(a)})),duration:5,style:{color:"red"}}),console.log(b)},style:{color:"white",backgroundColor:"#F7AD00",marginBottom:"5%",marginLeft:"10%"}},l.a.createElement(ft.a,null)))))))))}t(103);function xt(e,a,t,n,l,i,r,o){return[{name:"\xc1rea protegida","avalia\xe7\xe3o":e},{name:"Acessibilidade","avalia\xe7\xe3o":a},{name:"Sinaliza\xe7\xe3o","avalia\xe7\xe3o":t},{name:"Informa\xe7\xe3o","avalia\xe7\xe3o":n},{name:"Seguran\xe7a","avalia\xe7\xe3o":l},{name:"Valores a observar","avalia\xe7\xe3o":i},{name:"Dificuldade","avalia\xe7\xe3o":r},{name:"Tipo de percurso","avalia\xe7\xe3o":o}]}var vt=t(17),yt=t(55),ht=t.n(yt),At=t(65),jt=t.n(At),Bt=t(66),Ct=t.n(Bt),Tt=t(1232),Ot=t(7),St=t(13),wt=t.n(St),kt={fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif',fontWeight:"300",lineHeight:"1.5em"},zt={boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"},Lt={boxShadow:"0 12px 20px -10px rgba(76, 175, 80, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(76, 175, 80, 0.2)"},Nt={boxShadow:"0 12px 20px -10px rgba(255, 152, 0, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(255, 152, 0, 0.2)"},It=Object(m.a)({background:"linear-gradient(60deg, #80997b, #80997b)"},Nt),Rt=Object(m.a)({background:"linear-gradient(60deg, #d3b133, #cbac44)"},Nt),Pt=(Object(m.a)({background:"linear-gradient(60deg, #ffa726, #fb8c00)"},Nt),Object(m.a)({background:"linear-gradient(60deg, #66bb6a, #43a047)"},Lt)),Dt=(Object(m.a)({background:"linear-gradient(60deg, #ab8824, #dead20)"},Lt),Object(m.a)({background:"linear-gradient(60deg, #678661, #78ae6d)"},Lt)),qt=Object(m.a)({background:"linear-gradient(60deg, #7BBA6B, #5dbca7)"},Lt),Gt=(Object(m.a)({background:"linear-gradient(60deg, #5e6e7b,#646466)"},Nt),Object(m.a)({background:"linear-gradient(60deg, #ef5350, #e53935)"},{boxShadow:"0 12px 20px -10px rgba(244, 67, 54, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(244, 67, 54, 0.2)"})),Ut=Object(m.a)({background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)"},zt),Ft=Object(m.a)({background:"linear-gradient(60deg, #bc8d47, #c6622b)"},{boxShadow:"0 12px 20px -10px rgba(156, 39, 176, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(156, 39, 176, 0.2)"}),_t=(Object(m.a)({background:"#cca400"},Nt),Object(m.a)({background:"linear-gradient(60deg, #20bdc3, #33c6b6)"},zt)),Mt=Object(m.a)({background:"linear-gradient(60deg, #c87331, #d76813)"},{boxShadow:"0 12px 20px -10px rgba(212, 102, 0, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(212, 142, 0, 0.2)"}),Wt=(Object(m.a)({margin:"0 20px 10px",paddingTop:"10px",borderTop:"1px solid #eeeeee",height:"auto"},kt),{margin:"-20px 15px 0",borderRadius:"3px",padding:"15px"}),Qt={card:{display:"inline-block",position:"relative",width:"100%",margin:"25px 0",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.14)",borderRadius:"3px",color:"rgba(0, 0, 0, 0.87)",background:"#fff",overflow:"visible"},cardPlain:{background:"transparent",boxShadow:"none"},cardHeader:Object(m.a)(Object(m.a)({},Wt),kt),cardHeaderInline:Object(m.a)(Object(m.a)(Object(m.a)({},Wt),kt),{},{display:"inherit"}),cardPlainHeader:{marginLeft:0,marginRight:0},orangeCardHeader:It,greenCardHeader:Pt,blueCyanCardHeader:qt,redCardHeader:Gt,blueCardHeader:Ut,purpleCardHeader:Ft,redDocCardHeader:Mt,loginCardHeader:_t,flashgreenCardHeader:Dt,yellowOrangeCardHeader:Rt,cardTitle:Object(m.a)(Object(m.a)({color:"#FFFFFF",marginTop:"0",marginBottom:"5px"},kt),{},{fontSize:"1.8em"}),cardSubtitle:Object(m.a)(Object(m.a)({},kt),{},{marginBottom:"0",color:"rgba(255, 255, 255, 0.9)",margin:"0 0 10px"}),cardActions:{padding:"14px",display:"block",height:"auto"},cardContent:{width:"100%"}};function Vt(e){var a,t=Object.assign({},e),n=t.classes,i=t.headerColor,r=t.plainCard,o=t.cardTitle,c=t.cardSubtitle,s=t.content,d=t.footer,m=t.disableHeader,u=t.inlineCard,g=t.style,f=wt()(Object(p.a)({}," "+n.cardPlain,r)),b=wt()((a={},Object(p.a)(a," "+n.cardPlainHeader,r),Object(p.a)(a," "+n.cardHeaderInline,u),a));return l.a.createElement(sa.a,{className:n.card+f},!m&&l.a.createElement(Tt.a,{classes:{root:n.cardHeader+" "+n[i+"CardHeader"]+b,title:n.cardTitle,subheader:n.cardSubtitle},title:o,subheader:c,action:t.cardAction}),l.a.createElement(ma.a,{classes:{root:n.cardContent},style:g},s),void 0!==d?l.a.createElement(Za.a,{className:n.cardActions},d):null)}Vt.defaultProps={headerColor:"purple"};var Ht=Object(Ot.a)(Qt)(Vt),Kt=t(4),Zt=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1150,height:300,data:r.data1},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
\n5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- A p\xe9;
2-A p\xe9, ve\xedculos n\xe3o motorizados e ve\xedculos motorizados de duas rodas;
3-A p\xe9, ve\xedculos n\xe3o motorizados, ve\xedculos motorizados de duas rodas e ve\xedculos motorizados ligeiros de quatro rodas sem estacionamento organizado;
4-A p\xe9, ve\xedculos n\xe3o motorizados, ve\xedculos motorizados de duas rodas, ve\xedculos motorizados ligeiros de quatro rodas com estacionamento organizado, Caravanas, Autocaravanas e ve\xedculos pesados com estacionamento organizado;
5-A p\xe9, ve\xedculos n\xe3o motorizados, ve\xedculos motorizados de duas rodas, ve\xedculos motorizados ligeiros de quatro rodas com estacionamento organizado, Caravanas, Autocaravanas, ve\xedculos pesados com estacionamento organizado e \xe9 servida por redes de transportes p\xfablicos coletivos.",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- N\xe3o existe qualquer tipo de sinaliza\xe7\xe3o;
\n2- Existe informa\xe7\xe3o online e topo guias sobre o percurso;
\n3-Existe informa\xe7\xe3o online e topo guias sobre o percurso e sinaliza\xe7\xe3o direcional para o ponto de partida do percurso;
\n4-Existe informa\xe7\xe3o online e topo guias sobre o percurso, sinaliza\xe7\xe3o direcional para o ponto de partida do percurso e sinaliza\xe7\xe3o homologada para o percurso;
\n5- Existe informa\xe7\xe3o online e topo guias sobre o percurso, sinaliza\xe7\xe3o direcional para o ponto de partida do percurso, sinaliza\xe7\xe3o homologada para o percurso e informa\xe7\xe3o georreferenciada de todo o percurso.",style:{display:"inline"}},"A3 - Sinaliza\xe7\xe3o/Orienta\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o existe qualquer tipo de informa\xe7\xe3o;
\n2-Existe informa\xe7\xe3o online sobre o percurso;
\n3-Existe informa\xe7\xe3o online sobre o percurso e painel informativo sobre o percurso no in\xedcio do percurso;
\n4- Existe informa\xe7\xe3o online sobre o percurso, painel informativo sobre o percurso no in\xedcio do percurso e pain\xe9is informativos sobre o percurso ao longo do percurso;
\n5-Existe informa\xe7\xe3o online sobre o percurso, painel informativo sobre o percurso no in\xedcio do percurso, pain\xe9is informativos sobre o percurso ao longo de todo percurso e centro interpretativo associado.",style:{display:"inline"}},"A4 - Informa\xe7\xe3o/Comunica\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o existe qualquer tipo de sistema de seguran\xe7a associado ao local;
\n2- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade;
\n3- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade e existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
\n4- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade, bem como ao longo de todo o percurso;
\n5- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no inicio do local onde se desenrola a atividade, bem como ao longo de todo o percurso e toda a \xe1rea est\xe1 coberta com rede m\xf3vel de telem\xf3vel para poss\xedvel pedido de resgate por parte do utilizador/praticante.",style:{display:"inline"}},"A5 - Seguran\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- Baixo (1-2 valores) ;
3- M\xe9dio (3 valores);
5- Elevado (4 ou + valores); ",style:{display:"inline"}},"A6 - Principais valores a observar")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"Vari\xe2ncia da dificuldade",style:{display:"inline"}},"A7 - Vari\xe2ncia da dificuldade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(r.atividade.A7).toFixed(2)))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"\n3 - Linear
\n5 - Circular",style:{display:"inline"}},"A8 - Tipo de percurso")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},Jt=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1150,height:300,data:r.data1},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- A p\xe9;
2-A p\xe9, ve\xedculos n\xe3o motorizados e ve\xedculos motorizados de duas rodas;
3-A p\xe9, ve\xedculos n\xe3o motorizados, ve\xedculos motorizados de duas rodas e ve\xedculos motorizados ligeiros de quatro rodas sem estacionamento organizado;
4-A p\xe9, ve\xedculos n\xe3o motorizados, ve\xedculos motorizados de duas rodas, ve\xedculos motorizados ligeiros de quatro rodas com estacionamento organizado, Caravanas, Autocaravanas e ve\xedculos pesados com estacionamento organizado;
5-A p\xe9, ve\xedculos n\xe3o motorizados, ve\xedculos motorizados de duas rodas, ve\xedculos motorizados ligeiros de quatro rodas com estacionamento organizado, Caravanas, Autocaravanas, ve\xedculos pesados com estacionamento organizado e \xe9 servida por redes de transportes p\xfablicos coletivos.",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- N\xe3o existe qualquer tipo de sinaliza\xe7\xe3o;
2- Existe informa\xe7\xe3o online e topo guias sobre o percurso;
3-Existe informa\xe7\xe3o online e topo guias sobre o percurso e sinaliza\xe7\xe3o direcional para o ponto de partida do percurso;
4-Existe informa\xe7\xe3o online e topo guias sobre o percurso, sinaliza\xe7\xe3o direcional para o ponto de partida do percurso e sinaliza\xe7\xe3o homologada para o percurso;
5- Existe informa\xe7\xe3o online e topo guias sobre o percurso, sinaliza\xe7\xe3o direcional para o ponto de partida do percurso, sinaliza\xe7\xe3o homologada para o percurso e informa\xe7\xe3o georreferenciada de todo o percurso.",style:{display:"inline"}},"A3 - Sinaliza\xe7\xe3o/Orienta\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o existe qualquer tipo de informa\xe7\xe3o;
2-Existe informa\xe7\xe3o online sobre o percurso;
3-Existe informa\xe7\xe3o online sobre o percurso e painel informativo sobre o percurso no in\xedcio do percurso;
4- Existe informa\xe7\xe3o online sobre o percurso, painel informativo sobre o percurso no in\xedcio do percurso e pain\xe9is informativos sobre o percurso ao longo do percurso;
5-Existe informa\xe7\xe3o online sobre o percurso, painel informativo sobre o percurso no in\xedcio do percurso, pain\xe9is informativos sobre o percurso ao longo de todo percurso e centro interpretativo associado.",style:{display:"inline"}},"A4 - Informa\xe7\xe3o/Comunica\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o existe qualquer tipo de sistema de seguran\xe7a associado ao local;
2- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade;
3- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade e existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
4- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade, bem como ao longo de todo o percurso;
5- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no inicio do local onde se desenrola a atividade, bem como ao longo de todo o percurso e toda a \xe1rea est\xe1 coberta com rede m\xf3vel de telem\xf3vel para poss\xedvel pedido de resgate por parte do utilizador/praticante.",style:{display:"inline"}},"A5 - Seguran\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- Baixo (1-2 valores) ;
3- M\xe9dio (3 valores);
5- Elevado (4 ou + valores); ",style:{display:"inline"}},"A6 - Principais valores a observar")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"Vari\xe2ncia da dificuldade",style:{display:"inline"}},"A7 - Vari\xe2ncia da dificuldade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 3 - Linear
5 - Circular",style:{display:"inline"}},"A8 - Tipo de percurso")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))}),l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},Xt=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1300,height:300,data:r.data1,barCategoryGap:"5%"},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- A p\xe9;
2-A p\xe9, ve\xedculos n\xe3o motorizados e ve\xedculos motorizados de duas rodas;
3-A p\xe9, ve\xedculos n\xe3o motorizados, ve\xedculos motorizados de duas rodas e ve\xedculos motorizados ligeiros de quatro rodas sem estacionamento organizado;
4-A p\xe9, ve\xedculos n\xe3o motorizados, ve\xedculos motorizados de duas rodas, ve\xedculos motorizados ligeiros de quatro rodas com estacionamento organizado, Caravanas, Autocaravanas e ve\xedculos pesados com estacionamento organizado;
5-A p\xe9, ve\xedculos n\xe3o motorizados, ve\xedculos motorizados de duas rodas, ve\xedculos motorizados ligeiros de quatro rodas com estacionamento organizado, Caravanas, Autocaravanas, ve\xedculos pesados com estacionamento organizado e \xe9 servida por redes de transportes p\xfablicos coletivos.",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1-N\xe3o possui qualquer tipo de infraestrutura construida;
2-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio);
3-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio) e estacionamento;
4-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio), estacionamento e chuveiros p\xfablicos;
5-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio), estacionamento, chuveiros p\xfablicos e balne\xe1rios.",style:{display:"inline"}},"A3 - N\xedvel de Infraestruturas")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-A praia n\xe3o possui qualquer infraestrutura de apoio;
2-A praia possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado;
3-A praia possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado e servi\xe7os de alojamento;
4-A praia possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento e posto de informa\xe7\xe3o;
5-A praia possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento, posto de informa\xe7\xe3o e lojas de aluguer de material desportivo/Escola de Surf.",style:{display:"inline"}},"A4 - Servi\xe7os de Apoio")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-Sim;
2-N\xe3o.",style:{display:"inline"}},"A5 - Bandeira Azul")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-A praia n\xe3o possui qualquer tipo de sinaliza\xe7\xe3o/comunica\xe7\xe3o;
2-A praia possui sinaliza\xe7\xe3o do estado do mar;
3-A praia possui sinaliza\xe7\xe3o do estado do mar e sinaliza\xe7\xe3o de zonas perigosas;
4-A praia possui sinaliza\xe7\xe3o do estado do mar, sinaliza\xe7\xe3o de zonas perigosas e sinaliza\xe7\xe3o de utiliza\xe7\xf5es conflituosas;
5-A praia possui sinaliza\xe7\xe3o do estado do mar, sinaliza\xe7\xe3o de zonas perigosas, sinaliza\xe7\xe3o de utiliza\xe7\xf5es conflituosas e possui painel de informa\xe7\xe3o de sa\xfade e seguran\xe7a.",style:{display:"inline"}},"A6 - Sinaliza\xe7\xe3o/Comunica\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1-N\xe3o possui qualquer servi\xe7o de vigil\xe2ncia/assist\xeancia durante a \xe9poca balnear;
2-A praia possui vigil\xe2ncia permanente durante a \xe9poca balnear;
3-A praia possui vigil\xe2ncia permanente e possui equipamento de salvamento (nomeadamente b\xf3ias) dispon\xedveis e facilmente acess\xedveis durante a \xe9poca balnear;
4-A praia possui vigil\xe2ncia permanente, equipamento de salvamento (nomeadamente b\xf3ias) dispon\xedveis e facilmente acess\xedveis e permite o acesso f\xe1cil a meios de socorro e de emerg\xeancia durante a \xe9poca balnear;
5-A praia possui vigil\xe2ncia permanente, equipamento de salvamento (nomeadamente b\xf3ias) dispon\xedveis e facilmente acess\xedveis, permite o acesso f\xe1cil a meios de socorro e de emerg\xeancia, mala de primeiros socorros equipado com material de primeiros socorros e existe pessoal habilitado \xe0 presta\xe7\xe3o de primeiros socorros durante a \xe9poca balnear.",style:{display:"inline"}},"A7 - Vigil\xe2ncia/Assist\xeancia")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-Sim;
2-N\xe3o.",style:{display:"inline"}},"A8 - Galard\xe3o \u201cPraia Acess\xedvel \u2013 Praia para Todos\u201d")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1-A praia n\xe3o \xe9 acess\xedvel a pessoas com mobilidade reduzida;
2-A praia possui acessos f\xe1ceis \xe0 zona balnear, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida;
3-A praia possui acessos f\xe1ceis \xe0 zona balnear, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida e espa\xe7o destinado a estacionamento de viaturas para pessoas com mobilidade reduzida;
4-A praia possui acessos f\xe1ceis \xe0 zona balnear, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida ;
5-A praia possui acessos f\xe1ceis \xe0 zona balnear, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida bem como Escola/clube/organiza\xe7\xe3o capaz de fornecer servi\xe7o adaptado para pessoas com mobilidade reduzida. ",style:{display:"inline"}},"A9 - Acessibilidade Universal")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A9))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - at\xe9 2 meses;
2 - 3-4 meses;
3 - 5-6 meses;
4 - 7-9 meses;
5 - todo o ano",style:{display:"inline"}},"A10 - Periodo ideal para a pr\xe1tica de surf")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A10))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1-Muito experiente;
2-Experiente;
3-Interm\xe9dio;
4-Iniciado/uso recreativo;
5-Todos os n\xedveis",style:{display:"inline"}},"A11 - N\xedvel de experi\xeancia do praticante")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A11))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-Muito crowd;
2-Bastante crowd;
3-Nem pouco nem muito crowd;
4-Pouco crowd;
5-Nada crowd; ",style:{display:"inline"}},"A12 - Crowd (praticantes de modalidades)")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A12))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1 - 15,0\xbaC-15,9\xbaC;
2 - 16,0\xbaC - 16,9\xbaC;
3 - 17,0\xbaC-17,9\xbaC;
4 - 18.0\xbaC -18,9\xbaC;
5 - 19,0\xbaC ou +",style:{display:"inline"}},"A13 - Temperatura da \xe1gua")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A13))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-Reef break;
3- Point break;
5- Beach break; ",style:{display:"inline"}},"A14 - Tipo de Onda")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- Razo\xe1vel;
3 - Boa;
5 - Muito boa; ",style:{display:"inline"}},"A15 - Qualidade da onda")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A15))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-Um a dois dias por semana;
3-tr\xeas a quatro dias por semana;
5-Cinco ou mais dias por semana.",style:{display:"inline"}},"A16 - Consist\xeancia da onda")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A16))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- 0,5-1m;
2- 1,1-1,5m;
3- 1,6-2,0m;
4- 2,1-2,5m;
5- 2,6-ou+",style:{display:"inline"}},"A17 - Tamanho ideal da ondula\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A17))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center",marginTop:"5%"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},Yt=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1150,height:300,data:r.data1},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- 21 min ou mais.
2- 16min e 20min;
3- 11min e 15min;
4- 6min e 10min;
5- Menos de 5min; ",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o possui qualquer tipo de infraestrutura constru\xedda;
2-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio);
3-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem;
4-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem e casas de banho;
5-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem, casas de banho e balne\xe1rios; ",style:{display:"inline"}},"A3 - N\xedvel de Infraestruturas")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o possui qualquer infraestrutura de apoio;
2-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado;
3-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado e servi\xe7os de alojamento;
4-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento e posto de informa\xe7\xe3o;
5-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento, posto de informa\xe7\xe3o e lojas de aluguer de material desportivo;
(servi\xe7o de recolha - carrinha para transporte de pilotos entre a aterragem e descolagem)",style:{display:"inline"}},"A4 - Servi\xe7os de Apoio (a 10km)")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-Existe sinaliza\xe7\xe3o direcional para o local de realiza\xe7\xe3o da atividade;
2- N\xe3o existe sinaliza\xe7\xe3o direcional para o local da realiza\xe7\xe3o da atividade.",style:{display:"inline"}},"A5 - Sinaliza\xe7\xe3o/Orienta\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o existe qualquer tipo de sistema de seguran\xe7a associado ao local;
2- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade;
3-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade e existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
4-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade, bem como ao longo de todo o percurso;
5- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no inicio do local onde se desenrola a atividade, bem como ao longo de todo o percurso e toda a \xe1rea est\xe1 coberta com rede m\xf3vel de telem\xf3vel para poss\xedvel pedido de resgate por parte do utilizador/praticante. ",style:{display:"inline"}},"A6 - Seguran\xe7a/Informa\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"3 - Praia
5 - Montanha",style:{display:"inline"}},"A7 - Relevo/paisagem")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- Nada fi\xe1vel;
2- Pouco fi\xe1vel;
3- Fi\xe1vel;
4- Muito fi\xe1vel;
5- Extremamente fi\xe1vel",style:{display:"inline"}},"A8 - Fiabilidade metereol\xf3gica")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},$t=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1150,height:300,data:r.data1},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- 21 min ou mais.
2- 16min e 20min;
3- 11min e 15min;
4- 6min e 10min;
5- Menos de 5min; ",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o possui qualquer tipo de infraestrutura constru\xedda;
2-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio);
3-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem;
4-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem e casas de banho;
5-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem, casas de banho e balne\xe1rios; ",style:{display:"inline"}},"A3 - N\xedvel de Infraestruturas")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-A fuga n\xe3o \xe9 f\xe1cil;
3-No caso de inunda\xe7\xf5es ou subida de \xe1gua, a fuga da \xe1rea afetada pode ser conclu\xedda rapidamente;
5-A fuga \xe9 f\xe1cil em toda a rota da atividade; ",style:{display:"inline"}},"A4 - Seguran\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o \xe9 acess\xedvel a pessoas com mobilidade reduzida;
2-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida;
3-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida e espa\xe7o destinado a estacionamento de viaturas para pessoas com mobilidade reduzida;
4-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida ;
5-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida bem como Escola/clube/organiza\xe7\xe3o capaz de fornecer servi\xe7o adaptado para pessoas com mobilidade reduzida.",style:{display:"inline"}},"A5 - Acessibilidade Universal")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - at\xe9 2 meses;
2 - 3-4 meses;
3 - 5-6 meses;
4 - 7-9 meses;
5 - todo o ano",style:{display:"inline"}},"A6 - Periodo ideal para a pr\xe1tica da atividade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1-Muito experiente
2-Experiente;
3-Interm\xe9dio
4-Iniciado;
5-Uso recreativo.",style:{display:"inline"}},"A7 - N\xedvel de experi\xeancia do praticante")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Vari\xe2ncia da dificuldade",style:{display:"inline"}},"A8 - Vari\xe2ncia da dificuldade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(r.atividade.A8).toFixed(2)))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- Baixo (<1h30);
3- M\xe9dio (> 2h00);
5 - Alto (1h30-2h00);",style:{display:"inline"}},"A9 -Tempo do percurso")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidadades associadas ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},en=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1300,height:300,data:r.data1,barCategoryGap:"5%"},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- 21 min ou mais.
2- 16min e 20min;
3- 11min e 15min;
4- entre 6 e 10min;
5- Menos de 5min; ",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1-N\xe3o possui qualquer tipo de infraestrutura construida;
2-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio);
3-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio) e estacionamento;
4-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio), estacionamento e chuveiros p\xfablicos;
5-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio), estacionamento, chuveiros p\xfablicos e balne\xe1rios.",style:{display:"inline"}},"A3 - N\xedvel de Infraestruturas")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-A praia n\xe3o possui qualquer infraestrutura de apoio;
2-A praia possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado;
3-A praia possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado e servi\xe7os de alojamento;
4-A praia possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento e posto de informa\xe7\xe3o;
5-A praia possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento, posto de informa\xe7\xe3o e lojas de aluguer de material desportivo/Escola de Btt.",style:{display:"inline"}},"A4 - Servi\xe7os de Apoio")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o existe qualquer tipo de sinaliza\xe7\xe3o;
2- Existe informa\xe7\xe3o online e topoguias sobre o percurso;
3-Existe informa\xe7\xe3o online e topoguias sobre o percurso e sinaliza\xe7\xe3o direcional para o ponto de partida do percurso;
4-Existe informa\xe7\xe3o online e topoguias sobre o percurso, sinaliza\xe7\xe3o direcional para o ponto de partida do percurso e sinaliza\xe7\xe3o homologada para o percurso;
5- Existe informa\xe7\xe3o online e topoguias sobre o percurso, sinaliza\xe7\xe3o direcional para o ponto de partida do percurso, sinaliza\xe7\xe3o homologada para o percurso e informa\xe7\xe3o georrefer\xeanciada de todo o percurso.",style:{display:"inline"}},"A5 - Sinaliza\xe7\xe3o/Orienta\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o tem Centro BTT associado;
5 - Tem Centro BTT associado. ",style:{display:"inline"}},"A6 - Centro BTT associado")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- N\xe3o existe qualquer tipo de sistema de seguran\xe7a associado ao local;
2- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade;
3-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade e existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
4-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade, bem como ao longo de todo o percurso;
5- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no inicio do local onde se desenrola a atividade, bem como ao longo de todo o percurso e toda a \xe1rea est\xe1 coberta com rede m\xf3vel de telem\xf3vel para poss\xedvel pedido de resgate por parte do utilizador/praticante.",style:{display:"inline"}},"A7 - Seguran\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-Muito experiente;
2-Experiente;
3-Interm\xe9dio
4-Iniciado;
5-Uso recreativo.",style:{display:"inline"}},"A8 - N\xedvel de experi\xeancia do praticante")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- Curto - At\xe9 20km ;
3- M\xe9dio - Entre 21km e 50km ;
5 - Longo - Entre 51km at\xe9 100km",style:{display:"inline"}},"A9 - Dist\xe2ncia")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A9))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- Curto: At\xe9 2h;
3- M\xe9dio: Entre 2h-4h;
5- Longo: Entre 4h-6h.",style:{display:"inline"}},"A10 - Tempo/dura\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A10))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"3- linear;
5- circular",style:{display:"inline"}},"A11 - Tipo de percurso")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A11))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-Muito crowd;
2-Bastante crowd;
3-Nem pouco nem muito crowd;
4-Pouco crowd;
5-Nada crowd; ",style:{display:"inline"}},"A12 - Vari\xe2ncia da dificuldade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(r.atividade.A12).toFixed(2)))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1-sem eventos associados;
5- com eventos associados",style:{display:"inline"}},"A13 - Provas e eventos associados")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A13))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- Baixo (1 valor);
3- M\xe9dio (2-3 valores);
5- Elevado (4 ou + valores) ",style:{display:"inline"}},"A14 - Valores de cultura/paisagem")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center",marginTop:"5%"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},an=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1150,height:300,data:r.data1},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- 21 min ou mais.
2- 16min e 20min;
3- 11min e 15min;
4- 6min e 10min;
5- Menos de 5min; ",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o possui qualquer tipo de infraestrutura constru\xedda;
2-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio);
3-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem;
4-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem e casas de banho;
5-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem, casas de banho e balne\xe1rios; ",style:{display:"inline"}},"A3 - N\xedvel de Infraestruturas")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o possui qualquer infraestrutura de apoio;
2-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado;
3-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado e servi\xe7os de alojamento;
4-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento e posto de informa\xe7\xe3o;
5-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento, posto de informa\xe7\xe3o e lojas de aluguer de material desportivo",style:{display:"inline"}},"A4 - Servi\xe7os de Apoio")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1-N\xe3o possui qualquer servi\xe7o de vigil\xe2ncia/assist\xeancia;
2- Possui vigil\xe2ncia permanente;
3-Possui vigil\xe2ncia permanente e possui equipamento de salvamento dispon\xedveis e facilmente acess\xedveis;
4- Possui vigil\xe2ncia permanente, equipamento de salvamento dispon\xedveis e facilmente acess\xedveis e permite o acesso f\xe1cil a meios de socorro e de emerg\xeancia;
5-Possui vigil\xe2ncia permanente, equipamento de salvamento dispon\xedveis e facilmente acess\xedveis, permite o acesso f\xe1cil a meios de socorro e de emerg\xeancia, mala de primeiros socorros equipado com material de primeiros socorros e existe pessoal habilitado \xe0 presta\xe7\xe3o de primeiros socorros.",style:{display:"inline"}},"A5 - Vigil\xe2ncia/Assist\xeancia")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o existe qualquer tipo de sistema de seguran\xe7a associado ao local;
2-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade;
3-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade e existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
4-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade, bem como ao longo de todo o percurso;
5-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no inicio do local onde se desenrola a atividade, bem como ao longo de todo o percurso e toda a \xe1rea est\xe1 coberta com rede m\xf3vel de telem\xf3vel para poss\xedvel pedido de resgate por parte do utilizador/praticante.",style:{display:"inline"}},"A6 - Seguran\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1-N\xe3o \xe9 acess\xedvel a pessoas com mobilidade reduzida;
2-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida;
3-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida e espa\xe7o destinado a estacionamento de viaturas para pessoas com mobilidade reduzida;
4-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida ;
5-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida bem como Escola/clube/organiza\xe7\xe3o capaz de fornecer servi\xe7o adaptado para pessoas com mobilidade reduzida.",style:{display:"inline"}},"A7 - Acessibilidade Universal")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - at\xe9 2 meses;
2 - 3-4 meses;
3 - 5-6 meses;
4 - 7-9 meses;
5 - todo o ano",style:{display:"inline"}},"A8 - Periodo ideal para a pr\xe1tica da modalidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- Sem centro,;
",style:{display:"inline"}},"A9 - Centro/Clube de canoagem associdado (matriz)")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},tn=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1150,height:300,data:r.data1},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- 21 min ou mais.
2- 16min e 20min;
3- 11min e 15min;
4- 6min e 10min;
5- Menos de 5min; ",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o possui qualquer tipo de infraestrutura constru\xedda;
2-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio);
3-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem;
4-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem e casas de banho;
5-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem, casas de banho e balne\xe1rios; ",style:{display:"inline"}},"A3 - N\xedvel de Infraestruturas")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-A fuga n\xe3o \xe9 f\xe1cil;
3-No caso de inunda\xe7\xf5es ou subida de \xe1gua, a fuga da \xe1rea afetada pode ser conclu\xedda rapidamente;
5-A fuga \xe9 f\xe1cil em toda a rota da atividade; ",style:{display:"inline"}},"A4 - Seguran\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o \xe9 acess\xedvel a pessoas com mobilidade reduzida;
2-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida;
3-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida e espa\xe7o destinado a estacionamento de viaturas para pessoas com mobilidade reduzida;
4-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida ;
5-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida bem como Escola/clube/organiza\xe7\xe3o capaz de fornecer servi\xe7o adaptado para pessoas com mobilidade reduzida.",style:{display:"inline"}},"A5 - Acessibilidade Universal")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - at\xe9 2 meses;
2 - 3-4 meses;
3 - 5-6 meses;
4 - 7-9 meses;
5 - todo o ano",style:{display:"inline"}},"A6 - Periodo ideal para a pr\xe1tica da atividade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1-Muito experiente
2-Experiente;
3-Interm\xe9dio
4-Iniciado;
5-Uso recreativo.",style:{display:"inline"}},"A7 - N\xedvel de experi\xeancia do praticante")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- 2501-3000m;
3- 1001m-2500m;
5- 500m-1000m;",style:{display:"inline"}},"A8 - Dist\xe2ncia")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- Baixo (<1h30);
3- M\xe9dio (> 2h00);
5 - Alto (1h30-2h00);",style:{display:"inline"}},"A9 -Tempo do percurso")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A9))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"Vari\xe2ncia da dificuldade",style:{display:"inline"}},"A10 - Vari\xe2ncia da dificuldade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(r.atividade.A10).toFixed(2)))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},nn=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1150,height:300,data:r.data1},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- 21 min ou mais.
2- 16min e 20min;
3- 11min e 15min;
4- 6min e 10min;
5- Menos de 5min; ",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o possui qualquer tipo de infraestrutura constru\xedda;
2-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio);
3-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem;
4-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem e casas de banho;
5-Possui infraestruturas de acesso ao ponto onde se inicia a atividade (caso seja necess\xe1rio), estacionamento, pistas de descolagem e aterragem, casas de banho e balne\xe1rios; ",style:{display:"inline"}},"A3 - Infraestruturas/equipamentos")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1 - N\xe3o existe sinaliza\xe7\xe3o direcional para o local de observa\xe7\xe3o de vida selvagem;
5 - Existe sinaliza\xe7\xe3o direcional para o local de observa\xe7\xe3o de vida selvagem; ",style:{display:"inline"}},"A4 - Sinaliza\xe7\xe3o/Orienta\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o existe qualquer tipo de informa\xe7\xe3o;
2- Existe informa\xe7\xe3o online sobre atividade;
3- Existe informa\xe7\xe3o online sobre a atividade e painel informativo sobre o as esp\xe9cies a observar;
4- Existe informa\xe7\xe3o online sobre a atividade, painel informativo sobre o as esp\xe9cies a observar e pain\xe9is interpretativos sobre as esp\xe9cies a observar ao longo do percurso (caso exista um percurso);
5- Existe informa\xe7\xe3o online sobre a atividade, painel informativo sobre o as esp\xe9cies a observar, pain\xe9is interpretativos sobre as esp\xe9cies a observar ao longo do percurso (caso exista um percurso) e centro interpretativo associado.",style:{display:"inline"}},"A5 - Informa\xe7\xe3o/Interpreta\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o tem Centro Interpretativo associado;
5 - Tem Centro Interpretativo associado. ",style:{display:"inline"}},"A6 - Centro Interpretativo associado")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- N\xe3o existe qualquer tipo de sistema de seguran\xe7a associado ao local;
2- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade;
3- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade e existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
4- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade, bem como ao longo de todo o percurso;
5- Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no inicio do local onde se desenrola a atividade, bem como ao longo de todo o percurso e toda a \xe1rea est\xe1 coberta com rede m\xf3vel de telem\xf3vel para poss\xedvel pedido de resgate por parte do utilizador/praticante.",style:{display:"inline"}},"A7 - Seguran\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"500px",marginRight:"5%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o \xe9 acess\xedvel a pessoas com mobilidade reduzida;
2- Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida;
3- Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida e espa\xe7o destinado a estacionamento de viaturas para pessoas com mobilidade reduzida;
4- Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida ;
5- Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida bem como Escola/clube/organiza\xe7\xe3o capaz de fornecer servi\xe7o adaptado para pessoas com mobilidade reduzida.",style:{display:"inline"}},"A8 - Acessibilidade Universal")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"3 - 3-9 meses;
5 - todo o ano",style:{display:"inline"}},"A9 - Periodo ideal para a pr\xe1tica da atividade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"500px",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- Baixo (1 grupo/classe de animais) ;
3- M\xe9dio (2 grupos/ classe de animais) ;
5- Elevado (>3 grupos/ classe de animais) ",style:{display:"inline"}},"A10 - Esp\xe9cies a observar")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},ln=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1300,height:300,data:r.data1,barCategoryGap:"5%"},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1- 21 min ou mais.
2- 16min e 20min;
3- 11min e 15min;
4- entre 6 e 10min;
5- Menos de 5min; ",style:{display:"inline"}},"A2 - Acessibilidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1-N\xe3o possui qualquer tipo de infraestrutura construida;
2-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio);
3-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio) e estacionamento;
4-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio), estacionamento e chuveiros p\xfablicos;
5-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio), estacionamento, chuveiros p\xfablicos e balne\xe1rios.",style:{display:"inline"}},"A3 - N\xedvel de Infraestruturas")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o existe qualquer tipo de sinaliza\xe7\xe3o;
2- Existe informa\xe7\xe3o online e topo guias sobre o ponto de escalada;
3-Existe informa\xe7\xe3o online e topo guias e sinaliza\xe7\xe3o direcional para o ponto de escalada;
4-Existe informa\xe7\xe3o online e topo guias, sinaliza\xe7\xe3o direcional para o ponto de escalada e painel informativo no local;
5- Existe informa\xe7\xe3o online e topo guias sobre o percurso, sinaliza\xe7\xe3o direcional para o ponto de escalada, painel informativo no local e informa\xe7\xe3o georreferenciada. ",style:{display:"inline"}},"A4 - Sinaliza\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o possui qualquer servi\xe7o de vigil\xe2ncia/assist\xeancia;
2- Possui vigil\xe2ncia permanente;
3-Possui vigil\xe2ncia permanente e possui equipamento de salvamento dispon\xedveis e facilmente acess\xedveis;
4- Possui vigil\xe2ncia permanente, equipamento de salvamento dispon\xedveis e facilmente acess\xedveis e permite o acesso f\xe1cil a meios de socorro e de emerg\xeancia;
5-Possui vigil\xe2ncia permanente, equipamento de salvamento dispon\xedveis e facilmente acess\xedveis, permite o acesso f\xe1cil a meios de socorro e de emerg\xeancia, mala de primeiros socorros equipado com material de primeiros socorros e existe pessoal habilitado \xe0 presta\xe7\xe3o de primeiros socorros.",style:{display:"inline"}},"A5 - Vigil\xe2ncia/Assist\xeancia")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o existe qualquer tipo de sistema de seguran\xe7a associado ao local;
2-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade;
3-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade e existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
4-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
5-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no inicio do local onde se desenrola a atividade, e toda a \xe1rea est\xe1 coberta com rede m\xf3vel de telem\xf3vel para poss\xedvel pedido de resgate por parte do utilizador/praticante; zona com manuten\xe7\xe3o regular. ",style:{display:"inline"}},"A6 - Seguran\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1 -1 esta\xe7\xe3o do ano;
3 - 2-3 esta\xe7\xf5es do ano;
5 - todo o ano.",style:{display:"inline"}},"A7 - Dura\xe7\xe3o do per\xedodo recomendado para a pr\xe1tica da modalidade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-Muito experiente;
2-Experiente;
3-Interm\xe9dio
4-Iniciado;
5-Uso recreativo.",style:{display:"inline"}},"A8 - N\xedvel de experi\xeancia do praticante")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- N\xe3o existe topo-guia;
3- Existe com pouca informa\xe7\xe3o detalhada;
5- Existe informa\xe7\xe3o detalhada; ",style:{display:"inline"}},"A9 - Topo-Guia")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A9))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- Dif\xedcil;
2- Interm\xe9dio-Dif\xedcil;
3- Interm\xe9dio;
4- F\xe1cil-Interm\xe9dio;
5- F\xe1cil. ",style:{display:"inline"}},"A10 - Grau predominante de dificuldade das vias")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A10))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- Apenas 1 tipo de escalada;
3- Apenas 2 tipos de escalada;
5- Todos os tipos de escalada. ",style:{display:"inline"}},"A11 - Tipos de escalada (Bloco, desportiva, cl\xe1ssica)")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A11))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- At\xe9 20;
2- 21-40;
3- 41-60;
4- 61-80;
5- Mais 81 ",style:{display:"inline"}},"A12 - N\xfamero de vias existentes")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A12))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"1- at\xe9 5 metros;
3- 5-40 metros;
5- + 41 m",style:{display:"inline"}},"A13 - Altura predominante das vias")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A13))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- Existe um per\xedodo superior a 6 meses;
3- Existe um per\xedodo de restri\xe7\xe3o inferior a seis meses;
5- N\xe3o existe per\xedodo de restri\xe7\xe3o",style:{display:"inline"}},"A14 - Per\xedodos de restri\xe7\xe3o \xe0 pratica da atividade")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A14))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center",marginTop:"5%"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},rn=function(e){var a,t=Object(b.a)((function(){return{root:{flexGrow:1},card:{marginTop:"2%"},customtooltip:{backgroundColor:"black"}}})),i=Object(n.useState)(e),r=Object(d.a)(i,1)[0],o=t(),c=Math.PI/180,s=function(e){var a=e.cx,t=e.cy,n=e.midAngle,i=e.innerRadius,r=e.outerRadius,o=e.percent,s=i+.09*(r-i),d=a+s*Math.cos(-n*c),m=t+(s+20)*Math.sin(-n*c);return l.a.createElement("text",{x:d,y:m,fill:"white",textAnchor:d>a?"start":"end",dominantBaseline:"central"},"".concat((100*o).toFixed(0),"%"))};return l.a.createElement("div",null,l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Avalia\xe7\xe3o da atividade ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"1px"}}," 1.Avalia\xe7\xe3o de atributos "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1300,height:300,data:r.data1,barCategoryGap:"5%"},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{item:!0,xs:12}),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1 - N\xe3o est\xe1 inserido em \xc1rea Protegida;
5 - Est\xe1 inserido em \xc1rea Protegida;",style:{display:"inline"}},"A1 - \xc1rea protegida")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A1)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1-N\xe3o possui qualquer tipo de infraestrutura construida;
2-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio);
3-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio) e estacionamento;
4-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio), estacionamento e chuveiros p\xfablicos;
5-Possui infraestruturas de acesso ao areal (caso seja necess\xe1rio), estacionamento, chuveiros p\xfablicos e balne\xe1rios.",style:{display:"inline"}},"A2 - N\xedvel de Infraestruturas")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A2))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":" 1-N\xe3o possui qualquer infraestrutura de apoio;
2-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado;
3-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado e servi\xe7os de alojamento;
4-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento e posto de informa\xe7\xe3o;
5-Possui servi\xe7os de bar/restaura\xe7\xe3o/minimercado, servi\xe7os de alojamento, posto de informa\xe7\xe3o e lojas de aluguer de material desportivo.",style:{display:"inline"}},"A3 - Servi\xe7os de Apoio")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A3)))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1- N\xe3o existe qualquer tipo de sinaliza\xe7\xe3o;
2- Existe informa\xe7\xe3o online e topo guias sobre o ponto de escalada;
3-Existe informa\xe7\xe3o online e topo guias e sinaliza\xe7\xe3o direcional para o ponto de escalada;
4-Existe informa\xe7\xe3o online e topo guias, sinaliza\xe7\xe3o direcional para o ponto de escalada e painel informativo no local;
5- Existe informa\xe7\xe3o online e topo guias sobre o percurso, sinaliza\xe7\xe3o direcional para o ponto de escalada, painel informativo no local e informa\xe7\xe3o georreferenciada. ",style:{display:"inline"}},"A4 - Sinaliza\xe7\xe3o/Comunica\xe7\xe3o")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A4))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o existe qualquer tipo de sistema de seguran\xe7a associado ao local;
2-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade;
3-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade e existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
4-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no in\xedcio do local onde se desenrola a atividade;
5-Existe tabela informativa com n\xfameros de emerg\xeancia no local onde se inicia a atividade, existe informa\xe7\xe3o do plano de emerg\xeancia no inicio do local onde se desenrola a atividade, e toda a \xe1rea est\xe1 coberta com rede m\xf3vel de telem\xf3vel para poss\xedvel pedido de resgate por parte do utilizador/praticante; zona com manuten\xe7\xe3o regular. ",style:{display:"inline"}},"A5 - Seguran\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A5))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t3"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"1-N\xe3o \xe9 acess\xedvel a pessoas com mobilidade reduzida;
2-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida;
3-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida e espa\xe7o destinado a estacionamento de viaturas para pessoas com mobilidade reduzida;
4-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida ;
5-Possui acessos f\xe1ceis, dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida, estacionamento de viaturas para pessoas com mobilidade reduzida e acessos f\xe1ceis \xe0s estruturas de apoio dotado de um percurso acess\xedvel que permita o acesso a pessoas com mobilidade reduzida bem como Escola/clube/organiza\xe7\xe3o capaz de fornecer servi\xe7o adaptado para pessoas com mobilidade reduzida.",style:{display:"inline"}},"A6 - Acessibilidade Universal")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A6))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"3- <5 meses;
5- 5 meses (per\xedodo h\xe1bil de pesca [01.03-31.07])",style:{display:"inline"}},"A7 - Periodo ideal para usufruto do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A7))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})),l.a.createElement("div",{style:Object(p.a)({display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"},"marginTop","5%")},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"3 - Apresenta alguns perigos inerentes ao rio (caudal do rio, correntes, barragens)
5 - Apresenta poucos perigos inerentes ao rio (irregularidade do fundo do rio)",style:{display:"inline"}},"A8 - Perigos")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A8))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"3- 1 ou 2 esp\xe9cies;
5 - 1 ou 2 esp\xe9cies + trutas;",style:{display:"inline"}},"A9 - Esp\xe9cies existentes")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A9))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"3-\xe1guas livres;
5- concess\xf5es de pesca ",style:{display:"inline"}},"A10 - Zona onde se realiza a pesca")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A10))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"t2","data-tip":"3- Dif\xedcil;
5- F\xe1cil ",style:{display:"inline"}},"A11 - Facilidade acesso licen\xe7a")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A11))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"t2"})))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{className:o.root},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginTop:"2%",marginLeft:"5%"}},l.a.createElement(sa.a,{style:{width:"100%",height:"150px",marginRight:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"3-N\xe3o tem cais de embarque;
5-Tem cais de embarque",style:{display:"inline"}},"A12 - Cais de embarque")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",r.atividade.A12))),l.a.createElement(vt.a,{"data-html":!0,insecure:!0,multiline:!0,id:"tt"})))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(jt.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.\xcdndices "))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginLeft:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Intensificador "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,(a={data:r.dataIntensificador,innerRadius:30,outerRadius:80},Object(p.a)(a,"innerRadius",40),Object(p.a)(a,"outerRadius",80),Object(p.a)(a,"fill","#0A1045"),Object(p.a)(a,"label",s),Object(p.a)(a,"labelLine",!1),a)),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"A1*0.1",style:{display:"inline"}}," Intensificador ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.intensificador.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Qualificativo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,{data:r.dataQualificativo,innerRadius:30,outerRadius:80,fill:"#6B2B06",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0.25*A2) + (0,25*A3) + (0.25*A7) + (0.25*A8) * 0,2)",style:{display:"inline"}}," Qualificativo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.qualificativo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6,style:{align:"center"}},l.a.createElement(sa.a,{style:{marginLeft:"2%",height:"450px"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Subjetivo "))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{width:250,height:200,style:{display:"flex",justifyContent:"center",marginTop:"5%"}},l.a.createElement(Kt.g,{data:r.dataSubjetivo,innerRadius:30,outerRadius:80,fill:"#FDCA40",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:-20,height:-10,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{justifySelf:"center",marginBottom:"2%",minWidth:"50%",marginTop:"5%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"( (0,25*A3) + (0.25*A4) + (0.20*A5) + (0.15*A6) + (0.15*A7)) * 0,2)",style:{display:"inline"}}," Subjetivo ")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.subjectivo.toFixed(2))))))))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(sa.a,{style:{marginRight:"2%",marginBottom:"2%",minHeight:"100%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.h,{style:{display:"flex",justifyContent:"center",marginTop:"5%"},width:200,height:200},l.a.createElement(Kt.g,{data:r.dataGeral,innerRadius:30,outerRadius:80,fill:"#7BBA6B",label:s,labelLine:!1}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,{iconSize:10,width:20,height:140,layout:"vertical",verticalAlign:"middle",align:"right"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"2%"}},l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," ")),l.a.createElement("p",{style:{display:"inline"}}," "))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa"}},l.a.createElement(B.a,null)),l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"300px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(Ct.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 3.Avalia\xe7\xe3o Global")))),l.a.createElement(sa.a,{style:{marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Global"))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center",marginLeft:"-5px"}},l.a.createElement(Kt.b,{width:200,height:300,data:[{name:"Global",avaliacao:r.avaliacao.local}]},l.a.createElement(Kt.c,{strokeDasharray:"1 1"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avaliacao",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"600px",justifySelf:"center",marginBottom:"2%"}},l.a.createElement(ma.a,null,l.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},l.a.createElement("div",null,l.a.createElement("b",null,l.a.createElement("p",{"data-for":"tt","data-tip":"Soma do Intensificador, Qualificador e Subjetivo.",style:{display:"inline"}}," Avalia\xe7\xe3o global do local")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}},r.avaliacao.local.toFixed(2)))))))))))})),l.a.createElement("div",{className:o.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Entidades associadas ",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},r.nifs.length>0?r.nifs.map((function(e){return l.a.createElement(sa.a,{style:{width:"50%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%",marginTop:"2%"}},l.a.createElement("div",null,l.a.createElement("p",{style:{display:"inline-block",marginLeft:"10%"}},e),l.a.createElement(C.a,{style:{float:"center",margin:"0",color:"#F7AD00"},color:"inherit","aria-label":"open drawer",onClick:function(){return a=e,void Object(ae.c)("/backoffice/detalhes/"+a);var a},edge:"start"},l.a.createElement(Oe.a,null))))})):l.a.createElement("p",null))))})))},on=function(e){var a=Object(n.useState)(e);Object(qe.a)(a);return l.a.createElement("div",null,"Ecovia"===e.atividade.type?l.a.createElement(Zt,e):"Trilho"===e.atividade.type?l.a.createElement(Jt,e):"Surf"===e.atividade.type?l.a.createElement(Xt,e):"Parapente"===e.atividade.type?l.a.createElement(Yt,e):"Rafting"===e.atividade.type?l.a.createElement($t,e):"Btt"===e.atividade.type?l.a.createElement(en,e):"Canoagem"===e.atividade.type?l.a.createElement(an,e):"Canyoning"===e.atividade.type?l.a.createElement(tn,e):"Observa\xe7\xe3o"===e.atividade.type?l.a.createElement(nn,e):"Escalada"===e.atividade.type?l.a.createElement(ln,e):"Pesca"===e.atividade.type?l.a.createElement(rn,e):l.a.createElement("div",null,l.a.createElement(Ce.a,null)))};function cn(e){Object(n.useEffect)((function(){switch(e.type){case"Ecovia":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/1/"+e.id).then((function(a){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:xt(a.data[0].A1,a.data[0].A2,a.data[0].A3,a.data[0].A4,a.data[0].A5,a.data[0].A6,a.data[0].A7,a.data[0].A8),dataIntensificador:[{name:"A1",value:100}],dataQualificativo:[{name:"A4",value:25,fill:"#3F84E5"},{name:"A3",value:25,fill:"3587A4"},{name:"A5",value:20,fill:"#BF3100"},,{name:"A6",value:15,fill:"#3F784C"},{name:"A7",value:15,fill:"#DC965A"}],dataSubjetivo:[{name:"A2",value:25,fill:"#C97B84"},{name:"A3",value:25,fill:"#3587A4"},{name:"A8",value:25,fill:"#C9C19F"},,{name:"A7",value:25,fill:"#DC965A"}],dataGeral:[{name:"Qualificativo",value:70,fill:"#0D1821"},{name:"Subjetivo",value:20,fill:"#1F7A8C"},{name:"Intensificador",value:10,fill:"#BFDBF7"}]})})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Trilho":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/2/"+e.id).then((function(a){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}r((function(t){return Object(m.a)(Object(m.a)({},t),{},{atividade:a.data[0],display:1,load:1,data1:xt(a.data[0].A1,a.data[0].A2,a.data[0].A3,a.data[0].A4,a.data[0].A5,a.data[0].A6,a.data[0].A7,a.data[0].A8),dataIntensificador:[{name:"A1",value:100}],dataQualificativo:[{name:"A4",value:25,fill:"#3F84E5"},{name:"A3",value:25,fill:"3587A4"},{name:"A5",value:20,fill:"#BF3100"},,{name:"A6",value:15,fill:"#3F784C"},{name:"A7",value:15,fill:"#DC965A"}],dataSubjetivo:[{name:"A2",value:25,fill:"#C97B84"},{name:"A3",value:25,fill:"#3587A4"},{name:"A8",value:25,fill:"#C9C19F"},,{name:"A7",value:25,fill:"#DC965A"}],dataGeral:[{name:"Qualificativo",value:70,fill:"#0D1821"},{name:"Subjetivo",value:20,fill:"#1F7A8C"},{name:"Intensificador",value:10,fill:"#BFDBF7"}],type:e.type})})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Surf":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/10/"+e.id).then((function(a){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}var n;a.data[0].nif.includes("\n")||a.data[0].nif.includes(";")||((n=[]).push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})})));a.data[0].nif.includes("\n")||a.data[0].nif.includes(";")||((n=[]).push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})})));r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:(t=a.data[0].A1,n=a.data[0].A2,l=a.data[0].A3,i=a.data[0].A4,r=a.data[0].A5,o=a.data[0].A6,c=a.data[0].A7,s=a.data[0].A8,d=a.data[0].A9,p=a.data[0].A10,u=a.data[0].A11,g=a.data[0].A12,f=a.data[0].A13,b=a.data[0].A14,E=a.data[0].A15,x=a.data[0].A16,v=a.data[a.data[0].A17],[{name:"\xc1rea protegida","avalia\xe7\xe3o":t},{name:"Acessibilidade","avalia\xe7\xe3o":n},{name:"N\xedvel de Infraestruturas","avalia\xe7\xe3o":l},{name:"Servi\xe7os de Apoio","avalia\xe7\xe3o":i},{name:"Bandeira Azul","avalia\xe7\xe3o":r},{name:"Sinaliza\xe7\xe3o/Comunica\xe7\xe3o","avalia\xe7\xe3o":o},{name:"Vigil\xe2ncia/Assist\xeanciae","avalia\xe7\xe3o":c},{name:"Galard\xe3o \u201cPraia Acess\xedvel \u2013 Praia para Todos\u201d","avalia\xe7\xe3o":s},{name:"Acessibilidade Universal","avalia\xe7\xe3o":d},{name:"Periodo ideal para a pr\xe1tica de surf","avalia\xe7\xe3o":p},{name:"N\xedvel de experi\xeancia do praticante","avalia\xe7\xe3o":u},{name:" Crowd (praticantes de modalidades)","avalia\xe7\xe3o":g},{name:"Temperatura da \xe1gua","avalia\xe7\xe3o":f},{name:"Tipo de Onda","avalia\xe7\xe3o":b},{name:"Qualidade da onda","avalia\xe7\xe3o":E},{name:"Consist\xeancia da onda","avalia\xe7\xe3o":x},{name:"Tamanho ideal da ondula\xe7\xe3o","avalia\xe7\xe3o":v}]),dataIntensificador:[{name:"A1",value:25,fill:"#184d47"},{name:"A5",value:25,fill:"#96bb7c"},{name:"A8",value:25,fill:"#d6efc7"},{name:"A9",value:25,fill:"#fad586"}],dataQualificativo:[{name:"A2",value:5,fill:"#003f5c"},{name:"A3",value:15,fill:"#003f5c"},{name:"A4",value:5,fill:"#665191"},{name:"A6",value:5,fill:"#a05195"},{name:"A7",value:5,fill:"#d45087"},{name:"A10",value:15,fill:"#f95d6a"},{name:"A12",value:10,fill:"#ff7c43"},{name:"A13",value:5,fill:"#ffa600"},{name:"A15",value:15,fill:"#ec8c5a"},{name:"A16",value:15,fill:"#e26752"},{name:"A17",value:5,fill:"#de425b"}],dataSubjetivo:[{name:"A11",value:25,fill:"#09015f"},{name:"A12",value:25,fill:"#af0069"},{name:"A14",value:25,fill:"#55b3b1"},,{name:"A16",value:25,fill:"#f6c065"}],dataGeral:[{name:"Qualificativo",value:70,fill:"#6f9eaf"},{name:"Subjetivo",value:20,fill:"#a9294f"},{name:"Intensificador",value:10,fill:"#c7753d"}]});var t,n,l,i,r,o,c,s,d,p,u,g,f,b,E,x,v})),console.log("surf"),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Parapente":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/7/"+e.id).then((function(a){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:(t=a.data[0].A1,n=a.data[0].A2,l=a.data[0].A3,i=a.data[0].A4,r=a.data[0].A5,o=a.data[0].A6,c=a.data[0].A7,s=a.data[0].A8,a.data[0].A9,a.data[0].A10,a.data[0].A11,a.data[0].A12,a.data[0].A13,a.data[0].A14,a.data[0].A15,a.data[0].A16,a.data[a.data[0].A17],[{name:"\xc1rea protegida","avalia\xe7\xe3o":t},{name:"Acessibilidade","avalia\xe7\xe3o":n},{name:"N\xedvel de Infraestruturas","avalia\xe7\xe3o":l},{name:"Servi\xe7os Apoio","avalia\xe7\xe3o":i},{name:"Sinaliza\xe7\xe3o/Comunica\xe7\xe3o","avalia\xe7\xe3o":r},{name:"Seguran\xe7a","avalia\xe7\xe3o":o},{name:"Relevo","avalia\xe7\xe3o":c},{name:"Fiabilidade metereol\xf3gica ","avalia\xe7\xe3o":s}]),dataIntensificador:[{name:"A1",value:100,fill:"#184d47"}],dataQualificativo:[{name:"A2",value:5,fill:"#003f5c"},{name:"A3",value:10,fill:"#003f5c"},{name:"A4",value:10,fill:"#665191"},{name:"A5",value:5,fill:"#a05195"},{name:"A6",value:30,fill:"#d45087"},{name:"A7",value:35,fill:"#f95d6a"},{name:"A8",value:5,fill:"#ff7c43"}],dataSubjetivo:[],dataGeral:[{name:"Qualificativo",value:90,fill:"#6f9eaf"},{name:"Intensificador",value:10,fill:"#c7753d"}]});var t,n,l,i,r,o,c,s})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Rafting":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/6/"+e.id).then((function(a){if(a.data[0].nif){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}}r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:(t=a.data[0].A1,n=a.data[0].A2,l=a.data[0].A3,i=a.data[0].A4,r=a.data[0].A5,o=a.data[0].A6,c=a.data[0].A7,s=a.data[0].A8,d=a.data[0].A9,[{name:"\xc1rea protegida","avalia\xe7\xe3o":t},{name:"Acessibilidade","avalia\xe7\xe3o":n},{name:"Infraestrutura","avalia\xe7\xe3o":l},{name:"Seguran\xe7a","avalia\xe7\xe3o":i},{name:"Acessibilidade ","avalia\xe7\xe3o":r},{name:"Periodo ideal","avalia\xe7\xe3o":o},{name:"Experi\xeancia","avalia\xe7\xe3o":c},{name:"Dificuldade ","avalia\xe7\xe3o":s},{name:"Tempo ","avalia\xe7\xe3o":d}]),dataIntensificador:[{name:"A1",value:33.33,fill:"#fff3b2"},{name:"A5",value:33.33,fill:"#ffe0d8"},{name:"A6",value:33.33,fill:"#41584b"}],dataQualificativo:[{name:"A2",value:5,fill:"#003f5c"},{name:"A3",value:10,fill:"#003f5c"},{name:"A4",value:10,fill:"#665191"},{name:"A5",value:5,fill:"#a05195"},{name:"A6",value:30,fill:"#d45087"},{name:"A7",value:35,fill:"#f95d6a"},{name:"A8",value:5,fill:"#ff7c43"}],dataSubjetivo:[{name:"A4",value:20,fill:"#09015f"},{name:"A7",value:10,fill:"#af0069"},{name:"A8",value:55,fill:"#55b3b1"},,{name:"A9",value:15,fill:"#f6c065"}],dataGeral:[{name:"Qualificativo",value:70,fill:"#6f9eaf"},{name:"Subjetivo",value:20,fill:"#a9294f"},{name:"Intensificador",value:10,fill:"#c7753d"}]});var t,n,l,i,r,o,c,s,d})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Btt":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/4/"+e.id).then((function(a){if(a.data[0].nif){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}}r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:(t=a.data[0].A1,n=a.data[0].A2,l=a.data[0].A3,i=a.data[0].A4,r=a.data[0].A5,o=a.data[0].A6,c=a.data[0].A7,s=a.data[0].A8,d=a.data[0].A9,p=a.data[0].A10,u=a.data[0].A11,g=a.data[0].A12,f=a.data[0].A13,b=a.data[0].A14,a.data[0].A15,a.data[0].A16,a.data[a.data[0].A17],[{name:"\xc1rea protegida","avalia\xe7\xe3o":t},{name:"Acessos","avalia\xe7\xe3o":n},{name:"Infraestrutura","avalia\xe7\xe3o":l},{name:"Apoio","avalia\xe7\xe3o":i},{name:"Sinaliza\xe7\xe3o","avalia\xe7\xe3o":r},{name:"Associado","avalia\xe7\xe3o":o},{name:"Seguran\xe7a","avalia\xe7\xe3o":c},{name:"Experi\xeancia","avalia\xe7\xe3o":s},{name:"Dist\xe2ncia","avalia\xe7\xe3o":d},{name:"Tempo","avalia\xe7\xe3o":p},{name:"Percurso","avalia\xe7\xe3o":u},{name:"Dificuldade","avalia\xe7\xe3o":g},{name:"Eventos","avalia\xe7\xe3o":f},{name:"Valores","avalia\xe7\xe3o":b}]),dataIntensificador:[{name:"A1",value:33.33,fill:"#184d47"},{name:"A6",value:33.33,fill:"#96bb7c"},{name:"A13",value:33.33,fill:"#d6efc7"}],dataQualificativo:[{name:"A2",value:10,fill:"#003f5c"},{name:"A3",value:15,fill:"#003f5c"},{name:"A4",value:15,fill:"#665191"},{name:"A5",value:15,fill:"#a05195"},{name:"A7",value:10,fill:"#d45087"},{name:"A11",value:15,fill:"#f95d6a"},{name:"A14",value:20,fill:"#ff7c43"}],dataSubjetivo:[{name:"A5",value:20,fill:"#09015f"},{name:"A7",value:10,fill:"#af0069"},{name:"A8",value:20,fill:"#55b3b1"},,{name:"A9",value:10,fill:"#f6c065"},{name:"A10",value:10,fill:"#14274e"},{name:"A12",value:30,fill:"#9ba4b4"}],dataGeral:[{name:"Qualificativo",value:70,fill:"#6f9eaf"},{name:"Subjetivo",value:20,fill:"#a9294f"},{name:"Intensificador",value:10,fill:"#c7753d"}]});var t,n,l,i,r,o,c,s,d,p,u,g,f,b})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Canoagem":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/3/"+e.id).then((function(a){if(a.data[0].nif){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}}r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:(t=a.data[0].A1,n=a.data[0].A2,l=a.data[0].A3,i=a.data[0].A4,r=a.data[0].A5,o=a.data[0].A6,c=a.data[0].A7,s=a.data[0].A8,d=a.data[0].A9,a.data[0].A10,a.data[0].A11,a.data[0].A12,a.data[0].A13,a.data[0].A14,a.data[0].A15,a.data[0].A16,a.data[a.data[0].A17],[{name:"\xc1rea protegida","avalia\xe7\xe3o":t},{name:"Acessibilidade","avalia\xe7\xe3o":n},{name:"Infraestrutura","avalia\xe7\xe3o":l},{name:"Apoio","avalia\xe7\xe3o":i},{name:"Assist\xeancia ","avalia\xe7\xe3o":r},{name:"Seguran\xe7a","avalia\xe7\xe3o":o},{name:"Acessibilidade","avalia\xe7\xe3o":c},{name:"Per\xedodo","avalia\xe7\xe3o":s},{name:"Centro","avalia\xe7\xe3o":d}]),dataIntensificador:[{name:"A1",value:50,fill:"#fff3b2"},{name:"A7",value:50,fill:"#ffe0d8"}],dataQualificativo:[{name:"A2",value:20,fill:"#003f5c"},{name:"A3",value:20,fill:"#003f5c"},{name:"A4",value:10,fill:"#665191"},{name:"A5",value:5,fill:"#a05195"},{name:"A6",value:20,fill:"#d45087"},{name:"A8",value:10,fill:"#f95d6a"},{name:"A9",value:15,fill:"#ff7c43"}],dataSubjetivo:[],dataGeral:[{name:"Qualificativo",value:70,fill:"#6f9eaf"},{name:"Subjetivo",value:20,fill:"#a9294f"},{name:"Intensificador",value:10,fill:"#c7753d"}]});var t,n,l,i,r,o,c,s,d})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Canyoning":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/11/"+e.id).then((function(a){if(a.data[0].nif){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}}r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:(t=a.data[0].A1,n=a.data[0].A2,l=a.data[0].A3,i=a.data[0].A4,r=a.data[0].A5,o=a.data[0].A6,c=a.data[0].A7,s=a.data[0].A8,d=a.data[0].A9,p=a.data[0].A10,a.data[0].A11,a.data[0].A12,a.data[0].A13,a.data[0].A14,a.data[0].A15,a.data[0].A16,a.data[a.data[0].A17],[{name:"\xc1rea protegida","avalia\xe7\xe3o":t},{name:"Acessibilidade","avalia\xe7\xe3o":n},{name:"Infraestrutura","avalia\xe7\xe3o":l},{name:"Seguran\xe7a","avalia\xe7\xe3o":i},{name:"Acessibilidade ","avalia\xe7\xe3o":r},{name:"Periodo ideal","avalia\xe7\xe3o":o},{name:"Experi\xeancia","avalia\xe7\xe3o":c},{name:"Dist\xe2ncia ","avalia\xe7\xe3o":s},{name:"Tempo ","avalia\xe7\xe3o":d},{name:"Dificuldade ","avalia\xe7\xe3o":p}]),dataIntensificador:[{name:"A1",value:50,fill:"#e76f51"},{name:"A5",value:50,fill:"#f4a261"}],dataQualificativo:[{name:"A2",value:10,fill:"#003f5c"},{name:"A3",value:20,fill:"#003f5c"},{name:"A4",value:35,fill:"#665191"},{name:"A6",value:10,fill:"#d45087"},{name:"A10",value:25,fill:"#f95d6a"}],dataSubjetivo:[{name:"A2",value:20,fill:"#09015f"},{name:"A3",value:25,fill:"#af0069"},{name:"A6",value:5,fill:"#55b3b1"},,{name:"A7",value:20,fill:"#f6c065"},{name:"A8",value:15,fill:"#96bb7c"},,{name:"A9",value:15,fill:"#fad586"}],dataGeral:[{name:"Qualificativo",value:70,fill:"#6f9eaf"},{name:"Subjetivo",value:20,fill:"#a9294f"},{name:"Intensificador",value:10,fill:"#c7753d"}]});var t,n,l,i,r,o,c,s,d,p})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Observa\xe7\xe3o":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/9/"+e.id).then((function(a){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:(t=a.data[0].A1,n=a.data[0].A2,l=a.data[0].A3,i=a.data[0].A4,r=a.data[0].A5,o=a.data[0].A6,c=a.data[0].A7,s=a.data[0].A8,d=a.data[0].A9,p=a.data[0].A10,[{name:"\xc1rea protegida","avalia\xe7\xe3o":t},{name:"Acessibilidade","avalia\xe7\xe3o":n},{name:"Infraestrutura","avalia\xe7\xe3o":l},{name:"Sinaliza\xe7\xe3o","avalia\xe7\xe3o":i},{name:"Informa\xe7\xe3o ","avalia\xe7\xe3o":r},{name:"Centro","avalia\xe7\xe3o":o},{name:"Seguran\xe7a","avalia\xe7\xe3o":c},{name:"Acessibilidade","avalia\xe7\xe3o":s},{name:"Per\xedodo","avalia\xe7\xe3o":d},{name:"Esp\xe9cies","avalia\xe7\xe3o":p}]),dataIntensificador:[{name:"A1",value:33.33,fill:"#fff3b2"},{name:"A6",value:33.33,fill:"#ffe0d8"},{name:"A8",value:33.33,fill:"#41584b"}],dataQualificativo:[{name:"A2",value:20,fill:"#003f5c"},{name:"A3",value:10,fill:"#003f5c"},{name:"A4",value:5,fill:"#665191"},{name:"A5",value:20,fill:"#a05195"},{name:"A10",value:30,fill:"#d45087"},{name:"A7",value:5,fill:"#f95d6a"},{name:"A9",value:10,fill:"#ff7c43"}],dataSubjetivo:[],dataGeral:[{name:"Qualificativo",value:90,fill:"#6f9eaf"},{name:"Intensificador",value:10,fill:"#c7753d"}]});var t,n,l,i,r,o,c,s,d,p})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Escalada":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/5/"+e.id).then((function(a){if(a.data[0].nif){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}}r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:(t=a.data[0].A1,n=a.data[0].A2,l=a.data[0].A3,i=a.data[0].A4,r=a.data[0].A5,o=a.data[0].A6,c=a.data[0].A7,s=a.data[0].A8,d=a.data[0].A9,p=a.data[0].A10,u=a.data[0].A11,g=a.data[0].A12,f=a.data[0].A13,b=a.data[0].A14,[{name:"\xc1rea protegida","avalia\xe7\xe3o":t},{name:"Acessos","avalia\xe7\xe3o":n},{name:"Infraestrutura","avalia\xe7\xe3o":l},{name:"Sinaliza\xe7\xe3o","avalia\xe7\xe3o":i},{name:"Vigil\xe2ncia","avalia\xe7\xe3o":r},{name:"Seguran\xe7a","avalia\xe7\xe3o":o},{name:"Per\xedodo","avalia\xe7\xe3o":c},{name:"Experi\xeancia","avalia\xe7\xe3o":s},{name:"Topo-guia","avalia\xe7\xe3o":d},{name:"Dificuldade","avalia\xe7\xe3o":p},{name:"Tipo","avalia\xe7\xe3o":u},{name:"Vias","avalia\xe7\xe3o":g},{name:"Altura","avalia\xe7\xe3o":f},{name:"Restri\xe7\xe3o","avalia\xe7\xe3o":b}]),dataIntensificador:[{name:"A1",value:100,fill:"#184d47"}],dataQualificativo:[{name:"A2",value:10,fill:"#003f5c"},{name:"A3",value:10,fill:"#003f5c"},{name:"A4",value:10,fill:"#665191"},{name:"A5",value:5,fill:"#a05195"},{name:"A6",value:10,fill:"#d45087"},{name:"A7",value:10,fill:"#f95d6a"},{name:"A9",value:5,fill:"#ff7c43"},{name:"A10",value:15,fill:"#ff577f"},{name:"A11",value:5,fill:"#ff884b"},{name:"A12",value:10,fill:"#ffc764"},{name:"A13",value:5,fill:"#cdfffc"},{name:"A14",value:5,fill:"#00af91"}],dataSubjetivo:[{name:"A8",value:100,fill:"#09015f"}],dataGeral:[{name:"Qualificativo",value:70,fill:"#6f9eaf"},{name:"Subjetivo",value:20,fill:"#a9294f"},{name:"Intensificador",value:10,fill:"#c7753d"}]});var t,n,l,i,r,o,c,s,d,p,u,g,f,b})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}));break;case"Pesca":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/layers/info/8/"+e.id).then((function(a){if(a.data[0].nif){if(a.data[0].nif.includes("\n")){var t=a.data[0].nif.split("\n");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(a.data[0].nif.includes(";")){t=a.data[0].nif.split(";");console.log(t),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:t})}))}if(!a.data[0].nif.includes("\n")&&!a.data[0].nif.includes(";")){var n=[];n.push(a.data[0].nif),r((function(e){return Object(m.a)(Object(m.a)({},e),{},{nifs:n})}))}}r((function(e){return Object(m.a)(Object(m.a)({},e),{},{atividade:a.data[0],display:1,load:1,data1:(t=a.data[0].A1,n=a.data[0].A2,l=a.data[0].A3,i=a.data[0].A4,r=a.data[0].A5,o=a.data[0].A6,c=a.data[0].A7,s=a.data[0].A8,d=a.data[0].A9,p=a.data[0].A10,u=a.data[0].A11,g=a.data[0].A12,a.data[0].A13,a.data[0].A14,[{name:"\xc1rea protegida","avalia\xe7\xe3o":t},{name:"Infraestrutura","avalia\xe7\xe3o":n},{name:"Apoio","avalia\xe7\xe3o":l},{name:"Sinaliza\xe7\xe3o","avalia\xe7\xe3o":i},{name:"Seguran\xe7a","avalia\xe7\xe3o":r},{name:"Acessos","avalia\xe7\xe3o":o},{name:"Per\xedodo","avalia\xe7\xe3o":c},{name:"Perigo","avalia\xe7\xe3o":s},{name:"Esp\xe9cies","avalia\xe7\xe3o":d},{name:"Zona","avalia\xe7\xe3o":p},{name:"Licen\xe7a","avalia\xe7\xe3o":u},{name:"Embarca\xe7\xe3o","avalia\xe7\xe3o":g}]),dataIntensificador:[{name:"A1",value:25,fill:"#e76f51"},{name:"A7",value:25,fill:"#f4a261"},{name:"A8",value:25,fill:"#e9c46a"},{name:"A12",value:25,fill:"#2a9d8f"}],dataQualificativo:[{name:"A2",value:25,fill:"#1d3557"},{name:"A3",value:20,fill:"#457b9d"},{name:"A4",value:15,fill:"#a8dadc"},{name:"A5",value:10,fill:"#f1faee"},{name:"A9",value:10,fill:"#e63946"},{name:"A10",value:10,fill:"#edf6f9"},{name:"A11",value:10,fill:"#219ebc"}],dataSubjetivo:[{name:"A4",value:50,fill:"#efd3d7"},{name:"A6",value:50,fill:"#8e9aaf"}],dataGeral:[{name:"Qualificativo",value:70,fill:"#979dac"},{name:"Subjetivo",value:20,fill:"#001233"},{name:"Intensificador",value:10,fill:"#0466c8"}]});var t,n,l,i,r,o,c,s,d,p,u,g})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/info/"+e.id).then((function(e){r((function(a){return Object(m.a)(Object(m.a)({},a),{},{avaliacao:e.data[0],load1:1})}))})).catch((function(e){console.log("erro"+e)}))})).catch((function(e){console.log("erro"+e)}))}}),[e.id,e.type]);var a=l.a.useState({atividade:{},type:"",display:0,load:0,load1:0,avaliacao:{},nifs:[],data1:[],dataIntensificador:[],dataQualificativo:[],dataSubjetivo:[],dataGeral:[],avaliacao_atributos:[],indices:[]}),t=Object(d.a)(a,2),i=t[0],r=t[1];return 0===i.load&&0===i.load1?l.a.createElement("div",null):l.a.createElement("div",null,l.a.createElement(be.a,{"aria-label":"breadcrumb"},l.a.createElement(R.a,{title:"Voltar \xe0 p\xe1gina inicial"},l.a.createElement(re.a,{color:"inherit",href:"/backoffice"},"Turnout")),l.a.createElement(R.a,{title:"Consulta de detalhes da atividade"},l.a.createElement(j.a,{color:"textPrimary"},"Consulta da atividade - ",i.atividade.utf_name?i.atividade.utf_name:i.atividade.name.replaceAll("_"," ")," "))),1===i.display&&i.avaliacao.qualificativo?l.a.createElement(on,i):l.a.createElement("div",null,l.a.createElement(Ce.a,null)))}var sn=t(354),dn=t.n(sn),mn=Object(b.a)((function(e){return{card:{},root:{flexGrow:1,flexDirection:"row",justify:"center",alignItems:"center",marginTop:"2%"},paper:{height:140,width:100},control:{padding:e.spacing(2)}}}));function pn(e){var a=mn(),t=l.a.useState({inicio:"",fim:"",archive:[]}),i=Object(d.a)(t,2),r=i[0],o=i[1];Object(n.useEffect)((function(){console.log(e.type),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/"+e.type).then((function(e){var a=[];e.data.map((function(e){if(e.data){var t=e.data.split("T");e.data=t[0],a.push(e)}})),console.log("r",a),o((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a})}))})).catch((function(e){console.log("erro"+e)}))}),[e]);var p=l.a.useState(new Date),u=Object(d.a)(p,2),g=u[0],b=u[1],E=l.a.useState(new Date),x=Object(d.a)(E,2),v=x[0],y=x[1],h=function(){var a=Object(s.a)(c.a.mark((function a(){var t,n,l;return c.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return console.log(e.type),t=r.inicio.replaceAll("/","-"),n=r.fim.replaceAll("/","-"),l=[],a.next=6,f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/filter/"+e.type+"/"+t+"/"+n).then((function(a){console.log(a.data),o((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:[]})})),a.data.map((function(e){if(e.data){var a=e.data.split("T");e.data=a[0],l.push(e)}})),o((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:l})})),e.archive_global=a.data})).catch((function(e){console.log("erro"+e)}));case 6:case"end":return a.stop()}}),a)})));return function(){return a.apply(this,arguments)}}();return l.a.createElement("div",null,l.a.createElement("div",{className:a.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:e.name,cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"450px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 1.Avalia\xe7\xe3o")))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:1150,height:300,data:e.ecovias,margin:{top:5,right:40,left:60,bottom:5}},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[.5,1,1.5,2,2.5,3,3.5,4,4.5,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement(oe.a,{container:!0,spacing:3,justify:"flex-start",style:{marginTop:"1%"}},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",null,"Global")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(e.global).toFixed(2))))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%",marginBottom:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",null,"NUT III - ALTO MINHO")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(e.NUT1).toFixed(2)))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%",marginBottom:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",null,"NUT III - ALTO T\xc2MEGA E SOUSA")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(e.NUT5).toFixed(2))))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%",marginBottom:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",null,"NUT III - AVE")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(e.NUT3).toFixed(2)))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%",marginBottom:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",null,"NUT III - C\xc1VADO")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(e.NUT4).toFixed(2))))),l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%",marginBottom:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",null,"NUT III - \xc1REA METROP. DO PORTO")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(e.NUT4).toFixed(2)))))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement("div",{style:{display:"flex",alignSelf:"flex-end",marginLeft:"5%",marginTop:"5%",marginBottom:"5%",marginRight:"5%"}},l.a.createElement(sa.a,{style:{width:"500px"}},l.a.createElement(ma.a,null,l.a.createElement("b",null,l.a.createElement("p",null,"NUT III - DOURO")),l.a.createElement("p",{style:{color:"green",marginTop:"20px",fontSize:"20px"}}," ",parseFloat(e.NUT6).toFixed(2))))))),l.a.createElement(oe.a,{item:!0,xs:12,style:{backgroundColor:"#fafafa",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(B.a,null)),l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"450px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(dn.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.Varia\xe7\xe3o da avalia\xe7\xe3o ")))),l.a.createElement(oe.a,{container:!0,spacing:0},l.a.createElement(oe.a,{item:!0,xs:5,style:{justifyContent:"center"}},l.a.createElement("div",{style:{marginTop:"10%"}},l.a.createElement(dt.a,{utils:st.default},l.a.createElement(mt.b,{margin:"normal",id:"date-picker-dialog",label:"Data de in\xedcio",format:"dd/MM/yyyy",value:g,name:"Data",onChange:function(e){b(e);var a=e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate();o((function(e){return Object(m.a)(Object(m.a)({},e),{},{inicio:a.toString()})}))},KeyboardButtonProps:{"aria-label":"change date"}}))),l.a.createElement("div",{style:{marginTop:"5%"}},l.a.createElement(dt.a,{utils:st.default},l.a.createElement(mt.b,{margin:"normal",id:"date-picker-dialog",label:"Data de fim",format:"dd/MM/yyyy",value:v,name:"Data",onChange:function(e){y(e);var a=e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate();o((function(e){return Object(m.a)(Object(m.a)({},e),{},{fim:a.toString()})}))},KeyboardButtonProps:{"aria-label":"change date"}}))),l.a.createElement("div",null,l.a.createElement(ke.a,{variant:"extended",size:"small",onClick:h,style:{color:"white",backgroundColor:"#F7AD00",marginTop:"5%"}},"Filtrar"))),l.a.createElement(oe.a,{item:!0,xs:7,style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"100%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Varia\xe7\xe3o da avalia\xe7\xe3o num determinado per\xedodo"))),l.a.createElement(Kt.f,{width:600,height:300,data:r.archive},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"data"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.e,{type:"monotone",dataKey:"global",fill:"#7BBA6B"}))))))})))}var un=Object(b.a)((function(e){return{card:{},root:{flexGrow:1,flexDirection:"row",justify:"center",alignItems:"center",marginTop:"2%"},paper:{height:140,width:100},control:{padding:e.spacing(2)}}}));function gn(e){var a=un(),t=l.a.useState({inicio:"",fim:"",archive:[]}),i=Object(d.a)(t,2),r=i[0],o=i[1];Object(n.useLayoutEffect)((function(){for(;e.type<0;)console.log("wait");var a="https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/"+e.type;console.log(a),f.a.get(a).then((function(e){var a=[];e.data.map((function(e){if(e.data){var t=e.data.split("T");e.data=t[0],a.push(e)}})),console.log("r",a),o((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a})}))})).catch((function(e){console.log("erro"+e)}))}),[e.type]);var p=l.a.useState(new Date),u=Object(d.a)(p,2),g=u[0],b=u[1],E=l.a.useState(new Date),x=Object(d.a)(E,2),v=x[0],y=x[1],h=function(){var a=Object(s.a)(c.a.mark((function a(){var t,n,l;return c.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return console.log(e.type),t=r.inicio.replaceAll("/","-"),n=r.fim.replaceAll("/","-"),l=[],a.next=6,f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/filter/"+e.type+"/"+t+"/"+n).then((function(a){console.log(a.data),o((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:[]})})),a.data.map((function(e){if(e.data){var a=e.data.split("T");e.data=a[0],l.push(e)}})),o((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:l})})),e.archive_global=a.data})).catch((function(e){console.log("erro"+e)}));case 6:case"end":return a.stop()}}),a)})));return function(){return a.apply(this,arguments)}}();return l.a.createElement("div",null,l.a.createElement("div",{className:a.root},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:e.name,cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%"}},l.a.createElement(sa.a,{style:{width:"450px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(ht.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 1.Avalia\xe7\xe3o ")))),l.a.createElement(oe.a,{item:!0,xs:12,style:{display:"flex",justifyContent:"center"}},l.a.createElement(Kt.b,{width:400,height:300,data:e.ecovias,margin:{top:5,right:40,left:60,bottom:5}},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"name"}),l.a.createElement(Kt.k,{type:"number",ticks:[.5,1,1.5,2,2.5,3,3.5,4,4.5,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.a,{dataKey:"avalia\xe7\xe3o",fill:"#7BBA6B"}))),l.a.createElement("div",{style:{textAlign:"left",marginLeft:"1%",marginTop:"2%"}},l.a.createElement(sa.a,{style:{width:"450px",height:"50px",marginBottom:"2%",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement(dn.a,{style:{backgroundColor:"#7BBA6B",color:"white",float:"left",fontSize:"50px"}}),l.a.createElement("b",null,l.a.createElement("h2",{style:{color:"white",display:"inline-block",marginTop:"10px",marginLeft:"10px"}}," 2.Varia\xe7\xe3o da avalia\xe7\xe3o ")))),l.a.createElement(oe.a,{container:!0,spacing:0},l.a.createElement(oe.a,{item:!0,xs:5,style:{justifyContent:"center"}},l.a.createElement("div",{style:{marginTop:"10%"}},l.a.createElement(dt.a,{utils:st.default},l.a.createElement(mt.b,{margin:"normal",id:"date-picker-dialog",label:"Data de in\xedcio",format:"dd/MM/yyyy",value:g,name:"Data",onChange:function(e){b(e);var a=e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate();o((function(e){return Object(m.a)(Object(m.a)({},e),{},{inicio:a.toString()})}))},KeyboardButtonProps:{"aria-label":"change date"}}))),l.a.createElement("div",{style:{marginTop:"5%"}},l.a.createElement(dt.a,{utils:st.default},l.a.createElement(mt.b,{margin:"normal",id:"date-picker-dialog",label:"Data de fim",format:"dd/MM/yyyy",value:v,name:"Data",onChange:function(e){y(e);var a=e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate();o((function(e){return Object(m.a)(Object(m.a)({},e),{},{fim:a.toString()})}))},KeyboardButtonProps:{"aria-label":"change date"}}))),l.a.createElement("div",null,l.a.createElement(ke.a,{variant:"extended",size:"small",onClick:h,style:{color:"white",backgroundColor:"#F7AD00",marginTop:"5%"}},"Filtrar"))),l.a.createElement(oe.a,{item:!0,xs:7,style:{display:"flex",justifyContent:"center"}},l.a.createElement(sa.a,{style:{width:"100%",marginLeft:"2%",marginRight:"2%",marginBottom:"2%"}},l.a.createElement("div",{style:{textAlign:"center",background:"linear-gradient(60deg, #7BBA6B, #7BBA6B)",boxShadow:"0 12px 20px -10px rgba(0, 188, 212, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(0, 188, 212, 0.2)"}},l.a.createElement("b",null,l.a.createElement("h3",{style:{color:"white"}}," Varia\xe7\xe3o da avalia\xe7\xe3o num determinado per\xedodo"))),l.a.createElement(Kt.f,{width:600,height:300,data:r.archive},l.a.createElement(Kt.c,{strokeDasharray:"3 3"}),l.a.createElement(Kt.j,{dataKey:"data"}),l.a.createElement(Kt.k,{type:"number",ticks:[1,2,3,4,5],domain:[0,5]}),l.a.createElement(Kt.i,null),l.a.createElement(Kt.d,null),l.a.createElement(Kt.e,{type:"monotone",dataKey:"global",fill:"#7BBA6B"}))))))})))}var fn=Object(b.a)((function(e){return{card:{},root:{flexGrow:1,flexDirection:"row",justify:"center",alignItems:"center",marginTop:"2%"},paper:{height:140,width:100},control:{padding:e.spacing(2)}}}));function bn(e){var a=fn(),t=l.a.useState(2),i=(Object(qe.a)(t),l.a.useState({type:"",data:[],ecovias:[],global:"",NUT1:"",NUT2:"",NUT3:"",NUT4:"",NUT5:"",NUT6:"",archive:[],years:{},archive_global:[],archive_NUT1:[],archive_NUT2:[],archive_NUT3:[],archive_NUT4:[],archive_NUT5:[],archive_NUT6:[],name:""})),r=Object(d.a)(i,2),o=r[0],c=r[1];return Object(n.useEffect)((function(){switch(e.id){case"Ecovias":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/1").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global},{name:"ALTO MINHO","avalia\xe7\xe3o":a.data[0].NUT1},{name:"C\xc1VADO","avalia\xe7\xe3o":a.data[0].NUT2},{name:"AVE","avalia\xe7\xe3o":a.data[0].NUT3},{name:"AM. PORTO","avalia\xe7\xe3o":a.data[0].NUT4},{name:"ALTO T\xc2MEGA E SOUSA","avalia\xe7\xe3o":a.data[0].NUT5},{name:"DOURO","avalia\xe7\xe3o":a.data[0].NUT6}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:1,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global,NUT1:a.data[0].NUT1,NUT2:a.data[0].NUT2,NUT3:a.data[0].NUT3,NUT4:a.data[0].NUT4,NUT5:a.data[0].NUT5,NUT6:a.data[0].NUT6})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/1").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"Trilhos":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/2").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global},{name:"ALTO MINHO","avalia\xe7\xe3o":a.data[0].NUT1},{name:"C\xc1VADO","avalia\xe7\xe3o":a.data[0].NUT2},{name:"AVE","avalia\xe7\xe3o":a.data[0].NUT3},{name:"AM. PORTO","avalia\xe7\xe3o":a.data[0].NUT4},{name:"ALTO T\xc2MEGA E SOUSA","avalia\xe7\xe3o":a.data[0].NUT5},{name:"DOURO","avalia\xe7\xe3o":a.data[0].NUT6}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:2,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global,NUT1:a.data[0].NUT1,NUT2:a.data[0].NUT2,NUT3:a.data[0].NUT3,NUT4:a.data[0].NUT4,NUT5:a.data[0].NUT5,NUT6:a.data[0].NUT6})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/2").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"Canoagem":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/3").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:3,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/3").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"BTT":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/4").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:4,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/4").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"Escalada":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/5").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:5,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/5").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"Rafting":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/6").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:6,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/6").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"Parapente":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/7").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:7,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/7").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"Pesca":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/8").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:8,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/8").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"Observa\xe7\xe3o da Vida Selvagem":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/9").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:9,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/9").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"Surf":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/10").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:10,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/10").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}));break;case"Canyoning":f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/info/11").then((function(a){var t=[{name:"GLOBAL","avalia\xe7\xe3o":a.data[0].global}];c((function(n){return Object(m.a)(Object(m.a)({},n),{},{type:11,name:e.id,data:a.data[0],ecovias:t,global:a.data[0].global})}))})).catch((function(e){console.log("erro"+e)})),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/geral/archive/info/11").then((function(e){var a=e.data;console.log(a),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive:a,load:1})}));var t={},n=[];a.map((function(e){e.data&&(console.log(e.data.split("Z")[0]),t[e.ano]=1,n.push({name:e.data.split("T")[0],"avalia\xe7\xe3o":e.global}))})),c((function(e){return Object(m.a)(Object(m.a)({},e),{},{archive_global:n})}))})).catch((function(e){console.log("erro"+e)}))}}),[]),l.a.createElement("div",null,l.a.createElement(be.a,{"aria-label":"breadcrumb"},l.a.createElement(R.a,{title:"Voltar \xe0 p\xe1gina das avalia\xe7\xf5es"},l.a.createElement(re.a,{color:"inherit",href:"/backoffice/avaliacao"},"Avalia\xe7\xe3o")),l.a.createElement(j.a,{color:"textPrimary"},"Avalia\xe7\xe3o da oferta / ",e.id," ")),l.a.createElement("div",{className:a.root},"Ecovias"==e.id||"Trilhos"==e.id?l.a.createElement(pn,o):l.a.createElement(gn,o)))}var En=t(1203),xn=t(1205),vn=t(1204),yn=t(1234),hn=t(1235),An=t(678),jn=t.n(An),Bn=t(702),Cn=t(676),Tn=t.n(Cn),On=Object(b.a)((function(e){return{backdrop:{zIndex:e.zIndex.drawer+1,color:"#fff"}}})),Sn=l.a.createContext({name:"Carregue um ficheiro"});function wn(){var e=de.b.useMessage(),a=Object(d.a)(e,2),t=a[0],n=a[1],i=function(){var e=Object(s.a)(c.a.mark((function e(a){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={Authorization:a},b(!g),console.log(a),e.next=5,f.a.post("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/sync",{},{headers:t}).then((function(e){console.log(e.data),E(),r(),r()})).catch((function(e){console.log("erro"+e)}));case 5:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),r=function(){t.open({type:"success",content:l.a.createElement(Sn.Consumer,null,(function(e){return Object(De.a)(e),"Sincroniza\xe7\xe3o efetuada com sucesso"})),duration:7})},o=Object(me.d)((function(e){return e.auth.token})),m=On(),p=l.a.useState(!1),u=Object(d.a)(p,2),g=u[0],b=u[1];function E(){b(!1)}return l.a.createElement("div",null,l.a.createElement(Sn.Provider,{value:{name:"Carregue um ficheiro v\xe1lido"}},l.a.createElement(sa.a,{style:{minWidth:"50%",minHeight:"50%"}},l.a.createElement(Za.a,{style:{justifyContent:"center"}},l.a.createElement("p",{style:{marginRight:"2%",marginTop:"8%",marginLeft:"2%"}},"Sincronizar com as layers carregadas no SIG"),l.a.createElement(Bn.a,{className:m.backdrop,open:g,onClick:E},l.a.createElement(Ce.a,{color:"inherit"}))),n,l.a.createElement(ke.a,{size:"small",style:{backgroundColor:"green",marginBottom:"8%",marginLeft:"10%"},onClick:function(){return i(o)}},l.a.createElement(Tn.a,{style:{color:"white"}})))))}var kn=t(677),zn=t.n(kn),Ln=Object(b.a)((function(e){return{backdrop:{zIndex:e.zIndex.drawer+1,color:"#fff"}}})),Nn=l.a.createContext({name:"Carregue um ficheiro"});function In(){var e=de.b.useMessage(),a=Object(d.a)(e,2),t=a[0],n=a[1],i=function(){var e=Object(s.a)(c.a.mark((function e(a){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={Authorization:a},b(!g),console.log(a),e.next=5,f.a.post("https://turnoutsigs.ipvc.pt/troublemyapi/public/geoserver/avaliacao/calculate",{},{headers:t}).then((function(e){console.log(e.data),E(),r(),r()})).catch((function(e){console.log("erro"+e)}));case 5:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),r=function(){t.open({type:"success",content:l.a.createElement(Nn.Consumer,null,(function(e){return Object(De.a)(e),"Recalculo efetuado com sucesso"})),duration:7})},o=Object(me.d)((function(e){return e.auth.token})),m=Ln(),p=l.a.useState(!1),u=Object(d.a)(p,2),g=u[0],b=u[1];function E(){b(!1)}return l.a.createElement("div",null,l.a.createElement(Nn.Provider,{value:{name:"Carregue um ficheiro v\xe1lido"}},l.a.createElement(sa.a,{style:{minWidth:"50%",minHeight:"50%"}},l.a.createElement(Za.a,{style:{justifyContent:"center"}},l.a.createElement("p",{style:{marginRight:"2%",marginTop:"8%",marginLeft:"2%"}},"Recalcular avalia\xe7\xe3o das atividades "),l.a.createElement(Bn.a,{className:m.backdrop,open:g,onClick:E},l.a.createElement(Ce.a,{color:"inherit"}))),n,l.a.createElement(ke.a,{size:"small",style:{backgroundColor:"green",marginBottom:"8%",marginLeft:"10%"},onClick:function(){return i(o)}},l.a.createElement(zn.a,{style:{color:"white"}})))))}t(1041);var Rn=Object(b.a)((function(e){return{root:{flexGrow:1,backgroundColor:e.palette.background.paper,marginTop:"20px"},modal:{display:"flex",alignItems:"center",justifyContent:"center"},paper:{backgroundColor:e.palette.background.paper,boxShadow:e.shadows[5],padding:e.spacing(2,4,3)}}}));function Pn(){Rn();var e=l.a.useState(!0),a=Object(d.a)(e,2),t=a[0],n=a[1];return l.a.createElement("div",null,l.a.createElement(be.a,{"aria-label":"breadcrumb"},l.a.createElement(R.a,{title:"Voltar \xe0 p\xe1gina inicial"},l.a.createElement(re.a,{color:"inherit",href:"/"},"Turnout")),l.a.createElement(j.a,{color:"textPrimary"},"Op\xe7\xf5es")),l.a.createElement(En.a,{open:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description"},l.a.createElement(hn.a,{id:"alert-dialog-title"},l.a.createElement("div",null,l.a.createElement(jn.a,{fontSize:"large",style:{color:"#92140C",margin:"-5px"}}),l.a.createElement("h2",{id:"transition-modal-title",style:{color:"#92140C",display:"inline-block",marginLeft:"10px"}},"Alerta"))),l.a.createElement(vn.a,null,l.a.createElement(yn.a,{id:"alert-dialog-description"},"Todas as a\xe7\xf5es efetuadas nesta p\xe1gina s\xe3o irrevers\xedveis! Certifique-se que as pretende efectuar.")),l.a.createElement(xn.a,null,l.a.createElement(te.a,{onClick:function(){n(!1)},color:"primary"},"Tomei conhecimento"))),l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Op\xe7\xf5es",cardSubtitle:"",content:l.a.createElement("div",null,l.a.createElement(oe.a,{container:!0,spacing:1},l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(wn,null)),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(In,null))))}))}t(583);var Dn=t(1241),qn=t(1251),Gn=t(1242),Un=t(1243),Fn=t(111),_n=t.n(Fn);t(1042);var Mn=function(e){var a=e.mapa,t=e.index;return console.log(a,"indice",t),Object(n.useEffect)((function(){if(a){var e=_n.a.control({position:"bottomright"}),t=_n.a.control.scale(),n=t._getRoundNum(a.containerPointToLatLng([0,a.getSize().y/2]).distanceTo(a.containerPointToLatLng([t.options.maxWidth,a.getSize().y/2]))),l=n<1e3?n+" m":n/1e3+" km";e.onAdd=function(){var e=_n.a.DomUtil.create("div","info legend");return e.innerHTML="1:"+l.replace(" km","0000"),e},e.addTo(a)}}),[a,t]),null},Wn=(t(584),t(535)),Qn=t(533),Vn=t(520),Hn=t(516),Kn=t(519),Zn=t(626),Jn=t(1239),Xn=t(1240),Yn=Object(b.a)((function(e){return{root:{marginTop:"1%",marginBottom:"1%"},heading:{fontSize:e.typography.pxToRem(15),fontWeight:e.typography.fontWeightRegular},text:{textAlign:"left"},paper:{position:"absolute",width:400,backgroundColor:e.palette.background.paper,border:"2px solid #000",boxShadow:e.shadows[5],padding:e.spacing(2,4,3)}}})),$n=l.a.createContext({name:"Carregue um ficheiro"});function el(){var e=Yn(),a=de.b.useMessage(),t=Object(d.a)(a,2),i=t[0],r=t[1],o=Object(n.useState)({files:"",file:[],auth:{},reported:[]}),m=(Object(qe.a)(o),Object(me.d)((function(e){return e.auth}))),p=Object(me.c)(),u=function(){var e=Object(s.a)(c.a.mark((function e(a){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a.preventDefault(),console.log("up"),"text/csv"==g.type&&""!=g&&null!=g){e.next=7;break}b(),b(),e.next=11;break;case 7:return(t=new FormData).append("file",g),e.next=11,f.a.post("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/ihh/"+m.username,t).then((function(e){200==e.status&&(E(),1,p(Qe()))})).catch((function(){b()})).then(E());case 11:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),g="",b=function(){i.open({type:"error",content:l.a.createElement($n.Consumer,null,(function(e){var a=e.name;return"".concat(a)})),duration:1,style:{color:"red"}})},E=function(){i.open({type:"success",content:l.a.createElement($n.Consumer,null,(function(e){return Object(De.a)(e),"Ficheiro carregado com sucesso, dados atualizados"})),duration:7})};return l.a.createElement("div",{className:e.root},l.a.createElement(Ge.a,null,l.a.createElement(Ue.a,{expandIcon:l.a.createElement(Me.a,null),"aria-controls":"panel1a-content",id:"panel1a-header"},l.a.createElement(j.a,{className:e.heading},"Importa\xe7\xe3o")),l.a.createElement(Fe.a,null,l.a.createElement(oe.a,{container:!0,spacing:3},l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement("p",{className:e.text},"Nesta sec\xe7\xe3o \xe9 poss\xedvel efetuar o carregamento de informa\xe7\xe3o via um ficheiro csv devidamente formatado.")),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(We.a,{type:"file",name:"file",onChange:function(e){console.log(e.target.files[0]),g=e.target.files[0]},required:!0}),l.a.createElement($n.Provider,{value:{name:"Carregue um ficheiro v\xe1lido"}},r,l.a.createElement(ke.a,{"aria-label":"Carregar",size:"small",onClick:u,style:{color:"white",backgroundColor:"#F7AD00",marginTop:"5%"}},l.a.createElement(He.a,{fontSize:"small"}))))))))}t(1043);function al(e){Object(n.useEffect)((function(){console.log(e.anos),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/ihh/conc/list/"+e.value+"/"+JSON.stringify(e.anos)).then((function(e){200==e.status&&(console.log(e.data[0]),r((function(a){return Object(m.a)(Object(m.a)({},a),{},{data:e.data,load:0})})))})).catch((function(e){console.log(e)}))}),[]);var a=l.a.useState({columns:[{title:"Concelho",field:"Divisao_Territorial"},{title:"Dormidas",field:"Dormidas"},{title:"Ano",field:"Ano"}],data:[],original:[],filtrados:[]}),t=Object(d.a)(a,2),i=t[0],r=t[1];return l.a.createElement("div",null,l.a.createElement(xe.a,{style:{marginTop:"2%"},title:"Dados relativos ao IHH ",columns:i.columns,data:i.data,localization:{body:{emptyDataSourceMessage:l.a.createElement(Ce.a,null),addTooltip:"Adicionar",deleteTooltip:"Apagar",editTooltip:"Editar",exportTooltip:"Exportar",editRow:{deleteText:"Tem a certeza que pretende eliminar a linha ? A\xe7\xe3o \xe9 irrevers\xedvel.",cancelTooltip:"Cancelar",saveTooltip:"Guardar"}},header:{actions:"A\xe7\xf5es"},toolbar:{searchTooltip:"Pesquisar",searchPlaceholder:"Pesquisar",exportTitle:"Exportar"},pagination:{labelRowsSelect:"linhas",labelDisplayedRows:"{count} de {from}-{to}",firstTooltip:"Primeira p\xe1gina",previousTooltip:"P\xe1gina anterior",nextTooltip:"Pr\xf3xima p\xe1gina",lastTooltip:"\xdaltima p\xe1gina"}},options:{exportButton:!0,exportPdf:function(e,a){alert("Alterar o c\xf3digo :) "+a.length+" rows")},headerStyle:{}},editable:{}}))}var tl=Object(b.a)((function(e){var a;return a={root:{marginTop:"1%",minHeight:"500px"},formControl:{margin:e.spacing(1),minWidth:"20%"},chips:{display:"flex",flexWrap:"wrap"},chip:{margin:2,color:"black"},grayTableHeader:{color:"grey"},table:{width:"100%",backgroundColor:"transparent",borderSpacing:"0",borderCollapse:"collapse"}},Object(p.a)(a,"table",{width:"80%",marginLeft:"10%",marginRight:"10%",marginTop:"1%"}),Object(p.a)(a,"tableRow",{position:"relative",borderBottom:"1px solid #dddddd"}),Object(p.a)(a,"tableActions",{border:"none",padding:"0px !important",minWidth:"75px",verticalAlign:"middle"}),Object(p.a)(a,"tableCell",{verticalAlign:"middle",border:"none",lineHeight:"1.42857143",fontSize:"14px",borderBottom:"1px solid #dddddd"}),Object(p.a)(a,"tableHeadCell",{backgroundColor:"#7BBA6B",color:"white"}),Object(p.a)(a,"tableViewed",{fontWeight:"bold"}),Object(p.a)(a,"tableActionButton",{width:"25px",height:"25px"}),Object(p.a)(a,"tableActionButtonIcon",{width:"17px",height:"17px"}),Object(p.a)(a,"left",{flex:"1 1 55%"}),Object(p.a)(a,"actions",{flex:"0 0 45%",textAlign:"right"}),Object(p.a)(a,"tooltip",{padding:"10px 15px",minWidth:"130px",color:"#555555",lineHeight:"1.7em",background:"#FFFFFF",border:"none",borderRadius:"3px",boxShadow:"0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2)",maxWidth:"200px",textAlign:"center",fontFamily:'"Helvetica Neue",Helvetica,Arial,sans-serif',fontSize:"12px",fontStyle:"normal",fontWeight:"400",textShadow:"none",textTransform:"none",letterSpacing:"normal",wordBreak:"normal",wordSpacing:"normal",wordWrap:"normal",whiteSpace:"normal",lineBreak:"auto"}),a}));function nl(){var e=Object(E.a)();Object(n.useEffect)((function(){t(),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/ihh/nuts/info").then((function(e){if(200==e.status){for(var a=[],t=0;t0){var l=parseFloat(n[0].IHH);switch(a.bindTooltip(e.properties.NUTS_ID+" : "+l,{direction:"center",className:"my-labels"}),!0){case l<=.05:a.setStyle({color:"white",fillColor:"#dc2f00"});break;case l>.05&&l<=.1:a.setStyle({color:"white",fillColor:"#e85d04"});break;case l>.1&&l<=.15:a.setStyle({color:"white",fillColor:"#ee7305"});break;case l>.15&&l<=.2:a.setStyle({color:"white",fillColor:"#f18006"});break;case l>.2&&l<=.25:a.setStyle({color:"white",fillColor:"#f9af07"});break;case l>.25&&l<=.3:a.setStyle({color:"white",fillColor:"#f48c06"});break;case l>.3&&l<=.35:a.setStyle({color:"white",fillColor:"#f7a207"});break;case l>.35&&l<=.4:a.setStyle({color:"white",fillColor:"#fab807"});break;case l>.4&&l<=.45:a.setStyle({color:"white",fillColor:"#fbd407"});break;case l>.45&&l<=.5:a.setStyle({color:"white",fillColor:"#fce707"});break;case l>.5&&l<=.55:a.setStyle({color:"white",fillColor:"#eded92"});break;case l>.55&&l<=.6:a.setStyle({color:"white",fillColor:"#e0ed92"});break;case l>.6&&l<=.65:a.setStyle({color:"white",fillColor:"#d3ed92"});break;case l>.65&&l<=.7:a.setStyle({color:"white",fillColor:"#ceed92"});break;case l>.7&&l<=.75:a.setStyle({color:"white",fillColor:"#c7ed92"});break;case l>.75&&l<=.8:a.setStyle({color:"white",fillColor:"#b8e792"});break;case l>.8&&l<=.85:a.setStyle({color:"white",fillColor:"#a7e092"});break;case l>.85&&l<=.9:a.setStyle({color:"white",fillColor:"#8dd692"});break;case l>.9&&l<=.95:a.setStyle({color:"white",fillColor:"#81c87c"});break;case l>.95:a.setStyle({color:"white",fillColor:"#76bb68"})}}}a.on({zoom:function(e){console.log(e)}})},t=function(){var e=Object(s.a)(c.a.mark((function e(){var a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.a.get("https://raw.githubusercontent.com/si-geoatributo/NUTSIII/main/Norte.json");case 2:a=e.sent,A((function(e){return Object(m.a)(Object(m.a)({},e),{},{geojson:a.data})}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i=tl(),r=l.a.useState([]),o=Object(d.a)(r,2),p=o[0],u=o[1],g=function(){var e=Object(s.a)(c.a.mark((function e(a,t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0!=a&&(t=a.target.value),e.next=3,f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/ihh/nuts/list/"+JSON.stringify(t)).then((function(e){u(t);var a=e.data;console.log(a),A((function(e){return Object(m.a)(Object(m.a)({},e),{},{original:a,load:!0})}))})).catch((function(e){console.log("erro"+e)}));case 3:case"end":return e.stop()}}),e)})));return function(a,t){return e.apply(this,arguments)}}(),b={PaperProps:{style:{maxHeight:224,width:250}}};function x(e,a,t){return{fontWeight:-1===a.indexOf(e)?t.typography.fontWeightRegular:t.typography.fontWeightMedium}}var v=l.a.useState({mapa:[],index:-1,data:[],original:[],filtrados:[],load:!1,editable:!0,open:!1,array_open:[],geojson:"",selected:[],info:[],lidos:[]}),y=Object(d.a)(v,2),h=y[0],A=y[1],B=l.a.useState(5),T=Object(d.a)(B,2),O=T[0],S=T[1],w=l.a.useState(0),k=Object(d.a)(w,2),z=k[0],L=k[1];Math.min(O,h.original.length-z*O);return l.a.createElement("div",null,l.a.createElement(be.a,{"aria-label":"breadcrumb"},l.a.createElement(R.a,{title:"Voltar \xe0 p\xe1gina das avalia\xe7\xf5es"},l.a.createElement(re.a,{color:"inherit",href:"/backoffice/avaliacao"},"Turnout")),l.a.createElement(j.a,{color:"textPrimary"},"Avalia\xe7\xe3o da Procura"),l.a.createElement(j.a,{color:"textPrimary"},"IHH")),l.a.createElement("div",{style:{justifyContent:"flex-start",display:"flex",marginTop:"2%"}},l.a.createElement(Ae.a,{className:i.formControl},l.a.createElement(ye.a,{id:"demo-mutiple-chip-label"},"Ano a filtrar"),l.a.createElement(je.a,{labelId:"demo-mutiple-chip-label",id:"demo-mutiple-chip",multiple:!0,value:p,onChange:g,input:l.a.createElement(ve.a,{id:"select-multiple-chip"}),renderValue:function(e){return l.a.createElement("div",{className:i.chips},e.map((function(a){return l.a.createElement(Be.a,{style:{color:"white",backgroundColor:"#7BBA6B"},onDelete:function(){e=e.filter((function(e){return e!==a})),g(void 0,e);h.index;A((function(e){return Object(m.a)(Object(m.a)({},e),{},{index:0})}))},key:a,label:a,className:i.chip,onMouseDown:function(e){e.stopPropagation()}})})))},MenuProps:b},["2021","2020","2019","2018","2017","2016","2015","2014","2013","2012","2011"].map((function(a){return l.a.createElement(he.a,{key:a,value:a,style:x(a,p,e)},a)}))))),l.a.createElement(ta.a,{className:i.root},l.a.createElement("h2",{style:{textAlign:"left",padding:"1%"}}," Dados relativos ao IHH "),l.a.createElement(oe.a,{container:!0,spacing:1},l.a.createElement(oe.a,{item:!0,xs:3}),l.a.createElement(oe.a,{item:!0,xs:3}),l.a.createElement(oe.a,{item:!0,xs:3}),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement(R.a,{title:"Obter template para importa\xe7\xe3o"},l.a.createElement(ke.a,{"aria-label":"adicionar",size:"small",onClick:function(){console.log("template"),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/ihh/template",{responseType:"blob"}).then((function(e){var a=new Blob([e.data],{type:"text/csv"});Object(Ke.saveAs)(a,"ihh_template.csv")})).catch((function(e){console.log("erro"+e)}))},style:{backgroundColor:"#F7AD00",color:"white"}},l.a.createElement(Ie.a,{fontSize:"small"}))))),l.a.createElement(n.Fragment,null,l.a.createElement(Wn.a,{className:i.table},l.a.createElement(Qn.a,null,l.a.createElement(Vn.a,null,l.a.createElement(Hn.a,{className:i.tableHeadCell}," Divis\xe3o Territorial (NUT III)"),l.a.createElement(Hn.a,{className:i.tableHeadCell},"IHH"),l.a.createElement(Hn.a,{className:i.tableHeadCell},"Ano"),l.a.createElement(Hn.a,{className:i.tableHeadCell},"A\xe7\xe3o"))),h.original.length>0&&void 0!=h.array_open?h.original.slice(z*O,z*O+O).map((function(e){return l.a.createElement(Kn.a,null,l.a.createElement(Vn.a,{key:e._id},l.a.createElement(Hn.a,{className:i.tableCell},e.Divisao_Territorial),l.a.createElement(Hn.a,{className:i.tableCell},e.IHH),l.a.createElement(Hn.a,{className:i.tableCell},e.Ano),l.a.createElement(Hn.a,{className:i.tableActions},l.a.createElement(R.a,{title:"Consultar concelho"},l.a.createElement(C.a,{className:i.tableActionButton,onClick:function(){var a=h.array_open.filter((function(a){return a.id===e._id}))[0],t=h.array_open.indexOf(a),n=h.array_open;a.open=!a.open,n[t]=a,console.log(n),A((function(e){return Object(m.a)(Object(m.a)({},e),{},{array_open:n})}))}},h.array_open[h.array_open.indexOf(h.array_open.filter((function(a){return a.id===e._id}))[0])].open?l.a.createElement(Jn.a,{className:i.tableActionButtonIcon+" "+i.checked}):l.a.createElement(Xn.a,{className:i.tableActionButtonIcon+" "+i.checked}))))),h.array_open[h.array_open.indexOf(h.array_open.filter((function(a){return a.id===e._id}))[0])].open?l.a.createElement(Vn.a,{style:{width:"100%"}},l.a.createElement(al,{value:e.Divisao_Territorial,anos:p})):l.a.createElement("div",null))})):l.a.createElement(Vn.a,null,l.a.createElement("div",null,l.a.createElement("p",null,"Sem dados para mostrar"))),l.a.createElement(Zn.a,{rowsPerPageOptions:[5,10,25],component:"div",count:h.original.length,rowsPerPage:O,page:z,onChangePage:function(e,a){L(a)},onChangeRowsPerPage:function(e){S(parseInt(e.target.value,10)),L(0)},labelRowsPerPage:"Linhas: ",labelDisplayedRows:function(e){return e.from+"-"+e.to+" de "+e.count}})))),l.a.createElement(oe.a,{container:!0,className:i.root,spacing:1},p.length>0&&h.original.length>0&&p.map((function(e,t,n){return l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Mapa de varia\xe7\xe3o do IHH ",cardSubtitle:"Ano de "+ +e+t,content:l.a.createElement("div",{style:{height:"620px",width:"100%"}},l.a.createElement(Dn.a,{whenCreated:function(e){var a=h.mapa;console.log("Antes",a),a.push(e);var t=h.index+1;console.log("Depois",a,t),A((function(e){return Object(m.a)(Object(m.a)({},e),{},{index:t,mapa:a})}))},style:{height:"600px",width:"100%"},center:[40.967562,-7.548351],zoom:8,scrollWheelZoom:!1,zoomControl:!1},l.a.createElement(qn.a,{attribution:'\xa9 OpenStreetMap contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),h.geojson.features&&l.a.createElement(Gn.a,{attribution:"Varia\xe7\xe3o do IHH",data:h.geojson,onEachFeature:a,style:{color:"#ECEFF1",backgroundColor:"#ECEFF1",opacity:1,fillColor:"white",fillOpacity:1}}),l.a.createElement(Un.a,{position:"bottomleft",imperial:!1}),0==t&&0==h.index||1==t&&1==h.index||1==t&&h.index-1==1||2==t&&h.index-1==2||3==t&&h.index-1==3||4==t&&h.index-1==4||5==t&&h.index-1==5||6==t&&h.index-1==6?l.a.createElement(Mn,{mapa:h.mapa[h.index],index:h.index}):l.a.createElement("div",null)),l.a.createElement("div",{style:{maxHeight:"20px",marginBottom:"10px",background:"linear-gradient(90deg, rgba(220,47,0,1) 0%, rgba(232,93,4,1) 5%, rgba(238,115,5,1) 10%, rgba(241,128,6,1) 15%, rgba(244,140,6,1) 20%, rgba(247,162,7,1) 25%, rgba(249,175,7,1) 28%, rgba(250,184,7,1) 30%, rgba(251,212,7,1) 35%, rgba(252,231,7,1) 40%, rgba(246,233,63,1) 45%, rgba(237,237,146,1) 50%, rgba(224,237,146,1) 55%, rgba(211,237,146,1) 60%, rgba(206,237,146,1) 65%, rgba(199,237,146,1) 70%, rgba(184,231,146,1) 75%, rgba(167,224,146,1) 80%, rgba(141,214,146,1) 85%, rgba(136,209,138,1) 90%, rgba(129,200,124,1) 95%, rgba(118,187,104,1) 100%)"}},l.a.createElement(oe.a,{container:!0,className:i.root,spacing:1},l.a.createElement(oe.a,{item:!0,xs:1},l.a.createElement("p",null,"min:0")),l.a.createElement(oe.a,{item:!0,xs:10}),l.a.createElement(oe.a,{item:!0,xs:1},l.a.createElement("p",null,"max:1 ")))))}))})),l.a.createElement(el,null)))}t(425);var ll=Object(b.a)((function(e){return{item:{borderBottom:"0.1px solid white",textAlign:"left",marginLeft:"8px",marginTop:"2px",height:"40px"},tit:{borderBottom:"0.1px solid white",textAlign:"left",marginLeft:"8px",marginTop:"2px",height:"32px"},sub:{textAlign:"center",borderBottom:"0.1px solid white",marginLeft:"2px",marginTop:"2px",height:"60px"}}}));function il(){var e=ll();return l.a.createElement("div",{className:"paras"},l.a.createElement("p",{className:e.item},"Designa\xe7\xe3o"),l.a.createElement("p",{className:e.item},"Periodicidade"),l.a.createElement("p",{className:e.item},"Fonte"),l.a.createElement("h2",{className:e.tit},"Dimens\xf5es"),l.a.createElement("p",{className:e.sub},"Dimens\xe3o 1"),l.a.createElement("p",{className:e.sub},"Dimens\xe3o 2"),l.a.createElement("p",{className:e.sub},"Dimens\xe3o 3"),l.a.createElement("h2",{className:e.tit},"Conceitos"),l.a.createElement("p",{className:e.sub}," DORMIDA"),l.a.createElement("p",{className:e.sub},"ESTABELECIMENTO HOTELEIRO"),l.a.createElement("p",{className:e.sub},"PER\xcdODO DE REFER\xcaNCIA"),l.a.createElement("p",{className:e.item},"Defini\xe7\xe3o"),l.a.createElement("p",{className:e.item},"F\xf3rmula"),l.a.createElement("p",{className:e.item},"Unidade de Medida (s\xedmbolo)"),l.a.createElement("p",{className:e.item},"Pot\xeancia de 10"),l.a.createElement("p",{className:e.item},"Data da \xfaltima atualiza\xe7\xe3o"))}var rl=t(679),ol=(t(1044),t(680));function cl(){var e=Object(rl.a)(["\text{IHH = }sum_{i=1}^n QM_i^2\text{ , onde QM = Quota de Mercado, com i = 1,2,...,n}"],["\\text{IHH = }\\sum_{i=1}^n QM_i^2\\text{ , onde QM = Quota de Mercado, com i = 1,2,...,n}"]);return cl=function(){return e},e}var sl=Object(b.a)((function(e){return{item:{borderBottom:"0.1px solid white",textAlign:"left",marginLeft:"8px",marginTop:"2px",height:"40px"},formula:{textAlign:"left",marginLeft:"8px",marginTop:"-20px",marginBottom:"36px",height:"40px"},tit:{borderBottom:"0.1px solid white",textAlign:"left",marginLeft:"8px",marginTop:"2px",height:"32px"},sub:{textAlign:"center",borderBottom:"0.1px solid white",marginLeft:"2px",marginTop:"2px",height:"60px"}}}));function dl(){var e=sl();return l.a.createElement("div",{className:"paras"},l.a.createElement("p",{className:e.item},"Dormidas (N.\xba) nos estabelecimentos hoteleiros por Localiza\xe7\xe3o geogr\xe1fica (NUT - 2013) e Tipo (estabelecimento hoteleiro); Anual"),l.a.createElement("p",{className:e.item},"Anual"),l.a.createElement("p",{className:e.item},"INE, Inqu\xe9rito \xe0 perman\xeancia de h\xf3spedes na hotelaria e outros alojamentos"),l.a.createElement("h2",{className:e.tit}),l.a.createElement("p",{className:e.sub},"Per\xedodo de refer\xeancia dos dados"),l.a.createElement("p",{className:e.sub},"Localiza\xe7\xe3o geogr\xe1fica (NUT - 2013)"),l.a.createElement("p",{className:e.sub},"Tipo (estabelecimento hoteleiro)"),l.a.createElement("h2",{className:e.tit}),l.a.createElement("p",{className:e.sub},"Perman\xeancia de um indiv\xedduo num estabelecimento que fornece alojamento, por um per\xedodo compreendido entre as 12 horas de um dia e as 12 horas do dia seguinte."),l.a.createElement("p",{className:e.sub},"Estabelecimento cuja atividade principal consiste na presta\xe7\xe3o de servi\xe7os de alojamento e de outros servi\xe7os acess\xf3rios ou de apoio, com ou sem fornecimento de refei\xe7\xf5es, mediante pagamento."),l.a.createElement("p",{className:e.sub},"Per\xedodo de tempo a que a informa\xe7\xe3o se refere e que pode ser um dia espec\xedfico ou um intervalo de tempo (m\xeas, ano fiscal, ano civil, entre outros)."),l.a.createElement("p",{className:e.item},"-"),l.a.createElement("div",{className:e.formula},l.a.createElement(ol.a,{tex:String.raw(cl())})),l.a.createElement("p",{className:e.item},"N\xfamero (N.\xba)"),l.a.createElement("p",{className:e.item},"0"),l.a.createElement("p",{className:e.item},"23-Oct-2020"))}var ml=Object(b.a)((function(e){return{root:{flexGrow:1},form:{"& .MuiTextField-root":{margin:e.spacing(1),width:"90%"},alignContent:"left",display:"flex",flexWrap:"wrap",marginLeft:"5%",marginBottom:"5%"},card:{marginTop:"2%"}}}));function pl(){var e=ml();return l.a.createElement("div",null,l.a.createElement(be.a,{"aria-label":"breadcrumb"},l.a.createElement(R.a,{title:"Voltar \xe0 p\xe1gina das avalia\xe7\xf5es"},l.a.createElement(re.a,{color:"inherit",href:"/backoffice/avaliacao"},"Turnout")),l.a.createElement(j.a,{color:"textPrimary"},"Avalia\xe7\xe3o da Procura"),l.a.createElement(j.a,{color:"textPrimary"},"Metainforma\xe7\xe3o")),l.a.createElement("div",{className:e.root},l.a.createElement(sa.a,{className:e.card},l.a.createElement("h2",{style:{textAlign:"left",padding:"1%"}}," Metainforma\xe7\xe3o acerca dos dados da procura "),l.a.createElement(oe.a,{container:!0,spacing:1},l.a.createElement(oe.a,{item:!0,xs:1}),l.a.createElement(oe.a,{item:!0,xs:5,style:{backgroundColor:"#CEEBF3",marginBottom:"2%"}},l.a.createElement(il,null)),l.a.createElement(oe.a,{item:!0,xs:5,style:{backgroundColor:"#EFF8FB",marginBottom:"2%"}},l.a.createElement(dl,null)),l.a.createElement(oe.a,{item:!0,xs:1})))))}t(1188);var ul=Object(b.a)((function(e){return{root:{marginTop:"80px",marginBottom:"1%"},heading:{fontSize:e.typography.pxToRem(15),fontWeight:e.typography.fontWeightRegular},text:{textAlign:"left"},paper:{position:"absolute",width:400,backgroundColor:e.palette.background.paper,border:"2px solid #000",boxShadow:e.shadows[5],padding:e.spacing(2,4,3)}}})),gl=l.a.createContext({name:"Carregue um ficheiro"});function fl(){var e=ul(),a=de.b.useMessage(),t=Object(d.a)(a,2),i=t[0],r=t[1],o=Object(n.useState)({files:"",file:[],auth:{},reported:[]}),m=(Object(qe.a)(o),Object(me.d)((function(e){return e.auth}))),p=Object(me.c)(),u=function(){var e=Object(s.a)(c.a.mark((function e(a){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a.preventDefault(),console.log("up"),"text/csv"==g.type&&""!=g&&null!=g){e.next=7;break}b(),b(),e.next=11;break;case 7:return(t=new FormData).append("file",g),e.next=11,f.a.post("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/mapa/"+m.username,t).then((function(e){200==e.status&&(E(),1,p(Qe()))})).catch((function(){b()})).then(E());case 11:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),g="",b=function(){i.open({type:"error",content:l.a.createElement(gl.Consumer,null,(function(e){var a=e.name;return"".concat(a)})),duration:1,style:{color:"red"}})},E=function(){i.open({type:"success",content:l.a.createElement(gl.Consumer,null,(function(e){return Object(De.a)(e),"Ficheiro carregado com sucesso, dados atualizados"})),duration:7})};return l.a.createElement("div",{className:e.root},l.a.createElement(Ge.a,null,l.a.createElement(Ue.a,{expandIcon:l.a.createElement(Me.a,null),"aria-controls":"panel1a-content",id:"panel1a-header"},l.a.createElement(j.a,{className:e.heading},"Importa\xe7\xe3o")),l.a.createElement(Fe.a,null,l.a.createElement(oe.a,{container:!0,spacing:3},l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement("p",{className:e.text},"Nesta sec\xe7\xe3o \xe9 poss\xedvel efetuar o carregamento de informa\xe7\xe3o via um ficheiro csv devidamente formatado.")),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(We.a,{type:"file",name:"file",onChange:function(e){console.log(e.target.files[0]),g=e.target.files[0]},required:!0}),l.a.createElement(gl.Provider,{value:{name:"Carregue um ficheiro v\xe1lido"}},r,l.a.createElement(ke.a,{"aria-label":"Carregar",size:"small",onClick:u,style:{color:"white",backgroundColor:"#F7AD00",marginTop:"5%"}},l.a.createElement(He.a,{fontSize:"small"}))))))))}var bl=Object(b.a)((function(e){var a;return a={root:{marginTop:"1%",minHeight:"500px"},formControl:{margin:e.spacing(1),minWidth:"20%"},chips:{display:"flex",flexWrap:"wrap"},chip:{margin:2,color:"black"},table:{width:"100%",backgroundColor:"transparent",borderSpacing:"0",borderCollapse:"collapse"}},Object(p.a)(a,"table",{width:"100%",marginTop:"1%"}),Object(p.a)(a,"tableRow",{position:"relative",borderBottom:"1px solid #dddddd"}),Object(p.a)(a,"tableActions",{border:"none",padding:"0px !important",minWidth:"75px",verticalAlign:"middle"}),Object(p.a)(a,"tableCell",{verticalAlign:"middle",border:"none",lineHeight:"1.42857143",fontSize:"14px",borderBottom:"1px solid #dddddd"}),Object(p.a)(a,"tableHeadCell",{backgroundColor:"#CACECE",color:"white"}),Object(p.a)(a,"tableViewed",{fontWeight:"bold"}),Object(p.a)(a,"tableActionButton",{width:"25px",height:"25px"}),Object(p.a)(a,"tableActionButtonIcon",{width:"17px",height:"17px"}),a}));function El(){var e=bl(),a=function(e){console.log(o.selected),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/mapa/info/"+JSON.stringify(o.selected)).then((function(e){p((function(a){return Object(m.a)(Object(m.a)({},a),{},{info:e.data})}))})).catch((function(e){console.log("erro"+e),p((function(e){return Object(m.a)(Object(m.a)({},e),{},{info:[]})}))}))};Object(n.useEffect)((function(){t()}),[]);var t=function(){var e=Object(s.a)(c.a.mark((function e(){var a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.a.get("https://raw.githubusercontent.com/si-geoatributo/NUTSIII/main/Norte.json");case 2:a=e.sent,p((function(e){return Object(m.a)(Object(m.a)({},e),{},{geojson:a.data})}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i=l.a.useState({geojson:"",selected:[],info:[]}),r=Object(d.a)(i,2),o=r[0],p=r[1],u=l.a.useState(3),g=Object(d.a)(u,2),b=g[0],E=g[1],x=l.a.useState(0),v=Object(d.a)(x,2),y=v[0],h=v[1];Math.min(b,o.info.length-y*b);return l.a.createElement("div",null,l.a.createElement(be.a,{"aria-label":"breadcrumb"},l.a.createElement(R.a,{title:"Voltar \xe0 p\xe1gina das avalia\xe7\xf5es"},l.a.createElement(re.a,{color:"inherit",href:"/backoffice/avaliacao"},"Turnout")),l.a.createElement(j.a,{color:"textPrimary"},"Avalia\xe7\xe3o da Procura"),l.a.createElement(j.a,{color:"textPrimary"},"Informa\xe7\xe3o adicional")),l.a.createElement(oe.a,{container:!0,spacing:1},l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement("div",{style:{height:"600px",width:"100%"}},l.a.createElement(Dn.a,{style:{height:"600px",width:"100%"},center:[40.967562,-7.348351],zoom:8,scrollWheelZoom:!1},l.a.createElement(qn.a,{attribution:'\xa9 OpenStreetMap contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),o.geojson.features&&l.a.createElement(Gn.a,{attribution:"Mapa NUT III",data:o.geojson,onEachFeature:function(e,t){e.properties.NUTS_ID&&e.properties.NUTS_ID&&t.bindTooltip(e.properties.NUTS_ID,{direction:"center",className:"my-labels"}),t.on({click:function(e){if(o.selected.includes(e.target.feature.properties.NUTS_ID)){var t=o.selected.indexOf(e.target.feature.properties.NUTS_ID),n=o.selected.splice(t);p((function(e){return Object(m.a)(Object(m.a)({},e),{},{selected:n})})),a(),e.sourceTarget.setStyle({color:"#ECEFF1",fillColor:"white"})}else{n=o.selected.push(e.target.feature.properties.NUTS_ID);p((function(e){return Object(m.a)(Object(m.a)({},e),{},{selected:n})})),a(),e.sourceTarget.setStyle({color:"white",fillColor:"#7BBA6B"})}}})},style:{color:"#ECEFF1",backgroundColor:"#ECEFF1",opacity:1,fillColor:"white",fillOpacity:1}})))),l.a.createElement(oe.a,{item:!0,xs:6},l.a.createElement(oe.a,{container:!0,spacing:1},l.a.createElement(oe.a,{item:!0,xs:3}),l.a.createElement(oe.a,{item:!0,xs:3}),l.a.createElement(oe.a,{item:!0,xs:3}),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement(R.a,{title:"Obter template para importa\xe7\xe3o"},l.a.createElement(ke.a,{"aria-label":"adicionar",size:"small",onClick:function(){console.log("template"),f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/private/file/entidades/template",{responseType:"blob"}).then((function(e){var a=new Blob([e.data],{type:"text/csv"});Object(Ke.saveAs)(a,"relatorio_entidades_template.csv")})).catch((function(e){console.log("erro"+e)}))},style:{backgroundColor:"#F7AD00",color:"white",marginBottom:"5px"}},l.a.createElement(Ie.a,{fontSize:"small"}))))),l.a.createElement(Ht,{inlineCard:!1,headerColor:"blue",cardTitle:"Dados",cardSubtitle:"Informa\xe7\xe3o acerca das \xe1reas selecionadas",content:l.a.createElement("div",null,l.a.createElement(Wn.a,{className:e.table},l.a.createElement(Qn.a,null,l.a.createElement(Vn.a,null,l.a.createElement(Hn.a,{className:e.tableHeadCell}," NUTS III"),l.a.createElement(Hn.a,{className:e.tableHeadCell},"Popula\xe7\xe3o (Censos 2011)"),l.a.createElement(Hn.a,{className:e.tableHeadCell}," N\xba Munic\xedpios"),l.a.createElement(Hn.a,{className:e.tableHeadCell},"Altera\xe7\xf5es de limites face a 2003"),l.a.createElement(Hn.a,{className:e.tableHeadCell},"Altera\xe7\xf5es de nome face a 2003"))),l.a.createElement(Kn.a,null,o.info.length>0?o.info.slice(y*b,y*b+b).map((function(a){return l.a.createElement(Vn.a,{key:a._id},l.a.createElement(Hn.a,{className:e.tableCell},a.Divisao_Territorial),l.a.createElement(Hn.a,{className:e.tableCell},a.Populacao),l.a.createElement(Hn.a,{className:e.tableCell},a.N_municipios),l.a.createElement(Hn.a,{className:e.tableCell},a.Alteracao_limites),l.a.createElement(Hn.a,{className:e.tableCell},a.Alteracao_nome))})):l.a.createElement(Vn.a,null,l.a.createElement(Hn.a,null,"Efetue a sele\xe7\xe3o de uma regi\xe3o no mapa")))),l.a.createElement(Zn.a,{rowsPerPageOptions:[3],component:"div",count:o.info.length,rowsPerPage:b,page:y,onChangePage:function(e,a){h(a)},onChangeRowsPerPage:function(e){E(parseInt(e.target.value,10)),h(0)}}))}))),l.a.createElement("div",null,l.a.createElement(fl,null)))}var xl=t(685),vl=t.n(xl),yl=t(686),hl=t.n(yl),Al=t(687),jl=t.n(Al),Bl=t(688),Cl=t.n(Bl),Tl=t(689),Ol=t.n(Tl),Sl=t(690),wl=t.n(Sl);t(1189);function kl(){return l.a.createElement("div",{style:{marginTop:"100px"}},l.a.createElement("div",{className:"myfooter"},l.a.createElement(B.a,{className:"divider"}),l.a.createElement("div",{className:"links"},l.a.createElement(zl,null)),l.a.createElement("div",{className:"links1"},l.a.createElement(j.a,{variant:"body3",color:"textSecondary"},"Parceiros :"),l.a.createElement(oe.a,{container:!0,spacing:3},l.a.createElement(oe.a,{item:!0,xs:1}),l.a.createElement(oe.a,{item:!0,xs:2},l.a.createElement("img",{src:hl.a,alt:"Logo",style:{width:"30%",height:"100 %"}})),l.a.createElement(oe.a,{item:!0,xs:2},l.a.createElement("img",{src:jl.a,alt:"Logo",style:{width:"50%",height:"100 %"}})),l.a.createElement(oe.a,{item:!0,xs:2},l.a.createElement("img",{src:Cl.a,alt:"Logo",style:{width:"50%",height:"100 %"}})),l.a.createElement(oe.a,{item:!0,xs:2},l.a.createElement("img",{src:Ol.a,alt:"Logo",style:{width:"50%",height:"100 %"}})),l.a.createElement(oe.a,{item:!0,xs:2},l.a.createElement("img",{src:wl.a,alt:"Logo",style:{width:"50%",height:"100 %",textAlign:"center"}})),l.a.createElement(oe.a,{item:!0,xs:1}))),l.a.createElement("div",{className:"text_fct"},l.a.createElement(j.a,{variant:"body3",color:"textSecondary"},"Cofinanciado por :")),l.a.createElement("div",null,l.a.createElement("div",{className:"img_fct"},l.a.createElement(oe.a,{container:!0,spacing:3},l.a.createElement(oe.a,{item:!0,xs:12},l.a.createElement("img",{src:vl.a,alt:"Logo",style:{width:"50%",height:"100 %"}}))))),l.a.createElement("div",{className:"copys"},l.a.createElement(Ll,null))))}function zl(){return l.a.createElement("div",null,l.a.createElement(oe.a,{container:!0,spacing:0},l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement(j.a,{variant:"body2",color:"textSecondary"},l.a.createElement(re.a,{color:"inherit",href:"https://turnoutsigs.ipvc.pt/"},"SOBRE"))),l.a.createElement(oe.a,{item:!0,xs:3},l.a.createElement(j.a,{variant:"body2",color:"textSecondary"},l.a.createElement(re.a,{color:"inherit",href:"https://turnoutsigs.ipvc.pt/"},"FICHA DO PROJETO")))))}function Ll(){return l.a.createElement(j.a,{variant:"body2",color:"textSecondary",align:"center"},"\xa9 ",l.a.createElement(re.a,{color:"inherit",href:"https://www.geoatributo.com/"},"Geoatributo")," ",(new Date).getFullYear(),".")}var Nl=t(691),Il=t.n(Nl),Rl=Object(b.a)((function(e){return{root:{display:"flex",flexGrow:1},avat:{root:{display:"flex","& > *":{margin:e.spacing(1)}}},appBar:{zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen})},appBarShift:{marginLeft:240,width:"calc(100% - ".concat(240,"px)"),transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})},menuButton:{marginRight:36},hide:{display:"none"},drawer:{width:240,flexShrink:0,whiteSpace:"nowrap"},drawerOpen:{width:240,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})},drawerClose:Object(p.a)({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:e.spacing(7)+1},e.breakpoints.up("sm"),{width:e.spacing(9)+1}),toolbar:Object(m.a)({display:"flex",alignItems:"center",justifyContent:"flex-end",padding:e.spacing(0,1)},e.mixins.toolbar),content:{flexGrow:1,padding:e.spacing(3),minHeight:"100%"},logo:{maxHeight:"6%",maxWidth:"6%"}}}));var Pl=function(){var e,a,t,i,r,o,g=Object(me.d)((function(e){return e.auth})),b=Object(n.useState)({photo:"https://turnoutsigs.ipvc.pt/uploaded/"}),T=Object(d.a)(b,2),S=T[0],k=T[1];Object(n.useEffect)((function(){f.a.get("https://turnoutsigs.ipvc.pt/troublemyapi/public/user/avatar/"+g.id).then((function(e){e.data[0]?k((function(a){return Object(m.a)(Object(m.a)({},a),{},{photo:S.photo+e.data[0].avatar})})):k((function(e){return Object(m.a)(Object(m.a)({},e),{},{photo:""})}))})).catch((function(e){console.log("erro"+e)}))}),[]);var D=Rl(),G=Object(E.a)(),F=l.a.useState(!1),M=Object(d.a)(F,2),Q=M[0],H=M[1],Z=Object(me.c)();function X(){return(X=Object(s.a)(c.a.mark((function e(a){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log(a),"super","duper",e.next=5,window.open("https://turnoutsigs.ipvc.pt/people/profile/"+g.username,"_blank");case 5:e.sent;case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function $(e){switch(e){case"Atividades":console.log("indica");break;case"Entidades":console.log("empresa");break;case"Avalia\xe7\xe3o":console.log("avalia");break;case"Dados do INE":console.log("ine");break;case"Sair":console.log("sair"),Z((function(e,a){e({type:"UNSET_AUTH",payload:""})}));break;default:console.log("erro")}}var te=function(){H(!1)};return l.a.createElement("div",{className:D.root},l.a.createElement(A.a,null),l.a.createElement(v.a,{position:"fixed",className:Object(u.a)(D.appBar,Object(p.a)({},D.appBarShift,Q)),style:{backgroundColor:"#7BBA6B"}},l.a.createElement(y.a,null,l.a.createElement(C.a,{color:"inherit","aria-label":"open drawer",onClick:function(){H(!0)},edge:"start",className:Object(u.a)(D.menuButton,Object(p.a)({},D.hide,Q))},l.a.createElement(O.a,null)),l.a.createElement(R.a,{title:"Voltar \xe0 p\xe1gina do SIG"},l.a.createElement("img",{src:Il.a,className:D.logo,alt:"Logo",onClick:function(){window.open("https://turnoutsigs.ipvc.pt/","_blank")}})),g.isAuthenticated?l.a.createElement("div",{style:{flexGrow:1,display:"flex",justifyContent:"flex-end"}},l.a.createElement(R.a,{title:"Consultar perfil"},l.a.createElement(C.a,{"aria-label":"account of current user","aria-controls":"primary-search-account-menu","aria-haspopup":"true",color:"inherit",onClick:function(){return function(e){return X.apply(this,arguments)}("ola")}},l.a.createElement("div",{className:D.avat},l.a.createElement(P.a,{alt:"Remy Sharp",src:S.photo})),l.a.createElement(j.a,{style:{marginLeft:"10%"}},g.username),g.super?l.a.createElement(ee.a,{fontSize:"small",style:{color:"white",marginLeft:"2px"}}):l.a.createElement("div",null)))):l.a.createElement("div",null))),g.isAuthenticated&&1==g.super?l.a.createElement(x.a,{variant:"permanent",className:Object(u.a)(D.drawer,(e={},Object(p.a)(e,D.drawerOpen,Q),Object(p.a)(e,D.drawerClose,!Q),e)),classes:{paper:Object(u.a)((a={},Object(p.a)(a,D.drawerOpen,Q),Object(p.a)(a,D.drawerClose,!Q),a))}},l.a.createElement("div",{className:D.toolbar},l.a.createElement(C.a,{onClick:te},"rtl"===G.direction?l.a.createElement(z.a,null):l.a.createElement(w.a,null))),l.a.createElement(B.a,null),l.a.createElement(h.a,null,["Atividades","Entidades","Avalia\xe7\xe3o","Dados Geogr\xe1ficos","Op\xe7\xf5es","Sair"].map((function(e,a){return l.a.createElement(ae.a,{style:{color:"black",textDecoration:"none"},to:"Atividades"===e?"/backoffice":"Entidades"===e?"/backoffice/entidades":"Dados do INE"===e?"/backoffice/ine":"Sair"===e?"/backoffice":"Dados Geogr\xe1ficos"===e?"/backoffice/dadosGeograficos":"Op\xe7\xf5es"===e?"/backoffice/opcoes":"/backoffice/avaliacao"},l.a.createElement(L.a,{button:!0,key:e,onClick:function(){return $(e)}},l.a.createElement(N.a,null,"Atividades"===e?l.a.createElement(q.a,{style:{color:"#7BBA6B"}}):"Entidades"===e?l.a.createElement(U.a,{style:{color:"#7BBA6B"}}):"Dados do INE"===e?l.a.createElement(W.a,{style:{color:"#7BBA6B"}}):"Sair"===e?l.a.createElement(K.a,{style:{color:"#92140C"}}):"Dados Geogr\xe1ficos"===e?l.a.createElement(J.a,{style:{color:"#7BBA6B"}}):"Op\xe7\xf5es"===e?l.a.createElement(Y.a,{style:{color:"#7BBA6B"}}):l.a.createElement(_.a,{style:{color:"#7BBA6B"}})),l.a.createElement(I.a,{primary:e})))})))):g.isAuthenticated&&0==g.super?l.a.createElement(x.a,{variant:"permanent",className:Object(u.a)(D.drawer,(t={},Object(p.a)(t,D.drawerOpen,Q),Object(p.a)(t,D.drawerClose,!Q),t)),classes:{paper:Object(u.a)((i={},Object(p.a)(i,D.drawerOpen,Q),Object(p.a)(i,D.drawerClose,!Q),i))}},l.a.createElement("div",{className:D.toolbar},l.a.createElement(C.a,{onClick:te},"rtl"===G.direction?l.a.createElement(z.a,null):l.a.createElement(w.a,null))),l.a.createElement(B.a,null),l.a.createElement(h.a,null,["Atividades","Entidades","Avalia\xe7\xe3o","Dados Geogr\xe1ficos","Sair"].map((function(e,a){return l.a.createElement(ae.a,{style:{color:"black",textDecoration:"none"},to:"Atividades"===e?"/backoffice":"Entidades"===e?"/backoffice/entidades":"Dados do INE"===e?"/backoffice/ine":"Sair"===e?"/backoffice":"Dados Geogr\xe1ficos"===e?"/backoffice/dadosGeograficos":"/backoffice/avaliacao"},l.a.createElement(L.a,{button:!0,key:e,onClick:function(){return $(e)}},l.a.createElement(N.a,null,"Atividades"===e?l.a.createElement(q.a,{style:{color:"#7BBA6B"}}):"Entidades"===e?l.a.createElement(U.a,{style:{color:"#7BBA6B"}}):"Dados do INE"===e?l.a.createElement(W.a,{style:{color:"#7BBA6B"}}):"Sair"===e?l.a.createElement(K.a,{style:{color:"#92140C"}}):"Dados Geogr\xe1ficos"===e?l.a.createElement(J.a,{style:{color:"#7BBA6B"}}):l.a.createElement(_.a,{style:{color:"#7BBA6B"}})),l.a.createElement(I.a,{primary:e})))})),l.a.createElement(B.a,null))):l.a.createElement(x.a,{variant:"permanent",className:Object(u.a)(D.drawer,(r={},Object(p.a)(r,D.drawerOpen,Q),Object(p.a)(r,D.drawerClose,!Q),r)),classes:{paper:Object(u.a)((o={},Object(p.a)(o,D.drawerOpen,Q),Object(p.a)(o,D.drawerClose,!Q),o))}},l.a.createElement("div",{className:D.toolbar},l.a.createElement(C.a,{onClick:te},"rtl"===G.direction?l.a.createElement(z.a,null):l.a.createElement(w.a,null))),l.a.createElement(B.a,null),l.a.createElement(h.a,null,["Login"].map((function(e,a){return l.a.createElement(ae.a,{style:{color:"black",textDecoration:"none"},to:"/backoffice"},l.a.createElement(L.a,{button:!0,key:e,onClick:function(){return $(e)}},l.a.createElement(N.a,null,l.a.createElement(V.a,{style:{color:"#7BBA6B"}})),l.a.createElement(I.a,{primary:e})))})))),l.a.createElement("main",{className:D.content},l.a.createElement("div",{className:D.toolbar}),g.isAuthenticated&&1==g.super?l.a.createElement(ae.b,null,l.a.createElement(we,{path:"/backoffice"}),l.a.createElement(ea,{path:"/backoffice/entidades"}),l.a.createElement(Ha,{path:"/backoffice/avaliacao"}),l.a.createElement(Ka,{path:"/backoffice/ine"}),l.a.createElement(it,{path:"/backoffice/dadosGeograficos"}),l.a.createElement(ct,{path:"/backoffice/detalhes/:nif"}),l.a.createElement(Et,{path:"/backoffice/editar/:nif"}),l.a.createElement(ut,{path:"/backoffice/adicionar"}),l.a.createElement(cn,{path:"/backoffice/atividade/:id/:type"}),l.a.createElement(bn,{path:"/backoffice/avaliacao/:id"}),l.a.createElement(Pn,{path:"/backoffice/opcoes"}),l.a.createElement(nl,{path:"/backoffice/ihh"}),l.a.createElement(pl,{path:"/backoffice/metainfo"}),l.a.createElement(El,{path:"/backoffice/map"})):g.isAuthenticated&&0==g.super?l.a.createElement(ae.b,null,l.a.createElement(we,{path:"/backoffice"}),l.a.createElement(ea,{path:"/backoffice/entidades"}),l.a.createElement(Ha,{path:"/backoffice/avaliacao"}),l.a.createElement(Ka,{path:"/backoffice/ine"}),l.a.createElement(it,{path:"/backoffice/dadosGeograficos"}),l.a.createElement(ct,{path:"/backoffice/detalhes/:nif"}),l.a.createElement(Et,{path:"/backoffice/editar/:nif"}),l.a.createElement(ut,{path:"/backoffice/adicionar"}),l.a.createElement(cn,{path:"/backoffice/atividade/:id/:type"}),l.a.createElement(bn,{path:"/backoffice/avaliacao/:id"}),l.a.createElement(nl,{path:"/backoffice/ihh"}),l.a.createElement(pl,{path:"/backoffice/metainfo"}),l.a.createElement(El,{path:"/backoffice/map"})):l.a.createElement(ae.b,null,l.a.createElement(fe,{path:"/backoffice"})),l.a.createElement(kl,null)))};var Dl=function(){return l.a.createElement("div",{className:"App"},l.a.createElement(Pl,null))};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));var ql=t(98),Gl=t(695),Ul={token:"",isAuthenticated:!1,username:"",super:"",id:""},Fl={entidades:[]},_l={reports:[]},Ml=Object(ql.c)({auth:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ul,a=arguments.length>1?arguments[1]:void 0;switch(console.log("reducer"+a.type),a.type){case"SET_AUTH":return Object(m.a)(Object(m.a)({},e),{},{isAuthenticated:!0,token:a.payload,username:a.username,super:a.super,id:a.id});case"UNSET_AUTH":return Object(m.a)(Object(m.a)({},e),{},{isAuthenticated:!1,token:"",username:"",super:"",id:""});default:return e}},entidades:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fl,a=arguments.length>1?arguments[1]:void 0;switch(console.log("reducer"+a.type),a.type){case"SET_ENTS":return Object(m.a)(Object(m.a)({},e),{},{entidades:a.payload});case"UNSET_ENTS":return Object(m.a)(Object(m.a)({},e),{},{entidades:[]});default:return e}},report:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_l,a=arguments.length>1?arguments[1]:void 0;switch(console.log("reducer"+a.type),a.type){case"SET_REPORT":return Object(m.a)(Object(m.a)({},e),{},{reports:a.payload});case"UNSET_REPORT":return Object(m.a)(Object(m.a)({},e),{},{reports:[]});default:return e}}}),Wl=[Gl.a];var Ql=function(){try{var e=localStorage.getItem("state");if(null==e)return;return JSON.parse(e)}catch(a){return void console.log("erro a carregar da localstore"+a)}}(),Vl=Object(ql.e)(Ml,Ql,Object(ql.d)(ql.a.apply(void 0,Wl)));Vl.subscribe((function(){return function(e){try{var a=JSON.stringify(e);localStorage.setItem("state",a)}catch(t){console.log("erro a guardar na localstore"+t)}}(Vl.getState())}));var Hl=Vl;r.a.render(l.a.createElement(me.a,{store:Hl},l.a.createElement(l.a.StrictMode,null,l.a.createElement(Dl,null))),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))},425:function(e,a,t){},583:function(e,a,t){},644:function(e,a,t){e.exports=t.p+"static/media/ecovias.7218eb81.jpg"},645:function(e,a,t){e.exports=t.p+"static/media/trilho.0eb4a61a.jpeg"},646:function(e,a,t){e.exports=t.p+"static/media/canoagem.aec99c2e.jpg"},647:function(e,a,t){e.exports=t.p+"static/media/downhill.2a2a8146.jpg"},648:function(e,a,t){e.exports=t.p+"static/media/escalada.f8d2e819.jpg"},649:function(e,a,t){e.exports=t.p+"static/media/observa.795b867c.png"},650:function(e,a,t){e.exports=t.p+"static/media/parapente.3d15fdde.jpg"},651:function(e,a,t){e.exports=t.p+"static/media/pesca.40384ae0.jpg"},652:function(e,a,t){e.exports=t.p+"static/media/rafting.60b16b96.jpg"},653:function(e,a,t){e.exports=t.p+"static/media/surf.e48caa86.jpg"},654:function(e,a,t){e.exports=t.p+"static/media/canyon.7e77ec0d.webp"},655:function(e,a,t){e.exports=t.p+"static/media/ihh.536ce846.webp"},656:function(e,a,t){e.exports=t.p+"static/media/info.ae972913.webp"},657:function(e,a,t){e.exports=t.p+"static/media/map.0716ed2c.webp"},660:function(e,a,t){e.exports=t.p+"static/media/mapa.24add068.jpg"},661:function(e,a,t){e.exports=t.p+"static/media/layerjpg.a0a65aaa.jpg"},662:function(e,a,t){e.exports=t.p+"static/media/docs.982cfebc.jpg"},663:function(e,a,t){e.exports=t.p+"static/media/remoto.cdbc7758.jpg"},685:function(e,a,t){e.exports=t.p+"static/media/fct.fbb248ff.png"},686:function(e,a){e.exports="data:image/png;base64,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"},687:function(e,a){e.exports="data:image/png;base64,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"},688:function(e,a){e.exports="data:image/png;base64,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"},689:function(e,a,t){e.exports=t.p+"static/media/ipvc.6c7503ac.png"},690:function(e,a){e.exports="data:image/png;base64,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"},691:function(e,a,t){e.exports=t.p+"static/media/logo.286dae5a.png"},730:function(e,a,t){e.exports=t(1190)},735:function(e,a,t){},736:function(e,a,t){},870:function(e,a,t){}},[[730,1,2]]]); //# sourceMappingURL=main.f3aca8f9.chunk.js.map