From 163ebf9eaa94d247a60c4d992ff20f50d51e45fa Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Mon, 10 Feb 2025 10:00:19 +0100 Subject: [PATCH] bundle build --- compendium_v2/static/AlienWave-BToV9QLE.js | 9 - compendium_v2/static/AlienWave-CoaJ4Ch0.js | 9 + .../static/AlienWaveInternal-CYmkCEA6.js | 9 - .../static/AlienWaveInternal-F5JHtmfW.js | 9 + compendium_v2/static/Audits-tIxneKrE.js | 5 + compendium_v2/static/Audits-z541eU6T.js | 5 - ...ion-CrHhcUVx.js => Automation-4jvTE-gK.js} | 4 +- compendium_v2/static/Budget-BaNd2jtG.js | 1 - compendium_v2/static/Budget-Dcza_nDS.js | 1 + .../static/BusinessContinuity-BhppOK3E.js | 5 - .../static/BusinessContinuity-WayIenw9.js | 5 + .../static/CapacityCoreIP-BzYm9HBi.js | 3 - .../static/CapacityCoreIP-DyN3YGAW.js | 3 + .../static/CapacityLargestLink-CchKWKUR.js | 3 - .../static/CapacityLargestLink-Dk26I_at.js | 3 + .../static/CentralProcurement-BK_KYdQw.js | 1 - .../static/CentralProcurement-ILLJKzCj.js | 1 + .../static/CertificateProvider-4SfZ4yzo.js | 1 + .../static/CertificateProvider-B2MBeNfh.js | 1 - .../static/ChargingStructure-LPcFjEsG.js | 3 + .../static/ChargingStructure-UaYN2mUD.js | 3 - compendium_v2/static/ColorPill-CXvWIfWz.js | 1 + compendium_v2/static/ColorPill-CqT_mR3a.js | 1 - .../ConnectedInstitutionsURLs-BSMQXsFI.js | 1 - .../ConnectedInstitutionsURLs-MamPTDnd.js | 1 + .../static/ConnectedUser-BEMGNK1Q.js | 1 - .../static/ConnectedUser-CSVPvLMN.js | 1 + .../static/CorporateStrategy-DZFOGJiQ.js | 3 + .../static/CorporateStrategy-Doz2JleE.js | 3 - .../static/CrisisExercises-DIq1DMCc.js | 2 - .../static/CrisisExercises-DgB-Jzeh.js | 2 + .../static/CrisisManagement-B-4V900E.js | 1 - .../static/CrisisManagement-C6sQvzSe.js | 1 + .../static/DarkFibreInstalled-BEuXjlBR.js | 1 + .../static/DarkFibreInstalled-BG9k0mWY.js | 1 - .../static/DarkFibreLease-D0G5a_C_.js | 1 + .../static/DarkFibreLease-DpIHorYZ.js | 1 - compendium_v2/static/ECProjects-C-HN1lwo.js | 1 - compendium_v2/static/ECProjects-ChLCZHki.js | 1 + compendium_v2/static/EOSCListings-DH_4uObR.js | 1 + compendium_v2/static/EOSCListings-DkHlXFjZ.js | 1 - .../static/ExternalConnections-CI7Oci1W.js | 1 + .../static/ExternalConnections-CYJLiQ46.js | 1 - compendium_v2/static/FibreLight-4Mgdokfs.js | 2 - compendium_v2/static/FibreLight-CWljRLcS.js | 2 + .../static/FundingSource-Bwu0iwfm.js | 1 + .../static/FundingSource-DRHIT4Ra.js | 1 - .../static/HTMLLegendPlugin-B1D8JXQI.js | 1 + .../static/HTMLLegendPlugin-BO0IHS_R.js | 1 - compendium_v2/static/IRUDuration-D50DEG35.js | 1 - compendium_v2/static/IRUDuration-DwT4l7iu.js | 1 + compendium_v2/static/Landing-f86DzYca.js | 1 + .../static/MonitoringTools-BuTC_DRa.js | 2 - .../static/MonitoringTools-D5EolQI7.js | 2 + .../NetworkFunctionVirtualisation-Ci3ZHBJN.js | 1 + .../NetworkFunctionVirtualisation-DMaSWRo0.js | 1 - .../static/NetworkMapUrls-CYYKJL7A.js | 1 + .../static/NetworkMapUrls-YVUXOiQm.js | 1 - compendium_v2/static/NonRAndEPeer-BvFWiPrM.js | 2 - compendium_v2/static/NonRAndEPeer-OZTW6B0e.js | 2 + .../static/NrenYearTable-BZB2R3F1.js | 1 + .../static/NrenYearTable-BuqomkXK.js | 1 - .../static/OPsAutomation-BzaiKZKL.js | 3 + .../static/OPsAutomation-mleIxb9-.js | 3 - .../static/ParentOrganisation-D0KpPI2s.js | 1 + .../static/ParentOrganisation-DJLeH6g7.js | 1 - .../static/PassiveMonitoring-BQaZqq7o.js | 1 - .../static/PassiveMonitoring-DrHRNpwv.js | 1 + compendium_v2/static/PertTeam-B3F3NYFc.js | 2 + compendium_v2/static/PertTeam-Dk6-ebg9.js | 2 - compendium_v2/static/PillTable-5pkcg2T9.js | 1 - compendium_v2/static/PillTable-Cnj0nnFy.js | 1 + compendium_v2/static/Policy-CyBHQ4RU.js | 1 + compendium_v2/static/Policy-rfVVQ2MG.js | 1 - .../static/RemoteCampuses-B7LZiN42.js | 1 - .../static/RemoteCampuses-NUiCskMY.js | 1 + .../static/ScrollableMatrix-Cdgj4J9X.js | 1 - .../static/ScrollableMatrix-Dxr22l4i.js | 1 + .../static/SecurityControls-Ct-pN0fH.js | 2 - .../static/SecurityControls-cN55VGDF.js | 2 + .../static/ServiceLevelTargets-CAul_Bb5.js | 2 + .../static/ServiceLevelTargets-DkcKRrX5.js | 2 - .../ServiceManagementFramework-0pFJ2GJW.js | 2 - .../ServiceManagementFramework-Dr5HjYSA.js | 2 + ...vices-TWQx7C9G.js => Services-UuW4JfkB.js} | 6 +- .../static/ServicesOffered-DAgKmLaL.js | 1 - .../static/ServicesOffered-Z3IepUcf.js | 1 + compendium_v2/static/SideBar-Bzc5cONd.js | 1 + compendium_v2/static/SiemVendors-AspEWRsK.js | 1 - compendium_v2/static/SiemVendors-BpJ6Liws.js | 1 + compendium_v2/static/StaffGraph-BWU39hrJ.js | 1 + compendium_v2/static/StaffGraph-CRnD7Dbf.js | 1 - .../static/StaffGraphAbsolute-1_iTYcqR.js | 1 - .../static/StaffGraphAbsolute-CMxNAPzl.js | 1 + .../static/SubOrganisation-BBUAiix9.js | 1 + .../static/SubOrganisation-D8wGO2zm.js | 1 - ...s => SurveyContainerComponent-BkQFvQxZ.js} | 4 +- .../SurveyManagementComponent-D0-UtyLi.js | 1 + .../SurveyManagementComponent-DMYN1lq-.js | 1 - .../static/SurveySidebar-NbXpjOVQ.js | 1 + compendium_v2/static/Table-ClWM2_rS.js | 1 + compendium_v2/static/Table-HH9WOnMU.js | 1 - compendium_v2/static/TrafficRatio-BRasghA5.js | 1 + compendium_v2/static/TrafficRatio-CEE7weoG.js | 1 - compendium_v2/static/TrafficUrl-DFoUKOws.js | 1 - compendium_v2/static/TrafficUrl-DrUJ6TNq.js | 1 + .../static/TrafficVolume-5iEpLgxK.js | 1 - .../static/TrafficVolume-DIkzyQG4.js | 1 + .../UserManagementComponent-Ch5kCM4m.js | 1 + .../UserManagementComponent-CiWfGwDf.js | 1 - compendium_v2/static/WeatherMap-BWtEGyUR.js | 1 + compendium_v2/static/WeatherMap-CR-KiYaJ.js | 1 - ...s-CCaYPWnR.js => charthelpers-BVChP9u-.js} | 2 +- ...chartjs-plugin-datalabels.esm-BObV249o.js} | 2 +- compendium_v2/static/hook-DmuGcAOd.js | 1 - compendium_v2/static/hook-GVc5uk5F.js | 1 + compendium_v2/static/index-BBrAyDR9.js | 1 - .../{index-CuSQpLoM.js => index-BGZcCZJE.js} | 2 +- compendium_v2/static/index-BJrPLJgf.js | 1 + compendium_v2/static/index-D6hre9Be.js | 1 - compendium_v2/static/index-DW4SYwQF.js | 1 + compendium_v2/static/{main.css => index.css} | 0 compendium_v2/static/index.html | 10 +- compendium_v2/static/index.js | 83 ++++ ...{lodash-BjwYmmCl.js => lodash-CQPIyBv7.js} | 2 +- compendium_v2/static/main-BIBsTO5W.js | 82 ---- compendium_v2/static/report.js | 2 - compendium_v2/static/survey-3meXCY6T.js | 1 + compendium_v2/static/survey.html | 15 - compendium_v2/static/survey.js | 2 - compendium_v2/static/third-party-licenses.txt | 426 +++++++++--------- ...seData-BDYwoQEh.js => useData-C0vA-Ut8.js} | 6 +- compendium_v2/static/xlsx-BHRztzV8.js | 95 ++++ compendium_v2/static/xlsx-CxqzP9DR.js | 95 ---- 134 files changed, 513 insertions(+), 525 deletions(-) delete mode 100644 compendium_v2/static/AlienWave-BToV9QLE.js create mode 100644 compendium_v2/static/AlienWave-CoaJ4Ch0.js delete mode 100644 compendium_v2/static/AlienWaveInternal-CYmkCEA6.js create mode 100644 compendium_v2/static/AlienWaveInternal-F5JHtmfW.js create mode 100644 compendium_v2/static/Audits-tIxneKrE.js delete mode 100644 compendium_v2/static/Audits-z541eU6T.js rename compendium_v2/static/{Automation-CrHhcUVx.js => Automation-4jvTE-gK.js} (73%) delete mode 100644 compendium_v2/static/Budget-BaNd2jtG.js create mode 100644 compendium_v2/static/Budget-Dcza_nDS.js delete mode 100644 compendium_v2/static/BusinessContinuity-BhppOK3E.js create mode 100644 compendium_v2/static/BusinessContinuity-WayIenw9.js delete mode 100644 compendium_v2/static/CapacityCoreIP-BzYm9HBi.js create mode 100644 compendium_v2/static/CapacityCoreIP-DyN3YGAW.js delete mode 100644 compendium_v2/static/CapacityLargestLink-CchKWKUR.js create mode 100644 compendium_v2/static/CapacityLargestLink-Dk26I_at.js delete mode 100644 compendium_v2/static/CentralProcurement-BK_KYdQw.js create mode 100644 compendium_v2/static/CentralProcurement-ILLJKzCj.js create mode 100644 compendium_v2/static/CertificateProvider-4SfZ4yzo.js delete mode 100644 compendium_v2/static/CertificateProvider-B2MBeNfh.js create mode 100644 compendium_v2/static/ChargingStructure-LPcFjEsG.js delete mode 100644 compendium_v2/static/ChargingStructure-UaYN2mUD.js create mode 100644 compendium_v2/static/ColorPill-CXvWIfWz.js delete mode 100644 compendium_v2/static/ColorPill-CqT_mR3a.js delete mode 100644 compendium_v2/static/ConnectedInstitutionsURLs-BSMQXsFI.js create mode 100644 compendium_v2/static/ConnectedInstitutionsURLs-MamPTDnd.js delete mode 100644 compendium_v2/static/ConnectedUser-BEMGNK1Q.js create mode 100644 compendium_v2/static/ConnectedUser-CSVPvLMN.js create mode 100644 compendium_v2/static/CorporateStrategy-DZFOGJiQ.js delete mode 100644 compendium_v2/static/CorporateStrategy-Doz2JleE.js delete mode 100644 compendium_v2/static/CrisisExercises-DIq1DMCc.js create mode 100644 compendium_v2/static/CrisisExercises-DgB-Jzeh.js delete mode 100644 compendium_v2/static/CrisisManagement-B-4V900E.js create mode 100644 compendium_v2/static/CrisisManagement-C6sQvzSe.js create mode 100644 compendium_v2/static/DarkFibreInstalled-BEuXjlBR.js delete mode 100644 compendium_v2/static/DarkFibreInstalled-BG9k0mWY.js create mode 100644 compendium_v2/static/DarkFibreLease-D0G5a_C_.js delete mode 100644 compendium_v2/static/DarkFibreLease-DpIHorYZ.js delete mode 100644 compendium_v2/static/ECProjects-C-HN1lwo.js create mode 100644 compendium_v2/static/ECProjects-ChLCZHki.js create mode 100644 compendium_v2/static/EOSCListings-DH_4uObR.js delete mode 100644 compendium_v2/static/EOSCListings-DkHlXFjZ.js create mode 100644 compendium_v2/static/ExternalConnections-CI7Oci1W.js delete mode 100644 compendium_v2/static/ExternalConnections-CYJLiQ46.js delete mode 100644 compendium_v2/static/FibreLight-4Mgdokfs.js create mode 100644 compendium_v2/static/FibreLight-CWljRLcS.js create mode 100644 compendium_v2/static/FundingSource-Bwu0iwfm.js delete mode 100644 compendium_v2/static/FundingSource-DRHIT4Ra.js create mode 100644 compendium_v2/static/HTMLLegendPlugin-B1D8JXQI.js delete mode 100644 compendium_v2/static/HTMLLegendPlugin-BO0IHS_R.js delete mode 100644 compendium_v2/static/IRUDuration-D50DEG35.js create mode 100644 compendium_v2/static/IRUDuration-DwT4l7iu.js create mode 100644 compendium_v2/static/Landing-f86DzYca.js delete mode 100644 compendium_v2/static/MonitoringTools-BuTC_DRa.js create mode 100644 compendium_v2/static/MonitoringTools-D5EolQI7.js create mode 100644 compendium_v2/static/NetworkFunctionVirtualisation-Ci3ZHBJN.js delete mode 100644 compendium_v2/static/NetworkFunctionVirtualisation-DMaSWRo0.js create mode 100644 compendium_v2/static/NetworkMapUrls-CYYKJL7A.js delete mode 100644 compendium_v2/static/NetworkMapUrls-YVUXOiQm.js delete mode 100644 compendium_v2/static/NonRAndEPeer-BvFWiPrM.js create mode 100644 compendium_v2/static/NonRAndEPeer-OZTW6B0e.js create mode 100644 compendium_v2/static/NrenYearTable-BZB2R3F1.js delete mode 100644 compendium_v2/static/NrenYearTable-BuqomkXK.js create mode 100644 compendium_v2/static/OPsAutomation-BzaiKZKL.js delete mode 100644 compendium_v2/static/OPsAutomation-mleIxb9-.js create mode 100644 compendium_v2/static/ParentOrganisation-D0KpPI2s.js delete mode 100644 compendium_v2/static/ParentOrganisation-DJLeH6g7.js delete mode 100644 compendium_v2/static/PassiveMonitoring-BQaZqq7o.js create mode 100644 compendium_v2/static/PassiveMonitoring-DrHRNpwv.js create mode 100644 compendium_v2/static/PertTeam-B3F3NYFc.js delete mode 100644 compendium_v2/static/PertTeam-Dk6-ebg9.js delete mode 100644 compendium_v2/static/PillTable-5pkcg2T9.js create mode 100644 compendium_v2/static/PillTable-Cnj0nnFy.js create mode 100644 compendium_v2/static/Policy-CyBHQ4RU.js delete mode 100644 compendium_v2/static/Policy-rfVVQ2MG.js delete mode 100644 compendium_v2/static/RemoteCampuses-B7LZiN42.js create mode 100644 compendium_v2/static/RemoteCampuses-NUiCskMY.js delete mode 100644 compendium_v2/static/ScrollableMatrix-Cdgj4J9X.js create mode 100644 compendium_v2/static/ScrollableMatrix-Dxr22l4i.js delete mode 100644 compendium_v2/static/SecurityControls-Ct-pN0fH.js create mode 100644 compendium_v2/static/SecurityControls-cN55VGDF.js create mode 100644 compendium_v2/static/ServiceLevelTargets-CAul_Bb5.js delete mode 100644 compendium_v2/static/ServiceLevelTargets-DkcKRrX5.js delete mode 100644 compendium_v2/static/ServiceManagementFramework-0pFJ2GJW.js create mode 100644 compendium_v2/static/ServiceManagementFramework-Dr5HjYSA.js rename compendium_v2/static/{Services-TWQx7C9G.js => Services-UuW4JfkB.js} (67%) delete mode 100644 compendium_v2/static/ServicesOffered-DAgKmLaL.js create mode 100644 compendium_v2/static/ServicesOffered-Z3IepUcf.js create mode 100644 compendium_v2/static/SideBar-Bzc5cONd.js delete mode 100644 compendium_v2/static/SiemVendors-AspEWRsK.js create mode 100644 compendium_v2/static/SiemVendors-BpJ6Liws.js create mode 100644 compendium_v2/static/StaffGraph-BWU39hrJ.js delete mode 100644 compendium_v2/static/StaffGraph-CRnD7Dbf.js delete mode 100644 compendium_v2/static/StaffGraphAbsolute-1_iTYcqR.js create mode 100644 compendium_v2/static/StaffGraphAbsolute-CMxNAPzl.js create mode 100644 compendium_v2/static/SubOrganisation-BBUAiix9.js delete mode 100644 compendium_v2/static/SubOrganisation-D8wGO2zm.js rename compendium_v2/static/{SurveyContainerComponent-D59B1_HE.js => SurveyContainerComponent-BkQFvQxZ.js} (99%) create mode 100644 compendium_v2/static/SurveyManagementComponent-D0-UtyLi.js delete mode 100644 compendium_v2/static/SurveyManagementComponent-DMYN1lq-.js create mode 100644 compendium_v2/static/SurveySidebar-NbXpjOVQ.js create mode 100644 compendium_v2/static/Table-ClWM2_rS.js delete mode 100644 compendium_v2/static/Table-HH9WOnMU.js create mode 100644 compendium_v2/static/TrafficRatio-BRasghA5.js delete mode 100644 compendium_v2/static/TrafficRatio-CEE7weoG.js delete mode 100644 compendium_v2/static/TrafficUrl-DFoUKOws.js create mode 100644 compendium_v2/static/TrafficUrl-DrUJ6TNq.js delete mode 100644 compendium_v2/static/TrafficVolume-5iEpLgxK.js create mode 100644 compendium_v2/static/TrafficVolume-DIkzyQG4.js create mode 100644 compendium_v2/static/UserManagementComponent-Ch5kCM4m.js delete mode 100644 compendium_v2/static/UserManagementComponent-CiWfGwDf.js create mode 100644 compendium_v2/static/WeatherMap-BWtEGyUR.js delete mode 100644 compendium_v2/static/WeatherMap-CR-KiYaJ.js rename compendium_v2/static/{charthelpers-CCaYPWnR.js => charthelpers-BVChP9u-.js} (96%) rename compendium_v2/static/{chartjs-plugin-datalabels.esm-D8EJYoxA.js => chartjs-plugin-datalabels.esm-BObV249o.js} (99%) delete mode 100644 compendium_v2/static/hook-DmuGcAOd.js create mode 100644 compendium_v2/static/hook-GVc5uk5F.js delete mode 100644 compendium_v2/static/index-BBrAyDR9.js rename compendium_v2/static/{index-CuSQpLoM.js => index-BGZcCZJE.js} (51%) create mode 100644 compendium_v2/static/index-BJrPLJgf.js delete mode 100644 compendium_v2/static/index-D6hre9Be.js create mode 100644 compendium_v2/static/index-DW4SYwQF.js rename compendium_v2/static/{main.css => index.css} (100%) create mode 100644 compendium_v2/static/index.js rename compendium_v2/static/{lodash-BjwYmmCl.js => lodash-CQPIyBv7.js} (94%) delete mode 100644 compendium_v2/static/main-BIBsTO5W.js delete mode 100644 compendium_v2/static/report.js create mode 100644 compendium_v2/static/survey-3meXCY6T.js delete mode 100644 compendium_v2/static/survey.html delete mode 100644 compendium_v2/static/survey.js rename compendium_v2/static/{useData-BDYwoQEh.js => useData-C0vA-Ut8.js} (85%) create mode 100644 compendium_v2/static/xlsx-BHRztzV8.js delete mode 100644 compendium_v2/static/xlsx-CxqzP9DR.js diff --git a/compendium_v2/static/AlienWave-BToV9QLE.js b/compendium_v2/static/AlienWave-BToV9QLE.js deleted file mode 100644 index 41fff2a6..00000000 --- a/compendium_v2/static/AlienWave-BToV9QLE.js +++ /dev/null @@ -1,9 +0,0 @@ -import{a as T,r as S,F as Y,j as v}from"./main-BIBsTO5W.js";import{u as E,g as j,n as P,D as R,F as W,f as C}from"./useData-BDYwoQEh.js";import{S as F}from"./report.js";import{P as L}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function H(){const e=T.c(30);let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=d=>d.alien_wave_third_party!==null,e[0]=a):a=e[0];const x=a,{filterSelection:t,setFilterSelection:h}=S.useContext(Y),{data:_,years:w,nrens:y}=E("/api/alien-wave",h,x);let s,p;if(e[1]!==_||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let d;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(d=g=>t.selectedYears.includes(g.year)&&t.selectedNrens.includes(g.nren),e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=d):d=e[8],s=_.filter(d);const D=j(s,"alien_wave_third_party");p=P(D,M),e[1]=_,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=s,e[5]=p}else s=e[4],p=e[5];const N=p;let r,m;e[9]===Symbol.for("react.memo_cache_sentinel")?(r=["Yes","Planned","No"],m=new Map([[r[0],"yes"],[r[1],"planned"],[r[2],"no"]]),e[9]=r,e[10]=m):(r=e[9],m=e[10]);const k=m;let i;e[11]!==w?(i=[...w],e[11]=w,e[12]=i):i=e[12];let n;e[13]!==y?(n=y.values(),e[13]=y,e[14]=n):n=e[14];let l;e[15]!==n?(l=[...n],e[15]=n,e[16]=l):l=e[16];let o;e[17]!==i||e[18]!==l?(o={availableYears:i,availableNrens:l},e[17]=i,e[18]=l,e[19]=o):o=e[19];let u;e[20]!==t||e[21]!==h||e[22]!==o?(u=v.jsx(W,{filterOptions:o,filterSelection:t,setFilterSelection:h,coloredYears:!0}),e[20]=t,e[21]=h,e[22]=o,e[23]=u):u=e[23];const b=u;let c;e[24]!==N?(c=v.jsx(C,{children:v.jsx(L,{columns:r,columnLookup:k,dataLookup:N})}),e[24]=N,e[25]=c):c=e[25];let f;return e[26]!==b||e[27]!==s||e[28]!==c?(f=v.jsx(R,{title:"NREN Use of 3rd Party Alienwave/Lightpath Services",description:`The table below shows NREN usage of alien wavelength or lightpath services provided by third parties. - It does not include alien waves used internally inside the NRENs own networks, as that is covered in another table. - In the optical network world, the term “alien wavelength” or “alien wave” (AW) is used to describe wavelengths in a - DWDM line system that pass through the network, i.e. they are not sourced/terminated by the line-system operator’s - equipment (hence “alien”). This setup is in contrast to traditional DWDM systems, where the DWDM light source - (transponder) operates in the same management domain as the amplifiers. - - Where NRENs have given the number of individual alien wavelength services, the figure is available in a hover-over - box. These are indicated by a black line around the coloured marker.`,category:F.Network,filter:b,data:s,filename:"alien_wave_nrens_per_year",children:c}),e[26]=b,e[27]=s,e[28]=c,e[29]=f):f=e[29],f}function M(e,a){if(a.nr_of_alien_wave_third_party_services)return`No. of alien wavelength services: ${a.nr_of_alien_wave_third_party_services} `}export{H as default}; diff --git a/compendium_v2/static/AlienWave-CoaJ4Ch0.js b/compendium_v2/static/AlienWave-CoaJ4Ch0.js new file mode 100644 index 00000000..7a6cbf23 --- /dev/null +++ b/compendium_v2/static/AlienWave-CoaJ4Ch0.js @@ -0,0 +1,9 @@ +import{c as T,r as S,F as Y,j as v,S as E}from"./index.js";import{u as j,g as P,n as R,D as W,F as C,f as F}from"./useData-C0vA-Ut8.js";import{P as L}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function H(){const e=T.c(30);let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=d=>d.alien_wave_third_party!==null,e[0]=a):a=e[0];const x=a,{filterSelection:t,setFilterSelection:h}=S.useContext(Y),{data:_,years:w,nrens:y}=j("/api/alien-wave",h,x);let s,p;if(e[1]!==_||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let d;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(d=g=>t.selectedYears.includes(g.year)&&t.selectedNrens.includes(g.nren),e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=d):d=e[8],s=_.filter(d);const D=P(s,"alien_wave_third_party");p=R(D,M),e[1]=_,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=s,e[5]=p}else s=e[4],p=e[5];const N=p;let i,m;e[9]===Symbol.for("react.memo_cache_sentinel")?(i=["Yes","Planned","No"],m=new Map([[i[0],"yes"],[i[1],"planned"],[i[2],"no"]]),e[9]=i,e[10]=m):(i=e[9],m=e[10]);const k=m;let n;e[11]!==w?(n=[...w],e[11]=w,e[12]=n):n=e[12];let r;e[13]!==y?(r=y.values(),e[13]=y,e[14]=r):r=e[14];let l;e[15]!==r?(l=[...r],e[15]=r,e[16]=l):l=e[16];let o;e[17]!==n||e[18]!==l?(o={availableYears:n,availableNrens:l},e[17]=n,e[18]=l,e[19]=o):o=e[19];let u;e[20]!==t||e[21]!==h||e[22]!==o?(u=v.jsx(C,{filterOptions:o,filterSelection:t,setFilterSelection:h,coloredYears:!0}),e[20]=t,e[21]=h,e[22]=o,e[23]=u):u=e[23];const b=u;let c;e[24]!==N?(c=v.jsx(F,{children:v.jsx(L,{columns:i,columnLookup:k,dataLookup:N})}),e[24]=N,e[25]=c):c=e[25];let f;return e[26]!==b||e[27]!==s||e[28]!==c?(f=v.jsx(W,{title:"NREN Use of 3rd Party Alienwave/Lightpath Services",description:`The table below shows NREN usage of alien wavelength or lightpath services provided by third parties. + It does not include alien waves used internally inside the NRENs own networks, as that is covered in another table. + In the optical network world, the term “alien wavelength” or “alien wave” (AW) is used to describe wavelengths in a + DWDM line system that pass through the network, i.e. they are not sourced/terminated by the line-system operator’s + equipment (hence “alien”). This setup is in contrast to traditional DWDM systems, where the DWDM light source + (transponder) operates in the same management domain as the amplifiers. + + Where NRENs have given the number of individual alien wavelength services, the figure is available in a hover-over + box. These are indicated by a black line around the coloured marker.`,category:E.Network,filter:b,data:s,filename:"alien_wave_nrens_per_year",children:c}),e[26]=b,e[27]=s,e[28]=c,e[29]=f):f=e[29],f}function M(e,a){if(a.nr_of_alien_wave_third_party_services)return`No. of alien wavelength services: ${a.nr_of_alien_wave_third_party_services} `}export{H as default}; diff --git a/compendium_v2/static/AlienWaveInternal-CYmkCEA6.js b/compendium_v2/static/AlienWaveInternal-CYmkCEA6.js deleted file mode 100644 index 955abf72..00000000 --- a/compendium_v2/static/AlienWaveInternal-CYmkCEA6.js +++ /dev/null @@ -1,9 +0,0 @@ -import{a as k,r as Y,F as S,j as w}from"./main-BIBsTO5W.js";import{u as W,g as j,D as F,F as M,f as T}from"./useData-BDYwoQEh.js";import{S as C}from"./report.js";import{P as E}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function $(){const e=k.c(30);let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=c=>c.alien_wave_internal!==null,e[0]=m):m=e[0];const D=m,{filterSelection:t,setFilterSelection:d}=Y.useContext(S),{data:v,years:N,nrens:g}=W("/api/alien-wave",d,D);let s,p;if(e[1]!==v||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let c;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(c=_=>t.selectedYears.includes(_.year)&&t.selectedNrens.includes(_.nren),e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=c):c=e[8],s=v.filter(c),p=j(s,"alien_wave_internal"),e[1]=v,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=s,e[5]=p}else s=e[4],p=e[5];const x=p;let n,u;e[9]===Symbol.for("react.memo_cache_sentinel")?(n=["Yes","No"],u=new Map([[n[0],"True"],[n[1],"False"]]),e[9]=n,e[10]=u):(n=e[9],u=e[10]);const b=u;let a;e[11]!==N?(a=[...N],e[11]=N,e[12]=a):a=e[12];let l;e[13]!==g?(l=g.values(),e[13]=g,e[14]=l):l=e[14];let i;e[15]!==l?(i=[...l],e[15]=l,e[16]=i):i=e[16];let r;e[17]!==a||e[18]!==i?(r={availableYears:a,availableNrens:i},e[17]=a,e[18]=i,e[19]=r):r=e[19];let f;e[20]!==t||e[21]!==d||e[22]!==r?(f=w.jsx(M,{filterOptions:r,filterSelection:t,setFilterSelection:d,coloredYears:!0}),e[20]=t,e[21]=d,e[22]=r,e[23]=f):f=e[23];const y=f;let o;e[24]!==x?(o=w.jsx(T,{children:w.jsx(E,{columns:n,columnLookup:b,dataLookup:x})}),e[24]=x,e[25]=o):o=e[25];let h;return e[26]!==y||e[27]!==s||e[28]!==o?(h=w.jsx(F,{title:"Internal NREN Use of Alien Waves",description:`The table below shows NREN usage of alien waves internally within their own networks. - This includes, for example, alien waves used between two equipment vendors, - eg. coloured optics on routes carried over DWDM (dense wavelength division multiplexing) equipment. - - In the optical network world, the term “alien wavelength” or “alien wave” (AW) is used to describe - wavelengths in a DWDM line system that pass through the network, i.e. they are not sourced/terminated - by the line-system operator’s equipment (hence “alien”). This setup is in contrast to traditional - DWDM systems, where the DWDM light source (transponder) operates in the same management domain - as the amplifiers.`,category:C.Network,filter:y,data:s,filename:"alien_wave_internal_nrens_per_year",children:o}),e[26]=y,e[27]=s,e[28]=o,e[29]=h):h=e[29],h}export{$ as default}; diff --git a/compendium_v2/static/AlienWaveInternal-F5JHtmfW.js b/compendium_v2/static/AlienWaveInternal-F5JHtmfW.js new file mode 100644 index 00000000..2eef14dd --- /dev/null +++ b/compendium_v2/static/AlienWaveInternal-F5JHtmfW.js @@ -0,0 +1,9 @@ +import{c as k,r as Y,F as S,j as w,S as W}from"./index.js";import{u as j,g as F,D as M,F as T,f as C}from"./useData-C0vA-Ut8.js";import{P as E}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function $(){const e=k.c(30);let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=c=>c.alien_wave_internal!==null,e[0]=m):m=e[0];const D=m,{filterSelection:t,setFilterSelection:d}=Y.useContext(S),{data:v,years:N,nrens:g}=j("/api/alien-wave",d,D);let s,p;if(e[1]!==v||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let c;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(c=_=>t.selectedYears.includes(_.year)&&t.selectedNrens.includes(_.nren),e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=c):c=e[8],s=v.filter(c),p=F(s,"alien_wave_internal"),e[1]=v,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=s,e[5]=p}else s=e[4],p=e[5];const x=p;let n,u;e[9]===Symbol.for("react.memo_cache_sentinel")?(n=["Yes","No"],u=new Map([[n[0],"True"],[n[1],"False"]]),e[9]=n,e[10]=u):(n=e[9],u=e[10]);const b=u;let a;e[11]!==N?(a=[...N],e[11]=N,e[12]=a):a=e[12];let l;e[13]!==g?(l=g.values(),e[13]=g,e[14]=l):l=e[14];let i;e[15]!==l?(i=[...l],e[15]=l,e[16]=i):i=e[16];let r;e[17]!==a||e[18]!==i?(r={availableYears:a,availableNrens:i},e[17]=a,e[18]=i,e[19]=r):r=e[19];let f;e[20]!==t||e[21]!==d||e[22]!==r?(f=w.jsx(T,{filterOptions:r,filterSelection:t,setFilterSelection:d,coloredYears:!0}),e[20]=t,e[21]=d,e[22]=r,e[23]=f):f=e[23];const y=f;let o;e[24]!==x?(o=w.jsx(C,{children:w.jsx(E,{columns:n,columnLookup:b,dataLookup:x})}),e[24]=x,e[25]=o):o=e[25];let h;return e[26]!==y||e[27]!==s||e[28]!==o?(h=w.jsx(M,{title:"Internal NREN Use of Alien Waves",description:`The table below shows NREN usage of alien waves internally within their own networks. + This includes, for example, alien waves used between two equipment vendors, + eg. coloured optics on routes carried over DWDM (dense wavelength division multiplexing) equipment. + + In the optical network world, the term “alien wavelength” or “alien wave” (AW) is used to describe + wavelengths in a DWDM line system that pass through the network, i.e. they are not sourced/terminated + by the line-system operator’s equipment (hence “alien”). This setup is in contrast to traditional + DWDM systems, where the DWDM light source (transponder) operates in the same management domain + as the amplifiers.`,category:W.Network,filter:y,data:s,filename:"alien_wave_internal_nrens_per_year",children:o}),e[26]=y,e[27]=s,e[28]=o,e[29]=h):h=e[29],h}export{$ as default}; diff --git a/compendium_v2/static/Audits-tIxneKrE.js b/compendium_v2/static/Audits-tIxneKrE.js new file mode 100644 index 00000000..322702d3 --- /dev/null +++ b/compendium_v2/static/Audits-tIxneKrE.js @@ -0,0 +1,5 @@ +import{c as Y,r as w,F as j,j as x,S as F}from"./index.js";import{u as P,g as C,n as E,D,F as L,f as I}from"./useData-C0vA-Ut8.js";import{P as M}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function J(){const e=Y.c(30);let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=d=>d.audits!==null,e[0]=s):s=e[0];const _=s,{filterSelection:t,setFilterSelection:u}=w.useContext(j),{data:y,years:b,nrens:g}=P("/api/standards",u,_);let i,m;if(e[1]!==y||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let d;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(d=v=>t.selectedYears.includes(v.year)&&t.selectedNrens.includes(v.nren)&&v.audits!==null,e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=d):d=e[8],i=y.filter(d);const T=C(i,"audits");m=E(T,R),e[1]=y,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=i,e[5]=m}else i=e[4],m=e[5];const N=m;let a,f;e[9]===Symbol.for("react.memo_cache_sentinel")?(a=["Yes","No"],f=new Map([[a[0],"True"],[a[1],"False"]]),e[9]=a,e[10]=f):(a=e[9],f=e[10]);const k=f;let r;e[11]!==b?(r=[...b],e[11]=b,e[12]=r):r=e[12];let l;e[13]!==g?(l=g.values(),e[13]=g,e[14]=l):l=e[14];let n;e[15]!==l?(n=[...l],e[15]=l,e[16]=n):n=e[16];let o;e[17]!==r||e[18]!==n?(o={availableYears:r,availableNrens:n},e[17]=r,e[18]=n,e[19]=o):o=e[19];let p;e[20]!==t||e[21]!==u||e[22]!==o?(p=x.jsx(L,{filterOptions:o,filterSelection:t,setFilterSelection:u,coloredYears:!0}),e[20]=t,e[21]=u,e[22]=o,e[23]=p):p=e[23];const S=p;let c;e[24]!==N?(c=x.jsx(I,{children:x.jsx(M,{columns:a,columnLookup:k,dataLookup:N})}),e[24]=N,e[25]=c):c=e[25];let h;return e[26]!==S||e[27]!==i||e[28]!==c?(h=x.jsx(D,{title:"External and Internal Audits of Information Security Management Systems",description:`The table below shows whether NRENs have external and/or internal audits + of the information security management systems (eg. risk management and policies). + Where extra information has been provided, such as whether a certified security auditor + on ISP 27001 is performing the audits, it can be viewed by hovering over the indicator + mark ringed in black.`,category:F.Policy,filter:S,data:i,filename:"audits_nrens_per_year",children:c}),e[26]=S,e[27]=i,e[28]=c,e[29]=h):h=e[29],h}function R(e,s){if(s.audit_specifics)return s.audit_specifics}export{J as default}; diff --git a/compendium_v2/static/Audits-z541eU6T.js b/compendium_v2/static/Audits-z541eU6T.js deleted file mode 100644 index 11f0ab43..00000000 --- a/compendium_v2/static/Audits-z541eU6T.js +++ /dev/null @@ -1,5 +0,0 @@ -import{a as Y,r as w,F as j,j as x}from"./main-BIBsTO5W.js";import{u as F,g as P,n as C,D as E,F as D,f as L}from"./useData-BDYwoQEh.js";import{S as I}from"./report.js";import{P as M}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function J(){const e=Y.c(30);let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=d=>d.audits!==null,e[0]=s):s=e[0];const _=s,{filterSelection:t,setFilterSelection:u}=w.useContext(j),{data:y,years:b,nrens:g}=F("/api/standards",u,_);let i,m;if(e[1]!==y||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let d;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(d=v=>t.selectedYears.includes(v.year)&&t.selectedNrens.includes(v.nren)&&v.audits!==null,e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=d):d=e[8],i=y.filter(d);const T=P(i,"audits");m=C(T,R),e[1]=y,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=i,e[5]=m}else i=e[4],m=e[5];const N=m;let a,f;e[9]===Symbol.for("react.memo_cache_sentinel")?(a=["Yes","No"],f=new Map([[a[0],"True"],[a[1],"False"]]),e[9]=a,e[10]=f):(a=e[9],f=e[10]);const k=f;let r;e[11]!==b?(r=[...b],e[11]=b,e[12]=r):r=e[12];let l;e[13]!==g?(l=g.values(),e[13]=g,e[14]=l):l=e[14];let n;e[15]!==l?(n=[...l],e[15]=l,e[16]=n):n=e[16];let o;e[17]!==r||e[18]!==n?(o={availableYears:r,availableNrens:n},e[17]=r,e[18]=n,e[19]=o):o=e[19];let p;e[20]!==t||e[21]!==u||e[22]!==o?(p=x.jsx(D,{filterOptions:o,filterSelection:t,setFilterSelection:u,coloredYears:!0}),e[20]=t,e[21]=u,e[22]=o,e[23]=p):p=e[23];const S=p;let c;e[24]!==N?(c=x.jsx(L,{children:x.jsx(M,{columns:a,columnLookup:k,dataLookup:N})}),e[24]=N,e[25]=c):c=e[25];let h;return e[26]!==S||e[27]!==i||e[28]!==c?(h=x.jsx(E,{title:"External and Internal Audits of Information Security Management Systems",description:`The table below shows whether NRENs have external and/or internal audits - of the information security management systems (eg. risk management and policies). - Where extra information has been provided, such as whether a certified security auditor - on ISP 27001 is performing the audits, it can be viewed by hovering over the indicator - mark ringed in black.`,category:I.Policy,filter:S,data:i,filename:"audits_nrens_per_year",children:c}),e[26]=S,e[27]=i,e[28]=c,e[29]=h):h=e[29],h}function R(e,s){if(s.audit_specifics)return s.audit_specifics}export{J as default}; diff --git a/compendium_v2/static/Automation-CrHhcUVx.js b/compendium_v2/static/Automation-4jvTE-gK.js similarity index 73% rename from compendium_v2/static/Automation-CrHhcUVx.js rename to compendium_v2/static/Automation-4jvTE-gK.js index c5d4cf92..e91e9a85 100644 --- a/compendium_v2/static/Automation-CrHhcUVx.js +++ b/compendium_v2/static/Automation-4jvTE-gK.js @@ -1,5 +1,5 @@ -import{a as ee,r as te,F as se,j as t}from"./main-BIBsTO5W.js";import{u as ne,g as le,F as oe,D as re,f as ie}from"./useData-BDYwoQEh.js";import{C as K}from"./ColorPill-CqT_mR3a.js";import{S as ae}from"./report.js";import{T as ce}from"./Table-HH9WOnMU.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";function ge(){const e=ee.c(69),{filterSelection:l,setFilterSelection:p}=te.useContext(se),{data:Q,years:c,nrens:R}=ne("/api/network-automation",p);let m,f,x,j,u,g,w,y,_,h,d,b,S,Y,v;if(e[0]!==l||e[1]!==R||e[2]!==Q||e[3]!==p||e[4]!==c){let A;e[20]!==l.selectedNrens||e[21]!==l.selectedYears?(A=E=>l.selectedYears.includes(E.year)&&l.selectedNrens.includes(E.nren),e[20]=l.selectedNrens,e[21]=l.selectedYears,e[22]=A):A=e[22];const V=Q.filter(A),X=le(V,"network_automation");let T;e[23]!==c?(T=[...c],e[23]=c,e[24]=T):T=e[24];let C;e[25]!==R?(C=R.values(),e[25]=R,e[26]=C):C=e[26];let D;e[27]!==C?(D=[...C],e[27]=C,e[28]=D):D=e[28];let $;e[29]!==T||e[30]!==D?($={availableYears:T,availableNrens:D},e[29]=T,e[30]=D,e[31]=$):$=e[31];let L;e[32]!==l||e[33]!==p||e[34]!==$?(L=t.jsx(oe,{filterOptions:$,filterSelection:l,setFilterSelection:p,coloredYears:!0}),e[32]=l,e[33]=p,e[34]=$,e[35]=L):L=e[35];const Z=L;let M;e[36]!==c?(M=E=>c.has(E),e[36]=c,e[37]=M):M=e[37];const U=[...l.selectedYears.filter(M)].sort();x=re,b="Network Tasks for which NRENs Use Automation ",S=`The table below shows which NRENs have, or plan to, automate their +import{c as ee,r as te,F as se,S as ne,j as t}from"./index.js";import{u as le,g as oe,F as re,D as ie,f as ae}from"./useData-C0vA-Ut8.js";import{C as K}from"./ColorPill-CXvWIfWz.js";import{T as ce}from"./Table-ClWM2_rS.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";function ge(){const e=ee.c(69),{filterSelection:l,setFilterSelection:p}=te.useContext(se),{data:Q,years:c,nrens:R}=le("/api/network-automation",p);let m,f,x,j,u,g,w,y,_,h,d,b,S,Y,v;if(e[0]!==l||e[1]!==R||e[2]!==Q||e[3]!==p||e[4]!==c){let A;e[20]!==l.selectedNrens||e[21]!==l.selectedYears?(A=E=>l.selectedYears.includes(E.year)&&l.selectedNrens.includes(E.nren),e[20]=l.selectedNrens,e[21]=l.selectedYears,e[22]=A):A=e[22];const V=Q.filter(A),X=oe(V,"network_automation");let T;e[23]!==c?(T=[...c],e[23]=c,e[24]=T):T=e[24];let C;e[25]!==R?(C=R.values(),e[25]=R,e[26]=C):C=e[26];let D;e[27]!==C?(D=[...C],e[27]=C,e[28]=D):D=e[28];let $;e[29]!==T||e[30]!==D?($={availableYears:T,availableNrens:D},e[29]=T,e[30]=D,e[31]=$):$=e[31];let L;e[32]!==l||e[33]!==p||e[34]!==$?(L=t.jsx(re,{filterOptions:$,filterSelection:l,setFilterSelection:p,coloredYears:!0}),e[32]=l,e[33]=p,e[34]=$,e[35]=L):L=e[35];const Z=L;let M;e[36]!==c?(M=E=>c.has(E),e[36]=c,e[37]=M):M=e[37];const U=[...l.selectedYears.filter(M)].sort();x=ie,b="Network Tasks for which NRENs Use Automation ",S=`The table below shows which NRENs have, or plan to, automate their operational processes, with specification of which processes, and the names of software and tools used for this given when appropriate. Where NRENs indicated that they are using automation for some network tasks, - but did not specify which type of tasks, a marker has been placed in the 'other' column.`,Y=ae.Network,v=Z,g=V,w="network_automation_nrens_per_year",f=ie,m=ce,u="charging-struct-table",y=!0,_=!0;let W;e[38]===Symbol.for("react.memo_cache_sentinel")?(W=t.jsx("col",{span:1,style:{width:"16%"}}),e[38]=W):W=e[38];let q;e[39]===Symbol.for("react.memo_cache_sentinel")?(q=t.jsx("col",{span:2,style:{width:"12%"}}),e[39]=q):q=e[39];let z;e[40]===Symbol.for("react.memo_cache_sentinel")?(z=t.jsx("col",{span:2,style:{width:"12%"}}),e[40]=z):z=e[40];let B;e[41]===Symbol.for("react.memo_cache_sentinel")?(B=t.jsx("col",{span:2,style:{width:"12%"}}),e[41]=B):B=e[41];let G;e[42]===Symbol.for("react.memo_cache_sentinel")?(G=t.jsx("col",{span:2,style:{width:"12%"}}),e[42]=G):G=e[42];let H;e[43]===Symbol.for("react.memo_cache_sentinel")?(H=t.jsx("col",{span:2,style:{width:"12%"}}),e[43]=H):H=e[43];let J;e[44]===Symbol.for("react.memo_cache_sentinel")?(J=t.jsx("col",{span:2,style:{width:"12%"}}),e[44]=J):J=e[44],e[45]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsxs("colgroup",{children:[W,q,z,B,G,H,J,t.jsx("col",{span:2,style:{width:"12%"}})]}),d=t.jsxs("thead",{children:[t.jsxs("tr",{children:[t.jsx("th",{}),t.jsx("th",{colSpan:2,children:"Device Provisioning"}),t.jsx("th",{colSpan:2,children:"Data Collection"}),t.jsx("th",{colSpan:2,children:"Configuration Management"}),t.jsx("th",{colSpan:2,children:"Compliance"}),t.jsx("th",{colSpan:2,children:"Reporting"}),t.jsx("th",{colSpan:2,children:"Troubleshooting"}),t.jsx("th",{colSpan:2,children:"Other"})]}),t.jsxs("tr",{children:[t.jsx("th",{}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"})]})]}),e[45]=h,e[46]=d):(h=e[45],d=e[46]),j=Array.from(X.entries()).map(E=>{const[F,o]=E;return t.jsxs("tr",{children:[t.jsx("td",{children:F}),["provisioning","data_collection","config_management","compliance","reporting","troubleshooting"].map(n=>t.jsxs(t.Fragment,{children:[t.jsx("td",{children:o.has("yes")&&U.map(s=>{var a,I;const r=(a=o.get("yes"))==null?void 0:a.get(s),i=r?r.network_automation_specifics:null;return t.jsx(K,{year:s,active:!!((I=o.get("yes"))!=null&&I.has(s))&&!!(i&&i.indexOf(n)>-1),tooltip:"",rounded:!0},s)})},`${F}-${n}-yes`),t.jsx("td",{children:o.has("planned")&&U.map(s=>{var a,I;const r=(a=o.get("planned"))==null?void 0:a.get(s),i=r?r.network_automation_specifics:null;return t.jsx(K,{year:s,active:!!((I=o.get("planned"))!=null&&I.has(s))&&!!(i&&i.indexOf(n)>-1),tooltip:"",rounded:!0},s)})},`${F}-${n}-planned`)]})),t.jsx("td",{children:o.has("yes")&&U.map(n=>{var i,a;const s=(i=o.get("yes"))==null?void 0:i.get(n),r=s?s.network_automation_specifics:null;return t.jsx(K,{year:n,active:!!((a=o.get("yes"))!=null&&a.has(n))&&!!(r&&r.length==0),tooltip:"",rounded:!0},n)})},`${F}-other-yes`),t.jsx("td",{children:o.has("planned")&&U.map(n=>{var i,a;const s=(i=o.get("planned"))==null?void 0:i.get(n),r=s?s.network_automation_specifics:null;return t.jsx(K,{year:n,active:!!((a=o.get("planned"))!=null&&a.has(n))&&!!(r&&r.length==0),tooltip:"",rounded:!0},n)})},`${F}-other-planned`)]},F)}),e[0]=l,e[1]=R,e[2]=Q,e[3]=p,e[4]=c,e[5]=m,e[6]=f,e[7]=x,e[8]=j,e[9]=u,e[10]=g,e[11]=w,e[12]=y,e[13]=_,e[14]=h,e[15]=d,e[16]=b,e[17]=S,e[18]=Y,e[19]=v}else m=e[5],f=e[6],x=e[7],j=e[8],u=e[9],g=e[10],w=e[11],y=e[12],_=e[13],h=e[14],d=e[15],b=e[16],S=e[17],Y=e[18],v=e[19];let N;e[47]!==j?(N=t.jsx("tbody",{children:j}),e[47]=j,e[48]=N):N=e[48];let k;e[49]!==m||e[50]!==u||e[51]!==N||e[52]!==y||e[53]!==_||e[54]!==h||e[55]!==d?(k=t.jsxs(m,{className:u,striped:y,bordered:_,children:[h,d,N]}),e[49]=m,e[50]=u,e[51]=N,e[52]=y,e[53]=_,e[54]=h,e[55]=d,e[56]=k):k=e[56];let P;e[57]!==f||e[58]!==k?(P=t.jsx(f,{children:k}),e[57]=f,e[58]=k,e[59]=P):P=e[59];let O;return e[60]!==x||e[61]!==g||e[62]!==w||e[63]!==P||e[64]!==b||e[65]!==S||e[66]!==Y||e[67]!==v?(O=t.jsx(x,{title:b,description:S,category:Y,filter:v,data:g,filename:w,children:P}),e[60]=x,e[61]=g,e[62]=w,e[63]=P,e[64]=b,e[65]=S,e[66]=Y,e[67]=v,e[68]=O):O=e[68],O}export{ge as default}; + but did not specify which type of tasks, a marker has been placed in the 'other' column.`,Y=ne.Network,v=Z,g=V,w="network_automation_nrens_per_year",f=ae,m=ce,u="charging-struct-table",y=!0,_=!0;let W;e[38]===Symbol.for("react.memo_cache_sentinel")?(W=t.jsx("col",{span:1,style:{width:"16%"}}),e[38]=W):W=e[38];let q;e[39]===Symbol.for("react.memo_cache_sentinel")?(q=t.jsx("col",{span:2,style:{width:"12%"}}),e[39]=q):q=e[39];let z;e[40]===Symbol.for("react.memo_cache_sentinel")?(z=t.jsx("col",{span:2,style:{width:"12%"}}),e[40]=z):z=e[40];let B;e[41]===Symbol.for("react.memo_cache_sentinel")?(B=t.jsx("col",{span:2,style:{width:"12%"}}),e[41]=B):B=e[41];let G;e[42]===Symbol.for("react.memo_cache_sentinel")?(G=t.jsx("col",{span:2,style:{width:"12%"}}),e[42]=G):G=e[42];let H;e[43]===Symbol.for("react.memo_cache_sentinel")?(H=t.jsx("col",{span:2,style:{width:"12%"}}),e[43]=H):H=e[43];let J;e[44]===Symbol.for("react.memo_cache_sentinel")?(J=t.jsx("col",{span:2,style:{width:"12%"}}),e[44]=J):J=e[44],e[45]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsxs("colgroup",{children:[W,q,z,B,G,H,J,t.jsx("col",{span:2,style:{width:"12%"}})]}),d=t.jsxs("thead",{children:[t.jsxs("tr",{children:[t.jsx("th",{}),t.jsx("th",{colSpan:2,children:"Device Provisioning"}),t.jsx("th",{colSpan:2,children:"Data Collection"}),t.jsx("th",{colSpan:2,children:"Configuration Management"}),t.jsx("th",{colSpan:2,children:"Compliance"}),t.jsx("th",{colSpan:2,children:"Reporting"}),t.jsx("th",{colSpan:2,children:"Troubleshooting"}),t.jsx("th",{colSpan:2,children:"Other"})]}),t.jsxs("tr",{children:[t.jsx("th",{}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"})]})]}),e[45]=h,e[46]=d):(h=e[45],d=e[46]),j=Array.from(X.entries()).map(E=>{const[F,o]=E;return t.jsxs("tr",{children:[t.jsx("td",{children:F}),["provisioning","data_collection","config_management","compliance","reporting","troubleshooting"].map(n=>t.jsxs(t.Fragment,{children:[t.jsx("td",{children:o.has("yes")&&U.map(s=>{var a,I;const r=(a=o.get("yes"))==null?void 0:a.get(s),i=r?r.network_automation_specifics:null;return t.jsx(K,{year:s,active:!!((I=o.get("yes"))!=null&&I.has(s))&&!!(i&&i.indexOf(n)>-1),tooltip:"",rounded:!0},s)})},`${F}-${n}-yes`),t.jsx("td",{children:o.has("planned")&&U.map(s=>{var a,I;const r=(a=o.get("planned"))==null?void 0:a.get(s),i=r?r.network_automation_specifics:null;return t.jsx(K,{year:s,active:!!((I=o.get("planned"))!=null&&I.has(s))&&!!(i&&i.indexOf(n)>-1),tooltip:"",rounded:!0},s)})},`${F}-${n}-planned`)]})),t.jsx("td",{children:o.has("yes")&&U.map(n=>{var i,a;const s=(i=o.get("yes"))==null?void 0:i.get(n),r=s?s.network_automation_specifics:null;return t.jsx(K,{year:n,active:!!((a=o.get("yes"))!=null&&a.has(n))&&!!(r&&r.length==0),tooltip:"",rounded:!0},n)})},`${F}-other-yes`),t.jsx("td",{children:o.has("planned")&&U.map(n=>{var i,a;const s=(i=o.get("planned"))==null?void 0:i.get(n),r=s?s.network_automation_specifics:null;return t.jsx(K,{year:n,active:!!((a=o.get("planned"))!=null&&a.has(n))&&!!(r&&r.length==0),tooltip:"",rounded:!0},n)})},`${F}-other-planned`)]},F)}),e[0]=l,e[1]=R,e[2]=Q,e[3]=p,e[4]=c,e[5]=m,e[6]=f,e[7]=x,e[8]=j,e[9]=u,e[10]=g,e[11]=w,e[12]=y,e[13]=_,e[14]=h,e[15]=d,e[16]=b,e[17]=S,e[18]=Y,e[19]=v}else m=e[5],f=e[6],x=e[7],j=e[8],u=e[9],g=e[10],w=e[11],y=e[12],_=e[13],h=e[14],d=e[15],b=e[16],S=e[17],Y=e[18],v=e[19];let N;e[47]!==j?(N=t.jsx("tbody",{children:j}),e[47]=j,e[48]=N):N=e[48];let k;e[49]!==m||e[50]!==u||e[51]!==N||e[52]!==y||e[53]!==_||e[54]!==h||e[55]!==d?(k=t.jsxs(m,{className:u,striped:y,bordered:_,children:[h,d,N]}),e[49]=m,e[50]=u,e[51]=N,e[52]=y,e[53]=_,e[54]=h,e[55]=d,e[56]=k):k=e[56];let P;e[57]!==f||e[58]!==k?(P=t.jsx(f,{children:k}),e[57]=f,e[58]=k,e[59]=P):P=e[59];let O;return e[60]!==x||e[61]!==g||e[62]!==w||e[63]!==P||e[64]!==b||e[65]!==S||e[66]!==Y||e[67]!==v?(O=t.jsx(x,{title:b,description:S,category:Y,filter:v,data:g,filename:w,children:P}),e[60]=x,e[61]=g,e[62]=w,e[63]=P,e[64]=b,e[65]=S,e[66]=Y,e[67]=v,e[68]=O):O=e[68],O}export{ge as default}; diff --git a/compendium_v2/static/Budget-BaNd2jtG.js b/compendium_v2/static/Budget-BaNd2jtG.js deleted file mode 100644 index b0aea864..00000000 --- a/compendium_v2/static/Budget-BaNd2jtG.js +++ /dev/null @@ -1 +0,0 @@ -import{a as _,r as S,F as j,j as s}from"./main-BIBsTO5W.js";import{L as v}from"./index-BBrAyDR9.js";import{C,a as R,L,P as w,b as D,p as F,c as P,d as B,u as M,e as O,D as T,F as G,f as Y}from"./useData-BDYwoQEh.js";import{S as k}from"./report.js";import{g as q}from"./charthelpers-CCaYPWnR.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";C.register(R,L,w,D,F,P,B);function K(){const e=_.c(24),{filterSelection:t,setFilterSelection:o}=S.useContext(j),{data:m,nrens:b}=M("/api/budget",o);let a,l;if(e[0]!==m||e[1]!==t.selectedNrens){let h;e[4]!==t.selectedNrens?(h=E=>t.selectedNrens.includes(E.nren),e[4]=t.selectedNrens,e[5]=h):h=e[5],a=m.filter(h),l=O(a,"budget"),e[0]=m,e[1]=t.selectedNrens,e[2]=a,e[3]=l}else a=e[2],l=e[3];const N=l;let c;e[6]===Symbol.for("react.memo_cache_sentinel")?(c=[],e[6]=c):c=e[6];let i;e[7]!==b?(i=b.values(),e[7]=b,e[8]=i):i=e[8];let r;e[9]!==i?(r={availableYears:c,availableNrens:[...i]},e[9]=i,e[10]=r):r=e[10];let d;e[11]!==t||e[12]!==o||e[13]!==r?(d=s.jsx(G,{filterOptions:r,filterSelection:t,setFilterSelection:o}),e[11]=t,e[12]=o,e[13]=r,e[14]=d):d=e[14];const y=d;let f;e[15]===Symbol.for("react.memo_cache_sentinel")?(f=q({title:"Budget in M€",tooltipUnit:"M€",unit:"M€"}),e[15]=f):f=e[15];const x=f;let g;e[16]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx("br",{}),e[16]=g):g=e[16];let p;e[17]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsxs("span",{children:["The graph shows NREN budgets per year (in millions Euro). When budgets are not per calendar year, the NREN is asked to provide figures of the budget that covers the largest part of the year, and to include any GÉANT subsidy they may receive.",g,"NRENs are free to decide how they define the part of their organisation dedicated to core NREN business, and the budget. The merging of different parts of a large NREN into a single organisation, with a single budget can lead to significant changes between years, as can receiving funding for specific time-bound projects.",s.jsx("br",{}),"Hovering over the graph data points shows the NREN budget for the year. Gaps indicate that the budget question was not filled in for a particular year."]}),e[17]=p):p=e[17];let n;e[18]!==N?(n=s.jsx(Y,{children:s.jsx(v,{data:N,options:x})}),e[18]=N,e[19]=n):n=e[19];let u;return e[20]!==y||e[21]!==a||e[22]!==n?(u=s.jsx(T,{title:"Budget of NRENs per Year",description:p,category:k.Organisation,filter:y,data:a,filename:"budget_data",children:n}),e[20]=y,e[21]=a,e[22]=n,e[23]=u):u=e[23],u}export{K as default}; diff --git a/compendium_v2/static/Budget-Dcza_nDS.js b/compendium_v2/static/Budget-Dcza_nDS.js new file mode 100644 index 00000000..130a2538 --- /dev/null +++ b/compendium_v2/static/Budget-Dcza_nDS.js @@ -0,0 +1 @@ +import{c as _,r as S,F as j,j as s,S as v}from"./index.js";import{L as C}from"./index-BJrPLJgf.js";import{C as R,a as L,L as w,P as D,b as F,p as P,c as B,d as M,u as O,e as T,D as G,F as Y,f as k}from"./useData-C0vA-Ut8.js";import{g as q}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";R.register(L,w,D,F,P,B,M);function K(){const e=_.c(24),{filterSelection:t,setFilterSelection:o}=S.useContext(j),{data:m,nrens:b}=O("/api/budget",o);let a,l;if(e[0]!==m||e[1]!==t.selectedNrens){let h;e[4]!==t.selectedNrens?(h=E=>t.selectedNrens.includes(E.nren),e[4]=t.selectedNrens,e[5]=h):h=e[5],a=m.filter(h),l=T(a,"budget"),e[0]=m,e[1]=t.selectedNrens,e[2]=a,e[3]=l}else a=e[2],l=e[3];const N=l;let c;e[6]===Symbol.for("react.memo_cache_sentinel")?(c=[],e[6]=c):c=e[6];let i;e[7]!==b?(i=b.values(),e[7]=b,e[8]=i):i=e[8];let r;e[9]!==i?(r={availableYears:c,availableNrens:[...i]},e[9]=i,e[10]=r):r=e[10];let d;e[11]!==t||e[12]!==o||e[13]!==r?(d=s.jsx(Y,{filterOptions:r,filterSelection:t,setFilterSelection:o}),e[11]=t,e[12]=o,e[13]=r,e[14]=d):d=e[14];const y=d;let f;e[15]===Symbol.for("react.memo_cache_sentinel")?(f=q({title:"Budget in M€",tooltipUnit:"M€",unit:"M€"}),e[15]=f):f=e[15];const x=f;let g;e[16]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx("br",{}),e[16]=g):g=e[16];let p;e[17]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsxs("span",{children:["The graph shows NREN budgets per year (in millions Euro). When budgets are not per calendar year, the NREN is asked to provide figures of the budget that covers the largest part of the year, and to include any GÉANT subsidy they may receive.",g,"NRENs are free to decide how they define the part of their organisation dedicated to core NREN business, and the budget. The merging of different parts of a large NREN into a single organisation, with a single budget can lead to significant changes between years, as can receiving funding for specific time-bound projects.",s.jsx("br",{}),"Hovering over the graph data points shows the NREN budget for the year. Gaps indicate that the budget question was not filled in for a particular year."]}),e[17]=p):p=e[17];let n;e[18]!==N?(n=s.jsx(k,{children:s.jsx(C,{data:N,options:x})}),e[18]=N,e[19]=n):n=e[19];let u;return e[20]!==y||e[21]!==a||e[22]!==n?(u=s.jsx(G,{title:"Budget of NRENs per Year",description:p,category:v.Organisation,filter:y,data:a,filename:"budget_data",children:n}),e[20]=y,e[21]=a,e[22]=n,e[23]=u):u=e[23],u}export{K as default}; diff --git a/compendium_v2/static/BusinessContinuity-BhppOK3E.js b/compendium_v2/static/BusinessContinuity-BhppOK3E.js deleted file mode 100644 index 6979952e..00000000 --- a/compendium_v2/static/BusinessContinuity-BhppOK3E.js +++ /dev/null @@ -1,5 +0,0 @@ -import{a as v,r as C,F as E,j as y}from"./main-BIBsTO5W.js";import{u as S,g as j,n as F,D as P,F as R,f as D}from"./useData-BDYwoQEh.js";import{S as L}from"./report.js";import{P as B}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function K(){const e=v.c(30);let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=u=>u.business_continuity_plans!==null,e[0]=s):s=e[0];const k=s,{filterSelection:t,setFilterSelection:p}=C.useContext(E),{data:b,years:_,nrens:N}=S("/api/standards",p,k);let n,d;if(e[1]!==b||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let u;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(u=g=>t.selectedYears.includes(g.year)&&t.selectedNrens.includes(g.nren)&&g.business_continuity_plans!==null,e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=u):u=e[8],n=b.filter(u);const Y=j(n,"business_continuity_plans");d=F(Y,M),e[1]=b,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=n,e[5]=d}else n=e[4],d=e[5];const x=d;let i,f;e[9]===Symbol.for("react.memo_cache_sentinel")?(i=["Yes","No"],f=new Map([[i[0],"True"],[i[1],"False"]]),e[9]=i,e[10]=f):(i=e[9],f=e[10]);const w=f;let l;e[11]!==_?(l=[..._],e[11]=_,e[12]=l):l=e[12];let o;e[13]!==N?(o=N.values(),e[13]=N,e[14]=o):o=e[14];let a;e[15]!==o?(a=[...o],e[15]=o,e[16]=a):a=e[16];let r;e[17]!==l||e[18]!==a?(r={availableYears:l,availableNrens:a},e[17]=l,e[18]=a,e[19]=r):r=e[19];let m;e[20]!==t||e[21]!==p||e[22]!==r?(m=y.jsx(R,{filterOptions:r,filterSelection:t,setFilterSelection:p,coloredYears:!0}),e[20]=t,e[21]=p,e[22]=r,e[23]=m):m=e[23];const T=m;let c;e[24]!==x?(c=y.jsx(D,{children:y.jsx(B,{columns:i,columnLookup:w,dataLookup:x})}),e[24]=x,e[25]=c):c=e[25];let h;return e[26]!==T||e[27]!==n||e[28]!==c?(h=y.jsx(P,{title:"NREN Business Continuity Planning",description:`The table below shows which NRENs have business continuity plans in place to - ensure business continuation and operations. Extra details about whether the NREN - complies with any international standards, and whether they test the continuity plans - regularly can be seen by hovering over the marker. The presence of this extra information - is denoted by a black ring around the marker.`,category:L.Policy,filter:T,data:n,filename:"business_continuity_nrens_per_year",children:c}),e[26]=T,e[27]=n,e[28]=c,e[29]=h):h=e[29],h}function M(e,s){if(s.business_continuity_plans_specifics)return s.business_continuity_plans_specifics}export{K as default}; diff --git a/compendium_v2/static/BusinessContinuity-WayIenw9.js b/compendium_v2/static/BusinessContinuity-WayIenw9.js new file mode 100644 index 00000000..efb4117c --- /dev/null +++ b/compendium_v2/static/BusinessContinuity-WayIenw9.js @@ -0,0 +1,5 @@ +import{c as v,r as C,F as E,j as y,S}from"./index.js";import{u as j,g as F,n as P,D as R,F as D,f as L}from"./useData-C0vA-Ut8.js";import{P as B}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function K(){const e=v.c(30);let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=u=>u.business_continuity_plans!==null,e[0]=s):s=e[0];const k=s,{filterSelection:t,setFilterSelection:p}=C.useContext(E),{data:b,years:_,nrens:N}=j("/api/standards",p,k);let n,d;if(e[1]!==b||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let u;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(u=g=>t.selectedYears.includes(g.year)&&t.selectedNrens.includes(g.nren)&&g.business_continuity_plans!==null,e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=u):u=e[8],n=b.filter(u);const Y=F(n,"business_continuity_plans");d=P(Y,M),e[1]=b,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=n,e[5]=d}else n=e[4],d=e[5];const x=d;let i,f;e[9]===Symbol.for("react.memo_cache_sentinel")?(i=["Yes","No"],f=new Map([[i[0],"True"],[i[1],"False"]]),e[9]=i,e[10]=f):(i=e[9],f=e[10]);const w=f;let l;e[11]!==_?(l=[..._],e[11]=_,e[12]=l):l=e[12];let o;e[13]!==N?(o=N.values(),e[13]=N,e[14]=o):o=e[14];let a;e[15]!==o?(a=[...o],e[15]=o,e[16]=a):a=e[16];let r;e[17]!==l||e[18]!==a?(r={availableYears:l,availableNrens:a},e[17]=l,e[18]=a,e[19]=r):r=e[19];let m;e[20]!==t||e[21]!==p||e[22]!==r?(m=y.jsx(D,{filterOptions:r,filterSelection:t,setFilterSelection:p,coloredYears:!0}),e[20]=t,e[21]=p,e[22]=r,e[23]=m):m=e[23];const T=m;let c;e[24]!==x?(c=y.jsx(L,{children:y.jsx(B,{columns:i,columnLookup:w,dataLookup:x})}),e[24]=x,e[25]=c):c=e[25];let h;return e[26]!==T||e[27]!==n||e[28]!==c?(h=y.jsx(R,{title:"NREN Business Continuity Planning",description:`The table below shows which NRENs have business continuity plans in place to + ensure business continuation and operations. Extra details about whether the NREN + complies with any international standards, and whether they test the continuity plans + regularly can be seen by hovering over the marker. The presence of this extra information + is denoted by a black ring around the marker.`,category:S.Policy,filter:T,data:n,filename:"business_continuity_nrens_per_year",children:c}),e[26]=T,e[27]=n,e[28]=c,e[29]=h):h=e[29],h}function M(e,s){if(s.business_continuity_plans_specifics)return s.business_continuity_plans_specifics}export{K as default}; diff --git a/compendium_v2/static/CapacityCoreIP-BzYm9HBi.js b/compendium_v2/static/CapacityCoreIP-BzYm9HBi.js deleted file mode 100644 index c794933d..00000000 --- a/compendium_v2/static/CapacityCoreIP-BzYm9HBi.js +++ /dev/null @@ -1,3 +0,0 @@ -import{a as I,r as D,F,j as y}from"./main-BIBsTO5W.js";import{B as R}from"./index-BBrAyDR9.js";import{C as Y,a as G,L,B as O,p as $,c as A,d as M,u as T,o as U,D as q,F as z,f as H}from"./useData-BDYwoQEh.js";import{S as J}from"./report.js";import{p as K}from"./chartjs-plugin-datalabels.esm-D8EJYoxA.js";import{a as Q}from"./charthelpers-CCaYPWnR.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";Y.register(G,L,O,$,A,M);function re(){const e=I.c(39);let b;e[0]===Symbol.for("react.memo_cache_sentinel")?(b=n=>n.typical_backbone_capacity!=null,e[0]=b):b=e[0];const B=b,{filterSelection:t,setFilterSelection:s}=D.useContext(F),{data:S,years:d,nrens:u}=T("/api/capacity",s,B);let i,l,a,g;if(e[1]!==S||e[2]!==t||e[3]!==u||e[4]!==s||e[5]!==d){let n;e[10]!==t.selectedNrens||e[11]!==t.selectedYears?(n=j=>t.selectedYears.includes(j.year)&&t.selectedNrens.includes(j.nren)&&B(j),e[10]=t.selectedNrens,e[11]=t.selectedYears,e[12]=n):n=e[12],a=S.filter(n),i=U(a,"typical_backbone_capacity","Backbone IP Capacity");let p;e[13]!==d?(p=[...d],e[13]=d,e[14]=p):p=e[14];let f;e[15]!==u?(f=u.values(),e[15]=u,e[16]=f):f=e[16];let m;e[17]!==f?(m=[...f],e[17]=f,e[18]=m):m=e[18];let h;e[19]!==p||e[20]!==m?(h={availableYears:p,availableNrens:m},e[19]=p,e[20]=m,e[21]=h):h=e[21];let N;e[22]!==t||e[23]!==s||e[24]!==h?(N=y.jsx(z,{filterOptions:h,filterSelection:t,setFilterSelection:s}),e[22]=t,e[23]=s,e[24]=h,e[25]=N):N=e[25],l=N,g=Array.from(new Set(a.map(V))),e[1]=S,e[2]=t,e[3]=u,e[4]=s,e[5]=d,e[6]=i,e[7]=l,e[8]=a,e[9]=g}else i=e[6],l=e[7],a=e[8],g=e[9];const E=g.length,P=Math.max(E*t.selectedYears.length*1.5+5,50),v=`The graph below shows the typical core usable backbone IP capacity of - NREN networks, expressed in Gbit/s. It refers to the circuit capacity, not the traffic over - the network.`;let C;e[26]===Symbol.for("react.memo_cache_sentinel")?(C=Q({title:"NREN Core IP Capacity",tooltipUnit:"Gbit/s",unit:"Gbit/s"}),e[26]=C):C=e[26];const w=C,k=`${P}rem`;let r;e[27]!==k?(r={height:k},e[27]=k,e[28]=r):r=e[28];let _;e[29]===Symbol.for("react.memo_cache_sentinel")?(_=[K],e[29]=_):_=e[29];let o;e[30]!==i?(o=y.jsx(R,{data:i,options:w,plugins:_}),e[30]=i,e[31]=o):o=e[31];let c;e[32]!==r||e[33]!==o?(c=y.jsx(H,{children:y.jsx("div",{className:"chart-container",style:r,children:o})}),e[32]=r,e[33]=o,e[34]=c):c=e[34];let x;return e[35]!==l||e[36]!==a||e[37]!==c?(x=y.jsx(q,{title:"NREN Core IP Capacity",description:v,category:J.Network,filter:l,data:a,filename:"capacity_core_ip",children:c}),e[35]=l,e[36]=a,e[37]=c,e[38]=x):x=e[38],x}function V(e){return e.nren}export{re as default}; diff --git a/compendium_v2/static/CapacityCoreIP-DyN3YGAW.js b/compendium_v2/static/CapacityCoreIP-DyN3YGAW.js new file mode 100644 index 00000000..3e090369 --- /dev/null +++ b/compendium_v2/static/CapacityCoreIP-DyN3YGAW.js @@ -0,0 +1,3 @@ +import{c as I,r as D,F,j as y,S as R}from"./index.js";import{B as Y}from"./index-BJrPLJgf.js";import{C as G,a as L,L as O,B as $,p as A,c as M,d as T,u as U,o as q,D as z,F as H,f as J}from"./useData-C0vA-Ut8.js";import{p as K}from"./chartjs-plugin-datalabels.esm-BObV249o.js";import{a as Q}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";G.register(L,O,$,A,M,T);function re(){const e=I.c(39);let b;e[0]===Symbol.for("react.memo_cache_sentinel")?(b=n=>n.typical_backbone_capacity!=null,e[0]=b):b=e[0];const B=b,{filterSelection:t,setFilterSelection:s}=D.useContext(F),{data:S,years:d,nrens:u}=U("/api/capacity",s,B);let i,l,a,g;if(e[1]!==S||e[2]!==t||e[3]!==u||e[4]!==s||e[5]!==d){let n;e[10]!==t.selectedNrens||e[11]!==t.selectedYears?(n=j=>t.selectedYears.includes(j.year)&&t.selectedNrens.includes(j.nren)&&B(j),e[10]=t.selectedNrens,e[11]=t.selectedYears,e[12]=n):n=e[12],a=S.filter(n),i=q(a,"typical_backbone_capacity","Backbone IP Capacity");let p;e[13]!==d?(p=[...d],e[13]=d,e[14]=p):p=e[14];let f;e[15]!==u?(f=u.values(),e[15]=u,e[16]=f):f=e[16];let m;e[17]!==f?(m=[...f],e[17]=f,e[18]=m):m=e[18];let h;e[19]!==p||e[20]!==m?(h={availableYears:p,availableNrens:m},e[19]=p,e[20]=m,e[21]=h):h=e[21];let N;e[22]!==t||e[23]!==s||e[24]!==h?(N=y.jsx(H,{filterOptions:h,filterSelection:t,setFilterSelection:s}),e[22]=t,e[23]=s,e[24]=h,e[25]=N):N=e[25],l=N,g=Array.from(new Set(a.map(V))),e[1]=S,e[2]=t,e[3]=u,e[4]=s,e[5]=d,e[6]=i,e[7]=l,e[8]=a,e[9]=g}else i=e[6],l=e[7],a=e[8],g=e[9];const E=g.length,P=Math.max(E*t.selectedYears.length*1.5+5,50),v=`The graph below shows the typical core usable backbone IP capacity of + NREN networks, expressed in Gbit/s. It refers to the circuit capacity, not the traffic over + the network.`;let C;e[26]===Symbol.for("react.memo_cache_sentinel")?(C=Q({title:"NREN Core IP Capacity",tooltipUnit:"Gbit/s",unit:"Gbit/s"}),e[26]=C):C=e[26];const w=C,k=`${P}rem`;let r;e[27]!==k?(r={height:k},e[27]=k,e[28]=r):r=e[28];let _;e[29]===Symbol.for("react.memo_cache_sentinel")?(_=[K],e[29]=_):_=e[29];let c;e[30]!==i?(c=y.jsx(Y,{data:i,options:w,plugins:_}),e[30]=i,e[31]=c):c=e[31];let o;e[32]!==r||e[33]!==c?(o=y.jsx(J,{children:y.jsx("div",{className:"chart-container",style:r,children:c})}),e[32]=r,e[33]=c,e[34]=o):o=e[34];let x;return e[35]!==l||e[36]!==a||e[37]!==o?(x=y.jsx(z,{title:"NREN Core IP Capacity",description:v,category:R.Network,filter:l,data:a,filename:"capacity_core_ip",children:o}),e[35]=l,e[36]=a,e[37]=o,e[38]=x):x=e[38],x}function V(e){return e.nren}export{re as default}; diff --git a/compendium_v2/static/CapacityLargestLink-CchKWKUR.js b/compendium_v2/static/CapacityLargestLink-CchKWKUR.js deleted file mode 100644 index c1436b62..00000000 --- a/compendium_v2/static/CapacityLargestLink-CchKWKUR.js +++ /dev/null @@ -1,3 +0,0 @@ -import{a as D,r as F,F as R,j as u}from"./main-BIBsTO5W.js";import{B as Y}from"./index-BBrAyDR9.js";import{C as G,a as O,L as P,B as $,p as A,c as M,d as U,u as W,o as q,D as z,F as H,f as I}from"./useData-BDYwoQEh.js";import{S as J}from"./report.js";import{p as K}from"./chartjs-plugin-datalabels.esm-D8EJYoxA.js";import{a as Q}from"./charthelpers-CCaYPWnR.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";G.register(O,P,$,A,M,U);function le(){const e=D.c(39);let y;e[0]===Symbol.for("react.memo_cache_sentinel")?(y=c=>c.largest_link_capacity!=null,e[0]=y):y=e[0];const v=y,{filterSelection:t,setFilterSelection:i}=F.useContext(R),{data:S,years:h,nrens:g}=W("/api/capacity",i,v);let s,r,a,k;if(e[1]!==S||e[2]!==t||e[3]!==g||e[4]!==i||e[5]!==h){let c;e[10]!==t.selectedNrens||e[11]!==t.selectedYears?(c=L=>t.selectedYears.includes(L.year)&&t.selectedNrens.includes(L.nren)&&v(L),e[10]=t.selectedNrens,e[11]=t.selectedYears,e[12]=c):c=e[12],a=S.filter(c),s=q(a,"largest_link_capacity","Link capacity");let p;e[13]!==h?(p=[...h],e[13]=h,e[14]=p):p=e[14];let f;e[15]!==g?(f=g.values(),e[15]=g,e[16]=f):f=e[16];let m;e[17]!==f?(m=[...f],e[17]=f,e[18]=m):m=e[18];let d;e[19]!==p||e[20]!==m?(d={availableYears:p,availableNrens:m},e[19]=p,e[20]=m,e[21]=d):d=e[21];let C;e[22]!==t||e[23]!==i||e[24]!==d?(C=u.jsx(H,{filterOptions:d,filterSelection:t,setFilterSelection:i}),e[22]=t,e[23]=i,e[24]=d,e[25]=C):C=e[25],r=C,k=Array.from(new Set(a.map(T))),e[1]=S,e[2]=t,e[3]=g,e[4]=i,e[5]=h,e[6]=s,e[7]=r,e[8]=a,e[9]=k}else s=e[6],r=e[7],a=e[8],k=e[9];const w=k.length,j=Math.max(w*t.selectedYears.length*1.5+5,50),E=`NRENs were asked to give the capacity (in Gbits/s) of the largest link in - their network used for internet traffic (either shared or dedicated). While they were invited to - provide the sum of aggregated links, backup capacity was not to be included.`;let N;e[26]===Symbol.for("react.memo_cache_sentinel")?(N=Q({title:"Capacity of the Largest Link in an NREN Network",tooltipUnit:"Gbit/s",unit:"Gbit/s"}),e[26]=N):N=e[26];const B=N,b=`${j}rem`;let l;e[27]!==b?(l={height:b},e[27]=b,e[28]=l):l=e[28];let _;e[29]===Symbol.for("react.memo_cache_sentinel")?(_=[K],e[29]=_):_=e[29];let n;e[30]!==s?(n=u.jsx(Y,{data:s,options:B,plugins:_}),e[30]=s,e[31]=n):n=e[31];let o;e[32]!==l||e[33]!==n?(o=u.jsx(I,{children:u.jsx("div",{className:"chart-container",style:l,children:n})}),e[32]=l,e[33]=n,e[34]=o):o=e[34];let x;return e[35]!==r||e[36]!==a||e[37]!==o?(x=u.jsx(z,{title:"Capacity of the Largest Link in an NREN Network",description:E,category:J.Network,filter:r,data:a,filename:"capacity_largest_link",children:o}),e[35]=r,e[36]=a,e[37]=o,e[38]=x):x=e[38],x}function T(e){return e.nren}export{le as default}; diff --git a/compendium_v2/static/CapacityLargestLink-Dk26I_at.js b/compendium_v2/static/CapacityLargestLink-Dk26I_at.js new file mode 100644 index 00000000..a66dbf40 --- /dev/null +++ b/compendium_v2/static/CapacityLargestLink-Dk26I_at.js @@ -0,0 +1,3 @@ +import{c as D,r as F,F as R,j as u,S as Y}from"./index.js";import{B as G}from"./index-BJrPLJgf.js";import{C as O,a as P,L as $,B as A,p as M,c as U,d as W,u as q,o as z,D as H,F as I,f as J}from"./useData-C0vA-Ut8.js";import{p as K}from"./chartjs-plugin-datalabels.esm-BObV249o.js";import{a as Q}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";O.register(P,$,A,M,U,W);function re(){const e=D.c(39);let y;e[0]===Symbol.for("react.memo_cache_sentinel")?(y=c=>c.largest_link_capacity!=null,e[0]=y):y=e[0];const v=y,{filterSelection:t,setFilterSelection:i}=F.useContext(R),{data:S,years:h,nrens:g}=q("/api/capacity",i,v);let s,l,a,k;if(e[1]!==S||e[2]!==t||e[3]!==g||e[4]!==i||e[5]!==h){let c;e[10]!==t.selectedNrens||e[11]!==t.selectedYears?(c=L=>t.selectedYears.includes(L.year)&&t.selectedNrens.includes(L.nren)&&v(L),e[10]=t.selectedNrens,e[11]=t.selectedYears,e[12]=c):c=e[12],a=S.filter(c),s=z(a,"largest_link_capacity","Link capacity");let p;e[13]!==h?(p=[...h],e[13]=h,e[14]=p):p=e[14];let f;e[15]!==g?(f=g.values(),e[15]=g,e[16]=f):f=e[16];let m;e[17]!==f?(m=[...f],e[17]=f,e[18]=m):m=e[18];let d;e[19]!==p||e[20]!==m?(d={availableYears:p,availableNrens:m},e[19]=p,e[20]=m,e[21]=d):d=e[21];let C;e[22]!==t||e[23]!==i||e[24]!==d?(C=u.jsx(I,{filterOptions:d,filterSelection:t,setFilterSelection:i}),e[22]=t,e[23]=i,e[24]=d,e[25]=C):C=e[25],l=C,k=Array.from(new Set(a.map(T))),e[1]=S,e[2]=t,e[3]=g,e[4]=i,e[5]=h,e[6]=s,e[7]=l,e[8]=a,e[9]=k}else s=e[6],l=e[7],a=e[8],k=e[9];const w=k.length,j=Math.max(w*t.selectedYears.length*1.5+5,50),E=`NRENs were asked to give the capacity (in Gbits/s) of the largest link in + their network used for internet traffic (either shared or dedicated). While they were invited to + provide the sum of aggregated links, backup capacity was not to be included.`;let N;e[26]===Symbol.for("react.memo_cache_sentinel")?(N=Q({title:"Capacity of the Largest Link in an NREN Network",tooltipUnit:"Gbit/s",unit:"Gbit/s"}),e[26]=N):N=e[26];const B=N,b=`${j}rem`;let r;e[27]!==b?(r={height:b},e[27]=b,e[28]=r):r=e[28];let _;e[29]===Symbol.for("react.memo_cache_sentinel")?(_=[K],e[29]=_):_=e[29];let n;e[30]!==s?(n=u.jsx(G,{data:s,options:B,plugins:_}),e[30]=s,e[31]=n):n=e[31];let o;e[32]!==r||e[33]!==n?(o=u.jsx(J,{children:u.jsx("div",{className:"chart-container",style:r,children:n})}),e[32]=r,e[33]=n,e[34]=o):o=e[34];let x;return e[35]!==l||e[36]!==a||e[37]!==o?(x=u.jsx(H,{title:"Capacity of the Largest Link in an NREN Network",description:E,category:Y.Network,filter:l,data:a,filename:"capacity_largest_link",children:o}),e[35]=l,e[36]=a,e[37]=o,e[38]=x):x=e[38],x}function T(e){return e.nren}export{re as default}; diff --git a/compendium_v2/static/CentralProcurement-BK_KYdQw.js b/compendium_v2/static/CentralProcurement-BK_KYdQw.js deleted file mode 100644 index 22cedba5..00000000 --- a/compendium_v2/static/CentralProcurement-BK_KYdQw.js +++ /dev/null @@ -1 +0,0 @@ -import{a as F,r as Y,F as I,j as h}from"./main-BIBsTO5W.js";import{C as T,a as V,L as $,B as L,p as O,c as k,d as A,u as M,o as U,D as Z,F as q,f as z}from"./useData-BDYwoQEh.js";import{p as G}from"./chartjs-plugin-datalabels.esm-D8EJYoxA.js";import{B as H}from"./index-BBrAyDR9.js";import{a as J}from"./charthelpers-CCaYPWnR.js";import{S as K}from"./report.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";T.register(V,$,L,O,k,A);function ne(){const e=F.c(40);let g;e[0]===Symbol.for("react.memo_cache_sentinel")?(g=s=>s.amount!=null,e[0]=g):g=e[0];const v=g,{filterSelection:t,setFilterSelection:l}=Y.useContext(I),{data:w,years:d,nrens:y}=M("/api/central-procurement",l,v);let o,n,r,N;if(e[1]!==w||e[2]!==t||e[3]!==y||e[4]!==l||e[5]!==d){let s;e[10]!==t.selectedNrens||e[11]!==t.selectedYears?(s=j=>t.selectedYears.includes(j.year)&&t.selectedNrens.includes(j.nren),e[10]=t.selectedNrens,e[11]=t.selectedYears,e[12]=s):s=e[12],r=w.filter(s),o=U(r,"amount","Procurement Value");let a;e[13]!==d?(a=[...d],e[13]=d,e[14]=a):a=e[14];let f;e[15]!==y?(f=y.values(),e[15]=y,e[16]=f):f=e[16];let u;e[17]!==f?(u=[...f],e[17]=f,e[18]=u):u=e[18];let p;e[19]!==a||e[20]!==u?(p={availableYears:a,availableNrens:u},e[19]=a,e[20]=u,e[21]=p):p=e[21];let b;e[22]!==t||e[23]!==l||e[24]!==p?(b=h.jsx(q,{filterOptions:p,filterSelection:t,setFilterSelection:l}),e[22]=t,e[23]=l,e[24]=p,e[25]=b):b=e[25],n=b,N=Array.from(new Set(r.map(Q))),e[1]=w,e[2]=t,e[3]=y,e[4]=l,e[5]=d,e[6]=o,e[7]=n,e[8]=r,e[9]=N}else o=e[6],n=e[7],r=e[8],N=e[9];const P=N.length,R=Math.max(P*t.selectedYears.length*1.5+5,50);let S;e[26]===Symbol.for("react.memo_cache_sentinel")?(S=h.jsx("span",{children:"Some NRENs centrally procure software for their customers. The graph below shows the total value (in Euro) of software procured in the previous year by the NRENs. Please note you can only see the select NRENs which carry out this type of procurement. Those who do not offer this are not selectable."}),e[26]=S):S=e[26];const B=S;let x;e[27]===Symbol.for("react.memo_cache_sentinel")?(x=J({title:"Software Procurement Value",valueTransform(s){return`${new Intl.NumberFormat(void 0,{style:"currency",currency:"EUR",trailingZeroDisplay:"stripIfInteger"}).format(s)}`}}),e[27]=x):x=e[27];const D=x,E=`${R}rem`;let i;e[28]!==E?(i={height:E},e[28]=E,e[29]=i):i=e[29];let _;e[30]===Symbol.for("react.memo_cache_sentinel")?(_=[G],e[30]=_):_=e[30];let c;e[31]!==o?(c=h.jsx(H,{data:o,options:D,plugins:_}),e[31]=o,e[32]=c):c=e[32];let m;e[33]!==i||e[34]!==c?(m=h.jsx(z,{children:h.jsx("div",{className:"chart-container",style:i,children:c})}),e[33]=i,e[34]=c,e[35]=m):m=e[35];let C;return e[36]!==n||e[37]!==r||e[38]!==m?(C=h.jsx(Z,{title:"Value of Software Procured for Customers by NRENs",description:B,category:K.Policy,filter:n,data:r,filename:"central_procurement",children:m}),e[36]=n,e[37]=r,e[38]=m,e[39]=C):C=e[39],C}function Q(e){return e.nren}export{ne as default}; diff --git a/compendium_v2/static/CentralProcurement-ILLJKzCj.js b/compendium_v2/static/CentralProcurement-ILLJKzCj.js new file mode 100644 index 00000000..89b923a3 --- /dev/null +++ b/compendium_v2/static/CentralProcurement-ILLJKzCj.js @@ -0,0 +1 @@ +import{c as F,r as Y,F as I,j as h,S as T}from"./index.js";import{C as V,a as $,L,B as O,p as k,c as A,d as M,u as U,o as Z,D as q,F as z,f as G}from"./useData-C0vA-Ut8.js";import{p as H}from"./chartjs-plugin-datalabels.esm-BObV249o.js";import{B as J}from"./index-BJrPLJgf.js";import{a as K}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";V.register($,L,O,k,A,M);function ne(){const e=F.c(40);let g;e[0]===Symbol.for("react.memo_cache_sentinel")?(g=s=>s.amount!=null,e[0]=g):g=e[0];const v=g,{filterSelection:t,setFilterSelection:l}=Y.useContext(I),{data:w,years:d,nrens:y}=U("/api/central-procurement",l,v);let o,n,r,N;if(e[1]!==w||e[2]!==t||e[3]!==y||e[4]!==l||e[5]!==d){let s;e[10]!==t.selectedNrens||e[11]!==t.selectedYears?(s=j=>t.selectedYears.includes(j.year)&&t.selectedNrens.includes(j.nren),e[10]=t.selectedNrens,e[11]=t.selectedYears,e[12]=s):s=e[12],r=w.filter(s),o=Z(r,"amount","Procurement Value");let a;e[13]!==d?(a=[...d],e[13]=d,e[14]=a):a=e[14];let f;e[15]!==y?(f=y.values(),e[15]=y,e[16]=f):f=e[16];let u;e[17]!==f?(u=[...f],e[17]=f,e[18]=u):u=e[18];let p;e[19]!==a||e[20]!==u?(p={availableYears:a,availableNrens:u},e[19]=a,e[20]=u,e[21]=p):p=e[21];let b;e[22]!==t||e[23]!==l||e[24]!==p?(b=h.jsx(z,{filterOptions:p,filterSelection:t,setFilterSelection:l}),e[22]=t,e[23]=l,e[24]=p,e[25]=b):b=e[25],n=b,N=Array.from(new Set(r.map(Q))),e[1]=w,e[2]=t,e[3]=y,e[4]=l,e[5]=d,e[6]=o,e[7]=n,e[8]=r,e[9]=N}else o=e[6],n=e[7],r=e[8],N=e[9];const P=N.length,R=Math.max(P*t.selectedYears.length*1.5+5,50);let S;e[26]===Symbol.for("react.memo_cache_sentinel")?(S=h.jsx("span",{children:"Some NRENs centrally procure software for their customers. The graph below shows the total value (in Euro) of software procured in the previous year by the NRENs. Please note you can only see the select NRENs which carry out this type of procurement. Those who do not offer this are not selectable."}),e[26]=S):S=e[26];const B=S;let x;e[27]===Symbol.for("react.memo_cache_sentinel")?(x=K({title:"Software Procurement Value",valueTransform(s){return`${new Intl.NumberFormat(void 0,{style:"currency",currency:"EUR",trailingZeroDisplay:"stripIfInteger"}).format(s)}`}}),e[27]=x):x=e[27];const D=x,E=`${R}rem`;let i;e[28]!==E?(i={height:E},e[28]=E,e[29]=i):i=e[29];let _;e[30]===Symbol.for("react.memo_cache_sentinel")?(_=[H],e[30]=_):_=e[30];let c;e[31]!==o?(c=h.jsx(J,{data:o,options:D,plugins:_}),e[31]=o,e[32]=c):c=e[32];let m;e[33]!==i||e[34]!==c?(m=h.jsx(G,{children:h.jsx("div",{className:"chart-container",style:i,children:c})}),e[33]=i,e[34]=c,e[35]=m):m=e[35];let C;return e[36]!==n||e[37]!==r||e[38]!==m?(C=h.jsx(q,{title:"Value of Software Procured for Customers by NRENs",description:B,category:T.Policy,filter:n,data:r,filename:"central_procurement",children:m}),e[36]=n,e[37]=r,e[38]=m,e[39]=C):C=e[39],C}function Q(e){return e.nren}export{ne as default}; diff --git a/compendium_v2/static/CertificateProvider-4SfZ4yzo.js b/compendium_v2/static/CertificateProvider-4SfZ4yzo.js new file mode 100644 index 00000000..de019edc --- /dev/null +++ b/compendium_v2/static/CertificateProvider-4SfZ4yzo.js @@ -0,0 +1 @@ +import{c as _,r as E,F as Y,j as N,S as j}from"./index.js";import{u as k,g as D,D as P,F as T,f as w}from"./useData-C0vA-Ut8.js";import{P as F}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function B(){const e=_.c(29),{filterSelection:t,setFilterSelection:c}=E.useContext(Y),{data:S,years:x,nrens:b}=k("/api/certificate-providers",c);let s,n;if(e[0]!==S||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=y=>t.selectedYears.includes(y.year)&&t.selectedNrens.includes(y.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],s=S.filter(u),n=D(s,"provider_names"),e[0]=S,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=n}else s=e[3],n=e[4];const C=n;let r;e[8]!==x?(r=[...x],e[8]=x,e[9]=r):r=e[9];let i;e[10]!==b?(i=b.values(),e[10]=b,e[11]=i):i=e[11];let l;e[12]!==i?(l=[...i],e[12]=i,e[13]=l):l=e[13];let o;e[14]!==r||e[15]!==l?(o={availableYears:r,availableNrens:l},e[14]=r,e[15]=l,e[16]=o):o=e[16];let f;e[17]!==t||e[18]!==c||e[19]!==o?(f=N.jsx(T,{filterOptions:o,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[17]=t,e[18]=c,e[19]=o,e[20]=f):f=e[20];const v=f;let d;e[21]===Symbol.for("react.memo_cache_sentinel")?(d=["TCS","Digicert","Sectigo (outside of TCS)","Let's Encrypt","Entrust Datacard"],e[21]=d):d=e[21];const g=d;let p;e[22]===Symbol.for("react.memo_cache_sentinel")?(p=new Map([["Sectigo (outside of TCS)","Sectigo"]]),e[22]=p):p=e[22];const h=p;let a;e[23]!==C?(a=N.jsx(w,{children:N.jsx(F,{columns:g,dataLookup:C,circle:!0,columnLookup:h})}),e[23]=C,e[24]=a):a=e[24];let m;return e[25]!==v||e[26]!==s||e[27]!==a?(m=N.jsx(P,{title:"Certification Services used by NRENs ",description:"The table below shows the kinds of Network Certificate Providers used by NRENs.",category:j.Network,filter:v,data:s,filename:"certificate_provider_nrens_per_year",children:a}),e[25]=v,e[26]=s,e[27]=a,e[28]=m):m=e[28],m}export{B as default}; diff --git a/compendium_v2/static/CertificateProvider-B2MBeNfh.js b/compendium_v2/static/CertificateProvider-B2MBeNfh.js deleted file mode 100644 index da4dd53c..00000000 --- a/compendium_v2/static/CertificateProvider-B2MBeNfh.js +++ /dev/null @@ -1 +0,0 @@ -import{a as _,r as E,F as Y,j as N}from"./main-BIBsTO5W.js";import{u as j,g as k,D,F as P,f as T}from"./useData-BDYwoQEh.js";import{S as w}from"./report.js";import{P as F}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function B(){const e=_.c(29),{filterSelection:t,setFilterSelection:c}=E.useContext(Y),{data:S,years:x,nrens:b}=j("/api/certificate-providers",c);let s,n;if(e[0]!==S||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=y=>t.selectedYears.includes(y.year)&&t.selectedNrens.includes(y.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],s=S.filter(u),n=k(s,"provider_names"),e[0]=S,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=n}else s=e[3],n=e[4];const C=n;let r;e[8]!==x?(r=[...x],e[8]=x,e[9]=r):r=e[9];let i;e[10]!==b?(i=b.values(),e[10]=b,e[11]=i):i=e[11];let l;e[12]!==i?(l=[...i],e[12]=i,e[13]=l):l=e[13];let o;e[14]!==r||e[15]!==l?(o={availableYears:r,availableNrens:l},e[14]=r,e[15]=l,e[16]=o):o=e[16];let f;e[17]!==t||e[18]!==c||e[19]!==o?(f=N.jsx(P,{filterOptions:o,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[17]=t,e[18]=c,e[19]=o,e[20]=f):f=e[20];const v=f;let d;e[21]===Symbol.for("react.memo_cache_sentinel")?(d=["TCS","Digicert","Sectigo (outside of TCS)","Let's Encrypt","Entrust Datacard"],e[21]=d):d=e[21];const g=d;let m;e[22]===Symbol.for("react.memo_cache_sentinel")?(m=new Map([["Sectigo (outside of TCS)","Sectigo"]]),e[22]=m):m=e[22];const h=m;let a;e[23]!==C?(a=N.jsx(T,{children:N.jsx(F,{columns:g,dataLookup:C,circle:!0,columnLookup:h})}),e[23]=C,e[24]=a):a=e[24];let p;return e[25]!==v||e[26]!==s||e[27]!==a?(p=N.jsx(D,{title:"Certification Services used by NRENs ",description:"The table below shows the kinds of Network Certificate Providers used by NRENs.",category:w.Network,filter:v,data:s,filename:"certificate_provider_nrens_per_year",children:a}),e[25]=v,e[26]=s,e[27]=a,e[28]=p):p=e[28],p}export{B as default}; diff --git a/compendium_v2/static/ChargingStructure-LPcFjEsG.js b/compendium_v2/static/ChargingStructure-LPcFjEsG.js new file mode 100644 index 00000000..63979ad3 --- /dev/null +++ b/compendium_v2/static/ChargingStructure-LPcFjEsG.js @@ -0,0 +1,3 @@ +import{c as S,r as Y,F as j,j as p,S as v}from"./index.js";import{u as F,g as R,D,F as k,f as w}from"./useData-C0vA-Ut8.js";import{P}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function A(){const e=S.c(29),C=T,{filterSelection:t,setFilterSelection:c}=Y.useContext(j),{data:g,years:b,nrens:N}=F("/api/charging",c,C);let a,f;if(e[0]!==g||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let m;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(m=x=>t.selectedYears.includes(x.year)&&t.selectedNrens.includes(x.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=m):m=e[7],a=g.filter(m),f=R(a,"fee_type"),e[0]=g,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=a,e[4]=f}else a=e[3],f=e[4];const _=f;let r;e[8]!==b?(r=[...b],e[8]=b,e[9]=r):r=e[9];let i;e[10]!==N?(i=N.values(),e[10]=N,e[11]=i):i=e[11];let l;e[12]!==i?(l=[...i],e[12]=i,e[13]=l):l=e[13];let n;e[14]!==r||e[15]!==l?(n={availableYears:r,availableNrens:l},e[14]=r,e[15]=l,e[16]=n):n=e[16];let u;e[17]!==t||e[18]!==c||e[19]!==n?(u=p.jsx(k,{filterOptions:n,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[17]=t,e[18]=c,e[19]=n,e[20]=u):u=e[20];const y=u;let s,d;e[21]===Symbol.for("react.memo_cache_sentinel")?(s=["Flat fee based on bandwidth","Usage based fee","Combination flat fee & usage basedfee","No Direct Charge","Other"],d=new Map([[s[0],"flat_fee"],[s[1],"usage_based_fee"],[s[2],"combination"],[s[3],"no_charge"],[s[4],"other"]]),e[21]=s,e[22]=d):(s=e[21],d=e[22]);const E=d;let o;e[23]!==_?(o=p.jsx(w,{children:p.jsx(P,{columns:s,dataLookup:_,columnLookup:E})}),e[23]=_,e[24]=o):o=e[24];let h;return e[25]!==y||e[26]!==a||e[27]!==o?(h=p.jsx(D,{title:"Charging Mechanism of NRENs",description:`The charging structure is the way in which NRENs charge their customers for the services they provide. + The charging structure can be based on a flat fee, usage based fee, a combination of both, or no direct charge. + By selecting multiple years and NRENs, the table can be used to compare the charging structure of NRENs.`,category:v.Organisation,filter:y,data:a,filename:"charging_mechanism_of_nrens_per_year",children:o}),e[25]=y,e[26]=a,e[27]=o,e[28]=h):h=e[28],h}function T(e){return e.fee_type!=null}export{A as default}; diff --git a/compendium_v2/static/ChargingStructure-UaYN2mUD.js b/compendium_v2/static/ChargingStructure-UaYN2mUD.js deleted file mode 100644 index d97aa284..00000000 --- a/compendium_v2/static/ChargingStructure-UaYN2mUD.js +++ /dev/null @@ -1,3 +0,0 @@ -import{a as S,r as Y,F as j,j as p}from"./main-BIBsTO5W.js";import{u as v,g as F,D as R,F as D,f as k}from"./useData-BDYwoQEh.js";import{S as w}from"./report.js";import{P}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function A(){const e=S.c(29),C=T,{filterSelection:t,setFilterSelection:c}=Y.useContext(j),{data:g,years:b,nrens:N}=v("/api/charging",c,C);let a,f;if(e[0]!==g||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let h;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(h=x=>t.selectedYears.includes(x.year)&&t.selectedNrens.includes(x.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=h):h=e[7],a=g.filter(h),f=F(a,"fee_type"),e[0]=g,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=a,e[4]=f}else a=e[3],f=e[4];const _=f;let r;e[8]!==b?(r=[...b],e[8]=b,e[9]=r):r=e[9];let i;e[10]!==N?(i=N.values(),e[10]=N,e[11]=i):i=e[11];let l;e[12]!==i?(l=[...i],e[12]=i,e[13]=l):l=e[13];let n;e[14]!==r||e[15]!==l?(n={availableYears:r,availableNrens:l},e[14]=r,e[15]=l,e[16]=n):n=e[16];let u;e[17]!==t||e[18]!==c||e[19]!==n?(u=p.jsx(D,{filterOptions:n,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[17]=t,e[18]=c,e[19]=n,e[20]=u):u=e[20];const y=u;let s,d;e[21]===Symbol.for("react.memo_cache_sentinel")?(s=["Flat fee based on bandwidth","Usage based fee","Combination flat fee & usage basedfee","No Direct Charge","Other"],d=new Map([[s[0],"flat_fee"],[s[1],"usage_based_fee"],[s[2],"combination"],[s[3],"no_charge"],[s[4],"other"]]),e[21]=s,e[22]=d):(s=e[21],d=e[22]);const E=d;let o;e[23]!==_?(o=p.jsx(k,{children:p.jsx(P,{columns:s,dataLookup:_,columnLookup:E})}),e[23]=_,e[24]=o):o=e[24];let m;return e[25]!==y||e[26]!==a||e[27]!==o?(m=p.jsx(R,{title:"Charging Mechanism of NRENs",description:`The charging structure is the way in which NRENs charge their customers for the services they provide. - The charging structure can be based on a flat fee, usage based fee, a combination of both, or no direct charge. - By selecting multiple years and NRENs, the table can be used to compare the charging structure of NRENs.`,category:w.Organisation,filter:y,data:a,filename:"charging_mechanism_of_nrens_per_year",children:o}),e[25]=y,e[26]=a,e[27]=o,e[28]=m):m=e[28],m}function T(e){return e.fee_type!=null}export{A as default}; diff --git a/compendium_v2/static/ColorPill-CXvWIfWz.js b/compendium_v2/static/ColorPill-CXvWIfWz.js new file mode 100644 index 00000000..8a6c0af3 --- /dev/null +++ b/compendium_v2/static/ColorPill-CXvWIfWz.js @@ -0,0 +1 @@ +import{c as m,j as a}from"./index.js";function f(p){const t=m.c(10),{year:e,active:s,tooltip:i,rounded:c}=p,n=(c===void 0?!1:c)?"30px":"75px";let d;t[0]!==n?(d={width:n,height:"30px",margin:"2px"},t[0]=n,t[1]=d):d=t[1];const l=d;let o;t[2]!==s||t[3]!==l||t[4]!==i||t[5]!==e?(o=s&&i?a.jsx("div",{className:`rounded-pill bg-color-of-the-year-${e%9} bottom-tooltip pill-shadow`,style:l,"data-description":`${e}: ${i}`}):s?a.jsx("div",{className:`rounded-pill bg-color-of-the-year-${e%9} bottom-tooltip-small`,style:l,"data-description":e}):a.jsx("div",{className:"rounded-pill bg-color-of-the-year-blank",style:l}),t[2]=s,t[3]=l,t[4]=i,t[5]=e,t[6]=o):o=t[6];let r;return t[7]!==o||t[8]!==e?(r=a.jsx("div",{className:"d-inline-block",children:o},e),t[7]=o,t[8]=e,t[9]=r):r=t[9],r}export{f as C}; diff --git a/compendium_v2/static/ColorPill-CqT_mR3a.js b/compendium_v2/static/ColorPill-CqT_mR3a.js deleted file mode 100644 index 71a660af..00000000 --- a/compendium_v2/static/ColorPill-CqT_mR3a.js +++ /dev/null @@ -1 +0,0 @@ -import{a as m,j as r}from"./main-BIBsTO5W.js";function f(p){const t=m.c(10),{year:e,active:s,tooltip:i,rounded:c}=p,n=(c===void 0?!1:c)?"30px":"75px";let a;t[0]!==n?(a={width:n,height:"30px",margin:"2px"},t[0]=n,t[1]=a):a=t[1];const l=a;let o;t[2]!==s||t[3]!==l||t[4]!==i||t[5]!==e?(o=s&&i?r.jsx("div",{className:`rounded-pill bg-color-of-the-year-${e%9} bottom-tooltip pill-shadow`,style:l,"data-description":`${e}: ${i}`}):s?r.jsx("div",{className:`rounded-pill bg-color-of-the-year-${e%9} bottom-tooltip-small`,style:l,"data-description":e}):r.jsx("div",{className:"rounded-pill bg-color-of-the-year-blank",style:l}),t[2]=s,t[3]=l,t[4]=i,t[5]=e,t[6]=o):o=t[6];let d;return t[7]!==o||t[8]!==e?(d=r.jsx("div",{className:"d-inline-block",children:o},e),t[7]=o,t[8]=e,t[9]=d):d=t[9],d}export{f as C}; diff --git a/compendium_v2/static/ConnectedInstitutionsURLs-BSMQXsFI.js b/compendium_v2/static/ConnectedInstitutionsURLs-BSMQXsFI.js deleted file mode 100644 index e679f091..00000000 --- a/compendium_v2/static/ConnectedInstitutionsURLs-BSMQXsFI.js +++ /dev/null @@ -1 +0,0 @@ -import{a as h,r as y,F as C,j as x}from"./main-BIBsTO5W.js";import{u as L,q as R,k,i as S,D as v,F as w,f as E,s as F}from"./useData-BDYwoQEh.js";import{S as O}from"./report.js";import{N as T}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function $(){const t=h.c(24),{filterSelection:e,setFilterSelection:s}=y.useContext(C),{data:n,nrens:a}=L("/api/institution-urls",s);let i,o,u;if(t[0]!==n||t[1]!==e||t[2]!==a||t[3]!==s){const g=n?R(n):[];let d;t[7]!==e.selectedNrens?(d=j=>e.selectedNrens.includes(j.nren),t[7]=e.selectedNrens,t[8]=d):d=t[8];const N=g.filter(d),D=k(N);i=S(D,Y);let m;t[9]===Symbol.for("react.memo_cache_sentinel")?(m=[],t[9]=m):m=t[9];let l;t[10]!==a?(l=a.values(),t[10]=a,t[11]=l):l=t[11];let c;t[12]!==l?(c={availableYears:m,availableNrens:[...l]},t[12]=l,t[13]=c):c=t[13];let p;t[14]!==e||t[15]!==s||t[16]!==c?(p=x.jsx(w,{filterOptions:c,filterSelection:e,setFilterSelection:s}),t[14]=e,t[15]=s,t[16]=c,t[17]=p):p=t[17],o=p,u=N.map(U),t[0]=n,t[1]=e,t[2]=a,t[3]=s,t[4]=i,t[5]=o,t[6]=u}else i=t[4],o=t[5],u=t[6];const b=u;let r;t[18]!==i?(r=x.jsx(E,{children:x.jsx(T,{data:i,columnTitle:"Institution URLs",keysAreURLs:!0,noDots:!0})}),t[18]=i,t[19]=r):r=t[19];let f;return t[20]!==b||t[21]!==o||t[22]!==r?(f=x.jsx(v,{title:"Webpages Listing Institutions and Organisations Connected to NREN Networks",description:"Many NRENs have a page on their website listing user institutions. Links to the pages are shown in the table below.",category:O.ConnectedUsers,filter:o,data:b,filename:"institution_urls",children:r}),t[20]=b,t[21]=o,t[22]=r,t[23]=f):f=t[23],f}function U(t){return{...t,urls:(t.urls??[]).join(", ")}}function Y(t,e){const s=F(e);if(s!=null)for(const[n,a]of Object.entries(s))t[n]=a}export{$ as default}; diff --git a/compendium_v2/static/ConnectedInstitutionsURLs-MamPTDnd.js b/compendium_v2/static/ConnectedInstitutionsURLs-MamPTDnd.js new file mode 100644 index 00000000..98ccdb44 --- /dev/null +++ b/compendium_v2/static/ConnectedInstitutionsURLs-MamPTDnd.js @@ -0,0 +1 @@ +import{c as h,r as y,F as C,j as x,S as L}from"./index.js";import{u as R,q as k,k as S,i as v,D as w,F as E,f as F,s as O}from"./useData-C0vA-Ut8.js";import{N as T}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function $(){const t=h.c(24),{filterSelection:e,setFilterSelection:s}=y.useContext(C),{data:n,nrens:a}=R("/api/institution-urls",s);let i,o,u;if(t[0]!==n||t[1]!==e||t[2]!==a||t[3]!==s){const g=n?k(n):[];let d;t[7]!==e.selectedNrens?(d=j=>e.selectedNrens.includes(j.nren),t[7]=e.selectedNrens,t[8]=d):d=t[8];const N=g.filter(d),D=S(N);i=v(D,Y);let p;t[9]===Symbol.for("react.memo_cache_sentinel")?(p=[],t[9]=p):p=t[9];let l;t[10]!==a?(l=a.values(),t[10]=a,t[11]=l):l=t[11];let c;t[12]!==l?(c={availableYears:p,availableNrens:[...l]},t[12]=l,t[13]=c):c=t[13];let m;t[14]!==e||t[15]!==s||t[16]!==c?(m=x.jsx(E,{filterOptions:c,filterSelection:e,setFilterSelection:s}),t[14]=e,t[15]=s,t[16]=c,t[17]=m):m=t[17],o=m,u=N.map(U),t[0]=n,t[1]=e,t[2]=a,t[3]=s,t[4]=i,t[5]=o,t[6]=u}else i=t[4],o=t[5],u=t[6];const b=u;let r;t[18]!==i?(r=x.jsx(F,{children:x.jsx(T,{data:i,columnTitle:"Institution URLs",keysAreURLs:!0,noDots:!0})}),t[18]=i,t[19]=r):r=t[19];let f;return t[20]!==b||t[21]!==o||t[22]!==r?(f=x.jsx(w,{title:"Webpages Listing Institutions and Organisations Connected to NREN Networks",description:"Many NRENs have a page on their website listing user institutions. Links to the pages are shown in the table below.",category:L.ConnectedUsers,filter:o,data:b,filename:"institution_urls",children:r}),t[20]=b,t[21]=o,t[22]=r,t[23]=f):f=t[23],f}function U(t){return{...t,urls:(t.urls??[]).join(", ")}}function Y(t,e){const s=O(e);if(s!=null)for(const[n,a]of Object.entries(s))t[n]=a}export{$ as default}; diff --git a/compendium_v2/static/ConnectedUser-BEMGNK1Q.js b/compendium_v2/static/ConnectedUser-BEMGNK1Q.js deleted file mode 100644 index 641919a8..00000000 --- a/compendium_v2/static/ConnectedUser-BEMGNK1Q.js +++ /dev/null @@ -1 +0,0 @@ -import{j as o,L as O,a as U,r as Y,F}from"./main-BIBsTO5W.js";import{C as t,S as D,a as I,b as P,U as L}from"./report.js";import{u as G,r as m,D as A,F as $,f as q}from"./useData-BDYwoQEh.js";import{S as B}from"./ScrollableMatrix-Cdgj4J9X.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";const S={[t.ConnectedProportion]:"Proportion of Different Categories of Institutions Served by NRENs",[t.ConnectivityLevel]:"Level of IP Connectivity by Institution Type",[t.ConnectionCarrier]:"Methods of Carrying IP Traffic to Users",[t.ConnectivityLoad]:"Connectivity Load",[t.ConnectivityGrowth]:"Connectivity Growth",[t.CommercialChargingLevel]:"Commercial Charging Level",[t.CommercialConnectivity]:"Commercial Connectivity"},z={[t.ConnectedProportion]:o.jsxs("span",{children:["European NRENs all have different connectivity remits, as is shown in the table below. The categories of institutions make use of the ISCED 2011 classification system, the UNESCO scheme for International Standard Classification of Education.",o.jsx("br",{}),"The table shows whether a particular category of institution falls within the connectivity remit of the NREN, the actual number of such institutions connected, the % market share this represents, and the actual number of end users served in the category."]}),[t.ConnectivityLevel]:o.jsxs("span",{children:["The table below shows the average level of connectivity for each category of institution. The connectivity remit of different NRENs is shown on a different page, and NRENs are asked, at a minimum, to provide information about the typical and highest capacities (in Mbit/s) at which Universities and Research Institutes are connected.",o.jsx("br",{}),"NRENs are also asked to show proportionally how many institutions are connected at the highest capacity they offer."]}),[t.ConnectionCarrier]:o.jsxs("span",{children:["The table below shows the different mechanisms employed by NRENs to carry traffic to the different types of users they serve. Not all NRENs connect all of the types of institution listed below - details of connectivity remits can be found here: ",o.jsx(O,{to:"/connected-proportion",className:"",children:o.jsx("span",{children:S[t.ConnectedProportion]})})]}),[t.ConnectivityLoad]:o.jsx("span",{children:"The table below shows the traffic load in Mbit/s to and from institutions served by NRENs; both the average load, and peak load, when given. The types of institutions are broken down using the ISCED 2011 classification system (the UNESCO scheme for International Standard Classification of Education), plus other types."}),[t.ConnectivityGrowth]:o.jsx("span",{children:"The table below illustrates the anticipated traffic growth within NREN networks over the next three years."}),[t.CommercialChargingLevel]:o.jsx("span",{children:"The table below outlines the typical charging levels for various types of commercial connections."}),[t.CommercialConnectivity]:o.jsx("span",{children:"The table below outlines the types of commercial organizations NRENs connect."})},R={[t.ConnectedProportion]:{"Remit cover connectivity":"coverage","Number of institutions connected":"number_connected","Percentage market share of institutions connected":"market_share","Number of users served":"users_served"},[t.ConnectivityLevel]:{"Typical link speed (Mbit/s):":"typical_speed","Highest speed link (Mbit/s):":"highest_speed","Proportionally how many institutions in this category are connected at the highest capacity? (%):":"highest_speed_proportion"},[t.ConnectionCarrier]:{"Commercial Provider Backbone":"commercial_provider_backbone","NREN Local Loops":"nren_local_loops","Regional NREN Backbone":"regional_nren_backbone",MAN:"man",Other:"other"},[t.ConnectivityLoad]:{"Average Load From Institutions (Mbit/s)":"average_load_from_institutions","Average Load To Institutions (Mbit/s)":"average_load_to_institutions","Peak Load To Institution (Mbit/s)":"peak_load_to_institutions","Peak Load From Institution (Mbit/s)":"peak_load_from_institutions"},[t.ConnectivityGrowth]:{"Percentage growth":"growth"},[t.CommercialChargingLevel]:{"No charges applied if requested by R&E users":"no_charges_if_r_e_requested","Same charging model as for R&E users":"same_as_r_e_charges","Charges typically higher than for R&E users":"higher_than_r_e_charges","Charges typically lower than for R&E users":"lower_than_r_e_charges"},[t.CommercialConnectivity]:{"No - but we offer a direct or IX peering":"no_but_direct_peering","No - not eligible for policy reasons":"no_policy","No - financial restrictions (NREN is unable to charge/recover costs)":"no_financial","No - other reason / unsure":"no_other","Yes - National NREN access only":"yes_national_nren","Yes - Including transit to other networks":"yes_incl_other","Yes - only if sponsored by a connected institution":"yes_if_sponsored"}};function ee(T){const e=U.c(36),{page:i}=T,M=`/api/connected-${i.toString()}`,{filterSelection:n,setFilterSelection:u}=Y.useContext(F),{data:v,years:b,nrens:_}=G(M,u);let r,a,c,s;if(e[0]!==v||e[1]!==n.selectedNrens||e[2]!==n.selectedYears||e[3]!==i){let C;e[8]!==n.selectedNrens||e[9]!==n.selectedYears?(C=j=>n.selectedYears.includes(j.year)&&n.selectedNrens.includes(j.nren),e[8]=n.selectedNrens,e[9]=n.selectedYears,e[10]=C):C=e[10],s=v.filter(C),c=!1,i==t.CommercialConnectivity?(r=I,c=!0,a=m(s,Object.keys(I),void 0)):i==t.CommercialChargingLevel?(r=P,c=!0,a=m(s,Object.keys(P),void 0)):i==t.ConnectionCarrier?(r=L,c=!0,a=m(s,["carry_mechanism"],"user_category")):i==t.ConnectedProportion?(r=L,a=m(s,Object.values(R[i]),"user_category",!1)):(r=L,a=m(s,Object.values(R[i]),"user_category",!1)),e[0]=v,e[1]=n.selectedNrens,e[2]=n.selectedYears,e[3]=i,e[4]=r,e[5]=a,e[6]=c,e[7]=s}else r=e[4],a=e[5],c=e[6],s=e[7];let l;e[11]!==b?(l=[...b],e[11]=b,e[12]=l):l=e[12];let h;e[13]!==_?(h=_.values(),e[13]=_,e[14]=h):h=e[14];let d;e[15]!==h?(d=[...h],e[15]=h,e[16]=d):d=e[16];let f;e[17]!==l||e[18]!==d?(f={availableYears:l,availableNrens:d},e[17]=l,e[18]=d,e[19]=f):f=e[19];let y;e[20]!==n||e[21]!==u||e[22]!==f?(y=o.jsx($,{filterOptions:f,filterSelection:n,setFilterSelection:u}),e[20]=n,e[21]=u,e[22]=f,e[23]=y):y=e[23];const N=y,w=R[i],E=`nren_connected_${i.toString()}`,k=S[i],x=z[i];let p;e[24]!==r||e[25]!==a||e[26]!==c||e[27]!==w?(p=o.jsx(q,{children:o.jsx(B,{dataLookup:a,rowInfo:w,isTickIcon:c,categoryLookup:r})}),e[24]=r,e[25]=a,e[26]=c,e[27]=w,e[28]=p):p=e[28];let g;return e[29]!==E||e[30]!==N||e[31]!==s||e[32]!==k||e[33]!==x||e[34]!==p?(g=o.jsx(A,{title:k,description:x,category:D.ConnectedUsers,filter:N,data:s,filename:E,children:p}),e[29]=E,e[30]=N,e[31]=s,e[32]=k,e[33]=x,e[34]=p,e[35]=g):g=e[35],g}export{ee as default}; diff --git a/compendium_v2/static/ConnectedUser-CSVPvLMN.js b/compendium_v2/static/ConnectedUser-CSVPvLMN.js new file mode 100644 index 00000000..0caaa01a --- /dev/null +++ b/compendium_v2/static/ConnectedUser-CSVPvLMN.js @@ -0,0 +1 @@ +import{a as t,j as o,L as O,c as U,r as Y,F,S as D,b as I,d as P,U as L}from"./index.js";import{u as G,r as m,D as A,F as $,f as q}from"./useData-C0vA-Ut8.js";import{S as B}from"./ScrollableMatrix-Dxr22l4i.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";const S={[t.ConnectedProportion]:"Proportion of Different Categories of Institutions Served by NRENs",[t.ConnectivityLevel]:"Level of IP Connectivity by Institution Type",[t.ConnectionCarrier]:"Methods of Carrying IP Traffic to Users",[t.ConnectivityLoad]:"Connectivity Load",[t.ConnectivityGrowth]:"Connectivity Growth",[t.CommercialChargingLevel]:"Commercial Charging Level",[t.CommercialConnectivity]:"Commercial Connectivity"},z={[t.ConnectedProportion]:o.jsxs("span",{children:["European NRENs all have different connectivity remits, as is shown in the table below. The categories of institutions make use of the ISCED 2011 classification system, the UNESCO scheme for International Standard Classification of Education.",o.jsx("br",{}),"The table shows whether a particular category of institution falls within the connectivity remit of the NREN, the actual number of such institutions connected, the % market share this represents, and the actual number of end users served in the category."]}),[t.ConnectivityLevel]:o.jsxs("span",{children:["The table below shows the average level of connectivity for each category of institution. The connectivity remit of different NRENs is shown on a different page, and NRENs are asked, at a minimum, to provide information about the typical and highest capacities (in Mbit/s) at which Universities and Research Institutes are connected.",o.jsx("br",{}),"NRENs are also asked to show proportionally how many institutions are connected at the highest capacity they offer."]}),[t.ConnectionCarrier]:o.jsxs("span",{children:["The table below shows the different mechanisms employed by NRENs to carry traffic to the different types of users they serve. Not all NRENs connect all of the types of institution listed below - details of connectivity remits can be found here: ",o.jsx(O,{to:"/connected-proportion",className:"",children:o.jsx("span",{children:S[t.ConnectedProportion]})})]}),[t.ConnectivityLoad]:o.jsx("span",{children:"The table below shows the traffic load in Mbit/s to and from institutions served by NRENs; both the average load, and peak load, when given. The types of institutions are broken down using the ISCED 2011 classification system (the UNESCO scheme for International Standard Classification of Education), plus other types."}),[t.ConnectivityGrowth]:o.jsx("span",{children:"The table below illustrates the anticipated traffic growth within NREN networks over the next three years."}),[t.CommercialChargingLevel]:o.jsx("span",{children:"The table below outlines the typical charging levels for various types of commercial connections."}),[t.CommercialConnectivity]:o.jsx("span",{children:"The table below outlines the types of commercial organizations NRENs connect."})},R={[t.ConnectedProportion]:{"Remit cover connectivity":"coverage","Number of institutions connected":"number_connected","Percentage market share of institutions connected":"market_share","Number of users served":"users_served"},[t.ConnectivityLevel]:{"Typical link speed (Mbit/s):":"typical_speed","Highest speed link (Mbit/s):":"highest_speed","Proportionally how many institutions in this category are connected at the highest capacity? (%):":"highest_speed_proportion"},[t.ConnectionCarrier]:{"Commercial Provider Backbone":"commercial_provider_backbone","NREN Local Loops":"nren_local_loops","Regional NREN Backbone":"regional_nren_backbone",MAN:"man",Other:"other"},[t.ConnectivityLoad]:{"Average Load From Institutions (Mbit/s)":"average_load_from_institutions","Average Load To Institutions (Mbit/s)":"average_load_to_institutions","Peak Load To Institution (Mbit/s)":"peak_load_to_institutions","Peak Load From Institution (Mbit/s)":"peak_load_from_institutions"},[t.ConnectivityGrowth]:{"Percentage growth":"growth"},[t.CommercialChargingLevel]:{"No charges applied if requested by R&E users":"no_charges_if_r_e_requested","Same charging model as for R&E users":"same_as_r_e_charges","Charges typically higher than for R&E users":"higher_than_r_e_charges","Charges typically lower than for R&E users":"lower_than_r_e_charges"},[t.CommercialConnectivity]:{"No - but we offer a direct or IX peering":"no_but_direct_peering","No - not eligible for policy reasons":"no_policy","No - financial restrictions (NREN is unable to charge/recover costs)":"no_financial","No - other reason / unsure":"no_other","Yes - National NREN access only":"yes_national_nren","Yes - Including transit to other networks":"yes_incl_other","Yes - only if sponsored by a connected institution":"yes_if_sponsored"}};function ee(T){const e=U.c(36),{page:i}=T,M=`/api/connected-${i.toString()}`,{filterSelection:n,setFilterSelection:u}=Y.useContext(F),{data:v,years:b,nrens:_}=G(M,u);let r,a,c,s;if(e[0]!==v||e[1]!==n.selectedNrens||e[2]!==n.selectedYears||e[3]!==i){let C;e[8]!==n.selectedNrens||e[9]!==n.selectedYears?(C=j=>n.selectedYears.includes(j.year)&&n.selectedNrens.includes(j.nren),e[8]=n.selectedNrens,e[9]=n.selectedYears,e[10]=C):C=e[10],s=v.filter(C),c=!1,i==t.CommercialConnectivity?(r=I,c=!0,a=m(s,Object.keys(I),void 0)):i==t.CommercialChargingLevel?(r=P,c=!0,a=m(s,Object.keys(P),void 0)):i==t.ConnectionCarrier?(r=L,c=!0,a=m(s,["carry_mechanism"],"user_category")):i==t.ConnectedProportion?(r=L,a=m(s,Object.values(R[i]),"user_category",!1)):(r=L,a=m(s,Object.values(R[i]),"user_category",!1)),e[0]=v,e[1]=n.selectedNrens,e[2]=n.selectedYears,e[3]=i,e[4]=r,e[5]=a,e[6]=c,e[7]=s}else r=e[4],a=e[5],c=e[6],s=e[7];let l;e[11]!==b?(l=[...b],e[11]=b,e[12]=l):l=e[12];let h;e[13]!==_?(h=_.values(),e[13]=_,e[14]=h):h=e[14];let d;e[15]!==h?(d=[...h],e[15]=h,e[16]=d):d=e[16];let f;e[17]!==l||e[18]!==d?(f={availableYears:l,availableNrens:d},e[17]=l,e[18]=d,e[19]=f):f=e[19];let y;e[20]!==n||e[21]!==u||e[22]!==f?(y=o.jsx($,{filterOptions:f,filterSelection:n,setFilterSelection:u}),e[20]=n,e[21]=u,e[22]=f,e[23]=y):y=e[23];const N=y,w=R[i],E=`nren_connected_${i.toString()}`,k=S[i],x=z[i];let p;e[24]!==r||e[25]!==a||e[26]!==c||e[27]!==w?(p=o.jsx(q,{children:o.jsx(B,{dataLookup:a,rowInfo:w,isTickIcon:c,categoryLookup:r})}),e[24]=r,e[25]=a,e[26]=c,e[27]=w,e[28]=p):p=e[28];let g;return e[29]!==E||e[30]!==N||e[31]!==s||e[32]!==k||e[33]!==x||e[34]!==p?(g=o.jsx(A,{title:k,description:x,category:D.ConnectedUsers,filter:N,data:s,filename:E,children:p}),e[29]=E,e[30]=N,e[31]=s,e[32]=k,e[33]=x,e[34]=p,e[35]=g):g=e[35],g}export{ee as default}; diff --git a/compendium_v2/static/CorporateStrategy-DZFOGJiQ.js b/compendium_v2/static/CorporateStrategy-DZFOGJiQ.js new file mode 100644 index 00000000..4129bcc3 --- /dev/null +++ b/compendium_v2/static/CorporateStrategy-DZFOGJiQ.js @@ -0,0 +1,3 @@ +import{c as C,r as k,F as j,j as y,S as E}from"./index.js";import{u as R,q as F,k as T,i as Y,D as w,F as L,f as P}from"./useData-C0vA-Ut8.js";import{N as B}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function I(){const e=C.c(23);let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=x=>!!x.strategic_plan,e[0]=l):l=e[0];const _=l,{filterSelection:t,setFilterSelection:i}=k.useContext(j),{data:n,nrens:h}=R("/api/policy",i,_);let a,c;if(e[1]!==n||e[2]!==t.selectedNrens){const x=n?F(n):[];let d;e[5]!==t.selectedNrens?(d=D=>t.selectedNrens.includes(D.nren),e[5]=t.selectedNrens,e[6]=d):d=e[6],a=x.filter(d);const b=T(a);let u;e[7]===Symbol.for("react.memo_cache_sentinel")?(u=(D,v)=>{const S=v.strategic_plan;D[S]=S},e[7]=u):u=e[7],c=Y(b,u),e[1]=n,e[2]=t.selectedNrens,e[3]=a,e[4]=c}else a=e[3],c=e[4];const N=c;let p;e[8]===Symbol.for("react.memo_cache_sentinel")?(p=[],e[8]=p):p=e[8];let s;e[9]!==h?(s=h.values(),e[9]=h,e[10]=s):s=e[10];let r;e[11]!==s?(r={availableYears:p,availableNrens:[...s]},e[11]=s,e[12]=r):r=e[12];let m;e[13]!==t||e[14]!==i||e[15]!==r?(m=y.jsx(L,{filterOptions:r,filterSelection:t,setFilterSelection:i}),e[13]=t,e[14]=i,e[15]=r,e[16]=m):m=e[16];const g=m;let o;e[17]!==N?(o=y.jsx(P,{children:y.jsx(B,{data:N,columnTitle:"Corporate Strategy",noDots:!0,keysAreURLs:!0,removeDecoration:!0})}),e[17]=N,e[18]=o):o=e[18];let f;return e[19]!==g||e[20]!==a||e[21]!==o?(f=y.jsx(w,{title:"NREN Corporate Strategies",description:`The table below contains links to the NRENs most recent corporate strategic plans. + NRENs are asked if updates have been made to their corporate strategy over the previous year. + To avoid showing outdated links, only the most recent responses are shown.`,category:E.Policy,filter:g,data:a,filename:"nren_corporate_strategy",children:o}),e[19]=g,e[20]=a,e[21]=o,e[22]=f):f=e[22],f}export{I as default}; diff --git a/compendium_v2/static/CorporateStrategy-Doz2JleE.js b/compendium_v2/static/CorporateStrategy-Doz2JleE.js deleted file mode 100644 index 4680cf3c..00000000 --- a/compendium_v2/static/CorporateStrategy-Doz2JleE.js +++ /dev/null @@ -1,3 +0,0 @@ -import{a as C,r as k,F as j,j as y}from"./main-BIBsTO5W.js";import{u as E,q as R,k as F,i as T,D as Y,F as w,f as L}from"./useData-BDYwoQEh.js";import{S as P}from"./report.js";import{N as B}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function I(){const e=C.c(23);let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=x=>!!x.strategic_plan,e[0]=l):l=e[0];const _=l,{filterSelection:t,setFilterSelection:i}=k.useContext(j),{data:n,nrens:h}=E("/api/policy",i,_);let a,c;if(e[1]!==n||e[2]!==t.selectedNrens){const x=n?R(n):[];let d;e[5]!==t.selectedNrens?(d=D=>t.selectedNrens.includes(D.nren),e[5]=t.selectedNrens,e[6]=d):d=e[6],a=x.filter(d);const b=F(a);let u;e[7]===Symbol.for("react.memo_cache_sentinel")?(u=(D,v)=>{const S=v.strategic_plan;D[S]=S},e[7]=u):u=e[7],c=T(b,u),e[1]=n,e[2]=t.selectedNrens,e[3]=a,e[4]=c}else a=e[3],c=e[4];const N=c;let p;e[8]===Symbol.for("react.memo_cache_sentinel")?(p=[],e[8]=p):p=e[8];let s;e[9]!==h?(s=h.values(),e[9]=h,e[10]=s):s=e[10];let r;e[11]!==s?(r={availableYears:p,availableNrens:[...s]},e[11]=s,e[12]=r):r=e[12];let m;e[13]!==t||e[14]!==i||e[15]!==r?(m=y.jsx(w,{filterOptions:r,filterSelection:t,setFilterSelection:i}),e[13]=t,e[14]=i,e[15]=r,e[16]=m):m=e[16];const g=m;let o;e[17]!==N?(o=y.jsx(L,{children:y.jsx(B,{data:N,columnTitle:"Corporate Strategy",noDots:!0,keysAreURLs:!0,removeDecoration:!0})}),e[17]=N,e[18]=o):o=e[18];let f;return e[19]!==g||e[20]!==a||e[21]!==o?(f=y.jsx(Y,{title:"NREN Corporate Strategies",description:`The table below contains links to the NRENs most recent corporate strategic plans. - NRENs are asked if updates have been made to their corporate strategy over the previous year. - To avoid showing outdated links, only the most recent responses are shown.`,category:P.Policy,filter:g,data:a,filename:"nren_corporate_strategy",children:o}),e[19]=g,e[20]=a,e[21]=o,e[22]=f):f=e[22],f}export{I as default}; diff --git a/compendium_v2/static/CrisisExercises-DIq1DMCc.js b/compendium_v2/static/CrisisExercises-DIq1DMCc.js deleted file mode 100644 index af8e057f..00000000 --- a/compendium_v2/static/CrisisExercises-DIq1DMCc.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as F,r as R,F as S,j}from"./main-BIBsTO5W.js";import{u as D,g as L,F as M,D as O,f as A}from"./useData-BDYwoQEh.js";import{S as G}from"./report.js";import{P as V}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function X(){const e=F.c(51),{filterSelection:t,setFilterSelection:i}=R.useContext(S),{data:C,years:W,nrens:T}=D("/api/crisis-exercises",i);let s,w;if(e[0]!==C||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let r;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(r=P=>t.selectedYears.includes(P.year)&&t.selectedNrens.includes(P.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=r):r=e[7],s=C.filter(r),w=L(s,"exercise_descriptions"),e[0]=C,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=w}else s=e[3],w=e[4];const Y=w;let a;e[8]!==W?(a=[...W],e[8]=W,e[9]=a):a=e[9];let l;e[10]!==T?(l=T.values(),e[10]=T,e[11]=l):l=e[11];let n;e[12]!==l?(n=[...l],e[12]=l,e[13]=n):n=e[13];let o;e[14]!==a||e[15]!==n?(o={availableYears:a,availableNrens:n},e[14]=a,e[15]=n,e[16]=o):o=e[16];let v;e[17]!==t||e[18]!==i||e[19]!==o?(v=j.jsx(M,{filterOptions:o,filterSelection:t,setFilterSelection:i,coloredYears:!0}),e[17]=t,e[18]=i,e[19]=o,e[20]=v):v=e[20];const k=v;let c,p,u,d,m,x,f,h,N,_,y;if(e[21]!==k||e[22]!==s){const r={geant_workshops:"We participate in GEANT Crisis workshops such as CLAW",national_excercises:"We participated in National crisis exercises ",tabletop_exercises:"We run our own tabletop exercises",simulation_excercises:"We run our own simulation exercises",other_excercises:"We have done/participated in other exercises or trainings",real_crisis:"We had a real crisis",internal_security_programme:"We run an internal security awareness programme",none:"No, we have not done any crisis exercises or trainings"};d=new Map(Object.entries(r).map($)),u=O,N="Crisis Exercises - NREN Operation and Participation",_=`Many NRENs run or participate in crisis exercises to test procedures and train employees. - The table below shows whether NRENs have run or participated in an exercise in the previous year. `,y=G.Policy,m=k,x=s,f="crisis_exercise_nrens_per_year",p=A,c=V,h=Object.values(r),e[21]=k,e[22]=s,e[23]=c,e[24]=p,e[25]=u,e[26]=d,e[27]=m,e[28]=x,e[29]=f,e[30]=h,e[31]=N,e[32]=_,e[33]=y}else c=e[23],p=e[24],u=e[25],d=e[26],m=e[27],x=e[28],f=e[29],h=e[30],N=e[31],_=e[32],y=e[33];let b;e[34]!==c||e[35]!==d||e[36]!==Y||e[37]!==h?(b=j.jsx(c,{columns:h,dataLookup:Y,circle:!0,columnLookup:d}),e[34]=c,e[35]=d,e[36]=Y,e[37]=h,e[38]=b):b=e[38];let g;e[39]!==p||e[40]!==b?(g=j.jsx(p,{children:b}),e[39]=p,e[40]=b,e[41]=g):g=e[41];let E;return e[42]!==u||e[43]!==m||e[44]!==x||e[45]!==f||e[46]!==g||e[47]!==N||e[48]!==_||e[49]!==y?(E=j.jsx(u,{title:N,description:_,category:y,filter:m,data:x,filename:f,children:g}),e[42]=u,e[43]=m,e[44]=x,e[45]=f,e[46]=g,e[47]=N,e[48]=_,e[49]=y,e[50]=E):E=e[50],E}function $(e){const[t,i]=e;return[i,t]}export{X as default}; diff --git a/compendium_v2/static/CrisisExercises-DgB-Jzeh.js b/compendium_v2/static/CrisisExercises-DgB-Jzeh.js new file mode 100644 index 00000000..fcb30d34 --- /dev/null +++ b/compendium_v2/static/CrisisExercises-DgB-Jzeh.js @@ -0,0 +1,2 @@ +import{c as F,r as R,F as S,S as D,j}from"./index.js";import{u as L,g as M,F as O,D as A,f as G}from"./useData-C0vA-Ut8.js";import{P as V}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function X(){const e=F.c(51),{filterSelection:t,setFilterSelection:i}=R.useContext(S),{data:C,years:W,nrens:T}=L("/api/crisis-exercises",i);let s,w;if(e[0]!==C||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let r;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(r=P=>t.selectedYears.includes(P.year)&&t.selectedNrens.includes(P.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=r):r=e[7],s=C.filter(r),w=M(s,"exercise_descriptions"),e[0]=C,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=w}else s=e[3],w=e[4];const Y=w;let a;e[8]!==W?(a=[...W],e[8]=W,e[9]=a):a=e[9];let l;e[10]!==T?(l=T.values(),e[10]=T,e[11]=l):l=e[11];let n;e[12]!==l?(n=[...l],e[12]=l,e[13]=n):n=e[13];let o;e[14]!==a||e[15]!==n?(o={availableYears:a,availableNrens:n},e[14]=a,e[15]=n,e[16]=o):o=e[16];let v;e[17]!==t||e[18]!==i||e[19]!==o?(v=j.jsx(O,{filterOptions:o,filterSelection:t,setFilterSelection:i,coloredYears:!0}),e[17]=t,e[18]=i,e[19]=o,e[20]=v):v=e[20];const k=v;let c,p,u,d,m,x,f,h,N,_,y;if(e[21]!==k||e[22]!==s){const r={geant_workshops:"We participate in GEANT Crisis workshops such as CLAW",national_excercises:"We participated in National crisis exercises ",tabletop_exercises:"We run our own tabletop exercises",simulation_excercises:"We run our own simulation exercises",other_excercises:"We have done/participated in other exercises or trainings",real_crisis:"We had a real crisis",internal_security_programme:"We run an internal security awareness programme",none:"No, we have not done any crisis exercises or trainings"};d=new Map(Object.entries(r).map($)),u=A,N="Crisis Exercises - NREN Operation and Participation",_=`Many NRENs run or participate in crisis exercises to test procedures and train employees. + The table below shows whether NRENs have run or participated in an exercise in the previous year. `,y=D.Policy,m=k,x=s,f="crisis_exercise_nrens_per_year",p=G,c=V,h=Object.values(r),e[21]=k,e[22]=s,e[23]=c,e[24]=p,e[25]=u,e[26]=d,e[27]=m,e[28]=x,e[29]=f,e[30]=h,e[31]=N,e[32]=_,e[33]=y}else c=e[23],p=e[24],u=e[25],d=e[26],m=e[27],x=e[28],f=e[29],h=e[30],N=e[31],_=e[32],y=e[33];let b;e[34]!==c||e[35]!==d||e[36]!==Y||e[37]!==h?(b=j.jsx(c,{columns:h,dataLookup:Y,circle:!0,columnLookup:d}),e[34]=c,e[35]=d,e[36]=Y,e[37]=h,e[38]=b):b=e[38];let g;e[39]!==p||e[40]!==b?(g=j.jsx(p,{children:b}),e[39]=p,e[40]=b,e[41]=g):g=e[41];let E;return e[42]!==u||e[43]!==m||e[44]!==x||e[45]!==f||e[46]!==g||e[47]!==N||e[48]!==_||e[49]!==y?(E=j.jsx(u,{title:N,description:_,category:y,filter:m,data:x,filename:f,children:g}),e[42]=u,e[43]=m,e[44]=x,e[45]=f,e[46]=g,e[47]=N,e[48]=_,e[49]=y,e[50]=E):E=e[50],E}function $(e){const[t,i]=e;return[i,t]}export{X as default}; diff --git a/compendium_v2/static/CrisisManagement-B-4V900E.js b/compendium_v2/static/CrisisManagement-B-4V900E.js deleted file mode 100644 index 45f62771..00000000 --- a/compendium_v2/static/CrisisManagement-B-4V900E.js +++ /dev/null @@ -1 +0,0 @@ -import{a as j,r as F,F as P,j as x}from"./main-BIBsTO5W.js";import{u as v,g as k,D as w,F as D,f as E}from"./useData-BDYwoQEh.js";import{S as M}from"./report.js";import{P as T}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function G(){const e=j.c(30);let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=c=>c.crisis_management_procedure!==null,e[0]=m):m=e[0];const C=m,{filterSelection:t,setFilterSelection:d}=F.useContext(P),{data:N,years:_,nrens:g}=v("/api/standards",d,C);let s,f;if(e[1]!==N||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let c;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(c=Y=>t.selectedYears.includes(Y.year)&&t.selectedNrens.includes(Y.nren)&&C(Y),e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=c):c=e[8],s=N.filter(c),f=k(s,"crisis_management_procedure"),e[1]=N,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=s,e[5]=f}else s=e[4],f=e[5];const b=f;let r,p;e[9]===Symbol.for("react.memo_cache_sentinel")?(r=["Yes","No"],p=new Map([[r[0],"True"],[r[1],"False"]]),e[9]=r,e[10]=p):(r=e[9],p=e[10]);const S=p;let l;e[11]!==_?(l=[..._],e[11]=_,e[12]=l):l=e[12];let a;e[13]!==g?(a=g.values(),e[13]=g,e[14]=a):a=e[14];let i;e[15]!==a?(i=[...a],e[15]=a,e[16]=i):i=e[16];let o;e[17]!==l||e[18]!==i?(o={availableYears:l,availableNrens:i},e[17]=l,e[18]=i,e[19]=o):o=e[19];let u;e[20]!==t||e[21]!==d||e[22]!==o?(u=x.jsx(D,{filterOptions:o,filterSelection:t,setFilterSelection:d,coloredYears:!0}),e[20]=t,e[21]=d,e[22]=o,e[23]=u):u=e[23];const y=u;let n;e[24]!==b?(n=x.jsx(E,{children:x.jsx(T,{columns:r,columnLookup:S,dataLookup:b})}),e[24]=b,e[25]=n):n=e[25];let h;return e[26]!==y||e[27]!==s||e[28]!==n?(h=x.jsx(w,{title:"Crisis Management Procedures",description:"The table below shows whether NRENs have a formal crisis management procedure.",category:M.Policy,filter:y,data:s,filename:"crisis_management_nrens_per_year",children:n}),e[26]=y,e[27]=s,e[28]=n,e[29]=h):h=e[29],h}export{G as default}; diff --git a/compendium_v2/static/CrisisManagement-C6sQvzSe.js b/compendium_v2/static/CrisisManagement-C6sQvzSe.js new file mode 100644 index 00000000..fb9483b7 --- /dev/null +++ b/compendium_v2/static/CrisisManagement-C6sQvzSe.js @@ -0,0 +1 @@ +import{c as j,r as F,F as P,j as x,S as v}from"./index.js";import{u as k,g as w,D,F as E,f as M}from"./useData-C0vA-Ut8.js";import{P as T}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function G(){const e=j.c(30);let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=c=>c.crisis_management_procedure!==null,e[0]=m):m=e[0];const C=m,{filterSelection:t,setFilterSelection:d}=F.useContext(P),{data:N,years:_,nrens:g}=k("/api/standards",d,C);let s,f;if(e[1]!==N||e[2]!==t.selectedNrens||e[3]!==t.selectedYears){let c;e[6]!==t.selectedNrens||e[7]!==t.selectedYears?(c=Y=>t.selectedYears.includes(Y.year)&&t.selectedNrens.includes(Y.nren)&&C(Y),e[6]=t.selectedNrens,e[7]=t.selectedYears,e[8]=c):c=e[8],s=N.filter(c),f=w(s,"crisis_management_procedure"),e[1]=N,e[2]=t.selectedNrens,e[3]=t.selectedYears,e[4]=s,e[5]=f}else s=e[4],f=e[5];const b=f;let r,p;e[9]===Symbol.for("react.memo_cache_sentinel")?(r=["Yes","No"],p=new Map([[r[0],"True"],[r[1],"False"]]),e[9]=r,e[10]=p):(r=e[9],p=e[10]);const S=p;let l;e[11]!==_?(l=[..._],e[11]=_,e[12]=l):l=e[12];let a;e[13]!==g?(a=g.values(),e[13]=g,e[14]=a):a=e[14];let i;e[15]!==a?(i=[...a],e[15]=a,e[16]=i):i=e[16];let n;e[17]!==l||e[18]!==i?(n={availableYears:l,availableNrens:i},e[17]=l,e[18]=i,e[19]=n):n=e[19];let u;e[20]!==t||e[21]!==d||e[22]!==n?(u=x.jsx(E,{filterOptions:n,filterSelection:t,setFilterSelection:d,coloredYears:!0}),e[20]=t,e[21]=d,e[22]=n,e[23]=u):u=e[23];const y=u;let o;e[24]!==b?(o=x.jsx(M,{children:x.jsx(T,{columns:r,columnLookup:S,dataLookup:b})}),e[24]=b,e[25]=o):o=e[25];let h;return e[26]!==y||e[27]!==s||e[28]!==o?(h=x.jsx(D,{title:"Crisis Management Procedures",description:"The table below shows whether NRENs have a formal crisis management procedure.",category:v.Policy,filter:y,data:s,filename:"crisis_management_nrens_per_year",children:o}),e[26]=y,e[27]=s,e[28]=o,e[29]=h):h=e[29],h}export{G as default}; diff --git a/compendium_v2/static/DarkFibreInstalled-BEuXjlBR.js b/compendium_v2/static/DarkFibreInstalled-BEuXjlBR.js new file mode 100644 index 00000000..8c5e0972 --- /dev/null +++ b/compendium_v2/static/DarkFibreInstalled-BEuXjlBR.js @@ -0,0 +1 @@ +import{c as N,r as D,F,j as n,S as j}from"./index.js";import{L}from"./index-BJrPLJgf.js";import{C as w,a as E,L as v,P,b as I,p as K,c as R,d as O,u as T,e as U,D as Y,F as $,f as q}from"./useData-C0vA-Ut8.js";import{g as z}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";w.register(E,v,P,I,K,R,O);function W(){const e=N.c(24);let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=r=>r.fibre_length_in_country!=null,e[0]=o):o=e[0];const k=o,{filterSelection:t,setFilterSelection:c}=D.useContext(F),{data:u,nrens:_}=T("/api/dark-fibre-installed",c,k);let i,f;if(e[1]!==u||e[2]!==t.selectedNrens){let r;e[5]!==t.selectedNrens?(r=y=>t.selectedNrens.includes(y.nren)&&k(y),e[5]=t.selectedNrens,e[6]=r):r=e[6],i=u.filter(r),f=U(i,"fibre_length_in_country"),e[1]=u,e[2]=t.selectedNrens,e[3]=i,e[4]=f}else i=e[3],f=e[4];const g=f;let m;e[7]===Symbol.for("react.memo_cache_sentinel")?(m=[],e[7]=m):m=e[7];let s;e[8]!==_?(s=_.values(),e[8]=_,e[9]=s):s=e[9];let l;e[10]!==s?(l={availableYears:m,availableNrens:[...s]},e[10]=s,e[11]=l):l=e[11];let d;e[12]!==t||e[13]!==c||e[14]!==l?(d=n.jsx($,{filterOptions:l,filterSelection:t,setFilterSelection:c}),e[12]=t,e[13]=c,e[14]=l,e[15]=d):d=e[15];const x=d;let p;e[16]===Symbol.for("react.memo_cache_sentinel")?(p=z({title:"Kilometres of Installed Dark Fibre",tooltipUnit:"km",unit:"km"}),e[16]=p):p=e[16];const S=p;let h;e[17]===Symbol.for("react.memo_cache_sentinel")?(h=n.jsx("span",{children:"This graph shows the number of Kilometres of dark fibre installed by NRENs within their own countries, which they own themselves. The distance is the number of kilometres of the fibre pairs, or if bidirectional traffic on a single fibre, it is treated as a fibre pair."}),e[17]=h):h=e[17];const C=h;let a;e[18]!==g?(a=n.jsx(q,{children:n.jsx(L,{data:g,options:S})}),e[18]=g,e[19]=a):a=e[19];let b;return e[20]!==x||e[21]!==i||e[22]!==a?(b=n.jsx(Y,{title:"Kilometres of Installed Dark Fibre",description:C,category:j.Network,filter:x,data:i,filename:"dark_fibre_lease_installed",children:a}),e[20]=x,e[21]=i,e[22]=a,e[23]=b):b=e[23],b}export{W as default}; diff --git a/compendium_v2/static/DarkFibreInstalled-BG9k0mWY.js b/compendium_v2/static/DarkFibreInstalled-BG9k0mWY.js deleted file mode 100644 index 03d08198..00000000 --- a/compendium_v2/static/DarkFibreInstalled-BG9k0mWY.js +++ /dev/null @@ -1 +0,0 @@ -import{a as N,r as D,F,j as n}from"./main-BIBsTO5W.js";import{L as j}from"./index-BBrAyDR9.js";import{C as L,a as w,L as E,P as v,b as P,p as I,c as K,d as R,u as O,e as T,D as U,F as Y,f as $}from"./useData-BDYwoQEh.js";import{S as q}from"./report.js";import{g as z}from"./charthelpers-CCaYPWnR.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";L.register(w,E,v,P,I,K,R);function W(){const e=N.c(24);let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=r=>r.fibre_length_in_country!=null,e[0]=o):o=e[0];const k=o,{filterSelection:t,setFilterSelection:c}=D.useContext(F),{data:u,nrens:_}=O("/api/dark-fibre-installed",c,k);let i,f;if(e[1]!==u||e[2]!==t.selectedNrens){let r;e[5]!==t.selectedNrens?(r=y=>t.selectedNrens.includes(y.nren)&&k(y),e[5]=t.selectedNrens,e[6]=r):r=e[6],i=u.filter(r),f=T(i,"fibre_length_in_country"),e[1]=u,e[2]=t.selectedNrens,e[3]=i,e[4]=f}else i=e[3],f=e[4];const g=f;let m;e[7]===Symbol.for("react.memo_cache_sentinel")?(m=[],e[7]=m):m=e[7];let s;e[8]!==_?(s=_.values(),e[8]=_,e[9]=s):s=e[9];let l;e[10]!==s?(l={availableYears:m,availableNrens:[...s]},e[10]=s,e[11]=l):l=e[11];let d;e[12]!==t||e[13]!==c||e[14]!==l?(d=n.jsx(Y,{filterOptions:l,filterSelection:t,setFilterSelection:c}),e[12]=t,e[13]=c,e[14]=l,e[15]=d):d=e[15];const x=d;let p;e[16]===Symbol.for("react.memo_cache_sentinel")?(p=z({title:"Kilometres of Installed Dark Fibre",tooltipUnit:"km",unit:"km"}),e[16]=p):p=e[16];const S=p;let h;e[17]===Symbol.for("react.memo_cache_sentinel")?(h=n.jsx("span",{children:"This graph shows the number of Kilometres of dark fibre installed by NRENs within their own countries, which they own themselves. The distance is the number of kilometres of the fibre pairs, or if bidirectional traffic on a single fibre, it is treated as a fibre pair."}),e[17]=h):h=e[17];const C=h;let a;e[18]!==g?(a=n.jsx($,{children:n.jsx(j,{data:g,options:S})}),e[18]=g,e[19]=a):a=e[19];let b;return e[20]!==x||e[21]!==i||e[22]!==a?(b=n.jsx(U,{title:"Kilometres of Installed Dark Fibre",description:C,category:q.Network,filter:x,data:i,filename:"dark_fibre_lease_installed",children:a}),e[20]=x,e[21]=i,e[22]=a,e[23]=b):b=e[23],b}export{W as default}; diff --git a/compendium_v2/static/DarkFibreLease-D0G5a_C_.js b/compendium_v2/static/DarkFibreLease-D0G5a_C_.js new file mode 100644 index 00000000..3999b5c2 --- /dev/null +++ b/compendium_v2/static/DarkFibreLease-D0G5a_C_.js @@ -0,0 +1 @@ +import{c as E,r as w,F as R,j as c,S as I}from"./index.js";import{L as P}from"./index-BJrPLJgf.js";import{C as K,a as U,L as $,P as O,b as T,p as A,c as Y,d as q,u as z,e as B,D as G,F as H,f as J}from"./useData-C0vA-Ut8.js";import{g as M}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";K.register(U,$,O,T,A,Y,q);function se(F){const e=E.c(32),{national:f}=F,s=f?"fibre_length_in_country":"fibre_length_outside_country";let d;e[0]!==s?(d=o=>o[s]!=null,e[0]=s,e[1]=d):d=e[1];const a=d,{filterSelection:t,setFilterSelection:m}=w.useContext(R),{data:N,nrens:x}=z("/api/dark-fibre-lease",m,a);let i,p;if(e[2]!==N||e[3]!==s||e[4]!==t.selectedNrens||e[5]!==a){let o;e[8]!==t.selectedNrens||e[9]!==a?(o=D=>t.selectedNrens.includes(D.nren)&&a(D),e[8]=t.selectedNrens,e[9]=a,e[10]=o):o=e[10],i=N.filter(o),p=B(i,s),e[2]=N,e[3]=s,e[4]=t.selectedNrens,e[5]=a,e[6]=i,e[7]=p}else i=e[6],p=e[7];const k=p;let h;e[11]===Symbol.for("react.memo_cache_sentinel")?(h=[],e[11]=h):h=e[11];let l;e[12]!==x?(l=x.values(),e[12]=x,e[13]=l):l=e[13];let n;e[14]!==l?(n={availableYears:h,availableNrens:[...l]},e[14]=l,e[15]=n):n=e[15];let b;e[16]!==t||e[17]!==m||e[18]!==n?(b=c.jsx(H,{filterOptions:n,filterSelection:t,setFilterSelection:m}),e[16]=t,e[17]=m,e[18]=n,e[19]=b):b=e[19];const y=b;let u;e[20]===Symbol.for("react.memo_cache_sentinel")?(u=M({title:"Kilometres of Leased Dark Fibre",tooltipUnit:"km",unit:"km"}),e[20]=u):u=e[20];const j=u,C=f?"within":"outside";let g;e[21]!==C?(g=c.jsxs("span",{children:["This graph shows the number of Kilometres of dark fibre leased by NRENs ",C," their own countries. Also included is fibre leased via an IRU (Indefeasible Right of Use), a type of long-term lease of a portion of the capacity of a cable. It does not however, include fibre NRENs have installed, and own, themselves. The distance is the number of kilometres of the fibre pairs, or if bidirectional traffic on a single fibre, it is treated as a fibre pair."]}),e[21]=C,e[22]=g):g=e[22];const L=g,S=`Kilometres of Leased Dark Fibre (${f?"National":"International"})`,v=`dark_fibre_lease_${f?"national":"international"}`;let r;e[23]!==k?(r=c.jsx(J,{children:c.jsx(P,{data:k,options:j})}),e[23]=k,e[24]=r):r=e[24];let _;return e[25]!==L||e[26]!==y||e[27]!==i||e[28]!==S||e[29]!==v||e[30]!==r?(_=c.jsx(G,{title:S,description:L,category:I.Network,filter:y,data:i,filename:v,children:r}),e[25]=L,e[26]=y,e[27]=i,e[28]=S,e[29]=v,e[30]=r,e[31]=_):_=e[31],_}export{se as default}; diff --git a/compendium_v2/static/DarkFibreLease-DpIHorYZ.js b/compendium_v2/static/DarkFibreLease-DpIHorYZ.js deleted file mode 100644 index 46ea2a90..00000000 --- a/compendium_v2/static/DarkFibreLease-DpIHorYZ.js +++ /dev/null @@ -1 +0,0 @@ -import{a as E,r as w,F as R,j as c}from"./main-BIBsTO5W.js";import{L as I}from"./index-BBrAyDR9.js";import{C as P,a as K,L as U,P as $,b as O,p as T,c as A,d as Y,u as q,e as z,D as B,F as G,f as H}from"./useData-BDYwoQEh.js";import{S as J}from"./report.js";import{g as M}from"./charthelpers-CCaYPWnR.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";P.register(K,U,$,O,T,A,Y);function se(F){const e=E.c(32),{national:f}=F,s=f?"fibre_length_in_country":"fibre_length_outside_country";let d;e[0]!==s?(d=o=>o[s]!=null,e[0]=s,e[1]=d):d=e[1];const a=d,{filterSelection:t,setFilterSelection:m}=w.useContext(R),{data:N,nrens:x}=q("/api/dark-fibre-lease",m,a);let i,p;if(e[2]!==N||e[3]!==s||e[4]!==t.selectedNrens||e[5]!==a){let o;e[8]!==t.selectedNrens||e[9]!==a?(o=D=>t.selectedNrens.includes(D.nren)&&a(D),e[8]=t.selectedNrens,e[9]=a,e[10]=o):o=e[10],i=N.filter(o),p=z(i,s),e[2]=N,e[3]=s,e[4]=t.selectedNrens,e[5]=a,e[6]=i,e[7]=p}else i=e[6],p=e[7];const k=p;let h;e[11]===Symbol.for("react.memo_cache_sentinel")?(h=[],e[11]=h):h=e[11];let l;e[12]!==x?(l=x.values(),e[12]=x,e[13]=l):l=e[13];let n;e[14]!==l?(n={availableYears:h,availableNrens:[...l]},e[14]=l,e[15]=n):n=e[15];let b;e[16]!==t||e[17]!==m||e[18]!==n?(b=c.jsx(G,{filterOptions:n,filterSelection:t,setFilterSelection:m}),e[16]=t,e[17]=m,e[18]=n,e[19]=b):b=e[19];const y=b;let u;e[20]===Symbol.for("react.memo_cache_sentinel")?(u=M({title:"Kilometres of Leased Dark Fibre",tooltipUnit:"km",unit:"km"}),e[20]=u):u=e[20];const j=u,C=f?"within":"outside";let g;e[21]!==C?(g=c.jsxs("span",{children:["This graph shows the number of Kilometres of dark fibre leased by NRENs ",C," their own countries. Also included is fibre leased via an IRU (Indefeasible Right of Use), a type of long-term lease of a portion of the capacity of a cable. It does not however, include fibre NRENs have installed, and own, themselves. The distance is the number of kilometres of the fibre pairs, or if bidirectional traffic on a single fibre, it is treated as a fibre pair."]}),e[21]=C,e[22]=g):g=e[22];const L=g,S=`Kilometres of Leased Dark Fibre (${f?"National":"International"})`,v=`dark_fibre_lease_${f?"national":"international"}`;let r;e[23]!==k?(r=c.jsx(H,{children:c.jsx(I,{data:k,options:j})}),e[23]=k,e[24]=r):r=e[24];let _;return e[25]!==L||e[26]!==y||e[27]!==i||e[28]!==S||e[29]!==v||e[30]!==r?(_=c.jsx(B,{title:S,description:L,category:J.Network,filter:y,data:i,filename:v,children:r}),e[25]=L,e[26]=y,e[27]=i,e[28]=S,e[29]=v,e[30]=r,e[31]=_):_=e[31],_}export{se as default}; diff --git a/compendium_v2/static/ECProjects-C-HN1lwo.js b/compendium_v2/static/ECProjects-C-HN1lwo.js deleted file mode 100644 index a00c1968..00000000 --- a/compendium_v2/static/ECProjects-C-HN1lwo.js +++ /dev/null @@ -1 +0,0 @@ -import{a as v,r as Y,F as y,j as u}from"./main-BIBsTO5W.js";import{u as C,h as D,i as T,D as _,F as g,f as F}from"./useData-BDYwoQEh.js";import{S as P}from"./report.js";import{N as R}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function $(){const e=v.c(27),{filterSelection:t,setFilterSelection:s}=Y.useContext(y),{data:a,years:j,nrens:N}=C("/api/ec-project",s);let r,d;if(e[0]!==t.selectedNrens||e[1]!==t.selectedYears||e[2]!==a){let f;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(f=x=>t.selectedYears.includes(x.year)&&t.selectedNrens.includes(x.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=f):f=e[7],r=a.filter(f);const E=D(r);d=T(E,S),e[0]=t.selectedNrens,e[1]=t.selectedYears,e[2]=a,e[3]=r,e[4]=d}else r=e[3],d=e[4];const b=d;let o;e[8]!==j?(o=[...j],e[8]=j,e[9]=o):o=e[9];let i;e[10]!==N?(i=N.values(),e[10]=N,e[11]=i):i=e[11];let n;e[12]!==i?(n=[...i],e[12]=i,e[13]=n):n=e[13];let l;e[14]!==o||e[15]!==n?(l={availableYears:o,availableNrens:n},e[14]=o,e[15]=n,e[16]=l):l=e[16];let p;e[17]!==t||e[18]!==s||e[19]!==l?(p=u.jsx(g,{filterOptions:l,filterSelection:t,setFilterSelection:s}),e[17]=t,e[18]=s,e[19]=l,e[20]=p):p=e[20];const h=p;let c;e[21]!==b?(c=u.jsx(F,{children:u.jsx(R,{data:b,columnTitle:"EC Project Membership",dottedBorder:!0})}),e[21]=b,e[22]=c):c=e[22];let m;return e[23]!==h||e[24]!==r||e[25]!==c?(m=u.jsx(_,{title:"NREN Involvement in European Commission Projects",description:"Many NRENs are involved in a number of different European Commission project, besides GÉANT. The list of projects in the table below is not necessarily exhaustive, but does contain projects the NRENs consider important or worthy of mention.",category:P.Organisation,filter:h,data:r,filename:"nren_involvement_in_european_commission_projects",children:c}),e[23]=h,e[24]=r,e[25]=c,e[26]=m):m=e[26],m}function S(e,t){const s=t.map(O).sort();s.length&&s.forEach(a=>{e[a]=a})}function O(e){return e.project}export{$ as default}; diff --git a/compendium_v2/static/ECProjects-ChLCZHki.js b/compendium_v2/static/ECProjects-ChLCZHki.js new file mode 100644 index 00000000..6bdc80af --- /dev/null +++ b/compendium_v2/static/ECProjects-ChLCZHki.js @@ -0,0 +1 @@ +import{c as v,r as Y,F as y,j as u,S as C}from"./index.js";import{u as D,h as T,i as _,D as g,F,f as P}from"./useData-C0vA-Ut8.js";import{N as R}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function $(){const e=v.c(27),{filterSelection:t,setFilterSelection:s}=Y.useContext(y),{data:a,years:j,nrens:N}=D("/api/ec-project",s);let r,d;if(e[0]!==t.selectedNrens||e[1]!==t.selectedYears||e[2]!==a){let f;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(f=x=>t.selectedYears.includes(x.year)&&t.selectedNrens.includes(x.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=f):f=e[7],r=a.filter(f);const E=T(r);d=_(E,S),e[0]=t.selectedNrens,e[1]=t.selectedYears,e[2]=a,e[3]=r,e[4]=d}else r=e[3],d=e[4];const b=d;let o;e[8]!==j?(o=[...j],e[8]=j,e[9]=o):o=e[9];let i;e[10]!==N?(i=N.values(),e[10]=N,e[11]=i):i=e[11];let n;e[12]!==i?(n=[...i],e[12]=i,e[13]=n):n=e[13];let l;e[14]!==o||e[15]!==n?(l={availableYears:o,availableNrens:n},e[14]=o,e[15]=n,e[16]=l):l=e[16];let p;e[17]!==t||e[18]!==s||e[19]!==l?(p=u.jsx(F,{filterOptions:l,filterSelection:t,setFilterSelection:s}),e[17]=t,e[18]=s,e[19]=l,e[20]=p):p=e[20];const h=p;let c;e[21]!==b?(c=u.jsx(P,{children:u.jsx(R,{data:b,columnTitle:"EC Project Membership",dottedBorder:!0})}),e[21]=b,e[22]=c):c=e[22];let m;return e[23]!==h||e[24]!==r||e[25]!==c?(m=u.jsx(g,{title:"NREN Involvement in European Commission Projects",description:"Many NRENs are involved in a number of different European Commission project, besides GÉANT. The list of projects in the table below is not necessarily exhaustive, but does contain projects the NRENs consider important or worthy of mention.",category:C.Organisation,filter:h,data:r,filename:"nren_involvement_in_european_commission_projects",children:c}),e[23]=h,e[24]=r,e[25]=c,e[26]=m):m=e[26],m}function S(e,t){const s=t.map(O).sort();s.length&&s.forEach(a=>{e[a]=a})}function O(e){return e.project}export{$ as default}; diff --git a/compendium_v2/static/EOSCListings-DH_4uObR.js b/compendium_v2/static/EOSCListings-DH_4uObR.js new file mode 100644 index 00000000..056a8edb --- /dev/null +++ b/compendium_v2/static/EOSCListings-DH_4uObR.js @@ -0,0 +1 @@ +import{c as y,r as C,F as Y,j as d,S as j}from"./index.js";import{u as D,h as R,i as F,D as L,F as _,f as O}from"./useData-C0vA-Ut8.js";import{N as P}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function G(){const e=y.c(28),{filterSelection:t,setFilterSelection:a}=C.useContext(Y),{data:l,years:N,nrens:x}=D("/api/eosc-listings",a);let s,f;if(e[0]!==l||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=E=>t.selectedYears.includes(E.year)&&t.selectedNrens.includes(E.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],s=l.filter(u);const g=R(s);f=F(g,k),e[0]=l,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=f}else s=e[3],f=e[4];const S=f;let i;e[8]!==N?(i=[...N],e[8]=N,e[9]=i):i=e[9];let r;e[10]!==x?(r=x.values(),e[10]=x,e[11]=r):r=e[11];let o;e[12]!==r?(o=[...r],e[12]=r,e[13]=o):o=e[13];let n;e[14]!==i||e[15]!==o?(n={availableYears:i,availableNrens:o},e[14]=i,e[15]=o,e[16]=n):n=e[16];let m;e[17]!==t||e[18]!==a||e[19]!==n?(m=d.jsx(_,{filterOptions:n,filterSelection:t,setFilterSelection:a}),e[17]=t,e[18]=a,e[19]=n,e[20]=m):m=e[20];const v=m;let p;e[21]===Symbol.for("react.memo_cache_sentinel")?(p=d.jsx("span",{children:"Some NRENs choose to list services on the EOSC portal, these can be seen in the table below. Click on the name of the NREN to expand the detail and see the names of the services they list."}),e[21]=p):p=e[21];const b=p;let c;e[22]!==S?(c=d.jsx(O,{children:d.jsx(P,{data:S,columnTitle:"Service Name",dottedBorder:!0,keysAreURLs:!0,noDots:!0})}),e[22]=S,e[23]=c):c=e[23];let h;return e[24]!==v||e[25]!==s||e[26]!==c?(h=d.jsx(L,{title:"NREN Services Listed on the EOSC Portal",description:b,category:j.Policy,filter:v,data:s,filename:"nren_eosc_listings",children:c}),e[24]=v,e[25]=s,e[26]=c,e[27]=h):h=e[27],h}function k(e,t){for(const a of t)for(const l of a.service_names)e[l]=l}export{G as default}; diff --git a/compendium_v2/static/EOSCListings-DkHlXFjZ.js b/compendium_v2/static/EOSCListings-DkHlXFjZ.js deleted file mode 100644 index 5491b6c7..00000000 --- a/compendium_v2/static/EOSCListings-DkHlXFjZ.js +++ /dev/null @@ -1 +0,0 @@ -import{a as y,r as C,F as Y,j as f}from"./main-BIBsTO5W.js";import{u as j,h as D,i as R,D as F,F as L,f as _}from"./useData-BDYwoQEh.js";import{S as O}from"./report.js";import{N as P}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function G(){const e=y.c(28),{filterSelection:t,setFilterSelection:a}=C.useContext(Y),{data:l,years:N,nrens:x}=j("/api/eosc-listings",a);let s,d;if(e[0]!==l||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=E=>t.selectedYears.includes(E.year)&&t.selectedNrens.includes(E.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],s=l.filter(u);const g=D(s);d=R(g,k),e[0]=l,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=d}else s=e[3],d=e[4];const S=d;let r;e[8]!==N?(r=[...N],e[8]=N,e[9]=r):r=e[9];let i;e[10]!==x?(i=x.values(),e[10]=x,e[11]=i):i=e[11];let o;e[12]!==i?(o=[...i],e[12]=i,e[13]=o):o=e[13];let n;e[14]!==r||e[15]!==o?(n={availableYears:r,availableNrens:o},e[14]=r,e[15]=o,e[16]=n):n=e[16];let m;e[17]!==t||e[18]!==a||e[19]!==n?(m=f.jsx(L,{filterOptions:n,filterSelection:t,setFilterSelection:a}),e[17]=t,e[18]=a,e[19]=n,e[20]=m):m=e[20];const v=m;let p;e[21]===Symbol.for("react.memo_cache_sentinel")?(p=f.jsx("span",{children:"Some NRENs choose to list services on the EOSC portal, these can be seen in the table below. Click on the name of the NREN to expand the detail and see the names of the services they list."}),e[21]=p):p=e[21];const b=p;let c;e[22]!==S?(c=f.jsx(_,{children:f.jsx(P,{data:S,columnTitle:"Service Name",dottedBorder:!0,keysAreURLs:!0,noDots:!0})}),e[22]=S,e[23]=c):c=e[23];let h;return e[24]!==v||e[25]!==s||e[26]!==c?(h=f.jsx(F,{title:"NREN Services Listed on the EOSC Portal",description:b,category:O.Policy,filter:v,data:s,filename:"nren_eosc_listings",children:c}),e[24]=v,e[25]=s,e[26]=c,e[27]=h):h=e[27],h}function k(e,t){for(const a of t)for(const l of a.service_names)e[l]=l}export{G as default}; diff --git a/compendium_v2/static/ExternalConnections-CI7Oci1W.js b/compendium_v2/static/ExternalConnections-CI7Oci1W.js new file mode 100644 index 00000000..3adb9d47 --- /dev/null +++ b/compendium_v2/static/ExternalConnections-CI7Oci1W.js @@ -0,0 +1 @@ +import{c as _,j as r,e as C,r as E,F as S,S as w}from"./index.js";import{u as D,h as F,D as R,F as T,f as Y}from"./useData-C0vA-Ut8.js";import{T as I}from"./Table-ClWM2_rS.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";function L(e){const t=_.c(8),{dataLookup:l,columnInfo:a}=e;if(!l){let n;return t[0]===Symbol.for("react.memo_cache_sentinel")?(n=r.jsx("div",{className:"matrix-border-round"}),t[0]=n):n=t[0],n}let d;if(t[1]!==a||t[2]!==l){let n;t[4]!==a?(n=j=>{const[i,h]=j;return r.jsx(C,{title:i,theme:"-table",startCollapsed:!0,children:r.jsx("div",{className:"scrollable-horizontal",children:Array.from(h.entries()).map(m=>{const[o,b]=m,x={"--before-color":`var(--color-of-the-year-muted-${o%9})`};return r.jsxs("div",{children:[r.jsx("span",{className:`scrollable-table-year color-of-the-year-${o%9} bold-caps-16pt pt-3 ps-3`,style:x,children:o}),r.jsx("div",{className:`colored-table bg-muted-color-of-the-year-${o%9}`,children:r.jsxs(I,{children:[r.jsx("thead",{children:r.jsx("tr",{children:Object.keys(a).map(c=>r.jsx("th",{style:{position:"relative"},children:r.jsx("span",{style:x,children:c})},c))})}),r.jsx("tbody",{children:b.map((c,k)=>r.jsx("tr",{children:Object.entries(a).map(u=>{const[g,f]=u,y=c[f];return r.jsx("td",{children:y},g)})},k))})]})})]},o)})})},i)},t[4]=a,t[5]=n):n=t[5],d=Array.from(l.entries()).map(n),t[1]=a,t[2]=l,t[3]=d}else d=t[3];const p=d;let s;return t[6]!==p?(s=r.jsx("div",{className:"matrix-border-round",children:p}),t[6]=p,t[7]=s):s=t[7],s}function M(){const e=_.c(29),{filterSelection:t,setFilterSelection:l}=E.useContext(S),{data:a,years:d,nrens:p}=D("/api/external-connections",l);let s,n;if(e[0]!==a||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let N;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(N=v=>t.selectedYears.includes(v.year)&&t.selectedNrens.includes(v.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=N):N=e[7],s=a.filter(N),n=F([...s]),e[0]=a,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=n}else s=e[3],n=e[4];const j=n;let i;e[8]!==d?(i=[...d],e[8]=d,e[9]=i):i=e[9];let h;e[10]!==p?(h=p.values(),e[10]=p,e[11]=h):h=e[11];let m;e[12]!==h?(m=[...h],e[12]=h,e[13]=m):m=e[13];let o;e[14]!==i||e[15]!==m?(o={availableYears:i,availableNrens:m},e[14]=i,e[15]=m,e[16]=o):o=e[16];let b;e[17]!==t||e[18]!==l||e[19]!==o?(b=r.jsx(T,{filterOptions:o,filterSelection:t,setFilterSelection:l,coloredYears:!0}),e[17]=t,e[18]=l,e[19]=o,e[20]=b):b=e[20];const x=b;let c;e[21]===Symbol.for("react.memo_cache_sentinel")?(c={"Link Name":"link_name","Capacity (Gbit/s)":"capacity","From Organisation":"from_organization","To Organisation":"to_organization","Interconnection Method":"interconnection_method"},e[21]=c):c=e[21];const k=c;let u;e[22]===Symbol.for("react.memo_cache_sentinel")?(u=r.jsxs(r.Fragment,{children:[r.jsx("p",{children:"The table below shows the operational external IP connections of each NREN. These include links to their regional backbone (ie. GÉANT), to other research locations, to the commercial internet, peerings to internet exchanges, cross-border dark fibre links, and any other links they may have."}),r.jsx("p",{children:"NRENs are asked to state the capacity for production purposes, not any additional link that may be there solely for the purpose of giving resilience. Cross-border fibre links are meant as those links which have been commissioned or established by the NREN from a point on their network, which is near the border to another point near the border on the network of a neighbouring NREN."})]}),e[22]=u):u=e[22];const g=u;let f;e[23]!==j?(f=r.jsx(Y,{children:r.jsx(L,{dataLookup:j,columnInfo:k})}),e[23]=j,e[24]=f):f=e[24];let y;return e[25]!==x||e[26]!==s||e[27]!==f?(y=r.jsx(R,{title:"NREN External IP Connections",description:g,category:w.Network,filter:x,data:s,filename:"nren_external_connections",children:f}),e[25]=x,e[26]=s,e[27]=f,e[28]=y):y=e[28],y}export{M as default}; diff --git a/compendium_v2/static/ExternalConnections-CYJLiQ46.js b/compendium_v2/static/ExternalConnections-CYJLiQ46.js deleted file mode 100644 index f103c812..00000000 --- a/compendium_v2/static/ExternalConnections-CYJLiQ46.js +++ /dev/null @@ -1 +0,0 @@ -import{a as _,j as r,r as C,F as E}from"./main-BIBsTO5W.js";import{u as S,h as w,D,F,f as R}from"./useData-BDYwoQEh.js";import{c as T,S as Y}from"./report.js";import{T as I}from"./Table-HH9WOnMU.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";function L(e){const t=_.c(8),{dataLookup:l,columnInfo:a}=e;if(!l){let n;return t[0]===Symbol.for("react.memo_cache_sentinel")?(n=r.jsx("div",{className:"matrix-border-round"}),t[0]=n):n=t[0],n}let d;if(t[1]!==a||t[2]!==l){let n;t[4]!==a?(n=j=>{const[i,h]=j;return r.jsx(T,{title:i,theme:"-table",startCollapsed:!0,children:r.jsx("div",{className:"scrollable-horizontal",children:Array.from(h.entries()).map(m=>{const[o,b]=m,x={"--before-color":`var(--color-of-the-year-muted-${o%9})`};return r.jsxs("div",{children:[r.jsx("span",{className:`scrollable-table-year color-of-the-year-${o%9} bold-caps-16pt pt-3 ps-3`,style:x,children:o}),r.jsx("div",{className:`colored-table bg-muted-color-of-the-year-${o%9}`,children:r.jsxs(I,{children:[r.jsx("thead",{children:r.jsx("tr",{children:Object.keys(a).map(c=>r.jsx("th",{style:{position:"relative"},children:r.jsx("span",{style:x,children:c})},c))})}),r.jsx("tbody",{children:b.map((c,k)=>r.jsx("tr",{children:Object.entries(a).map(u=>{const[g,f]=u,y=c[f];return r.jsx("td",{children:y},g)})},k))})]})})]},o)})})},i)},t[4]=a,t[5]=n):n=t[5],d=Array.from(l.entries()).map(n),t[1]=a,t[2]=l,t[3]=d}else d=t[3];const p=d;let s;return t[6]!==p?(s=r.jsx("div",{className:"matrix-border-round",children:p}),t[6]=p,t[7]=s):s=t[7],s}function M(){const e=_.c(29),{filterSelection:t,setFilterSelection:l}=C.useContext(E),{data:a,years:d,nrens:p}=S("/api/external-connections",l);let s,n;if(e[0]!==a||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let N;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(N=v=>t.selectedYears.includes(v.year)&&t.selectedNrens.includes(v.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=N):N=e[7],s=a.filter(N),n=w([...s]),e[0]=a,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=n}else s=e[3],n=e[4];const j=n;let i;e[8]!==d?(i=[...d],e[8]=d,e[9]=i):i=e[9];let h;e[10]!==p?(h=p.values(),e[10]=p,e[11]=h):h=e[11];let m;e[12]!==h?(m=[...h],e[12]=h,e[13]=m):m=e[13];let o;e[14]!==i||e[15]!==m?(o={availableYears:i,availableNrens:m},e[14]=i,e[15]=m,e[16]=o):o=e[16];let b;e[17]!==t||e[18]!==l||e[19]!==o?(b=r.jsx(F,{filterOptions:o,filterSelection:t,setFilterSelection:l,coloredYears:!0}),e[17]=t,e[18]=l,e[19]=o,e[20]=b):b=e[20];const x=b;let c;e[21]===Symbol.for("react.memo_cache_sentinel")?(c={"Link Name":"link_name","Capacity (Gbit/s)":"capacity","From Organisation":"from_organization","To Organisation":"to_organization","Interconnection Method":"interconnection_method"},e[21]=c):c=e[21];const k=c;let u;e[22]===Symbol.for("react.memo_cache_sentinel")?(u=r.jsxs(r.Fragment,{children:[r.jsx("p",{children:"The table below shows the operational external IP connections of each NREN. These include links to their regional backbone (ie. GÉANT), to other research locations, to the commercial internet, peerings to internet exchanges, cross-border dark fibre links, and any other links they may have."}),r.jsx("p",{children:"NRENs are asked to state the capacity for production purposes, not any additional link that may be there solely for the purpose of giving resilience. Cross-border fibre links are meant as those links which have been commissioned or established by the NREN from a point on their network, which is near the border to another point near the border on the network of a neighbouring NREN."})]}),e[22]=u):u=e[22];const g=u;let f;e[23]!==j?(f=r.jsx(R,{children:r.jsx(L,{dataLookup:j,columnInfo:k})}),e[23]=j,e[24]=f):f=e[24];let y;return e[25]!==x||e[26]!==s||e[27]!==f?(y=r.jsx(D,{title:"NREN External IP Connections",description:g,category:Y.Network,filter:x,data:s,filename:"nren_external_connections",children:f}),e[25]=x,e[26]=s,e[27]=f,e[28]=y):y=e[28],y}export{M as default}; diff --git a/compendium_v2/static/FibreLight-4Mgdokfs.js b/compendium_v2/static/FibreLight-4Mgdokfs.js deleted file mode 100644 index 88c69507..00000000 --- a/compendium_v2/static/FibreLight-4Mgdokfs.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as k,r as E,F as Y,j as h}from"./main-BIBsTO5W.js";import{u as j,g as v,D as F,F as R,f as S}from"./useData-BDYwoQEh.js";import{S as C}from"./report.js";import{P as D}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function z(){const e=k.c(29),{filterSelection:t,setFilterSelection:c}=E.useContext(Y),{data:N,years:_,nrens:g}=j("/api/fibre-light",c);let r,p;if(e[0]!==N||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let m;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(m=b=>t.selectedYears.includes(b.year)&&t.selectedNrens.includes(b.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=m):m=e[7],r=N.filter(m),p=v(r,"light_description"),e[0]=N,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=r,e[4]=p}else r=e[3],p=e[4];const w=p;let o;e[8]!==_?(o=[..._],e[8]=_,e[9]=o):o=e[9];let i;e[10]!==g?(i=g.values(),e[10]=g,e[11]=i):i=e[11];let n;e[12]!==i?(n=[...i],e[12]=i,e[13]=n):n=e[13];let a;e[14]!==o||e[15]!==n?(a={availableYears:o,availableNrens:n},e[14]=o,e[15]=n,e[16]=a):a=e[16];let d;e[17]!==t||e[18]!==c||e[19]!==a?(d=h.jsx(R,{filterOptions:a,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[17]=t,e[18]=c,e[19]=a,e[20]=d):d=e[20];const x=d;let s,f;e[21]===Symbol.for("react.memo_cache_sentinel")?(s=["NREN owns and operates equipment","NREN owns equipment and operation is outsourced","Ownership and management are out-sourced (turn-key model)"],f=new Map([[s[0],"nren_owns_and_operates"],[s[1],"nren_owns_outsourced_operation"],[s[2],"outsourced_ownership_and_operation"]]),e[21]=s,e[22]=f):(s=e[21],f=e[22]);const y=f;let l;e[23]!==w?(l=h.jsx(S,{children:h.jsx(D,{columns:s,dataLookup:w,columnLookup:y,circle:!0})}),e[23]=w,e[24]=l):l=e[24];let u;return e[25]!==x||e[26]!==r||e[27]!==l?(u=h.jsx(F,{title:"Approaches to lighting NREN fibre networks",description:`This graphic shows the different ways NRENs can light their fibre networks. - The option 'Other' is given, with extra information if you hover over the icon.`,category:C.Network,filter:x,data:r,filename:"fibre_light_of_nrens_per_year",children:l}),e[25]=x,e[26]=r,e[27]=l,e[28]=u):u=e[28],u}export{z as default}; diff --git a/compendium_v2/static/FibreLight-CWljRLcS.js b/compendium_v2/static/FibreLight-CWljRLcS.js new file mode 100644 index 00000000..be7bc866 --- /dev/null +++ b/compendium_v2/static/FibreLight-CWljRLcS.js @@ -0,0 +1,2 @@ +import{c as k,r as E,F as Y,j as h,S as j}from"./index.js";import{u as v,g as F,D as R,F as S,f as C}from"./useData-C0vA-Ut8.js";import{P as D}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function z(){const e=k.c(29),{filterSelection:t,setFilterSelection:c}=E.useContext(Y),{data:N,years:_,nrens:g}=v("/api/fibre-light",c);let s,p;if(e[0]!==N||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let m;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(m=b=>t.selectedYears.includes(b.year)&&t.selectedNrens.includes(b.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=m):m=e[7],s=N.filter(m),p=F(s,"light_description"),e[0]=N,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=p}else s=e[3],p=e[4];const w=p;let o;e[8]!==_?(o=[..._],e[8]=_,e[9]=o):o=e[9];let i;e[10]!==g?(i=g.values(),e[10]=g,e[11]=i):i=e[11];let n;e[12]!==i?(n=[...i],e[12]=i,e[13]=n):n=e[13];let a;e[14]!==o||e[15]!==n?(a={availableYears:o,availableNrens:n},e[14]=o,e[15]=n,e[16]=a):a=e[16];let d;e[17]!==t||e[18]!==c||e[19]!==a?(d=h.jsx(S,{filterOptions:a,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[17]=t,e[18]=c,e[19]=a,e[20]=d):d=e[20];const x=d;let r,f;e[21]===Symbol.for("react.memo_cache_sentinel")?(r=["NREN owns and operates equipment","NREN owns equipment and operation is outsourced","Ownership and management are out-sourced (turn-key model)"],f=new Map([[r[0],"nren_owns_and_operates"],[r[1],"nren_owns_outsourced_operation"],[r[2],"outsourced_ownership_and_operation"]]),e[21]=r,e[22]=f):(r=e[21],f=e[22]);const y=f;let l;e[23]!==w?(l=h.jsx(C,{children:h.jsx(D,{columns:r,dataLookup:w,columnLookup:y,circle:!0})}),e[23]=w,e[24]=l):l=e[24];let u;return e[25]!==x||e[26]!==s||e[27]!==l?(u=h.jsx(R,{title:"Approaches to lighting NREN fibre networks",description:`This graphic shows the different ways NRENs can light their fibre networks. + The option 'Other' is given, with extra information if you hover over the icon.`,category:j.Network,filter:x,data:s,filename:"fibre_light_of_nrens_per_year",children:l}),e[25]=x,e[26]=s,e[27]=l,e[28]=u):u=e[28],u}export{z as default}; diff --git a/compendium_v2/static/FundingSource-Bwu0iwfm.js b/compendium_v2/static/FundingSource-Bwu0iwfm.js new file mode 100644 index 00000000..2d9bc86e --- /dev/null +++ b/compendium_v2/static/FundingSource-Bwu0iwfm.js @@ -0,0 +1 @@ +import{c as D,j as s,r as P,F as z,S as G,C as y,R as M}from"./index.js";import{B as T}from"./index-BJrPLJgf.js";import{C as j,a as H,L as W,B as q,p as I,c as J,d as K,u as Q,j as U,D as V,F as X,f as Z}from"./useData-C0vA-Ut8.js";import{p as ee}from"./chartjs-plugin-datalabels.esm-BObV249o.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";function N(e){const t=D.c(6),{index:i,active:l}=e,n=l===void 0?!0:l;let a;t[0]!==n||t[1]!==i?(a=n?s.jsx("div",{className:`color-of-badge-${i%5}`,style:{width:"20px",height:"35px",margin:"2px"}}):s.jsx("div",{className:"color-of-badge-blank",style:{width:"15px",height:"30px",margin:"2px"}}),t[0]=n,t[1]=i,t[2]=a):a=t[2];let r;return t[3]!==i||t[4]!==a?(r=s.jsx("div",{className:"d-inline-block m-2",children:a},i),t[3]=i,t[4]=a,t[5]=r):r=t[5],r}j.register(H,W,q,I,J,K);const te={maintainAspectRatio:!1,layout:{padding:{right:60}},animation:{duration:0},plugins:{legend:{display:!1},tooltip:{callbacks:{label:function(e){let t=e.dataset.label||"";return e.parsed.y!==null&&(t+=`: ${e.parsed.x}%`),t}}}},scales:{x:{position:"top",ticks:{callback:e=>`${e}%`,stepSize:10},max:100,min:0},xBottom:{ticks:{callback:e=>`${e}%`,stepSize:10},max:100,min:0,grid:{drawOnChartArea:!1},afterDataLimits:function(e){const t=Object.keys(j.instances);let i=-999999,l=999999;for(const n of t)j.instances[n]&&e.chart.scales.xBottom&&(l=Math.min(j.instances[n].scales.x.min,l),i=Math.max(j.instances[n].scales.x.max,i));e.chart.scales.xBottom.options.min=l,e.chart.scales.xBottom.options.max=i,e.chart.scales.xBottom.min=l,e.chart.scales.xBottom.max=i}},y:{ticks:{autoSkip:!1}}},indexAxis:"y"};function $(){const e=D.c(5);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:0},0),"Client Institutions"]}),e[0]=t):t=e[0];let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:1},1),"Commercial"]}),e[1]=i):i=e[1];let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:2},2),"European Funding"]}),e[2]=l):l=e[2];let n;e[3]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:3},3),"Gov/Public Bodies"]}),e[3]=n):n=e[3];let a;return e[4]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx("div",{className:"d-flex justify-content-center bold-grey-12pt",children:s.jsxs(M,{xs:"auto",className:"border rounded-3 border-1 my-5 justify-content-center",children:[t,i,l,n,s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:4},4),"Other"]})]})}),e[4]=a):a=e[4],a}function fe(){const e=D.c(44),{filterSelection:t,setFilterSelection:i}=P.useContext(z),{data:l,years:n,nrens:a}=Q("/api/funding",i);let r,c,o,_;if(e[0]!==t||e[1]!==l||e[2]!==a||e[3]!==i||e[4]!==n){let w;e[9]!==t.selectedNrens||e[10]!==t.selectedYears?(w=m=>t.selectedYears.includes(m.year)&&t.selectedNrens.includes(m.nren),e[9]=t.selectedNrens,e[10]=t.selectedYears,e[11]=w):w=e[11],o=l.filter(w),c=U(o),c.datasets.forEach(m=>{m.data=m.data.filter((ie,L)=>t.selectedNrens.includes(c.labels[L]))});let k;e[12]!==t.selectedNrens?(k=m=>t.selectedNrens.includes(m),e[12]=t.selectedNrens,e[13]=k):k=e[13],c.labels=c.labels.filter(k);let x;e[14]!==n?(x=[...n],e[14]=n,e[15]=x):x=e[15];let p;e[16]!==a?(p=a.values(),e[16]=a,e[17]=p):p=e[17];let g;e[18]!==p?(g=[...p],e[18]=p,e[19]=g):g=e[19];let b;e[20]!==x||e[21]!==g?(b={availableYears:x,availableNrens:g},e[20]=x,e[21]=g,e[22]=b):b=e[22];let R;e[23]!==t||e[24]!==i||e[25]!==b?(R=s.jsx(X,{filterOptions:b,filterSelection:t,setFilterSelection:i}),e[23]=t,e[24]=i,e[25]=b,e[26]=R):R=e[26],r=R,_=Array.from(new Set(o.map(se))),e[0]=t,e[1]=l,e[2]=a,e[3]=i,e[4]=n,e[5]=r,e[6]=c,e[7]=o,e[8]=_}else r=e[5],c=e[6],o=e[7],_=e[8];const O=_.length,Y=t.selectedYears.length,A=O*Y*2+5;let S;e[27]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsxs("span",{children:['The graph shows the percentage share of their income that NRENs derive from different sources, with any funding and NREN may receive from GÉANT included within "European funding". By "Client institutions" NRENs may be referring to universities, schools, research institutes, commercial clients, or other types of organisation. "Commercial services" include services such as being a domain registry, or security support.',s.jsx("br",{}),"Hovering over the graph bars will show the exact figures, per source. When viewing multiple years, it is advisable to restrict the number of NRENs being compared."]}),e[27]=S):S=e[27];let v;e[28]===Symbol.for("react.memo_cache_sentinel")?(v=s.jsx($,{}),e[28]=v):v=e[28];const F=`${A}rem`;let d;e[29]!==F?(d={height:F},e[29]=F,e[30]=d):d=e[30];let C;e[31]===Symbol.for("react.memo_cache_sentinel")?(C=[ee],e[31]=C):C=e[31];let f;e[32]!==c?(f=s.jsx(T,{plugins:C,data:c,options:te}),e[32]=c,e[33]=f):f=e[33];let u;e[34]!==d||e[35]!==f?(u=s.jsx("div",{className:"chart-container",style:d,children:f}),e[34]=d,e[35]=f,e[36]=u):u=e[36];let B;e[37]===Symbol.for("react.memo_cache_sentinel")?(B=s.jsx($,{}),e[37]=B):B=e[37];let h;e[38]!==u?(h=s.jsxs(Z,{children:[v,u,B]}),e[38]=u,e[39]=h):h=e[39];let E;return e[40]!==r||e[41]!==o||e[42]!==h?(E=s.jsx(V,{title:"Income Source Of NRENs",description:S,category:G.Organisation,filter:r,data:o,filename:"income_source_of_nren_per_year",children:h}),e[40]=r,e[41]=o,e[42]=h,e[43]=E):E=e[43],E}function se(e){return e.nren}export{fe as default}; diff --git a/compendium_v2/static/FundingSource-DRHIT4Ra.js b/compendium_v2/static/FundingSource-DRHIT4Ra.js deleted file mode 100644 index b76c5441..00000000 --- a/compendium_v2/static/FundingSource-DRHIT4Ra.js +++ /dev/null @@ -1 +0,0 @@ -import{a as D,j as s,r as P,F as z,C as y,R as G}from"./main-BIBsTO5W.js";import{B as M}from"./index-BBrAyDR9.js";import{C as j,a as T,L as H,B as W,p as q,c as I,d as J,u as K,j as Q,D as U,F as V,f as X}from"./useData-BDYwoQEh.js";import{p as Z}from"./chartjs-plugin-datalabels.esm-D8EJYoxA.js";import{S as ee}from"./report.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";function N(e){const t=D.c(6),{index:i,active:l}=e,n=l===void 0?!0:l;let a;t[0]!==n||t[1]!==i?(a=n?s.jsx("div",{className:`color-of-badge-${i%5}`,style:{width:"20px",height:"35px",margin:"2px"}}):s.jsx("div",{className:"color-of-badge-blank",style:{width:"15px",height:"30px",margin:"2px"}}),t[0]=n,t[1]=i,t[2]=a):a=t[2];let r;return t[3]!==i||t[4]!==a?(r=s.jsx("div",{className:"d-inline-block m-2",children:a},i),t[3]=i,t[4]=a,t[5]=r):r=t[5],r}j.register(T,H,W,q,I,J);const te={maintainAspectRatio:!1,layout:{padding:{right:60}},animation:{duration:0},plugins:{legend:{display:!1},tooltip:{callbacks:{label:function(e){let t=e.dataset.label||"";return e.parsed.y!==null&&(t+=`: ${e.parsed.x}%`),t}}}},scales:{x:{position:"top",ticks:{callback:e=>`${e}%`,stepSize:10},max:100,min:0},xBottom:{ticks:{callback:e=>`${e}%`,stepSize:10},max:100,min:0,grid:{drawOnChartArea:!1},afterDataLimits:function(e){const t=Object.keys(j.instances);let i=-999999,l=999999;for(const n of t)j.instances[n]&&e.chart.scales.xBottom&&(l=Math.min(j.instances[n].scales.x.min,l),i=Math.max(j.instances[n].scales.x.max,i));e.chart.scales.xBottom.options.min=l,e.chart.scales.xBottom.options.max=i,e.chart.scales.xBottom.min=l,e.chart.scales.xBottom.max=i}},y:{ticks:{autoSkip:!1}}},indexAxis:"y"};function $(){const e=D.c(5);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:0},0),"Client Institutions"]}),e[0]=t):t=e[0];let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:1},1),"Commercial"]}),e[1]=i):i=e[1];let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:2},2),"European Funding"]}),e[2]=l):l=e[2];let n;e[3]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:3},3),"Gov/Public Bodies"]}),e[3]=n):n=e[3];let a;return e[4]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx("div",{className:"d-flex justify-content-center bold-grey-12pt",children:s.jsxs(G,{xs:"auto",className:"border rounded-3 border-1 my-5 justify-content-center",children:[t,i,l,n,s.jsxs(y,{className:"d-flex align-items-center",children:[s.jsx(N,{index:4},4),"Other"]})]})}),e[4]=a):a=e[4],a}function fe(){const e=D.c(44),{filterSelection:t,setFilterSelection:i}=P.useContext(z),{data:l,years:n,nrens:a}=K("/api/funding",i);let r,c,o,_;if(e[0]!==t||e[1]!==l||e[2]!==a||e[3]!==i||e[4]!==n){let w;e[9]!==t.selectedNrens||e[10]!==t.selectedYears?(w=m=>t.selectedYears.includes(m.year)&&t.selectedNrens.includes(m.nren),e[9]=t.selectedNrens,e[10]=t.selectedYears,e[11]=w):w=e[11],o=l.filter(w),c=Q(o),c.datasets.forEach(m=>{m.data=m.data.filter((ie,L)=>t.selectedNrens.includes(c.labels[L]))});let k;e[12]!==t.selectedNrens?(k=m=>t.selectedNrens.includes(m),e[12]=t.selectedNrens,e[13]=k):k=e[13],c.labels=c.labels.filter(k);let x;e[14]!==n?(x=[...n],e[14]=n,e[15]=x):x=e[15];let p;e[16]!==a?(p=a.values(),e[16]=a,e[17]=p):p=e[17];let g;e[18]!==p?(g=[...p],e[18]=p,e[19]=g):g=e[19];let b;e[20]!==x||e[21]!==g?(b={availableYears:x,availableNrens:g},e[20]=x,e[21]=g,e[22]=b):b=e[22];let R;e[23]!==t||e[24]!==i||e[25]!==b?(R=s.jsx(V,{filterOptions:b,filterSelection:t,setFilterSelection:i}),e[23]=t,e[24]=i,e[25]=b,e[26]=R):R=e[26],r=R,_=Array.from(new Set(o.map(se))),e[0]=t,e[1]=l,e[2]=a,e[3]=i,e[4]=n,e[5]=r,e[6]=c,e[7]=o,e[8]=_}else r=e[5],c=e[6],o=e[7],_=e[8];const O=_.length,Y=t.selectedYears.length,A=O*Y*2+5;let S;e[27]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsxs("span",{children:['The graph shows the percentage share of their income that NRENs derive from different sources, with any funding and NREN may receive from GÉANT included within "European funding". By "Client institutions" NRENs may be referring to universities, schools, research institutes, commercial clients, or other types of organisation. "Commercial services" include services such as being a domain registry, or security support.',s.jsx("br",{}),"Hovering over the graph bars will show the exact figures, per source. When viewing multiple years, it is advisable to restrict the number of NRENs being compared."]}),e[27]=S):S=e[27];let v;e[28]===Symbol.for("react.memo_cache_sentinel")?(v=s.jsx($,{}),e[28]=v):v=e[28];const F=`${A}rem`;let d;e[29]!==F?(d={height:F},e[29]=F,e[30]=d):d=e[30];let C;e[31]===Symbol.for("react.memo_cache_sentinel")?(C=[Z],e[31]=C):C=e[31];let f;e[32]!==c?(f=s.jsx(M,{plugins:C,data:c,options:te}),e[32]=c,e[33]=f):f=e[33];let u;e[34]!==d||e[35]!==f?(u=s.jsx("div",{className:"chart-container",style:d,children:f}),e[34]=d,e[35]=f,e[36]=u):u=e[36];let B;e[37]===Symbol.for("react.memo_cache_sentinel")?(B=s.jsx($,{}),e[37]=B):B=e[37];let h;e[38]!==u?(h=s.jsxs(X,{children:[v,u,B]}),e[38]=u,e[39]=h):h=e[39];let E;return e[40]!==r||e[41]!==o||e[42]!==h?(E=s.jsx(U,{title:"Income Source Of NRENs",description:S,category:ee.Organisation,filter:r,data:o,filename:"income_source_of_nren_per_year",children:h}),e[40]=r,e[41]=o,e[42]=h,e[43]=E):E=e[43],E}function se(e){return e.nren}export{fe as default}; diff --git a/compendium_v2/static/HTMLLegendPlugin-B1D8JXQI.js b/compendium_v2/static/HTMLLegendPlugin-B1D8JXQI.js new file mode 100644 index 00000000..bbaccba0 --- /dev/null +++ b/compendium_v2/static/HTMLLegendPlugin-B1D8JXQI.js @@ -0,0 +1 @@ +import{c as g,j as p}from"./index.js";import{f as m,C as c}from"./useData-C0vA-Ut8.js";const C=o=>{const e=g.c(8);let{children:s,location:t}=o;t||(t="both");const r=t==="top"||t==="both",a=t==="bottom"||t==="both";let n;e[0]!==r?(n=r&&p.jsx("div",{style:{paddingLeft:"33%",paddingTop:"2.5rem",paddingBottom:"1.5rem"},id:"legendtop"}),e[0]=r,e[1]=n):n=e[1];let l;e[2]!==a?(l=a&&p.jsx("div",{style:{paddingLeft:"33%",paddingTop:"1.5rem"},id:"legendbottom"}),e[2]=a,e[3]=l):l=e[3];let i;return e[4]!==s||e[5]!==n||e[6]!==l?(i=p.jsxs(m,{children:[n,s,l]}),e[4]=s,e[5]=n,e[6]=l,e[7]=i):i=e[7],i},u=(o,e)=>{const s=document.getElementById(e);if(!s)return null;let t=s.querySelector("ul");return t||(t=document.createElement("ul"),t.style.display="flex",t.style.flexDirection="row",t.style.margin="0",t.style.padding="0",s.appendChild(t)),t},b={id:"htmlLegend",afterUpdate(o,e,s){for(const t of s.containerIDs){const r=u(o,t);if(!r)return;for(;r.firstChild;)r.firstChild.remove();o.options.plugins.legend.labels.generateLabels(o).forEach(n=>{const l=document.createElement("li");l.style.alignItems="center",l.style.cursor="pointer",l.style.display="flex",l.style.flexDirection="row",l.style.marginLeft="10px",l.onclick=()=>{const{type:f}=o.config;f==="pie"||f==="doughnut"?o.toggleDataVisibility(n.index):o.setDatasetVisibility(n.datasetIndex,!o.isDatasetVisible(n.datasetIndex)),o.update()};const i=document.createElement("span");i.style.background=n.fillStyle,i.style.borderColor=n.strokeStyle,i.style.borderWidth=n.lineWidth+"px",i.style.display="inline-block",i.style.height="1rem",i.style.marginRight="10px",i.style.width="2.5rem";const d=document.createElement("p");d.style.color=n.fontColor,d.style.margin="0",d.style.padding="0",d.style.textDecoration=n.hidden?"line-through":"",d.style.fontSize=`${c.defaults.font.size}px`,d.style.fontFamily=`${c.defaults.font.family}`,d.style.fontWeight=`${c.defaults.font.weight}`;const y=document.createTextNode(n.text);d.appendChild(y),l.appendChild(i),l.appendChild(d),r.appendChild(l)})}}};export{C as W,b as h}; diff --git a/compendium_v2/static/HTMLLegendPlugin-BO0IHS_R.js b/compendium_v2/static/HTMLLegendPlugin-BO0IHS_R.js deleted file mode 100644 index 37254f32..00000000 --- a/compendium_v2/static/HTMLLegendPlugin-BO0IHS_R.js +++ /dev/null @@ -1 +0,0 @@ -import{a as g,j as p}from"./main-BIBsTO5W.js";import{f as m,C as c}from"./useData-BDYwoQEh.js";const C=o=>{const e=g.c(8);let{children:s,location:t}=o;t||(t="both");const r=t==="top"||t==="both",a=t==="bottom"||t==="both";let n;e[0]!==r?(n=r&&p.jsx("div",{style:{paddingLeft:"33%",paddingTop:"2.5rem",paddingBottom:"1.5rem"},id:"legendtop"}),e[0]=r,e[1]=n):n=e[1];let l;e[2]!==a?(l=a&&p.jsx("div",{style:{paddingLeft:"33%",paddingTop:"1.5rem"},id:"legendbottom"}),e[2]=a,e[3]=l):l=e[3];let i;return e[4]!==s||e[5]!==n||e[6]!==l?(i=p.jsxs(m,{children:[n,s,l]}),e[4]=s,e[5]=n,e[6]=l,e[7]=i):i=e[7],i},u=(o,e)=>{const s=document.getElementById(e);if(!s)return null;let t=s.querySelector("ul");return t||(t=document.createElement("ul"),t.style.display="flex",t.style.flexDirection="row",t.style.margin="0",t.style.padding="0",s.appendChild(t)),t},b={id:"htmlLegend",afterUpdate(o,e,s){for(const t of s.containerIDs){const r=u(o,t);if(!r)return;for(;r.firstChild;)r.firstChild.remove();o.options.plugins.legend.labels.generateLabels(o).forEach(n=>{const l=document.createElement("li");l.style.alignItems="center",l.style.cursor="pointer",l.style.display="flex",l.style.flexDirection="row",l.style.marginLeft="10px",l.onclick=()=>{const{type:f}=o.config;f==="pie"||f==="doughnut"?o.toggleDataVisibility(n.index):o.setDatasetVisibility(n.datasetIndex,!o.isDatasetVisible(n.datasetIndex)),o.update()};const i=document.createElement("span");i.style.background=n.fillStyle,i.style.borderColor=n.strokeStyle,i.style.borderWidth=n.lineWidth+"px",i.style.display="inline-block",i.style.height="1rem",i.style.marginRight="10px",i.style.width="2.5rem";const d=document.createElement("p");d.style.color=n.fontColor,d.style.margin="0",d.style.padding="0",d.style.textDecoration=n.hidden?"line-through":"",d.style.fontSize=`${c.defaults.font.size}px`,d.style.fontFamily=`${c.defaults.font.family}`,d.style.fontWeight=`${c.defaults.font.weight}`;const y=document.createTextNode(n.text);d.appendChild(y),l.appendChild(i),l.appendChild(d),r.appendChild(l)})}}};export{C as W,b as h}; diff --git a/compendium_v2/static/IRUDuration-D50DEG35.js b/compendium_v2/static/IRUDuration-D50DEG35.js deleted file mode 100644 index ba9b5fda..00000000 --- a/compendium_v2/static/IRUDuration-D50DEG35.js +++ /dev/null @@ -1 +0,0 @@ -import{a as C,r as D,F as R,j as o}from"./main-BIBsTO5W.js";import{L}from"./index-BBrAyDR9.js";import{C as E,a as j,L as v,P as F,b as I,p as U,c as k,d as P,u as w,e as O,D as Y,F as A,f as T}from"./useData-BDYwoQEh.js";import{S as $}from"./report.js";import{g as q}from"./charthelpers-CCaYPWnR.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";E.register(j,v,F,I,U,k,P);function V(){const e=C.c(24);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=l=>l.iru_duration!=null,e[0]=n):n=e[0];const y=n,{filterSelection:t,setFilterSelection:c}=D.useContext(R),{data:g,nrens:_}=w("/api/dark-fibre-lease",c,y);let a,f;if(e[1]!==g||e[2]!==t.selectedNrens){let l;e[5]!==t.selectedNrens?(l=S=>t.selectedNrens.includes(S.nren),e[5]=t.selectedNrens,e[6]=l):l=e[6],a=g.filter(l),f=O(a,"iru_duration"),e[1]=g,e[2]=t.selectedNrens,e[3]=a,e[4]=f}else a=e[3],f=e[4];const N=f;let m;e[7]===Symbol.for("react.memo_cache_sentinel")?(m=[],e[7]=m):m=e[7];let s;e[8]!==_?(s=_.values(),e[8]=_,e[9]=s):s=e[9];let i;e[10]!==s?(i={availableYears:m,availableNrens:[...s]},e[10]=s,e[11]=i):i=e[11];let p;e[12]!==t||e[13]!==c||e[14]!==i?(p=o.jsx(A,{filterOptions:i,filterSelection:t,setFilterSelection:c}),e[12]=t,e[13]=c,e[14]=i,e[15]=p):p=e[15];const b=p;let d;e[16]===Symbol.for("react.memo_cache_sentinel")?(d=q({title:"Lease Duration In Years",tooltipUnit:"years",tickLimit:999}),e[16]=d):d=e[16];const x=d;let u;e[17]===Symbol.for("react.memo_cache_sentinel")?(u=o.jsx("span",{children:"NRENs sometimes take out an IRU (Indefeasible Right of Use), which is essentially a long-term lease, on a portion of the capacity of a cable rather than laying cable themselves. This graph shows the average duration, in years, of the IRUs of NRENs."}),e[17]=u):u=e[17];let r;e[18]!==N?(r=o.jsx(T,{children:o.jsx(L,{data:N,options:x})}),e[18]=N,e[19]=r):r=e[19];let h;return e[20]!==b||e[21]!==a||e[22]!==r?(h=o.jsx(Y,{title:"Average Duration of IRU leases of Fibre by NRENs ",description:u,category:$.Network,filter:b,data:a,filename:"iru_duration_data",children:r}),e[20]=b,e[21]=a,e[22]=r,e[23]=h):h=e[23],h}export{V as default}; diff --git a/compendium_v2/static/IRUDuration-DwT4l7iu.js b/compendium_v2/static/IRUDuration-DwT4l7iu.js new file mode 100644 index 00000000..c5076831 --- /dev/null +++ b/compendium_v2/static/IRUDuration-DwT4l7iu.js @@ -0,0 +1 @@ +import{c as C,r as D,F as R,j as n,S as L}from"./index.js";import{L as E}from"./index-BJrPLJgf.js";import{C as j,a as v,L as F,P as I,b as U,p as k,c as P,d as w,u as O,e as Y,D as A,F as T,f as $}from"./useData-C0vA-Ut8.js";import{g as q}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";j.register(v,F,I,U,k,P,w);function V(){const e=C.c(24);let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=r=>r.iru_duration!=null,e[0]=o):o=e[0];const y=o,{filterSelection:t,setFilterSelection:c}=D.useContext(R),{data:g,nrens:_}=O("/api/dark-fibre-lease",c,y);let a,f;if(e[1]!==g||e[2]!==t.selectedNrens){let r;e[5]!==t.selectedNrens?(r=S=>t.selectedNrens.includes(S.nren),e[5]=t.selectedNrens,e[6]=r):r=e[6],a=g.filter(r),f=Y(a,"iru_duration"),e[1]=g,e[2]=t.selectedNrens,e[3]=a,e[4]=f}else a=e[3],f=e[4];const N=f;let m;e[7]===Symbol.for("react.memo_cache_sentinel")?(m=[],e[7]=m):m=e[7];let s;e[8]!==_?(s=_.values(),e[8]=_,e[9]=s):s=e[9];let i;e[10]!==s?(i={availableYears:m,availableNrens:[...s]},e[10]=s,e[11]=i):i=e[11];let p;e[12]!==t||e[13]!==c||e[14]!==i?(p=n.jsx(T,{filterOptions:i,filterSelection:t,setFilterSelection:c}),e[12]=t,e[13]=c,e[14]=i,e[15]=p):p=e[15];const b=p;let d;e[16]===Symbol.for("react.memo_cache_sentinel")?(d=q({title:"Lease Duration In Years",tooltipUnit:"years",tickLimit:999}),e[16]=d):d=e[16];const x=d;let u;e[17]===Symbol.for("react.memo_cache_sentinel")?(u=n.jsx("span",{children:"NRENs sometimes take out an IRU (Indefeasible Right of Use), which is essentially a long-term lease, on a portion of the capacity of a cable rather than laying cable themselves. This graph shows the average duration, in years, of the IRUs of NRENs."}),e[17]=u):u=e[17];let l;e[18]!==N?(l=n.jsx($,{children:n.jsx(E,{data:N,options:x})}),e[18]=N,e[19]=l):l=e[19];let h;return e[20]!==b||e[21]!==a||e[22]!==l?(h=n.jsx(A,{title:"Average Duration of IRU leases of Fibre by NRENs ",description:u,category:L.Network,filter:b,data:a,filename:"iru_duration_data",children:l}),e[20]=b,e[21]=a,e[22]=l,e[23]=h):h=e[23],h}export{V as default}; diff --git a/compendium_v2/static/Landing-f86DzYca.js b/compendium_v2/static/Landing-f86DzYca.js new file mode 100644 index 00000000..ec8ed83d --- /dev/null +++ b/compendium_v2/static/Landing-f86DzYca.js @@ -0,0 +1 @@ +import{c as V,H as J,r as _,W as K,A as Q,j as t,L as H,D as X,R as Z}from"./index.js";import{f as ee,a as te}from"./survey-3meXCY6T.js";import{S as ne}from"./SurveySidebar-NbXpjOVQ.js";import{u as b,w as re}from"./xlsx-BHRztzV8.js";import{T as se}from"./Table-ClWM2_rS.js";import"./SideBar-Bzc5cONd.js";const oe=()=>{const e=V.c(7),[i,f]=_.useState();let h,r;e[0]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{te().then(s=>{f(s[0])})},r=[],e[0]=h,e[1]=r):(h=e[0],r=e[1]),_.useEffect(h,r);let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{children:"(N)REN"}),t.jsx("th",{children:"Link"}),t.jsx("th",{children:"Survey Status"})]})}),e[2]=l):l=e[2];let c;e[3]!==i?(c=i&&i.responses.map(s=>t.jsxs("tr",{children:[t.jsx("td",{children:s.nren.name}),t.jsx("td",{children:t.jsx(H,{to:`/survey/response/${i.year}/${s.nren.name}`,children:t.jsx("span",{children:"Navigate to survey"})})}),t.jsx("td",{children:s.status})]},s.nren.id)),e[3]=i,e[4]=c):c=e[4];let o;return e[5]!==c?(o=t.jsxs(se,{striped:!0,bordered:!0,responsive:!0,children:[l,t.jsx("tbody",{children:c})]}),e[5]=c,e[6]=o):o=e[6],o};function fe(){const e=V.c(37),{trackPageView:i}=J(),{user:f}=_.useContext(K),h=Q(),r=!!f.id,l=r?!!f.nrens.length:!1,c=l?f.nrens[0]:"",o=r?f.permissions.admin:!1,s=r?f.role==="observer":!1,[y,z]=_.useState(null);let w,E;e[0]!==i?(w=()=>{(async()=>{const P=await ee();z(P)})(),i({documentTitle:"GEANT Survey Landing Page"})},E=[i],e[0]=i,e[1]=w,e[2]=E):(w=e[1],E=e[2]),_.useEffect(w,E);let N;e[3]!==c||e[4]!==y||e[5]!==h?(N=()=>{try{return h(`/survey/response/${y}/${c}`),t.jsx("li",{children:"Redirecting to survey..."})}catch(I){return console.error("Error navigating:",I),null}},e[3]=c,e[4]=y,e[5]=h,e[6]=N):N=e[6];const W=N;let C;if(e[7]===Symbol.for("react.memo_cache_sentinel")){const I=function(d,x,a){const m=b.decode_range(d["!ref"]??"");let S=-1;for(let n=m.s.c;n<=m.e.c;n++){const u=b.encode_cell({r:m.s.r,c:n}),B=d[u];if(B&&typeof B.v=="string"&&B.v===x){S=n;break}}if(S===-1){console.error(`Column '${x}' not found.`);return}for(let n=m.s.r+1;n<=m.e.r;++n){const u=b.encode_cell({r:n,c:S});d[u]&&d[u].t==="n"&&(d[u].z=a)}},P=function(d){const x=b.book_new();d.forEach(n=>{const u=b.json_to_sheet(n.data);n.meta&&I(u,n.meta.columnName,n.meta.format),b.book_append_sheet(x,u,n.name)});const a=re(x,{bookType:"xlsx",type:"binary"}),m=new ArrayBuffer(a.length),S=new Uint8Array(m);for(let n=0;n<a.length;n++)S[n]=a.charCodeAt(n)&255;return new Blob([m],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"})};C=function(){fetch("/api/data-download").then(ae).then(d=>{const x=P(d),a=document.createElement("a");a.href=URL.createObjectURL(x),a.download="data.xlsx",document.body.appendChild(a),a.click(),document.body.removeChild(a)}).catch(le)},e[7]=C}else C=e[7];const q=C;let p;e[8]!==o?(p=o&&t.jsx(ne,{}),e[8]=o,e[9]=p):p=e[9];let k;e[10]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("h1",{className:"geant-header",children:"THE GÉANT COMPENDIUM OF NRENS SURVEY"}),e[10]=k):k=e[10];let T,A;e[11]===Symbol.for("react.memo_cache_sentinel")?(T={maxWidth:"75rem"},A={textAlign:"left"},e[11]=T,e[12]=A):(T=e[11],A=e[12]);let R;e[13]===Symbol.for("react.memo_cache_sentinel")?(R=t.jsx("br",{}),e[13]=R):R=e[13];let Y;e[14]===Symbol.for("react.memo_cache_sentinel")?(Y=t.jsx("a",{href:"/login",children:"here"}),e[14]=Y):Y=e[14];let L;e[15]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsx("br",{}),e[15]=L):L=e[15];let O;e[16]===Symbol.for("react.memo_cache_sentinel")?(O=t.jsx("br",{}),e[16]=O):O=e[16];let $,D,U,F;e[17]===Symbol.for("react.memo_cache_sentinel")?($=t.jsxs("p",{style:A,children:["Hello,",R,"Welcome to the GÉANT Compendium Survey. (N)REN Compendium administrators can login via Single Sign On (SSO) ",Y,", which will complete their registration to fill in the latest Compendium survey. This will send a notification to the Compendium administration team and they will assign you to your (N)REN.",L,"Once this step has been completed, you will receive an email from the administration team. We aim to get back to you the same working day, but sometimes may take a little longer.",O,"If you are not sure whether you are a Compendium Administrator for your (N)REN, please contact your GÉANT Partner Relations relationship manager.",t.jsx("br",{}),"Thank you."]}),D=t.jsx("span",{children:"Current registration status:"}),U=t.jsx("br",{}),F=t.jsx("br",{}),e[17]=$,e[18]=D,e[19]=U,e[20]=F):($=e[17],D=e[18],U=e[19],F=e[20]);let j;e[21]!==y||e[22]!==l||e[23]!==o||e[24]!==s||e[25]!==r||e[26]!==W?(j=o?t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("span",{children:"You are logged in as a Compendium Administrator"})}),t.jsx("li",{children:t.jsxs("span",{children:["Click ",t.jsx(H,{to:"/survey/admin/surveys",children:"here"})," to access the survey management page."]})}),t.jsx("li",{children:t.jsxs("span",{children:["Click ",t.jsx(H,{to:"/survey/admin/users",children:"here"})," to access the user management page."]})}),t.jsx("li",{children:t.jsxs("span",{children:["Click ",t.jsx("a",{href:"#",onClick:q,children:"here"})," to do the full data download."]})})]}):t.jsxs("ul",{children:[y&&!o&&!s&&l&&W(),r?t.jsx("li",{children:t.jsx("span",{children:"You are logged in"})}):t.jsx("li",{children:t.jsx("span",{children:"You are not logged in"})}),r&&!s&&!l&&t.jsx("li",{children:t.jsx("span",{children:"Your access to the survey has not yet been approved"})}),r&&!s&&!l&&t.jsx("li",{children:t.jsx("span",{children:"Once you have been approved, you will immediately be directed to the relevant survey upon visiting this page"})}),r&&s&&t.jsx("li",{children:t.jsx("span",{children:"You have read-only access to the following surveys:"})})]}),e[21]=y,e[22]=l,e[23]=o,e[24]=s,e[25]=r,e[26]=W,e[27]=j):j=e[27];let v;e[28]!==s||e[29]!==r?(v=r&&s&&t.jsx(oe,{}),e[28]=s,e[29]=r,e[30]=v):v=e[30];let g;e[31]!==j||e[32]!==v?(g=t.jsx(X,{className:"py-5 grey-container",children:t.jsx(Z,{children:t.jsxs("div",{className:"center-text",children:[k,t.jsxs("div",{className:"wordwrap pt-4",style:T,children:[$,D,U,F,j,v]})]})})}),e[31]=j,e[32]=v,e[33]=g):g=e[33];let G;return e[34]!==g||e[35]!==p?(G=t.jsxs(t.Fragment,{children:[p,g]}),e[34]=g,e[35]=p,e[36]=G):G=e[36],G}function le(e){console.error("Error fetching data:",e),alert("An error occurred while creating the data download Excel file.")}function ae(e){if(!e.ok)throw new Error("Network response was not ok");return e.json()}export{fe as default}; diff --git a/compendium_v2/static/MonitoringTools-BuTC_DRa.js b/compendium_v2/static/MonitoringTools-BuTC_DRa.js deleted file mode 100644 index fa620fb5..00000000 --- a/compendium_v2/static/MonitoringTools-BuTC_DRa.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as T,r as v,F as S,j as h}from"./main-BIBsTO5W.js";import{u as Y,g as j,n as F,D as C,F as D,f as E}from"./useData-BDYwoQEh.js";import{S as L}from"./report.js";import{P as M}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function B(){const e=T.c(29),{filterSelection:t,setFilterSelection:c}=v.useContext(S),{data:w,years:_,nrens:N}=Y("/api/monitoring-tools",c);let s,f;if(e[0]!==w||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let m;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(m=x=>t.selectedYears.includes(x.year)&&t.selectedNrens.includes(x.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=m):m=e[7],s=w.filter(m);const y=j(s,"tool_descriptions");f=F(y,P),e[0]=w,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=f}else s=e[3],f=e[4];const g=f;let o,p;e[8]===Symbol.for("react.memo_cache_sentinel")?(o=["Looking Glass","Network or Services Status Dashboard","Historical traffic volume information","Netflow analysis tool"],p=new Map([[o[0],"looking_glass"],[o[1],"status_dashboard"],[o[2],"historical_traffic_volumes"],[o[3],"netflow_analysis"]]),e[8]=o,e[9]=p):(o=e[8],p=e[9]);const k=p;let l;e[10]!==_?(l=[..._],e[10]=_,e[11]=l):l=e[11];let r;e[12]!==N?(r=N.values(),e[12]=N,e[13]=r):r=e[13];let i;e[14]!==r?(i=[...r],e[14]=r,e[15]=i):i=e[15];let a;e[16]!==l||e[17]!==i?(a={availableYears:l,availableNrens:i},e[16]=l,e[17]=i,e[18]=a):a=e[18];let d;e[19]!==t||e[20]!==c||e[21]!==a?(d=h.jsx(D,{filterOptions:a,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=a,e[22]=d):d=e[22];const b=d;let n;e[23]!==g?(n=h.jsx(E,{children:h.jsx(M,{columns:o,columnLookup:k,dataLookup:g})}),e[23]=g,e[24]=n):n=e[24];let u;return e[25]!==b||e[26]!==s||e[27]!==n?(u=h.jsx(C,{title:"Tools for Monitoring or Troubleshooting the Network - Offered to Client Institutions",description:`The table below shows which tools the NREN offers to client institutions to allow them to monitor the network and troubleshoot any issues which arise. - Four common tools are named, however NRENs also have the opportunity to add their own tools to the table.`,category:L.Network,filter:b,data:s,filename:"monitoring_tools_nrens_per_year",children:n}),e[25]=b,e[26]=s,e[27]=n,e[28]=u):u=e[28],u}function P(e,t){if(e==="netflow_analysis"&&t.netflow_processing_description)return t.netflow_processing_description}export{B as default}; diff --git a/compendium_v2/static/MonitoringTools-D5EolQI7.js b/compendium_v2/static/MonitoringTools-D5EolQI7.js new file mode 100644 index 00000000..7e27419d --- /dev/null +++ b/compendium_v2/static/MonitoringTools-D5EolQI7.js @@ -0,0 +1,2 @@ +import{c as T,r as v,F as S,j as h,S as Y}from"./index.js";import{u as j,g as F,n as C,D,F as E,f as L}from"./useData-C0vA-Ut8.js";import{P as M}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function B(){const e=T.c(29),{filterSelection:t,setFilterSelection:c}=v.useContext(S),{data:w,years:_,nrens:N}=j("/api/monitoring-tools",c);let s,f;if(e[0]!==w||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let m;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(m=x=>t.selectedYears.includes(x.year)&&t.selectedNrens.includes(x.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=m):m=e[7],s=w.filter(m);const y=F(s,"tool_descriptions");f=C(y,P),e[0]=w,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=f}else s=e[3],f=e[4];const g=f;let o,p;e[8]===Symbol.for("react.memo_cache_sentinel")?(o=["Looking Glass","Network or Services Status Dashboard","Historical traffic volume information","Netflow analysis tool"],p=new Map([[o[0],"looking_glass"],[o[1],"status_dashboard"],[o[2],"historical_traffic_volumes"],[o[3],"netflow_analysis"]]),e[8]=o,e[9]=p):(o=e[8],p=e[9]);const k=p;let l;e[10]!==_?(l=[..._],e[10]=_,e[11]=l):l=e[11];let r;e[12]!==N?(r=N.values(),e[12]=N,e[13]=r):r=e[13];let i;e[14]!==r?(i=[...r],e[14]=r,e[15]=i):i=e[15];let n;e[16]!==l||e[17]!==i?(n={availableYears:l,availableNrens:i},e[16]=l,e[17]=i,e[18]=n):n=e[18];let d;e[19]!==t||e[20]!==c||e[21]!==n?(d=h.jsx(E,{filterOptions:n,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=n,e[22]=d):d=e[22];const b=d;let a;e[23]!==g?(a=h.jsx(L,{children:h.jsx(M,{columns:o,columnLookup:k,dataLookup:g})}),e[23]=g,e[24]=a):a=e[24];let u;return e[25]!==b||e[26]!==s||e[27]!==a?(u=h.jsx(D,{title:"Tools for Monitoring or Troubleshooting the Network - Offered to Client Institutions",description:`The table below shows which tools the NREN offers to client institutions to allow them to monitor the network and troubleshoot any issues which arise. + Four common tools are named, however NRENs also have the opportunity to add their own tools to the table.`,category:Y.Network,filter:b,data:s,filename:"monitoring_tools_nrens_per_year",children:a}),e[25]=b,e[26]=s,e[27]=a,e[28]=u):u=e[28],u}function P(e,t){if(e==="netflow_analysis"&&t.netflow_processing_description)return t.netflow_processing_description}export{B as default}; diff --git a/compendium_v2/static/NetworkFunctionVirtualisation-Ci3ZHBJN.js b/compendium_v2/static/NetworkFunctionVirtualisation-Ci3ZHBJN.js new file mode 100644 index 00000000..0f5c852c --- /dev/null +++ b/compendium_v2/static/NetworkFunctionVirtualisation-Ci3ZHBJN.js @@ -0,0 +1 @@ +import{c as W,r as X,F as Z,S as k,j as t}from"./index.js";import{u as ee,g as te,F as se,D as le,f as re}from"./useData-C0vA-Ut8.js";import{C as H}from"./ColorPill-CXvWIfWz.js";import{T as ne}from"./Table-ClWM2_rS.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";function ue(){const e=W.c(67),{filterSelection:n,setFilterSelection:h}=X.useContext(Z),{data:I,years:c,nrens:V}=ee("/api/nfv",h);let f,p,x,j,u,m,g,b,v,o,d,w,N,S,Y;if(e[0]!==I||e[1]!==n||e[2]!==V||e[3]!==h||e[4]!==c){let A;e[20]!==n.selectedNrens||e[21]!==n.selectedYears?(A=R=>n.selectedYears.includes(R.year)&&n.selectedNrens.includes(R.nren),e[20]=n.selectedNrens,e[21]=n.selectedYears,e[22]=A):A=e[22];const J=I.filter(A),Q=te(J,"nfv_specifics");let C;e[23]!==c?(C=[...c],e[23]=c,e[24]=C):C=e[24];let T;e[25]!==V?(T=V.values(),e[25]=V,e[26]=T):T=e[26];let $;e[27]!==T?($=[...T],e[27]=T,e[28]=$):$=e[28];let E;e[29]!==C||e[30]!==$?(E={availableYears:C,availableNrens:$},e[29]=C,e[30]=$,e[31]=E):E=e[31];let L;e[32]!==n||e[33]!==h||e[34]!==E?(L=t.jsx(se,{filterOptions:E,filterSelection:n,setFilterSelection:h,coloredYears:!0}),e[32]=n,e[33]=h,e[34]=E,e[35]=L):L=e[35];const U=L;let O;e[36]!==c?(O=R=>c.has(R),e[36]=c,e[37]=O):O=e[37];const K=[...n.selectedYears.filter(O)].sort();x=le,w="Kinds of Network Function Virtualisation used by NRENs ",N="The table below shows the kinds of Network Function Virtualisation (NFV) used by NRENs.",S=k.Network,Y=U,m=J,g="network_function_virtualisation_nrens_per_year",p=re,f=ne,u="charging-struct-table",b=!0,v=!0;let M;e[38]===Symbol.for("react.memo_cache_sentinel")?(M=t.jsx("col",{span:1,style:{width:"20%"}}),e[38]=M):M=e[38];let _;e[39]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx("col",{span:2,style:{width:"16%"}}),e[39]=_):_=e[39];let q;e[40]===Symbol.for("react.memo_cache_sentinel")?(q=t.jsx("col",{span:2,style:{width:"16%"}}),e[40]=q):q=e[40];let z;e[41]===Symbol.for("react.memo_cache_sentinel")?(z=t.jsx("col",{span:2,style:{width:"16%"}}),e[41]=z):z=e[41];let B;e[42]===Symbol.for("react.memo_cache_sentinel")?(B=t.jsx("col",{span:2,style:{width:"16%"}}),e[42]=B):B=e[42],e[43]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsxs("colgroup",{children:[M,_,q,z,B,t.jsx("col",{span:2,style:{width:"16%"}})]}),d=t.jsxs("thead",{children:[t.jsxs("tr",{children:[t.jsx("th",{}),t.jsx("th",{colSpan:2,children:"Routers/switches"}),t.jsx("th",{colSpan:2,children:"Firewalls"}),t.jsx("th",{colSpan:2,children:"Load balancers"}),t.jsx("th",{colSpan:2,children:"VPN Concentrator Services"}),t.jsx("th",{colSpan:2,children:"Other"})]}),t.jsxs("tr",{children:[t.jsx("th",{}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"})]})]}),e[43]=o,e[44]=d):(o=e[43],d=e[44]),j=Array.from(Q.entries()).map(R=>{const[G,a]=R;return t.jsxs("tr",{children:[t.jsx("td",{children:G}),["routers","firewalls","load_balancers","vpn_concentrators"].map(l=>t.jsxs(t.Fragment,{children:[t.jsx("td",{children:a.has(l)&&K.map(s=>{const i=a.get(l),r=i.get(s);return t.jsx(H,{year:s,active:i.has(s)&&!!(r&&r.nfv=="yes"),tooltip:"",rounded:!0},s)})},`${l}-yes`),t.jsx("td",{children:a.has(l)&&K.map(s=>{const i=a.get(l),r=i.get(s);return t.jsx(H,{year:s,active:i.has(s)&&!!(r&&r.nfv=="planned"),tooltip:"",rounded:!0},s)})},`${l}-planned`)]})),t.jsx("td",{children:Array.from(a.keys()).filter(ae).map(l=>t.jsx("div",{children:a.has(l)&&K.map(s=>{const i=a.get(l),r=i.get(s);return t.jsx(H,{year:s,active:i.has(s)&&!!(r&&(r==null?void 0:r.nfv)=="yes"),tooltip:l,rounded:!0},s)})},`${l}-yes`))},`${G}-other-yes`),t.jsx("td",{children:Array.from(a.keys()).filter(ie).map(l=>t.jsx("div",{children:a.has(l)&&K.map(s=>{const i=a.get(l),r=i.get(s);return t.jsx(H,{year:s,active:i.has(s)&&!!(r&&(r==null?void 0:r.nfv)=="planned"),tooltip:l,rounded:!0},s)})},`${l}-planned`))},`${G}-other-planned`)]},G)}),e[0]=I,e[1]=n,e[2]=V,e[3]=h,e[4]=c,e[5]=f,e[6]=p,e[7]=x,e[8]=j,e[9]=u,e[10]=m,e[11]=g,e[12]=b,e[13]=v,e[14]=o,e[15]=d,e[16]=w,e[17]=N,e[18]=S,e[19]=Y}else f=e[5],p=e[6],x=e[7],j=e[8],u=e[9],m=e[10],g=e[11],b=e[12],v=e[13],o=e[14],d=e[15],w=e[16],N=e[17],S=e[18],Y=e[19];let F;e[45]!==j?(F=t.jsx("tbody",{children:j}),e[45]=j,e[46]=F):F=e[46];let y;e[47]!==f||e[48]!==u||e[49]!==F||e[50]!==b||e[51]!==v||e[52]!==o||e[53]!==d?(y=t.jsxs(f,{className:u,striped:b,bordered:v,children:[o,d,F]}),e[47]=f,e[48]=u,e[49]=F,e[50]=b,e[51]=v,e[52]=o,e[53]=d,e[54]=y):y=e[54];let P;e[55]!==p||e[56]!==y?(P=t.jsx(p,{children:y}),e[55]=p,e[56]=y,e[57]=P):P=e[57];let D;return e[58]!==x||e[59]!==m||e[60]!==g||e[61]!==P||e[62]!==w||e[63]!==N||e[64]!==S||e[65]!==Y?(D=t.jsx(x,{title:w,description:N,category:S,filter:Y,data:m,filename:g,children:P}),e[58]=x,e[59]=m,e[60]=g,e[61]=P,e[62]=w,e[63]=N,e[64]=S,e[65]=Y,e[66]=D):D=e[66],D}function ie(e){return!["routers","firewalls","load_balancers","vpn_concentrators"].includes(e)}function ae(e){return!["routers","firewalls","load_balancers","vpn_concentrators"].includes(e)}export{ue as default}; diff --git a/compendium_v2/static/NetworkFunctionVirtualisation-DMaSWRo0.js b/compendium_v2/static/NetworkFunctionVirtualisation-DMaSWRo0.js deleted file mode 100644 index 435d7999..00000000 --- a/compendium_v2/static/NetworkFunctionVirtualisation-DMaSWRo0.js +++ /dev/null @@ -1 +0,0 @@ -import{a as W,r as X,F as Z,j as t}from"./main-BIBsTO5W.js";import{u as k,g as ee,F as te,D as se,f as le}from"./useData-BDYwoQEh.js";import{C as H}from"./ColorPill-CqT_mR3a.js";import{S as re}from"./report.js";import{T as ne}from"./Table-HH9WOnMU.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";function ue(){const e=W.c(67),{filterSelection:n,setFilterSelection:h}=X.useContext(Z),{data:I,years:o,nrens:V}=k("/api/nfv",h);let f,p,x,j,u,m,g,b,v,c,d,w,N,S,Y;if(e[0]!==I||e[1]!==n||e[2]!==V||e[3]!==h||e[4]!==o){let A;e[20]!==n.selectedNrens||e[21]!==n.selectedYears?(A=R=>n.selectedYears.includes(R.year)&&n.selectedNrens.includes(R.nren),e[20]=n.selectedNrens,e[21]=n.selectedYears,e[22]=A):A=e[22];const J=I.filter(A),Q=ee(J,"nfv_specifics");let C;e[23]!==o?(C=[...o],e[23]=o,e[24]=C):C=e[24];let T;e[25]!==V?(T=V.values(),e[25]=V,e[26]=T):T=e[26];let $;e[27]!==T?($=[...T],e[27]=T,e[28]=$):$=e[28];let E;e[29]!==C||e[30]!==$?(E={availableYears:C,availableNrens:$},e[29]=C,e[30]=$,e[31]=E):E=e[31];let L;e[32]!==n||e[33]!==h||e[34]!==E?(L=t.jsx(te,{filterOptions:E,filterSelection:n,setFilterSelection:h,coloredYears:!0}),e[32]=n,e[33]=h,e[34]=E,e[35]=L):L=e[35];const U=L;let O;e[36]!==o?(O=R=>o.has(R),e[36]=o,e[37]=O):O=e[37];const K=[...n.selectedYears.filter(O)].sort();x=se,w="Kinds of Network Function Virtualisation used by NRENs ",N="The table below shows the kinds of Network Function Virtualisation (NFV) used by NRENs.",S=re.Network,Y=U,m=J,g="network_function_virtualisation_nrens_per_year",p=le,f=ne,u="charging-struct-table",b=!0,v=!0;let M;e[38]===Symbol.for("react.memo_cache_sentinel")?(M=t.jsx("col",{span:1,style:{width:"20%"}}),e[38]=M):M=e[38];let _;e[39]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx("col",{span:2,style:{width:"16%"}}),e[39]=_):_=e[39];let q;e[40]===Symbol.for("react.memo_cache_sentinel")?(q=t.jsx("col",{span:2,style:{width:"16%"}}),e[40]=q):q=e[40];let z;e[41]===Symbol.for("react.memo_cache_sentinel")?(z=t.jsx("col",{span:2,style:{width:"16%"}}),e[41]=z):z=e[41];let B;e[42]===Symbol.for("react.memo_cache_sentinel")?(B=t.jsx("col",{span:2,style:{width:"16%"}}),e[42]=B):B=e[42],e[43]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsxs("colgroup",{children:[M,_,q,z,B,t.jsx("col",{span:2,style:{width:"16%"}})]}),d=t.jsxs("thead",{children:[t.jsxs("tr",{children:[t.jsx("th",{}),t.jsx("th",{colSpan:2,children:"Routers/switches"}),t.jsx("th",{colSpan:2,children:"Firewalls"}),t.jsx("th",{colSpan:2,children:"Load balancers"}),t.jsx("th",{colSpan:2,children:"VPN Concentrator Services"}),t.jsx("th",{colSpan:2,children:"Other"})]}),t.jsxs("tr",{children:[t.jsx("th",{}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"}),t.jsx("th",{children:"Yes"}),t.jsx("th",{children:"Planned"})]})]}),e[43]=c,e[44]=d):(c=e[43],d=e[44]),j=Array.from(Q.entries()).map(R=>{const[G,a]=R;return t.jsxs("tr",{children:[t.jsx("td",{children:G}),["routers","firewalls","load_balancers","vpn_concentrators"].map(l=>t.jsxs(t.Fragment,{children:[t.jsx("td",{children:a.has(l)&&K.map(s=>{const i=a.get(l),r=i.get(s);return t.jsx(H,{year:s,active:i.has(s)&&!!(r&&r.nfv=="yes"),tooltip:"",rounded:!0},s)})},`${l}-yes`),t.jsx("td",{children:a.has(l)&&K.map(s=>{const i=a.get(l),r=i.get(s);return t.jsx(H,{year:s,active:i.has(s)&&!!(r&&r.nfv=="planned"),tooltip:"",rounded:!0},s)})},`${l}-planned`)]})),t.jsx("td",{children:Array.from(a.keys()).filter(ae).map(l=>t.jsx("div",{children:a.has(l)&&K.map(s=>{const i=a.get(l),r=i.get(s);return t.jsx(H,{year:s,active:i.has(s)&&!!(r&&(r==null?void 0:r.nfv)=="yes"),tooltip:l,rounded:!0},s)})},`${l}-yes`))},`${G}-other-yes`),t.jsx("td",{children:Array.from(a.keys()).filter(ie).map(l=>t.jsx("div",{children:a.has(l)&&K.map(s=>{const i=a.get(l),r=i.get(s);return t.jsx(H,{year:s,active:i.has(s)&&!!(r&&(r==null?void 0:r.nfv)=="planned"),tooltip:l,rounded:!0},s)})},`${l}-planned`))},`${G}-other-planned`)]},G)}),e[0]=I,e[1]=n,e[2]=V,e[3]=h,e[4]=o,e[5]=f,e[6]=p,e[7]=x,e[8]=j,e[9]=u,e[10]=m,e[11]=g,e[12]=b,e[13]=v,e[14]=c,e[15]=d,e[16]=w,e[17]=N,e[18]=S,e[19]=Y}else f=e[5],p=e[6],x=e[7],j=e[8],u=e[9],m=e[10],g=e[11],b=e[12],v=e[13],c=e[14],d=e[15],w=e[16],N=e[17],S=e[18],Y=e[19];let F;e[45]!==j?(F=t.jsx("tbody",{children:j}),e[45]=j,e[46]=F):F=e[46];let y;e[47]!==f||e[48]!==u||e[49]!==F||e[50]!==b||e[51]!==v||e[52]!==c||e[53]!==d?(y=t.jsxs(f,{className:u,striped:b,bordered:v,children:[c,d,F]}),e[47]=f,e[48]=u,e[49]=F,e[50]=b,e[51]=v,e[52]=c,e[53]=d,e[54]=y):y=e[54];let P;e[55]!==p||e[56]!==y?(P=t.jsx(p,{children:y}),e[55]=p,e[56]=y,e[57]=P):P=e[57];let D;return e[58]!==x||e[59]!==m||e[60]!==g||e[61]!==P||e[62]!==w||e[63]!==N||e[64]!==S||e[65]!==Y?(D=t.jsx(x,{title:w,description:N,category:S,filter:Y,data:m,filename:g,children:P}),e[58]=x,e[59]=m,e[60]=g,e[61]=P,e[62]=w,e[63]=N,e[64]=S,e[65]=Y,e[66]=D):D=e[66],D}function ie(e){return!["routers","firewalls","load_balancers","vpn_concentrators"].includes(e)}function ae(e){return!["routers","firewalls","load_balancers","vpn_concentrators"].includes(e)}export{ue as default}; diff --git a/compendium_v2/static/NetworkMapUrls-CYYKJL7A.js b/compendium_v2/static/NetworkMapUrls-CYYKJL7A.js new file mode 100644 index 00000000..37a636dc --- /dev/null +++ b/compendium_v2/static/NetworkMapUrls-CYYKJL7A.js @@ -0,0 +1 @@ +import{c as b,r as h,F as j,j as u,S as y}from"./index.js";import{u as _,q as g,k as v,i as S,D as E,F,f as R,s as C}from"./useData-C0vA-Ut8.js";import{N as L}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function $(){const e=b.c(21),{filterSelection:t,setFilterSelection:r}=h.useContext(j),{data:a,nrens:i}=_("/api/network-map-urls",r);let s,c;if(e[0]!==a||e[1]!==t.selectedNrens){const x=a?g(a):[];let d;e[4]!==t.selectedNrens?(d=w=>t.selectedNrens.includes(w.nren),e[4]=t.selectedNrens,e[5]=d):d=e[5],s=x.filter(d);const D=v(s);c=S(D,T),e[0]=a,e[1]=t.selectedNrens,e[2]=s,e[3]=c}else s=e[2],c=e[3];const N=c;let p;e[6]===Symbol.for("react.memo_cache_sentinel")?(p=[],e[6]=p):p=e[6];let o;e[7]!==i?(o=i.values(),e[7]=i,e[8]=o):o=e[8];let l;e[9]!==o?(l={availableYears:p,availableNrens:[...o]},e[9]=o,e[10]=l):l=e[10];let f;e[11]!==t||e[12]!==r||e[13]!==l?(f=u.jsx(F,{filterOptions:l,filterSelection:t,setFilterSelection:r,coloredYears:!0}),e[11]=t,e[12]=r,e[13]=l,e[14]=f):f=e[14];const k=f;let n;e[15]!==N?(n=u.jsx(R,{children:u.jsx(L,{data:N,columnTitle:"Network Map",dottedBorder:!0,noDots:!0,keysAreURLs:!0,removeDecoration:!0})}),e[15]=N,e[16]=n):n=e[16];let m;return e[17]!==k||e[18]!==s||e[19]!==n?(m=u.jsx(E,{title:"NREN Network Maps",description:"This table provides links to NREN network maps, showing layers 1, 2, and 3 of their networks.",category:y.Network,filter:k,data:s,filename:"network_map_nrens_per_year",children:n}),e[17]=k,e[18]=s,e[19]=n,e[20]=m):m=e[20],m}function T(e,t){const r=C(t);if(r!=null)for(const[a,i]of Object.entries(r))e[a]=i}export{$ as default}; diff --git a/compendium_v2/static/NetworkMapUrls-YVUXOiQm.js b/compendium_v2/static/NetworkMapUrls-YVUXOiQm.js deleted file mode 100644 index e8540bbd..00000000 --- a/compendium_v2/static/NetworkMapUrls-YVUXOiQm.js +++ /dev/null @@ -1 +0,0 @@ -import{a as b,r as h,F as j,j as u}from"./main-BIBsTO5W.js";import{u as y,q as _,k as g,i as v,D as S,F as E,f as F,s as R}from"./useData-BDYwoQEh.js";import{S as C}from"./report.js";import{N as L}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function $(){const e=b.c(21),{filterSelection:t,setFilterSelection:r}=h.useContext(j),{data:a,nrens:i}=y("/api/network-map-urls",r);let s,c;if(e[0]!==a||e[1]!==t.selectedNrens){const x=a?_(a):[];let d;e[4]!==t.selectedNrens?(d=w=>t.selectedNrens.includes(w.nren),e[4]=t.selectedNrens,e[5]=d):d=e[5],s=x.filter(d);const D=g(s);c=v(D,T),e[0]=a,e[1]=t.selectedNrens,e[2]=s,e[3]=c}else s=e[2],c=e[3];const N=c;let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f=[],e[6]=f):f=e[6];let o;e[7]!==i?(o=i.values(),e[7]=i,e[8]=o):o=e[8];let l;e[9]!==o?(l={availableYears:f,availableNrens:[...o]},e[9]=o,e[10]=l):l=e[10];let p;e[11]!==t||e[12]!==r||e[13]!==l?(p=u.jsx(E,{filterOptions:l,filterSelection:t,setFilterSelection:r,coloredYears:!0}),e[11]=t,e[12]=r,e[13]=l,e[14]=p):p=e[14];const k=p;let n;e[15]!==N?(n=u.jsx(F,{children:u.jsx(L,{data:N,columnTitle:"Network Map",dottedBorder:!0,noDots:!0,keysAreURLs:!0,removeDecoration:!0})}),e[15]=N,e[16]=n):n=e[16];let m;return e[17]!==k||e[18]!==s||e[19]!==n?(m=u.jsx(S,{title:"NREN Network Maps",description:"This table provides links to NREN network maps, showing layers 1, 2, and 3 of their networks.",category:C.Network,filter:k,data:s,filename:"network_map_nrens_per_year",children:n}),e[17]=k,e[18]=s,e[19]=n,e[20]=m):m=e[20],m}function T(e,t){const r=R(t);if(r!=null)for(const[a,i]of Object.entries(r))e[a]=i}export{$ as default}; diff --git a/compendium_v2/static/NonRAndEPeer-BvFWiPrM.js b/compendium_v2/static/NonRAndEPeer-BvFWiPrM.js deleted file mode 100644 index 3865f9f6..00000000 --- a/compendium_v2/static/NonRAndEPeer-BvFWiPrM.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as B,r as D,F,j as u}from"./main-BIBsTO5W.js";import{B as Y}from"./index-BBrAyDR9.js";import{C as k,a as v,L as A,B as L,p as O,c as T,d as $,u as G,o as I,D as M,F as W,f as q}from"./useData-BDYwoQEh.js";import{S as z}from"./report.js";import{p as H}from"./chartjs-plugin-datalabels.esm-D8EJYoxA.js";import{a as J}from"./charthelpers-CCaYPWnR.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";k.register(v,A,L,O,T,$);function ae(){const e=B.c(38),{filterSelection:t,setFilterSelection:r}=D.useContext(F),{data:b,years:d,nrens:h}=G("/api/non-re-peers",r);let a,l,s,g;if(e[0]!==b||e[1]!==t||e[2]!==h||e[3]!==r||e[4]!==d){let E;e[9]!==t.selectedNrens||e[10]!==t.selectedYears?(E=w=>t.selectedYears.includes(w.year)&&t.selectedNrens.includes(w.nren),e[9]=t.selectedNrens,e[10]=t.selectedYears,e[11]=E):E=e[11],s=b.filter(E),a=I(s,"nr_of_non_r_and_e_peers","Number of Peers");let c;e[12]!==d?(c=[...d],e[12]=d,e[13]=c):c=e[13];let m;e[14]!==h?(m=h.values(),e[14]=h,e[15]=m):m=e[15];let f;e[16]!==m?(f=[...m],e[16]=m,e[17]=f):f=e[17];let p;e[18]!==c||e[19]!==f?(p={availableYears:c,availableNrens:f},e[18]=c,e[19]=f,e[20]=p):p=e[20];let S;e[21]!==t||e[22]!==r||e[23]!==p?(S=u.jsx(W,{filterOptions:p,filterSelection:t,setFilterSelection:r}),e[21]=t,e[22]=r,e[23]=p,e[24]=S):S=e[24],l=S,g=Array.from(new Set(s.map(K))),e[0]=b,e[1]=t,e[2]=h,e[3]=r,e[4]=d,e[5]=a,e[6]=l,e[7]=s,e[8]=g}else a=e[5],l=e[6],s=e[7],g=e[8];const y=g.length,R=Math.max(y*t.selectedYears.length*1.5+5,50),j=`The graph below shows the number of non-Research and Education networks - NRENs peer with. This includes all direct IP-peerings to commercial networks, eg. Google`;let N;e[25]===Symbol.for("react.memo_cache_sentinel")?(N=J({title:"Number of Non-R&E Peers"}),e[25]=N):N=e[25];const P=N,C=`${R}rem`;let n;e[26]!==C?(n={height:C},e[26]=C,e[27]=n):n=e[27];let _;e[28]===Symbol.for("react.memo_cache_sentinel")?(_=[H],e[28]=_):_=e[28];let i;e[29]!==a?(i=u.jsx(Y,{data:a,options:P,plugins:_}),e[29]=a,e[30]=i):i=e[30];let o;e[31]!==n||e[32]!==i?(o=u.jsx(q,{children:u.jsx("div",{className:"chart-container",style:n,children:i})}),e[31]=n,e[32]=i,e[33]=o):o=e[33];let x;return e[34]!==l||e[35]!==s||e[36]!==o?(x=u.jsx(M,{title:"Number of Non-R&E Networks NRENs Peer With",description:j,category:z.Network,filter:l,data:s,filename:"non_r_and_e_peering",children:o}),e[34]=l,e[35]=s,e[36]=o,e[37]=x):x=e[37],x}function K(e){return e.nren}export{ae as default}; diff --git a/compendium_v2/static/NonRAndEPeer-OZTW6B0e.js b/compendium_v2/static/NonRAndEPeer-OZTW6B0e.js new file mode 100644 index 00000000..01b5ff3b --- /dev/null +++ b/compendium_v2/static/NonRAndEPeer-OZTW6B0e.js @@ -0,0 +1,2 @@ +import{c as B,r as D,F,j as u,S as Y}from"./index.js";import{B as k}from"./index-BJrPLJgf.js";import{C as v,a as A,L,B as O,p as T,c as $,d as G,u as I,o as M,D as W,F as q,f as z}from"./useData-C0vA-Ut8.js";import{p as H}from"./chartjs-plugin-datalabels.esm-BObV249o.js";import{a as J}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";v.register(A,L,O,T,$,G);function ae(){const e=B.c(38),{filterSelection:t,setFilterSelection:r}=D.useContext(F),{data:b,years:d,nrens:h}=I("/api/non-re-peers",r);let a,l,s,g;if(e[0]!==b||e[1]!==t||e[2]!==h||e[3]!==r||e[4]!==d){let E;e[9]!==t.selectedNrens||e[10]!==t.selectedYears?(E=w=>t.selectedYears.includes(w.year)&&t.selectedNrens.includes(w.nren),e[9]=t.selectedNrens,e[10]=t.selectedYears,e[11]=E):E=e[11],s=b.filter(E),a=M(s,"nr_of_non_r_and_e_peers","Number of Peers");let c;e[12]!==d?(c=[...d],e[12]=d,e[13]=c):c=e[13];let m;e[14]!==h?(m=h.values(),e[14]=h,e[15]=m):m=e[15];let f;e[16]!==m?(f=[...m],e[16]=m,e[17]=f):f=e[17];let p;e[18]!==c||e[19]!==f?(p={availableYears:c,availableNrens:f},e[18]=c,e[19]=f,e[20]=p):p=e[20];let S;e[21]!==t||e[22]!==r||e[23]!==p?(S=u.jsx(q,{filterOptions:p,filterSelection:t,setFilterSelection:r}),e[21]=t,e[22]=r,e[23]=p,e[24]=S):S=e[24],l=S,g=Array.from(new Set(s.map(K))),e[0]=b,e[1]=t,e[2]=h,e[3]=r,e[4]=d,e[5]=a,e[6]=l,e[7]=s,e[8]=g}else a=e[5],l=e[6],s=e[7],g=e[8];const y=g.length,R=Math.max(y*t.selectedYears.length*1.5+5,50),j=`The graph below shows the number of non-Research and Education networks + NRENs peer with. This includes all direct IP-peerings to commercial networks, eg. Google`;let N;e[25]===Symbol.for("react.memo_cache_sentinel")?(N=J({title:"Number of Non-R&E Peers"}),e[25]=N):N=e[25];const P=N,C=`${R}rem`;let n;e[26]!==C?(n={height:C},e[26]=C,e[27]=n):n=e[27];let _;e[28]===Symbol.for("react.memo_cache_sentinel")?(_=[H],e[28]=_):_=e[28];let i;e[29]!==a?(i=u.jsx(k,{data:a,options:P,plugins:_}),e[29]=a,e[30]=i):i=e[30];let o;e[31]!==n||e[32]!==i?(o=u.jsx(z,{children:u.jsx("div",{className:"chart-container",style:n,children:i})}),e[31]=n,e[32]=i,e[33]=o):o=e[33];let x;return e[34]!==l||e[35]!==s||e[36]!==o?(x=u.jsx(W,{title:"Number of Non-R&E Networks NRENs Peer With",description:j,category:Y.Network,filter:l,data:s,filename:"non_r_and_e_peering",children:o}),e[34]=l,e[35]=s,e[36]=o,e[37]=x):x=e[37],x}function K(e){return e.nren}export{ae as default}; diff --git a/compendium_v2/static/NrenYearTable-BZB2R3F1.js b/compendium_v2/static/NrenYearTable-BZB2R3F1.js new file mode 100644 index 00000000..0aa5d788 --- /dev/null +++ b/compendium_v2/static/NrenYearTable-BZB2R3F1.js @@ -0,0 +1 @@ +import{c as j,j as r}from"./index.js";import{w as p}from"./useData-C0vA-Ut8.js";import{T as u}from"./Table-ClWM2_rS.js";function N(f,e,s,l,t){return f?l.startsWith("http")?r.jsx("li",{children:r.jsx("a",{href:p(l),target:"_blank",rel:"noopener noreferrer",style:e,children:t})},s):r.jsx("li",{children:r.jsx("span",{children:t})},s):r.jsx("li",{children:r.jsx("span",{children:t})},s)}function b(f,{dottedBorder:e=!1,noDots:s=!1,keysAreURLs:l=!1,removeDecoration:t=!1}){return Array.from(f.entries()).map(([i,x])=>Array.from(x.entries()).map(([o,m],d)=>{const n={};return t&&(n.textDecoration="none"),r.jsxs("tr",{className:e?"dotted-border":"",children:[r.jsx("td",{className:"pt-3 nren-column text-nowrap",children:d===0&&i}),r.jsx("td",{className:"pt-3 year-column",children:o}),r.jsx("td",{className:"pt-3 blue-column",children:r.jsx("ul",{className:s?"no-list-style-type":"",children:Array.from(Object.entries(m)).map(([a,c],h)=>N(l,n,h,c,a))})})]},i+o)}))}function _(f){const e=j.c(15),{data:s,columnTitle:l,dottedBorder:t,noDots:i,keysAreURLs:x,removeDecoration:o}=f;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=r.jsx("th",{className:"nren-column",children:r.jsx("span",{children:"NREN"})}),e[0]=m):m=e[0];let d;e[1]===Symbol.for("react.memo_cache_sentinel")?(d=r.jsx("th",{className:"year-column",children:r.jsx("span",{children:"Year"})}),e[1]=d):d=e[1];let n;e[2]!==l?(n=r.jsx("thead",{children:r.jsxs("tr",{children:[m,d,r.jsx("th",{className:"blue-column",children:r.jsx("span",{children:l})})]})}),e[2]=l,e[3]=n):n=e[3];let a;e[4]!==s||e[5]!==t||e[6]!==x||e[7]!==i||e[8]!==o?(a=b(s,{dottedBorder:t,noDots:i,keysAreURLs:x,removeDecoration:o}),e[4]=s,e[5]=t,e[6]=x,e[7]=i,e[8]=o,e[9]=a):a=e[9];let c;e[10]!==a?(c=r.jsx("tbody",{children:a}),e[10]=a,e[11]=c):c=e[11];let h;return e[12]!==n||e[13]!==c?(h=r.jsxs(u,{borderless:!0,className:"compendium-table",children:[n,c]}),e[12]=n,e[13]=c,e[14]=h):h=e[14],h}export{_ as N}; diff --git a/compendium_v2/static/NrenYearTable-BuqomkXK.js b/compendium_v2/static/NrenYearTable-BuqomkXK.js deleted file mode 100644 index eeb74669..00000000 --- a/compendium_v2/static/NrenYearTable-BuqomkXK.js +++ /dev/null @@ -1 +0,0 @@ -import{a as j,j as r}from"./main-BIBsTO5W.js";import{w as p}from"./useData-BDYwoQEh.js";import{T as u}from"./Table-HH9WOnMU.js";function N(f,e,s,l,t){return f?l.startsWith("http")?r.jsx("li",{children:r.jsx("a",{href:p(l),target:"_blank",rel:"noopener noreferrer",style:e,children:t})},s):r.jsx("li",{children:r.jsx("span",{children:t})},s):r.jsx("li",{children:r.jsx("span",{children:t})},s)}function b(f,{dottedBorder:e=!1,noDots:s=!1,keysAreURLs:l=!1,removeDecoration:t=!1}){return Array.from(f.entries()).map(([i,x])=>Array.from(x.entries()).map(([o,m],d)=>{const n={};return t&&(n.textDecoration="none"),r.jsxs("tr",{className:e?"dotted-border":"",children:[r.jsx("td",{className:"pt-3 nren-column text-nowrap",children:d===0&&i}),r.jsx("td",{className:"pt-3 year-column",children:o}),r.jsx("td",{className:"pt-3 blue-column",children:r.jsx("ul",{className:s?"no-list-style-type":"",children:Array.from(Object.entries(m)).map(([a,c],h)=>N(l,n,h,c,a))})})]},i+o)}))}function _(f){const e=j.c(15),{data:s,columnTitle:l,dottedBorder:t,noDots:i,keysAreURLs:x,removeDecoration:o}=f;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=r.jsx("th",{className:"nren-column",children:r.jsx("span",{children:"NREN"})}),e[0]=m):m=e[0];let d;e[1]===Symbol.for("react.memo_cache_sentinel")?(d=r.jsx("th",{className:"year-column",children:r.jsx("span",{children:"Year"})}),e[1]=d):d=e[1];let n;e[2]!==l?(n=r.jsx("thead",{children:r.jsxs("tr",{children:[m,d,r.jsx("th",{className:"blue-column",children:r.jsx("span",{children:l})})]})}),e[2]=l,e[3]=n):n=e[3];let a;e[4]!==s||e[5]!==t||e[6]!==x||e[7]!==i||e[8]!==o?(a=b(s,{dottedBorder:t,noDots:i,keysAreURLs:x,removeDecoration:o}),e[4]=s,e[5]=t,e[6]=x,e[7]=i,e[8]=o,e[9]=a):a=e[9];let c;e[10]!==a?(c=r.jsx("tbody",{children:a}),e[10]=a,e[11]=c):c=e[11];let h;return e[12]!==n||e[13]!==c?(h=r.jsxs(u,{borderless:!0,className:"compendium-table",children:[n,c]}),e[12]=n,e[13]=c,e[14]=h):h=e[14],h}export{_ as N}; diff --git a/compendium_v2/static/OPsAutomation-BzaiKZKL.js b/compendium_v2/static/OPsAutomation-BzaiKZKL.js new file mode 100644 index 00000000..1ac58225 --- /dev/null +++ b/compendium_v2/static/OPsAutomation-BzaiKZKL.js @@ -0,0 +1,3 @@ +import{c as j,r as y,F as S,j as h,S as g}from"./index.js";import{u as k,g as v,n as E,D as F,F as C,f as D}from"./useData-C0vA-Ut8.js";import{P as L}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function I(){const e=j.c(29),{filterSelection:t,setFilterSelection:c}=y.useContext(S),{data:N,years:x,nrens:_}=k("/api/ops-automation",c);let s,p;if(e[0]!==N||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let d;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(d=b=>t.selectedYears.includes(b.year)&&t.selectedNrens.includes(b.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=d):d=e[7],s=N.filter(d);const T=v(s,"ops_automation");p=E(T,R),e[0]=N,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=p}else s=e[3],p=e[4];const w=p;let o,f;e[8]===Symbol.for("react.memo_cache_sentinel")?(o=["Yes","Planned","No"],f=new Map([[o[0],"yes"],[o[1],"planned"],[o[2],"no"]]),e[8]=o,e[9]=f):(o=e[8],f=e[9]);const P=f;let a;e[10]!==x?(a=[...x],e[10]=x,e[11]=a):a=e[11];let l;e[12]!==_?(l=_.values(),e[12]=_,e[13]=l):l=e[13];let i;e[14]!==l?(i=[...l],e[14]=l,e[15]=i):i=e[15];let r;e[16]!==a||e[17]!==i?(r={availableYears:a,availableNrens:i},e[16]=a,e[17]=i,e[18]=r):r=e[18];let m;e[19]!==t||e[20]!==c||e[21]!==r?(m=h.jsx(C,{filterOptions:r,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=r,e[22]=m):m=e[22];const Y=m;let n;e[23]!==w?(n=h.jsx(D,{children:h.jsx(L,{columns:o,columnLookup:P,dataLookup:w})}),e[23]=w,e[24]=n):n=e[24];let u;return e[25]!==Y||e[26]!==s||e[27]!==n?(u=h.jsx(F,{title:"NREN Automation of Operational Processes",description:`The table below shows which NRENs have, or plan to, automate their + operational processes, with specification of which processes, and the names of + software and tools used for this given when appropriate.`,category:g.Network,filter:Y,data:s,filename:"ops_automation_nrens_per_year",children:n}),e[25]=Y,e[26]=s,e[27]=n,e[28]=u):u=e[28],u}function R(e,t){if(t.ops_automation_specifics)return t.ops_automation_specifics}export{I as default}; diff --git a/compendium_v2/static/OPsAutomation-mleIxb9-.js b/compendium_v2/static/OPsAutomation-mleIxb9-.js deleted file mode 100644 index efc4ec27..00000000 --- a/compendium_v2/static/OPsAutomation-mleIxb9-.js +++ /dev/null @@ -1,3 +0,0 @@ -import{a as j,r as y,F as S,j as h}from"./main-BIBsTO5W.js";import{u as g,g as k,n as v,D as E,F,f as C}from"./useData-BDYwoQEh.js";import{S as D}from"./report.js";import{P as L}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function I(){const e=j.c(29),{filterSelection:t,setFilterSelection:c}=y.useContext(S),{data:N,years:x,nrens:_}=g("/api/ops-automation",c);let s,p;if(e[0]!==N||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let d;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(d=b=>t.selectedYears.includes(b.year)&&t.selectedNrens.includes(b.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=d):d=e[7],s=N.filter(d);const T=k(s,"ops_automation");p=v(T,R),e[0]=N,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=p}else s=e[3],p=e[4];const w=p;let o,f;e[8]===Symbol.for("react.memo_cache_sentinel")?(o=["Yes","Planned","No"],f=new Map([[o[0],"yes"],[o[1],"planned"],[o[2],"no"]]),e[8]=o,e[9]=f):(o=e[8],f=e[9]);const P=f;let a;e[10]!==x?(a=[...x],e[10]=x,e[11]=a):a=e[11];let l;e[12]!==_?(l=_.values(),e[12]=_,e[13]=l):l=e[13];let i;e[14]!==l?(i=[...l],e[14]=l,e[15]=i):i=e[15];let r;e[16]!==a||e[17]!==i?(r={availableYears:a,availableNrens:i},e[16]=a,e[17]=i,e[18]=r):r=e[18];let m;e[19]!==t||e[20]!==c||e[21]!==r?(m=h.jsx(F,{filterOptions:r,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=r,e[22]=m):m=e[22];const Y=m;let n;e[23]!==w?(n=h.jsx(C,{children:h.jsx(L,{columns:o,columnLookup:P,dataLookup:w})}),e[23]=w,e[24]=n):n=e[24];let u;return e[25]!==Y||e[26]!==s||e[27]!==n?(u=h.jsx(E,{title:"NREN Automation of Operational Processes",description:`The table below shows which NRENs have, or plan to, automate their - operational processes, with specification of which processes, and the names of - software and tools used for this given when appropriate.`,category:D.Network,filter:Y,data:s,filename:"ops_automation_nrens_per_year",children:n}),e[25]=Y,e[26]=s,e[27]=n,e[28]=u):u=e[28],u}function R(e,t){if(t.ops_automation_specifics)return t.ops_automation_specifics}export{I as default}; diff --git a/compendium_v2/static/ParentOrganisation-D0KpPI2s.js b/compendium_v2/static/ParentOrganisation-D0KpPI2s.js new file mode 100644 index 00000000..97606117 --- /dev/null +++ b/compendium_v2/static/ParentOrganisation-D0KpPI2s.js @@ -0,0 +1 @@ +import{c as b,r as y,F as j,j as p,S as v}from"./index.js";import{u as E,k as O,i as S,D as F,F as P,f as R}from"./useData-C0vA-Ut8.js";import{N as w}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function q(){const e=b.c(27),{filterSelection:t,setFilterSelection:a}=y.useContext(j),{data:u,years:g,nrens:N}=E("/api/parent-organizations",a);let s,c;if(e[0]!==t.selectedNrens||e[1]!==t.selectedYears||e[2]!==u){let m;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(m=h=>t.selectedYears.includes(h.year)&&t.selectedNrens.includes(h.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=m):m=e[7],s=u.filter(m);const Y=O(s);c=S(Y,C),e[0]=t.selectedNrens,e[1]=t.selectedYears,e[2]=u,e[3]=s,e[4]=c}else s=e[3],c=e[4];const x=c;let r;e[8]!==g?(r=[...g],e[8]=g,e[9]=r):r=e[9];let i;e[10]!==N?(i=N.values(),e[10]=N,e[11]=i):i=e[11];let n;e[12]!==i?(n=[...i],e[12]=i,e[13]=n):n=e[13];let l;e[14]!==r||e[15]!==n?(l={availableYears:r,availableNrens:n},e[14]=r,e[15]=n,e[16]=l):l=e[16];let d;e[17]!==t||e[18]!==a||e[19]!==l?(d=p.jsx(P,{filterOptions:l,filterSelection:t,setFilterSelection:a,max1year:!0}),e[17]=t,e[18]=a,e[19]=l,e[20]=d):d=e[20];const D=d;let o;e[21]!==x?(o=p.jsx(R,{children:p.jsx(w,{data:x,columnTitle:"Parent Organisation",dottedBorder:!0,noDots:!0})}),e[21]=x,e[22]=o):o=e[22];let f;return e[23]!==D||e[24]!==s||e[25]!==o?(f=p.jsx(F,{title:"NREN Parent Organisations",description:"Some NRENs are part of larger organisations, including Ministries or universities. These are shown in the table below. Only NRENs who are managed in this way are available to select.",category:v.Organisation,filter:D,data:s,filename:"nren_parent_organisations",children:o}),e[23]=D,e[24]=s,e[25]=o,e[26]=f):f=e[26],f}function C(e,t){const a=t.name;e[a]=a}export{q as default}; diff --git a/compendium_v2/static/ParentOrganisation-DJLeH6g7.js b/compendium_v2/static/ParentOrganisation-DJLeH6g7.js deleted file mode 100644 index 7112723d..00000000 --- a/compendium_v2/static/ParentOrganisation-DJLeH6g7.js +++ /dev/null @@ -1 +0,0 @@ -import{a as b,r as y,F as j,j as p}from"./main-BIBsTO5W.js";import{u as v,k as E,i as O,D as S,F,f as P}from"./useData-BDYwoQEh.js";import{S as R}from"./report.js";import{N as w}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function q(){const e=b.c(27),{filterSelection:t,setFilterSelection:a}=y.useContext(j),{data:u,years:g,nrens:N}=v("/api/parent-organizations",a);let s,c;if(e[0]!==t.selectedNrens||e[1]!==t.selectedYears||e[2]!==u){let m;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(m=h=>t.selectedYears.includes(h.year)&&t.selectedNrens.includes(h.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=m):m=e[7],s=u.filter(m);const Y=E(s);c=O(Y,C),e[0]=t.selectedNrens,e[1]=t.selectedYears,e[2]=u,e[3]=s,e[4]=c}else s=e[3],c=e[4];const x=c;let r;e[8]!==g?(r=[...g],e[8]=g,e[9]=r):r=e[9];let i;e[10]!==N?(i=N.values(),e[10]=N,e[11]=i):i=e[11];let n;e[12]!==i?(n=[...i],e[12]=i,e[13]=n):n=e[13];let l;e[14]!==r||e[15]!==n?(l={availableYears:r,availableNrens:n},e[14]=r,e[15]=n,e[16]=l):l=e[16];let d;e[17]!==t||e[18]!==a||e[19]!==l?(d=p.jsx(F,{filterOptions:l,filterSelection:t,setFilterSelection:a,max1year:!0}),e[17]=t,e[18]=a,e[19]=l,e[20]=d):d=e[20];const D=d;let o;e[21]!==x?(o=p.jsx(P,{children:p.jsx(w,{data:x,columnTitle:"Parent Organisation",dottedBorder:!0,noDots:!0})}),e[21]=x,e[22]=o):o=e[22];let f;return e[23]!==D||e[24]!==s||e[25]!==o?(f=p.jsx(S,{title:"NREN Parent Organisations",description:"Some NRENs are part of larger organisations, including Ministries or universities. These are shown in the table below. Only NRENs who are managed in this way are available to select.",category:R.Organisation,filter:D,data:s,filename:"nren_parent_organisations",children:o}),e[23]=D,e[24]=s,e[25]=o,e[26]=f):f=e[26],f}function C(e,t){const a=t.name;e[a]=a}export{q as default}; diff --git a/compendium_v2/static/PassiveMonitoring-BQaZqq7o.js b/compendium_v2/static/PassiveMonitoring-BQaZqq7o.js deleted file mode 100644 index 494aa92a..00000000 --- a/compendium_v2/static/PassiveMonitoring-BQaZqq7o.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Y,r as j,F as y,j as N}from"./main-BIBsTO5W.js";import{u as T,g as _,D as F,F as M,f as k}from"./useData-BDYwoQEh.js";import{S as w}from"./report.js";import{P as A}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function $(){const e=Y.c(29),{filterSelection:t,setFilterSelection:c}=j.useContext(y),{data:h,years:x,nrens:P}=T("/api/passive-monitoring",c);let o,p;if(e[0]!==h||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=S=>t.selectedYears.includes(S.year)&&t.selectedNrens.includes(S.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],o=h.filter(u),p=_(o,"method",!0),e[0]=h,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=o,e[4]=p}else o=e[3],p=e[4];const g=p;let r;e[8]!==x?(r=[...x],e[8]=x,e[9]=r):r=e[9];let l;e[10]!==P?(l=P.values(),e[10]=P,e[11]=l):l=e[11];let a;e[12]!==l?(a=[...l],e[12]=l,e[13]=a):a=e[13];let i;e[14]!==r||e[15]!==a?(i={availableYears:r,availableNrens:a},e[14]=r,e[15]=a,e[16]=i):i=e[16];let f;e[17]!==t||e[18]!==c||e[19]!==i?(f=N.jsx(M,{filterOptions:i,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[17]=t,e[18]=c,e[19]=i,e[20]=f):f=e[20];const v=f;let s,m;e[21]===Symbol.for("react.memo_cache_sentinel")?(s=["No monitoring occurs","SPAN ports","Passive optical TAPS","Both SPAN ports and passive optical TAPS"],m=new Map([[s[0],"null"],[s[1],"span_ports"],[s[2],"taps"],[s[3],"both"]]),e[21]=s,e[22]=m):(s=e[21],m=e[22]);const b=m;let n;e[23]!==g?(n=N.jsx(k,{children:N.jsx(A,{columns:s,dataLookup:g,columnLookup:b})}),e[23]=g,e[24]=n):n=e[24];let d;return e[25]!==v||e[26]!==o||e[27]!==n?(d=N.jsx(F,{title:"Methods for Passively Monitoring International Traffic",description:"The table below shows the methods NRENs use for the passive monitoring of international traffic.",category:w.Network,filter:v,data:o,filename:"passive_monitoring_nrens_per_year",children:n}),e[25]=v,e[26]=o,e[27]=n,e[28]=d):d=e[28],d}export{$ as default}; diff --git a/compendium_v2/static/PassiveMonitoring-DrHRNpwv.js b/compendium_v2/static/PassiveMonitoring-DrHRNpwv.js new file mode 100644 index 00000000..77b62680 --- /dev/null +++ b/compendium_v2/static/PassiveMonitoring-DrHRNpwv.js @@ -0,0 +1 @@ +import{c as Y,r as j,F as y,j as N,S as T}from"./index.js";import{u as _,g as F,D as M,F as k,f as w}from"./useData-C0vA-Ut8.js";import{P as A}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function $(){const e=Y.c(29),{filterSelection:t,setFilterSelection:c}=j.useContext(y),{data:h,years:x,nrens:P}=_("/api/passive-monitoring",c);let o,p;if(e[0]!==h||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=S=>t.selectedYears.includes(S.year)&&t.selectedNrens.includes(S.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],o=h.filter(u),p=F(o,"method",!0),e[0]=h,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=o,e[4]=p}else o=e[3],p=e[4];const g=p;let r;e[8]!==x?(r=[...x],e[8]=x,e[9]=r):r=e[9];let l;e[10]!==P?(l=P.values(),e[10]=P,e[11]=l):l=e[11];let i;e[12]!==l?(i=[...l],e[12]=l,e[13]=i):i=e[13];let a;e[14]!==r||e[15]!==i?(a={availableYears:r,availableNrens:i},e[14]=r,e[15]=i,e[16]=a):a=e[16];let f;e[17]!==t||e[18]!==c||e[19]!==a?(f=N.jsx(k,{filterOptions:a,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[17]=t,e[18]=c,e[19]=a,e[20]=f):f=e[20];const v=f;let s,m;e[21]===Symbol.for("react.memo_cache_sentinel")?(s=["No monitoring occurs","SPAN ports","Passive optical TAPS","Both SPAN ports and passive optical TAPS"],m=new Map([[s[0],"null"],[s[1],"span_ports"],[s[2],"taps"],[s[3],"both"]]),e[21]=s,e[22]=m):(s=e[21],m=e[22]);const b=m;let n;e[23]!==g?(n=N.jsx(w,{children:N.jsx(A,{columns:s,dataLookup:g,columnLookup:b})}),e[23]=g,e[24]=n):n=e[24];let d;return e[25]!==v||e[26]!==o||e[27]!==n?(d=N.jsx(M,{title:"Methods for Passively Monitoring International Traffic",description:"The table below shows the methods NRENs use for the passive monitoring of international traffic.",category:T.Network,filter:v,data:o,filename:"passive_monitoring_nrens_per_year",children:n}),e[25]=v,e[26]=o,e[27]=n,e[28]=d):d=e[28],d}export{$ as default}; diff --git a/compendium_v2/static/PertTeam-B3F3NYFc.js b/compendium_v2/static/PertTeam-B3F3NYFc.js new file mode 100644 index 00000000..124b11fc --- /dev/null +++ b/compendium_v2/static/PertTeam-B3F3NYFc.js @@ -0,0 +1,2 @@ +import{c as j,r as y,F as T,j as N,S as _}from"./index.js";import{u as b,g,D as k,F as v,f as F}from"./useData-C0vA-Ut8.js";import{P as w}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function A(){const e=j.c(29),{filterSelection:t,setFilterSelection:c}=y.useContext(T),{data:x,years:h,nrens:P}=b("/api/pert-team",c);let s,m;if(e[0]!==x||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=R=>t.selectedYears.includes(R.year)&&t.selectedNrens.includes(R.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],s=x.filter(u),m=g(s,"pert_team"),e[0]=x,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=m}else s=e[3],m=e[4];const E=m;let r,p;e[8]===Symbol.for("react.memo_cache_sentinel")?(r=["Yes","Planned","No"],p=new Map([[r[0],"yes"],[r[1],"planned"],[r[2],"no"]]),e[8]=r,e[9]=p):(r=e[8],p=e[9]);const S=p;let a;e[10]!==h?(a=[...h],e[10]=h,e[11]=a):a=e[11];let l;e[12]!==P?(l=P.values(),e[12]=P,e[13]=l):l=e[13];let n;e[14]!==l?(n=[...l],e[14]=l,e[15]=n):n=e[15];let o;e[16]!==a||e[17]!==n?(o={availableYears:a,availableNrens:n},e[16]=a,e[17]=n,e[18]=o):o=e[18];let f;e[19]!==t||e[20]!==c||e[21]!==o?(f=N.jsx(v,{filterOptions:o,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=o,e[22]=f):f=e[22];const Y=f;let i;e[23]!==E?(i=N.jsx(F,{children:N.jsx(w,{columns:r,columnLookup:S,dataLookup:E})}),e[23]=E,e[24]=i):i=e[24];let d;return e[25]!==Y||e[26]!==s||e[27]!==i?(d=N.jsx(k,{title:"NRENs with Performance Enhancement Response Teams",description:`Some NRENs have an in-house Performance Enhancement Response Team, + or PERT, to investigate network performance issues.`,category:_.Network,filter:Y,data:s,filename:"pert_team_nrens_per_year",children:i}),e[25]=Y,e[26]=s,e[27]=i,e[28]=d):d=e[28],d}export{A as default}; diff --git a/compendium_v2/static/PertTeam-Dk6-ebg9.js b/compendium_v2/static/PertTeam-Dk6-ebg9.js deleted file mode 100644 index c3f02f27..00000000 --- a/compendium_v2/static/PertTeam-Dk6-ebg9.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as j,r as y,F as T,j as N}from"./main-BIBsTO5W.js";import{u as _,g as b,D as g,F as k,f as v}from"./useData-BDYwoQEh.js";import{S as F}from"./report.js";import{P as w}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function A(){const e=j.c(29),{filterSelection:t,setFilterSelection:c}=y.useContext(T),{data:x,years:h,nrens:P}=_("/api/pert-team",c);let s,m;if(e[0]!==x||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=R=>t.selectedYears.includes(R.year)&&t.selectedNrens.includes(R.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],s=x.filter(u),m=b(s,"pert_team"),e[0]=x,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=m}else s=e[3],m=e[4];const E=m;let r,p;e[8]===Symbol.for("react.memo_cache_sentinel")?(r=["Yes","Planned","No"],p=new Map([[r[0],"yes"],[r[1],"planned"],[r[2],"no"]]),e[8]=r,e[9]=p):(r=e[8],p=e[9]);const S=p;let a;e[10]!==h?(a=[...h],e[10]=h,e[11]=a):a=e[11];let l;e[12]!==P?(l=P.values(),e[12]=P,e[13]=l):l=e[13];let n;e[14]!==l?(n=[...l],e[14]=l,e[15]=n):n=e[15];let o;e[16]!==a||e[17]!==n?(o={availableYears:a,availableNrens:n},e[16]=a,e[17]=n,e[18]=o):o=e[18];let f;e[19]!==t||e[20]!==c||e[21]!==o?(f=N.jsx(k,{filterOptions:o,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=o,e[22]=f):f=e[22];const Y=f;let i;e[23]!==E?(i=N.jsx(v,{children:N.jsx(w,{columns:r,columnLookup:S,dataLookup:E})}),e[23]=E,e[24]=i):i=e[24];let d;return e[25]!==Y||e[26]!==s||e[27]!==i?(d=N.jsx(g,{title:"NRENs with Performance Enhancement Response Teams",description:`Some NRENs have an in-house Performance Enhancement Response Team, - or PERT, to investigate network performance issues.`,category:F.Network,filter:Y,data:s,filename:"pert_team_nrens_per_year",children:i}),e[25]=Y,e[26]=s,e[27]=i,e[28]=d):d=e[28],d}export{A as default}; diff --git a/compendium_v2/static/PillTable-5pkcg2T9.js b/compendium_v2/static/PillTable-5pkcg2T9.js deleted file mode 100644 index 1541d98b..00000000 --- a/compendium_v2/static/PillTable-5pkcg2T9.js +++ /dev/null @@ -1 +0,0 @@ -import{j as t}from"./main-BIBsTO5W.js";import{C as c}from"./ColorPill-CqT_mR3a.js";import{T as u}from"./Table-HH9WOnMU.js";function b({columns:h,dataLookup:o,circle:p=!1,columnLookup:n=new Map}){const x=Array.from(new Set(Array.from(o.values()).flatMap(r=>Array.from(r.keys())))),d=h.map(r=>n.get(r)||r),j=Array.from(new Set(Array.from(o.values()).flatMap(r=>Array.from(r.values()).flatMap(e=>Array.from(e.keys()))))),f=x.filter(r=>{const e=n.get(r);return e?!d.includes(e):!d.includes(r)}).map(r=>n.get(r)||r);return t.jsxs(u,{className:"charging-struct-table",striped:!0,bordered:!0,children:[t.jsx("colgroup",{children:t.jsx("col",{span:1,style:{width:"12rem"}})}),t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{}),h.map(r=>t.jsx("th",{colSpan:1,children:r},r)),f.length?t.jsx("th",{children:"Other"}):null]})}),t.jsx("tbody",{children:Array.from(o.entries()).map(([r,e])=>t.jsxs("tr",{children:[t.jsx("td",{children:r}),d.map(s=>{const a=e.get(s);return a?t.jsx("td",{children:j.map(l=>{const i=a.get(l)||{};return t.jsx(c,{year:l,active:a.has(l),tooltip:i.tooltip,rounded:p},l)})},s):t.jsx("td",{},s)}),!!f.length&&t.jsx("td",{children:f.map(s=>{const a=e.get(s);return a?Array.from(Array.from(a.entries())).map(([i,m])=>t.jsx(c,{year:i,active:!0,tooltip:m.tooltip||s,rounded:p},i)):void 0})},`${r}-other`)]},r))})]})}export{b as P}; diff --git a/compendium_v2/static/PillTable-Cnj0nnFy.js b/compendium_v2/static/PillTable-Cnj0nnFy.js new file mode 100644 index 00000000..85cf6a1d --- /dev/null +++ b/compendium_v2/static/PillTable-Cnj0nnFy.js @@ -0,0 +1 @@ +import{j as t}from"./index.js";import{C as c}from"./ColorPill-CXvWIfWz.js";import{T as u}from"./Table-ClWM2_rS.js";function b({columns:h,dataLookup:o,circle:p=!1,columnLookup:n=new Map}){const x=Array.from(new Set(Array.from(o.values()).flatMap(r=>Array.from(r.keys())))),d=h.map(r=>n.get(r)||r),j=Array.from(new Set(Array.from(o.values()).flatMap(r=>Array.from(r.values()).flatMap(e=>Array.from(e.keys()))))),f=x.filter(r=>{const e=n.get(r);return e?!d.includes(e):!d.includes(r)}).map(r=>n.get(r)||r);return t.jsxs(u,{className:"charging-struct-table",striped:!0,bordered:!0,children:[t.jsx("colgroup",{children:t.jsx("col",{span:1,style:{width:"12rem"}})}),t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{}),h.map(r=>t.jsx("th",{colSpan:1,children:r},r)),f.length?t.jsx("th",{children:"Other"}):null]})}),t.jsx("tbody",{children:Array.from(o.entries()).map(([r,e])=>t.jsxs("tr",{children:[t.jsx("td",{children:r}),d.map(s=>{const a=e.get(s);return a?t.jsx("td",{children:j.map(l=>{const i=a.get(l)||{};return t.jsx(c,{year:l,active:a.has(l),tooltip:i.tooltip,rounded:p},l)})},s):t.jsx("td",{},s)}),!!f.length&&t.jsx("td",{children:f.map(s=>{const a=e.get(s);return a?Array.from(Array.from(a.entries())).map(([i,m])=>t.jsx(c,{year:i,active:!0,tooltip:m.tooltip||s,rounded:p},i)):void 0})},`${r}-other`)]},r))})]})}export{b as P}; diff --git a/compendium_v2/static/Policy-CyBHQ4RU.js b/compendium_v2/static/Policy-CyBHQ4RU.js new file mode 100644 index 00000000..665464b9 --- /dev/null +++ b/compendium_v2/static/Policy-CyBHQ4RU.js @@ -0,0 +1 @@ +import{c as h,r as v,F as E,j as y,S as _}from"./index.js";import{u as b,q as g,k as S,i as j,D as k,F as R,f as q}from"./useData-C0vA-Ut8.js";import{N as C}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function G(){const e=h.c(21),{filterSelection:t,setFilterSelection:n}=v.useContext(E),{data:o,nrens:c}=b("/api/policy",n);let i,a;if(e[0]!==o||e[1]!==t.selectedNrens){const P=o?g(o):[];let u;e[4]!==t.selectedNrens?(u=x=>t.selectedNrens.includes(x.nren),e[4]=t.selectedNrens,e[5]=u):u=e[5],i=P.filter(u);const D=S(i);a=j(D,F),e[0]=o,e[1]=t.selectedNrens,e[2]=i,e[3]=a}else i=e[2],a=e[3];const d=a;let p;e[6]===Symbol.for("react.memo_cache_sentinel")?(p=[],e[6]=p):p=e[6];let l;e[7]!==c?(l=c.values(),e[7]=c,e[8]=l):l=e[8];let s;e[9]!==l?(s={availableYears:p,availableNrens:[...l]},e[9]=l,e[10]=s):s=e[10];let f;e[11]!==t||e[12]!==n||e[13]!==s?(f=y.jsx(R,{filterOptions:s,filterSelection:t,setFilterSelection:n}),e[11]=t,e[12]=n,e[13]=s,e[14]=f):f=e[14];const N=f;let r;e[15]!==d?(r=y.jsx(q,{children:y.jsx(C,{data:d,columnTitle:"Policies",noDots:!0,dottedBorder:!0,keysAreURLs:!0,removeDecoration:!0})}),e[15]=d,e[16]=r):r=e[16];let m;return e[17]!==N||e[18]!==i||e[19]!==r?(m=y.jsx(k,{title:"NREN Policies",description:"The table shows links to the NRENs policies. We only include links from the most recent response from each NREN.",category:_.Policy,filter:N,data:i,filename:"nren_policies",children:r}),e[17]=N,e[18]=i,e[19]=r,e[20]=m):m=e[20],m}function F(e,t){[["acceptable_use","Acceptable Use Policy"],["connectivity","Connectivity Policy"],["data_protection","Data Protection Policy"],["environmental","Environmental Policy"],["equal_opportunity","Equal Opportunity Policy"],["gender_equality","Gender Equality Plan"],["privacy_notice","Privacy Notice"],["strategic_plan","Strategic Plan"]].forEach(o=>{const[c,i]=o,a=t[c];a&&(e[i]=a)})}export{G as default}; diff --git a/compendium_v2/static/Policy-rfVVQ2MG.js b/compendium_v2/static/Policy-rfVVQ2MG.js deleted file mode 100644 index fc3377e5..00000000 --- a/compendium_v2/static/Policy-rfVVQ2MG.js +++ /dev/null @@ -1 +0,0 @@ -import{a as h,r as v,F as E,j as y}from"./main-BIBsTO5W.js";import{u as _,q as b,k as g,i as S,D as j,F as k,f as R}from"./useData-BDYwoQEh.js";import{S as q}from"./report.js";import{N as C}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function G(){const e=h.c(21),{filterSelection:t,setFilterSelection:n}=v.useContext(E),{data:o,nrens:c}=_("/api/policy",n);let i,a;if(e[0]!==o||e[1]!==t.selectedNrens){const P=o?b(o):[];let u;e[4]!==t.selectedNrens?(u=x=>t.selectedNrens.includes(x.nren),e[4]=t.selectedNrens,e[5]=u):u=e[5],i=P.filter(u);const D=g(i);a=S(D,F),e[0]=o,e[1]=t.selectedNrens,e[2]=i,e[3]=a}else i=e[2],a=e[3];const d=a;let p;e[6]===Symbol.for("react.memo_cache_sentinel")?(p=[],e[6]=p):p=e[6];let l;e[7]!==c?(l=c.values(),e[7]=c,e[8]=l):l=e[8];let s;e[9]!==l?(s={availableYears:p,availableNrens:[...l]},e[9]=l,e[10]=s):s=e[10];let f;e[11]!==t||e[12]!==n||e[13]!==s?(f=y.jsx(k,{filterOptions:s,filterSelection:t,setFilterSelection:n}),e[11]=t,e[12]=n,e[13]=s,e[14]=f):f=e[14];const N=f;let r;e[15]!==d?(r=y.jsx(R,{children:y.jsx(C,{data:d,columnTitle:"Policies",noDots:!0,dottedBorder:!0,keysAreURLs:!0,removeDecoration:!0})}),e[15]=d,e[16]=r):r=e[16];let m;return e[17]!==N||e[18]!==i||e[19]!==r?(m=y.jsx(j,{title:"NREN Policies",description:"The table shows links to the NRENs policies. We only include links from the most recent response from each NREN.",category:q.Policy,filter:N,data:i,filename:"nren_policies",children:r}),e[17]=N,e[18]=i,e[19]=r,e[20]=m):m=e[20],m}function F(e,t){[["acceptable_use","Acceptable Use Policy"],["connectivity","Connectivity Policy"],["data_protection","Data Protection Policy"],["environmental","Environmental Policy"],["equal_opportunity","Equal Opportunity Policy"],["gender_equality","Gender Equality Plan"],["privacy_notice","Privacy Notice"],["strategic_plan","Strategic Plan"]].forEach(o=>{const[c,i]=o,a=t[c];a&&(e[i]=a)})}export{G as default}; diff --git a/compendium_v2/static/RemoteCampuses-B7LZiN42.js b/compendium_v2/static/RemoteCampuses-B7LZiN42.js deleted file mode 100644 index 8044f07c..00000000 --- a/compendium_v2/static/RemoteCampuses-B7LZiN42.js +++ /dev/null @@ -1 +0,0 @@ -import{a as v,j as n,r as Y,F as D}from"./main-BIBsTO5W.js";import{u as E,h as g,i as w,D as F,F as k,f as O}from"./useData-BDYwoQEh.js";import{S as T}from"./report.js";import{T as B}from"./Table-HH9WOnMU.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";function L({data:e,dottedBorder:t=!1,columns:c}){return Array.from(e.entries()).map(([s,a])=>Array.from(a.entries()).map(([i,d],l)=>n.jsxs("tr",{className:t?"dotted-border":"",children:[n.jsx("td",{className:"pt-3 nren-column text-nowrap",children:l===0&&s}),n.jsx("td",{className:"pt-3 year-column",children:i}),Object.keys(c).map((r,o)=>n.jsx("td",{className:"pt-3 blue-column",children:d[r]},o))]},s+i)))}function $(e){const t=v.c(15),{data:c,dottedBorder:s,columns:a}=e;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=n.jsx("th",{className:"nren-column",children:n.jsx("span",{children:"NREN"})}),t[0]=i):i=t[0];let d;t[1]===Symbol.for("react.memo_cache_sentinel")?(d=n.jsx("th",{className:"year-column",children:n.jsx("span",{children:"Year"})}),t[1]=d):d=t[1];let l;t[2]!==a?(l=Object.values(a).map(A),t[2]=a,t[3]=l):l=t[3];let r;t[4]!==l?(r=n.jsx("thead",{children:n.jsxs("tr",{children:[i,d,l]})}),t[4]=l,t[5]=r):r=t[5];let o;t[6]!==a||t[7]!==c||t[8]!==s?(o=L({data:c,dottedBorder:s,columns:a}),t[6]=a,t[7]=c,t[8]=s,t[9]=o):o=t[9];let u;t[10]!==o?(u=n.jsx("tbody",{children:o}),t[10]=o,t[11]=u):u=t[11];let m;return t[12]!==r||t[13]!==u?(m=n.jsxs(B,{borderless:!0,className:"compendium-table",children:[r,u]}),t[12]=r,t[13]=u,t[14]=m):m=t[14],m}function A(e,t){return n.jsx("th",{className:"blue-column",children:n.jsx("span",{children:e})},t)}function M(){const e=v.c(29);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=x=>!!x.remote_campus_connectivity,e[0]=t):t=e[0];const c=t,{filterSelection:s,setFilterSelection:a}=Y.useContext(D),{data:i,years:d,nrens:l}=E("/api/remote-campuses",a,c);let r,o;if(e[1]!==i||e[2]!==s.selectedNrens||e[3]!==s.selectedYears){let x;e[6]!==s.selectedNrens||e[7]!==s.selectedYears?(x=C=>s.selectedYears.includes(C.year)&&s.selectedNrens.includes(C.nren),e[6]=s.selectedNrens,e[7]=s.selectedYears,e[8]=x):x=e[8],r=i.filter(x);const S=g(r);o=w(S,P),e[1]=i,e[2]=s.selectedNrens,e[3]=s.selectedYears,e[4]=r,e[5]=o}else r=e[4],o=e[5];const u=o;let m;e[9]!==d?(m=[...d],e[9]=d,e[10]=m):m=e[10];let f;e[11]!==l?(f=l.values(),e[11]=l,e[12]=f):f=e[12];let p;e[13]!==f?(p=[...f],e[13]=f,e[14]=p):p=e[14];let h;e[15]!==m||e[16]!==p?(h={availableYears:m,availableNrens:p},e[15]=m,e[16]=p,e[17]=h):h=e[17];let j;e[18]!==s||e[19]!==a||e[20]!==h?(j=n.jsx(k,{filterOptions:h,filterSelection:s,setFilterSelection:a}),e[18]=s,e[19]=a,e[20]=h,e[21]=j):j=e[21];const b=j;let N;e[22]===Symbol.for("react.memo_cache_sentinel")?(N={countries:"Countries with Remote Campuses",local_r_and_e_connection:"Local R&E Connection"},e[22]=N):N=e[22];const R=N;let _;e[23]!==u?(_=n.jsx(O,{children:n.jsx($,{data:u,columns:R,dottedBorder:!0})}),e[23]=u,e[24]=_):_=e[24];let y;return e[25]!==b||e[26]!==r||e[27]!==_?(y=n.jsx(F,{title:"NREN Connectivity to Remote Campuses in Other Countries",description:"NRENs are asked whether they have remote campuses in other countries, and if so, to list the countries where they have remote campuses and whether they are connected to the local R&E network.",category:T.ConnectedUsers,filter:b,data:r,filename:"nren_remote_campuses",children:_}),e[25]=b,e[26]=r,e[27]=_,e[28]=y):y=e[28],y}function P(e,t){for(const c of t){if(!c.remote_campus_connectivity)continue;const s=c.connections.map(U).join(", ");e.countries=s,e.local_r_and_e_connection=c.connections.map(J).join(", ")}}function J(e){return e.local_r_and_e_connection?"Yes":"No"}function U(e){return e.country}export{M as default}; diff --git a/compendium_v2/static/RemoteCampuses-NUiCskMY.js b/compendium_v2/static/RemoteCampuses-NUiCskMY.js new file mode 100644 index 00000000..1fde02b1 --- /dev/null +++ b/compendium_v2/static/RemoteCampuses-NUiCskMY.js @@ -0,0 +1 @@ +import{c as v,j as n,r as Y,F as D,S as E}from"./index.js";import{u as g,h as w,i as F,D as k,F as O,f as T}from"./useData-C0vA-Ut8.js";import{T as B}from"./Table-ClWM2_rS.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";function L({data:e,dottedBorder:t=!1,columns:l}){return Array.from(e.entries()).map(([s,a])=>Array.from(a.entries()).map(([i,d],c)=>n.jsxs("tr",{className:t?"dotted-border":"",children:[n.jsx("td",{className:"pt-3 nren-column text-nowrap",children:c===0&&s}),n.jsx("td",{className:"pt-3 year-column",children:i}),Object.keys(l).map((r,o)=>n.jsx("td",{className:"pt-3 blue-column",children:d[r]},o))]},s+i)))}function $(e){const t=v.c(15),{data:l,dottedBorder:s,columns:a}=e;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=n.jsx("th",{className:"nren-column",children:n.jsx("span",{children:"NREN"})}),t[0]=i):i=t[0];let d;t[1]===Symbol.for("react.memo_cache_sentinel")?(d=n.jsx("th",{className:"year-column",children:n.jsx("span",{children:"Year"})}),t[1]=d):d=t[1];let c;t[2]!==a?(c=Object.values(a).map(A),t[2]=a,t[3]=c):c=t[3];let r;t[4]!==c?(r=n.jsx("thead",{children:n.jsxs("tr",{children:[i,d,c]})}),t[4]=c,t[5]=r):r=t[5];let o;t[6]!==a||t[7]!==l||t[8]!==s?(o=L({data:l,dottedBorder:s,columns:a}),t[6]=a,t[7]=l,t[8]=s,t[9]=o):o=t[9];let u;t[10]!==o?(u=n.jsx("tbody",{children:o}),t[10]=o,t[11]=u):u=t[11];let m;return t[12]!==r||t[13]!==u?(m=n.jsxs(B,{borderless:!0,className:"compendium-table",children:[r,u]}),t[12]=r,t[13]=u,t[14]=m):m=t[14],m}function A(e,t){return n.jsx("th",{className:"blue-column",children:n.jsx("span",{children:e})},t)}function M(){const e=v.c(29);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=x=>!!x.remote_campus_connectivity,e[0]=t):t=e[0];const l=t,{filterSelection:s,setFilterSelection:a}=Y.useContext(D),{data:i,years:d,nrens:c}=g("/api/remote-campuses",a,l);let r,o;if(e[1]!==i||e[2]!==s.selectedNrens||e[3]!==s.selectedYears){let x;e[6]!==s.selectedNrens||e[7]!==s.selectedYears?(x=C=>s.selectedYears.includes(C.year)&&s.selectedNrens.includes(C.nren),e[6]=s.selectedNrens,e[7]=s.selectedYears,e[8]=x):x=e[8],r=i.filter(x);const S=w(r);o=F(S,P),e[1]=i,e[2]=s.selectedNrens,e[3]=s.selectedYears,e[4]=r,e[5]=o}else r=e[4],o=e[5];const u=o;let m;e[9]!==d?(m=[...d],e[9]=d,e[10]=m):m=e[10];let f;e[11]!==c?(f=c.values(),e[11]=c,e[12]=f):f=e[12];let p;e[13]!==f?(p=[...f],e[13]=f,e[14]=p):p=e[14];let h;e[15]!==m||e[16]!==p?(h={availableYears:m,availableNrens:p},e[15]=m,e[16]=p,e[17]=h):h=e[17];let j;e[18]!==s||e[19]!==a||e[20]!==h?(j=n.jsx(O,{filterOptions:h,filterSelection:s,setFilterSelection:a}),e[18]=s,e[19]=a,e[20]=h,e[21]=j):j=e[21];const b=j;let N;e[22]===Symbol.for("react.memo_cache_sentinel")?(N={countries:"Countries with Remote Campuses",local_r_and_e_connection:"Local R&E Connection"},e[22]=N):N=e[22];const R=N;let _;e[23]!==u?(_=n.jsx(T,{children:n.jsx($,{data:u,columns:R,dottedBorder:!0})}),e[23]=u,e[24]=_):_=e[24];let y;return e[25]!==b||e[26]!==r||e[27]!==_?(y=n.jsx(k,{title:"NREN Connectivity to Remote Campuses in Other Countries",description:"NRENs are asked whether they have remote campuses in other countries, and if so, to list the countries where they have remote campuses and whether they are connected to the local R&E network.",category:E.ConnectedUsers,filter:b,data:r,filename:"nren_remote_campuses",children:_}),e[25]=b,e[26]=r,e[27]=_,e[28]=y):y=e[28],y}function P(e,t){for(const l of t){if(!l.remote_campus_connectivity)continue;const s=l.connections.map(U).join(", ");e.countries=s,e.local_r_and_e_connection=l.connections.map(J).join(", ")}}function J(e){return e.local_r_and_e_connection?"Yes":"No"}function U(e){return e.country}export{M as default}; diff --git a/compendium_v2/static/ScrollableMatrix-Cdgj4J9X.js b/compendium_v2/static/ScrollableMatrix-Cdgj4J9X.js deleted file mode 100644 index 437f0bbf..00000000 --- a/compendium_v2/static/ScrollableMatrix-Cdgj4J9X.js +++ /dev/null @@ -1 +0,0 @@ -import{a as T,j as t}from"./main-BIBsTO5W.js";import{c as k}from"./report.js";import{T as A}from"./Table-HH9WOnMU.js";const L=t.jsx("span",{children:"✔"}),O=8;function Z(r){const e=T.c(12),{dataLookup:n,rowInfo:s,categoryLookup:h,isTickIcon:b}=r,l=b===void 0?!1:b;if(!n){let c;return e[0]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx("div",{className:"matrix-border"}),e[0]=c):c=e[0],c}let m;if(e[1]!==h||e[2]!==n||e[3]!==l||e[4]!==s){let c;e[6]!==n||e[7]!==l||e[8]!==s?(c=v=>{const[p,E]=v,C=Object.entries(s).map(o=>{const[u,a]=o,i=[];return Array.from(n.entries()).sort(F).forEach(y=>{const[,_]=y;_.forEach(g=>{const f=g.get(p);if(!f)return;const N=f[a]!=null?Object.keys(f[a])[0]:null,I=N!=null&&l?L:N;i.push(I)})}),i.length?t.jsxs("tr",{children:[t.jsx("th",{className:"fixed-column",children:u}),i.map(D)]},u):null}),j=Array.from(n.entries()).sort(B).reduce((o,u)=>{const[a,i]=u;return Array.from(i.entries()).forEach(y=>{const[_,g]=y;g.get(p)&&(o[a]||(o[a]=[]),o[a].push(_))}),o},{});for(const o in j)j[o].sort($);return t.jsx(k,{title:E,startCollapsed:!0,theme:"-matrix",children:C?t.jsx("div",{className:"table-responsive",children:t.jsxs(A,{className:"matrix-table",bordered:!0,children:[t.jsx("thead",{children:(()=>{const o=Object.entries(j);return t.jsxs(t.Fragment,{children:[t.jsxs("tr",{children:[t.jsx("th",{className:"fixed-column"}),o.map(w)]}),t.jsxs("tr",{children:[t.jsx("th",{className:"fixed-column"}),o.flatMap(S)]})]})})()}),t.jsx("tbody",{children:C})]})}):t.jsx("div",{style:{paddingLeft:"5%"},children:t.jsx("p",{children:"No data available for this section."})})},p)},e[6]=n,e[7]=l,e[8]=s,e[9]=c):c=e[9],m=Object.entries(h).map(c),e[1]=h,e[2]=n,e[3]=l,e[4]=s,e[5]=m}else m=e[5];const x=m;let d;return e[10]!==x?(d=t.jsx("div",{className:"matrix-border",children:x}),e[10]=x,e[11]=d):d=e[11],d}function S(r){const[e,n]=r;return n.map(s=>t.jsx("th",{children:s},`${e}-${s}`))}function w(r){const[e,n]=r;return t.jsx("th",{colSpan:n.length,style:{width:`${n.length*O}rem`},children:e},e)}function $(r,e){return r-e}function B(r,e){const[n]=r,[s]=e;return n.localeCompare(s)}function D(r,e){return t.jsx("td",{children:r},e)}function F(r,e){const[n]=r,[s]=e;return n.localeCompare(s)}export{Z as S}; diff --git a/compendium_v2/static/ScrollableMatrix-Dxr22l4i.js b/compendium_v2/static/ScrollableMatrix-Dxr22l4i.js new file mode 100644 index 00000000..6be04915 --- /dev/null +++ b/compendium_v2/static/ScrollableMatrix-Dxr22l4i.js @@ -0,0 +1 @@ +import{c as T,j as t,e as k}from"./index.js";import{T as A}from"./Table-ClWM2_rS.js";const L=t.jsx("span",{children:"✔"}),O=8;function V(r){const e=T.c(12),{dataLookup:n,rowInfo:s,categoryLookup:h,isTickIcon:b}=r,l=b===void 0?!1:b;if(!n){let c;return e[0]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx("div",{className:"matrix-border"}),e[0]=c):c=e[0],c}let d;if(e[1]!==h||e[2]!==n||e[3]!==l||e[4]!==s){let c;e[6]!==n||e[7]!==l||e[8]!==s?(c=v=>{const[p,E]=v,C=Object.entries(s).map(o=>{const[u,a]=o,i=[];return Array.from(n.entries()).sort(F).forEach(y=>{const[,_]=y;_.forEach(g=>{const f=g.get(p);if(!f)return;const N=f[a]!=null?Object.keys(f[a])[0]:null,I=N!=null&&l?L:N;i.push(I)})}),i.length?t.jsxs("tr",{children:[t.jsx("th",{className:"fixed-column",children:u}),i.map(D)]},u):null}),j=Array.from(n.entries()).sort(B).reduce((o,u)=>{const[a,i]=u;return Array.from(i.entries()).forEach(y=>{const[_,g]=y;g.get(p)&&(o[a]||(o[a]=[]),o[a].push(_))}),o},{});for(const o in j)j[o].sort($);return t.jsx(k,{title:E,startCollapsed:!0,theme:"-matrix",children:C?t.jsx("div",{className:"table-responsive",children:t.jsxs(A,{className:"matrix-table",bordered:!0,children:[t.jsx("thead",{children:(()=>{const o=Object.entries(j);return t.jsxs(t.Fragment,{children:[t.jsxs("tr",{children:[t.jsx("th",{className:"fixed-column"}),o.map(w)]}),t.jsxs("tr",{children:[t.jsx("th",{className:"fixed-column"}),o.flatMap(S)]})]})})()}),t.jsx("tbody",{children:C})]})}):t.jsx("div",{style:{paddingLeft:"5%"},children:t.jsx("p",{children:"No data available for this section."})})},p)},e[6]=n,e[7]=l,e[8]=s,e[9]=c):c=e[9],d=Object.entries(h).map(c),e[1]=h,e[2]=n,e[3]=l,e[4]=s,e[5]=d}else d=e[5];const x=d;let m;return e[10]!==x?(m=t.jsx("div",{className:"matrix-border",children:x}),e[10]=x,e[11]=m):m=e[11],m}function S(r){const[e,n]=r;return n.map(s=>t.jsx("th",{children:s},`${e}-${s}`))}function w(r){const[e,n]=r;return t.jsx("th",{colSpan:n.length,style:{width:`${n.length*O}rem`},children:e},e)}function $(r,e){return r-e}function B(r,e){const[n]=r,[s]=e;return n.localeCompare(s)}function D(r,e){return t.jsx("td",{children:r},e)}function F(r,e){const[n]=r,[s]=e;return n.localeCompare(s)}export{V as S}; diff --git a/compendium_v2/static/SecurityControls-Ct-pN0fH.js b/compendium_v2/static/SecurityControls-Ct-pN0fH.js deleted file mode 100644 index c03690a4..00000000 --- a/compendium_v2/static/SecurityControls-Ct-pN0fH.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as T,r as E,F as L,j}from"./main-BIBsTO5W.js";import{u as R,g as A,F as I,D as M,f as O}from"./useData-BDYwoQEh.js";import{S as V}from"./report.js";import{P as U}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function X(){const e=T.c(51),{filterSelection:t,setFilterSelection:i}=E.useContext(L),{data:w,years:C,nrens:D}=R("/api/security-controls",i);let s,b;if(e[0]!==w||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let r;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(r=P=>t.selectedYears.includes(P.year)&&t.selectedNrens.includes(P.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=r):r=e[7],s=w.filter(r),b=A(s,"security_control_descriptions"),e[0]=w,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=b}else s=e[3],b=e[4];const Y=b;let l;e[8]!==C?(l=[...C],e[8]=C,e[9]=l):l=e[9];let o;e[10]!==D?(o=D.values(),e[10]=D,e[11]=o):o=e[11];let n;e[12]!==o?(n=[...o],e[12]=o,e[13]=n):n=e[13];let a;e[14]!==l||e[15]!==n?(a={availableYears:l,availableNrens:n},e[14]=l,e[15]=n,e[16]=a):a=e[16];let k;e[17]!==t||e[18]!==i||e[19]!==a?(k=j.jsx(I,{filterOptions:a,filterSelection:t,setFilterSelection:i,coloredYears:!0}),e[17]=t,e[18]=i,e[19]=a,e[20]=k):k=e[20];const F=k;let c,m,u,f,p,d,y,g,h,N,x;if(e[21]!==F||e[22]!==s){const r={anti_virus:"Anti Virus",anti_spam:"Anti-Spam",firewall:"Firewall",ddos_mitigation:"DDoS mitigation",monitoring:"Network monitoring",ips_ids:"IPS/IDS",acl:"ACL",segmentation:"Network segmentation",integrity_checking:"Integrity checking"};f=new Map(Object.entries(r).map(W)),u=M,h="Security Controls Used by NRENs",N=`The table below shows the different security controls, such as anti-virus, integrity checkers, and systemic firewalls used by - NRENs to protect their assets. Where 'other' controls are mentioned, hover over the marker for more information.`,x=V.Policy,p=F,d=s,y="security_control_nrens_per_year",m=O,c=U,g=Object.values(r),e[21]=F,e[22]=s,e[23]=c,e[24]=m,e[25]=u,e[26]=f,e[27]=p,e[28]=d,e[29]=y,e[30]=g,e[31]=h,e[32]=N,e[33]=x}else c=e[23],m=e[24],u=e[25],f=e[26],p=e[27],d=e[28],y=e[29],g=e[30],h=e[31],N=e[32],x=e[33];let S;e[34]!==c||e[35]!==f||e[36]!==Y||e[37]!==g?(S=j.jsx(c,{columns:g,dataLookup:Y,circle:!0,columnLookup:f}),e[34]=c,e[35]=f,e[36]=Y,e[37]=g,e[38]=S):S=e[38];let _;e[39]!==m||e[40]!==S?(_=j.jsx(m,{children:S}),e[39]=m,e[40]=S,e[41]=_):_=e[41];let v;return e[42]!==u||e[43]!==p||e[44]!==d||e[45]!==y||e[46]!==_||e[47]!==h||e[48]!==N||e[49]!==x?(v=j.jsx(u,{title:h,description:N,category:x,filter:p,data:d,filename:y,children:_}),e[42]=u,e[43]=p,e[44]=d,e[45]=y,e[46]=_,e[47]=h,e[48]=N,e[49]=x,e[50]=v):v=e[50],v}function W(e){const[t,i]=e;return[i,t]}export{X as default}; diff --git a/compendium_v2/static/SecurityControls-cN55VGDF.js b/compendium_v2/static/SecurityControls-cN55VGDF.js new file mode 100644 index 00000000..c8c5aa69 --- /dev/null +++ b/compendium_v2/static/SecurityControls-cN55VGDF.js @@ -0,0 +1,2 @@ +import{c as T,r as E,F as L,S as R,j}from"./index.js";import{u as A,g as I,F as M,D as O,f as V}from"./useData-C0vA-Ut8.js";import{P as U}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function X(){const e=T.c(51),{filterSelection:t,setFilterSelection:i}=E.useContext(L),{data:w,years:C,nrens:D}=A("/api/security-controls",i);let s,b;if(e[0]!==w||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let r;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(r=P=>t.selectedYears.includes(P.year)&&t.selectedNrens.includes(P.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=r):r=e[7],s=w.filter(r),b=I(s,"security_control_descriptions"),e[0]=w,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=b}else s=e[3],b=e[4];const Y=b;let l;e[8]!==C?(l=[...C],e[8]=C,e[9]=l):l=e[9];let o;e[10]!==D?(o=D.values(),e[10]=D,e[11]=o):o=e[11];let n;e[12]!==o?(n=[...o],e[12]=o,e[13]=n):n=e[13];let a;e[14]!==l||e[15]!==n?(a={availableYears:l,availableNrens:n},e[14]=l,e[15]=n,e[16]=a):a=e[16];let k;e[17]!==t||e[18]!==i||e[19]!==a?(k=j.jsx(M,{filterOptions:a,filterSelection:t,setFilterSelection:i,coloredYears:!0}),e[17]=t,e[18]=i,e[19]=a,e[20]=k):k=e[20];const F=k;let c,u,m,p,d,f,y,g,h,N,x;if(e[21]!==F||e[22]!==s){const r={anti_virus:"Anti Virus",anti_spam:"Anti-Spam",firewall:"Firewall",ddos_mitigation:"DDoS mitigation",monitoring:"Network monitoring",ips_ids:"IPS/IDS",acl:"ACL",segmentation:"Network segmentation",integrity_checking:"Integrity checking"};p=new Map(Object.entries(r).map(W)),m=O,h="Security Controls Used by NRENs",N=`The table below shows the different security controls, such as anti-virus, integrity checkers, and systemic firewalls used by + NRENs to protect their assets. Where 'other' controls are mentioned, hover over the marker for more information.`,x=R.Policy,d=F,f=s,y="security_control_nrens_per_year",u=V,c=U,g=Object.values(r),e[21]=F,e[22]=s,e[23]=c,e[24]=u,e[25]=m,e[26]=p,e[27]=d,e[28]=f,e[29]=y,e[30]=g,e[31]=h,e[32]=N,e[33]=x}else c=e[23],u=e[24],m=e[25],p=e[26],d=e[27],f=e[28],y=e[29],g=e[30],h=e[31],N=e[32],x=e[33];let S;e[34]!==c||e[35]!==p||e[36]!==Y||e[37]!==g?(S=j.jsx(c,{columns:g,dataLookup:Y,circle:!0,columnLookup:p}),e[34]=c,e[35]=p,e[36]=Y,e[37]=g,e[38]=S):S=e[38];let _;e[39]!==u||e[40]!==S?(_=j.jsx(u,{children:S}),e[39]=u,e[40]=S,e[41]=_):_=e[41];let v;return e[42]!==m||e[43]!==d||e[44]!==f||e[45]!==y||e[46]!==_||e[47]!==h||e[48]!==N||e[49]!==x?(v=j.jsx(m,{title:h,description:N,category:x,filter:d,data:f,filename:y,children:_}),e[42]=m,e[43]=d,e[44]=f,e[45]=y,e[46]=_,e[47]=h,e[48]=N,e[49]=x,e[50]=v):v=e[50],v}function W(e){const[t,i]=e;return[i,t]}export{X as default}; diff --git a/compendium_v2/static/ServiceLevelTargets-CAul_Bb5.js b/compendium_v2/static/ServiceLevelTargets-CAul_Bb5.js new file mode 100644 index 00000000..f7760266 --- /dev/null +++ b/compendium_v2/static/ServiceLevelTargets-CAul_Bb5.js @@ -0,0 +1,2 @@ +import{c as y,r as T,F as j,j as v,S as E}from"./index.js";import{u as F,g as L,D as _,F as P,f as R}from"./useData-C0vA-Ut8.js";import{P as w}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function z(){const e=y.c(29),{filterSelection:t,setFilterSelection:c}=T.useContext(j),{data:N,years:h,nrens:g}=F("/api/service-management",c);let s,f;if(e[0]!==N||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let p;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(p=Y=>t.selectedYears.includes(Y.year)&&t.selectedNrens.includes(Y.nren)&&Y.service_level_targets!==null,e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=p):p=e[7],s=N.filter(p),f=L(s,"service_level_targets"),e[0]=N,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=f}else s=e[3],f=e[4];const x=f;let l,d;e[8]===Symbol.for("react.memo_cache_sentinel")?(l=["Yes","No"],d=new Map([[l[0],"True"],[l[1],"False"]]),e[8]=l,e[9]=d):(l=e[8],d=e[9]);const b=d;let r;e[10]!==h?(r=[...h],e[10]=h,e[11]=r):r=e[11];let a;e[12]!==g?(a=g.values(),e[12]=g,e[13]=a):a=e[13];let i;e[14]!==a?(i=[...a],e[14]=a,e[15]=i):i=e[15];let o;e[16]!==r||e[17]!==i?(o={availableYears:r,availableNrens:i},e[16]=r,e[17]=i,e[18]=o):o=e[18];let m;e[19]!==t||e[20]!==c||e[21]!==o?(m=v.jsx(P,{filterOptions:o,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=o,e[22]=m):m=e[22];const S=m;let n;e[23]!==x?(n=v.jsx(R,{children:v.jsx(w,{columns:l,columnLookup:b,dataLookup:x})}),e[23]=x,e[24]=n):n=e[24];let u;return e[25]!==S||e[26]!==s||e[27]!==n?(u=v.jsx(_,{title:"NRENs Offering Service Level Targets",description:`The table below shows which NRENs offer Service Levels Targets for their services. + If NRENs have never responded to this question in the survey, they are excluded. `,category:E.Policy,filter:S,data:s,filename:"service_level_targets",children:n}),e[25]=S,e[26]=s,e[27]=n,e[28]=u):u=e[28],u}export{z as default}; diff --git a/compendium_v2/static/ServiceLevelTargets-DkcKRrX5.js b/compendium_v2/static/ServiceLevelTargets-DkcKRrX5.js deleted file mode 100644 index 04c38cf9..00000000 --- a/compendium_v2/static/ServiceLevelTargets-DkcKRrX5.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as y,r as T,F as j,j as v}from"./main-BIBsTO5W.js";import{u as E,g as F,D as L,F as _,f as P}from"./useData-BDYwoQEh.js";import{S as R}from"./report.js";import{P as w}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function z(){const e=y.c(29),{filterSelection:t,setFilterSelection:c}=T.useContext(j),{data:N,years:h,nrens:g}=E("/api/service-management",c);let s,f;if(e[0]!==N||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let p;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(p=Y=>t.selectedYears.includes(Y.year)&&t.selectedNrens.includes(Y.nren)&&Y.service_level_targets!==null,e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=p):p=e[7],s=N.filter(p),f=F(s,"service_level_targets"),e[0]=N,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=f}else s=e[3],f=e[4];const x=f;let l,m;e[8]===Symbol.for("react.memo_cache_sentinel")?(l=["Yes","No"],m=new Map([[l[0],"True"],[l[1],"False"]]),e[8]=l,e[9]=m):(l=e[8],m=e[9]);const b=m;let r;e[10]!==h?(r=[...h],e[10]=h,e[11]=r):r=e[11];let a;e[12]!==g?(a=g.values(),e[12]=g,e[13]=a):a=e[13];let i;e[14]!==a?(i=[...a],e[14]=a,e[15]=i):i=e[15];let o;e[16]!==r||e[17]!==i?(o={availableYears:r,availableNrens:i},e[16]=r,e[17]=i,e[18]=o):o=e[18];let d;e[19]!==t||e[20]!==c||e[21]!==o?(d=v.jsx(_,{filterOptions:o,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=o,e[22]=d):d=e[22];const S=d;let n;e[23]!==x?(n=v.jsx(P,{children:v.jsx(w,{columns:l,columnLookup:b,dataLookup:x})}),e[23]=x,e[24]=n):n=e[24];let u;return e[25]!==S||e[26]!==s||e[27]!==n?(u=v.jsx(L,{title:"NRENs Offering Service Level Targets",description:`The table below shows which NRENs offer Service Levels Targets for their services. - If NRENs have never responded to this question in the survey, they are excluded. `,category:R.Policy,filter:S,data:s,filename:"service_level_targets",children:n}),e[25]=S,e[26]=s,e[27]=n,e[28]=u):u=e[28],u}export{z as default}; diff --git a/compendium_v2/static/ServiceManagementFramework-0pFJ2GJW.js b/compendium_v2/static/ServiceManagementFramework-0pFJ2GJW.js deleted file mode 100644 index cd9da633..00000000 --- a/compendium_v2/static/ServiceManagementFramework-0pFJ2GJW.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as S,r as Y,F as b,j as N}from"./main-BIBsTO5W.js";import{u as j,g as E,D as _,F as y,f as P}from"./useData-BDYwoQEh.js";import{S as R}from"./report.js";import{P as C}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function A(){const e=S.c(29),{filterSelection:t,setFilterSelection:c}=Y.useContext(b),{data:h,years:v,nrens:g}=j("/api/service-management",c);let s,m;if(e[0]!==h||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=k=>t.selectedYears.includes(k.year)&&t.selectedNrens.includes(k.nren)&&k.service_management_framework!==null,e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],s=h.filter(u),m=E(s,"service_management_framework"),e[0]=h,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=m}else s=e[3],m=e[4];const w=m;let r,f;e[8]===Symbol.for("react.memo_cache_sentinel")?(r=["Yes","No"],f=new Map([[r[0],"True"],[r[1],"False"]]),e[8]=r,e[9]=f):(r=e[8],f=e[9]);const F=f;let a;e[10]!==v?(a=[...v],e[10]=v,e[11]=a):a=e[11];let l;e[12]!==g?(l=g.values(),e[12]=g,e[13]=l):l=e[13];let o;e[14]!==l?(o=[...l],e[14]=l,e[15]=o):o=e[15];let i;e[16]!==a||e[17]!==o?(i={availableYears:a,availableNrens:o},e[16]=a,e[17]=o,e[18]=i):i=e[18];let p;e[19]!==t||e[20]!==c||e[21]!==i?(p=N.jsx(y,{filterOptions:i,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=i,e[22]=p):p=e[22];const x=p;let n;e[23]!==w?(n=N.jsx(P,{children:N.jsx(C,{columns:r,columnLookup:F,dataLookup:w})}),e[23]=w,e[24]=n):n=e[24];let d;return e[25]!==x||e[26]!==s||e[27]!==n?(d=N.jsx(_,{title:"NRENs Operating a Formal Service Management Framework",description:`The chart below shows which NRENs operate a formal service management framework - for all of their services. NRENs which have never answered this question cannot be selected.`,category:R.Policy,filter:x,data:s,filename:"service_management_framework",children:n}),e[25]=x,e[26]=s,e[27]=n,e[28]=d):d=e[28],d}export{A as default}; diff --git a/compendium_v2/static/ServiceManagementFramework-Dr5HjYSA.js b/compendium_v2/static/ServiceManagementFramework-Dr5HjYSA.js new file mode 100644 index 00000000..b1eba786 --- /dev/null +++ b/compendium_v2/static/ServiceManagementFramework-Dr5HjYSA.js @@ -0,0 +1,2 @@ +import{c as S,r as Y,F as b,j as N,S as j}from"./index.js";import{u as E,g as _,D as y,F as P,f as R}from"./useData-C0vA-Ut8.js";import{P as C}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function A(){const e=S.c(29),{filterSelection:t,setFilterSelection:c}=Y.useContext(b),{data:h,years:v,nrens:g}=E("/api/service-management",c);let s,m;if(e[0]!==h||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=k=>t.selectedYears.includes(k.year)&&t.selectedNrens.includes(k.nren)&&k.service_management_framework!==null,e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],s=h.filter(u),m=_(s,"service_management_framework"),e[0]=h,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=m}else s=e[3],m=e[4];const w=m;let r,f;e[8]===Symbol.for("react.memo_cache_sentinel")?(r=["Yes","No"],f=new Map([[r[0],"True"],[r[1],"False"]]),e[8]=r,e[9]=f):(r=e[8],f=e[9]);const F=f;let a;e[10]!==v?(a=[...v],e[10]=v,e[11]=a):a=e[11];let l;e[12]!==g?(l=g.values(),e[12]=g,e[13]=l):l=e[13];let o;e[14]!==l?(o=[...l],e[14]=l,e[15]=o):o=e[15];let i;e[16]!==a||e[17]!==o?(i={availableYears:a,availableNrens:o},e[16]=a,e[17]=o,e[18]=i):i=e[18];let p;e[19]!==t||e[20]!==c||e[21]!==i?(p=N.jsx(P,{filterOptions:i,filterSelection:t,setFilterSelection:c,coloredYears:!0}),e[19]=t,e[20]=c,e[21]=i,e[22]=p):p=e[22];const x=p;let n;e[23]!==w?(n=N.jsx(R,{children:N.jsx(C,{columns:r,columnLookup:F,dataLookup:w})}),e[23]=w,e[24]=n):n=e[24];let d;return e[25]!==x||e[26]!==s||e[27]!==n?(d=N.jsx(y,{title:"NRENs Operating a Formal Service Management Framework",description:`The chart below shows which NRENs operate a formal service management framework + for all of their services. NRENs which have never answered this question cannot be selected.`,category:j.Policy,filter:x,data:s,filename:"service_management_framework",children:n}),e[25]=x,e[26]=s,e[27]=n,e[28]=d):d=e[28],d}export{A as default}; diff --git a/compendium_v2/static/Services-TWQx7C9G.js b/compendium_v2/static/Services-UuW4JfkB.js similarity index 67% rename from compendium_v2/static/Services-TWQx7C9G.js rename to compendium_v2/static/Services-UuW4JfkB.js index 9f690e27..b448b987 100644 --- a/compendium_v2/static/Services-TWQx7C9G.js +++ b/compendium_v2/static/Services-UuW4JfkB.js @@ -1,8 +1,8 @@ -import{X as te,a as K,j as s,r as se,F as ie}from"./main-BIBsTO5W.js";import{e as g,S as re}from"./report.js";import{u as oe,g as ae,F as le,D as ne,f as ce}from"./useData-BDYwoQEh.js";import{T as de}from"./Table-HH9WOnMU.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";function J(h){return te({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z"},child:[]}]})(h)}function me(h){const e=K.c(9),{year:i,active:t,serviceInfo:l,tickServiceIndex:u,current:o}=h;let r="No additional information available";if(l!==void 0){const x=l.service_name;let c=l.product_name,d=l.official_description,m=l.additional_information;(c!=""||d!=""||m!="")&&(c=c||"N/A",d=d||"N/A",m=m||"N/A",r=x+` +import{T as te,c as K,j as s,V as g,r as se,F as ie,S as re}from"./index.js";import{u as oe,g as ae,F as le,D as ne,f as ce}from"./useData-C0vA-Ut8.js";import{T as de}from"./Table-ClWM2_rS.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";function J(h){return te({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z"},child:[]}]})(h)}function me(h){const e=K.c(9),{year:i,active:t,serviceInfo:l,tickServiceIndex:u,current:o}=h;let r="No additional information available";if(l!==void 0){const x=l.service_name;let c=l.product_name,d=l.official_description,m=l.additional_information;(c!=""||d!=""||m!="")&&(c=c||"N/A",d=d||"N/A",m=m||"N/A",r=x+` `+c+` Description: `+d+` -Information: `+m)}let f="";r!=="No additional information available"&&(f="pill-shadow"),r=`${i}: ${r}`;let a;e[0]!==t||e[1]!==o||e[2]!==f||e[3]!==u||e[4]!==r?(a=t&&o?s.jsx("div",{"data-description":r,className:" bottom-tooltip ",style:{width:"30px",height:"30px",margin:"2px"},children:s.jsx(J,{className:`rounded-pill color-of-the-current-service-${u%13} bottom-tooltip ${f}`})}):t&&!o?s.jsx("div",{"data-description":r,className:" bottom-tooltip ",style:{width:"30px",height:"30px",margin:"2px"},children:s.jsx(J,{className:`rounded-pill color-of-the-previous-service-${u%13} bottom-tooltip ${f}`})}):s.jsx("div",{className:"rounded-pill bg-color-of-the-year-blank",style:{width:"30px",height:"30px",margin:"2px"},children:" "}),e[0]=t,e[1]=o,e[2]=f,e[3]=u,e[4]=r,e[5]=a):a=e[5];let n;return e[6]!==a||e[7]!==i?(n=s.jsx("div",{className:"d-inline-block",children:a},i),e[6]=a,e[7]=i,e[8]=n):n=e[8],n}const v={};v[g.network_services]="network";v[g.isp_support]="ISP support";v[g.security]="security";v[g.identity]="identity";v[g.collaboration]="collaboration";v[g.multimedia]="multimedia";v[g.storage_and_hosting]="storage and hosting";v[g.professional_services]="professional";function je(h){const e=K.c(62),{category:i}=h,{filterSelection:t,setFilterSelection:l}=se.useContext(ie),{data:u,years:o,nrens:r}=oe("/api/nren-services",l),f=Math.max(...t.selectedYears);let a,n,x,c,d,m,b,N,j,y,_,w,S;if(e[0]!==i||e[1]!==t||e[2]!==f||e[3]!==r||e[4]!==u||e[5]!==l||e[6]!==o){let L;e[20]!==i||e[21]!==t.selectedNrens||e[22]!==t.selectedYears?(L=p=>t.selectedYears.includes(p.year)&&t.selectedNrens.includes(p.nren)&&p.service_category==i,e[20]=i,e[21]=t.selectedNrens,e[22]=t.selectedYears,e[23]=L):L=e[23];const P=u.filter(L),z={};P.forEach(p=>{z[p.service_name]=p.service_description});const G=Object.entries(z).sort(he),Q=ae(P,"service_name");let $;e[24]!==o?($=[...o],e[24]=o,e[25]=$):$=e[25];let D;e[26]!==r?(D=r.values(),e[26]=r,e[27]=D):D=e[27];let T;e[28]!==D?(T=[...D],e[28]=D,e[29]=T):T=e[29];let E;e[30]!==$||e[31]!==T?(E={availableYears:$,availableNrens:T},e[30]=$,e[31]=T,e[32]=E):E=e[32];let R;e[33]!==t||e[34]!==l||e[35]!==E?(R=s.jsx(le,{filterOptions:E,filterSelection:t,setFilterSelection:l}),e[33]=t,e[34]=l,e[35]=E,e[36]=R):R=e[36];const U=R;let A;e[37]!==o?(A=p=>o.has(p),e[37]=o,e[38]=A):A=e[38];const V=[...t.selectedYears.filter(A)].sort();x=ne,j="NREN "+v[i]+" services matrix",y=`The service matrix shows the services NRENs offer to their users. These +Information: `+m)}let f="";r!=="No additional information available"&&(f="pill-shadow"),r=`${i}: ${r}`;let a;e[0]!==t||e[1]!==o||e[2]!==f||e[3]!==u||e[4]!==r?(a=t&&o?s.jsx("div",{"data-description":r,className:" bottom-tooltip ",style:{width:"30px",height:"30px",margin:"2px"},children:s.jsx(J,{className:`rounded-pill color-of-the-current-service-${u%13} bottom-tooltip ${f}`})}):t&&!o?s.jsx("div",{"data-description":r,className:" bottom-tooltip ",style:{width:"30px",height:"30px",margin:"2px"},children:s.jsx(J,{className:`rounded-pill color-of-the-previous-service-${u%13} bottom-tooltip ${f}`})}):s.jsx("div",{className:"rounded-pill bg-color-of-the-year-blank",style:{width:"30px",height:"30px",margin:"2px"},children:" "}),e[0]=t,e[1]=o,e[2]=f,e[3]=u,e[4]=r,e[5]=a):a=e[5];let n;return e[6]!==a||e[7]!==i?(n=s.jsx("div",{className:"d-inline-block",children:a},i),e[6]=a,e[7]=i,e[8]=n):n=e[8],n}const v={};v[g.network_services]="network";v[g.isp_support]="ISP support";v[g.security]="security";v[g.identity]="identity";v[g.collaboration]="collaboration";v[g.multimedia]="multimedia";v[g.storage_and_hosting]="storage and hosting";v[g.professional_services]="professional";function je(h){const e=K.c(62),{category:i}=h,{filterSelection:t,setFilterSelection:l}=se.useContext(ie),{data:u,years:o,nrens:r}=oe("/api/nren-services",l),f=Math.max(...t.selectedYears);let a,n,x,c,d,m,b,N,j,y,_,w,S;if(e[0]!==i||e[1]!==t||e[2]!==f||e[3]!==r||e[4]!==u||e[5]!==l||e[6]!==o){let L;e[20]!==i||e[21]!==t.selectedNrens||e[22]!==t.selectedYears?(L=p=>t.selectedYears.includes(p.year)&&t.selectedNrens.includes(p.nren)&&p.service_category==i,e[20]=i,e[21]=t.selectedNrens,e[22]=t.selectedYears,e[23]=L):L=e[23];const P=u.filter(L),z={};P.forEach(p=>{z[p.service_name]=p.service_description});const G=Object.entries(z).sort(he),Q=ae(P,"service_name");let Y;e[24]!==o?(Y=[...o],e[24]=o,e[25]=Y):Y=e[25];let $;e[26]!==r?($=r.values(),e[26]=r,e[27]=$):$=e[27];let D;e[28]!==$?(D=[...$],e[28]=$,e[29]=D):D=e[29];let E;e[30]!==Y||e[31]!==D?(E={availableYears:Y,availableNrens:D},e[30]=Y,e[31]=D,e[32]=E):E=e[32];let R;e[33]!==t||e[34]!==l||e[35]!==E?(R=s.jsx(le,{filterOptions:E,filterSelection:t,setFilterSelection:l}),e[33]=t,e[34]=l,e[35]=E,e[36]=R):R=e[36];const U=R;let A;e[37]!==o?(A=p=>o.has(p),e[37]=o,e[38]=A):A=e[38];const W=[...t.selectedYears.filter(A)].sort();x=ne,j="NREN "+v[i]+" services matrix",y=`The service matrix shows the services NRENs offer to their users. These services are grouped thematically, with navigation possible via. the side menu. NRENs are invited to give extra information about their services; where this is provided, - you will see a black circle around the marker. Hover over the marker to read more.`,_=re.Services,w=U,S=P,d="nren_services",n=ce,a=de,m="service-table",b=!0;let B;e[39]===Symbol.for("react.memo_cache_sentinel")?(B=s.jsx("th",{}),e[39]=B):B=e[39];const M=s.jsxs("tr",{children:[B,G.map(pe)]});e[40]!==M?(N=s.jsx("thead",{children:M}),e[40]=M,e[41]=N):N=e[41],c=Array.from(Q.entries()).map(p=>{const[H,X]=p;return s.jsxs("tr",{children:[s.jsx("td",{className:"bold-text",children:H}),G.map((W,Z)=>{const[O]=W;return s.jsx("td",{children:X.has(O)&&V.map(I=>{const q=X.get(O),ee=q.get(I);return s.jsx(me,{year:I,active:q.has(I),serviceInfo:ee,tickServiceIndex:Z,current:I==f},I)})},O)})]},H)}),e[0]=i,e[1]=t,e[2]=f,e[3]=r,e[4]=u,e[5]=l,e[6]=o,e[7]=a,e[8]=n,e[9]=x,e[10]=c,e[11]=d,e[12]=m,e[13]=b,e[14]=N,e[15]=j,e[16]=y,e[17]=_,e[18]=w,e[19]=S}else a=e[7],n=e[8],x=e[9],c=e[10],d=e[11],m=e[12],b=e[13],N=e[14],j=e[15],y=e[16],_=e[17],w=e[18],S=e[19];let k;e[42]!==c?(k=s.jsx("tbody",{children:c}),e[42]=c,e[43]=k):k=e[43];let C;e[44]!==a||e[45]!==k||e[46]!==m||e[47]!==b||e[48]!==N?(C=s.jsxs(a,{className:m,bordered:b,children:[N,k]}),e[44]=a,e[45]=k,e[46]=m,e[47]=b,e[48]=N,e[49]=C):C=e[49];let Y;e[50]!==n||e[51]!==C?(Y=s.jsx(n,{children:C}),e[50]=n,e[51]=C,e[52]=Y):Y=e[52];let F;return e[53]!==x||e[54]!==d||e[55]!==Y||e[56]!==j||e[57]!==y||e[58]!==_||e[59]!==w||e[60]!==S?(F=s.jsx(x,{title:j,description:y,category:_,filter:w,data:S,filename:d,children:Y}),e[53]=x,e[54]=d,e[55]=Y,e[56]=j,e[57]=y,e[58]=_,e[59]=w,e[60]=S,e[61]=F):F=e[61],F}function pe(h,e){const[i,t]=h;return s.jsx("th",{"data-description":t,className:`bottom-tooltip color-of-the-service-header-${e%13}`,children:i},i)}function he(h,e){return h[0].toLowerCase()<e[0].toLowerCase()?-1:1}export{je as default}; + you will see a black circle around the marker. Hover over the marker to read more.`,_=re.Services,w=U,S=P,d="nren_services",n=ce,a=de,m="service-table",b=!0;let B;e[39]===Symbol.for("react.memo_cache_sentinel")?(B=s.jsx("th",{}),e[39]=B):B=e[39];const M=s.jsxs("tr",{children:[B,G.map(pe)]});e[40]!==M?(N=s.jsx("thead",{children:M}),e[40]=M,e[41]=N):N=e[41],c=Array.from(Q.entries()).map(p=>{const[H,V]=p;return s.jsxs("tr",{children:[s.jsx("td",{className:"bold-text",children:H}),G.map((X,Z)=>{const[O]=X;return s.jsx("td",{children:V.has(O)&&W.map(I=>{const q=V.get(O),ee=q.get(I);return s.jsx(me,{year:I,active:q.has(I),serviceInfo:ee,tickServiceIndex:Z,current:I==f},I)})},O)})]},H)}),e[0]=i,e[1]=t,e[2]=f,e[3]=r,e[4]=u,e[5]=l,e[6]=o,e[7]=a,e[8]=n,e[9]=x,e[10]=c,e[11]=d,e[12]=m,e[13]=b,e[14]=N,e[15]=j,e[16]=y,e[17]=_,e[18]=w,e[19]=S}else a=e[7],n=e[8],x=e[9],c=e[10],d=e[11],m=e[12],b=e[13],N=e[14],j=e[15],y=e[16],_=e[17],w=e[18],S=e[19];let k;e[42]!==c?(k=s.jsx("tbody",{children:c}),e[42]=c,e[43]=k):k=e[43];let C;e[44]!==a||e[45]!==k||e[46]!==m||e[47]!==b||e[48]!==N?(C=s.jsxs(a,{className:m,bordered:b,children:[N,k]}),e[44]=a,e[45]=k,e[46]=m,e[47]=b,e[48]=N,e[49]=C):C=e[49];let T;e[50]!==n||e[51]!==C?(T=s.jsx(n,{children:C}),e[50]=n,e[51]=C,e[52]=T):T=e[52];let F;return e[53]!==x||e[54]!==d||e[55]!==T||e[56]!==j||e[57]!==y||e[58]!==_||e[59]!==w||e[60]!==S?(F=s.jsx(x,{title:j,description:y,category:_,filter:w,data:S,filename:d,children:T}),e[53]=x,e[54]=d,e[55]=T,e[56]=j,e[57]=y,e[58]=_,e[59]=w,e[60]=S,e[61]=F):F=e[61],F}function pe(h,e){const[i,t]=h;return s.jsx("th",{"data-description":t,className:`bottom-tooltip color-of-the-service-header-${e%13}`,children:i},i)}function he(h,e){return h[0].toLowerCase()<e[0].toLowerCase()?-1:1}export{je as default}; diff --git a/compendium_v2/static/ServicesOffered-DAgKmLaL.js b/compendium_v2/static/ServicesOffered-DAgKmLaL.js deleted file mode 100644 index b9273ff0..00000000 --- a/compendium_v2/static/ServicesOffered-DAgKmLaL.js +++ /dev/null @@ -1 +0,0 @@ -import{a as _,r as w,F as j,j as c}from"./main-BIBsTO5W.js";import{u as k,r as C,D as E,F as R,f as Y}from"./useData-BDYwoQEh.js";import{S as F,U as I}from"./report.js";import{S as P}from"./ScrollableMatrix-Cdgj4J9X.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function q(){const e=_.c(29),{filterSelection:t,setFilterSelection:n}=w.useContext(j),{data:h,years:g,nrens:v}=k("/api/services-offered",n);let s,f;if(e[0]!==t.selectedNrens||e[1]!==t.selectedYears||e[2]!==h){let y;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(y=S=>t.selectedYears.includes(S.year)&&t.selectedNrens.includes(S.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=y):y=e[7],s=h.filter(y),f=C(s,["service_category"],"user_category"),e[0]=t.selectedNrens,e[1]=t.selectedYears,e[2]=h,e[3]=s,e[4]=f}else s=e[3],f=e[4];const N=f;let r;e[8]!==g?(r=[...g],e[8]=g,e[9]=r):r=e[9];let i;e[10]!==v?(i=v.values(),e[10]=v,e[11]=i):i=e[11];let o;e[12]!==i?(o=[...i],e[12]=i,e[13]=o):o=e[13];let a;e[14]!==r||e[15]!==o?(a={availableYears:r,availableNrens:o},e[14]=r,e[15]=o,e[16]=a):a=e[16];let d;e[17]!==t||e[18]!==n||e[19]!==a?(d=c.jsx(R,{filterOptions:a,filterSelection:t,setFilterSelection:n}),e[17]=t,e[18]=n,e[19]=a,e[20]=d):d=e[20];const x=d;let p;e[21]===Symbol.for("react.memo_cache_sentinel")?(p={"Identity/T&I":"identity",Multimedia:"multimedia","Professional services":"professional_services","Network services":"network_services",Collaboration:"collaboration",Security:"security","Storage and Hosting":"storage_and_hosting","ISP support":"isp_support"},e[21]=p):p=e[21];const b=p;let m;e[22]===Symbol.for("react.memo_cache_sentinel")?(m=c.jsx("span",{children:"The table below shows the different types of users served by NRENs. Selecting the institution type will expand the detail to show the categories of services offered by NRENs, with a tick indicating that the NREN offers a specific category of service to the type of user."}),e[22]=m):m=e[22];let l;e[23]!==N?(l=c.jsx(Y,{children:c.jsx(P,{dataLookup:N,rowInfo:b,categoryLookup:I,isTickIcon:!0})}),e[23]=N,e[24]=l):l=e[24];let u;return e[25]!==x||e[26]!==s||e[27]!==l?(u=c.jsx(E,{title:"Services Offered by NRENs by Types of Users",description:m,category:F.Policy,filter:x,data:s,filename:"nren_services_offered",children:l}),e[25]=x,e[26]=s,e[27]=l,e[28]=u):u=e[28],u}export{q as default}; diff --git a/compendium_v2/static/ServicesOffered-Z3IepUcf.js b/compendium_v2/static/ServicesOffered-Z3IepUcf.js new file mode 100644 index 00000000..decc1b95 --- /dev/null +++ b/compendium_v2/static/ServicesOffered-Z3IepUcf.js @@ -0,0 +1 @@ +import{c as _,r as w,F as j,j as c,S as k,U as C}from"./index.js";import{u as E,r as R,D as Y,F,f as I}from"./useData-C0vA-Ut8.js";import{S as P}from"./ScrollableMatrix-Dxr22l4i.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function q(){const e=_.c(29),{filterSelection:t,setFilterSelection:n}=w.useContext(j),{data:h,years:g,nrens:v}=E("/api/services-offered",n);let s,f;if(e[0]!==t.selectedNrens||e[1]!==t.selectedYears||e[2]!==h){let y;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(y=S=>t.selectedYears.includes(S.year)&&t.selectedNrens.includes(S.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=y):y=e[7],s=h.filter(y),f=R(s,["service_category"],"user_category"),e[0]=t.selectedNrens,e[1]=t.selectedYears,e[2]=h,e[3]=s,e[4]=f}else s=e[3],f=e[4];const N=f;let r;e[8]!==g?(r=[...g],e[8]=g,e[9]=r):r=e[9];let i;e[10]!==v?(i=v.values(),e[10]=v,e[11]=i):i=e[11];let o;e[12]!==i?(o=[...i],e[12]=i,e[13]=o):o=e[13];let a;e[14]!==r||e[15]!==o?(a={availableYears:r,availableNrens:o},e[14]=r,e[15]=o,e[16]=a):a=e[16];let d;e[17]!==t||e[18]!==n||e[19]!==a?(d=c.jsx(F,{filterOptions:a,filterSelection:t,setFilterSelection:n}),e[17]=t,e[18]=n,e[19]=a,e[20]=d):d=e[20];const x=d;let p;e[21]===Symbol.for("react.memo_cache_sentinel")?(p={"Identity/T&I":"identity",Multimedia:"multimedia","Professional services":"professional_services","Network services":"network_services",Collaboration:"collaboration",Security:"security","Storage and Hosting":"storage_and_hosting","ISP support":"isp_support"},e[21]=p):p=e[21];const b=p;let u;e[22]===Symbol.for("react.memo_cache_sentinel")?(u=c.jsx("span",{children:"The table below shows the different types of users served by NRENs. Selecting the institution type will expand the detail to show the categories of services offered by NRENs, with a tick indicating that the NREN offers a specific category of service to the type of user."}),e[22]=u):u=e[22];let l;e[23]!==N?(l=c.jsx(I,{children:c.jsx(P,{dataLookup:N,rowInfo:b,categoryLookup:C,isTickIcon:!0})}),e[23]=N,e[24]=l):l=e[24];let m;return e[25]!==x||e[26]!==s||e[27]!==l?(m=c.jsx(Y,{title:"Services Offered by NRENs by Types of Users",description:u,category:k.Policy,filter:x,data:s,filename:"nren_services_offered",children:l}),e[25]=x,e[26]=s,e[27]=l,e[28]=m):m=e[28],m}export{q as default}; diff --git a/compendium_v2/static/SideBar-Bzc5cONd.js b/compendium_v2/static/SideBar-Bzc5cONd.js new file mode 100644 index 00000000..3289f3eb --- /dev/null +++ b/compendium_v2/static/SideBar-Bzc5cONd.js @@ -0,0 +1 @@ +import{c as y,r as j,j as i,R as E,L as N,O as S,Q as L}from"./index.js";function _(v){const e=y.c(9),{to:o,children:n}=v,t=window.location.pathname===o,a=j.useRef(null);let c,s;e[0]!==t?(c=()=>{t&&a.current&&a.current.scrollIntoView({behavior:"smooth",block:"center"})},s=[t],e[0]=t,e[1]=c,e[2]=s):(c=e[1],s=e[2]),j.useEffect(c,s);let l;e[3]!==n||e[4]!==t?(l=t?i.jsx("b",{children:n}):n,e[3]=n,e[4]=t,e[5]=l):l=e[5];let r;return e[6]!==l||e[7]!==o?(r=i.jsx(E,{children:i.jsx(N,{to:o,className:"link-text-underline",ref:a,children:l})}),e[6]=l,e[7]=o,e[8]=r):r=e[8],r}const C=v=>{const e=y.c(23),{children:o,survey:n}=v,[t,a]=j.useState(!1);let c;e[0]!==t?(c=p=>{p.stopPropagation(),p.preventDefault(),a(!t)},e[0]=t,e[1]=c):c=e[1];const s=c;let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=p=>{p.target.closest("#sidebar")||p.target.closest(".toggle-btn")||a(!1)},e[2]=l):l=e[2];const r=l;let x;e[3]===Symbol.for("react.memo_cache_sentinel")?(x=()=>(document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}),e[3]=x):x=e[3],j.useEffect(x);let f;e[4]!==t||e[5]!==n?(f=[],t||f.push("no-sidebar"),n&&f.push("survey"),e[4]=t,e[5]=n,e[6]=f):f=e[6];const k=f.join(" ");let d;e[7]!==o?(d=i.jsx("div",{className:"menu-items",children:o}),e[7]=o,e[8]=d):d=e[8];let m;e[9]!==k||e[10]!==d?(m=i.jsx("nav",{className:k,id:"sidebar",children:d}),e[9]=k,e[10]=d,e[11]=m):m=e[11];const w=`toggle-btn${n?"-survey":""}`;let g;e[12]===Symbol.for("react.memo_cache_sentinel")?(g=i.jsx("span",{children:"MENU"}),e[12]=g):g=e[12];let u;e[13]!==t||e[14]!==s?(u=i.jsxs("div",{className:"toggle-btn-wrapper",children:[g," ",t?i.jsx(S,{style:{color:"white",paddingBottom:"3px",scale:"1.3"},onClick:s}):i.jsx(L,{style:{color:"white",paddingBottom:"3px",scale:"1.3"},onClick:s})]}),e[13]=t,e[14]=s,e[15]=u):u=e[15];let h;e[16]!==w||e[17]!==u||e[18]!==s?(h=i.jsx("div",{className:w,onClick:s,children:u}),e[16]=w,e[17]=u,e[18]=s,e[19]=h):h=e[19];let b;return e[20]!==h||e[21]!==m?(b=i.jsxs("div",{className:"sidebar-wrapper",children:[m,h]}),e[20]=h,e[21]=m,e[22]=b):b=e[22],b};export{_ as L,C as S}; diff --git a/compendium_v2/static/SiemVendors-AspEWRsK.js b/compendium_v2/static/SiemVendors-AspEWRsK.js deleted file mode 100644 index 17d64ce2..00000000 --- a/compendium_v2/static/SiemVendors-AspEWRsK.js +++ /dev/null @@ -1 +0,0 @@ -import{a as v,r as Y,F as j,j as u}from"./main-BIBsTO5W.js";import{u as C,g as _,D as g,F as k,f as F}from"./useData-BDYwoQEh.js";import{S as R}from"./report.js";import{P as D}from"./PillTable-5pkcg2T9.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./ColorPill-CqT_mR3a.js";import"./Table-HH9WOnMU.js";function Q(){const e=v.c(28),{filterSelection:t,setFilterSelection:n}=Y.useContext(j),{data:x,years:N,nrens:S}=C("/api/siem-vendors",n);let s,c;if(e[0]!==x||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let p;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(p=h=>t.selectedYears.includes(h.year)&&t.selectedNrens.includes(h.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=p):p=e[7],s=x.filter(p),c=_(s,"vendor_names"),e[0]=x,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=c}else s=e[3],c=e[4];const b=c;let r;e[8]!==N?(r=[...N],e[8]=N,e[9]=r):r=e[9];let l;e[10]!==S?(l=S.values(),e[10]=S,e[11]=l):l=e[11];let a;e[12]!==l?(a=[...l],e[12]=l,e[13]=a):a=e[13];let o;e[14]!==r||e[15]!==a?(o={availableYears:r,availableNrens:a},e[14]=r,e[15]=a,e[16]=o):o=e[16];let d;e[17]!==t||e[18]!==n||e[19]!==o?(d=u.jsx(k,{filterOptions:o,filterSelection:t,setFilterSelection:n,coloredYears:!0}),e[17]=t,e[18]=n,e[19]=o,e[20]=d):d=e[20];const y=d;let m;e[21]===Symbol.for("react.memo_cache_sentinel")?(m=["Splunk","IBM Qradar","Exabeam","LogRythm","Securonix"],e[21]=m):m=e[21];const E=m;let i;e[22]!==b?(i=u.jsx(F,{children:u.jsx(D,{columns:E,dataLookup:b,circle:!0})}),e[22]=b,e[23]=i):i=e[23];let f;return e[24]!==y||e[25]!==s||e[26]!==i?(f=u.jsx(g,{title:"Vendors of SIEM/SOC systems used by NRENs",description:"The table below shows the kinds of vendors of SIEM/SOC systems used by NRENs.",category:R.Network,filter:y,data:s,filename:"siem_vendor_nrens_per_year",children:i}),e[24]=y,e[25]=s,e[26]=i,e[27]=f):f=e[27],f}export{Q as default}; diff --git a/compendium_v2/static/SiemVendors-BpJ6Liws.js b/compendium_v2/static/SiemVendors-BpJ6Liws.js new file mode 100644 index 00000000..38645052 --- /dev/null +++ b/compendium_v2/static/SiemVendors-BpJ6Liws.js @@ -0,0 +1 @@ +import{c as v,r as Y,F as j,j as u,S as C}from"./index.js";import{u as _,g,D as k,F,f as R}from"./useData-C0vA-Ut8.js";import{P as D}from"./PillTable-Cnj0nnFy.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./ColorPill-CXvWIfWz.js";import"./Table-ClWM2_rS.js";function Q(){const e=v.c(28),{filterSelection:t,setFilterSelection:n}=Y.useContext(j),{data:x,years:N,nrens:S}=_("/api/siem-vendors",n);let s,c;if(e[0]!==x||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let p;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(p=h=>t.selectedYears.includes(h.year)&&t.selectedNrens.includes(h.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=p):p=e[7],s=x.filter(p),c=g(s,"vendor_names"),e[0]=x,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=s,e[4]=c}else s=e[3],c=e[4];const b=c;let r;e[8]!==N?(r=[...N],e[8]=N,e[9]=r):r=e[9];let l;e[10]!==S?(l=S.values(),e[10]=S,e[11]=l):l=e[11];let a;e[12]!==l?(a=[...l],e[12]=l,e[13]=a):a=e[13];let o;e[14]!==r||e[15]!==a?(o={availableYears:r,availableNrens:a},e[14]=r,e[15]=a,e[16]=o):o=e[16];let d;e[17]!==t||e[18]!==n||e[19]!==o?(d=u.jsx(F,{filterOptions:o,filterSelection:t,setFilterSelection:n,coloredYears:!0}),e[17]=t,e[18]=n,e[19]=o,e[20]=d):d=e[20];const y=d;let m;e[21]===Symbol.for("react.memo_cache_sentinel")?(m=["Splunk","IBM Qradar","Exabeam","LogRythm","Securonix"],e[21]=m):m=e[21];const E=m;let i;e[22]!==b?(i=u.jsx(R,{children:u.jsx(D,{columns:E,dataLookup:b,circle:!0})}),e[22]=b,e[23]=i):i=e[23];let f;return e[24]!==y||e[25]!==s||e[26]!==i?(f=u.jsx(k,{title:"Vendors of SIEM/SOC systems used by NRENs",description:"The table below shows the kinds of vendors of SIEM/SOC systems used by NRENs.",category:C.Network,filter:y,data:s,filename:"siem_vendor_nrens_per_year",children:i}),e[24]=y,e[25]=s,e[26]=i,e[27]=f):f=e[27],f}export{Q as default}; diff --git a/compendium_v2/static/StaffGraph-BWU39hrJ.js b/compendium_v2/static/StaffGraph-BWU39hrJ.js new file mode 100644 index 00000000..31598d06 --- /dev/null +++ b/compendium_v2/static/StaffGraph-BWU39hrJ.js @@ -0,0 +1 @@ +import{c as O,r as $,F as B,j as x,S as A}from"./index.js";import{B as M}from"./index-BJrPLJgf.js";import{C as g,a as P,L as q,B as W,p as G,c as V,d as z,u as H,l as J,D as K,F as Q}from"./useData-C0vA-Ut8.js";import{h as U,W as X}from"./HTMLLegendPlugin-B1D8JXQI.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";g.register(P,q,W,G,V,z);const Z={maintainAspectRatio:!1,animation:{duration:0},plugins:{htmlLegend:{containerIDs:["legendtop","legendbottom"]},legend:{display:!1},tooltip:{callbacks:{label:function(t){let e=t.dataset.label||"";return t.parsed.x!==null&&(e+=`: ${t.parsed.x}%`),e}}}},scales:{x:{position:"top",stacked:!0,ticks:{callback:(t,e)=>`${e*10}%`}},x2:{ticks:{callback:t=>typeof t=="number"?`${t}%`:t},grid:{drawOnChartArea:!1},afterDataLimits:function(t){const e=Object.keys(g.instances);let i=-999999,s=999999;for(const n of e)g.instances[n]&&t.chart.scales.x2&&(s=Math.min(g.instances[n].scales.x.min,s),i=Math.max(g.instances[n].scales.x.max,i));t.chart.scales.x2.options.min=s,t.chart.scales.x2.options.max=i,t.chart.scales.x2.min=s,t.chart.scales.x2.max=i}},y:{stacked:!0,ticks:{autoSkip:!1}}},indexAxis:"y"};function re(t){const e=O.c(39),{roles:i}=t,s=i===void 0?!1:i;let n;e[0]!==s?(n=function(r){return s&&r.technical_fte>0&&r.non_technical_fte>0||!s&&r.permanent_fte>0&&r.subcontracted_fte>0},e[0]=s,e[1]=n):n=e[1];const D=n,{filterSelection:a,setFilterSelection:y}=$.useContext(B),{data:k,years:S,nrens:T}=H("/api/staff",y,D);let l,N;if(e[2]!==k||e[3]!==a.selectedNrens||e[4]!==a.selectedYears||e[5]!==s){let u;e[8]!==a.selectedNrens||e[9]!==a.selectedYears?(u=r=>a.selectedYears.includes(r.year)&&a.selectedNrens.includes(r.nren),e[8]=a.selectedNrens,e[9]=a.selectedYears,e[10]=u):u=e[10],l=k.filter(u),N=J(l,s,a.selectedYears[0]),e[2]=k,e[3]=a.selectedNrens,e[4]=a.selectedYears,e[5]=s,e[6]=l,e[7]=N}else l=e[6],N=e[7];const w=N;let c;e[11]!==S?(c=[...S],e[11]=S,e[12]=c):c=e[12];let o;e[13]!==T?(o=T.values(),e[13]=T,e[14]=o):o=e[14];let f;e[15]!==o?(f=[...o],e[15]=o,e[16]=f):f=e[16];let d;e[17]!==c||e[18]!==f?(d={availableYears:c,availableNrens:f},e[17]=c,e[18]=f,e[19]=d):d=e[19];let b;e[20]!==a||e[21]!==y||e[22]!==d?(b=x.jsx(Q,{max1year:!0,filterOptions:d,filterSelection:a,setFilterSelection:y}),e[20]=a,e[21]=y,e[22]=d,e[23]=b):b=e[23];const R=b,Y=l.length,L=Math.max(Y*1.5,20),v=s?"Roles of NREN employees (Technical v. Non-Technical)":"Types of Employment within NRENs",F=s?"The graph shows division of staff FTEs (Full Time Equivalents) between technical and non-techical role per NREN. The exact figures of how many FTEs are dedicated to these two different functional areas can be accessed by downloading the data in either CSV or Excel format":"The graph shows the percentage of NREN staff who are permanent, and those who are subcontracted. The structures and models of NRENs differ across the community, which is reflected in the types of employment offered. The NRENs are asked to provide the Full Time Equivalents (FTEs) rather absolute numbers of staff.",C=s?"roles_of_nren_employees":"types_of_employment_for_nrens",j=`${L}rem`;let h;e[24]!==j?(h={height:j},e[24]=j,e[25]=h):h=e[25];let E;e[26]===Symbol.for("react.memo_cache_sentinel")?(E=[U],e[26]=E):E=e[26];let m;e[27]!==w?(m=x.jsx(M,{data:w,options:Z,plugins:E}),e[27]=w,e[28]=m):m=e[28];let p;e[29]!==h||e[30]!==m?(p=x.jsx(X,{children:x.jsx("div",{className:"chart-container",style:h,children:m})}),e[29]=h,e[30]=m,e[31]=p):p=e[31];let _;return e[32]!==F||e[33]!==C||e[34]!==R||e[35]!==l||e[36]!==p||e[37]!==v?(_=x.jsx(K,{title:v,description:F,category:A.Organisation,filter:R,data:l,filename:C,children:p}),e[32]=F,e[33]=C,e[34]=R,e[35]=l,e[36]=p,e[37]=v,e[38]=_):_=e[38],_}export{re as default}; diff --git a/compendium_v2/static/StaffGraph-CRnD7Dbf.js b/compendium_v2/static/StaffGraph-CRnD7Dbf.js deleted file mode 100644 index 927f5c14..00000000 --- a/compendium_v2/static/StaffGraph-CRnD7Dbf.js +++ /dev/null @@ -1 +0,0 @@ -import{a as O,r as $,F as B,j as x}from"./main-BIBsTO5W.js";import{B as A}from"./index-BBrAyDR9.js";import{C as g,a as M,L as P,B as q,p as W,c as G,d as V,u as z,l as H,D as J,F as K}from"./useData-BDYwoQEh.js";import{S as Q}from"./report.js";import{h as U,W as X}from"./HTMLLegendPlugin-BO0IHS_R.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";g.register(M,P,q,W,G,V);const Z={maintainAspectRatio:!1,animation:{duration:0},plugins:{htmlLegend:{containerIDs:["legendtop","legendbottom"]},legend:{display:!1},tooltip:{callbacks:{label:function(t){let e=t.dataset.label||"";return t.parsed.x!==null&&(e+=`: ${t.parsed.x}%`),e}}}},scales:{x:{position:"top",stacked:!0,ticks:{callback:(t,e)=>`${e*10}%`}},x2:{ticks:{callback:t=>typeof t=="number"?`${t}%`:t},grid:{drawOnChartArea:!1},afterDataLimits:function(t){const e=Object.keys(g.instances);let i=-999999,s=999999;for(const n of e)g.instances[n]&&t.chart.scales.x2&&(s=Math.min(g.instances[n].scales.x.min,s),i=Math.max(g.instances[n].scales.x.max,i));t.chart.scales.x2.options.min=s,t.chart.scales.x2.options.max=i,t.chart.scales.x2.min=s,t.chart.scales.x2.max=i}},y:{stacked:!0,ticks:{autoSkip:!1}}},indexAxis:"y"};function re(t){const e=O.c(39),{roles:i}=t,s=i===void 0?!1:i;let n;e[0]!==s?(n=function(r){return s&&r.technical_fte>0&&r.non_technical_fte>0||!s&&r.permanent_fte>0&&r.subcontracted_fte>0},e[0]=s,e[1]=n):n=e[1];const D=n,{filterSelection:a,setFilterSelection:y}=$.useContext(B),{data:k,years:S,nrens:T}=z("/api/staff",y,D);let l,N;if(e[2]!==k||e[3]!==a.selectedNrens||e[4]!==a.selectedYears||e[5]!==s){let u;e[8]!==a.selectedNrens||e[9]!==a.selectedYears?(u=r=>a.selectedYears.includes(r.year)&&a.selectedNrens.includes(r.nren),e[8]=a.selectedNrens,e[9]=a.selectedYears,e[10]=u):u=e[10],l=k.filter(u),N=H(l,s,a.selectedYears[0]),e[2]=k,e[3]=a.selectedNrens,e[4]=a.selectedYears,e[5]=s,e[6]=l,e[7]=N}else l=e[6],N=e[7];const w=N;let o;e[11]!==S?(o=[...S],e[11]=S,e[12]=o):o=e[12];let c;e[13]!==T?(c=T.values(),e[13]=T,e[14]=c):c=e[14];let f;e[15]!==c?(f=[...c],e[15]=c,e[16]=f):f=e[16];let d;e[17]!==o||e[18]!==f?(d={availableYears:o,availableNrens:f},e[17]=o,e[18]=f,e[19]=d):d=e[19];let b;e[20]!==a||e[21]!==y||e[22]!==d?(b=x.jsx(K,{max1year:!0,filterOptions:d,filterSelection:a,setFilterSelection:y}),e[20]=a,e[21]=y,e[22]=d,e[23]=b):b=e[23];const R=b,Y=l.length,L=Math.max(Y*1.5,20),v=s?"Roles of NREN employees (Technical v. Non-Technical)":"Types of Employment within NRENs",F=s?"The graph shows division of staff FTEs (Full Time Equivalents) between technical and non-techical role per NREN. The exact figures of how many FTEs are dedicated to these two different functional areas can be accessed by downloading the data in either CSV or Excel format":"The graph shows the percentage of NREN staff who are permanent, and those who are subcontracted. The structures and models of NRENs differ across the community, which is reflected in the types of employment offered. The NRENs are asked to provide the Full Time Equivalents (FTEs) rather absolute numbers of staff.",C=s?"roles_of_nren_employees":"types_of_employment_for_nrens",j=`${L}rem`;let m;e[24]!==j?(m={height:j},e[24]=j,e[25]=m):m=e[25];let E;e[26]===Symbol.for("react.memo_cache_sentinel")?(E=[U],e[26]=E):E=e[26];let h;e[27]!==w?(h=x.jsx(A,{data:w,options:Z,plugins:E}),e[27]=w,e[28]=h):h=e[28];let p;e[29]!==m||e[30]!==h?(p=x.jsx(X,{children:x.jsx("div",{className:"chart-container",style:m,children:h})}),e[29]=m,e[30]=h,e[31]=p):p=e[31];let _;return e[32]!==F||e[33]!==C||e[34]!==R||e[35]!==l||e[36]!==p||e[37]!==v?(_=x.jsx(J,{title:v,description:F,category:Q.Organisation,filter:R,data:l,filename:C,children:p}),e[32]=F,e[33]=C,e[34]=R,e[35]=l,e[36]=p,e[37]=v,e[38]=_):_=e[38],_}export{re as default}; diff --git a/compendium_v2/static/StaffGraphAbsolute-1_iTYcqR.js b/compendium_v2/static/StaffGraphAbsolute-1_iTYcqR.js deleted file mode 100644 index 999e17ce..00000000 --- a/compendium_v2/static/StaffGraphAbsolute-1_iTYcqR.js +++ /dev/null @@ -1 +0,0 @@ -import{a as j,r as D,F as Y,j as d}from"./main-BIBsTO5W.js";import{B}from"./index-BBrAyDR9.js";import{C as T,a as P,L as A,B as O,p as q,c as L,d as $,u as k,m as G,D as M,F as W,f as z}from"./useData-BDYwoQEh.js";import{S as H}from"./report.js";import{p as I}from"./chartjs-plugin-datalabels.esm-D8EJYoxA.js";import{a as J}from"./charthelpers-CCaYPWnR.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";T.register(P,A,O,q,L,$);function ie(){const e=j.c(38),{filterSelection:t,setFilterSelection:a}=D.useContext(Y),{data:S,years:p,nrens:u}=k("/api/staff",a);let i,n,s,g;if(e[0]!==S||e[1]!==t||e[2]!==u||e[3]!==a||e[4]!==p){let y;e[9]!==t.selectedNrens||e[10]!==t.selectedYears?(y=_=>t.selectedYears.includes(_.year)&&t.selectedNrens.includes(_.nren),e[9]=t.selectedNrens,e[10]=t.selectedYears,e[11]=y):y=e[11],s=S.filter(y),n=G(s,t.selectedYears);let c;e[12]!==p?(c=[...p],e[12]=p,e[13]=c):c=e[13];let f;e[14]!==u?(f=u.values(),e[14]=u,e[15]=f):f=e[15];let m;e[16]!==f?(m=[...f],e[16]=f,e[17]=m):m=e[17];let h;e[18]!==c||e[19]!==m?(h={availableYears:c,availableNrens:m},e[18]=c,e[19]=m,e[20]=h):h=e[20];let b;e[21]!==t||e[22]!==a||e[23]!==h?(b=d.jsx(W,{filterOptions:h,filterSelection:t,setFilterSelection:a}),e[21]=t,e[22]=a,e[23]=h,e[24]=b):b=e[24],i=b,g=Array.from(new Set(s.map(K))),e[0]=S,e[1]=t,e[2]=u,e[3]=a,e[4]=p,e[5]=i,e[6]=n,e[7]=s,e[8]=g}else i=e[5],n=e[6],s=e[7],g=e[8];const v=g.length,w=Math.max(v*t.selectedYears.length*1.5+5,50),C='The graph shows the total number of employees (in FTEs) at each NREN. When filling in the survey, NRENs are asked about the number of staff engaged (whether permanent or subcontracted) in NREN activities. Please note that diversity within the NREN community means that there is not one single definition of what constitutes "NREN activities". Therefore due to differences in how their organisations are arranged, and the relationship, in some cases, with parent organisations, there can be inconsistencies in how NRENs approach this question.';let N;e[25]===Symbol.for("react.memo_cache_sentinel")?(N=J({tooltipPrefix:"FTEs",title:"Full-Time Equivalents"}),e[25]=N):N=e[25];const F=N,R=`${w}rem`;let r;e[26]!==R?(r={height:R},e[26]=R,e[27]=r):r=e[27];let E;e[28]===Symbol.for("react.memo_cache_sentinel")?(E=[I],e[28]=E):E=e[28];let l;e[29]!==n?(l=d.jsx(B,{data:n,options:F,plugins:E}),e[29]=n,e[30]=l):l=e[30];let o;e[31]!==r||e[32]!==l?(o=d.jsx(z,{children:d.jsx("div",{className:"chart-container",style:r,children:l})}),e[31]=r,e[32]=l,e[33]=o):o=e[33];let x;return e[34]!==i||e[35]!==s||e[36]!==o?(x=d.jsx(M,{title:"Number of NREN Employees",description:C,category:H.Organisation,filter:i,data:s,filename:"number_of_nren_employees",children:o}),e[34]=i,e[35]=s,e[36]=o,e[37]=x):x=e[37],x}function K(e){return e.nren}export{ie as default}; diff --git a/compendium_v2/static/StaffGraphAbsolute-CMxNAPzl.js b/compendium_v2/static/StaffGraphAbsolute-CMxNAPzl.js new file mode 100644 index 00000000..08c453f9 --- /dev/null +++ b/compendium_v2/static/StaffGraphAbsolute-CMxNAPzl.js @@ -0,0 +1 @@ +import{c as j,r as D,F as Y,j as d,S as B}from"./index.js";import{B as T}from"./index-BJrPLJgf.js";import{C as P,a as A,L as O,B as q,p as L,c as $,d as k,u as G,m as M,D as W,F as z,f as H}from"./useData-C0vA-Ut8.js";import{p as I}from"./chartjs-plugin-datalabels.esm-BObV249o.js";import{a as J}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";P.register(A,O,q,L,$,k);function ie(){const e=j.c(38),{filterSelection:t,setFilterSelection:a}=D.useContext(Y),{data:S,years:p,nrens:u}=G("/api/staff",a);let i,n,s,g;if(e[0]!==S||e[1]!==t||e[2]!==u||e[3]!==a||e[4]!==p){let y;e[9]!==t.selectedNrens||e[10]!==t.selectedYears?(y=_=>t.selectedYears.includes(_.year)&&t.selectedNrens.includes(_.nren),e[9]=t.selectedNrens,e[10]=t.selectedYears,e[11]=y):y=e[11],s=S.filter(y),n=M(s,t.selectedYears);let c;e[12]!==p?(c=[...p],e[12]=p,e[13]=c):c=e[13];let f;e[14]!==u?(f=u.values(),e[14]=u,e[15]=f):f=e[15];let m;e[16]!==f?(m=[...f],e[16]=f,e[17]=m):m=e[17];let h;e[18]!==c||e[19]!==m?(h={availableYears:c,availableNrens:m},e[18]=c,e[19]=m,e[20]=h):h=e[20];let b;e[21]!==t||e[22]!==a||e[23]!==h?(b=d.jsx(z,{filterOptions:h,filterSelection:t,setFilterSelection:a}),e[21]=t,e[22]=a,e[23]=h,e[24]=b):b=e[24],i=b,g=Array.from(new Set(s.map(K))),e[0]=S,e[1]=t,e[2]=u,e[3]=a,e[4]=p,e[5]=i,e[6]=n,e[7]=s,e[8]=g}else i=e[5],n=e[6],s=e[7],g=e[8];const v=g.length,w=Math.max(v*t.selectedYears.length*1.5+5,50),C='The graph shows the total number of employees (in FTEs) at each NREN. When filling in the survey, NRENs are asked about the number of staff engaged (whether permanent or subcontracted) in NREN activities. Please note that diversity within the NREN community means that there is not one single definition of what constitutes "NREN activities". Therefore due to differences in how their organisations are arranged, and the relationship, in some cases, with parent organisations, there can be inconsistencies in how NRENs approach this question.';let N;e[25]===Symbol.for("react.memo_cache_sentinel")?(N=J({tooltipPrefix:"FTEs",title:"Full-Time Equivalents"}),e[25]=N):N=e[25];const F=N,R=`${w}rem`;let r;e[26]!==R?(r={height:R},e[26]=R,e[27]=r):r=e[27];let E;e[28]===Symbol.for("react.memo_cache_sentinel")?(E=[I],e[28]=E):E=e[28];let l;e[29]!==n?(l=d.jsx(T,{data:n,options:F,plugins:E}),e[29]=n,e[30]=l):l=e[30];let o;e[31]!==r||e[32]!==l?(o=d.jsx(H,{children:d.jsx("div",{className:"chart-container",style:r,children:l})}),e[31]=r,e[32]=l,e[33]=o):o=e[33];let x;return e[34]!==i||e[35]!==s||e[36]!==o?(x=d.jsx(W,{title:"Number of NREN Employees",description:C,category:B.Organisation,filter:i,data:s,filename:"number_of_nren_employees",children:o}),e[34]=i,e[35]=s,e[36]=o,e[37]=x):x=e[37],x}function K(e){return e.nren}export{ie as default}; diff --git a/compendium_v2/static/SubOrganisation-BBUAiix9.js b/compendium_v2/static/SubOrganisation-BBUAiix9.js new file mode 100644 index 00000000..f5766f29 --- /dev/null +++ b/compendium_v2/static/SubOrganisation-BBUAiix9.js @@ -0,0 +1 @@ +import{c as S,r as Y,F as y,j as p,S as C}from"./index.js";import{u as j,h as v,i as E,D as F,F as R,f as O}from"./useData-C0vA-Ut8.js";import{N as T}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function q(){const e=S.c(27),{filterSelection:t,setFilterSelection:s}=Y.useContext(y),{data:r,years:g,nrens:N}=j("/api/sub-organizations",s);let a,d;if(e[0]!==r||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=b=>t.selectedYears.includes(b.year)&&t.selectedNrens.includes(b.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],a=r.filter(u);const D=v(a);d=E(D,P),e[0]=r,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=a,e[4]=d}else a=e[3],d=e[4];const h=d;let n;e[8]!==g?(n=[...g],e[8]=g,e[9]=n):n=e[9];let o;e[10]!==N?(o=N.values(),e[10]=N,e[11]=o):o=e[11];let i;e[12]!==o?(i=[...o],e[12]=o,e[13]=i):i=e[13];let l;e[14]!==n||e[15]!==i?(l={availableYears:n,availableNrens:i},e[14]=n,e[15]=i,e[16]=l):l=e[16];let f;e[17]!==t||e[18]!==s||e[19]!==l?(f=p.jsx(R,{filterOptions:l,filterSelection:t,setFilterSelection:s}),e[17]=t,e[18]=s,e[19]=l,e[20]=f):f=e[20];const x=f;let c;e[21]!==h?(c=p.jsx(O,{children:p.jsx(T,{data:h,columnTitle:"Suborganisation and Role",dottedBorder:!0})}),e[21]=h,e[22]=c):c=e[22];let m;return e[23]!==x||e[24]!==a||e[25]!==c?(m=p.jsx(F,{title:"NREN Sub-Organisations",description:"NRENs are asked whether they have any sub-organisations, and to give the name and role of these organisations. These organisations can include HPC centres or IDC federations, amongst many others.",category:C.Organisation,filter:x,data:a,filename:"nren_suborganisations",children:c}),e[23]=x,e[24]=a,e[25]=c,e[26]=m):m=e[26],m}function P(e,t){for(const s of t.sort($)){const r=`${s.name} (${s.role})`;e[r]=r}}function $(e,t){return e.name.localeCompare(t.name)}export{q as default}; diff --git a/compendium_v2/static/SubOrganisation-D8wGO2zm.js b/compendium_v2/static/SubOrganisation-D8wGO2zm.js deleted file mode 100644 index 8ee5d831..00000000 --- a/compendium_v2/static/SubOrganisation-D8wGO2zm.js +++ /dev/null @@ -1 +0,0 @@ -import{a as S,r as Y,F as y,j as p}from"./main-BIBsTO5W.js";import{u as C,h as j,i as v,D as E,F,f as R}from"./useData-BDYwoQEh.js";import{S as O}from"./report.js";import{N as T}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function q(){const e=S.c(27),{filterSelection:t,setFilterSelection:s}=Y.useContext(y),{data:r,years:g,nrens:N}=C("/api/sub-organizations",s);let a,d;if(e[0]!==r||e[1]!==t.selectedNrens||e[2]!==t.selectedYears){let u;e[5]!==t.selectedNrens||e[6]!==t.selectedYears?(u=b=>t.selectedYears.includes(b.year)&&t.selectedNrens.includes(b.nren),e[5]=t.selectedNrens,e[6]=t.selectedYears,e[7]=u):u=e[7],a=r.filter(u);const D=j(a);d=v(D,P),e[0]=r,e[1]=t.selectedNrens,e[2]=t.selectedYears,e[3]=a,e[4]=d}else a=e[3],d=e[4];const h=d;let n;e[8]!==g?(n=[...g],e[8]=g,e[9]=n):n=e[9];let o;e[10]!==N?(o=N.values(),e[10]=N,e[11]=o):o=e[11];let i;e[12]!==o?(i=[...o],e[12]=o,e[13]=i):i=e[13];let l;e[14]!==n||e[15]!==i?(l={availableYears:n,availableNrens:i},e[14]=n,e[15]=i,e[16]=l):l=e[16];let f;e[17]!==t||e[18]!==s||e[19]!==l?(f=p.jsx(F,{filterOptions:l,filterSelection:t,setFilterSelection:s}),e[17]=t,e[18]=s,e[19]=l,e[20]=f):f=e[20];const x=f;let c;e[21]!==h?(c=p.jsx(R,{children:p.jsx(T,{data:h,columnTitle:"Suborganisation and Role",dottedBorder:!0})}),e[21]=h,e[22]=c):c=e[22];let m;return e[23]!==x||e[24]!==a||e[25]!==c?(m=p.jsx(E,{title:"NREN Sub-Organisations",description:"NRENs are asked whether they have any sub-organisations, and to give the name and role of these organisations. These organisations can include HPC centres or IDC federations, amongst many others.",category:O.Organisation,filter:x,data:a,filename:"nren_suborganisations",children:c}),e[23]=x,e[24]=a,e[25]=c,e[26]=m):m=e[26],m}function P(e,t){for(const s of t.sort($)){const r=`${s.name} (${s.role})`;e[r]=r}}function $(e,t){return e.name.localeCompare(t.name)}export{q as default}; diff --git a/compendium_v2/static/SurveyContainerComponent-D59B1_HE.js b/compendium_v2/static/SurveyContainerComponent-BkQFvQxZ.js similarity index 99% rename from compendium_v2/static/SurveyContainerComponent-D59B1_HE.js rename to compendium_v2/static/SurveyContainerComponent-BkQFvQxZ.js index 758d3912..ea20aff9 100644 --- a/compendium_v2/static/SurveyContainerComponent-D59B1_HE.js +++ b/compendium_v2/static/SurveyContainerComponent-BkQFvQxZ.js @@ -1,4 +1,4 @@ -import{Y as vh,Z as bh,a as Bo,j as de,r as at,C as Ch,e as xa,R as xr,g as Gu,$ as wh,a0 as Ph,b as xh}from"./main-BIBsTO5W.js";import{D as Vh,k as mt}from"./index-CuSQpLoM.js";import{V as yi}from"./Schema-BuKG9dA7.js";import{S as Sh}from"./survey.js";import"./xlsx-CxqzP9DR.js";import"./Table-HH9WOnMU.js";var qo={exports:{}};/*! +import{X as vh,Y as bh,c as Bo,j as de,r as at,C as Ch,D as xa,R as xr,W as Gu,Z as wh,$ as Ph,H as xh}from"./index.js";import{D as Vh,k as mt}from"./index-BGZcCZJE.js";import{V as yi}from"./Schema-BuKG9dA7.js";import{S as Sh}from"./SurveySidebar-NbXpjOVQ.js";import"./SideBar-Bzc5cONd.js";var qo={exports:{}};/*! * surveyjs - Survey JavaScript library v1.12.20 * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) @@ -45,4 +45,4 @@ Click the button below to add a new entry.`,noEntriesReadonlyText:"No entries",t * surveyjs - Survey JavaScript library v1.12.20 * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) - */(function(h,w){B.exports=w()})(this,function(){return function(C){var h={};function w(A){if(h[A])return h[A].exports;var k=h[A]={i:A,l:!1,exports:{}};return C[A].call(k.exports,k,k.exports,w),k.l=!0,k.exports}return w.m=C,w.c=h,w.d=function(A,k,le){w.o(A,k)||Object.defineProperty(A,k,{enumerable:!0,get:le})},w.r=function(A){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},w.t=function(A,k){if(k&1&&(A=w(A)),k&8||k&4&&typeof A=="object"&&A&&A.__esModule)return A;var le=Object.create(null);if(w.r(le),Object.defineProperty(le,"default",{enumerable:!0,value:A}),k&2&&typeof A!="string")for(var $ in A)w.d(le,$,(function(ie){return A[ie]}).bind(null,$));return le},w.n=function(A){var k=A&&A.__esModule?function(){return A.default}:function(){return A};return w.d(k,"a",k),k},w.o=function(A,k){return Object.prototype.hasOwnProperty.call(A,k)},w.p="",w(w.s="./packages/survey-core/src/iconsV2.ts")}({"./packages/survey-core/src/iconsV2.ts":function(C,h,w){w.r(h),w.d(h,"icons",function(){return k});var A=w("./packages/survey-core/src/images-v2 sync recursive \\.svg$"),k={};A.keys().forEach(function(le){k[le.substring(2,le.length-4).toLowerCase()]=A(le)})},"./packages/survey-core/src/images-v2 sync recursive \\.svg$":function(C,h,w){var A={"./ModernBooleanCheckChecked.svg":"./packages/survey-core/src/images-v2/ModernBooleanCheckChecked.svg","./ModernBooleanCheckInd.svg":"./packages/survey-core/src/images-v2/ModernBooleanCheckInd.svg","./ModernBooleanCheckUnchecked.svg":"./packages/survey-core/src/images-v2/ModernBooleanCheckUnchecked.svg","./ModernCheck.svg":"./packages/survey-core/src/images-v2/ModernCheck.svg","./ModernRadio.svg":"./packages/survey-core/src/images-v2/ModernRadio.svg","./ProgressButton.svg":"./packages/survey-core/src/images-v2/ProgressButton.svg","./RemoveFile.svg":"./packages/survey-core/src/images-v2/RemoveFile.svg","./TimerCircle.svg":"./packages/survey-core/src/images-v2/TimerCircle.svg","./add-24x24.svg":"./packages/survey-core/src/images-v2/add-24x24.svg","./arrowleft-16x16.svg":"./packages/survey-core/src/images-v2/arrowleft-16x16.svg","./arrowright-16x16.svg":"./packages/survey-core/src/images-v2/arrowright-16x16.svg","./camera-24x24.svg":"./packages/survey-core/src/images-v2/camera-24x24.svg","./camera-32x32.svg":"./packages/survey-core/src/images-v2/camera-32x32.svg","./cancel-24x24.svg":"./packages/survey-core/src/images-v2/cancel-24x24.svg","./check-16x16.svg":"./packages/survey-core/src/images-v2/check-16x16.svg","./check-24x24.svg":"./packages/survey-core/src/images-v2/check-24x24.svg","./chevrondown-24x24.svg":"./packages/survey-core/src/images-v2/chevrondown-24x24.svg","./chevronright-16x16.svg":"./packages/survey-core/src/images-v2/chevronright-16x16.svg","./clear-16x16.svg":"./packages/survey-core/src/images-v2/clear-16x16.svg","./clear-24x24.svg":"./packages/survey-core/src/images-v2/clear-24x24.svg","./close-16x16.svg":"./packages/survey-core/src/images-v2/close-16x16.svg","./close-24x24.svg":"./packages/survey-core/src/images-v2/close-24x24.svg","./collapse-16x16.svg":"./packages/survey-core/src/images-v2/collapse-16x16.svg","./collapsedetails-16x16.svg":"./packages/survey-core/src/images-v2/collapsedetails-16x16.svg","./delete-24x24.svg":"./packages/survey-core/src/images-v2/delete-24x24.svg","./drag-24x24.svg":"./packages/survey-core/src/images-v2/drag-24x24.svg","./draghorizontal-24x16.svg":"./packages/survey-core/src/images-v2/draghorizontal-24x16.svg","./expand-16x16.svg":"./packages/survey-core/src/images-v2/expand-16x16.svg","./expanddetails-16x16.svg":"./packages/survey-core/src/images-v2/expanddetails-16x16.svg","./file-72x72.svg":"./packages/survey-core/src/images-v2/file-72x72.svg","./flip-24x24.svg":"./packages/survey-core/src/images-v2/flip-24x24.svg","./folder-24x24.svg":"./packages/survey-core/src/images-v2/folder-24x24.svg","./fullsize-16x16.svg":"./packages/survey-core/src/images-v2/fullsize-16x16.svg","./image-48x48.svg":"./packages/survey-core/src/images-v2/image-48x48.svg","./loading-48x48.svg":"./packages/survey-core/src/images-v2/loading-48x48.svg","./maximize-16x16.svg":"./packages/survey-core/src/images-v2/maximize-16x16.svg","./minimize-16x16.svg":"./packages/survey-core/src/images-v2/minimize-16x16.svg","./more-24x24.svg":"./packages/survey-core/src/images-v2/more-24x24.svg","./navmenu-24x24.svg":"./packages/survey-core/src/images-v2/navmenu-24x24.svg","./noimage-48x48.svg":"./packages/survey-core/src/images-v2/noimage-48x48.svg","./ranking-arrows.svg":"./packages/survey-core/src/images-v2/ranking-arrows.svg","./rankingundefined-16x16.svg":"./packages/survey-core/src/images-v2/rankingundefined-16x16.svg","./rating-star-2.svg":"./packages/survey-core/src/images-v2/rating-star-2.svg","./rating-star-small-2.svg":"./packages/survey-core/src/images-v2/rating-star-small-2.svg","./rating-star-small.svg":"./packages/survey-core/src/images-v2/rating-star-small.svg","./rating-star.svg":"./packages/survey-core/src/images-v2/rating-star.svg","./reorder-24x24.svg":"./packages/survey-core/src/images-v2/reorder-24x24.svg","./restoredown-16x16.svg":"./packages/survey-core/src/images-v2/restoredown-16x16.svg","./search-24x24.svg":"./packages/survey-core/src/images-v2/search-24x24.svg","./smiley-rate1-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate1-24x24.svg","./smiley-rate10-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate10-24x24.svg","./smiley-rate2-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate2-24x24.svg","./smiley-rate3-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate3-24x24.svg","./smiley-rate4-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate4-24x24.svg","./smiley-rate5-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate5-24x24.svg","./smiley-rate6-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate6-24x24.svg","./smiley-rate7-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate7-24x24.svg","./smiley-rate8-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate8-24x24.svg","./smiley-rate9-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate9-24x24.svg"};function k($){var ie=le($);return w(ie)}function le($){if(!w.o(A,$)){var ie=new Error("Cannot find module '"+$+"'");throw ie.code="MODULE_NOT_FOUND",ie}return A[$]}k.keys=function(){return Object.keys(A)},k.resolve=le,C.exports=k,k.id="./packages/survey-core/src/images-v2 sync recursive \\.svg$"},"./packages/survey-core/src/images-v2/ModernBooleanCheckChecked.svg":function(C,h){C.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>'},"./packages/survey-core/src/images-v2/ModernBooleanCheckInd.svg":function(C,h){C.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>'},"./packages/survey-core/src/images-v2/ModernBooleanCheckUnchecked.svg":function(C,h){C.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>'},"./packages/survey-core/src/images-v2/ModernCheck.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"></path></svg>'},"./packages/survey-core/src/images-v2/ModernRadio.svg":function(C,h){C.exports='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"></circle></svg>'},"./packages/survey-core/src/images-v2/ProgressButton.svg":function(C,h){C.exports='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "></polygon></svg>'},"./packages/survey-core/src/images-v2/RemoveFile.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"></path></svg>'},"./packages/survey-core/src/images-v2/TimerCircle.svg":function(C,h){C.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke: var(--sd-timer-stroke-background-color); stroke-width: var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"></circle><circle cx="80" cy="80" r="70"></circle></svg>'},"./packages/survey-core/src/images-v2/add-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15.75 12C15.75 12.41 15.41 12.75 15 12.75H12.75V15C12.75 15.41 12.41 15.75 12 15.75C11.59 15.75 11.25 15.41 11.25 15V12.75H9C8.59 12.75 8.25 12.41 8.25 12C8.25 11.59 8.59 11.25 9 11.25H11.25V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9V11.25H15C15.41 11.25 15.75 11.59 15.75 12ZM21.75 12C21.75 17.38 17.38 21.75 12 21.75C6.62 21.75 2.25 17.38 2.25 12C2.25 6.62 6.62 2.25 12 2.25C17.38 2.25 21.75 6.62 21.75 12ZM20.25 12C20.25 7.45 16.55 3.75 12 3.75C7.45 3.75 3.75 7.45 3.75 12C3.75 16.55 7.45 20.25 12 20.25C16.55 20.25 20.25 16.55 20.25 12Z"></path></svg>'},"./packages/survey-core/src/images-v2/arrowleft-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.7475 7.9975C14.7475 8.4075 14.4075 8.7475 13.9975 8.7475H3.8075L7.5275 12.4675C7.8175 12.7575 7.8175 13.2375 7.5275 13.5275C7.3775 13.6775 7.1875 13.7475 6.9975 13.7475C6.8075 13.7475 6.6175 13.6775 6.4675 13.5275L1.4675 8.5275C1.1775 8.2375 1.1775 7.7575 1.4675 7.4675L6.4675 2.4675C6.7575 2.1775 7.2375 2.1775 7.5275 2.4675C7.8175 2.7575 7.8175 3.2375 7.5275 3.5275L3.8075 7.2475H13.9975C14.4075 7.2475 14.7475 7.5875 14.7475 7.9975Z"></path></svg>'},"./packages/survey-core/src/images-v2/arrowright-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 8.5275L9.53 13.5275C9.38 13.6775 9.19 13.7475 9 13.7475C8.81 13.7475 8.62 13.6775 8.47 13.5275C8.18 13.2375 8.18 12.7575 8.47 12.4675L12.19 8.7475H2C1.59 8.7475 1.25 8.4075 1.25 7.9975C1.25 7.5875 1.59 7.2475 2 7.2475H12.19L8.47 3.5275C8.18 3.2375 8.18 2.7575 8.47 2.4675C8.76 2.1775 9.24 2.1775 9.53 2.4675L14.53 7.4675C14.82 7.7575 14.82 8.2375 14.53 8.5275Z"></path></svg>'},"./packages/survey-core/src/images-v2/camera-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.19 4.25H17.12C16.72 4.25 16.35 4.03 16.17 3.67C15.73 2.8 14.86 2.25 13.88 2.25H10.12C9.14 2.25 8.27 2.79 7.83 3.67C7.65 4.03 7.29 4.25 6.88 4.25H4.81C3.4 4.25 2.25 5.4 2.25 6.81V18.19C2.25 19.6 3.4 20.75 4.81 20.75H19.19C20.6 20.75 21.75 19.6 21.75 18.19V6.81C21.75 5.4 20.6 4.25 19.19 4.25ZM20.25 18.19C20.25 18.77 19.78 19.25 19.19 19.25H4.81C4.23 19.25 3.75 18.78 3.75 18.19V6.81C3.75 6.23 4.22 5.75 4.81 5.75H6.88C7.86 5.75 8.73 5.21 9.17 4.33C9.35 3.97 9.71 3.75 10.12 3.75H13.88C14.28 3.75 14.65 3.97 14.83 4.33C15.27 5.2 16.14 5.75 17.12 5.75H19.19C19.77 5.75 20.25 6.22 20.25 6.81V18.19ZM12 6.25C8.83 6.25 6.25 8.83 6.25 12C6.25 15.17 8.83 17.75 12 17.75C15.17 17.75 17.75 15.17 17.75 12C17.75 8.83 15.17 6.25 12 6.25ZM12 16.25C9.66 16.25 7.75 14.34 7.75 12C7.75 9.66 9.66 7.75 12 7.75C14.34 7.75 16.25 9.66 16.25 12C16.25 14.34 14.34 16.25 12 16.25ZM14.75 12C14.75 13.52 13.52 14.75 12 14.75C11.59 14.75 11.25 14.41 11.25 14C11.25 13.59 11.59 13.25 12 13.25C12.69 13.25 13.25 12.69 13.25 12C13.25 11.59 13.59 11.25 14 11.25C14.41 11.25 14.75 11.59 14.75 12Z"></path></svg>'},"./packages/survey-core/src/images-v2/camera-32x32.svg":function(C,h){C.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M25 7.25H22.19C21.73 7.25 21.31 7 21.09 6.59L20.89 6.22C20.23 5.01 18.97 4.25 17.59 4.25H14.41C13.03 4.25 11.77 5 11.11 6.22L10.91 6.6C10.69 7 10.27 7.26 9.81 7.26H7C4.93 7.26 3.25 8.94 3.25 11.01V24.01C3.25 26.08 4.93 27.76 7 27.76H25C27.07 27.76 28.75 26.08 28.75 24.01V11C28.75 8.93 27.07 7.25 25 7.25ZM27.25 24C27.25 25.24 26.24 26.25 25 26.25H7C5.76 26.25 4.75 25.24 4.75 24V11C4.75 9.76 5.76 8.75 7 8.75H9.81C10.82 8.75 11.75 8.2 12.23 7.31L12.43 6.94C12.82 6.21 13.58 5.76 14.41 5.76H17.59C18.42 5.76 19.18 6.21 19.57 6.94L19.77 7.31C20.25 8.2 21.18 8.76 22.19 8.76H25C26.24 8.76 27.25 9.77 27.25 11.01V24.01V24ZM16 10.25C12.28 10.25 9.25 13.28 9.25 17C9.25 20.72 12.28 23.75 16 23.75C19.72 23.75 22.75 20.72 22.75 17C22.75 13.28 19.72 10.25 16 10.25ZM16 22.25C13.11 22.25 10.75 19.89 10.75 17C10.75 14.11 13.11 11.75 16 11.75C18.89 11.75 21.25 14.11 21.25 17C21.25 19.89 18.89 22.25 16 22.25ZM19.75 17C19.75 19.07 18.07 20.75 16 20.75C15.59 20.75 15.25 20.41 15.25 20C15.25 19.59 15.59 19.25 16 19.25C17.24 19.25 18.25 18.24 18.25 17C18.25 16.59 18.59 16.25 19 16.25C19.41 16.25 19.75 16.59 19.75 17Z"></path></svg>'},"./packages/survey-core/src/images-v2/cancel-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.8099 11.75L15.2799 9.28C15.5699 8.99 15.5699 8.51 15.2799 8.22C14.9899 7.93 14.5099 7.93 14.2199 8.22L11.7499 10.69L9.27994 8.22C8.98994 7.93 8.50994 7.93 8.21994 8.22C7.92994 8.51 7.92994 8.99 8.21994 9.28L10.6899 11.75L8.21994 14.22C7.92994 14.51 7.92994 14.99 8.21994 15.28C8.36994 15.43 8.55994 15.5 8.74994 15.5C8.93994 15.5 9.12994 15.43 9.27994 15.28L11.7499 12.81L14.2199 15.28C14.3699 15.43 14.5599 15.5 14.7499 15.5C14.9399 15.5 15.1299 15.43 15.2799 15.28C15.5699 14.99 15.5699 14.51 15.2799 14.22L12.8099 11.75Z"></path></svg>'},"./packages/survey-core/src/images-v2/check-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.0275 5.0275L6.5275 12.5275C6.3775 12.6775 6.1875 12.7475 5.9975 12.7475C5.8075 12.7475 5.6175 12.6775 5.4675 12.5275L2.4675 9.5275C2.1775 9.2375 2.1775 8.7575 2.4675 8.4675C2.7575 8.1775 3.2375 8.1775 3.5275 8.4675L5.9975 10.9375L12.9675 3.9675C13.2575 3.6775 13.7375 3.6775 14.0275 3.9675C14.3175 4.2575 14.3175 4.7375 14.0275 5.0275Z"></path></svg>'},"./packages/survey-core/src/images-v2/check-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 7.5275L9.5275 17.5275C9.3775 17.6775 9.1875 17.7475 8.9975 17.7475C8.8075 17.7475 8.6175 17.6775 8.4675 17.5275L4.4675 13.5275C4.1775 13.2375 4.1775 12.7575 4.4675 12.4675C4.7575 12.1775 5.2375 12.1775 5.5275 12.4675L8.9975 15.9375L18.4675 6.4675C18.7575 6.1775 19.2375 6.1775 19.5275 6.4675C19.8175 6.7575 19.8175 7.2375 19.5275 7.5275Z"></path></svg>'},"./packages/survey-core/src/images-v2/chevrondown-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.5275 10.5275L12.5275 14.5275C12.3775 14.6775 12.1875 14.7475 11.9975 14.7475C11.8075 14.7475 11.6175 14.6775 11.4675 14.5275L7.4675 10.5275C7.1775 10.2375 7.1775 9.7575 7.4675 9.4675C7.7575 9.1775 8.2375 9.1775 8.5275 9.4675L11.9975 12.9375L15.4675 9.4675C15.7575 9.1775 16.2375 9.1775 16.5275 9.4675C16.8175 9.7575 16.8175 10.2375 16.5275 10.5275Z"></path></svg>'},"./packages/survey-core/src/images-v2/chevronright-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.35 8.34627L7.35 12.3463C7.25 12.4463 7.12 12.4963 7 12.4963C6.88 12.4963 6.74 12.4463 6.65 12.3463C6.45 12.1463 6.45 11.8363 6.65 11.6363L10.3 7.98627L6.65 4.34627C6.45 4.15627 6.45 3.83627 6.65 3.64627C6.85 3.45627 7.16 3.44627 7.35 3.64627L11.35 7.64627C11.55 7.84627 11.55 8.15627 11.35 8.35627V8.34627Z"></path></svg>'},"./packages/survey-core/src/images-v2/clear-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12.35 11.65C12.55 11.85 12.55 12.16 12.35 12.36C12.25 12.46 12.12 12.51 12 12.51C11.88 12.51 11.74 12.46 11.65 12.36L8 8.71L4.35 12.36C4.25 12.46 4.12 12.51 4 12.51C3.88 12.51 3.74 12.46 3.65 12.36C3.45 12.16 3.45 11.85 3.65 11.65L7.3 8L3.65 4.35C3.45 4.16 3.45 3.84 3.65 3.65C3.85 3.46 4.16 3.45 4.35 3.65L8 7.3L11.65 3.65C11.85 3.45 12.16 3.45 12.36 3.65C12.56 3.85 12.56 4.16 12.36 4.36L8.71 8.01L12.36 11.66L12.35 11.65Z"></path></svg>'},"./packages/survey-core/src/images-v2/clear-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.12 10.9325C20.64 10.4125 20.93 9.7225 20.93 8.9925C20.93 8.2625 20.64 7.5725 20.12 7.0525L16.95 3.8825C15.88 2.8125 14.13 2.8125 13.06 3.8825L3.88 13.0525C3.36 13.5725 3.07 14.2625 3.07 14.9925C3.07 15.7225 3.36 16.4125 3.88 16.9325L5.64 18.6925C6.57 19.6225 7.78 20.0825 9 20.0825C10.22 20.0825 11.43 19.6225 12.36 18.6925L20.12 10.9325ZM14.12 4.9325C14.36 4.6925 14.67 4.5625 15 4.5625C15.33 4.5625 15.65 4.6925 15.88 4.9325L19.05 8.1025C19.54 8.5925 19.54 9.3825 19.05 9.8725L12.99 15.9325L8.05 10.9925L14.12 4.9325ZM6.7 17.6325L4.94 15.8725C4.45 15.3825 4.45 14.5925 4.94 14.1025L7 12.0425L11.94 16.9825L11.3 17.6225C10.07 18.8525 7.93 18.8525 6.7 17.6225V17.6325ZM22.75 20.9925C22.75 21.4025 22.41 21.7425 22 21.7425H14C13.59 21.7425 13.25 21.4025 13.25 20.9925C13.25 20.5825 13.59 20.2425 14 20.2425H22C22.41 20.2425 22.75 20.5825 22.75 20.9925ZM4.75 20.9925C4.75 21.4025 4.41 21.7425 4 21.7425H2C1.59 21.7425 1.25 21.4025 1.25 20.9925C1.25 20.5825 1.59 20.2425 2 20.2425H4C4.41 20.2425 4.75 20.5825 4.75 20.9925Z"></path></svg>'},"./packages/survey-core/src/images-v2/close-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.5275 12.4675C13.8175 12.7575 13.8175 13.2375 13.5275 13.5275C13.3775 13.6775 13.1875 13.7475 12.9975 13.7475C12.8075 13.7475 12.6175 13.6775 12.4675 13.5275L7.9975 9.0575L3.5275 13.5275C3.3775 13.6775 3.1875 13.7475 2.9975 13.7475C2.8075 13.7475 2.6175 13.6775 2.4675 13.5275C2.1775 13.2375 2.1775 12.7575 2.4675 12.4675L6.9375 7.9975L2.4675 3.5275C2.1775 3.2375 2.1775 2.7575 2.4675 2.4675C2.7575 2.1775 3.2375 2.1775 3.5275 2.4675L7.9975 6.9375L12.4675 2.4675C12.7575 2.1775 13.2375 2.1775 13.5275 2.4675C13.8175 2.7575 13.8175 3.2375 13.5275 3.5275L9.0575 7.9975L13.5275 12.4675Z"></path></svg>'},"./packages/survey-core/src/images-v2/close-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 18.4675C19.8175 18.7575 19.8175 19.2375 19.5275 19.5275C19.3775 19.6775 19.1875 19.7475 18.9975 19.7475C18.8075 19.7475 18.6175 19.6775 18.4675 19.5275L11.9975 13.0575L5.5275 19.5275C5.3775 19.6775 5.1875 19.7475 4.9975 19.7475C4.8075 19.7475 4.6175 19.6775 4.4675 19.5275C4.1775 19.2375 4.1775 18.7575 4.4675 18.4675L10.9375 11.9975L4.4675 5.5275C4.1775 5.2375 4.1775 4.7575 4.4675 4.4675C4.7575 4.1775 5.2375 4.1775 5.5275 4.4675L11.9975 10.9375L18.4675 4.4675C18.7575 4.1775 19.2375 4.1775 19.5275 4.4675C19.8175 4.7575 19.8175 5.2375 19.5275 5.5275L13.0575 11.9975L19.5275 18.4675Z"></path></svg>'},"./packages/survey-core/src/images-v2/collapse-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/collapsedetails-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/delete-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.75 9V17C12.75 17.41 12.41 17.75 12 17.75C11.59 17.75 11.25 17.41 11.25 17V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9ZM14.25 9V17C14.25 17.41 14.59 17.75 15 17.75C15.41 17.75 15.75 17.41 15.75 17V9C15.75 8.59 15.41 8.25 15 8.25C14.59 8.25 14.25 8.59 14.25 9ZM9 8.25C8.59 8.25 8.25 8.59 8.25 9V17C8.25 17.41 8.59 17.75 9 17.75C9.41 17.75 9.75 17.41 9.75 17V9C9.75 8.59 9.41 8.25 9 8.25ZM20.75 6C20.75 6.41 20.41 6.75 20 6.75H18.75V18C18.75 19.52 17.52 20.75 16 20.75H8C6.48 20.75 5.25 19.52 5.25 18V6.75H4C3.59 6.75 3.25 6.41 3.25 6C3.25 5.59 3.59 5.25 4 5.25H8.25V4C8.25 3.04 9.04 2.25 10 2.25H14C14.96 2.25 15.75 3.04 15.75 4V5.25H20C20.41 5.25 20.75 5.59 20.75 6ZM9.75 5.25H14.25V4C14.25 3.86 14.14 3.75 14 3.75H10C9.86 3.75 9.75 3.86 9.75 4V5.25ZM17.25 6.75H6.75V18C6.75 18.69 7.31 19.25 8 19.25H16C16.69 19.25 17.25 18.69 17.25 18V6.75Z"></path></svg>'},"./packages/survey-core/src/images-v2/drag-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 8.75C15.19 8.75 15.75 8.19 15.75 7.5C15.75 6.81 15.19 6.25 14.5 6.25C13.81 6.25 13.25 6.81 13.25 7.5C13.25 8.19 13.81 8.75 14.5 8.75ZM14.5 7.25C14.64 7.25 14.75 7.36 14.75 7.5C14.75 7.78 14.25 7.78 14.25 7.5C14.25 7.36 14.36 7.25 14.5 7.25ZM9.5 6.25C8.81 6.25 8.25 6.81 8.25 7.5C8.25 8.19 8.81 8.75 9.5 8.75C10.19 8.75 10.75 8.19 10.75 7.5C10.75 6.81 10.19 6.25 9.5 6.25ZM9.25 7.5C9.25 7.36 9.36 7.25 9.5 7.25C9.64 7.25 9.75 7.36 9.75 7.5C9.75 7.78 9.25 7.78 9.25 7.5ZM14.5 11.25C13.81 11.25 13.25 11.81 13.25 12.5C13.25 13.19 13.81 13.75 14.5 13.75C15.19 13.75 15.75 13.19 15.75 12.5C15.75 11.81 15.19 11.25 14.5 11.25ZM14.25 12.5C14.25 12.36 14.36 12.25 14.5 12.25C14.64 12.25 14.75 12.36 14.75 12.5C14.75 12.78 14.25 12.78 14.25 12.5ZM9.5 11.25C8.81 11.25 8.25 11.81 8.25 12.5C8.25 13.19 8.81 13.75 9.5 13.75C10.19 13.75 10.75 13.19 10.75 12.5C10.75 11.81 10.19 11.25 9.5 11.25ZM9.25 12.5C9.25 12.36 9.36 12.25 9.5 12.25C9.64 12.25 9.75 12.36 9.75 12.5C9.75 12.78 9.25 12.78 9.25 12.5ZM14.5 16.25C13.81 16.25 13.25 16.81 13.25 17.5C13.25 18.19 13.81 18.75 14.5 18.75C15.19 18.75 15.75 18.19 15.75 17.5C15.75 16.81 15.19 16.25 14.5 16.25ZM14.25 17.5C14.25 17.36 14.36 17.25 14.5 17.25C14.64 17.25 14.75 17.36 14.75 17.5C14.75 17.78 14.25 17.78 14.25 17.5ZM9.5 16.25C8.81 16.25 8.25 16.81 8.25 17.5C8.25 18.19 8.81 18.75 9.5 18.75C10.19 18.75 10.75 18.19 10.75 17.5C10.75 16.81 10.19 16.25 9.5 16.25ZM9.25 17.5C9.25 17.36 9.36 17.25 9.5 17.25C9.64 17.25 9.75 17.36 9.75 17.5C9.75 17.78 9.25 17.78 9.25 17.5Z"></path></svg>'},"./packages/survey-core/src/images-v2/draghorizontal-24x16.svg":function(C,h){C.exports='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 9.25C16.81 9.25 16.25 9.81 16.25 10.5C16.25 11.19 16.81 11.75 17.5 11.75C18.19 11.75 18.75 11.19 18.75 10.5C18.75 9.81 18.19 9.25 17.5 9.25ZM17.25 10.5C17.25 10.36 17.36 10.25 17.5 10.25C17.64 10.25 17.75 10.36 17.75 10.5C17.75 10.78 17.25 10.78 17.25 10.5ZM17.5 6.75C18.19 6.75 18.75 6.19 18.75 5.5C18.75 4.81 18.19 4.25 17.5 4.25C16.81 4.25 16.25 4.81 16.25 5.5C16.25 6.19 16.81 6.75 17.5 6.75ZM17.5 5.25C17.64 5.25 17.75 5.36 17.75 5.5C17.75 5.78 17.25 5.78 17.25 5.5C17.25 5.36 17.36 5.25 17.5 5.25ZM12.5 9.25C11.81 9.25 11.25 9.81 11.25 10.5C11.25 11.19 11.81 11.75 12.5 11.75C13.19 11.75 13.75 11.19 13.75 10.5C13.75 9.81 13.19 9.25 12.5 9.25ZM12.25 10.5C12.25 10.36 12.36 10.25 12.5 10.25C12.64 10.25 12.75 10.36 12.75 10.5C12.75 10.78 12.25 10.78 12.25 10.5ZM12.5 4.25C11.81 4.25 11.25 4.81 11.25 5.5C11.25 6.19 11.81 6.75 12.5 6.75C13.19 6.75 13.75 6.19 13.75 5.5C13.75 4.81 13.19 4.25 12.5 4.25ZM12.25 5.5C12.25 5.36 12.36 5.25 12.5 5.25C12.64 5.25 12.75 5.36 12.75 5.5C12.75 5.78 12.25 5.78 12.25 5.5ZM7.5 9.25C6.81 9.25 6.25 9.81 6.25 10.5C6.25 11.19 6.81 11.75 7.5 11.75C8.19 11.75 8.75 11.19 8.75 10.5C8.75 9.81 8.19 9.25 7.5 9.25ZM7.25 10.5C7.25 10.36 7.36 10.25 7.5 10.25C7.64 10.25 7.75 10.36 7.75 10.5C7.75 10.78 7.25 10.78 7.25 10.5ZM7.5 4.25C6.81 4.25 6.25 4.81 6.25 5.5C6.25 6.19 6.81 6.75 7.5 6.75C8.19 6.75 8.75 6.19 8.75 5.5C8.75 4.81 8.19 4.25 7.5 4.25ZM7.25 5.5C7.25 5.36 7.36 5.25 7.5 5.25C7.64 5.25 7.75 5.36 7.75 5.5C7.75 5.78 7.25 5.78 7.25 5.5Z"></path></svg>'},"./packages/survey-core/src/images-v2/expand-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/expanddetails-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/file-72x72.svg":function(C,h){C.exports='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"></path></svg>'},"./packages/survey-core/src/images-v2/flip-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 17.4775C14.82 17.7675 14.82 18.2475 14.53 18.5375L11.53 21.5375C11.38 21.6875 11.19 21.7575 11 21.7575C10.81 21.7575 10.62 21.6875 10.47 21.5375C10.18 21.2475 10.18 20.7675 10.47 20.4775L12.2 18.7475C12.13 18.7475 12.07 18.7475 12 18.7475C6.62 18.7475 2.25 15.7475 2.25 12.0575C2.25 10.2975 3.22 8.6375 4.99 7.3875C5.33 7.1475 5.8 7.2275 6.03 7.5675C6.27 7.9075 6.19 8.3775 5.85 8.6075C4.49 9.5675 3.74 10.7875 3.74 12.0575C3.74 14.9175 7.44 17.2475 11.99 17.2475C12.05 17.2475 12.11 17.2475 12.17 17.2475L10.46 15.5375C10.17 15.2475 10.17 14.7675 10.46 14.4775C10.75 14.1875 11.23 14.1875 11.52 14.4775L14.52 17.4775H14.53ZM12 5.2575C11.93 5.2575 11.87 5.2575 11.8 5.2575L13.53 3.5275C13.82 3.2375 13.82 2.7575 13.53 2.4675C13.24 2.1775 12.76 2.1775 12.47 2.4675L9.47 5.4675C9.18 5.7575 9.18 6.2375 9.47 6.5275L12.47 9.5275C12.62 9.6775 12.81 9.7475 13 9.7475C13.19 9.7475 13.38 9.6775 13.53 9.5275C13.82 9.2375 13.82 8.7575 13.53 8.4675L11.82 6.7575C11.88 6.7575 11.94 6.7575 12 6.7575C16.55 6.7575 20.25 9.0875 20.25 11.9475C20.25 13.2075 19.5 14.4375 18.14 15.3975C17.8 15.6375 17.72 16.1075 17.96 16.4475C18.11 16.6575 18.34 16.7675 18.57 16.7675C18.72 16.7675 18.87 16.7275 19 16.6275C20.77 15.3775 21.75 13.7175 21.75 11.9575C21.75 8.2675 17.38 5.2675 12 5.2675V5.2575Z"></path></svg>'},"./packages/survey-core/src/images-v2/folder-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.72 9.24C21.45 8.92 21.12 8.67 20.75 8.5V8C20.75 6.48 19.52 5.25 18 5.25H10.65C10.32 4.1 9.26 3.25 8 3.25H6C4.48 3.25 3.25 4.48 3.25 6V18C3.25 19.52 4.48 20.75 6 20.75H18.33C19.66 20.75 20.8 19.8 21.04 18.49L22.31 11.49C22.46 10.69 22.24 9.86 21.72 9.24ZM4.75 18V6C4.75 5.31 5.31 4.75 6 4.75H8C8.69 4.75 9.25 5.31 9.25 6C9.25 6.41 9.59 6.75 10 6.75H18C18.69 6.75 19.25 7.31 19.25 8V8.25H9.27C7.94 8.25 6.8 9.2 6.56 10.51L5.29 17.51C5.19 18.07 5.27 18.64 5.51 19.15C5.06 18.96 4.75 18.52 4.75 18ZM20.83 11.22L19.56 18.22C19.45 18.81 18.94 19.25 18.33 19.25H8C7.63 19.25 7.28 19.09 7.04 18.8C6.8 18.51 6.7 18.14 6.77 17.78L8.04 10.78C8.15 10.19 8.66 9.75 9.27 9.75H19.6C19.97 9.75 20.32 9.91 20.56 10.2C20.8 10.49 20.9 10.86 20.83 11.22Z"></path></svg>'},"./packages/survey-core/src/images-v2/fullsize-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 3.25H4C3.04 3.25 2.25 4.04 2.25 5V11C2.25 11.96 3.04 12.75 4 12.75H12C12.96 12.75 13.75 11.96 13.75 11V5C13.75 4.04 12.96 3.25 12 3.25ZM12.25 11C12.25 11.14 12.14 11.25 12 11.25H4C3.86 11.25 3.75 11.14 3.75 11V5C3.75 4.86 3.86 4.75 4 4.75H12C12.14 4.75 12.25 4.86 12.25 5V11Z"></path></svg>'},"./packages/survey-core/src/images-v2/image-48x48.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M33 10.25H15C12.38 10.25 10.25 12.38 10.25 15V33C10.25 35.62 12.38 37.75 15 37.75H33C35.62 37.75 37.75 35.62 37.75 33V15C37.75 12.38 35.62 10.25 33 10.25ZM36.25 33C36.25 34.79 34.79 36.25 33 36.25H15C13.21 36.25 11.75 34.79 11.75 33V15C11.75 13.21 13.21 11.75 15 11.75H33C34.79 11.75 36.25 13.21 36.25 15V33ZM30.5 14.25C28.71 14.25 27.25 15.71 27.25 17.5C27.25 19.29 28.71 20.75 30.5 20.75C32.29 20.75 33.75 19.29 33.75 17.5C33.75 15.71 32.29 14.25 30.5 14.25ZM30.5 19.25C29.54 19.25 28.75 18.46 28.75 17.5C28.75 16.54 29.54 15.75 30.5 15.75C31.46 15.75 32.25 16.54 32.25 17.5C32.25 18.46 31.46 19.25 30.5 19.25ZM29.26 26.28C28.94 25.92 28.49 25.71 28.01 25.7C27.54 25.68 27.07 25.87 26.73 26.2L24.95 27.94L22.28 25.23C21.94 24.89 21.5 24.71 21 24.71C20.52 24.71 20.06 24.93 19.74 25.28L14.74 30.78C14.25 31.3 14.12 32.06 14.41 32.72C14.69 33.36 15.28 33.75 15.95 33.75H32.07C32.74 33.75 33.33 33.35 33.61 32.72C33.89 32.06 33.77 31.31 33.29 30.79L29.27 26.29L29.26 26.28ZM32.22 32.12C32.18 32.2 32.13 32.25 32.06 32.25H15.94C15.87 32.25 15.81 32.21 15.78 32.12C15.77 32.09 15.71 31.93 15.83 31.8L20.84 26.29C20.9 26.22 20.99 26.21 21.02 26.21C21.06 26.21 21.14 26.22 21.2 26.29L24.4 29.54C24.69 29.83 25.16 29.84 25.46 29.54L27.77 27.27C27.83 27.21 27.9 27.2 27.94 27.2C28.01 27.2 28.06 27.21 28.13 27.28L32.16 31.79C32.16 31.79 32.16 31.79 32.17 31.8C32.29 31.93 32.23 32.09 32.22 32.12Z"></path></svg>'},"./packages/survey-core/src/images-v2/loading-48x48.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"></path><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z" fill="#19B394"></path></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"></rect></clipPath></defs></svg>'},"./packages/survey-core/src/images-v2/maximize-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 3V7C13.75 7.41 13.41 7.75 13 7.75C12.59 7.75 12.25 7.41 12.25 7V4.81L9.53 7.53C9.38 7.68 9.19 7.75 9 7.75C8.81 7.75 8.62 7.68 8.47 7.53C8.18 7.24 8.18 6.76 8.47 6.47L11.19 3.75H9C8.59 3.75 8.25 3.41 8.25 3C8.25 2.59 8.59 2.25 9 2.25H13C13.1 2.25 13.19 2.27 13.29 2.31C13.47 2.39 13.62 2.53 13.7 2.72C13.74 2.81 13.76 2.91 13.76 3.01L13.75 3ZM7.53 8.47C7.24 8.18 6.76 8.18 6.47 8.47L3.75 11.19V9C3.75 8.59 3.41 8.25 3 8.25C2.59 8.25 2.25 8.59 2.25 9V13C2.25 13.1 2.27 13.19 2.31 13.29C2.39 13.47 2.53 13.62 2.72 13.7C2.81 13.74 2.91 13.76 3.01 13.76H7.01C7.42 13.76 7.76 13.42 7.76 13.01C7.76 12.6 7.42 12.26 7.01 12.26H4.82L7.54 9.54C7.83 9.25 7.83 8.77 7.54 8.48L7.53 8.47Z"></path></svg>'},"./packages/survey-core/src/images-v2/minimize-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 8C13.75 8.41 13.41 8.75 13 8.75H3C2.59 8.75 2.25 8.41 2.25 8C2.25 7.59 2.59 7.25 3 7.25H13C13.41 7.25 13.75 7.59 13.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/more-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 10.25C11.04 10.25 10.25 11.04 10.25 12C10.25 12.96 11.04 13.75 12 13.75C12.96 13.75 13.75 12.96 13.75 12C13.75 11.04 12.96 10.25 12 10.25ZM11.75 12C11.75 11.86 11.86 11.75 12 11.75C12.14 11.75 12.25 11.86 12.25 12C12.25 12.28 11.75 12.28 11.75 12ZM19 10.25C18.04 10.25 17.25 11.04 17.25 12C17.25 12.96 18.04 13.75 19 13.75C19.96 13.75 20.75 12.96 20.75 12C20.75 11.04 19.96 10.25 19 10.25ZM18.75 12C18.75 11.86 18.86 11.75 19 11.75C19.14 11.75 19.25 11.86 19.25 12C19.25 12.28 18.75 12.28 18.75 12ZM5 10.25C4.04 10.25 3.25 11.04 3.25 12C3.25 12.96 4.04 13.75 5 13.75C5.96 13.75 6.75 12.96 6.75 12C6.75 11.04 5.96 10.25 5 10.25ZM4.75 12C4.75 11.86 4.86 11.75 5 11.75C5.14 11.75 5.25 11.86 5.25 12C5.25 12.28 4.75 12.28 4.75 12Z"></path></svg>'},"./packages/survey-core/src/images-v2/navmenu-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.25 7C3.25 6.59 3.59 6.25 4 6.25H15C15.41 6.25 15.75 6.59 15.75 7C15.75 7.41 15.41 7.75 15 7.75H4C3.59 7.75 3.25 7.41 3.25 7ZM20 11.25H4C3.59 11.25 3.25 11.59 3.25 12C3.25 12.41 3.59 12.75 4 12.75H20C20.41 12.75 20.75 12.41 20.75 12C20.75 11.59 20.41 11.25 20 11.25ZM9 16.25H4C3.59 16.25 3.25 16.59 3.25 17C3.25 17.41 3.59 17.75 4 17.75H9C9.41 17.75 9.75 17.41 9.75 17C9.75 16.59 9.41 16.25 9 16.25Z"></path></svg>'},"./packages/survey-core/src/images-v2/noimage-48x48.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M30.4975 14.2475C28.7075 14.2475 27.2475 15.7075 27.2475 17.4975C27.2475 19.2875 28.7075 20.7475 30.4975 20.7475C32.2875 20.7475 33.7475 19.2875 33.7475 17.4975C33.7475 15.7075 32.2875 14.2475 30.4975 14.2475ZM30.4975 19.2475C29.5375 19.2475 28.7475 18.4575 28.7475 17.4975C28.7475 16.5375 29.5375 15.7475 30.4975 15.7475C31.4575 15.7475 32.2475 16.5375 32.2475 17.4975C32.2475 18.4575 31.4575 19.2475 30.4975 19.2475ZM13.5175 11.2175C13.4375 10.8075 13.7075 10.4175 14.1175 10.3375C14.4275 10.2775 14.7175 10.2475 14.9975 10.2475H32.9975C35.6175 10.2475 37.7475 12.3775 37.7475 14.9975V32.9975C37.7475 33.2775 37.7175 33.5675 37.6575 33.8775C37.5875 34.2375 37.2775 34.4875 36.9175 34.4875C36.8675 34.4875 36.8275 34.4875 36.7775 34.4775C36.3675 34.3975 36.1075 34.0075 36.1775 33.5975C36.2175 33.3775 36.2375 33.1775 36.2375 32.9975V14.9975C36.2375 13.2075 34.7775 11.7475 32.9875 11.7475H14.9975C14.8075 11.7475 14.6175 11.7675 14.3975 11.8075C13.9875 11.8875 13.5975 11.6175 13.5175 11.2075V11.2175ZM34.4775 36.7775C34.5575 37.1875 34.2875 37.5775 33.8775 37.6575C33.5675 37.7175 33.2775 37.7475 32.9975 37.7475H14.9975C12.3775 37.7475 10.2475 35.6175 10.2475 32.9975V14.9975C10.2475 14.7175 10.2775 14.4275 10.3375 14.1175C10.4175 13.7075 10.8075 13.4375 11.2175 13.5175C11.6275 13.5975 11.8875 13.9875 11.8175 14.3975C11.7775 14.6175 11.7575 14.8175 11.7575 14.9975V32.9975C11.7575 34.7875 13.2175 36.2475 15.0075 36.2475H33.0075C33.1975 36.2475 33.3875 36.2275 33.6075 36.1875C34.0075 36.1075 34.4075 36.3775 34.4875 36.7875L34.4775 36.7775ZM15.8275 31.7975C15.6975 31.9375 15.7575 32.0875 15.7775 32.1175C15.8175 32.1975 15.8675 32.2475 15.9375 32.2475H29.8175C30.2275 32.2475 30.5675 32.5875 30.5675 32.9975C30.5675 33.4075 30.2275 33.7475 29.8175 33.7475H15.9375C15.2675 33.7475 14.6775 33.3475 14.3975 32.7175C14.1075 32.0575 14.2375 31.2975 14.7275 30.7775L19.7275 25.2775C20.0475 24.9275 20.5075 24.7175 20.9875 24.7075C21.4875 24.7275 21.9375 24.8875 22.2675 25.2275L25.4675 28.4775C25.7575 28.7675 25.7575 29.2475 25.4675 29.5375C25.1675 29.8275 24.6975 29.8275 24.4075 29.5375L21.2075 26.2875C21.1475 26.2175 21.0675 26.1875 21.0275 26.2075C20.9875 26.2075 20.9075 26.2175 20.8475 26.2875L15.8375 31.7975H15.8275ZM38.5275 38.5275C38.3775 38.6775 38.1875 38.7475 37.9975 38.7475C37.8075 38.7475 37.6175 38.6775 37.4675 38.5275L9.4675 10.5275C9.1775 10.2375 9.1775 9.7575 9.4675 9.4675C9.7575 9.1775 10.2375 9.1775 10.5275 9.4675L38.5275 37.4675C38.8175 37.7575 38.8175 38.2375 38.5275 38.5275Z"></path></svg>'},"./packages/survey-core/src/images-v2/ranking-arrows.svg":function(C,h){C.exports='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"></path><path d="M6 19V15H4V19H0L5 24L10 19H6Z"></path></svg>'},"./packages/survey-core/src/images-v2/rankingundefined-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/rating-star-2.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"></path><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"></path></svg>'},"./packages/survey-core/src/images-v2/rating-star-small-2.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"></path><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"></path></svg>'},"./packages/survey-core/src/images-v2/rating-star-small.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"></path></g></svg>'},"./packages/survey-core/src/images-v2/rating-star.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"></path></g></svg>'},"./packages/survey-core/src/images-v2/reorder-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.9444 10.75H15.0544C15.7144 10.75 16.3144 10.39 16.6144 9.80002C16.9144 9.22002 16.8644 8.52002 16.4844 7.98002L13.4244 3.71002C12.7644 2.79002 11.2344 2.79002 10.5744 3.71002L7.5244 7.99002C7.1444 8.53002 7.0944 9.22002 7.3944 9.81002C7.6944 10.4 8.2944 10.76 8.9544 10.76L8.9444 10.75ZM8.7444 8.86002L11.7944 4.58002C11.8644 4.49002 11.9544 4.48002 11.9944 4.48002C12.0344 4.48002 12.1344 4.49002 12.1944 4.58002L15.2544 8.86002C15.3344 8.97002 15.3044 9.07002 15.2744 9.12002C15.2444 9.17002 15.1844 9.26002 15.0544 9.26002H8.9444C8.8144 9.26002 8.7444 9.18002 8.7244 9.12002C8.7044 9.06002 8.6644 8.97002 8.7444 8.86002ZM15.0544 13.25H8.9444C8.2844 13.25 7.6844 13.61 7.3844 14.2C7.0844 14.78 7.1344 15.48 7.5144 16.02L10.5744 20.3C10.9044 20.76 11.4344 21.03 11.9944 21.03C12.5544 21.03 13.0944 20.76 13.4144 20.3L16.4744 16.02C16.8544 15.48 16.9044 14.79 16.6044 14.2C16.3044 13.61 15.7044 13.25 15.0444 13.25H15.0544ZM15.2644 15.15L12.2044 19.43C12.0744 19.61 11.9244 19.61 11.7944 19.43L8.7344 15.15C8.6544 15.04 8.6844 14.94 8.7144 14.89C8.7444 14.84 8.8044 14.75 8.9344 14.75H15.0444C15.1744 14.75 15.2444 14.83 15.2644 14.89C15.2844 14.95 15.3244 15.04 15.2444 15.15H15.2644Z"></path></svg>'},"./packages/survey-core/src/images-v2/restoredown-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7.69 8.71C7.73 8.8 7.75 8.9 7.75 9V13C7.75 13.41 7.41 13.75 7 13.75C6.59 13.75 6.25 13.41 6.25 13V10.81L3.53 13.53C3.38 13.68 3.19 13.75 3 13.75C2.81 13.75 2.62 13.68 2.47 13.53C2.18 13.24 2.18 12.76 2.47 12.47L5.19 9.75H3C2.59 9.75 2.25 9.41 2.25 9C2.25 8.59 2.59 8.25 3 8.25H7C7.1 8.25 7.19 8.27 7.29 8.31C7.47 8.39 7.62 8.53 7.7 8.72L7.69 8.71ZM13 6.25H10.81L13.53 3.53C13.82 3.24 13.82 2.76 13.53 2.47C13.24 2.18 12.76 2.18 12.47 2.47L9.75 5.19V3C9.75 2.59 9.41 2.25 9 2.25C8.59 2.25 8.25 2.59 8.25 3V7C8.25 7.1 8.27 7.19 8.31 7.29C8.39 7.47 8.53 7.62 8.72 7.7C8.81 7.74 8.91 7.76 9.01 7.76H13.01C13.42 7.76 13.76 7.42 13.76 7.01C13.76 6.6 13.42 6.26 13.01 6.26L13 6.25Z"></path></svg>'},"./packages/survey-core/src/images-v2/search-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.9975 2.25C9.7275 2.25 6.2475 5.73 6.2475 10C6.2475 11.87 6.9075 13.58 8.0175 14.92L2.4675 20.47C2.1775 20.76 2.1775 21.24 2.4675 21.53C2.6175 21.68 2.8075 21.75 2.9975 21.75C3.1875 21.75 3.3775 21.68 3.5275 21.53L9.0775 15.98C10.4175 17.08 12.1275 17.75 13.9975 17.75C18.2675 17.75 21.7475 14.27 21.7475 10C21.7475 5.73 18.2675 2.25 13.9975 2.25ZM13.9975 16.25C10.5475 16.25 7.7475 13.45 7.7475 10C7.7475 6.55 10.5475 3.75 13.9975 3.75C17.4475 3.75 20.2475 6.55 20.2475 10C20.2475 13.45 17.4475 16.25 13.9975 16.25Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate1-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate10-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate2-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"></path></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"></rect></clipPath></defs></svg>'},"./packages/survey-core/src/images-v2/smiley-rate3-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate4-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate5-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate6-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate7-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate8-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate9-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'}})})},"./src/entries/react-ui.ts":function(B,R,D){D.r(R),D.d(R,"Survey",function(){return Mt}),D.d(R,"attachKey2click",function(){return xn}),D.d(R,"ReactSurveyElementsWrapper",function(){return k}),D.d(R,"SurveyNavigationBase",function(){return Ht}),D.d(R,"SurveyTimerPanel",function(){return Ir}),D.d(R,"SurveyPage",function(){return xi}),D.d(R,"SurveyRow",function(){return we}),D.d(R,"SurveyPanel",function(){return ze}),D.d(R,"SurveyFlowPanel",function(){return Kn}),D.d(R,"SurveyQuestion",function(){return nn}),D.d(R,"SurveyElementErrors",function(){return rn}),D.d(R,"SurveyQuestionAndErrorsCell",function(){return Ci}),D.d(R,"ReactSurveyElement",function(){return ie}),D.d(R,"SurveyElementBase",function(){return $}),D.d(R,"SurveyQuestionElementBase",function(){return ce}),D.d(R,"SurveyQuestionCommentItem",function(){return nt}),D.d(R,"SurveyQuestionComment",function(){return wt}),D.d(R,"SurveyQuestionCheckbox",function(){return Ii}),D.d(R,"SurveyQuestionCheckboxItem",function(){return Dr}),D.d(R,"SurveyQuestionRanking",function(){return Ar}),D.d(R,"SurveyQuestionRankingItem",function(){return Di}),D.d(R,"SurveyQuestionRankingItemContent",function(){return Lr}),D.d(R,"RatingItem",function(){return jt}),D.d(R,"RatingItemStar",function(){return jr}),D.d(R,"RatingItemSmiley",function(){return Ai}),D.d(R,"RatingDropdownItem",function(){return fe}),D.d(R,"TagboxFilterString",function(){return Vn}),D.d(R,"SurveyQuestionOptionItem",function(){return Li}),D.d(R,"SurveyQuestionDropdownBase",function(){return Xn}),D.d(R,"SurveyQuestionDropdown",function(){return qr}),D.d(R,"SurveyQuestionTagboxItem",function(){return er}),D.d(R,"SurveyQuestionTagbox",function(){return Ut}),D.d(R,"SurveyQuestionDropdownSelect",function(){return Ye}),D.d(R,"SurveyQuestionMatrix",function(){return on}),D.d(R,"SurveyQuestionMatrixRow",function(){return Mi}),D.d(R,"SurveyQuestionMatrixCell",function(){return Ge}),D.d(R,"SurveyQuestionHtml",function(){return ji}),D.d(R,"SurveyQuestionFile",function(){return tr}),D.d(R,"SurveyFileChooseButton",function(){return Br}),D.d(R,"SurveyFilePreview",function(){return Tn}),D.d(R,"SurveyQuestionMultipleText",function(){return sn}),D.d(R,"SurveyQuestionRadiogroup",function(){return Rn}),D.d(R,"SurveyQuestionRadioItem",function(){return In}),D.d(R,"SurveyQuestionText",function(){return rr}),D.d(R,"SurveyQuestionBoolean",function(){return rt}),D.d(R,"SurveyQuestionBooleanCheckbox",function(){return or}),D.d(R,"SurveyQuestionBooleanRadio",function(){return Fi}),D.d(R,"SurveyQuestionEmpty",function(){return Hr}),D.d(R,"SurveyQuestionMatrixDropdownCell",function(){return Qi}),D.d(R,"SurveyQuestionMatrixDropdownBase",function(){return Ln}),D.d(R,"SurveyQuestionMatrixDropdown",function(){return Hi}),D.d(R,"SurveyQuestionMatrixDynamic",function(){return Ur}),D.d(R,"SurveyQuestionMatrixDynamicAddButton",function(){return cr}),D.d(R,"SurveyQuestionPanelDynamic",function(){return dr}),D.d(R,"SurveyProgress",function(){return ke}),D.d(R,"SurveyProgressButtons",function(){return hr}),D.d(R,"SurveyProgressToc",function(){return Zi}),D.d(R,"SurveyQuestionRating",function(){return Yi}),D.d(R,"SurveyQuestionRatingDropdown",function(){return un}),D.d(R,"SurveyQuestionExpression",function(){return Xe}),D.d(R,"PopupSurvey",function(){return qn}),D.d(R,"SurveyWindow",function(){return ss}),D.d(R,"ReactQuestionFactory",function(){return Ce}),D.d(R,"ReactElementFactory",function(){return A}),D.d(R,"SurveyQuestionImagePicker",function(){return I}),D.d(R,"SurveyQuestionImage",function(){return $r}),D.d(R,"SurveyQuestionSignaturePad",function(){return Jr}),D.d(R,"SurveyQuestionButtonGroup",function(){return as}),D.d(R,"SurveyQuestionCustom",function(){return _n}),D.d(R,"SurveyQuestionComposite",function(){return ro}),D.d(R,"Popup",function(){return Qe}),D.d(R,"ListItemContent",function(){return io}),D.d(R,"ListItemGroup",function(){return ot}),D.d(R,"List",function(){return Nn}),D.d(R,"TitleActions",function(){return Je}),D.d(R,"TitleElement",function(){return tt}),D.d(R,"SurveyActionBar",function(){return Re}),D.d(R,"LogoImage",function(){return ft}),D.d(R,"SurveyHeader",function(){return Or}),D.d(R,"SvgIcon",function(){return ge}),D.d(R,"SurveyQuestionMatrixDynamicRemoveButton",function(){return Zr}),D.d(R,"SurveyQuestionMatrixDetailButton",function(){return Kr}),D.d(R,"SurveyQuestionMatrixDynamicDragDropIcon",function(){return sr}),D.d(R,"SurveyQuestionPanelDynamicAddButton",function(){return Ui}),D.d(R,"SurveyQuestionPanelDynamicRemoveButton",function(){return Yr}),D.d(R,"SurveyQuestionPanelDynamicPrevButton",function(){return jn}),D.d(R,"SurveyQuestionPanelDynamicNextButton",function(){return Et}),D.d(R,"SurveyQuestionPanelDynamicProgressText",function(){return fr}),D.d(R,"SurveyNavigationButton",function(){return ei}),D.d(R,"QuestionErrorComponent",function(){return Fn}),D.d(R,"MatrixRow",function(){return Wt}),D.d(R,"Skeleton",function(){return Gt}),D.d(R,"NotifierComponent",function(){return Gn}),D.d(R,"ComponentsContainer",function(){return Pt}),D.d(R,"CharacterCounterComponent",function(){return Ot}),D.d(R,"HeaderMobile",function(){return Be}),D.d(R,"HeaderCell",function(){return gr}),D.d(R,"Header",function(){return co}),D.d(R,"SurveyLocStringViewer",function(){return Bn}),D.d(R,"SurveyLocStringEditor",function(){return re}),D.d(R,"LoadingIndicatorComponent",function(){return Pe}),D.d(R,"SvgBundleComponent",function(){return Si}),D.d(R,"PopupModal",function(){return Er}),D.d(R,"SurveyModel",function(){return C.SurveyModel}),D.d(R,"SurveyWindowModel",function(){return C.SurveyWindowModel}),D.d(R,"Model",function(){return C.SurveyModel}),D.d(R,"settings",function(){return C.settings}),D.d(R,"surveyLocalization",function(){return C.surveyLocalization}),D.d(R,"surveyStrings",function(){return C.surveyStrings});var C=D("survey-core"),h=D("react"),w=D.n(h),A=function(){function p(){this.creatorHash={}}return p.prototype.registerElement=function(l,a){this.creatorHash[l]=a},p.prototype.getAllTypes=function(){var l=new Array;for(var a in this.creatorHash)l.push(a);return l.sort()},p.prototype.isElementRegistered=function(l){return!!this.creatorHash[l]},p.prototype.createElement=function(l,a){var c=this.creatorHash[l];return c==null?null:c(a)},p.Instance=new p,p}(),k=function(){function p(){}return p.wrapRow=function(l,a,c){var f=l.getRowWrapperComponentName(c),g=l.getRowWrapperComponentData(c);return A.Instance.createElement(f,{element:a,row:c,componentData:g})},p.wrapElement=function(l,a,c){var f=l.getElementWrapperComponentName(c),g=l.getElementWrapperComponentData(c);return A.Instance.createElement(f,{element:a,question:c,componentData:g})},p.wrapQuestionContent=function(l,a,c){var f=l.getQuestionContentWrapperComponentName(c),g=l.getElementWrapperComponentData(c);return A.Instance.createElement(f,{element:a,question:c,componentData:g})},p.wrapItemValue=function(l,a,c,f){var g=l.getItemValueWrapperComponentName(f,c),L=l.getItemValueWrapperComponentData(f,c);return A.Instance.createElement(g,{key:a==null?void 0:a.key,element:a,question:c,item:f,componentData:L})},p.wrapMatrixCell=function(l,a,c,f){f===void 0&&(f="cell");var g=l.getElementWrapperComponentName(c,f),L=l.getElementWrapperComponentData(c,f);return A.Instance.createElement(g,{element:a,cell:c,componentData:L})},p}();C.SurveyModel.platform="react";var le=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),$=function(p){le(l,p);function l(a){var c=p.call(this,a)||this;return c._allowComponentUpdate=!0,c.prevStateElements=[],c}return l.renderLocString=function(a,c,f){return c===void 0&&(c=null),A.Instance.createElement(a.renderAs,{locStr:a.renderAsData,style:c,key:f})},l.renderQuestionDescription=function(a){var c=l.renderLocString(a.locDescription);return h.createElement("div",{style:a.hasDescription?void 0:{display:"none"},id:a.ariaDescriptionId,className:a.cssDescription},c)},l.prototype.componentDidMount=function(){this.makeBaseElementsReact()},l.prototype.componentWillUnmount=function(){this.unMakeBaseElementsReact(),this.disableStateElementsRerenderEvent(this.getStateElements())},l.prototype.componentDidUpdate=function(a,c){var f;this.makeBaseElementsReact();var g=this.getStateElements();this.disableStateElementsRerenderEvent(((f=this.prevStateElements)!==null&&f!==void 0?f:[]).filter(function(L){return!g.includes(L)})),this.prevStateElements=[],this.getStateElements().forEach(function(L){L.afterRerender()})},l.prototype.allowComponentUpdate=function(){this._allowComponentUpdate=!0,this.forceUpdate()},l.prototype.denyComponentUpdate=function(){this._allowComponentUpdate=!1},l.prototype.shouldComponentUpdate=function(a,c){return this._allowComponentUpdate&&(this.unMakeBaseElementsReact(),this.prevStateElements=this.getStateElements()),this._allowComponentUpdate},l.prototype.render=function(){if(!this.canRender())return null;this.startEndRendering(1);var a=this.renderElement();return this.startEndRendering(-1),a&&(a=this.wrapElement(a)),this.changedStatePropNameValue=void 0,a},l.prototype.wrapElement=function(a){return a},Object.defineProperty(l.prototype,"isRendering",{get:function(){for(var a=this.getRenderedElements(),c=0,f=a;c<f.length;c++){var g=f[c];if(g.reactRendering>0)return!0}return!1},enumerable:!1,configurable:!0}),l.prototype.getRenderedElements=function(){return this.getStateElements()},l.prototype.startEndRendering=function(a){for(var c=this.getRenderedElements(),f=0,g=c;f<g.length;f++){var L=g[f];L.reactRendering||(L.reactRendering=0),L.reactRendering+=a}},l.prototype.canRender=function(){return!0},l.prototype.renderElement=function(){return null},Object.defineProperty(l.prototype,"changedStatePropName",{get:function(){return this.changedStatePropNameValue},enumerable:!1,configurable:!0}),l.prototype.makeBaseElementsReact=function(){for(var a=this.getStateElements(),c=0;c<a.length;c++)a[c].enableOnElementRerenderedEvent(),this.makeBaseElementReact(a[c])},l.prototype.unMakeBaseElementsReact=function(){for(var a=this.getStateElements(),c=0;c<a.length;c++)this.unMakeBaseElementReact(a[c])},l.prototype.disableStateElementsRerenderEvent=function(a){a.forEach(function(c){c.disableOnElementRerenderedEvent()})},l.prototype.getStateElements=function(){var a=this.getStateElement();return a?[a]:[]},l.prototype.getStateElement=function(){return null},Object.defineProperty(l.prototype,"isDisplayMode",{get:function(){var a=this.props;return a.isDisplayMode||!1},enumerable:!1,configurable:!0}),l.prototype.renderLocString=function(a,c,f){return c===void 0&&(c=null),l.renderLocString(a,c,f)},l.prototype.canMakeReact=function(a){return!!a&&!!a.iteratePropertiesHash},l.prototype.makeBaseElementReact=function(a){var c=this;this.canMakeReact(a)&&(a.iteratePropertiesHash(function(f,g){if(c.canUsePropInState(g)){var L=f[g];if(Array.isArray(L)){var L=L;L.onArrayChanged=function(H){c.isRendering||(c.changedStatePropNameValue=g,c.setState(function(ye){var ae={};return ae[g]=L,ae}))}}}}),a.setPropertyValueCoreHandler=function(f,g,L){if(f[g]!==L){if(f[g]=L,!c.canUsePropInState(g)||c.isRendering)return;c.changedStatePropNameValue=g,c.setState(function(F){var H={};return H[g]=L,H})}})},l.prototype.canUsePropInState=function(a){return!0},l.prototype.unMakeBaseElementReact=function(a){this.canMakeReact(a)&&(a.setPropertyValueCoreHandler=void 0,a.iteratePropertiesHash(function(c,f){var g=c[f];if(Array.isArray(g)){var g=g;g.onArrayChanged=function(){}}}))},l}(h.Component),ie=function(p){le(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),l}($),ce=function(p){le(l,p);function l(a){return p.call(this,a)||this}return l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.updateDomElement()},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.updateDomElement()},l.prototype.componentWillUnmount=function(){if(p.prototype.componentWillUnmount.call(this),this.questionBase){var a=this.content||this.control;this.questionBase.beforeDestroyQuestionElement(a),a&&a.removeAttribute("data-rendered")}},l.prototype.updateDomElement=function(){var a=this.content||this.control;a&&a.getAttribute("data-rendered")!=="r"&&(a.setAttribute("data-rendered","r"),this.questionBase.afterRenderQuestionElement(a))},Object.defineProperty(l.prototype,"questionBase",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.getRenderedElements=function(){return[this.questionBase]},Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.questionBase&&!!this.creator},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?!this.questionBase.customWidget||!!this.questionBase.customWidgetData.isNeedRender||!!this.questionBase.customWidget.widgetJson.isDefaultRender||!!this.questionBase.customWidget.widgetJson.render:!1},Object.defineProperty(l.prototype,"isDisplayMode",{get:function(){var a=this.props;return a.isDisplayMode||!!this.questionBase&&this.questionBase.isInputReadOnly||!1},enumerable:!1,configurable:!0}),l.prototype.wrapCell=function(a,c,f){if(!f)return c;var g=this.questionBase.survey,L=null;return g&&(L=k.wrapMatrixCell(g,c,a,f)),L??c},l.prototype.setControl=function(a){a&&(this.control=a)},l.prototype.setContent=function(a){a&&(this.content=a)},l}($),We=function(p){le(l,p);function l(a){var c=p.call(this,a)||this;return c.updateValueOnEvent=function(f){C.Helpers.isTwoValueEquals(c.questionBase.value,f.target.value,!1,!0,!1)||c.setValueCore(f.target.value)},c.updateValueOnEvent=c.updateValueOnEvent.bind(c),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.setValueCore=function(a){this.questionBase.value=a},l.prototype.getValueCore=function(){return this.questionBase.value},l.prototype.updateDomElement=function(){if(this.control){var a=this.control,c=this.getValueCore();C.Helpers.isTwoValueEquals(c,a.value,!1,!0,!1)||(a.value=this.getValue(c))}p.prototype.updateDomElement.call(this)},l.prototype.getValue=function(a){return C.Helpers.isValueEmpty(a)?"":a},l}(ce),be=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),pe=function(p){be(l,p);function l(a){var c=p.call(this,a)||this;return c.element.cssClasses,c.rootRef=h.createRef(),c}return l.prototype.getStateElement=function(){return this.element},Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.rootRef.current&&this.element.setWrapperElement(this.rootRef.current)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.element.setWrapperElement(void 0)},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?(a.element!==this.element&&(a.element&&a.element.setWrapperElement(this.rootRef.current),this.element&&this.element.setWrapperElement(void 0)),this.element.cssClasses,!0):!1},l.prototype.renderElement=function(){var a=this.element,c=this.createElement(a,this.index),f=a.cssClassesValue,g=function(){var L=a;L&&L.isQuestion&&L.focusIn()};return h.createElement("div",{className:f.questionWrapper,style:a.rootStyle,"data-key":c.key,key:c.key,onFocus:g,ref:this.rootRef},c)},l.prototype.createElement=function(a,c){var f=c?"-"+c:0;if(!this.row.isNeedRender)return A.Instance.createElement(a.skeletonComponentName,{key:a.name+f,element:a,css:this.css});var g=a.getTemplate();return A.Instance.isElementRegistered(g)||(g="question"),A.Instance.createElement(g,{key:a.name+f,element:a,creator:this.creator,survey:this.survey,css:this.css})},l}($),x=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),we=function(p){x(l,p);function l(a){var c=p.call(this,a)||this;return c.rootRef=h.createRef(),c.recalculateCss(),c}return l.prototype.recalculateCss=function(){this.row.visibleElements.map(function(a){return a.cssClasses})},l.prototype.getStateElement=function(){return this.row},Object.defineProperty(l.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.row&&!!this.survey&&!!this.creator},l.prototype.renderElementContent=function(){var a=this,c=this.row.visibleElements.map(function(f,g){var L=g?"-"+g:0,F=f.name+L;return h.createElement(pe,{element:f,index:g,row:a.row,survey:a.survey,creator:a.creator,css:a.css,key:F})});return h.createElement("div",{ref:this.rootRef,className:this.row.getRowCss()},c)},l.prototype.renderElement=function(){var a=this.survey,c=this.renderElementContent(),f=k.wrapRow(a,c,this.row);return f||c},l.prototype.componentDidMount=function(){var a=this;p.prototype.componentDidMount.call(this);var c=this.rootRef.current;if(this.rootRef.current&&this.row.setRootElement(this.rootRef.current),c&&!this.row.isNeedRender){var f=c;setTimeout(function(){a.row.startLazyRendering(f)},10)}},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?(a.row!==this.row&&(a.row.isNeedRender=this.row.isNeedRender,a.row.setRootElement(this.rootRef.current),this.row.setRootElement(void 0),this.stopLazyRendering()),this.recalculateCss(),!0):!1},l.prototype.stopLazyRendering=function(){this.row.stopLazyRendering(),this.row.isNeedRender=!this.row.isLazyRendering()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.row.setRootElement(void 0),this.stopLazyRendering()},l.prototype.createElement=function(a,c){var f=c?"-"+c:0,g=a.getType();return A.Instance.isElementRegistered(g)||(g="question"),A.Instance.createElement(g,{key:a.name+f,element:a,creator:this.creator,survey:this.survey,css:this.css})},l}($),me=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),lt=function(p){me(l,p);function l(a){var c=p.call(this,a)||this;return c.rootRef=h.createRef(),c}return l.prototype.getStateElement=function(){return this.panelBase},l.prototype.canUsePropInState=function(a){return a!=="elements"&&p.prototype.canUsePropInState.call(this,a)},Object.defineProperty(l.prototype,"survey",{get:function(){return this.getSurvey()},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.getCss()},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"panelBase",{get:function(){return this.getPanelBase()},enumerable:!1,configurable:!0}),l.prototype.getPanelBase=function(){return this.props.element||this.props.question},l.prototype.getSurvey=function(){return this.props.survey||(this.panelBase?this.panelBase.survey:null)},l.prototype.getCss=function(){return this.props.css},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.doAfterRender()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this);var a=this.rootRef.current;a&&a.removeAttribute("data-rendered")},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),!(a.page&&this.survey&&this.survey.activePage&&a.page.id===this.survey.activePage.id)&&this.doAfterRender()},l.prototype.doAfterRender=function(){var a=this.rootRef.current;a&&this.survey&&(this.panelBase.isPanel?this.panelBase.afterRender(a):this.survey.afterRenderPage(a))},l.prototype.getIsVisible=function(){return this.panelBase.isVisible},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&!!this.survey&&!!this.panelBase&&!!this.panelBase.survey&&this.getIsVisible()},l.prototype.renderRows=function(a){var c=this;return this.panelBase.visibleRows.map(function(f){return c.createRow(f,a)})},l.prototype.createRow=function(a,c){return h.createElement(we,{key:a.id,row:a,survey:this.survey,creator:this.creator,css:c})},l}($),Fe=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ge=function(p){Fe(l,p);function l(a){var c=p.call(this,a)||this;return c.svgIconRef=w.a.createRef(),c}return l.prototype.updateSvg=function(){this.props.iconName&&Object(C.createSvg)(this.props.size,this.props.width,this.props.height,this.props.iconName,this.svgIconRef.current,this.props.title)},l.prototype.componentDidUpdate=function(){this.updateSvg()},l.prototype.render=function(){var a="sv-svg-icon";return this.props.className&&(a+=" "+this.props.className),this.props.iconName?w.a.createElement("svg",{className:a,style:this.props.style,onClick:this.props.onClick,ref:this.svgIconRef,role:"img"},w.a.createElement("use",null)):null},l.prototype.componentDidMount=function(){this.updateSvg()},l}(w.a.Component);A.Instance.registerElement("sv-svg-icon",function(p){return w.a.createElement(ge,p)});var en=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ke=function(p){en(l,p);function l(a){return p.call(this,a)||this}return l.prototype.render=function(){var a="sv-action-bar-separator "+this.props.cssClasses;return w.a.createElement("div",{className:a})},l}(w.a.Component);A.Instance.registerElement("sv-action-bar-separator",function(p){return w.a.createElement(Ke,p)});var vt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),$e=function(p){vt(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.renderElement=function(){var a=this.item.getActionRootCss(),c=this.item.needSeparator?w.a.createElement(Ke,null):null,f=A.Instance.createElement(this.item.component||"sv-action-bar-item",{item:this.item});return w.a.createElement("div",{className:a,id:this.item.id},w.a.createElement("div",{className:"sv-action__content"},c,f))},l}($),ut=function(p){vt(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.renderElement=function(){return w.a.createElement(w.a.Fragment,null,this.renderInnerButton())},l.prototype.renderText=function(){if(!this.item.hasTitle)return null;var a=this.item.getActionBarItemTitleCss();return w.a.createElement("span",{className:a},this.item.title)},l.prototype.renderButtonContent=function(){var a=this.renderText(),c=this.item.iconName?w.a.createElement(ge,{className:this.item.cssClasses.itemIcon,size:this.item.iconSize,iconName:this.item.iconName,title:this.item.tooltip||this.item.title}):null;return w.a.createElement(w.a.Fragment,null,c,a)},l.prototype.renderInnerButton=function(){var a=this,c=this.item.getActionBarItemCss(),f=this.item.tooltip||this.item.title,g=this.renderButtonContent(),L=this.item.disableTabStop?-1:void 0,F=xn(w.a.createElement("button",{className:c,type:"button",disabled:this.item.disabled,onMouseDown:function(H){return a.item.doMouseDown(H)},onFocus:function(H){return a.item.doFocus(H)},onClick:function(H){return a.item.doAction(H)},title:f,tabIndex:L,"aria-checked":this.item.ariaChecked,"aria-expanded":this.item.ariaExpanded,role:this.item.ariaRole},g),this.item,{processEsc:!1});return F},l}($);A.Instance.registerElement("sv-action-bar-item",function(p){return w.a.createElement(ut,p)});var ht=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Qe=function(p){ht(l,p);function l(a){var c=p.call(this,a)||this;return c.containerRef=w.a.createRef(),c.createModel(),c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.createModel=function(){this.popup=Object(C.createPopupViewModel)(this.props.model)},l.prototype.setTargetElement=function(){var a=this.containerRef.current;this.popup.setComponentElement(a)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.setTargetElement()},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.setTargetElement()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.popup.resetComponentElement()},l.prototype.shouldComponentUpdate=function(a,c){var f;if(!p.prototype.shouldComponentUpdate.call(this,a,c))return!1;var g=a.model!==this.popup.model;return g&&((f=this.popup)===null||f===void 0||f.dispose(),this.createModel()),g},l.prototype.render=function(){this.popup.model=this.model;var a;return this.model.isModal?a=w.a.createElement(bt,{model:this.popup}):a=w.a.createElement(Rt,{model:this.popup}),w.a.createElement("div",{ref:this.containerRef},a)},l}($);A.Instance.registerElement("sv-popup",function(p){return w.a.createElement(Qe,p)});var bt=function(p){ht(l,p);function l(a){var c=p.call(this,a)||this;return c.handleKeydown=function(f){c.model.onKeyDown(f)},c.clickInside=function(f){f.stopPropagation()},c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),!this.model.isPositionSet&&this.model.isVisible&&this.model.updateOnShowing()},l.prototype.renderContainer=function(a){var c=this,f=a.showHeader?this.renderHeaderPopup(a):null,g=a.title?this.renderHeaderContent():null,L=this.renderContent(),F=a.showFooter?this.renderFooter(this.model):null;return w.a.createElement("div",{className:"sv-popup__container",style:{left:a.left,top:a.top,height:a.height,width:a.width,minWidth:a.minWidth},onClick:function(H){c.clickInside(H)}},f,w.a.createElement("div",{className:"sv-popup__body-content"},g,w.a.createElement("div",{className:"sv-popup__scrolling-content"},L),F))},l.prototype.renderHeaderContent=function(){return w.a.createElement("div",{className:"sv-popup__body-header"},this.model.title)},l.prototype.renderContent=function(){var a=A.Instance.createElement(this.model.contentComponentName,this.model.contentComponentData);return w.a.createElement("div",{className:"sv-popup__content"},a)},l.prototype.renderHeaderPopup=function(a){return null},l.prototype.renderFooter=function(a){return w.a.createElement("div",{className:"sv-popup__body-footer"},w.a.createElement(Re,{model:a.footerToolbar}))},l.prototype.render=function(){var a=this,c=this.renderContainer(this.model),f=new C.CssClassBuilder().append("sv-popup").append(this.model.styleClass).toString(),g={display:this.model.isVisible?"":"none"};return w.a.createElement("div",{tabIndex:-1,className:f,style:g,onClick:function(L){a.model.clickOutside(L)},onKeyDown:this.handleKeydown},c)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.model.isVisible&&this.model.updateOnShowing()},l}($),Rt=function(p){ht(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.renderHeaderPopup=function(a){var c=a;return c?w.a.createElement("span",{style:{left:c.pointerTarget.left,top:c.pointerTarget.top},className:"sv-popup__pointer"}):null},l}(bt),je=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),j=function(p){je(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderInnerButton=function(){var a=p.prototype.renderInnerButton.call(this);return w.a.createElement(w.a.Fragment,null,a,w.a.createElement(Qe,{model:this.item.popupModel}))},l.prototype.componentDidMount=function(){this.viewModel=new C.ActionDropdownViewModel(this.item)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.viewModel.dispose()},l}(ut);A.Instance.registerElement("sv-action-bar-item-dropdown",function(p){return w.a.createElement(j,p)});var wn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Re=function(p){wn(l,p);function l(a){var c=p.call(this,a)||this;return c.rootRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"handleClick",{get:function(){return this.props.handleClick!==void 0?this.props.handleClick:!0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){if(p.prototype.componentDidMount.call(this),!!this.model.hasActions){var a=this.rootRef.current;a&&this.model.initResponsivityManager(a,function(c){setTimeout(c,100)})}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.model.resetResponsivityManager()},l.prototype.componentDidUpdate=function(a,c){if(p.prototype.componentDidUpdate.call(this,a,c),a.model!=this.props.model&&a.model.resetResponsivityManager(),this.model.hasActions){var f=this.rootRef.current;f&&this.model.initResponsivityManager(f,function(g){setTimeout(g,100)})}},l.prototype.getStateElement=function(){return this.model},l.prototype.renderElement=function(){if(!this.model.hasActions)return null;var a=this.renderItems();return w.a.createElement("div",{ref:this.rootRef,className:this.model.getRootCss(),onClick:this.handleClick?function(c){c.stopPropagation()}:void 0},a)},l.prototype.renderItems=function(){return this.model.renderedActions.map(function(a,c){return w.a.createElement($e,{item:a,key:"item"+c})})},l}($);A.Instance.registerElement("sv-action-bar",function(p){return w.a.createElement(Re,p)});var He=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),he=function(p){He(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),l.prototype.render=function(){if(this.element.isTitleRenderedAsString)return $.renderLocString(this.element.locTitle);var a=this.renderTitleSpans(this.element.getTitleOwner(),this.cssClasses);return w.a.createElement(w.a.Fragment,null,a)},l.prototype.renderTitleSpans=function(a,c){var f=function(F){return w.a.createElement("span",{"data-key":F,key:F}," ")},g=[];a.isRequireTextOnStart&&(g.push(this.renderRequireText(a)),g.push(f("req-sp")));var L=a.no;return L&&(g.push(w.a.createElement("span",{"data-key":"q_num",key:"q_num",className:a.cssTitleNumber,style:{position:"static"},"aria-hidden":!0},L)),g.push(f("num-sp"))),a.isRequireTextBeforeTitle&&(g.push(this.renderRequireText(a)),g.push(f("req-sp"))),g.push($.renderLocString(a.locTitle,null,"q_title")),a.isRequireTextAfterTitle&&(g.push(f("req-sp")),g.push(this.renderRequireText(a))),g},l.prototype.renderRequireText=function(a){return w.a.createElement("span",{"data-key":"req-text",key:"req-text",className:a.cssRequiredText,"aria-hidden":!0},a.requiredText)},l}(w.a.Component),It=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Je=function(p){It(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a=w.a.createElement(he,{element:this.element,cssClasses:this.cssClasses});return this.element.hasTitleActions?w.a.createElement("div",{className:"sv-title-actions"},w.a.createElement("span",{className:"sv-title-actions__title"},a),w.a.createElement(Re,{model:this.element.getTitleToolbar()})):a},l}(w.a.Component);C.RendererFactory.Instance.registerRenderer("element","title-actions","sv-title-actions"),A.Instance.registerElement("sv-title-actions",function(p){return w.a.createElement(Je,p)});var Qt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),tt=function(p){Qt(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),l.prototype.renderTitleExpandableSvg=function(){if(!this.element.getCssTitleExpandableSvg())return null;var a=this.element.isExpanded?"icon-collapse-16x16":"icon-expand-16x16";return w.a.createElement(ge,{className:this.element.getCssTitleExpandableSvg(),iconName:a,size:"auto"})},l.prototype.render=function(){var a=this.element;if(!a||!a.hasTitle)return null;var c=a.titleAriaLabel||void 0,f=this.renderTitleExpandableSvg(),g=w.a.createElement(Je,{element:a,cssClasses:a.cssClasses}),L=void 0,F=void 0;a.hasTitleEvents&&(F=function(ye){Object(C.doKey2ClickUp)(ye.nativeEvent)});var H=a.titleTagName;return w.a.createElement(H,{className:a.cssTitle,id:a.ariaTitleId,"aria-label":c,tabIndex:a.titleTabIndex,"aria-expanded":a.titleAriaExpanded,role:a.titleAriaRole,onClick:L,onKeyUp:F},f,g)},l}(w.a.Component),Ce=function(){function p(){this.creatorHash={}}return p.prototype.registerQuestion=function(l,a){this.creatorHash[l]=a},p.prototype.getAllTypes=function(){var l=new Array;for(var a in this.creatorHash)l.push(a);return l.sort()},p.prototype.createQuestion=function(l,a){var c=this.creatorHash[l];return c==null?null:c(a)},p.Instance=new p,p}(),tn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ot=function(p){tn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.getStateElement=function(){return this.props.counter},l.prototype.renderElement=function(){return w.a.createElement("div",{className:this.props.remainingCharacterCounter},this.props.counter.remainingCharacterCounter)},l}($);A.Instance.registerElement("sv-character-counter",function(p){return w.a.createElement(Ot,p)});var Dt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),At=function(p){Dt(l,p);function l(a){var c=p.call(this,a)||this;return c.initialValue=c.viewModel.getTextValue()||"",c.textareaRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"viewModel",{get:function(){return this.props.viewModel},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.viewModel.question},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this);var a=this.textareaRef.current;a&&this.viewModel.setElement(a)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.viewModel.resetElement()},l.prototype.renderElement=function(){var a=this;return w.a.createElement("textarea",{id:this.viewModel.id,className:this.viewModel.className,ref:this.textareaRef,disabled:this.viewModel.isDisabledAttr,readOnly:this.viewModel.isReadOnlyAttr,rows:this.viewModel.rows,cols:this.viewModel.cols,placeholder:this.viewModel.placeholder,maxLength:this.viewModel.maxLength,defaultValue:this.initialValue,onChange:function(c){a.viewModel.onTextAreaInput(c)},onFocus:function(c){a.viewModel.onTextAreaFocus(c)},onBlur:function(c){a.viewModel.onTextAreaBlur(c)},onKeyDown:function(c){a.viewModel.onTextAreaKeyDown(c)},"aria-required":this.viewModel.ariaRequired,"aria-label":this.viewModel.ariaLabel,"aria-labelledby":this.viewModel.ariaLabelledBy,"aria-describedby":this.viewModel.ariaDescribedBy,"aria-invalid":this.viewModel.ariaInvalid,"aria-errormessage":this.viewModel.ariaErrormessage,style:{resize:this.viewModel.question.resizeStyle}})},l}($);A.Instance.registerElement("sv-text-area",function(p){return w.a.createElement(At,p)});var Ct=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),wt=function(p){Ct(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderCharacterCounter=function(){var a=null;return this.question.getMaxLength()&&(a=h.createElement(Ot,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter})),a},l.prototype.renderElement=function(){if(this.question.isReadOnlyRenderDiv())return h.createElement("div",null,this.question.value);var a=this.renderCharacterCounter(),c=this.props.question.textAreaModel;return h.createElement(h.Fragment,null,h.createElement(At,{viewModel:c}),a)},l}(We),nt=function(p){Ct(l,p);function l(a){var c=p.call(this,a)||this;return c.textAreaModel=c.getTextAreaModel(),c}return l.prototype.canRender=function(){return!!this.props.question},l.prototype.getTextAreaModel=function(){return this.props.question.commentTextAreaModel},l.prototype.renderElement=function(){var a=this.props.question;if(a.isReadOnlyRenderDiv()){var c=this.textAreaModel.getTextValue()||"";return h.createElement("div",null,c)}return h.createElement(At,{viewModel:this.textAreaModel})},l}(ie),ct=function(p){Ct(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.getTextAreaModel=function(){return this.props.question.otherTextAreaModel},l}(nt);Ce.Instance.registerQuestion("comment",function(p){return h.createElement(wt,p)});var Vr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Sr=function(p){Vr(l,p);function l(a){var c=p.call(this,a)||this;return c.widgetRef=h.createRef(),c}return l.prototype._afterRender=function(){if(this.questionBase.customWidget){var a=this.widgetRef.current;a&&(this.questionBase.customWidget.afterRender(this.questionBase,a),this.questionBase.customWidgetData.isNeedRender=!1)}},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.questionBase&&this._afterRender()},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c);var f=!!this.questionBase.customWidget&&this.questionBase.customWidget.isDefaultRender;this.questionBase&&!f&&this._afterRender()},l.prototype.componentWillUnmount=function(){if(p.prototype.componentWillUnmount.call(this),this.questionBase.customWidget){var a=this.widgetRef.current;a&&this.questionBase.customWidget.willUnmount(this.questionBase,a)}},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&this.questionBase.visible},l.prototype.renderElement=function(){var a=this.questionBase.customWidget;if(a.isDefaultRender)return h.createElement("div",{ref:this.widgetRef},this.creator.createQuestionElement(this.questionBase));var c=null;if(a.widgetJson.render)c=a.widgetJson.render(this.questionBase);else if(a.htmlTemplate){var f={__html:a.htmlTemplate};return h.createElement("div",{ref:this.widgetRef,dangerouslySetInnerHTML:f})}return h.createElement("div",{ref:this.widgetRef},c)},l}(ce),mi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),vi=function(p){mi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a=this.element,c=a.hasTitle?w.a.createElement(tt,{element:a}):null,f=a.hasDescriptionUnderTitle?$.renderQuestionDescription(this.element):null,g=a.hasAdditionalTitleToolbar?w.a.createElement(Re,{model:a.additionalTitleToolbar}):null,L={width:void 0};return a instanceof C.Question&&(L.width=a.titleWidth),w.a.createElement("div",{className:a.cssHeader,onClick:function(F){return a.clickTitleFunction&&a.clickTitleFunction(F.nativeEvent)},style:L},c,f,g)},l}(w.a.Component),Pn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),nn=function(p){Pn(l,p);function l(a){var c=p.call(this,a)||this;return c.isNeedFocus=!1,c.rootRef=h.createRef(),c}return l.renderQuestionBody=function(a,c){var f=c.customWidget;return f?h.createElement(Sr,{creator:a,question:c}):a.createQuestionElement(c)},l.prototype.getStateElement=function(){return this.question},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.question&&(this.question.react=this),this.doAfterRender()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question&&(this.question.react=null);var a=this.rootRef.current;a&&a.removeAttribute("data-rendered")},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.doAfterRender()},l.prototype.doAfterRender=function(){if(this.isNeedFocus&&(this.question.isCollapsed||this.question.clickTitleFunction(),this.isNeedFocus=!1),this.question){var a=this.rootRef.current;a&&a.getAttribute("data-rendered")!=="r"&&(a.setAttribute("data-rendered","r"),a.setAttribute("data-name",this.question.name),this.question.afterRender&&this.question.afterRender(a))}},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&!!this.question&&!!this.creator},l.prototype.renderQuestionContent=function(){var a=this.question,c={display:this.question.renderedIsExpanded?"":"none"},f=a.cssClasses,g=this.renderQuestion(),L=this.question.showErrorOnTop?this.renderErrors(f,"top"):null,F=this.question.showErrorOnBottom?this.renderErrors(f,"bottom"):null,H=a&&a.hasComment?this.renderComment(f):null,ye=a.hasDescriptionUnderInput?this.renderDescription():null;return h.createElement("div",{className:a.cssContent||void 0,style:c,role:"presentation"},L,g,H,F,ye)},l.prototype.renderElement=function(){var a=this.question,c=a.cssClasses,f=this.renderHeader(a),g=a.hasTitleOnLeftTop?f:null,L=a.hasTitleOnBottom?f:null,F=this.question.showErrorsAboveQuestion?this.renderErrors(c,""):null,H=this.question.showErrorsBelowQuestion?this.renderErrors(c,""):null,ye=a.getRootStyle(),ae=this.wrapQuestionContent(this.renderQuestionContent());return h.createElement(h.Fragment,null,h.createElement("div",{ref:this.rootRef,id:a.id,className:a.getRootCss(),style:ye,role:a.ariaRole,"aria-required":this.question.ariaRequired,"aria-invalid":this.question.ariaInvalid,"aria-labelledby":a.ariaLabelledBy,"aria-describedby":a.ariaDescribedBy,"aria-expanded":a.ariaExpanded},F,g,ae,L,H))},l.prototype.wrapElement=function(a){var c=this.question.survey,f=null;return c&&(f=k.wrapElement(c,a,this.question)),f??a},l.prototype.wrapQuestionContent=function(a){var c=this.question.survey,f=null;return c&&(f=k.wrapQuestionContent(c,a,this.question)),f??a},l.prototype.renderQuestion=function(){return l.renderQuestionBody(this.creator,this.question)},l.prototype.renderDescription=function(){return $.renderQuestionDescription(this.question)},l.prototype.renderComment=function(a){var c=$.renderLocString(this.question.locCommentText);return h.createElement("div",{className:this.question.getCommentAreaCss()},h.createElement("div",null,c),h.createElement(nt,{question:this.question,cssClasses:a,otherCss:a.other,isDisplayMode:this.question.isInputReadOnly}))},l.prototype.renderHeader=function(a){return h.createElement(vi,{element:a})},l.prototype.renderErrors=function(a,c){return h.createElement(rn,{element:this.question,cssClasses:a,creator:this.creator,location:c,id:this.question.id+"_errors"})},l}($);A.Instance.registerElement("question",function(p){return h.createElement(nn,p)});var rn=function(p){Pn(l,p);function l(a){var c=p.call(this,a)||this;return c.state=c.getState(),c}return Object.defineProperty(l.prototype,"id",{get:function(){return this.props.element.id+"_errors"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"location",{get:function(){return this.props.location},enumerable:!1,configurable:!0}),l.prototype.getState=function(a){return a===void 0&&(a=null),a?{error:a.error+1}:{error:0}},l.prototype.canRender=function(){return!!this.element&&this.element.hasVisibleErrors},l.prototype.componentWillUnmount=function(){},l.prototype.renderElement=function(){for(var a=[],c=0;c<this.element.errors.length;c++){var f="error"+c;a.push(this.creator.renderError(f,this.element.errors[c],this.cssClasses,this.element))}return h.createElement("div",{role:"alert","aria-live":"polite",className:this.element.cssError,id:this.id},a)},l}(ie),bi=function(p){Pn(l,p);function l(a){return p.call(this,a)||this}return l.prototype.getStateElement=function(){return this.question},Object.defineProperty(l.prototype,"question",{get:function(){return this.getQuestion()},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),l.prototype.getQuestion=function(){return this.props.question},Object.defineProperty(l.prototype,"itemCss",{get:function(){return this.props.itemCss},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.doAfterRender()},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.doAfterRender()},l.prototype.doAfterRender=function(){},l.prototype.canRender=function(){return!!this.question},l.prototype.renderContent=function(){var a=this.renderQuestion();return h.createElement(h.Fragment,null,a)},l.prototype.getShowErrors=function(){return this.question.isVisible},l.prototype.renderQuestion=function(){return nn.renderQuestionBody(this.creator,this.question)},l}(ie),Ci=function(p){Pn(l,p);function l(a){var c=p.call(this,a)||this;return c.cellRef=h.createRef(),c}return l.prototype.componentWillUnmount=function(){if(p.prototype.componentWillUnmount.call(this),this.question){var a=this.cellRef.current;a&&a.removeAttribute("data-rendered")}},l.prototype.renderCellContent=function(){return h.createElement("div",{className:this.props.cell.cellQuestionWrapperClassName},this.renderQuestion())},l.prototype.renderElement=function(){var a=this.getCellStyle(),c=this.props.cell,f=function(){c.focusIn()};return h.createElement("td",{ref:this.cellRef,className:this.itemCss,colSpan:c.colSpans,title:c.getTitle(),style:a,onFocus:f},this.wrapCell(this.props.cell,this.renderCellContent()))},l.prototype.getCellStyle=function(){return null},l.prototype.getHeaderText=function(){return""},l.prototype.wrapCell=function(a,c){if(!a)return c;var f=this.question.survey,g=null;return f&&(g=k.wrapMatrixCell(f,c,a,this.props.reason)),g??c},l}(bi),wi=function(p){Pn(l,p);function l(a){var c=p.call(this,a)||this;return c.state={changed:0},c.question&&c.registerCallback(c.question),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.update=function(){this.setState({changed:this.state.changed+1})},l.prototype.getQuestionPropertiesToTrack=function(){return["errors"]},l.prototype.registerCallback=function(a){var c=this;a.registerFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),function(){c.update()},"__reactSubscription")},l.prototype.unRegisterCallback=function(a){a.unRegisterFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),"__reactSubscription")},l.prototype.componentDidUpdate=function(a){a.question&&a.question!==this.question&&this.unRegisterCallback(a.cell),this.question&&this.registerCallback(this.question)},l.prototype.componentWillUnmount=function(){this.question&&this.unRegisterCallback(this.question)},l.prototype.render=function(){return h.createElement(rn,{element:this.question,creator:this.props.creator,cssClasses:this.question.cssClasses})},l}(h.Component),Pi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),xi=function(p){Pi(l,p);function l(a){return p.call(this,a)||this}return l.prototype.getPanelBase=function(){return this.props.page},Object.defineProperty(l.prototype,"page",{get:function(){return this.panelBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this.renderTitle(),c=this.renderDescription(),f=this.renderRows(this.panelBase.cssClasses),g=h.createElement(rn,{element:this.panelBase,cssClasses:this.panelBase.cssClasses,creator:this.creator});return h.createElement("div",{ref:this.rootRef,className:this.page.cssRoot},a,c,g,f)},l.prototype.renderTitle=function(){return h.createElement(tt,{element:this.page})},l.prototype.renderDescription=function(){if(!this.page._showDescription)return null;var a=$.renderLocString(this.page.locDescription);return h.createElement("div",{className:this.panelBase.cssClasses.page.description},a)},l}(lt),Fo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Or=function(p){Fo(l,p);function l(a){var c=p.call(this,a)||this;return c.state={changed:0},c.rootRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.survey.css},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){var a=this;this.survey.afterRenderHeader(this.rootRef.current),this.survey.locLogo.onChanged=function(){a.setState({changed:a.state.changed+1})}},l.prototype.componentWillUnmount=function(){this.survey.locLogo.onChanged=function(){}},l.prototype.renderTitle=function(){if(!this.survey.renderedHasTitle)return null;var a=$.renderLocString(this.survey.locDescription);return w.a.createElement("div",{className:this.css.headerText,style:{maxWidth:this.survey.titleMaxWidth}},w.a.createElement(tt,{element:this.survey}),this.survey.renderedHasDescription?w.a.createElement("div",{className:this.css.description},a):null)},l.prototype.renderLogoImage=function(a){if(!a)return null;var c=this.survey.getElementWrapperComponentName(this.survey,"logo-image"),f=this.survey.getElementWrapperComponentData(this.survey,"logo-image");return A.Instance.createElement(c,{data:f})},l.prototype.render=function(){return this.survey.renderedHasHeader?w.a.createElement("div",{className:this.css.header,ref:this.rootRef},this.renderLogoImage(this.survey.isLogoBefore),this.renderTitle(),this.renderLogoImage(this.survey.isLogoAfter),w.a.createElement("div",{className:this.css.headerClose})):null},l}(w.a.Component);A.Instance.registerElement("survey-header",function(p){return w.a.createElement(Or,p)});var Vi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ko=function(p){Vi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){return w.a.createElement("div",{className:"sv-brand-info"},w.a.createElement("a",{className:"sv-brand-info__logo",href:"https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"},w.a.createElement("img",{src:"https://surveyjs.io/Content/Images/poweredby.svg"})),w.a.createElement("div",{className:"sv-brand-info__text"},"Try and see how easy it is to ",w.a.createElement("a",{href:"https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey"},"create a survey")),w.a.createElement("div",{className:"sv-brand-info__terms"},w.a.createElement("a",{href:"https://surveyjs.io/TermsOfUse"},"Terms of Use & Privacy Statement")))},l}(w.a.Component),Qo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Gn=function(p){Qo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"notifier",{get:function(){return this.props.notifier},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.notifier},l.prototype.renderElement=function(){if(!this.notifier.isDisplayed)return null;var a={visibility:this.notifier.active?"visible":"hidden"};return w.a.createElement("div",{className:this.notifier.css,style:a,role:"alert","aria-live":"polite"},w.a.createElement("span",null,this.notifier.message),w.a.createElement(Re,{model:this.notifier.actionBar}))},l}($);A.Instance.registerElement("sv-notifier",function(p){return w.a.createElement(Gn,p)});var Zn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Pt=function(p){Zn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this,c=this.props.survey.getContainerContent(this.props.container),f=this.props.needRenderWrapper!==!1;return c.length==0?null:f?w.a.createElement("div",{className:"sv-components-column sv-components-container-"+this.props.container},c.map(function(g){return A.Instance.createElement(g.component,{survey:a.props.survey,model:g.data,container:a.props.container,key:g.id})})):w.a.createElement(w.a.Fragment,null,c.map(function(g){return A.Instance.createElement(g.component,{survey:a.props.survey,model:g.data,container:a.props.container,key:g.id})}))},l}(w.a.Component);A.Instance.registerElement("sv-components-container",function(p){return w.a.createElement(Pt,p)});var Ho=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Si=function(p){Ho(l,p);function l(a){var c=p.call(this,a)||this;return c.onIconsChanged=function(){c.containerRef.current&&(c.containerRef.current.innerHTML=C.SvgRegistry.iconsRenderedHtml())},c.containerRef=w.a.createRef(),c}return l.prototype.componentDidMount=function(){this.onIconsChanged(),C.SvgRegistry.onIconsChanged.add(this.onIconsChanged)},l.prototype.componentWillUnmount=function(){C.SvgRegistry.onIconsChanged.remove(this.onIconsChanged)},l.prototype.render=function(){var a={display:"none"};return w.a.createElement("svg",{style:a,id:"sv-icon-holder-global-container",ref:this.containerRef})},l}(w.a.Component),zo=D("react-dom"),Oi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Er=function(p){Oi(l,p);function l(a){var c=p.call(this,a)||this;return c.isInitialized=!1,c.init=function(){c.isInitialized||(C.settings.showModal=function(f,g,L,F,H,ye,ae){ae===void 0&&(ae="popup");var Ve=Object(C.createDialogOptions)(f,g,L,F,void 0,void 0,H,ye,ae);return c.showDialog(Ve)},C.settings.showDialog=function(f,g){return c.showDialog(f,g)},c.isInitialized=!0)},c.clean=function(){c.isInitialized&&(C.settings.showModal=void 0,C.settings.showDialog=void 0,c.isInitialized=!1)},c.state={changed:0},c.descriptor={init:c.init,clean:c.clean},c}return l.addModalDescriptor=function(a){C.settings.showModal||a.init(),this.modalDescriptors.push(a)},l.removeModalDescriptor=function(a){a.clean(),this.modalDescriptors.splice(this.modalDescriptors.indexOf(a),1),!C.settings.showModal&&this.modalDescriptors[0]&&this.modalDescriptors[0].init()},l.prototype.renderElement=function(){return this.model?Object(zo.createPortal)(w.a.createElement(bt,{model:this.model}),this.model.container):null},l.prototype.showDialog=function(a,c){var f=this;this.model=Object(C.createPopupModalViewModel)(a,c);var g=function(L,F){F.isVisible||(f.model.dispose(),f.model=void 0,f.setState({changed:f.state.changed+1}))};return this.model.onVisibilityChanged.add(g),this.model.model.isVisible=!0,this.setState({changed:this.state.changed+1}),this.model},l.prototype.componentDidMount=function(){l.addModalDescriptor(this.descriptor)},l.prototype.componentWillUnmount=function(){this.model&&(this.model.dispose(),this.model=void 0),l.removeModalDescriptor(this.descriptor)},l.modalDescriptors=[],l}($),Ei=D("./build/survey-core/icons/iconsV1.js"),Uo=D("./build/survey-core/icons/iconsV2.js"),Wo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Lt=function(){return Lt=Object.assign||function(p){for(var l,a=1,c=arguments.length;a<c;a++){l=arguments[a];for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&(p[f]=l[f])}return p},Lt.apply(this,arguments)};Object(C.addIconsToThemeSet)("v1",Ei.icons),Object(C.addIconsToThemeSet)("v2",Uo.icons),C.SvgRegistry.registerIcons(Ei.icons);var Mt=function(p){Wo(l,p);function l(a){var c=p.call(this,a)||this;return c.previousJSON={},c.isSurveyUpdated=!1,c.createSurvey(a),c.updateSurvey(a,{}),c.rootRef=h.createRef(),c.rootNodeId=a.id||null,c.rootNodeClassName=a.className||"",c}return Object.defineProperty(l,"cssType",{get:function(){return C.surveyCss.currentType},set:function(a){C.StylesManager.applyTheme(a)},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.survey},l.prototype.onSurveyUpdated=function(){if(this.survey){var a=this.rootRef.current;a&&this.survey.afterRenderSurvey(a),this.survey.startTimerFromUI(),this.setSurveyEvents()}},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?(this.isModelJSONChanged(a)&&(this.destroySurvey(),this.createSurvey(a),this.updateSurvey(a,{}),this.isSurveyUpdated=!0),!0):!1},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.updateSurvey(this.props,a),this.isSurveyUpdated&&(this.onSurveyUpdated(),this.isSurveyUpdated=!1)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.onSurveyUpdated()},l.prototype.destroySurvey=function(){this.survey&&(this.survey.renderCallback=void 0,this.survey.onPartialSend.clear(),this.survey.stopTimer(),this.survey.destroyResizeObserver())},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.destroySurvey()},l.prototype.doRender=function(){var a;this.survey.state=="completed"?a=this.renderCompleted():this.survey.state=="completedbefore"?a=this.renderCompletedBefore():this.survey.state=="loading"?a=this.renderLoading():this.survey.state=="empty"?a=this.renderEmptySurvey():a=this.renderSurvey();var c=this.survey.backgroundImage?h.createElement("div",{className:this.css.rootBackgroundImage,style:this.survey.backgroundImageStyle}):null,f=this.survey.headerView==="basic"?h.createElement(Or,{survey:this.survey}):null,g=function(ye){ye.preventDefault()},L=h.createElement("div",{className:"sv_custom_header"});this.survey.hasLogo&&(L=null);var F=this.survey.getRootCss(),H=this.rootNodeClassName?this.rootNodeClassName+" "+F:F;return h.createElement("div",{id:this.rootNodeId,ref:this.rootRef,className:H,style:this.survey.themeVariables,lang:this.survey.locale||"en",dir:this.survey.localeDir},this.survey.needRenderIcons?h.createElement(Si,null):null,h.createElement(Er,null),h.createElement("div",{className:this.survey.wrapperFormCss},c,h.createElement("form",{onSubmit:g},L,h.createElement("div",{className:this.css.container},f,h.createElement(Pt,{survey:this.survey,container:"header",needRenderWrapper:!1}),a,h.createElement(Pt,{survey:this.survey,container:"footer",needRenderWrapper:!1}))),h.createElement(Gn,{notifier:this.survey.notifier})))},l.prototype.renderElement=function(){return this.doRender()},Object.defineProperty(l.prototype,"css",{get:function(){return this.survey.css},set:function(a){this.survey.css=a},enumerable:!1,configurable:!0}),l.prototype.renderCompleted=function(){if(!this.survey.showCompletedPage)return null;var a={__html:this.survey.processedCompletedHtml};return h.createElement(h.Fragment,null,h.createElement("div",{dangerouslySetInnerHTML:a,className:this.survey.completedCss}),h.createElement(Pt,{survey:this.survey,container:"completePage",needRenderWrapper:!1}))},l.prototype.renderCompletedBefore=function(){var a={__html:this.survey.processedCompletedBeforeHtml};return h.createElement("div",{dangerouslySetInnerHTML:a,className:this.survey.completedBeforeCss})},l.prototype.renderLoading=function(){var a={__html:this.survey.processedLoadingHtml};return h.createElement("div",{dangerouslySetInnerHTML:a,className:this.survey.loadingBodyCss})},l.prototype.renderSurvey=function(){var a=this.survey.activePage?this.renderPage(this.survey.activePage):null;this.survey.isShowStartingPage;var c=this.survey.activePage?this.survey.activePage.id:"",f=this.survey.bodyCss,g={};return this.survey.renderedWidth&&(g.maxWidth=this.survey.renderedWidth),h.createElement("div",{className:this.survey.bodyContainerCss},h.createElement(Pt,{survey:this.survey,container:"left"}),h.createElement("div",{className:"sv-components-column sv-components-column--expandable"},h.createElement(Pt,{survey:this.survey,container:"center"}),h.createElement("div",{id:c,className:f,style:g},h.createElement(Pt,{survey:this.survey,container:"contentTop"}),a,h.createElement(Pt,{survey:this.survey,container:"contentBottom"}),this.survey.showBrandInfo?h.createElement(ko,null):null)),h.createElement(Pt,{survey:this.survey,container:"right"}))},l.prototype.renderPage=function(a){return h.createElement(xi,{survey:this.survey,page:a,css:this.css,creator:this})},l.prototype.renderEmptySurvey=function(){return h.createElement("div",{className:this.css.bodyEmpty},this.survey.emptySurveyText)},l.prototype.createSurvey=function(a){a||(a={}),this.previousJSON={},a?a.model?this.survey=a.model:a.json&&(this.previousJSON=a.json,this.survey=new C.SurveyModel(a.json)):this.survey=new C.SurveyModel,a.css&&(this.survey.css=this.css)},l.prototype.isModelJSONChanged=function(a){return a.model?this.survey!==a.model:a.json?!C.Helpers.isTwoValueEquals(a.json,this.previousJSON):!1},l.prototype.updateSurvey=function(a,c){if(a){c=c||{};for(var f in a)if(!(f=="model"||f=="children"||f=="json")){if(f=="css"){this.survey.mergeValues(a.css,this.survey.getCss()),this.survey.updateNavigationCss(),this.survey.updateElementCss();continue}a[f]!==c[f]&&(f.indexOf("on")==0&&this.survey[f]&&this.survey[f].add?(c[f]&&this.survey[f].remove(c[f]),this.survey[f].add(a[f])):this.survey[f]=a[f])}}},l.prototype.setSurveyEvents=function(){var a=this;this.survey.renderCallback=function(){var c=a.state&&a.state.modelChanged?a.state.modelChanged:0;a.setState({modelChanged:c+1})},this.survey.onPartialSend.add(function(c){a.state&&a.setState(a.state)})},l.prototype.createQuestionElement=function(a){return Ce.Instance.createQuestion(a.isDefaultRendering()?a.getTemplate():a.getComponentName(),{question:a,isDisplayMode:a.isInputReadOnly,creator:this})},l.prototype.renderError=function(a,c,f,g){return A.Instance.createElement(this.survey.questionErrorComponent,{key:a,error:c,cssClasses:f,element:g})},l.prototype.questionTitleLocation=function(){return this.survey.questionTitleLocation},l.prototype.questionErrorLocation=function(){return this.survey.questionErrorLocation},l}($);A.Instance.registerElement("survey",function(p){return h.createElement(Mt,p)});function xn(p,l,a){return a===void 0&&(a={processEsc:!0,disableTabStop:!1}),l&&l.disableTabStop||a&&a.disableTabStop?h.cloneElement(p,{tabIndex:-1}):(a=Lt({},a),h.cloneElement(p,{tabIndex:0,onKeyUp:function(c){return c.preventDefault(),c.stopPropagation(),Object(C.doKey2ClickUp)(c,a),!1},onKeyDown:function(c){return Object(C.doKey2ClickDown)(c,a)},onBlur:function(c){return Object(C.doKey2ClickBlur)(c)}}))}var Tr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ht=function(p){Tr(l,p);function l(a){var c=p.call(this,a)||this;return c.updateStateFunction=null,c.state={update:0},c}return Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.props.css||this.survey.css},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){if(this.survey){var a=this;this.updateStateFunction=function(){a.setState({update:a.state.update+1})},this.survey.onPageVisibleChanged.add(this.updateStateFunction)}},l.prototype.componentWillUnmount=function(){this.survey&&this.updateStateFunction&&(this.survey.onPageVisibleChanged.remove(this.updateStateFunction),this.updateStateFunction=null)},l}(h.Component),Rr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ir=function(p){Rr(l,p);function l(a){var c=p.call(this,a)||this;return c.circleLength=440,c}return l.prototype.getStateElement=function(){return this.timerModel},Object.defineProperty(l.prototype,"timerModel",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"progress",{get:function(){return-this.timerModel.progress*this.circleLength},enumerable:!1,configurable:!0}),l.prototype.render=function(){if(!this.timerModel.isRunning)return null;var a=h.createElement("div",{className:this.timerModel.survey.getCss().timerRoot},this.timerModel.text);if(this.timerModel.showTimerAsClock){var c={strokeDasharray:this.circleLength,strokeDashoffset:this.progress},f=this.timerModel.showProgress?h.createElement(ge,{className:this.timerModel.getProgressCss(),style:c,iconName:"icon-timercircle",size:"auto"}):null;a=h.createElement("div",{className:this.timerModel.rootCss},f,h.createElement("div",{className:this.timerModel.textContainerCss},h.createElement("span",{className:this.timerModel.majorTextCss},this.timerModel.clockMajorText),this.timerModel.clockMinorText?h.createElement("span",{className:this.timerModel.minorTextCss},this.timerModel.clockMinorText):null))}return a},l}(ie);A.Instance.registerElement("sv-timerpanel",function(p){return h.createElement(Ir,p)});var Ti=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ze=function(p){Ti(l,p);function l(a){var c=p.call(this,a)||this;return c.hasBeenExpanded=!1,c}return Object.defineProperty(l.prototype,"panel",{get:function(){return this.panelBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.renderHeader(),f=h.createElement(rn,{element:this.panelBase,cssClasses:this.panelBase.cssClasses,creator:this.creator}),g={paddingLeft:this.panel.innerPaddingLeft,display:this.panel.renderedIsExpanded?void 0:"none"},L=null;if(this.panel.renderedIsExpanded){var F=this.renderRows(this.panelBase.cssClasses),H=this.panelBase.cssClasses.panel.content;L=this.renderContent(g,F,H)}var ye=function(){a.panelBase&&a.panelBase.focusIn()};return h.createElement("div",{ref:this.rootRef,className:this.panelBase.getContainerCss(),onFocus:ye,id:this.panelBase.id},this.panel.showErrorsAbovePanel?f:null,c,this.panel.showErrorsAbovePanel?null:f,L)},l.prototype.renderHeader=function(){return!this.panel.hasTitle&&!this.panel.hasDescription?null:h.createElement(vi,{element:this.panel})},l.prototype.wrapElement=function(a){var c=this.panel.survey,f=null;return c&&(f=k.wrapElement(c,a,this.panel)),f??a},l.prototype.renderContent=function(a,c,f){var g=this.renderBottom();return h.createElement("div",{style:a,className:f,id:this.panel.contentId},c,g)},l.prototype.renderTitle=function(){return this.panelBase.title?h.createElement(tt,{element:this.panelBase}):null},l.prototype.renderDescription=function(){if(!this.panelBase.description)return null;var a=$.renderLocString(this.panelBase.locDescription);return h.createElement("div",{className:this.panel.cssClasses.panel.description},a)},l.prototype.renderBottom=function(){var a=this.panel.getFooterToolbar();return a.hasActions?h.createElement(Re,{model:a}):null},l.prototype.getIsVisible=function(){return this.panelBase.getIsContentVisible()},l}(lt);A.Instance.registerElement("panel",function(p){return h.createElement(ze,p)});var $o=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Kn=function(p){$o(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"flowPanel",{get:function(){return this.panel},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=function(){return""},this.flowPanel.onGetHtmlForQuestion=this.renderQuestion)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=null,this.flowPanel.onGetHtmlForQuestion=null)},l.prototype.getQuestion=function(a){return this.flowPanel.getQuestionByName(a)},l.prototype.renderQuestion=function(a){return"<question>"+a.name+"</question>"},l.prototype.renderRows=function(){var a=this.renderHtml();return a?[a]:[]},l.prototype.getNodeIndex=function(){return this.renderedIndex++},l.prototype.renderHtml=function(){if(!this.flowPanel)return null;var a="<span>"+this.flowPanel.produceHtml()+"</span>";if(!DOMParser){var c={__html:a};return h.createElement("div",{dangerouslySetInnerHTML:c})}var f=new DOMParser().parseFromString(a,"text/xml");return this.renderedIndex=0,this.renderParentNode(f)},l.prototype.renderNodes=function(a){for(var c=[],f=0;f<a.length;f++){var g=this.renderNode(a[f]);g&&c.push(g)}return c},l.prototype.getStyle=function(a){var c={};return a.toLowerCase()==="b"&&(c.fontWeight="bold"),a.toLowerCase()==="i"&&(c.fontStyle="italic"),a.toLowerCase()==="u"&&(c.textDecoration="underline"),c},l.prototype.renderParentNode=function(a){var c=a.nodeName.toLowerCase(),f=this.renderNodes(this.getChildDomNodes(a));return c==="div"?h.createElement("div",{key:this.getNodeIndex()},f):h.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(c)},f)},l.prototype.renderNode=function(a){if(!this.hasTextChildNodesOnly(a))return this.renderParentNode(a);var c=a.nodeName.toLowerCase();if(c==="question"){var f=this.flowPanel.getQuestionByName(a.textContent);if(!f)return null;var g=h.createElement(nn,{key:f.name,element:f,creator:this.creator,css:this.css});return h.createElement("span",{key:this.getNodeIndex()},g)}return c==="div"?h.createElement("div",{key:this.getNodeIndex()},a.textContent):h.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(c)},a.textContent)},l.prototype.getChildDomNodes=function(a){for(var c=[],f=0;f<a.childNodes.length;f++)c.push(a.childNodes[f]);return c},l.prototype.hasTextChildNodesOnly=function(a){for(var c=a.childNodes,f=0;f<c.length;f++)if(c[f].nodeName.toLowerCase()!=="#text")return!1;return!0},l.prototype.renderContent=function(a,c){return h.createElement("f-panel",{style:a},c)},l}(ze);A.Instance.registerElement("flowpanel",function(p){return h.createElement(Kn,p)});var Ri=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ii=function(p){Ri(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses;return h.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),ref:function(f){return a.setControl(f)},role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage},h.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.getHeader(),this.question.hasColumns?this.getColumnedBody(c):this.getBody(c),this.getFooter(),this.question.isOtherSelected?this.renderOther():null)},l.prototype.getHeader=function(){var a=this;if(this.question.hasHeadItems)return this.question.headItems.map(function(c,f){return a.renderItem(c,!1,a.question.cssClasses)})},l.prototype.getFooter=function(){var a=this;if(this.question.hasFootItems)return this.question.footItems.map(function(c,f){return a.renderItem(c,!1,a.question.cssClasses)})},l.prototype.getColumnedBody=function(a){return h.createElement("div",{className:a.rootMultiColumn},this.getColumns(a))},l.prototype.getColumns=function(a){var c=this;return this.question.columns.map(function(f,g){var L=f.map(function(F,H){return c.renderItem(F,g===0&&H===0,a,""+g+H)});return h.createElement("div",{key:"column"+g+c.question.getItemsColumnKey(f),className:c.question.getColumnClass(),role:"presentation"},L)})},l.prototype.getBody=function(a){return this.question.blockedRow?h.createElement("div",{className:a.rootRow},this.getItems(a,this.question.dataChoices)):h.createElement(h.Fragment,null,this.getItems(a,this.question.bodyItems))},l.prototype.getItems=function(a,c){for(var f=[],g=0;g<c.length;g++){var L=c[g];""+L.value;var F=this.renderItem(L,g==0,a,""+g);F&&f.push(F)}return f},Object.defineProperty(l.prototype,"textStyle",{get:function(){return null},enumerable:!1,configurable:!0}),l.prototype.renderOther=function(){var a=this.question.cssClasses;return h.createElement("div",{className:this.question.getCommentAreaCss(!0)},h.createElement(ct,{question:this.question,otherCss:a.other,cssClasses:a,isDisplayMode:this.isDisplayMode}))},l.prototype.renderItem=function(a,c,f,g){var L=A.Instance.createElement(this.question.itemComponent,{key:a.value,question:this.question,cssClasses:f,isDisplayMode:this.isDisplayMode,item:a,textStyle:this.textStyle,index:g,isFirst:c}),F=this.question.survey,H=null;return F&&L&&(H=k.wrapItemValue(F,L,this.question,a)),H??L},l}(ce),Dr=function(p){Ri(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnChange=function(f){c.question.clickItemHandler(c.item,f.target.checked)},c.rootRef=h.createRef(),c}return l.prototype.getStateElement=function(){return this.item},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"textStyle",{get:function(){return this.props.textStyle},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isFirst",{get:function(){return this.props.isFirst},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"hideCaption",{get:function(){return this.props.hideCaption===!0},enumerable:!1,configurable:!0}),l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),a.item!==this.props.item&&!this.question.isDesignMode&&(this.props.item&&this.props.item.setRootElement(this.rootRef.current),a.item&&a.item.setRootElement(void 0))},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?!this.question.customWidget||!!this.question.customWidgetData.isNeedRender||!!this.question.customWidget.widgetJson.isDefaultRender||!!this.question.customWidget.widgetJson.render:!1},l.prototype.canRender=function(){return!!this.item&&!!this.question},l.prototype.renderElement=function(){var a=this.question.isItemSelected(this.item);return this.renderCheckbox(a,null)},Object.defineProperty(l.prototype,"inputStyle",{get:function(){return null},enumerable:!1,configurable:!0}),l.prototype.renderCheckbox=function(a,c){var f=this.question.getItemId(this.item),g=this.question.getItemClass(this.item),L=this.question.getLabelClass(this.item),F=this.hideCaption?null:h.createElement("span",{className:this.cssClasses.controlLabel},this.renderLocString(this.item.locText,this.textStyle));return h.createElement("div",{className:g,role:"presentation",ref:this.rootRef},h.createElement("label",{className:L},h.createElement("input",{className:this.cssClasses.itemControl,type:"checkbox",name:this.question.name+this.item.id,value:this.item.value,id:f,style:this.inputStyle,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,checked:a,onChange:this.handleOnChange,required:this.question.hasRequiredError()}),this.cssClasses.materialDecorator?h.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?h.createElement("svg",{className:this.cssClasses.itemDecorator},h.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,F),c)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.question.isDesignMode||this.item.setRootElement(this.rootRef.current)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.isDesignMode||this.item.setRootElement(void 0)},l}(ie);A.Instance.registerElement("survey-checkbox-item",function(p){return h.createElement(Dr,p)}),Ce.Instance.registerQuestion("checkbox",function(p){return h.createElement(Ii,p)});var Yn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ar=function(p){Yn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this;if(this.question.selectToRankEnabled){var c=!0;return h.createElement("div",{className:this.question.rootClass,ref:function(f){return a.setControl(f)}},h.createElement("div",{className:this.question.getContainerClasses("from"),"data-ranking":"from-container"},this.getItems(this.question.renderedUnRankingChoices,c),this.question.renderedUnRankingChoices.length===0?h.createElement("div",{className:this.question.cssClasses.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyRankedAreaText)," "):null),h.createElement("div",{className:this.question.cssClasses.containersDivider}),h.createElement("div",{className:this.question.getContainerClasses("to"),"data-ranking":"to-container"},this.getItems(),this.question.renderedRankingChoices.length===0?h.createElement("div",{className:this.question.cssClasses.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyUnrankedAreaText)," "):null))}else return h.createElement("div",{className:this.question.rootClass,ref:function(f){return a.setControl(f)}},this.getItems())},l.prototype.getItems=function(a,c){var f=this;a===void 0&&(a=this.question.renderedRankingChoices);for(var g=[],L=function(ye){var ae=a[ye];g.push(F.renderItem(ae,ye,function(Ve){f.question.handleKeydown.call(f.question,Ve,ae)},function(Ve){Ve.persist(),f.question.handlePointerDown.call(f.question,Ve,ae,Ve.currentTarget)},function(Ve){Ve.persist(),f.question.handlePointerUp.call(f.question,Ve,ae,Ve.currentTarget)},F.question.cssClasses,F.question.getItemClass(ae),F.question,c))},F=this,H=0;H<a.length;H++)L(H);return g},l.prototype.renderItem=function(a,c,f,g,L,F,H,ye,ae){""+a.renderedId;var Ve=this.renderLocString(a.locText),yt=c,Ze=this.question.getNumberByIndex(yt),cn=this.question.getItemTabIndex(a),qt=h.createElement(Di,{key:a.value,text:Ve,index:yt,indexText:Ze,itemTabIndex:cn,handleKeydown:f,handlePointerDown:g,handlePointerUp:L,cssClasses:F,itemClass:H,question:ye,unrankedItem:ae,item:a}),yr=this.question.survey,Zt=null;return yr&&(Zt=k.wrapItemValue(yr,qt,this.question,a)),Zt??qt},l}(ce),Di=function(p){Yn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"text",{get:function(){return this.props.text},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"indexText",{get:function(){return this.props.indexText},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"handleKeydown",{get:function(){return this.props.handleKeydown},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"handlePointerDown",{get:function(){return this.props.handlePointerDown},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"handlePointerUp",{get:function(){return this.props.handlePointerUp},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"itemClass",{get:function(){return this.props.itemClass},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"itemTabIndex",{get:function(){return this.props.itemTabIndex},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"unrankedItem",{get:function(){return this.props.unrankedItem},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.renderEmptyIcon=function(){return h.createElement("svg",null,h.createElement("use",{xlinkHref:this.question.dashSvgIcon}))},l.prototype.renderElement=function(){var a=A.Instance.createElement(this.question.itemComponent,{item:this.item,cssClasses:this.cssClasses});return h.createElement("div",{tabIndex:this.itemTabIndex,className:this.itemClass,onKeyDown:this.handleKeydown,onPointerDown:this.handlePointerDown,onPointerUp:this.handlePointerUp,"data-sv-drop-target-ranking-item":this.index},h.createElement("div",{tabIndex:-1,style:{outline:"none"}},h.createElement("div",{className:this.cssClasses.itemGhostNode}),h.createElement("div",{className:this.cssClasses.itemContent},h.createElement("div",{className:this.cssClasses.itemIconContainer},h.createElement("svg",{className:this.question.getIconHoverCss()},h.createElement("use",{xlinkHref:this.question.dragDropSvgIcon})),h.createElement("svg",{className:this.question.getIconFocusCss()},h.createElement("use",{xlinkHref:this.question.arrowsSvgIcon}))),h.createElement("div",{className:this.question.getItemIndexClasses(this.item)},!this.unrankedItem&&this.indexText?this.indexText:this.renderEmptyIcon()),a)))},l}(ie),Lr=function(p){Yn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){return h.createElement("div",{className:this.cssClasses.controlLabel},$.renderLocString(this.item.locText))},l}(ie);A.Instance.registerElement("sv-ranking-item",function(p){return h.createElement(Lr,p)}),Ce.Instance.registerQuestion("ranking",function(p){return h.createElement(Ar,p)});var Mr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ue=function(p){Mr(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnMouseDown=c.handleOnMouseDown.bind(c),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.handleOnMouseDown=function(a){this.question.onMouseDown()},l}($),jt=function(p){Mr(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this.renderLocString(this.item.locText);return w.a.createElement("label",{onMouseDown:this.handleOnMouseDown,className:this.question.getItemClassByText(this.item.itemValue,this.item.text)},w.a.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),w.a.createElement("span",{className:this.question.cssClasses.itemText,"data-text":this.item.text},a))},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this)},l}(Ue);A.Instance.registerElement("sv-rating-item",function(p){return w.a.createElement(jt,p)});var Jo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),jr=function(p){Jo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this;return w.a.createElement("label",{onMouseDown:this.handleOnMouseDown,className:this.question.getItemClass(this.item.itemValue),onMouseOver:function(c){return a.question.onItemMouseIn(a.item)},onMouseOut:function(c){return a.question.onItemMouseOut(a.item)}},w.a.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),w.a.createElement(ge,{className:"sv-star",size:"auto",iconName:this.question.itemStarIcon,title:this.item.text}),w.a.createElement(ge,{className:"sv-star-2",size:"auto",iconName:this.question.itemStarIconAlt,title:this.item.text}))},l}(Ue);A.Instance.registerElement("sv-rating-item-star",function(p){return w.a.createElement(jr,p)});var Go=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ai=function(p){Go(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this;return w.a.createElement("label",{onMouseDown:this.handleOnMouseDown,style:this.question.getItemStyle(this.item.itemValue,this.item.highlight),className:this.question.getItemClass(this.item.itemValue),onMouseOver:function(c){return a.question.onItemMouseIn(a.item)},onMouseOut:function(c){return a.question.onItemMouseOut(a.item)}},w.a.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),w.a.createElement(ge,{size:"auto",iconName:this.question.getItemSmileyIconName(this.item.itemValue),title:this.item.text}))},l}(Ue);A.Instance.registerElement("sv-rating-item-smiley",function(p){return w.a.createElement(Ai,p)});var De=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),fe=function(p){De(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.render=function(){if(!this.item)return null;var a=this.props.item,c=this.renderDescription(a);return w.a.createElement("div",{className:"sd-rating-dropdown-item"},w.a.createElement("span",{className:"sd-rating-dropdown-item_text"},a.title),c)},l.prototype.renderDescription=function(a){return a.description?w.a.createElement("div",{className:"sd-rating-dropdown-item_description"},this.renderLocString(a.description,void 0,"locString")):null},l}($);A.Instance.registerElement("sv-rating-dropdown-item",function(p){return w.a.createElement(fe,p)});var zt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Vn=function(p){zt(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.updateDomElement()},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.updateDomElement()},l.prototype.updateDomElement=function(){if(this.inputElement){var a=this.inputElement,c=this.model.inputStringRendered;C.Helpers.isTwoValueEquals(c,a.value,!1,!0,!1)||(a.value=this.model.inputStringRendered)}},l.prototype.onChange=function(a){var c=C.settings.environment.root;a.target===c.activeElement&&(this.model.inputStringRendered=a.target.value)},l.prototype.keyhandler=function(a){this.model.inputKeyHandler(a)},l.prototype.onBlur=function(a){this.question.onBlur(a)},l.prototype.onFocus=function(a){this.question.onFocus(a)},l.prototype.getStateElement=function(){return this.model},l.prototype.render=function(){var a=this;return h.createElement("div",{className:this.question.cssClasses.hint},this.model.showHintPrefix?h.createElement("div",{className:this.question.cssClasses.hintPrefix},h.createElement("span",null,this.model.hintStringPrefix)):null,h.createElement("div",{className:this.question.cssClasses.hintSuffixWrapper},this.model.showHintString?h.createElement("div",{className:this.question.cssClasses.hintSuffix},h.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},this.model.inputStringRendered),h.createElement("span",null,this.model.hintStringSuffix)):null,h.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),inputMode:this.model.inputMode,ref:function(c){return a.inputElement=c},className:this.question.cssClasses.filterStringInput,disabled:this.question.isInputReadOnly,readOnly:this.model.filterReadOnly?!0:void 0,size:this.model.inputStringRendered?void 0:1,role:this.model.filterStringEnabled?this.question.ariaRole:void 0,"aria-expanded":this.question.ariaExpanded,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-controls":this.model.listElementId,"aria-activedescendant":this.model.ariaActivedescendant,placeholder:this.model.filterStringPlaceholder,onKeyDown:function(c){a.keyhandler(c)},onChange:function(c){a.onChange(c)},onBlur:function(c){a.onBlur(c)},onFocus:function(c){a.onFocus(c)}})))},l}($);Ce.Instance.registerQuestion("sv-tagbox-filter",function(p){return h.createElement(Vn,p)});var pt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Li=function(p){pt(l,p);function l(a){var c=p.call(this,a)||this;return c.state={changed:0},c.setupModel(),c}return l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.setupModel()},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.setupModel()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.item&&(this.item.locText.onChanged=function(){})},l.prototype.setupModel=function(){if(this.item.locText){var a=this;this.item.locText.onChanged=function(){a.setState({changed:a.state.changed+1})}}},l.prototype.getStateElement=function(){return this.item},Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.item},l.prototype.renderElement=function(){return h.createElement("option",{value:this.item.value,disabled:!this.item.isEnabled},this.item.text)},l}(ie),Nr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Xn=function(p){Nr(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.click=function(c){var f;(f=a.question.dropdownListModel)===null||f===void 0||f.onClick(c)},a.chevronPointerDown=function(c){var f;(f=a.question.dropdownListModel)===null||f===void 0||f.chevronPointerDown(c)},a.clear=function(c){var f;(f=a.question.dropdownListModel)===null||f===void 0||f.onClear(c)},a.keyhandler=function(c){var f;(f=a.question.dropdownListModel)===null||f===void 0||f.keyHandler(c)},a.blur=function(c){a.updateInputDomElement(),a.question.onBlur(c)},a.focus=function(c){a.question.onFocus(c)},a}return l.prototype.getStateElement=function(){return this.question.dropdownListModel},l.prototype.setValueCore=function(a){this.questionBase.renderedValue=a},l.prototype.getValueCore=function(){return this.questionBase.renderedValue},l.prototype.renderReadOnlyElement=function(){return h.createElement("div",null,this.question.readOnlyText)},l.prototype.renderSelect=function(a){var c=this,f,g,L=null;if(this.question.isReadOnly){var F=this.question.selectedItemLocText?this.renderLocString(this.question.selectedItemLocText):"";L=h.createElement("div",{id:this.question.inputId,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,tabIndex:this.question.isDisabledAttr?void 0:0,className:this.question.getControlClass(),ref:function(H){return c.setControl(H)}},F,this.renderReadOnlyElement())}else L=h.createElement(h.Fragment,null,this.renderInput(this.question.dropdownListModel),h.createElement(Qe,{model:(g=(f=this.question)===null||f===void 0?void 0:f.dropdownListModel)===null||g===void 0?void 0:g.popupModel}));return h.createElement("div",{className:a.selectWrapper,onClick:this.click},L,this.createChevronButton())},l.prototype.renderValueElement=function(a){return this.question.showInputFieldComponent?A.Instance.createElement(this.question.inputFieldComponentName,{item:a.getSelectedAction(),question:this.question}):this.question.showSelectedItemLocText?this.renderLocString(this.question.selectedItemLocText):null},l.prototype.renderInput=function(a){var c=this,f=this.renderValueElement(a),g=C.settings.environment.root,L=function(F){F.target===g.activeElement&&(a.inputStringRendered=F.target.value)};return h.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:a.noTabIndex?void 0:0,disabled:this.question.isDisabledAttr,required:this.question.isRequired,onKeyDown:this.keyhandler,onBlur:this.blur,onFocus:this.focus,role:this.question.ariaRole,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,"aria-expanded":this.question.ariaExpanded,"aria-controls":a.listElementId,"aria-activedescendant":a.ariaActivedescendant,ref:function(F){return c.setControl(F)}},a.showHintPrefix?h.createElement("div",{className:this.question.cssClasses.hintPrefix},h.createElement("span",null,a.hintStringPrefix)):null,h.createElement("div",{className:this.question.cssClasses.controlValue},a.showHintString?h.createElement("div",{className:this.question.cssClasses.hintSuffix},h.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},a.inputStringRendered),h.createElement("span",null,a.hintStringSuffix)):null,f,h.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),ref:function(F){return c.inputElement=F},className:this.question.cssClasses.filterStringInput,role:a.filterStringEnabled?this.question.ariaRole:void 0,"aria-expanded":this.question.ariaExpanded,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-controls":a.listElementId,"aria-activedescendant":a.ariaActivedescendant,placeholder:a.placeholderRendered,readOnly:a.filterReadOnly?!0:void 0,tabIndex:a.noTabIndex?void 0:-1,disabled:this.question.isDisabledAttr,inputMode:a.inputMode,onChange:function(F){L(F)},onBlur:this.blur,onFocus:this.focus})),this.createClearButton())},l.prototype.createClearButton=function(){if(!this.question.allowClear||!this.question.cssClasses.cleanButtonIconId)return null;var a={display:this.question.showClearButton?"":"none"};return h.createElement("div",{className:this.question.cssClasses.cleanButton,style:a,onClick:this.clear,"aria-hidden":"true"},h.createElement(ge,{className:this.question.cssClasses.cleanButtonSvg,iconName:this.question.cssClasses.cleanButtonIconId,title:this.question.clearCaption,size:"auto"}))},l.prototype.createChevronButton=function(){return this.question.cssClasses.chevronButtonIconId?h.createElement("div",{className:this.question.cssClasses.chevronButton,"aria-hidden":"true",onPointerDown:this.chevronPointerDown},h.createElement(ge,{className:this.question.cssClasses.chevronButtonSvg,iconName:this.question.cssClasses.chevronButtonIconId,size:"auto"})):null},l.prototype.renderOther=function(a){return h.createElement("div",{className:this.question.getCommentAreaCss(!0)},h.createElement(ct,{question:this.question,otherCss:a.other,cssClasses:a,isDisplayMode:this.isDisplayMode,isOther:!0}))},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.updateInputDomElement()},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.updateInputDomElement()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.dropdownListModel&&(this.question.dropdownListModel.focused=!1)},l.prototype.updateInputDomElement=function(){if(this.inputElement){var a=this.inputElement,c=this.question.dropdownListModel.inputStringRendered;C.Helpers.isTwoValueEquals(c,a.value,!1,!0,!1)||(a.value=this.question.dropdownListModel.inputStringRendered)}},l}(We),_=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),qr=function(p){_(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.question.isOtherSelected?this.renderOther(a):null,f=this.renderSelect(a);return h.createElement("div",{className:this.question.renderCssRoot},f,c)},l}(Xn);Ce.Instance.registerQuestion("dropdown",function(p){return h.createElement(qr,p)});var Sn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),er=function(p){Sn(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.item&&!!this.question},l.prototype.renderElement=function(){var a=this,c=this.renderLocString(this.item.locText),f=function(g){a.question.dropdownListModel.deselectItem(a.item.value),g.stopPropagation()};return h.createElement("div",{className:"sv-tagbox__item"},h.createElement("div",{className:"sv-tagbox__item-text"},c),h.createElement("div",{className:this.question.cssClasses.cleanItemButton,onClick:f},h.createElement(ge,{className:this.question.cssClasses.cleanItemButtonSvg,iconName:this.question.cssClasses.cleanItemButtonIconId,size:"auto"})))},l}(ie),xt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ut=function(p){xt(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderItem=function(a,c){var f=h.createElement(er,{key:a,question:this.question,item:c});return f},l.prototype.renderInput=function(a){var c=this,f=a,g=this.question.selectedChoices.map(function(L,F){return c.renderItem("item"+F,L)});return h.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:a.noTabIndex?void 0:0,disabled:this.question.isInputReadOnly,required:this.question.isRequired,onKeyDown:this.keyhandler,onBlur:this.blur,role:this.question.ariaRole,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,"aria-expanded":this.question.ariaExpanded,"aria-controls":a.listElementId,"aria-activedescendant":a.ariaActivedescendant,ref:function(L){return c.setControl(L)}},h.createElement("div",{className:this.question.cssClasses.controlValue},g,h.createElement(Vn,{model:f,question:this.question})),this.createClearButton())},l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.question.isOtherSelected?this.renderOther(a):null,f=this.renderSelect(a);return h.createElement("div",{className:this.question.renderCssRoot},f,c)},l.prototype.renderReadOnlyElement=function(){return this.question.locReadOnlyText?this.renderLocString(this.question.locReadOnlyText):null},l}(Xn);Ce.Instance.registerQuestion("tagbox",function(p){return h.createElement(Ut,p)});var Zo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ye=function(p){Zo(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderSelect=function(a){var c=this,f=function(F){c.question.onClick(F)},g=function(F){c.question.onKeyUp(F)},L=this.isDisplayMode?h.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),disabled:!0},this.question.readOnlyText):h.createElement("select",{id:this.question.inputId,className:this.question.getControlClass(),ref:function(F){return c.setControl(F)},autoComplete:this.question.autocomplete,onChange:this.updateValueOnEvent,onInput:this.updateValueOnEvent,onClick:f,onKeyUp:g,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,required:this.question.isRequired},this.question.allowClear?h.createElement("option",{value:""},this.question.placeholder):null,this.question.visibleChoices.map(function(F,H){return h.createElement(Li,{key:"item"+H,item:F})}));return h.createElement("div",{className:a.selectWrapper},L,this.createChevronButton())},l}(qr);Ce.Instance.registerQuestion("sv-dropdown-select",function(p){return h.createElement(Ye,p)}),C.RendererFactory.Instance.registerRenderer("dropdown","select","sv-dropdown-select");var _r=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),on=function(p){_r(l,p);function l(a){var c=p.call(this,a)||this;return c.state={rowsChanged:0},c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){if(p.prototype.componentDidMount.call(this),this.question){var a=this;this.question.visibleRowsChangedCallback=function(){a.setState({rowsChanged:a.state.rowsChanged+1})}}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question&&(this.question.visibleRowsChangedCallback=null)},l.prototype.renderElement=function(){for(var a=this,c=this.question.cssClasses,f=this.question.hasRows?h.createElement("td",null):null,g=[],L=0;L<this.question.visibleColumns.length;L++){var F=this.question.visibleColumns[L],H="column"+L,ye=this.renderLocString(F.locText),ae={};this.question.columnMinWidth&&(ae.minWidth=this.question.columnMinWidth,ae.width=this.question.columnMinWidth),g.push(h.createElement("th",{className:this.question.cssClasses.headerCell,style:ae,key:H},this.wrapCell({column:F},ye,"column-header")))}for(var Ve=[],yt=this.question.visibleRows,L=0;L<yt.length;L++){var Ze=yt[L],H="row-"+Ze.name+"-"+L;Ve.push(h.createElement(Mi,{key:H,question:this.question,cssClasses:c,row:Ze,isFirst:L==0}))}var cn=this.question.showHeader?h.createElement("thead",null,h.createElement("tr",null,f,g)):null;return h.createElement("div",{className:c.tableWrapper,ref:function(qt){return a.setControl(qt)}},h.createElement("fieldset",null,h.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),h.createElement("table",{className:this.question.getTableCss()},cn,h.createElement("tbody",null,Ve))))},l}(ce),Mi=function(p){_r(l,p);function l(a){return p.call(this,a)||this}return l.prototype.getStateElement=function(){return this.row?this.row.item:p.prototype.getStateElement.call(this)},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),l.prototype.wrapCell=function(a,c,f){if(!f)return c;var g=this.question.survey,L=null;return g&&(L=k.wrapMatrixCell(g,c,a,f)),L??c},l.prototype.canRender=function(){return!!this.row},l.prototype.renderElement=function(){var a=null;if(this.question.hasRows){var c=this.renderLocString(this.row.locText),f={};this.question.rowTitleWidth&&(f.minWidth=this.question.rowTitleWidth,f.width=this.question.rowTitleWidth),a=h.createElement("td",{style:f,className:this.row.rowTextClasses},this.wrapCell({row:this.row},c,"row-header"))}var g=this.generateTds();return h.createElement("tr",{className:this.row.rowClasses||void 0},a,g)},l.prototype.generateTds=function(){for(var a=this,c=[],f=this.row,g=this.question.cellComponent,L=function(){var ye=null,ae=F.question.visibleColumns[H],Ve="value"+H,yt=F.question.getItemClass(f,ae);if(F.question.hasCellText){var Ze=function(qt){return function(){return a.cellClick(f,qt)}};ye=h.createElement("td",{key:Ve,className:yt,onClick:Ze?Ze(ae):function(){}},F.renderLocString(F.question.getCellDisplayLocText(f.name,ae)))}else{var cn=A.Instance.createElement(g,{question:F.question,row:F.row,column:ae,columnIndex:H,cssClasses:F.cssClasses,cellChanged:function(){a.cellClick(a.row,ae)}});ye=h.createElement("td",{key:Ve,"data-responsive-title":ae.locText.renderedHtml,className:F.question.cssClasses.cell},cn)}c.push(ye)},F=this,H=0;H<this.question.visibleColumns.length;H++)L();return c},l.prototype.cellClick=function(a,c){a.value=c.value,this.setState({value:this.row.value})},l}(ie),Ge=function(p){_r(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnMouseDown=c.handleOnMouseDown.bind(c),c.handleOnChange=c.handleOnChange.bind(c),c}return l.prototype.handleOnChange=function(a){this.props.cellChanged&&this.props.cellChanged()},l.prototype.handleOnMouseDown=function(a){this.question.onMouseDown()},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"columnIndex",{get:function(){return this.props.columnIndex},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.question&&!!this.row},l.prototype.renderElement=function(){var a=this.row.value==this.column.value,c=this.question.inputId+"_"+this.row.name+"_"+this.columnIndex,f=this.question.getItemClass(this.row,this.column),g=this.question.isMobile?h.createElement("span",{className:this.question.cssClasses.cellResponsiveTitle},this.renderLocString(this.column.locText)):void 0;return h.createElement("label",{onMouseDown:this.handleOnMouseDown,className:f},this.renderInput(c,a),h.createElement("span",{className:this.question.cssClasses.materialDecorator},this.question.itemSvgIcon?h.createElement("svg",{className:this.cssClasses.itemDecorator},h.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null),g)},l.prototype.renderInput=function(a,c){return h.createElement("input",{id:a,type:"radio",className:this.cssClasses.itemValue,name:this.row.fullName,value:this.column.value,disabled:this.row.isDisabledAttr,readOnly:this.row.isReadOnlyAttr,checked:c,onChange:this.handleOnChange,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.getCellAriaLabel(this.row.locText.renderedHtml,this.column.locText.renderedHtml),"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage})},l}(ie);A.Instance.registerElement("survey-matrix-cell",function(p){return h.createElement(Ge,p)}),Ce.Instance.registerQuestion("matrix",function(p){return h.createElement(on,p)});var On=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ji=function(p){On(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){this.reactOnStrChanged()},l.prototype.componentWillUnmount=function(){this.question.locHtml.onChanged=function(){}},l.prototype.componentDidUpdate=function(a,c){this.reactOnStrChanged()},l.prototype.reactOnStrChanged=function(){var a=this;this.question.locHtml.onChanged=function(){a.setState({changed:a.state&&a.state.changed?a.state.changed+1:1})}},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&!!this.question.html},l.prototype.renderElement=function(){var a={__html:this.question.locHtml.renderedHtml};return h.createElement("div",{className:this.question.renderCssRoot,dangerouslySetInnerHTML:a})},l}(ce);Ce.Instance.registerQuestion("html",function(p){return h.createElement(ji,p)});var Ni=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Pe=function(p){Ni(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){return h.createElement("div",{className:"sd-loading-indicator"},h.createElement(ge,{iconName:"icon-loading",size:"auto"}))},l}(h.Component),Ko=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Br=function(p){Ko(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a=this;return xn(w.a.createElement("label",{tabIndex:0,className:this.question.getChooseFileCss(),htmlFor:this.question.inputId,"aria-label":this.question.chooseButtonText,onClick:function(c){return a.question.chooseFile(c.nativeEvent)}},this.question.cssClasses.chooseFileIconId?w.a.createElement(ge,{title:this.question.chooseButtonText,iconName:this.question.cssClasses.chooseFileIconId,size:"auto"}):null,w.a.createElement("span",null,this.question.chooseButtonText)))},l}(ie);A.Instance.registerElement("sv-file-choose-btn",function(p){return w.a.createElement(Br,p)});var Fr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),tr=function(p){Fr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.allowShowPreview?this.renderPreview():null,f=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,g=this.question.isPlayingVideo?this.renderVideo():null,L=this.question.showFileDecorator?this.renderFileDecorator():null,F=this.question.showRemoveButton?this.renderClearButton(this.question.cssClasses.removeButton):null,H=this.question.showRemoveButtonBottom?this.renderClearButton(this.question.cssClasses.removeButtonBottom):null,ye=this.question.fileNavigatorVisible?h.createElement(Re,{model:this.question.fileNavigator}):null,ae;return this.question.isReadOnlyAttr?ae=h.createElement("input",{readOnly:!0,type:"file",className:this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,id:this.question.inputId,ref:function(Ve){return a.setControl(Ve)},style:this.isDisplayMode?{color:"transparent"}:{},multiple:this.question.allowMultiple,placeholder:this.question.title,accept:this.question.acceptedTypes}):this.question.isDisabledAttr?ae=h.createElement("input",{disabled:!0,type:"file",className:this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,id:this.question.inputId,ref:function(Ve){return a.setControl(Ve)},style:this.isDisplayMode?{color:"transparent"}:{},multiple:this.question.allowMultiple,placeholder:this.question.title,accept:this.question.acceptedTypes}):this.question.hasFileUI?ae=h.createElement("input",{type:"file",disabled:this.isDisplayMode,tabIndex:-1,className:this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,id:this.question.inputId,ref:function(Ve){return a.setControl(Ve)},style:this.isDisplayMode?{color:"transparent"}:{},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,multiple:this.question.allowMultiple,title:this.question.inputTitle,accept:this.question.acceptedTypes,capture:this.question.renderCapture}):ae=null,h.createElement("div",{className:this.question.fileRootCss,ref:function(Ve){return a.setContent(Ve)}},ae,h.createElement("div",{className:this.question.cssClasses.dragArea,onDrop:this.question.onDrop,onDragOver:this.question.onDragOver,onDragLeave:this.question.onDragLeave,onDragEnter:this.question.onDragEnter},L,f,g,F,c,H,ye))},l.prototype.renderFileDecorator=function(){var a=this.question.showChooseButton?this.renderChooseButton():null,c=this.question.actionsContainerVisible?h.createElement(Re,{model:this.question.actionsContainer}):null,f=this.question.isEmpty()?h.createElement("span",{className:this.question.cssClasses.noFileChosen},this.question.noFileChosenCaption):null;return h.createElement("div",{className:this.question.getFileDecoratorCss()},h.createElement("span",{className:this.question.cssClasses.dragAreaPlaceholder},this.renderLocString(this.question.locRenderedPlaceholder)),h.createElement("div",{className:this.question.cssClasses.wrapper},a,c,f))},l.prototype.renderChooseButton=function(){return h.createElement(Br,{data:{question:this.question}})},l.prototype.renderClearButton=function(a){return this.question.isUploading?null:h.createElement("button",{type:"button",onClick:this.question.doClean,className:a},h.createElement("span",null,this.question.clearButtonCaption),this.question.cssClasses.removeButtonIconId?h.createElement(ge,{iconName:this.question.cssClasses.removeButtonIconId,size:"auto",title:this.question.clearButtonCaption}):null)},l.prototype.renderPreview=function(){return A.Instance.createElement("sv-file-preview",{question:this.question})},l.prototype.renderLoadingIndicator=function(){return h.createElement("div",{className:this.question.cssClasses.loadingIndicator},h.createElement(Pe,null))},l.prototype.renderVideo=function(){return h.createElement("div",{className:this.question.cssClasses.videoContainer},h.createElement($e,{item:this.question.changeCameraAction}),h.createElement($e,{item:this.question.closeCameraAction}),h.createElement("video",{autoPlay:!0,playsInline:!0,id:this.question.videoId,className:this.question.cssClasses.video}),h.createElement($e,{item:this.question.takePictureAction}))},l}(ce);Ce.Instance.registerQuestion("file",function(p){return h.createElement(tr,p)});var qi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),En=function(p){qi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.renderFileSign=function(a,c){var f=this;return!a||!c.name?null:w.a.createElement("div",{className:a},w.a.createElement("a",{href:c.content,onClick:function(g){f.question.doDownloadFile(g,c)},title:c.name,download:c.name,style:{width:this.question.imageWidth}},c.name))},l.prototype.renderElement=function(){var a=this,c=this.item;return w.a.createElement("span",{className:this.question.cssClasses.previewItem,onClick:function(f){return a.question.doDownloadFileFromContainer(f)}},this.renderFileSign(this.question.cssClasses.fileSign,c),w.a.createElement("div",{className:this.question.getImageWrapperCss(c)},this.question.canPreviewImage(c)?w.a.createElement("img",{src:c.content,style:{height:this.question.imageHeight,width:this.question.imageWidth},alt:"File preview"}):this.question.cssClasses.defaultImage?w.a.createElement(ge,{iconName:this.question.cssClasses.defaultImageIconId,size:"auto",className:this.question.cssClasses.defaultImage}):null,c.name&&!this.question.isReadOnly?w.a.createElement("div",{className:this.question.getRemoveButtonCss(),onClick:function(f){return a.question.doRemoveFile(c,f)}},w.a.createElement("span",{className:this.question.cssClasses.removeFile},this.question.removeFileCaption),this.question.cssClasses.removeFileSvgIconId?w.a.createElement(ge,{title:this.question.removeFileCaption,iconName:this.question.cssClasses.removeFileSvgIconId,size:"auto",className:this.question.cssClasses.removeFileSvg}):null):null),this.renderFileSign(this.question.cssClasses.fileSignBottom,c))},l.prototype.canRender=function(){return this.question.showPreviewContainer},l}($),xe=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Yo=function(p){xe(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"page",{get:function(){return this.props.page},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.page.items.map(function(f,g){return w.a.createElement(En,{item:f,question:a.question,key:g})});return w.a.createElement("div",{className:this.page.css,id:this.page.id},c)},l}($),Xo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Tn=function(p){Xo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.renderFileSign=function(a,c){var f=this;return!a||!c.name?null:w.a.createElement("div",{className:a},w.a.createElement("a",{href:c.content,onClick:function(g){f.question.doDownloadFile(g,c)},title:c.name,download:c.name,style:{width:this.question.imageWidth}},c.name))},l.prototype.renderElement=function(){var a=this,c=this.question.supportFileNavigator?this.question.renderedPages.map(function(f,g){return w.a.createElement(Yo,{page:f,question:a.question,key:f.id})}):this.question.previewValue.map(function(f,g){return w.a.createElement(En,{item:f,question:a.question,key:g})});return w.a.createElement("div",{className:this.question.cssClasses.fileList||void 0},c)},l.prototype.canRender=function(){return this.question.showPreviewContainer},l}($);A.Instance.registerElement("sv-file-preview",function(p){return w.a.createElement(Tn,p)});var kr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),sn=function(p){kr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){for(var a=this.question.cssClasses,c=this.question.getRows(),f=[],g=0;g<c.length;g++)c[g].isVisible&&f.push(this.renderRow(g,c[g].cells,a));return h.createElement("table",{className:this.question.getQuestionRootCss()},h.createElement("tbody",null,f))},l.prototype.renderCell=function(a,c,f){var g,L=function(){a.item.focusIn()};return a.isErrorsCell?g=h.createElement(wi,{question:a.item.editor,creator:this.creator}):g=h.createElement(Qr,{question:this.question,item:a.item,creator:this.creator,cssClasses:c}),h.createElement("td",{key:"item"+f,className:a.className,onFocus:L},g)},l.prototype.renderRow=function(a,c,f){for(var g="item"+a,L=[],F=0;F<c.length;F++){var H=c[F];L.push(this.renderCell(H,f,F))}return h.createElement("tr",{key:g,className:f.row},L)},l}(ce),Qr=function(p){kr(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElements=function(){return[this.item,this.item.editor]},Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this.item,c=this.cssClasses,f={};return this.question.itemTitleWidth&&(f.minWidth=this.question.itemTitleWidth,f.width=this.question.itemTitleWidth),h.createElement("label",{className:this.question.getItemLabelCss(a)},h.createElement("span",{className:c.itemTitle,style:f},h.createElement(he,{element:a.editor,cssClasses:a.editor.cssClasses})),h.createElement(_i,{cssClasses:c,itemCss:this.question.getItemCss(),question:a.editor,creator:this.creator}))},l}(ie),_i=function(p){kr(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.renderElement=function(){return h.createElement("div",{className:this.itemCss},this.renderContent())},l}(bi);Ce.Instance.registerQuestion("multipletext",function(p){return h.createElement(sn,p)});var nr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Rn=function(p){nr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses,f=null;return this.question.showClearButtonInContent&&(f=h.createElement("div",null,h.createElement("input",{type:"button",className:this.question.cssClasses.clearButton,onClick:function(){return a.question.clearValue(!0)},value:this.question.clearButtonCaption}))),h.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),ref:function(g){return a.setControl(g)},role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage},this.question.hasColumns?this.getColumnedBody(c):this.getBody(c),this.getFooter(),this.question.isOtherSelected?this.renderOther(c):null,f)},l.prototype.getFooter=function(){var a=this;if(this.question.hasFootItems)return this.question.footItems.map(function(c,f){return a.renderItem(c,!1,a.question.cssClasses)})},l.prototype.getColumnedBody=function(a){return h.createElement("div",{className:a.rootMultiColumn},this.getColumns(a))},l.prototype.getColumns=function(a){var c=this,f=this.getStateValue();return this.question.columns.map(function(g,L){var F=g.map(function(H,ye){return c.renderItem(H,f,a,""+L+ye)});return h.createElement("div",{key:"column"+L+c.question.getItemsColumnKey(g),className:c.question.getColumnClass(),role:"presentation"},F)})},l.prototype.getBody=function(a){return this.question.blockedRow?h.createElement("div",{className:a.rootRow},this.getItems(a,this.question.dataChoices)):h.createElement(h.Fragment,null,this.getItems(a,this.question.bodyItems))},l.prototype.getItems=function(a,c){for(var f=[],g=this.getStateValue(),L=0;L<c.length;L++){var F=c[L],H=this.renderItem(F,g,a,""+L);f.push(H)}return f},Object.defineProperty(l.prototype,"textStyle",{get:function(){return null},enumerable:!1,configurable:!0}),l.prototype.renderOther=function(a){return h.createElement("div",{className:this.question.getCommentAreaCss(!0)},h.createElement(ct,{question:this.question,otherCss:a.other,cssClasses:a,isDisplayMode:this.isDisplayMode}))},l.prototype.renderItem=function(a,c,f,g){var L=A.Instance.createElement(this.question.itemComponent,{key:a.value,question:this.question,cssClasses:f,isDisplayMode:this.isDisplayMode,item:a,textStyle:this.textStyle,index:g,isChecked:c===a.value}),F=this.question.survey,H=null;return F&&(H=k.wrapItemValue(F,L,this.question,a)),H??L},l.prototype.getStateValue=function(){return this.question.isEmpty()?"":this.question.renderedValue},l}(ce),In=function(p){nr(l,p);function l(a){var c=p.call(this,a)||this;return c.rootRef=h.createRef(),c.handleOnChange=c.handleOnChange.bind(c),c.handleOnMouseDown=c.handleOnMouseDown.bind(c),c}return l.prototype.getStateElement=function(){return this.item},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"textStyle",{get:function(){return this.props.textStyle},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isChecked",{get:function(){return this.props.isChecked},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"hideCaption",{get:function(){return this.props.hideCaption===!0},enumerable:!1,configurable:!0}),l.prototype.shouldComponentUpdate=function(a,c){return!p.prototype.shouldComponentUpdate.call(this,a,c)||!this.question?!1:!this.question.customWidget||!!this.question.customWidgetData.isNeedRender||!!this.question.customWidget.widgetJson.isDefaultRender||!!this.question.customWidget.widgetJson.render},l.prototype.handleOnChange=function(a){this.question.clickItemHandler(this.item)},l.prototype.handleOnMouseDown=function(a){this.question.onMouseDown()},l.prototype.canRender=function(){return!!this.question&&!!this.item},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),a.item!==this.props.item&&!this.question.isDesignMode&&(this.props.item&&this.props.item.setRootElement(this.rootRef.current),a.item&&a.item.setRootElement(void 0))},l.prototype.renderElement=function(){var a=this.question.getItemClass(this.item),c=this.question.getLabelClass(this.item),f=this.question.getControlLabelClass(this.item),g=this.hideCaption?null:h.createElement("span",{className:f},this.renderLocString(this.item.locText,this.textStyle));return h.createElement("div",{className:a,role:"presentation",ref:this.rootRef},h.createElement("label",{onMouseDown:this.handleOnMouseDown,className:c},h.createElement("input",{"aria-errormessage":this.question.ariaErrormessage,className:this.cssClasses.itemControl,id:this.question.getItemId(this.item),type:"radio",name:this.question.questionName,checked:this.isChecked,value:this.item.value,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange}),this.cssClasses.materialDecorator?h.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?h.createElement("svg",{className:this.cssClasses.itemDecorator},h.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,g))},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.question.isDesignMode||this.item.setRootElement(this.rootRef.current)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.isDesignMode||this.item.setRootElement(void 0)},l}(ie);A.Instance.registerElement("survey-radiogroup-item",function(p){return h.createElement(In,p)}),Ce.Instance.registerQuestion("radiogroup",function(p){return h.createElement(Rn,p)});var Nt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),rr=function(p){Nt(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderInput=function(){var a=this,c=this.question.getControlClass(),f=this.question.renderedPlaceholder;if(this.question.isReadOnlyRenderDiv())return h.createElement("div",null,this.question.inputValue);var g=this.question.getMaxLength()?h.createElement(Ot,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter}):null;return h.createElement(h.Fragment,null,h.createElement("input",{id:this.question.inputId,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:c,type:this.question.inputType,ref:function(L){return a.setControl(L)},style:this.question.inputStyle,maxLength:this.question.getMaxLength(),min:this.question.renderedMin,max:this.question.renderedMax,step:this.question.renderedStep,size:this.question.inputSize,placeholder:f,list:this.question.dataListId,autoComplete:this.question.autocomplete,onBlur:function(L){a.question.onBlur(L)},onFocus:function(L){a.question.onFocus(L)},onChange:this.question.onChange,onKeyUp:this.question.onKeyUp,onKeyDown:this.question.onKeyDown,onCompositionUpdate:function(L){return a.question.onCompositionUpdate(L.nativeEvent)},"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),g)},l.prototype.renderElement=function(){return this.question.dataListId?h.createElement("div",null,this.renderInput(),this.renderDataList()):this.renderInput()},l.prototype.setValueCore=function(a){this.question.inputValue=a},l.prototype.getValueCore=function(){return this.question.inputValue},l.prototype.renderDataList=function(){if(!this.question.dataListId)return null;var a=this.question.dataList;if(a.length==0)return null;for(var c=[],f=0;f<a.length;f++)c.push(h.createElement("option",{key:"item"+f,value:a[f]}));return h.createElement("datalist",{id:this.question.dataListId},c)},l}(We);Ce.Instance.registerQuestion("text",function(p){return h.createElement(rr,p)});var Bi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),rt=function(p){Bi(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnChange=c.handleOnChange.bind(c),c.handleOnClick=c.handleOnClick.bind(c),c.handleOnLabelClick=c.handleOnLabelClick.bind(c),c.handleOnSwitchClick=c.handleOnSwitchClick.bind(c),c.handleOnKeyDown=c.handleOnKeyDown.bind(c),c.checkRef=h.createRef(),c}return l.prototype.getStateElement=function(){return this.question},Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.doCheck=function(a){this.question.booleanValue=a},l.prototype.handleOnChange=function(a){this.doCheck(a.target.checked)},l.prototype.handleOnClick=function(a){this.question.onLabelClick(a,!0)},l.prototype.handleOnSwitchClick=function(a){this.question.onSwitchClickModel(a.nativeEvent)},l.prototype.handleOnLabelClick=function(a,c){this.question.onLabelClick(a,c)},l.prototype.handleOnKeyDown=function(a){this.question.onKeyDownCore(a)},l.prototype.updateDomElement=function(){if(this.question){var a=this.checkRef.current;a&&(a.indeterminate=this.question.isIndeterminate),this.setControl(a),p.prototype.updateDomElement.call(this)}},l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses,f=this.question.getItemCss();return h.createElement("div",{className:c.root,onKeyDown:this.handleOnKeyDown},h.createElement("label",{className:f,onClick:this.handleOnClick},h.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:this.question.booleanValue===null?"":this.question.booleanValue,id:this.question.inputId,className:c.control,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),h.createElement("div",{className:c.sliderGhost,onClick:function(g){return a.handleOnLabelClick(g,a.question.swapOrder)}},h.createElement("span",{className:this.question.getLabelCss(this.question.swapOrder)},this.renderLocString(this.question.locLabelLeft))),h.createElement("div",{className:c.switch,onClick:this.handleOnSwitchClick},h.createElement("span",{className:c.slider},this.question.isDeterminated&&c.sliderText?h.createElement("span",{className:c.sliderText},this.renderLocString(this.question.getCheckedLabel())):null)),h.createElement("div",{className:c.sliderGhost,onClick:function(g){return a.handleOnLabelClick(g,!a.question.swapOrder)}},h.createElement("span",{className:this.question.getLabelCss(!this.question.swapOrder)},this.renderLocString(this.question.locLabelRight)))))},l}(ce);Ce.Instance.registerQuestion("boolean",function(p){return h.createElement(rt,p)});var ir=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),or=function(p){ir(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.question.getCheckboxItemCss(),f=this.question.canRenderLabelDescription?$.renderQuestionDescription(this.question):null;return h.createElement("div",{className:a.rootCheckbox},h.createElement("div",{className:c},h.createElement("label",{className:a.checkboxLabel},h.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:this.question.booleanValue===null?"":this.question.booleanValue,id:this.question.inputId,className:a.controlCheckbox,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),h.createElement("span",{className:a.checkboxMaterialDecorator},this.question.svgIcon?h.createElement("svg",{className:a.checkboxItemDecorator},h.createElement("use",{xlinkHref:this.question.svgIcon})):null,h.createElement("span",{className:"check"})),this.question.isLabelRendered&&h.createElement("span",{className:a.checkboxControlLabel,id:this.question.labelRenderedAriaID},h.createElement(Je,{element:this.question,cssClasses:this.question.cssClasses}))),f))},l}(rt);Ce.Instance.registerQuestion("sv-boolean-checkbox",function(p){return h.createElement(or,p)}),C.RendererFactory.Instance.registerRenderer("boolean","checkbox","sv-boolean-checkbox");var _e=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Fi=function(p){_e(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnChange=function(f){c.question.booleanValue=f.nativeEvent.target.value=="true"},c}return l.prototype.renderRadioItem=function(a,c){var f=this.question.cssClasses;return h.createElement("div",{role:"presentation",className:this.question.getRadioItemClass(f,a)},h.createElement("label",{className:f.radioLabel},h.createElement("input",{type:"radio",name:this.question.name,value:a,"aria-errormessage":this.question.ariaErrormessage,checked:a===this.question.booleanValueRendered,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:f.itemRadioControl,onChange:this.handleOnChange}),this.question.cssClasses.materialRadioDecorator?h.createElement("span",{className:f.materialRadioDecorator},this.question.itemSvgIcon?h.createElement("svg",{className:f.itemRadioDecorator},h.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,h.createElement("span",{className:f.radioControlLabel},this.renderLocString(c))))},l.prototype.renderElement=function(){var a=this.question.cssClasses;return h.createElement("div",{className:a.rootRadio},h.createElement("fieldset",{role:"presentation",className:a.radioFieldset},this.question.swapOrder?h.createElement(h.Fragment,null,this.renderRadioItem(!0,this.question.locLabelTrue),this.renderRadioItem(!1,this.question.locLabelFalse)):h.createElement(h.Fragment,null,this.renderRadioItem(!1,this.question.locLabelFalse),this.renderRadioItem(!0,this.question.locLabelTrue))))},l}(rt);Ce.Instance.registerQuestion("sv-boolean-radio",function(p){return h.createElement(Fi,p)}),C.RendererFactory.Instance.registerRenderer("boolean","radio","sv-boolean-radio");var gt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Hr=function(p){gt(l,p);function l(a){var c=p.call(this,a)||this;return c.state={value:c.question.value},c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){return h.createElement("div",null)},l}(ce);Ce.Instance.registerQuestion("empty",function(p){return h.createElement(Hr,p)});var ki=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Wt=function(p){ki(l,p);function l(a){var c=p.call(this,a)||this;return c.root=w.a.createRef(),c.onPointerDownHandler=function(f){c.parentMatrix.onPointerDown(f.nativeEvent,c.model.row)},c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"parentMatrix",{get:function(){return this.props.parentMatrix},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.root.current&&this.model.setRootElement(this.root.current)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.model.setRootElement(void 0)},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?(a.model!==this.model&&(a.element&&a.element.setRootElement(this.root.current),this.model&&this.model.setRootElement(void 0)),!0):!1},l.prototype.render=function(){var a=this,c=this.model;return c.visible?w.a.createElement("tr",{ref:this.root,className:c.className,"data-sv-drop-target-matrix-row":c.row&&c.row.id,onPointerDown:function(f){return a.onPointerDownHandler(f)}},this.props.children):null},l}($);A.Instance.registerElement("sv-matrix-row",function(p){return w.a.createElement(Wt,p)});var Dn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),sr=function(p){Dn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){return w.a.createElement("div",null,this.renderIcon())},l.prototype.renderIcon=function(){return this.question.iconDragElement?w.a.createElement("svg",{className:this.question.cssClasses.dragElementDecorator},w.a.createElement("use",{xlinkHref:this.question.iconDragElement})):w.a.createElement("span",{className:this.question.cssClasses.iconDrag})},l}(ie);A.Instance.registerElement("sv-matrix-drag-drop-icon",function(p){return w.a.createElement(sr,p)});var an=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),An=function(p){an(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"table",{get:function(){return this.question.renderedTable},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.table},l.prototype.wrapCell=function(a,c,f){return this.props.wrapCell(a,c,f)},l.prototype.renderHeader=function(){var a=this.question.renderedTable;if(!a.showHeader)return null;for(var c=[],f=a.headerRow.cells,g=0;g<f.length;g++){var L=f[g],F="column"+g,H={};L.width&&(H.width=L.width),L.minWidth&&(H.minWidth=L.minWidth);var ye=this.renderCellContent(L,"column-header",{}),ae=L.hasTitle?h.createElement("th",{className:L.className,key:F,style:H}," ",ye," "):h.createElement("td",{className:L.className,key:F,style:H});c.push(ae)}return h.createElement("thead",null,h.createElement("tr",null,c))},l.prototype.renderFooter=function(){var a=this.question.renderedTable;if(!a.showFooter)return null;var c=this.renderRow("footer",a.footerRow,this.question.cssClasses,"row-footer");return h.createElement("tfoot",null,c)},l.prototype.renderRows=function(){for(var a=this.question.cssClasses,c=[],f=this.question.renderedTable.renderedRows,g=0;g<f.length;g++)c.push(this.renderRow(f[g].id,f[g],a));return h.createElement("tbody",null,c)},l.prototype.renderRow=function(a,c,f,g){for(var L=[],F=c.cells,H=0;H<F.length;H++)L.push(this.renderCell(F[H],f,g));var ye="row"+a;return h.createElement(h.Fragment,{key:ye},g=="row-footer"?h.createElement("tr",null,L):h.createElement(Wt,{model:c,parentMatrix:this.question},L))},l.prototype.renderCell=function(a,c,f){var g="cell"+a.id;if(a.hasQuestion)return h.createElement(Qi,{key:g,cssClasses:c,cell:a,creator:this.creator,reason:f});if(a.isErrorsCell&&a.isErrorsCell)return h.createElement(ar,{cell:a,key:g,keyValue:g,question:a.question,creator:this.creator});var L=f;L||(L=a.hasTitle?"row-header":"");var F=this.renderCellContent(a,L,c),H=null;return(a.width||a.minWidth)&&(H={},a.width&&(H.width=a.width),a.minWidth&&(H.minWidth=a.minWidth)),h.createElement("td",{className:a.className,key:g,style:H,colSpan:a.colSpans,title:a.getTitle()},F)},l.prototype.renderCellContent=function(a,c,f){var g=null,L=null;if((a.width||a.minWidth)&&(L={},a.width&&(L.width=a.width),a.minWidth&&(L.minWidth=a.minWidth)),a.hasTitle){c="row-header";var F=this.renderLocString(a.locTitle),H=a.column?h.createElement(lr,{column:a.column,question:this.question}):null;g=h.createElement(h.Fragment,null,F,H)}if(a.isDragHandlerCell&&(g=h.createElement(h.Fragment,null,h.createElement(sr,{item:{data:{row:a.row,question:this.question}}}))),a.isActionsCell&&(g=A.Instance.createElement("sv-matrixdynamic-actions-cell",{question:this.question,cssClasses:f,cell:a,model:a.item.getData()})),a.hasPanel&&(g=h.createElement(ze,{key:a.panel.id,element:a.panel,survey:this.question.survey,cssClasses:f,isDisplayMode:this.isDisplayMode,creator:this.creator})),!g)return null;var ye=h.createElement(h.Fragment,null,g);return this.wrapCell(a,ye,c)},l.prototype.renderElement=function(){var a=this.renderHeader(),c=this.renderFooter(),f=this.renderRows();return h.createElement("table",{className:this.question.getTableCss()},a,f,c)},l}($),Ln=function(p){an(l,p);function l(a){var c=p.call(this,a)||this;return c.question.renderedTable,c.state=c.getState(),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.getState=function(a){return a===void 0&&(a=null),{rowCounter:a?a.rowCounter+1:0}},l.prototype.updateStateOnCallback=function(){this.isRendering||this.setState(this.getState(this.state))},l.prototype.componentDidMount=function(){var a=this;p.prototype.componentDidMount.call(this),this.question.onRenderedTableResetCallback=function(){a.updateStateOnCallback()}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.onRenderedTableResetCallback=function(){}},l.prototype.renderElement=function(){return this.renderTableDiv()},l.prototype.renderTableDiv=function(){var a=this,c=this.question.showHorizontalScroll?{overflowX:"scroll"}:{};return h.createElement("div",{style:c,className:this.question.cssClasses.tableWrapper,ref:function(f){return a.setControl(f)}},h.createElement(An,{question:this.question,creator:this.creator,wrapCell:function(f,g,L){return a.wrapCell(f,g,L)}}))},l}(ce),es=function(p){an(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){return h.createElement(Re,{model:this.model,handleClick:!1})},l}(ie),ar=function(p){an(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"key",{get:function(){return this.props.keyValue},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),l.prototype.render=function(){return this.cell.isVisible?h.createElement("td",{className:this.cell.className,key:this.key,colSpan:this.cell.colSpans,title:this.cell.getTitle()},p.prototype.render.call(this)):null},l.prototype.getQuestionPropertiesToTrack=function(){return p.prototype.getQuestionPropertiesToTrack.call(this).concat(["visible"])},l}(wi);A.Instance.registerElement("sv-matrixdynamic-actions-cell",function(p){return h.createElement(es,p)});var lr=function(p){an(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.column},l.prototype.renderElement=function(){return this.column.isRenderedRequired?h.createElement(h.Fragment,null,h.createElement("span",null," "),h.createElement("span",{className:this.question.cssClasses.cellRequiredText},this.column.requiredText)):null},l}(ie),Qi=function(p){an(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"itemCss",{get:function(){return this.cell?this.cell.className:""},enumerable:!1,configurable:!0}),l.prototype.getQuestion=function(){var a=p.prototype.getQuestion.call(this);return a||(this.cell?this.cell.question:null)},l.prototype.doAfterRender=function(){var a=this.cellRef.current;if(a&&this.cell&&this.question&&this.question.survey&&a.getAttribute("data-rendered")!=="r"){a.setAttribute("data-rendered","r");var c={cell:this.cell,cellQuestion:this.question,htmlElement:a,row:this.cell.row,column:this.cell.cell.column};this.question.survey.matrixAfterCellRender(this.question,c),this.question.afterRenderCore(a)}},l.prototype.getShowErrors=function(){return this.question.isVisible&&(!this.cell.isChoice||this.cell.isFirstChoice)},l.prototype.getCellStyle=function(){var a=p.prototype.getCellStyle.call(this);return(this.cell.width||this.cell.minWidth)&&(a||(a={}),this.cell.width&&(a.width=this.cell.width),this.cell.minWidth&&(a.minWidth=this.cell.minWidth)),a},l.prototype.getHeaderText=function(){return this.cell.headers},l.prototype.renderElement=function(){return this.cell.isVisible?p.prototype.renderElement.call(this):null},l.prototype.renderCellContent=function(){var a=p.prototype.renderCellContent.call(this),c=this.cell.showResponsiveTitle?h.createElement("span",{className:this.cell.responsiveTitleCss},this.renderLocString(this.cell.responsiveLocTitle),h.createElement(lr,{column:this.cell.column,question:this.cell.matrix})):null;return h.createElement(h.Fragment,null,c,a)},l.prototype.renderQuestion=function(){return this.question.isVisible?this.cell.isChoice?this.cell.isOtherChoice?this.renderOtherComment():this.cell.isCheckbox?this.renderCellCheckboxButton():this.renderCellRadiogroupButton():nn.renderQuestionBody(this.creator,this.question):h.createElement(h.Fragment,null)},l.prototype.renderOtherComment=function(){var a=this.cell.question,c=a.cssClasses||{};return h.createElement(ct,{question:a,cssClasses:c,otherCss:c.other,isDisplayMode:a.isInputReadOnly})},l.prototype.renderCellCheckboxButton=function(){var a=this.cell.question.id+"item"+this.cell.choiceIndex;return h.createElement(Dr,{key:a,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,isFirst:this.cell.isFirstChoice,index:this.cell.choiceIndex.toString(),hideCaption:!0})},l.prototype.renderCellRadiogroupButton=function(){var a=this.cell.question.id+"item"+this.cell.choiceIndex;return h.createElement(In,{key:a,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,index:this.cell.choiceIndex.toString(),isChecked:this.cell.question.value===this.cell.item.value,isDisabled:this.cell.question.isReadOnly||!this.cell.item.isEnabled,hideCaption:!0})},l}(Ci),zr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Hi=function(p){zr(l,p);function l(a){return p.call(this,a)||this}return l}(Ln);Ce.Instance.registerQuestion("matrixdropdown",function(p){return h.createElement(Hi,p)});var ur=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ur=function(p){ur(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnRowAddClick=c.handleOnRowAddClick.bind(c),c}return Object.defineProperty(l.prototype,"matrix",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.handleOnRowAddClick=function(a){this.matrix.addRowUI()},l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.question.renderedTable.showTable,f=c?this.renderTableDiv():this.renderNoRowsContent(a);return h.createElement("div",null,this.renderAddRowButtonOnTop(a),f,this.renderAddRowButtonOnBottom(a))},l.prototype.renderAddRowButtonOnTop=function(a){return this.matrix.renderedTable.showAddRowOnTop?this.renderAddRowButton(a):null},l.prototype.renderAddRowButtonOnBottom=function(a){return this.matrix.renderedTable.showAddRowOnBottom?this.renderAddRowButton(a):null},l.prototype.renderNoRowsContent=function(a){var c=this.renderLocString(this.matrix.locEmptyRowsText),f=h.createElement("div",{className:a.emptyRowsText},c),g=this.matrix.renderedTable.showAddRow?this.renderAddRowButton(a,!0):void 0;return h.createElement("div",{className:a.emptyRowsSection},f,g)},l.prototype.renderAddRowButton=function(a,c){return c===void 0&&(c=!1),A.Instance.createElement("sv-matrixdynamic-add-btn",{question:this.question,cssClasses:a,isEmptySection:c})},l}(Ln);Ce.Instance.registerQuestion("matrixdynamic",function(p){return h.createElement(Ur,p)});var cr=function(p){ur(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnRowAddClick=c.handleOnRowAddClick.bind(c),c}return Object.defineProperty(l.prototype,"matrix",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.handleOnRowAddClick=function(a){this.matrix.addRowUI()},l.prototype.renderElement=function(){var a=this.renderLocString(this.matrix.locAddRowText),c=h.createElement("button",{className:this.matrix.getAddRowButtonCss(this.props.isEmptySection),type:"button",disabled:this.matrix.isInputReadOnly,onClick:this.matrix.isDesignMode?void 0:this.handleOnRowAddClick},a,h.createElement("span",{className:this.props.cssClasses.iconAdd}));return this.props.isEmptySection?c:h.createElement("div",{className:this.props.cssClasses.footer},c)},l}(ie);A.Instance.registerElement("sv-matrixdynamic-add-btn",function(p){return h.createElement(cr,p)});var zi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Mn=function(p){zi(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"data",{get:function(){return this.props.item&&this.props.item.data||this.props.data},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),l}(ie),Ui=function(p){zi(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleClick=function(c){a.question.addPanelUI()},a}return l.prototype.renderElement=function(){if(!this.question.canAddPanel)return null;var a=this.renderLocString(this.question.locPanelAddText);return w.a.createElement("button",{type:"button",id:this.question.addButtonId,className:this.question.getAddButtonCss(),onClick:this.handleClick},w.a.createElement("span",{className:this.question.cssClasses.buttonAddText},a))},l}(Mn);A.Instance.registerElement("sv-paneldynamic-add-btn",function(p){return w.a.createElement(Ui,p)});var ts=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Et=function(p){ts(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleClick=function(c){a.question.goToNextPanel()},a}return l.prototype.renderElement=function(){return w.a.createElement("div",{title:this.question.panelNextText,onClick:this.handleClick,className:this.question.getNextButtonCss()},w.a.createElement(ge,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},l}(Mn);A.Instance.registerElement("sv-paneldynamic-next-btn",function(p){return w.a.createElement(Et,p)});var pr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),jn=function(p){pr(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleClick=function(c){a.question.goToPrevPanel()},a}return l.prototype.renderElement=function(){return w.a.createElement("div",{title:this.question.panelPrevText,onClick:this.handleClick,className:this.question.getPrevButtonCss()},w.a.createElement(ge,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},l}(Mn);A.Instance.registerElement("sv-paneldynamic-prev-btn",function(p){return w.a.createElement(jn,p)});var Wi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),fr=function(p){Wi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.renderElement=function(){return w.a.createElement("div",{className:this.question.cssClasses.progressText},this.question.progressText)},l}(Mn);A.Instance.registerElement("sv-paneldynamic-progress-text",function(p){return w.a.createElement(fr,p)});var $i=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),dr=function(p){$i(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.setState({panelCounter:0});var a=this;this.question.panelCountChangedCallback=function(){a.updateQuestionRendering()},this.question.currentIndexChangedCallback=function(){a.updateQuestionRendering()},this.question.renderModeChangedCallback=function(){a.updateQuestionRendering()}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.panelCountChangedCallback=function(){},this.question.currentIndexChangedCallback=function(){},this.question.renderModeChangedCallback=function(){}},l.prototype.updateQuestionRendering=function(){this.setState({panelCounter:this.state?this.state.panelCounter+1:1})},l.prototype.renderElement=function(){var a=this,c=[];this.question.renderedPanels.forEach(function(ye,ae){c.push(h.createElement(ns,{key:ye.id,element:ye,question:a.question,index:ae,cssClasses:a.question.cssClasses,isDisplayMode:a.isDisplayMode,creator:a.creator}))});var f=this.question.isRenderModeList&&this.question.showLegacyNavigation?this.renderAddRowButton():null,g=this.question.isProgressTopShowing?this.renderNavigator():null,L=this.question.isProgressBottomShowing?this.renderNavigator():null,F=this.renderNavigatorV2(),H=this.renderPlaceholder();return h.createElement("div",{className:this.question.cssClasses.root},H,g,h.createElement("div",{className:this.question.cssClasses.panelsContainer},c),L,f,F)},l.prototype.renderNavigator=function(){if(!this.question.showLegacyNavigation)return this.question.isRangeShowing&&this.question.isProgressTopShowing?this.renderRange():null;var a=this.question.isRangeShowing?this.renderRange():null,c=this.rendrerPrevButton(),f=this.rendrerNextButton(),g=this.renderAddRowButton(),L=this.question.isProgressTopShowing?this.question.cssClasses.progressTop:this.question.cssClasses.progressBottom;return h.createElement("div",{className:L},h.createElement("div",{style:{clear:"both"}},h.createElement("div",{className:this.question.cssClasses.progressContainer},c,a,f),g,this.renderProgressText()))},l.prototype.renderProgressText=function(){return h.createElement(fr,{data:{question:this.question}})},l.prototype.rendrerPrevButton=function(){return h.createElement(jn,{data:{question:this.question}})},l.prototype.rendrerNextButton=function(){return h.createElement(Et,{data:{question:this.question}})},l.prototype.renderRange=function(){return h.createElement("div",{className:this.question.cssClasses.progress},h.createElement("div",{className:this.question.cssClasses.progressBar,style:{width:this.question.progress},role:"progressbar"}))},l.prototype.renderAddRowButton=function(){return A.Instance.createElement("sv-paneldynamic-add-btn",{data:{question:this.question}})},l.prototype.renderNavigatorV2=function(){if(!this.question.showNavigation)return null;var a=this.question.isRangeShowing&&this.question.isProgressBottomShowing?this.renderRange():null;return h.createElement("div",{className:this.question.cssClasses.footer},h.createElement("hr",{className:this.question.cssClasses.separator}),a,this.question.footerToolbar.visibleActions.length?h.createElement("div",{className:this.question.cssClasses.footerButtonsContainer},h.createElement(Re,{model:this.question.footerToolbar})):null)},l.prototype.renderPlaceholder=function(){return this.question.getShowNoEntriesPlaceholder()?h.createElement("div",{className:this.question.cssClasses.noEntriesPlaceholder},h.createElement("span",null,this.renderLocString(this.question.locNoEntriesText)),this.renderAddRowButton()):null},l}(ce),ns=function(p){$i(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),l.prototype.getSurvey=function(){return this.question?this.question.survey:null},l.prototype.getCss=function(){var a=this.getSurvey();return a?a.getCss():{}},l.prototype.render=function(){var a=p.prototype.render.call(this),c=this.renderButton(),f=this.question.showSeparator(this.index)?h.createElement("hr",{className:this.question.cssClasses.separator}):null;return h.createElement(h.Fragment,null,h.createElement("div",{className:this.question.getPanelWrapperCss(this.panel)},a,c),f)},l.prototype.renderButton=function(){return this.question.panelRemoveButtonLocation!=="right"||!this.question.canRemovePanel||this.question.isRenderModeList&&this.panel.isCollapsed?null:A.Instance.createElement("sv-paneldynamic-remove-btn",{data:{question:this.question,panel:this.panel}})},l}(ze);Ce.Instance.registerQuestion("paneldynamic",function(p){return h.createElement(dr,p)});var Ji=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ke=function(p){Ji(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"isTop",{get:function(){return this.props.isTop},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"progress",{get:function(){return this.survey.progressValue},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"progressText",{get:function(){return this.survey.progressText},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a={width:this.progress+"%"};return h.createElement("div",{className:this.survey.getProgressCssClasses(this.props.container)},h.createElement("div",{style:a,className:this.css.progressBar,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":"progress"},h.createElement("span",{className:C.SurveyProgressModel.getProgressTextInBarCss(this.css)},this.progressText)),h.createElement("span",{className:C.SurveyProgressModel.getProgressTextUnderBarCss(this.css)},this.progressText))},l}(Ht);A.Instance.registerElement("sv-progress-pages",function(p){return h.createElement(ke,p)}),A.Instance.registerElement("sv-progress-questions",function(p){return h.createElement(ke,p)}),A.Instance.registerElement("sv-progress-correctquestions",function(p){return h.createElement(ke,p)}),A.Instance.registerElement("sv-progress-requiredquestions",function(p){return h.createElement(ke,p)});var Wr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),hr=function(p){Wr(l,p);function l(a){var c=p.call(this,a)||this;return c.listContainerRef=h.createRef(),c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"container",{get:function(){return this.props.container},enumerable:!1,configurable:!0}),l.prototype.onResize=function(a){this.setState({canShowItemTitles:a}),this.setState({canShowHeader:!a})},l.prototype.onUpdateScroller=function(a){this.setState({hasScroller:a})},l.prototype.onUpdateSettings=function(){this.setState({canShowItemTitles:this.model.showItemTitles}),this.setState({canShowFooter:!this.model.showItemTitles})},l.prototype.render=function(){var a=this;return h.createElement("div",{className:this.model.getRootCss(this.props.container),style:{maxWidth:this.model.progressWidth},role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":"progress"},this.state.canShowHeader?h.createElement("div",{className:this.css.progressButtonsHeader},h.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.headerText},this.model.headerText)):null,h.createElement("div",{className:this.css.progressButtonsContainer},h.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!0),role:"button",onClick:function(){return a.clickScrollButton(a.listContainerRef.current,!0)}}),h.createElement("div",{className:this.css.progressButtonsListContainer,ref:this.listContainerRef},h.createElement("ul",{className:this.css.progressButtonsList},this.getListElements())),h.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!1),role:"button",onClick:function(){return a.clickScrollButton(a.listContainerRef.current,!1)}})),this.state.canShowFooter?h.createElement("div",{className:this.css.progressButtonsFooter},h.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.footerText},this.model.footerText)):null)},l.prototype.getListElements=function(){var a=this,c=[];return this.survey.visiblePages.forEach(function(f,g){c.push(a.renderListElement(f,g))}),c},l.prototype.renderListElement=function(a,c){var f=this,g=$.renderLocString(a.locNavigationTitle);return h.createElement("li",{key:"listelement"+c,className:this.model.getListElementCss(c),onClick:this.model.isListElementClickable(c)?function(){return f.model.clickListElement(a)}:void 0,"data-page-number":this.model.getItemNumber(a)},h.createElement("div",{className:this.css.progressButtonsConnector}),this.state.canShowItemTitles?h.createElement(h.Fragment,null,h.createElement("div",{className:this.css.progressButtonsPageTitle,title:a.renderedNavigationTitle},g),h.createElement("div",{className:this.css.progressButtonsPageDescription,title:a.navigationDescription},a.navigationDescription)):null,h.createElement("div",{className:this.css.progressButtonsButton},h.createElement("div",{className:this.css.progressButtonsButtonBackground}),h.createElement("div",{className:this.css.progressButtonsButtonContent}),h.createElement("span",null,this.model.getItemNumber(a))))},l.prototype.clickScrollButton=function(a,c){a&&(a.scrollLeft+=(c?-1:1)*70)},l.prototype.componentDidMount=function(){var a=this;p.prototype.componentDidMount.call(this),setTimeout(function(){a.respManager=new C.ProgressButtonsResponsivityManager(a.model,a.listContainerRef.current,a)},10)},l.prototype.componentWillUnmount=function(){this.respManager&&this.respManager.dispose(),p.prototype.componentWillUnmount.call(this)},l}(Ht);A.Instance.registerElement("sv-progress-buttons",function(p){return h.createElement(hr,p)});var rs=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Gi=function(p){rs(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleKeydown=function(c){a.model.onKeyDown(c)},a}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.render=function(){var a=this;if(!this.item)return null;var c=this.model.getItemClass(this.item),f=this.item.component||this.model.itemComponent,g=A.Instance.createElement(f,{item:this.item,key:this.item.id,model:this.model}),L=w.a.createElement("div",{style:this.model.getItemStyle(this.item),className:this.model.cssClasses.itemBody,title:this.item.getTooltip(),onMouseOver:function(ae){a.model.onItemHover(a.item)},onMouseLeave:function(ae){a.model.onItemLeave(a.item)}},g),F=this.item.needSeparator?w.a.createElement("div",{className:this.model.cssClasses.itemSeparator}):null,H=this.model.isItemVisible(this.item),ye={display:H?null:"none"};return xn(w.a.createElement("li",{className:c,role:"option",style:ye,id:this.item.elementId,"aria-selected":this.model.isItemSelected(this.item),onClick:function(ae){a.model.onItemClick(a.item),ae.stopPropagation()},onPointerDown:function(ae){return a.model.onPointerDown(ae,a.item)}},F,L),this.item)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.model.onLastItemRended(this.item)},l}($);A.Instance.registerElement("sv-list-item",function(p){return w.a.createElement(Gi,p)});var ln=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Nn=function(p){ln(l,p);function l(a){var c=p.call(this,a)||this;return c.handleKeydown=function(f){c.model.onKeyDown(f)},c.handleMouseMove=function(f){c.model.onMouseMove(f)},c.state={filterString:c.model.filterString||""},c.listContainerRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.listContainerRef&&this.listContainerRef.current&&this.model.initListContainerHtmlElement(this.listContainerRef.current)},l.prototype.componentDidUpdate=function(a,c){var f;p.prototype.componentDidUpdate.call(this,a,c),this.model!==a.model&&(this.model&&(!((f=this.listContainerRef)===null||f===void 0)&&f.current)&&this.model.initListContainerHtmlElement(this.listContainerRef.current),a.model&&a.model.initListContainerHtmlElement(void 0))},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.model&&this.model.initListContainerHtmlElement(void 0)},l.prototype.renderElement=function(){return w.a.createElement("div",{className:this.model.cssClasses.root,ref:this.listContainerRef},this.searchElementContent(),this.emptyContent(),this.renderList())},l.prototype.renderList=function(){if(!this.model.renderElements)return null;var a=this.renderItems(),c={display:this.model.isEmpty?"none":null};return w.a.createElement("ul",{className:this.model.getListClass(),style:c,role:"listbox",id:this.model.elementId,onMouseDown:function(f){f.preventDefault()},onKeyDown:this.handleKeydown,onMouseMove:this.handleMouseMove},a)},l.prototype.renderItems=function(){var a=this;if(!this.model)return null;var c=this.model.renderedActions;return c?c.map(function(f,g){return w.a.createElement(Gi,{model:a.model,item:f,key:"item"+g})}):null},l.prototype.searchElementContent=function(){var a=this;if(this.model.showFilter){var c=function(L){var F=C.settings.environment.root;L.target===F.activeElement&&(a.model.filterString=L.target.value)},f=function(L){a.model.goToItems(L)},g=this.model.showSearchClearButton&&this.model.filterString?w.a.createElement("button",{className:this.model.cssClasses.searchClearButtonIcon,onClick:function(L){a.model.onClickSearchClearButton(L)}},w.a.createElement(ge,{iconName:"icon-searchclear",size:"auto"})):null;return w.a.createElement("div",{className:this.model.cssClasses.filter},w.a.createElement("div",{className:this.model.cssClasses.filterIcon},w.a.createElement(ge,{iconName:"icon-search",size:"auto"})),w.a.createElement("input",{type:"text",className:this.model.cssClasses.filterInput,"aria-label":this.model.filterStringPlaceholder,placeholder:this.model.filterStringPlaceholder,value:this.state.filterString,onKeyUp:f,onChange:c}),g)}else return null},l.prototype.emptyContent=function(){var a={display:this.model.isEmpty?null:"none"};return w.a.createElement("div",{className:this.model.cssClasses.emptyContainer,style:a},w.a.createElement("div",{className:this.model.cssClasses.emptyText,"aria-label":this.model.emptyMessage},this.model.emptyMessage))},l}($);A.Instance.registerElement("sv-list",function(p){return w.a.createElement(Nn,p)});var is=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Zi=function(p){is(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this.props.model,c;return a.isMobile?c=h.createElement("div",{onClick:a.togglePopup},h.createElement(ge,{iconName:a.icon,size:24}),h.createElement(Qe,{model:a.popupModel})):c=h.createElement(Nn,{model:a.listModel}),h.createElement("div",{className:a.containerCss},c)},l}(Ht);A.Instance.registerElement("sv-navigation-toc",function(p){return h.createElement(Zi,p)});var Ki=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Yi=function(p){Ki(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnClick=c.handleOnClick.bind(c),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.handleOnClick=function(a){this.question.setValueFromClick(a.target.value),this.setState({value:this.question.value})},l.prototype.renderItem=function(a,c){var f=A.Instance.createElement(this.question.itemComponent,{question:this.question,item:a,index:c,key:"value"+c,handleOnClick:this.handleOnClick,isDisplayMode:this.isDisplayMode});return f},l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses,f=this.question.minRateDescription?this.renderLocString(this.question.locMinRateDescription):null,g=this.question.maxRateDescription?this.renderLocString(this.question.locMaxRateDescription):null;return h.createElement("div",{className:this.question.ratingRootCss,ref:function(L){return a.setControl(L)}},h.createElement("fieldset",{role:"radiogroup"},h.createElement("legend",{role:"presentation",className:"sv-hidden"}),this.question.hasMinLabel?h.createElement("span",{className:c.minText},f):null,this.question.renderedRateItems.map(function(L,F){return a.renderItem(L,F)}),this.question.hasMaxLabel?h.createElement("span",{className:c.maxText},g):null))},l}(ce);Ce.Instance.registerQuestion("rating",function(p){return h.createElement(Yi,p)});var os=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),un=function(p){os(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.renderSelect(a);return h.createElement("div",{className:this.question.cssClasses.rootDropdown},c)},l}(Xn);Ce.Instance.registerQuestion("sv-rating-dropdown",function(p){return h.createElement(un,p)}),C.RendererFactory.Instance.registerRenderer("rating","dropdown","sv-rating-dropdown");var Vt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Xe=function(p){Vt(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses;return h.createElement("div",{id:this.question.inputId,className:c.root,ref:function(f){return a.setControl(f)}},this.question.formatedValue)},l}(ce);Ce.Instance.registerQuestion("expression",function(p){return h.createElement(Xe,p)});var Xi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),qn=function(p){Xi(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnExpanded=c.handleOnExpanded.bind(c),c}return l.prototype.getStateElements=function(){return[this.popup,this.popup.survey]},l.prototype.handleOnExpanded=function(a){this.popup.changeExpandCollapse()},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&this.popup.isShowing},l.prototype.renderElement=function(){var a=this,c=this.renderWindowHeader(),f=this.renderBody(),g={};return this.popup.renderedWidth&&(g.width=this.popup.renderedWidth,g.maxWidth=this.popup.renderedWidth),h.createElement("div",{className:this.popup.cssRoot,style:g,onScroll:function(){return a.popup.onScroll()}},h.createElement("div",{className:this.popup.cssRootContent},c,f))},l.prototype.renderWindowHeader=function(){var a=this.popup,c=a.cssHeaderRoot,f=null,g,L=null,F=null;return a.isCollapsed?(c+=" "+a.cssRootCollapsedMod,f=this.renderTitleCollapsed(a),g=this.renderExpandIcon()):g=this.renderCollapseIcon(),a.allowClose&&(L=this.renderCloseButton(this.popup)),a.allowFullScreen&&(F=this.renderAllowFullScreenButon(this.popup)),h.createElement("div",{className:a.cssHeaderRoot},f,h.createElement("div",{className:a.cssHeaderButtonsContainer},F,h.createElement("div",{className:a.cssHeaderCollapseButton,onClick:this.handleOnExpanded},g),L))},l.prototype.renderTitleCollapsed=function(a){return a.locTitle?h.createElement("div",{className:a.cssHeaderTitleCollapsed},a.locTitle.renderedHtml):null},l.prototype.renderExpandIcon=function(){return h.createElement(ge,{iconName:"icon-restore_16x16",size:16})},l.prototype.renderCollapseIcon=function(){return h.createElement(ge,{iconName:"icon-minimize_16x16",size:16})},l.prototype.renderCloseButton=function(a){var c=this;return h.createElement("div",{className:a.cssHeaderCloseButton,onClick:function(){a.hide(),typeof c.props.onClose=="function"&&c.props.onClose()}},h.createElement(ge,{iconName:"icon-close_16x16",size:16}))},l.prototype.renderAllowFullScreenButon=function(a){var c;return a.isFullScreen?c=h.createElement(ge,{iconName:"icon-back-to-panel_16x16",size:16}):c=h.createElement(ge,{iconName:"icon-full-screen_16x16",size:16}),h.createElement("div",{className:a.cssHeaderFullScreenButton,onClick:function(){a.toggleFullScreen()}},c)},l.prototype.renderBody=function(){return h.createElement("div",{className:this.popup.cssBody},this.doRender())},l.prototype.createSurvey=function(a){a||(a={}),p.prototype.createSurvey.call(this,a),this.popup=new C.PopupSurveyModel(null,this.survey),a.closeOnCompleteTimeout&&(this.popup.closeOnCompleteTimeout=a.closeOnCompleteTimeout),this.popup.allowClose=a.allowClose,this.popup.allowFullScreen=a.allowFullScreen,this.popup.isShowing=!0,!this.popup.isExpanded&&(a.expanded||a.isExpanded)&&this.popup.expand()},l}(Mt),ss=function(p){Xi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l}(qn),eo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),I=function(p){eo(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this.question.cssClasses;return h.createElement("fieldset",{className:this.question.getSelectBaseRootCss()},h.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.question.hasColumns?this.getColumns(a):this.getItems(a))},l.prototype.getColumns=function(a){var c=this;return this.question.columns.map(function(f,g){var L=f.map(function(F,H){return c.renderItem("item"+H,F,a)});return h.createElement("div",{key:"column"+g+c.question.getItemsColumnKey(f),className:c.question.getColumnClass(),role:"presentation"},L)})},l.prototype.getItems=function(a){for(var c=[],f=0;f<this.question.visibleChoices.length;f++){var g=this.question.visibleChoices[f],L="item"+f;c.push(this.renderItem(L,g,a))}return c},Object.defineProperty(l.prototype,"textStyle",{get:function(){return{marginLeft:"3px",display:"inline",position:"static"}},enumerable:!1,configurable:!0}),l.prototype.renderItem=function(a,c,f){var g=h.createElement(et,{key:a,question:this.question,item:c,cssClasses:f}),L=this.question.survey,F=null;return L&&(F=k.wrapItemValue(L,g,this.question,c)),F??g},l}(ce),et=function(p){eo(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnChange=c.handleOnChange.bind(c),c}return l.prototype.getStateElement=function(){return this.item},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.reactOnStrChanged()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.item.locImageLink.onChanged=function(){}},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.reactOnStrChanged()},l.prototype.reactOnStrChanged=function(){var a=this;this.item.locImageLink.onChanged=function(){a.setState({locImageLinkchanged:a.state&&a.state.locImageLink?a.state.locImageLink+1:1})}},Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.handleOnChange=function(a){if(!this.question.isReadOnlyAttr){if(this.question.multiSelect)if(a.target.checked)this.question.value=this.question.value.concat(a.target.value);else{var c=this.question.value;c.splice(this.question.value.indexOf(a.target.value),1),this.question.value=c}else this.question.value=a.target.value;this.setState({value:this.question.value})}},l.prototype.renderElement=function(){var a=this,c=this.item,f=this.question,g=this.cssClasses,L=f.isItemSelected(c),F=f.getItemClass(c),H=null;f.showLabel&&(H=h.createElement("span",{className:f.cssClasses.itemText},c.text?$.renderLocString(c.locText):c.value));var ye={objectFit:this.question.imageFit},ae=null;if(c.locImageLink.renderedHtml&&this.question.contentMode==="image"&&(ae=h.createElement("img",{className:g.image,src:c.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,alt:c.locText.renderedHtml,style:ye,onLoad:function(Ze){a.question.onContentLoaded(c,Ze.nativeEvent)},onError:function(Ze){c.onErrorHandler(c,Ze.nativeEvent)}})),c.locImageLink.renderedHtml&&this.question.contentMode==="video"&&(ae=h.createElement("video",{controls:!0,className:g.image,src:c.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,style:ye,onLoadedMetadata:function(Ze){a.question.onContentLoaded(c,Ze.nativeEvent)},onError:function(Ze){c.onErrorHandler(c,Ze.nativeEvent)}})),!c.locImageLink.renderedHtml||c.contentNotLoaded){var Ve={width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,objectFit:this.question.imageFit};ae=h.createElement("div",{className:g.itemNoImage,style:Ve},g.itemNoImageSvgIcon?h.createElement(ge,{className:g.itemNoImageSvgIcon,iconName:this.question.cssClasses.itemNoImageSvgIconId,size:48}):null)}var yt=h.createElement("div",{className:F},h.createElement("label",{className:g.label},h.createElement("input",{className:g.itemControl,id:this.question.getItemId(c),type:this.question.inputType,name:this.question.questionName,checked:L,value:c.value,disabled:!this.question.getItemEnabled(c),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),h.createElement("div",{className:this.question.cssClasses.itemDecorator},h.createElement("div",{className:this.question.cssClasses.imageContainer},this.question.cssClasses.checkedItemDecorator?h.createElement("span",{className:this.question.cssClasses.checkedItemDecorator,"aria-hidden":"true"},this.question.cssClasses.checkedItemSvgIconId?h.createElement(ge,{size:"auto",className:this.question.cssClasses.checkedItemSvgIcon,iconName:this.question.cssClasses.checkedItemSvgIconId}):null):null,ae),H)));return yt},l}(ie);Ce.Instance.registerQuestion("imagepicker",function(p){return h.createElement(I,p)});var it=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),$r=function(p){it(l,p);function l(a){return p.call(this,a)||this}return l.prototype.componentDidMount=function(){var a=this;p.prototype.componentDidMount.call(this),this.question.locImageLink.onChanged=function(){a.forceUpdate()}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.locImageLink.onChanged=function(){}},Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.getImageCss(),f={objectFit:this.question.imageFit,width:this.question.renderedStyleWidth,height:this.question.renderedStyleHeight};(!this.question.imageLink||this.question.contentNotLoaded)&&(f.display="none");var g=null;this.question.renderedMode==="image"&&(g=h.createElement("img",{className:c,src:this.question.locImageLink.renderedHtml||null,alt:this.question.altText||this.question.title,width:this.question.renderedWidth,height:this.question.renderedHeight,style:f,onLoad:function(F){a.question.onLoadHandler()},onError:function(F){a.question.onErrorHandler()}})),this.question.renderedMode==="video"&&(g=h.createElement("video",{controls:!0,className:c,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:f,onLoadedMetadata:function(F){a.question.onLoadHandler()},onError:function(F){a.question.onErrorHandler()}})),this.question.renderedMode==="youtube"&&(g=h.createElement("iframe",{className:c,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:f}));var L=null;return(!this.question.imageLink||this.question.contentNotLoaded)&&(L=h.createElement("div",{className:this.question.cssClasses.noImage},h.createElement(ge,{iconName:this.question.cssClasses.noImageSvgIconId,size:48}))),h.createElement("div",{className:this.question.cssClasses.root},g,L)},l}(ce);Ce.Instance.registerQuestion("image",function(p){return h.createElement($r,p)});var to=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Jr=function(p){to(l,p);function l(a){var c=p.call(this,a)||this;return c.state={value:c.question.value},c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses,f=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,g=this.renderCleanButton();return h.createElement("div",{className:c.root,ref:function(L){return a.setControl(L)},style:{width:this.question.renderedCanvasWidth}},h.createElement("div",{className:c.placeholder,style:{display:this.question.needShowPlaceholder()?"":"none"}},this.renderLocString(this.question.locRenderedPlaceholder)),h.createElement("div",null,this.renderBackgroundImage(),h.createElement("canvas",{tabIndex:-1,className:this.question.cssClasses.canvas,onBlur:function(L){a.question.onBlur(L)}})),g,f)},l.prototype.renderBackgroundImage=function(){return this.question.backgroundImage?h.createElement("img",{className:this.question.cssClasses.backgroundImage,src:this.question.backgroundImage,style:{width:this.question.renderedCanvasWidth}}):null},l.prototype.renderLoadingIndicator=function(){return h.createElement("div",{className:this.question.cssClasses.loadingIndicator},h.createElement(Pe,null))},l.prototype.renderCleanButton=function(){var a=this;if(!this.question.canShowClearButton)return null;var c=this.question.cssClasses;return h.createElement("div",{className:c.controls},h.createElement("button",{type:"button",className:c.clearButton,title:this.question.clearButtonCaption,onClick:function(){return a.question.clearValue(!0)}},this.question.cssClasses.clearButtonIconId?h.createElement(ge,{iconName:this.question.cssClasses.clearButtonIconId,size:"auto"}):h.createElement("span",null,"✖")))},l}(ce);Ce.Instance.registerQuestion("signaturepad",function(p){return h.createElement(Jr,p)});var Gr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),as=function(p){Gr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.question},l.prototype.renderElement=function(){var a=this.renderItems();return w.a.createElement("div",{className:this.question.cssClasses.root},a)},l.prototype.renderItems=function(){var a=this;return this.question.visibleChoices.map(function(c,f){return w.a.createElement(ls,{key:a.question.inputId+"_"+f,item:c,question:a.question,index:f})})},l}(ce),ls=function(p){Gr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.renderElement=function(){this.model=new C.ButtonGroupItemModel(this.question,this.item,this.index);var a=this.renderIcon(),c=this.renderInput(),f=this.renderCaption();return w.a.createElement("label",{role:"radio",className:this.model.css.label,title:this.model.caption.renderedHtml},c,w.a.createElement("div",{className:this.model.css.decorator},a,f))},l.prototype.renderIcon=function(){return this.model.iconName?w.a.createElement(ge,{className:this.model.css.icon,iconName:this.model.iconName,size:this.model.iconSize||24}):null},l.prototype.renderInput=function(){var a=this;return w.a.createElement("input",{className:this.model.css.control,id:this.model.id,type:"radio",name:this.model.name,checked:this.model.selected,value:this.model.value,disabled:this.model.readOnly,onChange:function(){a.model.onChange()},"aria-required":this.model.isRequired,"aria-label":this.model.caption.renderedHtml,"aria-invalid":this.model.hasErrors,"aria-errormessage":this.model.describedBy,role:"radio"})},l.prototype.renderCaption=function(){if(!this.model.showCaption)return null;var a=this.renderLocString(this.model.caption);return w.a.createElement("span",{className:this.model.css.caption,title:this.model.caption.renderedHtml},a)},l}($),no=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),_n=function(p){no(l,p);function l(a){return p.call(this,a)||this}return l.prototype.getStateElements=function(){var a=p.prototype.getStateElements.call(this);return this.question.contentQuestion&&a.push(this.question.contentQuestion),a},l.prototype.renderElement=function(){return nn.renderQuestionBody(this.creator,this.question.contentQuestion)},l}(We),ro=function(p){no(l,p);function l(a){return p.call(this,a)||this}return l.prototype.canRender=function(){return!!this.question.contentPanel},l.prototype.renderElement=function(){return h.createElement(ze,{element:this.question.contentPanel,creator:this.creator,survey:this.question.survey})},l}(We);Ce.Instance.registerQuestion("custom",function(p){return h.createElement(_n,p)}),Ce.Instance.registerQuestion("composite",function(p){return h.createElement(ro,p)});var us=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),io=function(p){us(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.render=function(){if(!this.item)return null;var a=this.renderLocString(this.item.locTitle,void 0,"locString"),c=this.item.iconName?w.a.createElement(ge,{className:this.model.cssClasses.itemIcon,iconName:this.item.iconName,size:this.item.iconSize,"aria-label":this.item.title}):null,f=this.item.markerIconName?w.a.createElement(ge,{className:this.item.cssClasses.itemMarkerIcon,iconName:this.item.markerIconName,size:"auto"}):null;return w.a.createElement(w.a.Fragment,null,c,a,f)},l}($);A.Instance.registerElement("sv-list-item-content",function(p){return w.a.createElement(io,p)});var oo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ot=function(p){oo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.render=function(){var a;if(!this.item)return null;var c=A.Instance.createElement("sv-list-item-content",{item:this.item,key:"content"+this.item.id,model:this.model});return w.a.createElement(w.a.Fragment,null,c,w.a.createElement(Qe,{model:(a=this.item)===null||a===void 0?void 0:a.popupModel}))},l}($);A.Instance.registerElement("sv-list-item-group",function(p){return w.a.createElement(ot,p)});var $t=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ft=function(p){$t(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a=[];return a.push(w.a.createElement("div",{key:"logo-image",className:this.survey.logoClassNames},w.a.createElement("img",{className:this.survey.css.logoImage,src:this.survey.locLogo.renderedHtml||null,alt:this.survey.locTitle.renderedHtml,width:this.survey.renderedLogoWidth,height:this.survey.renderedLogoHeight,style:{objectFit:this.survey.logoFit,width:this.survey.renderedStyleLogoWidth,height:this.survey.renderedStyleLogoHeight}}))),w.a.createElement(w.a.Fragment,null,a)},l}(w.a.Component);A.Instance.registerElement("sv-logo-image",function(p){return w.a.createElement(ft,p)});var Jt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Zr=function(p){Jt(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnRowRemoveClick=c.handleOnRowRemoveClick.bind(c),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),l.prototype.handleOnRowRemoveClick=function(a){this.question.removeRowUI(this.row)},l.prototype.renderElement=function(){var a=this.renderLocString(this.question.locRemoveRowText);return w.a.createElement("button",{className:this.question.getRemoveRowButtonCss(),type:"button",onClick:this.handleOnRowRemoveClick,disabled:this.question.isInputReadOnly},a,w.a.createElement("span",{className:this.question.cssClasses.iconRemove}))},l}(ie);A.Instance.registerElement("sv-matrix-remove-button",function(p){return w.a.createElement(Zr,p)});var so=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Kr=function(p){so(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnShowHideClick=c.handleOnShowHideClick.bind(c),c}return l.prototype.getStateElement=function(){return this.props.item},Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),l.prototype.handleOnShowHideClick=function(a){this.row.showHideDetailPanelClick()},l.prototype.renderElement=function(){var a=this.row.isDetailPanelShowing,c=a,f=a?this.row.detailPanelId:void 0;return w.a.createElement("button",{type:"button",onClick:this.handleOnShowHideClick,className:this.question.getDetailPanelButtonCss(this.row),"aria-expanded":c,"aria-controls":f},w.a.createElement(ge,{className:this.question.getDetailPanelIconCss(this.row),iconName:this.question.getDetailPanelIconId(this.row),size:"auto"}))},l}(ie);A.Instance.registerElement("sv-matrix-detail-button",function(p){return w.a.createElement(Kr,p)});var ao=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Yr=function(p){ao(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleClick=function(c){a.question.removePanelUI(a.data.panel)},a}return l.prototype.renderElement=function(){var a=this.renderLocString(this.question.locPanelRemoveText),c=this.question.getPanelRemoveButtonId(this.data.panel);return w.a.createElement("button",{id:c,className:this.question.getPanelRemoveButtonCss(),onClick:this.handleClick,type:"button"},w.a.createElement("span",{className:this.question.cssClasses.buttonRemoveText},a),w.a.createElement("span",{className:this.question.cssClasses.iconRemove}))},l}(Mn);A.Instance.registerElement("sv-paneldynamic-remove-btn",function(p){return w.a.createElement(Yr,p)});var Xr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ei=function(p){Xr(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return this.item.isVisible},l.prototype.renderElement=function(){return w.a.createElement("input",{className:this.item.innerCss,type:"button",disabled:this.item.disabled,onMouseDown:this.item.data&&this.item.data.mouseDown,onClick:this.item.action,title:this.item.getTooltip(),value:this.item.title})},l}(ie);A.Instance.registerElement("sv-nav-btn",function(p){return w.a.createElement(ei,p)});var lo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Bn=function(p){lo(l,p);function l(a){var c=p.call(this,a)||this;return c.onChangedHandler=function(f,g){c.isRendering||c.setState({changed:c.state&&c.state.changed?c.state.changed+1:1})},c.rootRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"locStr",{get:function(){return this.props.locStr},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){this.reactOnStrChanged()},l.prototype.componentWillUnmount=function(){this.locStr&&this.locStr.onStringChanged.remove(this.onChangedHandler)},l.prototype.componentDidUpdate=function(a,c){a.locStr&&a.locStr.onStringChanged.remove(this.onChangedHandler),this.reactOnStrChanged()},l.prototype.reactOnStrChanged=function(){this.locStr&&this.locStr.onStringChanged.add(this.onChangedHandler)},l.prototype.render=function(){if(!this.locStr)return null;this.isRendering=!0;var a=this.renderString();return this.isRendering=!1,a},l.prototype.renderString=function(){var a=this.locStr.allowLineBreaks?"sv-string-viewer sv-string-viewer--multiline":"sv-string-viewer";if(this.locStr.hasHtml){var c={__html:this.locStr.renderedHtml};return w.a.createElement("span",{ref:this.rootRef,className:a,style:this.style,dangerouslySetInnerHTML:c})}return w.a.createElement("span",{ref:this.rootRef,className:a,style:this.style},this.locStr.renderedHtml)},l}(w.a.Component);A.Instance.registerElement(C.LocalizableString.defaultRenderer,function(p){return w.a.createElement(Bn,p)});var uo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Fn=function(p){uo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){return w.a.createElement("div",null,w.a.createElement("span",{className:this.props.cssClasses.error.icon||void 0,"aria-hidden":"true"}),w.a.createElement("span",{className:this.props.cssClasses.error.item||void 0},w.a.createElement(Bn,{locStr:this.props.error.locText})))},l}(w.a.Component);A.Instance.registerElement("sv-question-error",function(p){return w.a.createElement(Fn,p)});var cs=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Gt=function(p){cs(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a,c;return w.a.createElement("div",{className:"sv-skeleton-element",id:(a=this.props.element)===null||a===void 0?void 0:a.id,style:{height:(c=this.props.element)===null||c===void 0?void 0:c.skeletonHeight}})},l}(w.a.Component);A.Instance.registerElement("sv-skeleton",function(p){return w.a.createElement(Gt,p)});var ti=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Be=function(p){ti(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.renderLogoImage=function(){var a=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),c=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return A.Instance.createElement(a,{data:c})},l.prototype.render=function(){return w.a.createElement("div",{className:"sv-header--mobile"},this.model.survey.hasLogo?w.a.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.survey.hasTitle?w.a.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.textAreaWidth}},w.a.createElement(tt,{element:this.model.survey})):null,this.model.survey.renderedHasDescription?w.a.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.textAreaWidth}},w.a.createElement("div",{className:this.model.survey.css.description},$.renderLocString(this.model.survey.locDescription))):null)},l}(w.a.Component),gr=function(p){ti(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.renderLogoImage=function(){var a=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),c=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return A.Instance.createElement(a,{data:c})},l.prototype.render=function(){return w.a.createElement("div",{className:this.model.css,style:this.model.style},w.a.createElement("div",{className:"sv-header__cell-content",style:this.model.contentStyle},this.model.showLogo?w.a.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.showTitle?w.a.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.textAreaWidth}},w.a.createElement(tt,{element:this.model.survey})):null,this.model.showDescription?w.a.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.textAreaWidth}},w.a.createElement("div",{className:this.model.survey.css.description},$.renderLocString(this.model.survey.locDescription))):null))},l}(w.a.Component),co=function(p){ti(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.renderElement=function(){if(this.model.survey=this.props.survey,this.props.survey.headerView!=="advanced")return null;var a=null;return this.props.survey.isMobile?a=w.a.createElement(Be,{model:this.model}):a=w.a.createElement("div",{className:this.model.contentClasses,style:{maxWidth:this.model.maxWidth}},this.model.cells.map(function(c,f){return w.a.createElement(gr,{key:f,model:c})})),w.a.createElement("div",{className:this.model.headerClasses,style:{height:this.model.renderedHeight}},this.model.backgroundImage?w.a.createElement("div",{style:this.model.backgroundImageStyle,className:this.model.backgroundImageClasses}):null,a)},l}($);A.Instance.registerElement("sv-header",function(p){return w.a.createElement(co,p)});var ni=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),re=function(p){ni(l,p);function l(a){var c=p.call(this,a)||this;return c.onInput=function(f){c.locStr.text=f.target.innerText},c.onClick=function(f){f.preventDefault(),f.stopPropagation()},c.state={changed:0},c}return Object.defineProperty(l.prototype,"locStr",{get:function(){return this.props.locStr},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){if(this.locStr){var a=this;this.locStr.onChanged=function(){a.setState({changed:a.state.changed+1})}}},l.prototype.componentWillUnmount=function(){this.locStr&&(this.locStr.onChanged=function(){})},l.prototype.render=function(){if(!this.locStr)return null;if(this.locStr.hasHtml){var a={__html:this.locStr.renderedHtml};return w.a.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,dangerouslySetInnerHTML:a,onBlur:this.onInput,onClick:this.onClick})}return w.a.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,onBlur:this.onInput,onClick:this.onClick},this.locStr.renderedHtml)},l}(w.a.Component);A.Instance.registerElement(C.LocalizableString.editableRenderer,function(p){return w.a.createElement(re,p)}),Object(C.checkLibraryVersion)("1.12.20","survey-react-ui")},react:function(B,R){B.exports=z},"react-dom":function(B,R){B.exports=O},"survey-core":function(B,R){B.exports=P}})})}(_o)),_o.exports}var Rh=Th();function Wu(ne,S){var z,O;if(S.column.indexValue==0&&"item"in S.row){const P=S.row.item;P.customDescription!==void 0&&((z=S.htmlElement.parentElement)==null||z.children[0].children[0].setAttribute("description",P.customDescription),(O=S.htmlElement.parentElement)==null||O.children[0].children[0].classList.add("survey-tooltip"))}}function $u(ne,S){if(S.question.hideCheckboxLabels){const z=S.cssClasses;z.root+=" hidden-checkbox-labels"}}function Ih(ne,S){var P;const z='[data-name="'+S.question.name+'"]',O=(P=document.querySelector(z))==null?void 0:P.querySelector("h5");O&&!O.classList.contains("sv-header-flex")&&S.question.updateElementCss()}function Ju(ne,S){if(S.name!=="description")return;let z=S.text;if(!z.length)return;const O=["e.g.","i.e.","etc.","vs."];for(const D of O)z.includes(D)&&(z=z.replace(D,D.slice(0,-1)));const P=z.split(". ");for(let D=0;D<P.length;D++)if(P[D].length!=0)for(const C of O)P[D].includes(C.slice(0,-1))&&(P[D]=P[D].replace(C.slice(0,-1),C));const B=D=>D.includes("*")?D.split("*").map((C,h)=>h==0?C:h==1?`<ul><li>${C}</li>`:`<li>${C}</li>`).join("")+"</ul>":D.endsWith(".")?D:D+".",R=P.map(D=>D.length?`<p>${B(D)}</p>`:null).join("");S.html=R}function Dh(ne){var R;const S=!!ne.visibleIf,z='[data-name="'+ne.name+'"]',O=document.querySelector(z),P=O==null?void 0:O.querySelector("h5");if(S){O.style.display="none";return}P&&(P.style.textDecoration="line-through");const B=(R=document.querySelector(z))==null?void 0:R.querySelector(".sv-question__content");B&&(B.style.display="none")}function Pa(ne,S,z){var D;z.verificationStatus.set(ne.name,S);const O=document.createElement("button");O.type="button",O.className="sv-action-bar-item verification",O.innerHTML=S,S==yi.Unverified?(O.innerHTML="No change from previous year",O.className+=" verification-required",O.onclick=function(){z.mode!="display"&&(ne.validate(),Pa(ne,yi.Verified,z))}):(O.innerHTML="Answer updated",O.className+=" verification-ok");const P='[data-name="'+ne.name+'"]',B=(D=document.querySelector(P))==null?void 0:D.querySelector("h5"),R=B==null?void 0:B.querySelector(".verification");R?R.replaceWith(O):B==null||B.appendChild(O)}function Ah(ne){const S=Bo.c(2),{surveyModel:z}=ne,O=(R,D)=>{var w;const C=z.verificationStatus.get(D.question.name),h=(w=D.question)==null?void 0:w.readOnly;C&&!h?Pa(D.question,C,z):h&&Dh(D.question)},P=(R,D)=>{z.verificationStatus.get(D.question.name)==yi.Unverified&&Pa(D.question,yi.Edited,z)};z.onAfterRenderQuestion.hasFunc(O)||(z.onAfterRenderQuestion.add(O),z.onAfterRenderQuestion.add(Ih)),z.onValueChanged.hasFunc(P)||z.onValueChanged.add(P),z.onUpdateQuestionCssClasses.hasFunc($u)||z.onUpdateQuestionCssClasses.add($u),z.onMatrixAfterCellRender.hasFunc(Wu)||z.onMatrixAfterCellRender.add(Wu),z.onTextMarkdown.hasFunc(Ju)||z.onTextMarkdown.add(Ju);let B;return S[0]!==z?(B=de.jsx(Rh.Survey,{model:z}),S[0]=z,S[1]=B):B=S[1],B}function Lh(ne){const S=Bo.c(14),{surveyModel:z,pageNoSetter:O}=ne;let P;S[0]===Symbol.for("react.memo_cache_sentinel")?(P=[],S[0]=P):P=S[0];const[B,R]=at.useState(P),D=jh;let C,h;S[1]!==z?(C=()=>{const $=ie=>{if(ie&&ie.pages){const ce=[];ie.pages.forEach(We=>{const be=We.questions.filter(Mh),pe=be.length,x=be.filter(D).length,we=pe-x,me=x/pe;ce.push({completionPercentage:me*100,unansweredPercentage:we/pe*100,totalPages:ie.pages.length,pageTitle:We.title})}),R(ce)}};z.onValueChanged.add(ie=>{$(ie)}),$(z)},h=[z],S[1]=z,S[2]=C,S[3]=h):(C=S[2],h=S[3]),at.useEffect(C,h);let w;S[4]===Symbol.for("react.memo_cache_sentinel")?(w={height:"0.5rem",transition:"width 0.3s ease"},S[4]=w):w=S[4];const A=w;let k;if(S[5]!==O||S[6]!==B||S[7]!==z.currentPageNo){let $;S[9]!==O||S[10]!==z.currentPageNo?($=(ie,ce)=>de.jsx(Ch,{xs:12,md:!0,onClick:()=>O(ce),style:{cursor:"pointer",margin:"0.5rem"},children:de.jsxs("div",{children:[de.jsx("span",{style:{whiteSpace:"nowrap",fontSize:"1.5rem",marginRight:"0.25rem",fontWeight:"bold",color:"#2db394"},children:ce+1}),de.jsx("span",{style:{whiteSpace:"nowrap",...z.currentPageNo==ce&&{fontWeight:"bold"}},children:ie.pageTitle}),de.jsxs("div",{style:{display:"flex",flexWrap:"wrap"},children:[de.jsx("div",{style:{...A,width:`${ie.completionPercentage}%`,backgroundColor:"#262261"}}),de.jsx("div",{style:{...A,width:`${ie.unansweredPercentage}%`,backgroundColor:"#cdcdcd"}})]})]})},ce),S[9]=O,S[10]=z.currentPageNo,S[11]=$):$=S[11],k=B.map($),S[5]=O,S[6]=B,S[7]=z.currentPageNo,S[8]=k}else k=S[8];let le;return S[12]!==k?(le=de.jsx(xa,{className:"survey-progress",children:de.jsx(xr,{children:k})}),S[12]=k,S[13]=le):le=S[13],le}function Mh(ne){return ne.startWithNewLine}function jh(ne){return!(ne.value===null||ne.value===void 0||ne.value===""||ne.getType()==="checkbox"&&ne.value.length==0||ne.getType()==="multipletext"&&(Object.keys(ne.value).length===1&&Object.values(ne.value)[0]===void 0||Object.keys(ne.value).length===0))}function Nh(ne){const S=Bo.c(86),{surveyModel:z,surveyActions:O,year:P,nren:B,children:R,onPageChange:D}=ne,[C,h]=at.useState(0),[w,A]=at.useState(!1),[k,le]=at.useState(""),[$,ie]=at.useState(""),{user:ce}=at.useContext(Gu);let We;S[0]!==z.currentPageNo||S[1]!==z.lockedBy||S[2]!==z.mode||S[3]!==z.status?(We=()=>{A(z.mode=="edit"),le(z.lockedBy),h(z.currentPageNo),ie(z.status)},S[0]=z.currentPageNo,S[1]=z.lockedBy,S[2]=z.mode,S[3]=z.status,S[4]=We):We=S[4];const be=We;let pe,x;S[5]!==be?(pe=()=>{be()},x=[be],S[5]=be,S[6]=pe,S[7]=x):(pe=S[6],x=S[7]),at.useEffect(pe,x);let we;S[8]!==D?(we=j=>{h(j),D(j)},S[8]=D,S[9]=we):we=S[9];const me=we;let lt;S[10]!==me||S[11]!==z.currentPageNo?(lt=()=>{me(z.currentPageNo+1)},S[10]=me,S[11]=z.currentPageNo,S[12]=lt):lt=S[12];const Fe=lt;let ge;S[13]!==be||S[14]!==O?(ge=async j=>{await O[j](),be()},S[13]=be,S[14]=O,S[15]=ge):ge=S[15];const en=ge;let Ke,vt,$e,ut,ht,Qe,bt;if(S[16]!==R||S[17]!==en||S[18]!==w||S[19]!==Fe||S[20]!==k||S[21]!==ce||S[22]!==B||S[23]!==C||S[24]!==me||S[25]!==$||S[26]!==z||S[27]!==P){const j=(Vr,Sr)=>wn(Vr,()=>en(Sr)),wn=qh,Re=()=>de.jsxs("div",{className:"survey-edit-buttons-block",children:[!w&&!k&&z.editAllowed&&j("Start editing","startEdit"),!w&&k&&k==ce.name&&j("Discard any unsaved changes and release your lock","releaseLock"),w&&j("Save progress","save"),w&&j("Save and stop editing","saveAndStopEdit"),w&&j("Complete Survey","complete"),C!==z.visiblePages.length-1&&wn("Next Section",Fe)]});vt=xa;let He;S[35]!==P?(He=de.jsxs("span",{className:"survey-title",children:[P," Compendium Survey "]}),S[35]=P,S[36]=He):He=S[36];let he;S[37]!==B?(he=de.jsxs("span",{className:"survey-title-nren",children:[" ",B," "]}),S[37]=B,S[38]=he):he=S[38];let It;S[39]!==$?(It=de.jsxs("span",{children:[" - ",$]}),S[39]=$,S[40]=It):It=S[40];let Je;S[41]!==He||S[42]!==he||S[43]!==It?(Je=de.jsxs("h2",{children:[He,he,It]}),S[41]=He,S[42]=he,S[43]=It,S[44]=Je):Je=S[44];let Qt,tt;S[45]===Symbol.for("react.memo_cache_sentinel")?(Qt={marginTop:"1rem",textAlign:"justify"},tt=de.jsxs("p",{children:["To get started, click “","Start editing","” to end read-only mode. Different people from your NREN (Compendium administrators) can contribute to the survey if needed, but agreement should be reached internally before completing the survey as the administration team will treat responses as a single source of truth from the NREN. You can start editing only when nobody else from your NREN is currently working on the survey."]}),S[45]=Qt,S[46]=tt):(Qt=S[45],tt=S[46]);let Ce;S[47]!==P?(Ce=de.jsxs("p",{children:[de.jsxs("b",{children:["In a small change, the survey now asks about this calendar year, i.e. ",P]})," (or the current financial year if your budget or staffing data does not match the calendar year). For network questions, please provide data from the 12 months preceding you answering the question. Where available, the survey questions are pre-filled with answers from the previous survey. You can edit the pre-filled answer to provide new information, or press the “no change from previous year” button."]}),S[47]=P,S[48]=Ce):Ce=S[48];let tn,Ot;S[49]===Symbol.for("react.memo_cache_sentinel")?(tn=de.jsxs("p",{children:["Press the “","Save progress","“ or “","Save and stop editing","“ button to save all answers in the survey. When you reach the last section of the survey (Services), you will find a “","Complete Survey","“ button which saves all answers in the survey and lets the Compendium team know that your answers are ready to be published. As long as the survey remains open, any Compendium administrator from your NREN can add answers or amend existing ones, even after using the “","Complete Survey","“ button."]}),Ot=de.jsx("p",{children:"Some fields require specific data, such as numerical data, valid http-addresses, and in some questions, the answer has to add up to 100%. If an answer does not fulfil the set criteria, the question will turn pink and an error message will appear. Fields can be left blank if you prefer not to answer a question. If you notice any errors after the survey was closed, please contact us for correcting those."}),S[49]=tn,S[50]=Ot):(tn=S[49],Ot=S[50]);let Dt;S[51]!==Ce?(Dt=de.jsxs("div",{style:Qt,children:[tt,Ce,tn,Ot]}),S[51]=Ce,S[52]=Dt):Dt=S[52];let At;S[53]===Symbol.for("react.memo_cache_sentinel")?(At=de.jsx("a",{href:"mailto:Partner-Relations@geant.org",children:de.jsx("span",{children:"Partner-Relations@geant.org"})}),S[53]=At):At=S[53];let Ct;S[54]!==P?(Ct=de.jsxs("p",{children:["Thank you for taking the time to fill in the ",P," Compendium Survey. Any questions or requests can be sent to ",At]}),S[54]=P,S[55]=Ct):Ct=S[55];let wt;S[56]!==w?(wt=w&&de.jsxs(de.Fragment,{children:[de.jsx("br",{}),de.jsxs("b",{children:["Remember to click “","Save and stop editing","” before leaving the page."]})]}),S[56]=w,S[57]=wt):wt=S[57],S[58]!==Je||S[59]!==Dt||S[60]!==Ct||S[61]!==wt?(Qe=de.jsxs(xr,{className:"survey-content",children:[Je,Dt,Ct,wt]}),S[58]=Je,S[59]=Dt,S[60]=Ct,S[61]=wt,S[62]=Qe):Qe=S[62],bt=de.jsx(xr,{children:Re()});let nt;S[63]!==w||S[64]!==k||S[65]!==ce||S[66]!==z.editAllowed?(nt=!w&&de.jsxs("div",{className:"survey-edit-explainer",children:[!k&&z.editAllowed&&"The survey is in read-only mode; click the “Start editing“ button to begin editing the answers.",!k&&!z.editAllowed&&"The survey is in read-only mode and can not be edited by you.",k&&k!=ce.name&&"The survey is in read-only mode and currently being edited by: "+k+". To start editing the survey, ask them to complete their edits.",k&&k==ce.name&&'The survey is in read-only mode because you started editing in another tab, browser or device. To start editing the survey, either complete those edits or click the "Discard any unsaved changes" button.']}),S[63]=w,S[64]=k,S[65]=ce,S[66]=z.editAllowed,S[67]=nt):nt=S[67],S[68]!==nt?($e=de.jsx(xr,{className:"survey-content",children:nt}),S[68]=nt,S[69]=$e):$e=S[69];let ct;S[70]!==me||S[71]!==z?(ct=de.jsx(Lh,{surveyModel:z,pageNoSetter:me}),S[70]=me,S[71]=z,S[72]=ct):ct=S[72],S[73]!==R||S[74]!==ct?(ut=de.jsxs(xr,{children:[ct,R]}),S[73]=R,S[74]=ct,S[75]=ut):ut=S[75],Ke=xr,ht=Re(),S[16]=R,S[17]=en,S[18]=w,S[19]=Fe,S[20]=k,S[21]=ce,S[22]=B,S[23]=C,S[24]=me,S[25]=$,S[26]=z,S[27]=P,S[28]=Ke,S[29]=vt,S[30]=$e,S[31]=ut,S[32]=ht,S[33]=Qe,S[34]=bt}else Ke=S[28],vt=S[29],$e=S[30],ut=S[31],ht=S[32],Qe=S[33],bt=S[34];let Rt;S[76]!==Ke||S[77]!==ht?(Rt=de.jsx(Ke,{children:ht}),S[76]=Ke,S[77]=ht,S[78]=Rt):Rt=S[78];let je;return S[79]!==vt||S[80]!==$e||S[81]!==ut||S[82]!==Rt||S[83]!==Qe||S[84]!==bt?(je=de.jsxs(vt,{children:[Qe,bt,$e,ut,Rt]}),S[79]=vt,S[80]=$e,S[81]=ut,S[82]=Rt,S[83]=Qe,S[84]=bt,S[85]=je):je=S[85],je}function qh(ne,S){return de.jsx("button",{className:"sv-btn sv-btn--navigation",onClick:S,children:ne})}function _h(ne){const S=Bo.c(5),z=ne.when,O=ne.onPageExit;let P;S[0]!==z||S[1]!==O||S[2]!==ne.message?(P=()=>{if(z()){const R=window.confirm(ne.message);return R&&O(),!R}return!1},S[0]=z,S[1]=O,S[2]=ne.message,S[3]=P):P=S[3],wh(P);let B;return S[4]===Symbol.for("react.memo_cache_sentinel")?(B=de.jsx("div",{}),S[4]=B):B=S[4],B}function Bh(ne,S=!1){if(!S&&(ne==null||ne==null||ne==""))return!0;try{return ne=ne.trim(),ne.includes(" ")?!1:(ne.includes(":/")||(ne="https://"+ne),!!new URL(ne))}catch{return!1}}const Fh={validateWebsiteUrl:Bh},kh={data_protection_contact:(...ne)=>!0};function Qh(ne){let S=ne[0];if(S==null||S==null||S=="")return!0;try{return S=S.trim(),S.includes(" ")?!1:(S.includes(":/")||(S="https://"+S),!!new URL(S))}catch{return!1}}function Hh(ne){try{const S=this.question,z=ne[0]||void 0,O=S.data&&"name"in S.data;let P;O?P=S.data.name:P=S.name;const B=S.value,R=kh[P];if(R)return R(B,...ne.slice(1));const D=Fh[z];if(!D)throw new Error(`Validation function ${z} not found for question ${P}`);return D(B,...ne.slice(1))}catch(S){return console.error(S),!1}}Jn.Serializer.addProperty("itemvalue","customDescription:text");Jn.Serializer.addProperty("question","hideCheckboxLabels:boolean");function Zh({loadFrom:ne}){const[S,z]=at.useState(),{year:O,nren:P}=Ph(),[B,R]=at.useState("loading survey..."),{user:D}=at.useContext(Gu),h=!!D.id?D.permissions.admin:!1;Jn.FunctionFactory.Instance.hasFunction("validateQuestion")||Jn.FunctionFactory.Instance.register("validateQuestion",Hh),Jn.FunctionFactory.Instance.hasFunction("validateWebsiteUrl")||Jn.FunctionFactory.Instance.register("validateWebsiteUrl",Qh);const{trackPageView:w}=xh(),A=at.useCallback(be=>(be.preventDefault(),be.returnValue=""),[]),k=at.useCallback(()=>{window.navigator.sendBeacon("/api/response/unlock/"+O+"/"+P)},[]),le=at.useCallback(()=>{window.navigator.sendBeacon("/api/response/unlock/"+O+"/"+P),removeEventListener("beforeunload",A,{capture:!0}),removeEventListener("pagehide",k)},[]);if(at.useEffect(()=>{async function be(){const pe=await fetch(ne+O+(P?"/"+P:"")),x=await pe.json();if(!pe.ok)throw"message"in x?new Error(x.message):new Error(`Request failed with status ${pe.status}`);const we=new Jn.Model(x.model);we.setVariable("surveyyear",O),we.setVariable("previousyear",parseInt(O)-1),we.showNavigationButtons=!1,we.requiredText="",we.verificationStatus=new Map;for(const me in x.verification_status)we.verificationStatus.set(me,x.verification_status[me]);we.data=x.data,we.clearIncorrectValues(!0),we.currentPageNo=x.page,we.mode=x.mode,we.lockedBy=x.locked_by,we.status=x.status,we.editAllowed=x.edit_allowed,z(we)}be().catch(pe=>R("Error when loading survey: "+pe.message)).then(()=>{w({documentTitle:`Survey for ${P} (${O})`})})},[]),!S)return B;const $=async(be,pe)=>{if(!P)return"Saving not available in inpect/try mode";const x={lock_uuid:be.lockUUID,new_state:pe,data:be.data,page:be.currentPageNo,verification_status:Object.fromEntries(be.verificationStatus)};try{const we=await fetch("/api/response/save/"+O+"/"+P,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(x)}),me=await we.json();if(!we.ok)return me.message;S.mode=me.mode,S.lockedBy=me.locked_by,S.status=me.status}catch(we){return"Unknown Error: "+we.message}},ie=(be,pe=!0)=>{let x="";const we=(lt,Fe)=>{lt.verificationStatus.get(Fe.name)==yi.Unverified&&(x==""&&(x=Fe.name),Fe.error='Please verify that last years data is correct by editing the answer or pressing the "No change from previous year" button!')};pe&&S.onValidateQuestion.add(we);const me=be();return pe&&S.onValidateQuestion.remove(we),me||mt("Validation failed!"),me},ce={save:async()=>{if(!ie(S.validate.bind(S,!0,!0),!1)){mt("Please correct the invalid fields before saving!");return}const pe=await $(S,"editing");pe?mt("Failed saving survey: "+pe):mt("Survey saved!")},complete:async()=>{if(ie(S.validate.bind(S,!0,!0))){const pe=await $(S,"completed");pe?mt("Failed completing survey: "+pe):(mt("Survey completed!"),removeEventListener("beforeunload",A,{capture:!0}),removeEventListener("pagehide",k))}},saveAndStopEdit:async()=>{if(!ie(S.validate.bind(S,!0,!0),!1)){mt("Please correct the invalid fields before saving.");return}const pe=await $(S,"readonly");pe?mt("Failed saving survey: "+pe):(mt("Survey saved!"),removeEventListener("beforeunload",A,{capture:!0}),removeEventListener("pagehide",k))},startEdit:async()=>{const be=await fetch("/api/response/lock/"+O+"/"+P,{method:"POST"}),pe=await be.json();if(!be.ok){mt("Failed starting edit: "+pe.message);return}addEventListener("pagehide",k),addEventListener("beforeunload",A,{capture:!0});for(const we in pe.verification_status)S.verificationStatus.set(we,pe.verification_status[we]);if(S.data=pe.data,S.clearIncorrectValues(!0),S.mode=pe.mode,S.lockedBy=pe.locked_by,S.lockUUID=pe.lock_uuid,S.status=pe.status,!ie(S.validate.bind(S,!0,!0),!1)){mt("Some fields are invalid, please correct them.");return}},releaseLock:async()=>{const be=await fetch("/api/response/unlock/"+O+"/"+P,{method:"POST"}),pe=await be.json();if(!be.ok){mt("Failed releasing lock: "+pe.message);return}S.mode=pe.mode,S.lockedBy=pe.locked_by,S.status=pe.status},validatePage:()=>{ie(S.validatePage.bind(S))&&mt("Page validation successful!")}};S.css.question.title.includes("sv-header-flex")||(S.css.question.title="sv-title sv-question__title sv-header-flex",S.css.question.titleOnError="sv-question__title--error sv-error-color-fix");const We=be=>{S.currentPageNo=be};return de.jsxs(de.Fragment,{children:[h?de.jsx(Sh,{}):null,de.jsxs(xa,{className:"survey-container",children:[de.jsx(Vh,{}),de.jsx(_h,{message:"Are you sure you want to leave this page? Information you've entered may not be saved.",when:()=>S.mode=="edit"&&!!P,onPageExit:le}),de.jsx(Nh,{onPageChange:We,surveyModel:S,surveyActions:ce,year:O,nren:P,children:de.jsx(Ah,{surveyModel:S})})]})]})}export{Zh as default}; + */(function(h,w){B.exports=w()})(this,function(){return function(C){var h={};function w(A){if(h[A])return h[A].exports;var k=h[A]={i:A,l:!1,exports:{}};return C[A].call(k.exports,k,k.exports,w),k.l=!0,k.exports}return w.m=C,w.c=h,w.d=function(A,k,le){w.o(A,k)||Object.defineProperty(A,k,{enumerable:!0,get:le})},w.r=function(A){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},w.t=function(A,k){if(k&1&&(A=w(A)),k&8||k&4&&typeof A=="object"&&A&&A.__esModule)return A;var le=Object.create(null);if(w.r(le),Object.defineProperty(le,"default",{enumerable:!0,value:A}),k&2&&typeof A!="string")for(var $ in A)w.d(le,$,(function(ie){return A[ie]}).bind(null,$));return le},w.n=function(A){var k=A&&A.__esModule?function(){return A.default}:function(){return A};return w.d(k,"a",k),k},w.o=function(A,k){return Object.prototype.hasOwnProperty.call(A,k)},w.p="",w(w.s="./packages/survey-core/src/iconsV2.ts")}({"./packages/survey-core/src/iconsV2.ts":function(C,h,w){w.r(h),w.d(h,"icons",function(){return k});var A=w("./packages/survey-core/src/images-v2 sync recursive \\.svg$"),k={};A.keys().forEach(function(le){k[le.substring(2,le.length-4).toLowerCase()]=A(le)})},"./packages/survey-core/src/images-v2 sync recursive \\.svg$":function(C,h,w){var A={"./ModernBooleanCheckChecked.svg":"./packages/survey-core/src/images-v2/ModernBooleanCheckChecked.svg","./ModernBooleanCheckInd.svg":"./packages/survey-core/src/images-v2/ModernBooleanCheckInd.svg","./ModernBooleanCheckUnchecked.svg":"./packages/survey-core/src/images-v2/ModernBooleanCheckUnchecked.svg","./ModernCheck.svg":"./packages/survey-core/src/images-v2/ModernCheck.svg","./ModernRadio.svg":"./packages/survey-core/src/images-v2/ModernRadio.svg","./ProgressButton.svg":"./packages/survey-core/src/images-v2/ProgressButton.svg","./RemoveFile.svg":"./packages/survey-core/src/images-v2/RemoveFile.svg","./TimerCircle.svg":"./packages/survey-core/src/images-v2/TimerCircle.svg","./add-24x24.svg":"./packages/survey-core/src/images-v2/add-24x24.svg","./arrowleft-16x16.svg":"./packages/survey-core/src/images-v2/arrowleft-16x16.svg","./arrowright-16x16.svg":"./packages/survey-core/src/images-v2/arrowright-16x16.svg","./camera-24x24.svg":"./packages/survey-core/src/images-v2/camera-24x24.svg","./camera-32x32.svg":"./packages/survey-core/src/images-v2/camera-32x32.svg","./cancel-24x24.svg":"./packages/survey-core/src/images-v2/cancel-24x24.svg","./check-16x16.svg":"./packages/survey-core/src/images-v2/check-16x16.svg","./check-24x24.svg":"./packages/survey-core/src/images-v2/check-24x24.svg","./chevrondown-24x24.svg":"./packages/survey-core/src/images-v2/chevrondown-24x24.svg","./chevronright-16x16.svg":"./packages/survey-core/src/images-v2/chevronright-16x16.svg","./clear-16x16.svg":"./packages/survey-core/src/images-v2/clear-16x16.svg","./clear-24x24.svg":"./packages/survey-core/src/images-v2/clear-24x24.svg","./close-16x16.svg":"./packages/survey-core/src/images-v2/close-16x16.svg","./close-24x24.svg":"./packages/survey-core/src/images-v2/close-24x24.svg","./collapse-16x16.svg":"./packages/survey-core/src/images-v2/collapse-16x16.svg","./collapsedetails-16x16.svg":"./packages/survey-core/src/images-v2/collapsedetails-16x16.svg","./delete-24x24.svg":"./packages/survey-core/src/images-v2/delete-24x24.svg","./drag-24x24.svg":"./packages/survey-core/src/images-v2/drag-24x24.svg","./draghorizontal-24x16.svg":"./packages/survey-core/src/images-v2/draghorizontal-24x16.svg","./expand-16x16.svg":"./packages/survey-core/src/images-v2/expand-16x16.svg","./expanddetails-16x16.svg":"./packages/survey-core/src/images-v2/expanddetails-16x16.svg","./file-72x72.svg":"./packages/survey-core/src/images-v2/file-72x72.svg","./flip-24x24.svg":"./packages/survey-core/src/images-v2/flip-24x24.svg","./folder-24x24.svg":"./packages/survey-core/src/images-v2/folder-24x24.svg","./fullsize-16x16.svg":"./packages/survey-core/src/images-v2/fullsize-16x16.svg","./image-48x48.svg":"./packages/survey-core/src/images-v2/image-48x48.svg","./loading-48x48.svg":"./packages/survey-core/src/images-v2/loading-48x48.svg","./maximize-16x16.svg":"./packages/survey-core/src/images-v2/maximize-16x16.svg","./minimize-16x16.svg":"./packages/survey-core/src/images-v2/minimize-16x16.svg","./more-24x24.svg":"./packages/survey-core/src/images-v2/more-24x24.svg","./navmenu-24x24.svg":"./packages/survey-core/src/images-v2/navmenu-24x24.svg","./noimage-48x48.svg":"./packages/survey-core/src/images-v2/noimage-48x48.svg","./ranking-arrows.svg":"./packages/survey-core/src/images-v2/ranking-arrows.svg","./rankingundefined-16x16.svg":"./packages/survey-core/src/images-v2/rankingundefined-16x16.svg","./rating-star-2.svg":"./packages/survey-core/src/images-v2/rating-star-2.svg","./rating-star-small-2.svg":"./packages/survey-core/src/images-v2/rating-star-small-2.svg","./rating-star-small.svg":"./packages/survey-core/src/images-v2/rating-star-small.svg","./rating-star.svg":"./packages/survey-core/src/images-v2/rating-star.svg","./reorder-24x24.svg":"./packages/survey-core/src/images-v2/reorder-24x24.svg","./restoredown-16x16.svg":"./packages/survey-core/src/images-v2/restoredown-16x16.svg","./search-24x24.svg":"./packages/survey-core/src/images-v2/search-24x24.svg","./smiley-rate1-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate1-24x24.svg","./smiley-rate10-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate10-24x24.svg","./smiley-rate2-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate2-24x24.svg","./smiley-rate3-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate3-24x24.svg","./smiley-rate4-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate4-24x24.svg","./smiley-rate5-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate5-24x24.svg","./smiley-rate6-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate6-24x24.svg","./smiley-rate7-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate7-24x24.svg","./smiley-rate8-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate8-24x24.svg","./smiley-rate9-24x24.svg":"./packages/survey-core/src/images-v2/smiley-rate9-24x24.svg"};function k($){var ie=le($);return w(ie)}function le($){if(!w.o(A,$)){var ie=new Error("Cannot find module '"+$+"'");throw ie.code="MODULE_NOT_FOUND",ie}return A[$]}k.keys=function(){return Object.keys(A)},k.resolve=le,C.exports=k,k.id="./packages/survey-core/src/images-v2 sync recursive \\.svg$"},"./packages/survey-core/src/images-v2/ModernBooleanCheckChecked.svg":function(C,h){C.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>'},"./packages/survey-core/src/images-v2/ModernBooleanCheckInd.svg":function(C,h){C.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>'},"./packages/survey-core/src/images-v2/ModernBooleanCheckUnchecked.svg":function(C,h){C.exports='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>'},"./packages/survey-core/src/images-v2/ModernCheck.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24"><path d="M5,13l2-2l3,3l7-7l2,2l-9,9L5,13z"></path></svg>'},"./packages/survey-core/src/images-v2/ModernRadio.svg":function(C,h){C.exports='<svg viewBox="-12 -12 24 24"><circle r="6" cx="0" cy="0"></circle></svg>'},"./packages/survey-core/src/images-v2/ProgressButton.svg":function(C,h){C.exports='<svg viewBox="0 0 10 10"><polygon points="2,2 0,4 5,9 10,4 8,2 5,5 "></polygon></svg>'},"./packages/survey-core/src/images-v2/RemoveFile.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16"><path d="M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z M11,10l-1,1L8,9l-2,2l-1-1l2-2L5,6l1-1l2,2l2-2l1,1L9,8 L11,10z"></path></svg>'},"./packages/survey-core/src/images-v2/TimerCircle.svg":function(C,h){C.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 160 160"><circle cx="80" cy="80" r="70" style="stroke: var(--sd-timer-stroke-background-color); stroke-width: var(--sd-timer-stroke-background-width)" stroke-dasharray="none" stroke-dashoffset="none"></circle><circle cx="80" cy="80" r="70"></circle></svg>'},"./packages/survey-core/src/images-v2/add-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15.75 12C15.75 12.41 15.41 12.75 15 12.75H12.75V15C12.75 15.41 12.41 15.75 12 15.75C11.59 15.75 11.25 15.41 11.25 15V12.75H9C8.59 12.75 8.25 12.41 8.25 12C8.25 11.59 8.59 11.25 9 11.25H11.25V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9V11.25H15C15.41 11.25 15.75 11.59 15.75 12ZM21.75 12C21.75 17.38 17.38 21.75 12 21.75C6.62 21.75 2.25 17.38 2.25 12C2.25 6.62 6.62 2.25 12 2.25C17.38 2.25 21.75 6.62 21.75 12ZM20.25 12C20.25 7.45 16.55 3.75 12 3.75C7.45 3.75 3.75 7.45 3.75 12C3.75 16.55 7.45 20.25 12 20.25C16.55 20.25 20.25 16.55 20.25 12Z"></path></svg>'},"./packages/survey-core/src/images-v2/arrowleft-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.7475 7.9975C14.7475 8.4075 14.4075 8.7475 13.9975 8.7475H3.8075L7.5275 12.4675C7.8175 12.7575 7.8175 13.2375 7.5275 13.5275C7.3775 13.6775 7.1875 13.7475 6.9975 13.7475C6.8075 13.7475 6.6175 13.6775 6.4675 13.5275L1.4675 8.5275C1.1775 8.2375 1.1775 7.7575 1.4675 7.4675L6.4675 2.4675C6.7575 2.1775 7.2375 2.1775 7.5275 2.4675C7.8175 2.7575 7.8175 3.2375 7.5275 3.5275L3.8075 7.2475H13.9975C14.4075 7.2475 14.7475 7.5875 14.7475 7.9975Z"></path></svg>'},"./packages/survey-core/src/images-v2/arrowright-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 8.5275L9.53 13.5275C9.38 13.6775 9.19 13.7475 9 13.7475C8.81 13.7475 8.62 13.6775 8.47 13.5275C8.18 13.2375 8.18 12.7575 8.47 12.4675L12.19 8.7475H2C1.59 8.7475 1.25 8.4075 1.25 7.9975C1.25 7.5875 1.59 7.2475 2 7.2475H12.19L8.47 3.5275C8.18 3.2375 8.18 2.7575 8.47 2.4675C8.76 2.1775 9.24 2.1775 9.53 2.4675L14.53 7.4675C14.82 7.7575 14.82 8.2375 14.53 8.5275Z"></path></svg>'},"./packages/survey-core/src/images-v2/camera-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.19 4.25H17.12C16.72 4.25 16.35 4.03 16.17 3.67C15.73 2.8 14.86 2.25 13.88 2.25H10.12C9.14 2.25 8.27 2.79 7.83 3.67C7.65 4.03 7.29 4.25 6.88 4.25H4.81C3.4 4.25 2.25 5.4 2.25 6.81V18.19C2.25 19.6 3.4 20.75 4.81 20.75H19.19C20.6 20.75 21.75 19.6 21.75 18.19V6.81C21.75 5.4 20.6 4.25 19.19 4.25ZM20.25 18.19C20.25 18.77 19.78 19.25 19.19 19.25H4.81C4.23 19.25 3.75 18.78 3.75 18.19V6.81C3.75 6.23 4.22 5.75 4.81 5.75H6.88C7.86 5.75 8.73 5.21 9.17 4.33C9.35 3.97 9.71 3.75 10.12 3.75H13.88C14.28 3.75 14.65 3.97 14.83 4.33C15.27 5.2 16.14 5.75 17.12 5.75H19.19C19.77 5.75 20.25 6.22 20.25 6.81V18.19ZM12 6.25C8.83 6.25 6.25 8.83 6.25 12C6.25 15.17 8.83 17.75 12 17.75C15.17 17.75 17.75 15.17 17.75 12C17.75 8.83 15.17 6.25 12 6.25ZM12 16.25C9.66 16.25 7.75 14.34 7.75 12C7.75 9.66 9.66 7.75 12 7.75C14.34 7.75 16.25 9.66 16.25 12C16.25 14.34 14.34 16.25 12 16.25ZM14.75 12C14.75 13.52 13.52 14.75 12 14.75C11.59 14.75 11.25 14.41 11.25 14C11.25 13.59 11.59 13.25 12 13.25C12.69 13.25 13.25 12.69 13.25 12C13.25 11.59 13.59 11.25 14 11.25C14.41 11.25 14.75 11.59 14.75 12Z"></path></svg>'},"./packages/survey-core/src/images-v2/camera-32x32.svg":function(C,h){C.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M25 7.25H22.19C21.73 7.25 21.31 7 21.09 6.59L20.89 6.22C20.23 5.01 18.97 4.25 17.59 4.25H14.41C13.03 4.25 11.77 5 11.11 6.22L10.91 6.6C10.69 7 10.27 7.26 9.81 7.26H7C4.93 7.26 3.25 8.94 3.25 11.01V24.01C3.25 26.08 4.93 27.76 7 27.76H25C27.07 27.76 28.75 26.08 28.75 24.01V11C28.75 8.93 27.07 7.25 25 7.25ZM27.25 24C27.25 25.24 26.24 26.25 25 26.25H7C5.76 26.25 4.75 25.24 4.75 24V11C4.75 9.76 5.76 8.75 7 8.75H9.81C10.82 8.75 11.75 8.2 12.23 7.31L12.43 6.94C12.82 6.21 13.58 5.76 14.41 5.76H17.59C18.42 5.76 19.18 6.21 19.57 6.94L19.77 7.31C20.25 8.2 21.18 8.76 22.19 8.76H25C26.24 8.76 27.25 9.77 27.25 11.01V24.01V24ZM16 10.25C12.28 10.25 9.25 13.28 9.25 17C9.25 20.72 12.28 23.75 16 23.75C19.72 23.75 22.75 20.72 22.75 17C22.75 13.28 19.72 10.25 16 10.25ZM16 22.25C13.11 22.25 10.75 19.89 10.75 17C10.75 14.11 13.11 11.75 16 11.75C18.89 11.75 21.25 14.11 21.25 17C21.25 19.89 18.89 22.25 16 22.25ZM19.75 17C19.75 19.07 18.07 20.75 16 20.75C15.59 20.75 15.25 20.41 15.25 20C15.25 19.59 15.59 19.25 16 19.25C17.24 19.25 18.25 18.24 18.25 17C18.25 16.59 18.59 16.25 19 16.25C19.41 16.25 19.75 16.59 19.75 17Z"></path></svg>'},"./packages/survey-core/src/images-v2/cancel-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.8099 11.75L15.2799 9.28C15.5699 8.99 15.5699 8.51 15.2799 8.22C14.9899 7.93 14.5099 7.93 14.2199 8.22L11.7499 10.69L9.27994 8.22C8.98994 7.93 8.50994 7.93 8.21994 8.22C7.92994 8.51 7.92994 8.99 8.21994 9.28L10.6899 11.75L8.21994 14.22C7.92994 14.51 7.92994 14.99 8.21994 15.28C8.36994 15.43 8.55994 15.5 8.74994 15.5C8.93994 15.5 9.12994 15.43 9.27994 15.28L11.7499 12.81L14.2199 15.28C14.3699 15.43 14.5599 15.5 14.7499 15.5C14.9399 15.5 15.1299 15.43 15.2799 15.28C15.5699 14.99 15.5699 14.51 15.2799 14.22L12.8099 11.75Z"></path></svg>'},"./packages/survey-core/src/images-v2/check-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.0275 5.0275L6.5275 12.5275C6.3775 12.6775 6.1875 12.7475 5.9975 12.7475C5.8075 12.7475 5.6175 12.6775 5.4675 12.5275L2.4675 9.5275C2.1775 9.2375 2.1775 8.7575 2.4675 8.4675C2.7575 8.1775 3.2375 8.1775 3.5275 8.4675L5.9975 10.9375L12.9675 3.9675C13.2575 3.6775 13.7375 3.6775 14.0275 3.9675C14.3175 4.2575 14.3175 4.7375 14.0275 5.0275Z"></path></svg>'},"./packages/survey-core/src/images-v2/check-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 7.5275L9.5275 17.5275C9.3775 17.6775 9.1875 17.7475 8.9975 17.7475C8.8075 17.7475 8.6175 17.6775 8.4675 17.5275L4.4675 13.5275C4.1775 13.2375 4.1775 12.7575 4.4675 12.4675C4.7575 12.1775 5.2375 12.1775 5.5275 12.4675L8.9975 15.9375L18.4675 6.4675C18.7575 6.1775 19.2375 6.1775 19.5275 6.4675C19.8175 6.7575 19.8175 7.2375 19.5275 7.5275Z"></path></svg>'},"./packages/survey-core/src/images-v2/chevrondown-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.5275 10.5275L12.5275 14.5275C12.3775 14.6775 12.1875 14.7475 11.9975 14.7475C11.8075 14.7475 11.6175 14.6775 11.4675 14.5275L7.4675 10.5275C7.1775 10.2375 7.1775 9.7575 7.4675 9.4675C7.7575 9.1775 8.2375 9.1775 8.5275 9.4675L11.9975 12.9375L15.4675 9.4675C15.7575 9.1775 16.2375 9.1775 16.5275 9.4675C16.8175 9.7575 16.8175 10.2375 16.5275 10.5275Z"></path></svg>'},"./packages/survey-core/src/images-v2/chevronright-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.35 8.34627L7.35 12.3463C7.25 12.4463 7.12 12.4963 7 12.4963C6.88 12.4963 6.74 12.4463 6.65 12.3463C6.45 12.1463 6.45 11.8363 6.65 11.6363L10.3 7.98627L6.65 4.34627C6.45 4.15627 6.45 3.83627 6.65 3.64627C6.85 3.45627 7.16 3.44627 7.35 3.64627L11.35 7.64627C11.55 7.84627 11.55 8.15627 11.35 8.35627V8.34627Z"></path></svg>'},"./packages/survey-core/src/images-v2/clear-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12.35 11.65C12.55 11.85 12.55 12.16 12.35 12.36C12.25 12.46 12.12 12.51 12 12.51C11.88 12.51 11.74 12.46 11.65 12.36L8 8.71L4.35 12.36C4.25 12.46 4.12 12.51 4 12.51C3.88 12.51 3.74 12.46 3.65 12.36C3.45 12.16 3.45 11.85 3.65 11.65L7.3 8L3.65 4.35C3.45 4.16 3.45 3.84 3.65 3.65C3.85 3.46 4.16 3.45 4.35 3.65L8 7.3L11.65 3.65C11.85 3.45 12.16 3.45 12.36 3.65C12.56 3.85 12.56 4.16 12.36 4.36L8.71 8.01L12.36 11.66L12.35 11.65Z"></path></svg>'},"./packages/survey-core/src/images-v2/clear-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.12 10.9325C20.64 10.4125 20.93 9.7225 20.93 8.9925C20.93 8.2625 20.64 7.5725 20.12 7.0525L16.95 3.8825C15.88 2.8125 14.13 2.8125 13.06 3.8825L3.88 13.0525C3.36 13.5725 3.07 14.2625 3.07 14.9925C3.07 15.7225 3.36 16.4125 3.88 16.9325L5.64 18.6925C6.57 19.6225 7.78 20.0825 9 20.0825C10.22 20.0825 11.43 19.6225 12.36 18.6925L20.12 10.9325ZM14.12 4.9325C14.36 4.6925 14.67 4.5625 15 4.5625C15.33 4.5625 15.65 4.6925 15.88 4.9325L19.05 8.1025C19.54 8.5925 19.54 9.3825 19.05 9.8725L12.99 15.9325L8.05 10.9925L14.12 4.9325ZM6.7 17.6325L4.94 15.8725C4.45 15.3825 4.45 14.5925 4.94 14.1025L7 12.0425L11.94 16.9825L11.3 17.6225C10.07 18.8525 7.93 18.8525 6.7 17.6225V17.6325ZM22.75 20.9925C22.75 21.4025 22.41 21.7425 22 21.7425H14C13.59 21.7425 13.25 21.4025 13.25 20.9925C13.25 20.5825 13.59 20.2425 14 20.2425H22C22.41 20.2425 22.75 20.5825 22.75 20.9925ZM4.75 20.9925C4.75 21.4025 4.41 21.7425 4 21.7425H2C1.59 21.7425 1.25 21.4025 1.25 20.9925C1.25 20.5825 1.59 20.2425 2 20.2425H4C4.41 20.2425 4.75 20.5825 4.75 20.9925Z"></path></svg>'},"./packages/survey-core/src/images-v2/close-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.5275 12.4675C13.8175 12.7575 13.8175 13.2375 13.5275 13.5275C13.3775 13.6775 13.1875 13.7475 12.9975 13.7475C12.8075 13.7475 12.6175 13.6775 12.4675 13.5275L7.9975 9.0575L3.5275 13.5275C3.3775 13.6775 3.1875 13.7475 2.9975 13.7475C2.8075 13.7475 2.6175 13.6775 2.4675 13.5275C2.1775 13.2375 2.1775 12.7575 2.4675 12.4675L6.9375 7.9975L2.4675 3.5275C2.1775 3.2375 2.1775 2.7575 2.4675 2.4675C2.7575 2.1775 3.2375 2.1775 3.5275 2.4675L7.9975 6.9375L12.4675 2.4675C12.7575 2.1775 13.2375 2.1775 13.5275 2.4675C13.8175 2.7575 13.8175 3.2375 13.5275 3.5275L9.0575 7.9975L13.5275 12.4675Z"></path></svg>'},"./packages/survey-core/src/images-v2/close-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.5275 18.4675C19.8175 18.7575 19.8175 19.2375 19.5275 19.5275C19.3775 19.6775 19.1875 19.7475 18.9975 19.7475C18.8075 19.7475 18.6175 19.6775 18.4675 19.5275L11.9975 13.0575L5.5275 19.5275C5.3775 19.6775 5.1875 19.7475 4.9975 19.7475C4.8075 19.7475 4.6175 19.6775 4.4675 19.5275C4.1775 19.2375 4.1775 18.7575 4.4675 18.4675L10.9375 11.9975L4.4675 5.5275C4.1775 5.2375 4.1775 4.7575 4.4675 4.4675C4.7575 4.1775 5.2375 4.1775 5.5275 4.4675L11.9975 10.9375L18.4675 4.4675C18.7575 4.1775 19.2375 4.1775 19.5275 4.4675C19.8175 4.7575 19.8175 5.2375 19.5275 5.5275L13.0575 11.9975L19.5275 18.4675Z"></path></svg>'},"./packages/survey-core/src/images-v2/collapse-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/collapsedetails-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/delete-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.75 9V17C12.75 17.41 12.41 17.75 12 17.75C11.59 17.75 11.25 17.41 11.25 17V9C11.25 8.59 11.59 8.25 12 8.25C12.41 8.25 12.75 8.59 12.75 9ZM14.25 9V17C14.25 17.41 14.59 17.75 15 17.75C15.41 17.75 15.75 17.41 15.75 17V9C15.75 8.59 15.41 8.25 15 8.25C14.59 8.25 14.25 8.59 14.25 9ZM9 8.25C8.59 8.25 8.25 8.59 8.25 9V17C8.25 17.41 8.59 17.75 9 17.75C9.41 17.75 9.75 17.41 9.75 17V9C9.75 8.59 9.41 8.25 9 8.25ZM20.75 6C20.75 6.41 20.41 6.75 20 6.75H18.75V18C18.75 19.52 17.52 20.75 16 20.75H8C6.48 20.75 5.25 19.52 5.25 18V6.75H4C3.59 6.75 3.25 6.41 3.25 6C3.25 5.59 3.59 5.25 4 5.25H8.25V4C8.25 3.04 9.04 2.25 10 2.25H14C14.96 2.25 15.75 3.04 15.75 4V5.25H20C20.41 5.25 20.75 5.59 20.75 6ZM9.75 5.25H14.25V4C14.25 3.86 14.14 3.75 14 3.75H10C9.86 3.75 9.75 3.86 9.75 4V5.25ZM17.25 6.75H6.75V18C6.75 18.69 7.31 19.25 8 19.25H16C16.69 19.25 17.25 18.69 17.25 18V6.75Z"></path></svg>'},"./packages/survey-core/src/images-v2/drag-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 8.75C15.19 8.75 15.75 8.19 15.75 7.5C15.75 6.81 15.19 6.25 14.5 6.25C13.81 6.25 13.25 6.81 13.25 7.5C13.25 8.19 13.81 8.75 14.5 8.75ZM14.5 7.25C14.64 7.25 14.75 7.36 14.75 7.5C14.75 7.78 14.25 7.78 14.25 7.5C14.25 7.36 14.36 7.25 14.5 7.25ZM9.5 6.25C8.81 6.25 8.25 6.81 8.25 7.5C8.25 8.19 8.81 8.75 9.5 8.75C10.19 8.75 10.75 8.19 10.75 7.5C10.75 6.81 10.19 6.25 9.5 6.25ZM9.25 7.5C9.25 7.36 9.36 7.25 9.5 7.25C9.64 7.25 9.75 7.36 9.75 7.5C9.75 7.78 9.25 7.78 9.25 7.5ZM14.5 11.25C13.81 11.25 13.25 11.81 13.25 12.5C13.25 13.19 13.81 13.75 14.5 13.75C15.19 13.75 15.75 13.19 15.75 12.5C15.75 11.81 15.19 11.25 14.5 11.25ZM14.25 12.5C14.25 12.36 14.36 12.25 14.5 12.25C14.64 12.25 14.75 12.36 14.75 12.5C14.75 12.78 14.25 12.78 14.25 12.5ZM9.5 11.25C8.81 11.25 8.25 11.81 8.25 12.5C8.25 13.19 8.81 13.75 9.5 13.75C10.19 13.75 10.75 13.19 10.75 12.5C10.75 11.81 10.19 11.25 9.5 11.25ZM9.25 12.5C9.25 12.36 9.36 12.25 9.5 12.25C9.64 12.25 9.75 12.36 9.75 12.5C9.75 12.78 9.25 12.78 9.25 12.5ZM14.5 16.25C13.81 16.25 13.25 16.81 13.25 17.5C13.25 18.19 13.81 18.75 14.5 18.75C15.19 18.75 15.75 18.19 15.75 17.5C15.75 16.81 15.19 16.25 14.5 16.25ZM14.25 17.5C14.25 17.36 14.36 17.25 14.5 17.25C14.64 17.25 14.75 17.36 14.75 17.5C14.75 17.78 14.25 17.78 14.25 17.5ZM9.5 16.25C8.81 16.25 8.25 16.81 8.25 17.5C8.25 18.19 8.81 18.75 9.5 18.75C10.19 18.75 10.75 18.19 10.75 17.5C10.75 16.81 10.19 16.25 9.5 16.25ZM9.25 17.5C9.25 17.36 9.36 17.25 9.5 17.25C9.64 17.25 9.75 17.36 9.75 17.5C9.75 17.78 9.25 17.78 9.25 17.5Z"></path></svg>'},"./packages/survey-core/src/images-v2/draghorizontal-24x16.svg":function(C,h){C.exports='<svg viewBox="0 0 24 16" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 9.25C16.81 9.25 16.25 9.81 16.25 10.5C16.25 11.19 16.81 11.75 17.5 11.75C18.19 11.75 18.75 11.19 18.75 10.5C18.75 9.81 18.19 9.25 17.5 9.25ZM17.25 10.5C17.25 10.36 17.36 10.25 17.5 10.25C17.64 10.25 17.75 10.36 17.75 10.5C17.75 10.78 17.25 10.78 17.25 10.5ZM17.5 6.75C18.19 6.75 18.75 6.19 18.75 5.5C18.75 4.81 18.19 4.25 17.5 4.25C16.81 4.25 16.25 4.81 16.25 5.5C16.25 6.19 16.81 6.75 17.5 6.75ZM17.5 5.25C17.64 5.25 17.75 5.36 17.75 5.5C17.75 5.78 17.25 5.78 17.25 5.5C17.25 5.36 17.36 5.25 17.5 5.25ZM12.5 9.25C11.81 9.25 11.25 9.81 11.25 10.5C11.25 11.19 11.81 11.75 12.5 11.75C13.19 11.75 13.75 11.19 13.75 10.5C13.75 9.81 13.19 9.25 12.5 9.25ZM12.25 10.5C12.25 10.36 12.36 10.25 12.5 10.25C12.64 10.25 12.75 10.36 12.75 10.5C12.75 10.78 12.25 10.78 12.25 10.5ZM12.5 4.25C11.81 4.25 11.25 4.81 11.25 5.5C11.25 6.19 11.81 6.75 12.5 6.75C13.19 6.75 13.75 6.19 13.75 5.5C13.75 4.81 13.19 4.25 12.5 4.25ZM12.25 5.5C12.25 5.36 12.36 5.25 12.5 5.25C12.64 5.25 12.75 5.36 12.75 5.5C12.75 5.78 12.25 5.78 12.25 5.5ZM7.5 9.25C6.81 9.25 6.25 9.81 6.25 10.5C6.25 11.19 6.81 11.75 7.5 11.75C8.19 11.75 8.75 11.19 8.75 10.5C8.75 9.81 8.19 9.25 7.5 9.25ZM7.25 10.5C7.25 10.36 7.36 10.25 7.5 10.25C7.64 10.25 7.75 10.36 7.75 10.5C7.75 10.78 7.25 10.78 7.25 10.5ZM7.5 4.25C6.81 4.25 6.25 4.81 6.25 5.5C6.25 6.19 6.81 6.75 7.5 6.75C8.19 6.75 8.75 6.19 8.75 5.5C8.75 4.81 8.19 4.25 7.5 4.25ZM7.25 5.5C7.25 5.36 7.36 5.25 7.5 5.25C7.64 5.25 7.75 5.36 7.75 5.5C7.75 5.78 7.25 5.78 7.25 5.5Z"></path></svg>'},"./packages/survey-core/src/images-v2/expand-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/expanddetails-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H8.75V11C8.75 11.41 8.41 11.75 8 11.75C7.59 11.75 7.25 11.41 7.25 11V8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H7.25V5C7.25 4.59 7.59 4.25 8 4.25C8.41 4.25 8.75 4.59 8.75 5V7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/file-72x72.svg":function(C,h){C.exports='<svg viewBox="0 0 72 72" xmlns="http://www.w3.org/2000/svg"><path d="M62.83 12.83L53.17 3.17C52.7982 2.79866 52.357 2.50421 51.8714 2.30346C51.3858 2.1027 50.8654 1.99959 50.34 2H14C12.4087 2 10.8826 2.63214 9.75735 3.75736C8.63214 4.88258 8 6.4087 8 8V64C8 65.5913 8.63214 67.1174 9.75735 68.2426C10.8826 69.3679 12.4087 70 14 70H58C59.5913 70 61.1174 69.3679 62.2426 68.2426C63.3679 67.1174 64 65.5913 64 64V15.66C64.0004 15.1346 63.8973 14.6142 63.6965 14.1286C63.4958 13.643 63.2013 13.2018 62.83 12.83ZM52 4.83L61.17 14H56C54.9391 14 53.9217 13.5786 53.1716 12.8284C52.4214 12.0783 52 11.0609 52 10V4.83ZM62 64C62 65.0609 61.5786 66.0783 60.8284 66.8284C60.0783 67.5786 59.0609 68 58 68H14C12.9391 68 11.9217 67.5786 11.1716 66.8284C10.4214 66.0783 10 65.0609 10 64V8C10 6.93914 10.4214 5.92172 11.1716 5.17157C11.9217 4.42143 12.9391 4 14 4H50V10C50 11.5913 50.6321 13.1174 51.7574 14.2426C52.8826 15.3679 54.4087 16 56 16H62V64ZM22 26H50V28H22V26ZM22 32H50V34H22V32ZM22 38H50V40H22V38ZM22 44H50V46H22V44Z"></path></svg>'},"./packages/survey-core/src/images-v2/flip-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M14.53 17.4775C14.82 17.7675 14.82 18.2475 14.53 18.5375L11.53 21.5375C11.38 21.6875 11.19 21.7575 11 21.7575C10.81 21.7575 10.62 21.6875 10.47 21.5375C10.18 21.2475 10.18 20.7675 10.47 20.4775L12.2 18.7475C12.13 18.7475 12.07 18.7475 12 18.7475C6.62 18.7475 2.25 15.7475 2.25 12.0575C2.25 10.2975 3.22 8.6375 4.99 7.3875C5.33 7.1475 5.8 7.2275 6.03 7.5675C6.27 7.9075 6.19 8.3775 5.85 8.6075C4.49 9.5675 3.74 10.7875 3.74 12.0575C3.74 14.9175 7.44 17.2475 11.99 17.2475C12.05 17.2475 12.11 17.2475 12.17 17.2475L10.46 15.5375C10.17 15.2475 10.17 14.7675 10.46 14.4775C10.75 14.1875 11.23 14.1875 11.52 14.4775L14.52 17.4775H14.53ZM12 5.2575C11.93 5.2575 11.87 5.2575 11.8 5.2575L13.53 3.5275C13.82 3.2375 13.82 2.7575 13.53 2.4675C13.24 2.1775 12.76 2.1775 12.47 2.4675L9.47 5.4675C9.18 5.7575 9.18 6.2375 9.47 6.5275L12.47 9.5275C12.62 9.6775 12.81 9.7475 13 9.7475C13.19 9.7475 13.38 9.6775 13.53 9.5275C13.82 9.2375 13.82 8.7575 13.53 8.4675L11.82 6.7575C11.88 6.7575 11.94 6.7575 12 6.7575C16.55 6.7575 20.25 9.0875 20.25 11.9475C20.25 13.2075 19.5 14.4375 18.14 15.3975C17.8 15.6375 17.72 16.1075 17.96 16.4475C18.11 16.6575 18.34 16.7675 18.57 16.7675C18.72 16.7675 18.87 16.7275 19 16.6275C20.77 15.3775 21.75 13.7175 21.75 11.9575C21.75 8.2675 17.38 5.2675 12 5.2675V5.2575Z"></path></svg>'},"./packages/survey-core/src/images-v2/folder-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.72 9.24C21.45 8.92 21.12 8.67 20.75 8.5V8C20.75 6.48 19.52 5.25 18 5.25H10.65C10.32 4.1 9.26 3.25 8 3.25H6C4.48 3.25 3.25 4.48 3.25 6V18C3.25 19.52 4.48 20.75 6 20.75H18.33C19.66 20.75 20.8 19.8 21.04 18.49L22.31 11.49C22.46 10.69 22.24 9.86 21.72 9.24ZM4.75 18V6C4.75 5.31 5.31 4.75 6 4.75H8C8.69 4.75 9.25 5.31 9.25 6C9.25 6.41 9.59 6.75 10 6.75H18C18.69 6.75 19.25 7.31 19.25 8V8.25H9.27C7.94 8.25 6.8 9.2 6.56 10.51L5.29 17.51C5.19 18.07 5.27 18.64 5.51 19.15C5.06 18.96 4.75 18.52 4.75 18ZM20.83 11.22L19.56 18.22C19.45 18.81 18.94 19.25 18.33 19.25H8C7.63 19.25 7.28 19.09 7.04 18.8C6.8 18.51 6.7 18.14 6.77 17.78L8.04 10.78C8.15 10.19 8.66 9.75 9.27 9.75H19.6C19.97 9.75 20.32 9.91 20.56 10.2C20.8 10.49 20.9 10.86 20.83 11.22Z"></path></svg>'},"./packages/survey-core/src/images-v2/fullsize-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M12 3.25H4C3.04 3.25 2.25 4.04 2.25 5V11C2.25 11.96 3.04 12.75 4 12.75H12C12.96 12.75 13.75 11.96 13.75 11V5C13.75 4.04 12.96 3.25 12 3.25ZM12.25 11C12.25 11.14 12.14 11.25 12 11.25H4C3.86 11.25 3.75 11.14 3.75 11V5C3.75 4.86 3.86 4.75 4 4.75H12C12.14 4.75 12.25 4.86 12.25 5V11Z"></path></svg>'},"./packages/survey-core/src/images-v2/image-48x48.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M33 10.25H15C12.38 10.25 10.25 12.38 10.25 15V33C10.25 35.62 12.38 37.75 15 37.75H33C35.62 37.75 37.75 35.62 37.75 33V15C37.75 12.38 35.62 10.25 33 10.25ZM36.25 33C36.25 34.79 34.79 36.25 33 36.25H15C13.21 36.25 11.75 34.79 11.75 33V15C11.75 13.21 13.21 11.75 15 11.75H33C34.79 11.75 36.25 13.21 36.25 15V33ZM30.5 14.25C28.71 14.25 27.25 15.71 27.25 17.5C27.25 19.29 28.71 20.75 30.5 20.75C32.29 20.75 33.75 19.29 33.75 17.5C33.75 15.71 32.29 14.25 30.5 14.25ZM30.5 19.25C29.54 19.25 28.75 18.46 28.75 17.5C28.75 16.54 29.54 15.75 30.5 15.75C31.46 15.75 32.25 16.54 32.25 17.5C32.25 18.46 31.46 19.25 30.5 19.25ZM29.26 26.28C28.94 25.92 28.49 25.71 28.01 25.7C27.54 25.68 27.07 25.87 26.73 26.2L24.95 27.94L22.28 25.23C21.94 24.89 21.5 24.71 21 24.71C20.52 24.71 20.06 24.93 19.74 25.28L14.74 30.78C14.25 31.3 14.12 32.06 14.41 32.72C14.69 33.36 15.28 33.75 15.95 33.75H32.07C32.74 33.75 33.33 33.35 33.61 32.72C33.89 32.06 33.77 31.31 33.29 30.79L29.27 26.29L29.26 26.28ZM32.22 32.12C32.18 32.2 32.13 32.25 32.06 32.25H15.94C15.87 32.25 15.81 32.21 15.78 32.12C15.77 32.09 15.71 31.93 15.83 31.8L20.84 26.29C20.9 26.22 20.99 26.21 21.02 26.21C21.06 26.21 21.14 26.22 21.2 26.29L24.4 29.54C24.69 29.83 25.16 29.84 25.46 29.54L27.77 27.27C27.83 27.21 27.9 27.2 27.94 27.2C28.01 27.2 28.06 27.21 28.13 27.28L32.16 31.79C32.16 31.79 32.16 31.79 32.17 31.8C32.29 31.93 32.23 32.09 32.22 32.12Z"></path></svg>'},"./packages/survey-core/src/images-v2/loading-48x48.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_19679_369428)"><path opacity="0.1" d="M24 40C15.18 40 8 32.82 8 24C8 15.18 15.18 8 24 8C32.82 8 40 15.18 40 24C40 32.82 32.82 40 24 40ZM24 12C17.38 12 12 17.38 12 24C12 30.62 17.38 36 24 36C30.62 36 36 30.62 36 24C36 17.38 30.62 12 24 12Z" fill="black" fill-opacity="0.91"></path><path d="M10 26C8.9 26 8 25.1 8 24C8 15.18 15.18 8 24 8C25.1 8 26 8.9 26 10C26 11.1 25.1 12 24 12C17.38 12 12 17.38 12 24C12 25.1 11.1 26 10 26Z" fill="#19B394"></path></g><defs><clipPath id="clip0_19679_369428"><rect width="32" height="32" fill="white" transform="translate(8 8)"></rect></clipPath></defs></svg>'},"./packages/survey-core/src/images-v2/maximize-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 3V7C13.75 7.41 13.41 7.75 13 7.75C12.59 7.75 12.25 7.41 12.25 7V4.81L9.53 7.53C9.38 7.68 9.19 7.75 9 7.75C8.81 7.75 8.62 7.68 8.47 7.53C8.18 7.24 8.18 6.76 8.47 6.47L11.19 3.75H9C8.59 3.75 8.25 3.41 8.25 3C8.25 2.59 8.59 2.25 9 2.25H13C13.1 2.25 13.19 2.27 13.29 2.31C13.47 2.39 13.62 2.53 13.7 2.72C13.74 2.81 13.76 2.91 13.76 3.01L13.75 3ZM7.53 8.47C7.24 8.18 6.76 8.18 6.47 8.47L3.75 11.19V9C3.75 8.59 3.41 8.25 3 8.25C2.59 8.25 2.25 8.59 2.25 9V13C2.25 13.1 2.27 13.19 2.31 13.29C2.39 13.47 2.53 13.62 2.72 13.7C2.81 13.74 2.91 13.76 3.01 13.76H7.01C7.42 13.76 7.76 13.42 7.76 13.01C7.76 12.6 7.42 12.26 7.01 12.26H4.82L7.54 9.54C7.83 9.25 7.83 8.77 7.54 8.48L7.53 8.47Z"></path></svg>'},"./packages/survey-core/src/images-v2/minimize-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.75 8C13.75 8.41 13.41 8.75 13 8.75H3C2.59 8.75 2.25 8.41 2.25 8C2.25 7.59 2.59 7.25 3 7.25H13C13.41 7.25 13.75 7.59 13.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/more-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 10.25C11.04 10.25 10.25 11.04 10.25 12C10.25 12.96 11.04 13.75 12 13.75C12.96 13.75 13.75 12.96 13.75 12C13.75 11.04 12.96 10.25 12 10.25ZM11.75 12C11.75 11.86 11.86 11.75 12 11.75C12.14 11.75 12.25 11.86 12.25 12C12.25 12.28 11.75 12.28 11.75 12ZM19 10.25C18.04 10.25 17.25 11.04 17.25 12C17.25 12.96 18.04 13.75 19 13.75C19.96 13.75 20.75 12.96 20.75 12C20.75 11.04 19.96 10.25 19 10.25ZM18.75 12C18.75 11.86 18.86 11.75 19 11.75C19.14 11.75 19.25 11.86 19.25 12C19.25 12.28 18.75 12.28 18.75 12ZM5 10.25C4.04 10.25 3.25 11.04 3.25 12C3.25 12.96 4.04 13.75 5 13.75C5.96 13.75 6.75 12.96 6.75 12C6.75 11.04 5.96 10.25 5 10.25ZM4.75 12C4.75 11.86 4.86 11.75 5 11.75C5.14 11.75 5.25 11.86 5.25 12C5.25 12.28 4.75 12.28 4.75 12Z"></path></svg>'},"./packages/survey-core/src/images-v2/navmenu-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.25 7C3.25 6.59 3.59 6.25 4 6.25H15C15.41 6.25 15.75 6.59 15.75 7C15.75 7.41 15.41 7.75 15 7.75H4C3.59 7.75 3.25 7.41 3.25 7ZM20 11.25H4C3.59 11.25 3.25 11.59 3.25 12C3.25 12.41 3.59 12.75 4 12.75H20C20.41 12.75 20.75 12.41 20.75 12C20.75 11.59 20.41 11.25 20 11.25ZM9 16.25H4C3.59 16.25 3.25 16.59 3.25 17C3.25 17.41 3.59 17.75 4 17.75H9C9.41 17.75 9.75 17.41 9.75 17C9.75 16.59 9.41 16.25 9 16.25Z"></path></svg>'},"./packages/survey-core/src/images-v2/noimage-48x48.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M30.4975 14.2475C28.7075 14.2475 27.2475 15.7075 27.2475 17.4975C27.2475 19.2875 28.7075 20.7475 30.4975 20.7475C32.2875 20.7475 33.7475 19.2875 33.7475 17.4975C33.7475 15.7075 32.2875 14.2475 30.4975 14.2475ZM30.4975 19.2475C29.5375 19.2475 28.7475 18.4575 28.7475 17.4975C28.7475 16.5375 29.5375 15.7475 30.4975 15.7475C31.4575 15.7475 32.2475 16.5375 32.2475 17.4975C32.2475 18.4575 31.4575 19.2475 30.4975 19.2475ZM13.5175 11.2175C13.4375 10.8075 13.7075 10.4175 14.1175 10.3375C14.4275 10.2775 14.7175 10.2475 14.9975 10.2475H32.9975C35.6175 10.2475 37.7475 12.3775 37.7475 14.9975V32.9975C37.7475 33.2775 37.7175 33.5675 37.6575 33.8775C37.5875 34.2375 37.2775 34.4875 36.9175 34.4875C36.8675 34.4875 36.8275 34.4875 36.7775 34.4775C36.3675 34.3975 36.1075 34.0075 36.1775 33.5975C36.2175 33.3775 36.2375 33.1775 36.2375 32.9975V14.9975C36.2375 13.2075 34.7775 11.7475 32.9875 11.7475H14.9975C14.8075 11.7475 14.6175 11.7675 14.3975 11.8075C13.9875 11.8875 13.5975 11.6175 13.5175 11.2075V11.2175ZM34.4775 36.7775C34.5575 37.1875 34.2875 37.5775 33.8775 37.6575C33.5675 37.7175 33.2775 37.7475 32.9975 37.7475H14.9975C12.3775 37.7475 10.2475 35.6175 10.2475 32.9975V14.9975C10.2475 14.7175 10.2775 14.4275 10.3375 14.1175C10.4175 13.7075 10.8075 13.4375 11.2175 13.5175C11.6275 13.5975 11.8875 13.9875 11.8175 14.3975C11.7775 14.6175 11.7575 14.8175 11.7575 14.9975V32.9975C11.7575 34.7875 13.2175 36.2475 15.0075 36.2475H33.0075C33.1975 36.2475 33.3875 36.2275 33.6075 36.1875C34.0075 36.1075 34.4075 36.3775 34.4875 36.7875L34.4775 36.7775ZM15.8275 31.7975C15.6975 31.9375 15.7575 32.0875 15.7775 32.1175C15.8175 32.1975 15.8675 32.2475 15.9375 32.2475H29.8175C30.2275 32.2475 30.5675 32.5875 30.5675 32.9975C30.5675 33.4075 30.2275 33.7475 29.8175 33.7475H15.9375C15.2675 33.7475 14.6775 33.3475 14.3975 32.7175C14.1075 32.0575 14.2375 31.2975 14.7275 30.7775L19.7275 25.2775C20.0475 24.9275 20.5075 24.7175 20.9875 24.7075C21.4875 24.7275 21.9375 24.8875 22.2675 25.2275L25.4675 28.4775C25.7575 28.7675 25.7575 29.2475 25.4675 29.5375C25.1675 29.8275 24.6975 29.8275 24.4075 29.5375L21.2075 26.2875C21.1475 26.2175 21.0675 26.1875 21.0275 26.2075C20.9875 26.2075 20.9075 26.2175 20.8475 26.2875L15.8375 31.7975H15.8275ZM38.5275 38.5275C38.3775 38.6775 38.1875 38.7475 37.9975 38.7475C37.8075 38.7475 37.6175 38.6775 37.4675 38.5275L9.4675 10.5275C9.1775 10.2375 9.1775 9.7575 9.4675 9.4675C9.7575 9.1775 10.2375 9.1775 10.5275 9.4675L38.5275 37.4675C38.8175 37.7575 38.8175 38.2375 38.5275 38.5275Z"></path></svg>'},"./packages/survey-core/src/images-v2/ranking-arrows.svg":function(C,h){C.exports='<svg viewBox="0 0 10 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 5L5 0L0 5H4V9H6V5H10Z"></path><path d="M6 19V15H4V19H0L5 24L10 19H6Z"></path></svg>'},"./packages/survey-core/src/images-v2/rankingundefined-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z"></path></svg>'},"./packages/survey-core/src/images-v2/rating-star-2.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z" fill="none" stroke-width="2"></path><path d="M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z" stroke-width="1.70746"></path></svg>'},"./packages/survey-core/src/images-v2/rating-star-small-2.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z" fill="none" stroke-width="2"></path><path d="M12 15.9472L8.58001 17.7572L9.23001 13.9272L6.45001 11.2072L10.29 10.6472L12 7.17725L13.71 10.6472L17.55 11.2072L14.77 13.9272L15.42 17.7572L12 15.9472Z"></path></svg>'},"./packages/survey-core/src/images-v2/rating-star-small.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><path d="M12 19.3373L6.13001 22.4373C5.50001 22.7673 4.77001 22.2373 4.89001 21.5373L6.01001 14.9773L1.26001 10.3273C0.750007 9.83728 1.03001 8.96728 1.73001 8.86728L8.29001 7.90728L11.23 1.93728C11.54 1.29728 12.45 1.29728 12.77 1.93728L15.7 7.90728L22.26 8.86728C22.96 8.96728 23.24 9.83728 22.73 10.3273L17.98 14.9773L19.1 21.5373C19.22 22.2373 18.49 22.7773 17.86 22.4373L11.99 19.3373H12Z"></path></g></svg>'},"./packages/survey-core/src/images-v2/rating-star.svg":function(C,h){C.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><g><path d="M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z"></path></g></svg>'},"./packages/survey-core/src/images-v2/reorder-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.9444 10.75H15.0544C15.7144 10.75 16.3144 10.39 16.6144 9.80002C16.9144 9.22002 16.8644 8.52002 16.4844 7.98002L13.4244 3.71002C12.7644 2.79002 11.2344 2.79002 10.5744 3.71002L7.5244 7.99002C7.1444 8.53002 7.0944 9.22002 7.3944 9.81002C7.6944 10.4 8.2944 10.76 8.9544 10.76L8.9444 10.75ZM8.7444 8.86002L11.7944 4.58002C11.8644 4.49002 11.9544 4.48002 11.9944 4.48002C12.0344 4.48002 12.1344 4.49002 12.1944 4.58002L15.2544 8.86002C15.3344 8.97002 15.3044 9.07002 15.2744 9.12002C15.2444 9.17002 15.1844 9.26002 15.0544 9.26002H8.9444C8.8144 9.26002 8.7444 9.18002 8.7244 9.12002C8.7044 9.06002 8.6644 8.97002 8.7444 8.86002ZM15.0544 13.25H8.9444C8.2844 13.25 7.6844 13.61 7.3844 14.2C7.0844 14.78 7.1344 15.48 7.5144 16.02L10.5744 20.3C10.9044 20.76 11.4344 21.03 11.9944 21.03C12.5544 21.03 13.0944 20.76 13.4144 20.3L16.4744 16.02C16.8544 15.48 16.9044 14.79 16.6044 14.2C16.3044 13.61 15.7044 13.25 15.0444 13.25H15.0544ZM15.2644 15.15L12.2044 19.43C12.0744 19.61 11.9244 19.61 11.7944 19.43L8.7344 15.15C8.6544 15.04 8.6844 14.94 8.7144 14.89C8.7444 14.84 8.8044 14.75 8.9344 14.75H15.0444C15.1744 14.75 15.2444 14.83 15.2644 14.89C15.2844 14.95 15.3244 15.04 15.2444 15.15H15.2644Z"></path></svg>'},"./packages/survey-core/src/images-v2/restoredown-16x16.svg":function(C,h){C.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7.69 8.71C7.73 8.8 7.75 8.9 7.75 9V13C7.75 13.41 7.41 13.75 7 13.75C6.59 13.75 6.25 13.41 6.25 13V10.81L3.53 13.53C3.38 13.68 3.19 13.75 3 13.75C2.81 13.75 2.62 13.68 2.47 13.53C2.18 13.24 2.18 12.76 2.47 12.47L5.19 9.75H3C2.59 9.75 2.25 9.41 2.25 9C2.25 8.59 2.59 8.25 3 8.25H7C7.1 8.25 7.19 8.27 7.29 8.31C7.47 8.39 7.62 8.53 7.7 8.72L7.69 8.71ZM13 6.25H10.81L13.53 3.53C13.82 3.24 13.82 2.76 13.53 2.47C13.24 2.18 12.76 2.18 12.47 2.47L9.75 5.19V3C9.75 2.59 9.41 2.25 9 2.25C8.59 2.25 8.25 2.59 8.25 3V7C8.25 7.1 8.27 7.19 8.31 7.29C8.39 7.47 8.53 7.62 8.72 7.7C8.81 7.74 8.91 7.76 9.01 7.76H13.01C13.42 7.76 13.76 7.42 13.76 7.01C13.76 6.6 13.42 6.26 13.01 6.26L13 6.25Z"></path></svg>'},"./packages/survey-core/src/images-v2/search-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.9975 2.25C9.7275 2.25 6.2475 5.73 6.2475 10C6.2475 11.87 6.9075 13.58 8.0175 14.92L2.4675 20.47C2.1775 20.76 2.1775 21.24 2.4675 21.53C2.6175 21.68 2.8075 21.75 2.9975 21.75C3.1875 21.75 3.3775 21.68 3.5275 21.53L9.0775 15.98C10.4175 17.08 12.1275 17.75 13.9975 17.75C18.2675 17.75 21.7475 14.27 21.7475 10C21.7475 5.73 18.2675 2.25 13.9975 2.25ZM13.9975 16.25C10.5475 16.25 7.7475 13.45 7.7475 10C7.7475 6.55 10.5475 3.75 13.9975 3.75C17.4475 3.75 20.2475 6.55 20.2475 10C20.2475 13.45 17.4475 16.25 13.9975 16.25Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate1-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 4.9938C4 4.44362 4.45 3.99348 5 3.99348H6.59L5.3 2.70306C4.91 2.31293 4.91 1.68272 5.3 1.2926C5.69 0.902468 6.32 0.902468 6.71 1.2926L9.71 4.29357C9.8 4.3836 9.88 4.49364 9.93 4.62368C10.03 4.86376 10.03 5.14385 9.93 5.38393C9.88 5.50397 9.81 5.614 9.71 5.71404L6.71 8.71501C6.51 8.91508 6.26 9.00511 6 9.00511C5.74 9.00511 5.49 8.90508 5.29 8.71501C4.9 8.32489 4.9 7.69468 5.29 7.30456L6.58 6.01413H4.99C4.44 6.01413 3.99 5.56399 3.99 5.01381L4 4.9938ZM14.08 5.37393C14.13 5.49397 14.2 5.604 14.3 5.70403L17.3 8.70501C17.5 8.90508 17.75 8.99511 18.01 8.99511C18.27 8.99511 18.52 8.89507 18.72 8.70501C19.11 8.31488 19.11 7.68468 18.72 7.29455L17.43 6.00413H19.02C19.57 6.00413 20.02 5.55399 20.02 5.00381C20.02 4.45363 19.57 4.00348 19.02 4.00348H17.43L18.72 2.71306C19.11 2.32293 19.11 1.69273 18.72 1.3026C18.33 0.912471 17.7 0.912471 17.31 1.3026L14.31 4.30358C14.22 4.39361 14.14 4.50364 14.09 4.63368C13.99 4.87376 13.99 5.15385 14.09 5.39393L14.08 5.37393ZM22 14.9971V20.999C22 22.6496 20.65 24 19 24H5C3.35 24 2 22.6496 2 20.999V14.9971C2 13.3465 3.35 11.9961 5 11.9961H19C20.65 11.9961 22 13.3465 22 14.9971ZM19 13.9967H16V16.9977H20V14.9971C20 14.4469 19.55 13.9967 19 13.9967ZM14 16.9977V13.9967H10V16.9977H14ZM10 18.9984V21.9993H14V18.9984H10ZM4 14.9971V16.9977H8V13.9967H5C4.45 13.9967 4 14.4469 4 14.9971ZM5 21.9993H8V18.9984H4V20.999C4 21.5492 4.45 21.9993 5 21.9993ZM20 20.999V18.9984H16V21.9993H19C19.55 21.9993 20 21.5492 20 20.999Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate10-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 23C6.85721 23 1.15412 19.9621 0.0134987 13.1669C-0.0765501 12.6272 0.293651 12.1076 0.833944 12.0177C1.38424 11.9277 1.89452 12.2975 1.98457 12.8371C2.92508 18.4732 7.69767 20.9914 12 20.9914C16.3023 20.9914 21.0749 18.4732 22.0154 12.8371C22.1055 12.2975 22.6158 11.9277 23.1661 12.0177C23.7063 12.1076 24.0765 12.6272 23.9865 13.1669C22.8559 19.9521 17.1428 23 11.99 23H12.01ZM21.165 6.15177C22.3056 5.01257 22.3056 3.16386 21.165 2.02465L21.0049 1.85477C19.9143 0.765533 18.1633 0.725561 17.0227 1.71487C15.8821 0.715568 14.1312 0.765533 13.0406 1.85477L12.8705 2.01466C11.7299 3.15386 11.7299 5.00257 12.8705 6.14178L17.0227 10.2889L21.175 6.14178L21.165 6.15177ZM15.742 3.27378L17.0127 4.54289L18.2834 3.27378C18.6436 2.91403 19.2239 2.91403 19.5841 3.27378L19.7442 3.43367C20.1044 3.79342 20.1044 4.37301 19.7442 4.73276L17.0127 7.46086L14.2812 4.73276C13.921 4.37301 13.921 3.79342 14.2812 3.43367L14.4413 3.27378C14.6214 3.09391 14.8515 3.00397 15.0917 3.00397C15.3318 3.00397 15.5619 3.09391 15.742 3.27378ZM11.1595 6.15177C12.3002 5.01257 12.3002 3.16386 11.1595 2.02465L10.9995 1.85477C9.90886 0.765533 8.15792 0.725561 7.0173 1.71487C5.87668 0.715568 4.12573 0.765533 3.03514 1.85477L2.86505 2.01466C1.72443 3.15386 1.72443 5.00257 2.86505 6.14178L7.0173 10.2889L11.1695 6.14178L11.1595 6.15177ZM5.7366 3.27378L7.00729 4.54289L8.27798 3.27378C8.63818 2.91403 9.21849 2.91403 9.57869 3.27378L9.73877 3.43367C10.099 3.79342 10.099 4.37301 9.73877 4.73276L7.00729 7.46086L4.27581 4.73276C3.91562 4.37301 3.91562 3.79342 4.27581 3.43367L4.4359 3.27378C4.61599 3.09391 4.84612 3.00397 5.08625 3.00397C5.32638 3.00397 5.5565 3.09391 5.7366 3.27378Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate2-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_15894_140103)"><path d="M4.88291 4.51001C4.47291 4.51001 4.08291 4.25001 3.94291 3.84001C3.76291 3.32001 4.03291 2.75001 4.55291 2.57001L8.32291 1.25001C8.84291 1.06001 9.41291 1.34001 9.59291 1.86001C9.77291 2.38001 9.50291 2.95001 8.98291 3.13001L5.20291 4.45001C5.09291 4.49001 4.98291 4.51001 4.87291 4.51001H4.88291ZM19.8129 3.89001C20.0229 3.38001 19.7729 2.79001 19.2629 2.59001L15.5529 1.07001C15.0429 0.860007 14.4529 1.11001 14.2529 1.62001C14.0429 2.13001 14.2929 2.72001 14.8029 2.92001L18.5029 4.43001C18.6229 4.48001 18.7529 4.50001 18.8829 4.50001C19.2729 4.50001 19.6529 4.27001 19.8129 3.88001V3.89001ZM3.50291 6.00001C2.64291 6.37001 1.79291 6.88001 1.00291 7.48001C0.79291 7.64001 0.64291 7.87001 0.59291 8.14001C0.48291 8.73001 0.87291 9.29001 1.45291 9.40001C2.04291 9.51001 2.60291 9.12001 2.71291 8.54001C2.87291 7.69001 3.12291 6.83001 3.50291 5.99001V6.00001ZM21.0429 8.55001C21.6029 10.48 24.2429 8.84001 22.7529 7.48001C21.9629 6.88001 21.1129 6.37001 20.2529 6.00001C20.6329 6.84001 20.8829 7.70001 21.0429 8.55001ZM21.5729 13.2C21.2529 14.2 22.5429 15.09 23.3629 14.39C23.8529 14 23.9229 13.29 23.5429 12.81C21.7429 10.67 22.1329 10.55 21.5829 13.2H21.5729ZM1.75291 11C1.22291 11.79 -0.14709 12.64 0.0129102 13.75C0.15291 14.36 0.75291 14.74 1.35291 14.6C2.98291 14.1 1.80291 12.22 1.75291 11ZM19.8829 17C19.8829 13.14 16.2929 10 11.8829 10C7.47291 10 3.88291 13.14 3.88291 17C3.88291 20.86 7.47291 24 11.8829 24C16.2929 24 19.8829 20.86 19.8829 17ZM17.8829 17C17.8829 19.76 15.1929 22 11.8829 22C8.57291 22 5.88291 19.76 5.88291 17C5.88291 14.24 8.57291 12 11.8829 12C15.1929 12 17.8829 14.24 17.8829 17Z"></path></g><defs><clipPath id="clip0_15894_140103"><rect width="24" height="24" fill="white"></rect></clipPath></defs></svg>'},"./packages/survey-core/src/images-v2/smiley-rate3-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.01915 7C6.46961 7 6.01998 6.55 6.01998 6V2C6.01998 1.45 6.46961 1 7.01915 1C7.56869 1 8.01832 1.45 8.01832 2V6C8.01832 6.55 7.56869 7 7.01915 7ZM18.01 6V2C18.01 1.45 17.5604 1 17.0108 1C16.4613 1 16.0117 1.45 16.0117 2V6C16.0117 6.55 16.4613 7 17.0108 7C17.5604 7 18.01 6.55 18.01 6ZM16.4213 21.58L18.01 19.99L19.2989 21.28C19.6886 21.67 20.3181 21.67 20.7077 21.28C21.0974 20.89 21.0974 20.26 20.7077 19.87L19.4188 18.58C18.6395 17.8 17.3705 17.8 16.5912 18.58L15.0025 20.17L13.4138 18.58C12.6345 17.8 11.3655 17.8 10.5862 18.58L8.9975 20.17L7.40883 18.58C6.62948 17.8 5.36053 17.8 4.58118 18.58L3.29226 19.87C2.90258 20.26 2.90258 20.89 3.29226 21.28C3.68193 21.67 4.31141 21.67 4.70108 21.28L5.99001 19.99L7.57868 21.58C8.35803 22.36 9.62698 22.36 10.4063 21.58L11.995 19.99L13.5837 21.58C13.9734 21.97 14.4829 22.16 14.9925 22.16C15.5021 22.16 16.0117 21.97 16.4013 21.58H16.4213Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate4-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.06927 7C6.51927 7 6.06927 6.55 6.06927 6V2C6.06927 1.45 6.51927 1 7.06927 1C7.61927 1 8.06927 1.45 8.06927 2V6C8.06927 6.55 7.61927 7 7.06927 7ZM18.0693 6V2C18.0693 1.45 17.6193 1 17.0693 1C16.5193 1 16.0693 1.45 16.0693 2V6C16.0693 6.55 16.5193 7 17.0693 7C17.6193 7 18.0693 6.55 18.0693 6ZM22.5693 21.9C23.0693 21.66 23.2793 21.07 23.0393 20.57C21.1093 16.52 16.9093 14 12.0693 14C7.22927 14 3.02927 16.52 1.09927 20.57C0.859273 21.07 1.06927 21.67 1.56927 21.9C2.06927 22.14 2.65927 21.93 2.89927 21.43C4.49927 18.08 8.00927 16 12.0593 16C16.1093 16 19.6293 18.08 21.2193 21.43C21.3893 21.79 21.7493 22 22.1193 22C22.2593 22 22.4093 21.97 22.5493 21.9H22.5693Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate5-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.00572 7C6.45572 7 6.00572 6.55 6.00572 6V2C6.00572 1.45 6.45572 1 7.00572 1C7.55572 1 8.00572 1.45 8.00572 2V6C8.00572 6.55 7.55572 7 7.00572 7ZM18.0057 6V2C18.0057 1.45 17.5557 1 17.0057 1C16.4557 1 16.0057 1.45 16.0057 2V6C16.0057 6.55 16.4557 7 17.0057 7C17.5557 7 18.0057 6.55 18.0057 6ZM19.9457 21.33C20.1257 20.81 19.8557 20.24 19.3357 20.05C14.5457 18.35 9.45572 18.35 4.66572 20.05C4.14572 20.23 3.87572 20.81 4.05572 21.33C4.23572 21.85 4.80572 22.12 5.33572 21.94C9.69572 20.4 14.3057 20.4 18.6657 21.94C18.7757 21.98 18.8857 22 18.9957 22C19.4057 22 19.7957 21.74 19.9357 21.33H19.9457Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate6-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 7C6.45 7 6 6.55 6 6V2C6 1.45 6.45 1 7 1C7.55 1 8 1.45 8 2V6C8 6.55 7.55 7 7 7ZM18 6V2C18 1.45 17.55 1 17 1C16.45 1 16 1.45 16 2V6C16 6.55 16.45 7 17 7C17.55 7 18 6.55 18 6ZM21 21C21 20.45 20.55 20 20 20H4C3.45 20 3 20.45 3 21C3 21.55 3.45 22 4 22H20C20.55 22 21 21.55 21 21Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate7-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.0022 23.99C11.452 23.99 11.0018 23.5402 11.0018 22.9904C11.0018 22.4407 11.452 21.9909 12.0022 21.9909C16.3137 21.9909 21.0755 19.472 22.0158 13.8344C22.1058 13.2947 22.616 12.9248 23.1662 13.0148C23.7064 13.1047 24.0765 13.6245 23.9865 14.1643C22.8561 20.9513 17.144 24 11.9922 24L12.0022 23.99ZM8.00072 5.99783V1.99957C8.00072 1.4498 7.55056 1 7.00036 1C6.45016 1 6 1.4498 6 1.99957V5.99783C6 6.54759 6.45016 6.99739 7.00036 6.99739C7.55056 6.99739 8.00072 6.54759 8.00072 5.99783ZM18.0043 5.99783V1.99957C18.0043 1.4498 17.5542 1 17.004 1C16.4538 1 16.0036 1.4498 16.0036 1.99957V5.99783C16.0036 6.54759 16.4538 6.99739 17.004 6.99739C17.5542 6.99739 18.0043 6.54759 18.0043 5.99783Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate8-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"></path></svg>'},"./packages/survey-core/src/images-v2/smiley-rate9-24x24.svg":function(C,h){C.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'}})})},"./src/entries/react-ui.ts":function(B,R,D){D.r(R),D.d(R,"Survey",function(){return Mt}),D.d(R,"attachKey2click",function(){return xn}),D.d(R,"ReactSurveyElementsWrapper",function(){return k}),D.d(R,"SurveyNavigationBase",function(){return Ht}),D.d(R,"SurveyTimerPanel",function(){return Ir}),D.d(R,"SurveyPage",function(){return xi}),D.d(R,"SurveyRow",function(){return we}),D.d(R,"SurveyPanel",function(){return ze}),D.d(R,"SurveyFlowPanel",function(){return Kn}),D.d(R,"SurveyQuestion",function(){return nn}),D.d(R,"SurveyElementErrors",function(){return rn}),D.d(R,"SurveyQuestionAndErrorsCell",function(){return Ci}),D.d(R,"ReactSurveyElement",function(){return ie}),D.d(R,"SurveyElementBase",function(){return $}),D.d(R,"SurveyQuestionElementBase",function(){return ce}),D.d(R,"SurveyQuestionCommentItem",function(){return nt}),D.d(R,"SurveyQuestionComment",function(){return wt}),D.d(R,"SurveyQuestionCheckbox",function(){return Ii}),D.d(R,"SurveyQuestionCheckboxItem",function(){return Dr}),D.d(R,"SurveyQuestionRanking",function(){return Ar}),D.d(R,"SurveyQuestionRankingItem",function(){return Di}),D.d(R,"SurveyQuestionRankingItemContent",function(){return Lr}),D.d(R,"RatingItem",function(){return jt}),D.d(R,"RatingItemStar",function(){return jr}),D.d(R,"RatingItemSmiley",function(){return Ai}),D.d(R,"RatingDropdownItem",function(){return fe}),D.d(R,"TagboxFilterString",function(){return Vn}),D.d(R,"SurveyQuestionOptionItem",function(){return Li}),D.d(R,"SurveyQuestionDropdownBase",function(){return Xn}),D.d(R,"SurveyQuestionDropdown",function(){return qr}),D.d(R,"SurveyQuestionTagboxItem",function(){return er}),D.d(R,"SurveyQuestionTagbox",function(){return Ut}),D.d(R,"SurveyQuestionDropdownSelect",function(){return Ye}),D.d(R,"SurveyQuestionMatrix",function(){return on}),D.d(R,"SurveyQuestionMatrixRow",function(){return Mi}),D.d(R,"SurveyQuestionMatrixCell",function(){return Ge}),D.d(R,"SurveyQuestionHtml",function(){return ji}),D.d(R,"SurveyQuestionFile",function(){return tr}),D.d(R,"SurveyFileChooseButton",function(){return Br}),D.d(R,"SurveyFilePreview",function(){return Tn}),D.d(R,"SurveyQuestionMultipleText",function(){return sn}),D.d(R,"SurveyQuestionRadiogroup",function(){return Rn}),D.d(R,"SurveyQuestionRadioItem",function(){return In}),D.d(R,"SurveyQuestionText",function(){return rr}),D.d(R,"SurveyQuestionBoolean",function(){return rt}),D.d(R,"SurveyQuestionBooleanCheckbox",function(){return or}),D.d(R,"SurveyQuestionBooleanRadio",function(){return Fi}),D.d(R,"SurveyQuestionEmpty",function(){return Hr}),D.d(R,"SurveyQuestionMatrixDropdownCell",function(){return Qi}),D.d(R,"SurveyQuestionMatrixDropdownBase",function(){return Ln}),D.d(R,"SurveyQuestionMatrixDropdown",function(){return Hi}),D.d(R,"SurveyQuestionMatrixDynamic",function(){return Ur}),D.d(R,"SurveyQuestionMatrixDynamicAddButton",function(){return cr}),D.d(R,"SurveyQuestionPanelDynamic",function(){return dr}),D.d(R,"SurveyProgress",function(){return ke}),D.d(R,"SurveyProgressButtons",function(){return hr}),D.d(R,"SurveyProgressToc",function(){return Zi}),D.d(R,"SurveyQuestionRating",function(){return Yi}),D.d(R,"SurveyQuestionRatingDropdown",function(){return un}),D.d(R,"SurveyQuestionExpression",function(){return Xe}),D.d(R,"PopupSurvey",function(){return qn}),D.d(R,"SurveyWindow",function(){return ss}),D.d(R,"ReactQuestionFactory",function(){return Ce}),D.d(R,"ReactElementFactory",function(){return A}),D.d(R,"SurveyQuestionImagePicker",function(){return I}),D.d(R,"SurveyQuestionImage",function(){return $r}),D.d(R,"SurveyQuestionSignaturePad",function(){return Jr}),D.d(R,"SurveyQuestionButtonGroup",function(){return as}),D.d(R,"SurveyQuestionCustom",function(){return _n}),D.d(R,"SurveyQuestionComposite",function(){return ro}),D.d(R,"Popup",function(){return Qe}),D.d(R,"ListItemContent",function(){return io}),D.d(R,"ListItemGroup",function(){return ot}),D.d(R,"List",function(){return Nn}),D.d(R,"TitleActions",function(){return Je}),D.d(R,"TitleElement",function(){return tt}),D.d(R,"SurveyActionBar",function(){return Re}),D.d(R,"LogoImage",function(){return ft}),D.d(R,"SurveyHeader",function(){return Or}),D.d(R,"SvgIcon",function(){return ge}),D.d(R,"SurveyQuestionMatrixDynamicRemoveButton",function(){return Zr}),D.d(R,"SurveyQuestionMatrixDetailButton",function(){return Kr}),D.d(R,"SurveyQuestionMatrixDynamicDragDropIcon",function(){return sr}),D.d(R,"SurveyQuestionPanelDynamicAddButton",function(){return Ui}),D.d(R,"SurveyQuestionPanelDynamicRemoveButton",function(){return Yr}),D.d(R,"SurveyQuestionPanelDynamicPrevButton",function(){return jn}),D.d(R,"SurveyQuestionPanelDynamicNextButton",function(){return Et}),D.d(R,"SurveyQuestionPanelDynamicProgressText",function(){return fr}),D.d(R,"SurveyNavigationButton",function(){return ei}),D.d(R,"QuestionErrorComponent",function(){return Fn}),D.d(R,"MatrixRow",function(){return Wt}),D.d(R,"Skeleton",function(){return Gt}),D.d(R,"NotifierComponent",function(){return Gn}),D.d(R,"ComponentsContainer",function(){return Pt}),D.d(R,"CharacterCounterComponent",function(){return Ot}),D.d(R,"HeaderMobile",function(){return Be}),D.d(R,"HeaderCell",function(){return gr}),D.d(R,"Header",function(){return co}),D.d(R,"SurveyLocStringViewer",function(){return Bn}),D.d(R,"SurveyLocStringEditor",function(){return re}),D.d(R,"LoadingIndicatorComponent",function(){return Pe}),D.d(R,"SvgBundleComponent",function(){return Si}),D.d(R,"PopupModal",function(){return Er}),D.d(R,"SurveyModel",function(){return C.SurveyModel}),D.d(R,"SurveyWindowModel",function(){return C.SurveyWindowModel}),D.d(R,"Model",function(){return C.SurveyModel}),D.d(R,"settings",function(){return C.settings}),D.d(R,"surveyLocalization",function(){return C.surveyLocalization}),D.d(R,"surveyStrings",function(){return C.surveyStrings});var C=D("survey-core"),h=D("react"),w=D.n(h),A=function(){function p(){this.creatorHash={}}return p.prototype.registerElement=function(l,a){this.creatorHash[l]=a},p.prototype.getAllTypes=function(){var l=new Array;for(var a in this.creatorHash)l.push(a);return l.sort()},p.prototype.isElementRegistered=function(l){return!!this.creatorHash[l]},p.prototype.createElement=function(l,a){var c=this.creatorHash[l];return c==null?null:c(a)},p.Instance=new p,p}(),k=function(){function p(){}return p.wrapRow=function(l,a,c){var f=l.getRowWrapperComponentName(c),g=l.getRowWrapperComponentData(c);return A.Instance.createElement(f,{element:a,row:c,componentData:g})},p.wrapElement=function(l,a,c){var f=l.getElementWrapperComponentName(c),g=l.getElementWrapperComponentData(c);return A.Instance.createElement(f,{element:a,question:c,componentData:g})},p.wrapQuestionContent=function(l,a,c){var f=l.getQuestionContentWrapperComponentName(c),g=l.getElementWrapperComponentData(c);return A.Instance.createElement(f,{element:a,question:c,componentData:g})},p.wrapItemValue=function(l,a,c,f){var g=l.getItemValueWrapperComponentName(f,c),L=l.getItemValueWrapperComponentData(f,c);return A.Instance.createElement(g,{key:a==null?void 0:a.key,element:a,question:c,item:f,componentData:L})},p.wrapMatrixCell=function(l,a,c,f){f===void 0&&(f="cell");var g=l.getElementWrapperComponentName(c,f),L=l.getElementWrapperComponentData(c,f);return A.Instance.createElement(g,{element:a,cell:c,componentData:L})},p}();C.SurveyModel.platform="react";var le=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),$=function(p){le(l,p);function l(a){var c=p.call(this,a)||this;return c._allowComponentUpdate=!0,c.prevStateElements=[],c}return l.renderLocString=function(a,c,f){return c===void 0&&(c=null),A.Instance.createElement(a.renderAs,{locStr:a.renderAsData,style:c,key:f})},l.renderQuestionDescription=function(a){var c=l.renderLocString(a.locDescription);return h.createElement("div",{style:a.hasDescription?void 0:{display:"none"},id:a.ariaDescriptionId,className:a.cssDescription},c)},l.prototype.componentDidMount=function(){this.makeBaseElementsReact()},l.prototype.componentWillUnmount=function(){this.unMakeBaseElementsReact(),this.disableStateElementsRerenderEvent(this.getStateElements())},l.prototype.componentDidUpdate=function(a,c){var f;this.makeBaseElementsReact();var g=this.getStateElements();this.disableStateElementsRerenderEvent(((f=this.prevStateElements)!==null&&f!==void 0?f:[]).filter(function(L){return!g.includes(L)})),this.prevStateElements=[],this.getStateElements().forEach(function(L){L.afterRerender()})},l.prototype.allowComponentUpdate=function(){this._allowComponentUpdate=!0,this.forceUpdate()},l.prototype.denyComponentUpdate=function(){this._allowComponentUpdate=!1},l.prototype.shouldComponentUpdate=function(a,c){return this._allowComponentUpdate&&(this.unMakeBaseElementsReact(),this.prevStateElements=this.getStateElements()),this._allowComponentUpdate},l.prototype.render=function(){if(!this.canRender())return null;this.startEndRendering(1);var a=this.renderElement();return this.startEndRendering(-1),a&&(a=this.wrapElement(a)),this.changedStatePropNameValue=void 0,a},l.prototype.wrapElement=function(a){return a},Object.defineProperty(l.prototype,"isRendering",{get:function(){for(var a=this.getRenderedElements(),c=0,f=a;c<f.length;c++){var g=f[c];if(g.reactRendering>0)return!0}return!1},enumerable:!1,configurable:!0}),l.prototype.getRenderedElements=function(){return this.getStateElements()},l.prototype.startEndRendering=function(a){for(var c=this.getRenderedElements(),f=0,g=c;f<g.length;f++){var L=g[f];L.reactRendering||(L.reactRendering=0),L.reactRendering+=a}},l.prototype.canRender=function(){return!0},l.prototype.renderElement=function(){return null},Object.defineProperty(l.prototype,"changedStatePropName",{get:function(){return this.changedStatePropNameValue},enumerable:!1,configurable:!0}),l.prototype.makeBaseElementsReact=function(){for(var a=this.getStateElements(),c=0;c<a.length;c++)a[c].enableOnElementRerenderedEvent(),this.makeBaseElementReact(a[c])},l.prototype.unMakeBaseElementsReact=function(){for(var a=this.getStateElements(),c=0;c<a.length;c++)this.unMakeBaseElementReact(a[c])},l.prototype.disableStateElementsRerenderEvent=function(a){a.forEach(function(c){c.disableOnElementRerenderedEvent()})},l.prototype.getStateElements=function(){var a=this.getStateElement();return a?[a]:[]},l.prototype.getStateElement=function(){return null},Object.defineProperty(l.prototype,"isDisplayMode",{get:function(){var a=this.props;return a.isDisplayMode||!1},enumerable:!1,configurable:!0}),l.prototype.renderLocString=function(a,c,f){return c===void 0&&(c=null),l.renderLocString(a,c,f)},l.prototype.canMakeReact=function(a){return!!a&&!!a.iteratePropertiesHash},l.prototype.makeBaseElementReact=function(a){var c=this;this.canMakeReact(a)&&(a.iteratePropertiesHash(function(f,g){if(c.canUsePropInState(g)){var L=f[g];if(Array.isArray(L)){var L=L;L.onArrayChanged=function(H){c.isRendering||(c.changedStatePropNameValue=g,c.setState(function(ye){var ae={};return ae[g]=L,ae}))}}}}),a.setPropertyValueCoreHandler=function(f,g,L){if(f[g]!==L){if(f[g]=L,!c.canUsePropInState(g)||c.isRendering)return;c.changedStatePropNameValue=g,c.setState(function(F){var H={};return H[g]=L,H})}})},l.prototype.canUsePropInState=function(a){return!0},l.prototype.unMakeBaseElementReact=function(a){this.canMakeReact(a)&&(a.setPropertyValueCoreHandler=void 0,a.iteratePropertiesHash(function(c,f){var g=c[f];if(Array.isArray(g)){var g=g;g.onArrayChanged=function(){}}}))},l}(h.Component),ie=function(p){le(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),l}($),ce=function(p){le(l,p);function l(a){return p.call(this,a)||this}return l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.updateDomElement()},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.updateDomElement()},l.prototype.componentWillUnmount=function(){if(p.prototype.componentWillUnmount.call(this),this.questionBase){var a=this.content||this.control;this.questionBase.beforeDestroyQuestionElement(a),a&&a.removeAttribute("data-rendered")}},l.prototype.updateDomElement=function(){var a=this.content||this.control;a&&a.getAttribute("data-rendered")!=="r"&&(a.setAttribute("data-rendered","r"),this.questionBase.afterRenderQuestionElement(a))},Object.defineProperty(l.prototype,"questionBase",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.getRenderedElements=function(){return[this.questionBase]},Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.questionBase&&!!this.creator},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?!this.questionBase.customWidget||!!this.questionBase.customWidgetData.isNeedRender||!!this.questionBase.customWidget.widgetJson.isDefaultRender||!!this.questionBase.customWidget.widgetJson.render:!1},Object.defineProperty(l.prototype,"isDisplayMode",{get:function(){var a=this.props;return a.isDisplayMode||!!this.questionBase&&this.questionBase.isInputReadOnly||!1},enumerable:!1,configurable:!0}),l.prototype.wrapCell=function(a,c,f){if(!f)return c;var g=this.questionBase.survey,L=null;return g&&(L=k.wrapMatrixCell(g,c,a,f)),L??c},l.prototype.setControl=function(a){a&&(this.control=a)},l.prototype.setContent=function(a){a&&(this.content=a)},l}($),We=function(p){le(l,p);function l(a){var c=p.call(this,a)||this;return c.updateValueOnEvent=function(f){C.Helpers.isTwoValueEquals(c.questionBase.value,f.target.value,!1,!0,!1)||c.setValueCore(f.target.value)},c.updateValueOnEvent=c.updateValueOnEvent.bind(c),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.setValueCore=function(a){this.questionBase.value=a},l.prototype.getValueCore=function(){return this.questionBase.value},l.prototype.updateDomElement=function(){if(this.control){var a=this.control,c=this.getValueCore();C.Helpers.isTwoValueEquals(c,a.value,!1,!0,!1)||(a.value=this.getValue(c))}p.prototype.updateDomElement.call(this)},l.prototype.getValue=function(a){return C.Helpers.isValueEmpty(a)?"":a},l}(ce),be=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),pe=function(p){be(l,p);function l(a){var c=p.call(this,a)||this;return c.element.cssClasses,c.rootRef=h.createRef(),c}return l.prototype.getStateElement=function(){return this.element},Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.rootRef.current&&this.element.setWrapperElement(this.rootRef.current)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.element.setWrapperElement(void 0)},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?(a.element!==this.element&&(a.element&&a.element.setWrapperElement(this.rootRef.current),this.element&&this.element.setWrapperElement(void 0)),this.element.cssClasses,!0):!1},l.prototype.renderElement=function(){var a=this.element,c=this.createElement(a,this.index),f=a.cssClassesValue,g=function(){var L=a;L&&L.isQuestion&&L.focusIn()};return h.createElement("div",{className:f.questionWrapper,style:a.rootStyle,"data-key":c.key,key:c.key,onFocus:g,ref:this.rootRef},c)},l.prototype.createElement=function(a,c){var f=c?"-"+c:0;if(!this.row.isNeedRender)return A.Instance.createElement(a.skeletonComponentName,{key:a.name+f,element:a,css:this.css});var g=a.getTemplate();return A.Instance.isElementRegistered(g)||(g="question"),A.Instance.createElement(g,{key:a.name+f,element:a,creator:this.creator,survey:this.survey,css:this.css})},l}($),x=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),we=function(p){x(l,p);function l(a){var c=p.call(this,a)||this;return c.rootRef=h.createRef(),c.recalculateCss(),c}return l.prototype.recalculateCss=function(){this.row.visibleElements.map(function(a){return a.cssClasses})},l.prototype.getStateElement=function(){return this.row},Object.defineProperty(l.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.props.css},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.row&&!!this.survey&&!!this.creator},l.prototype.renderElementContent=function(){var a=this,c=this.row.visibleElements.map(function(f,g){var L=g?"-"+g:0,F=f.name+L;return h.createElement(pe,{element:f,index:g,row:a.row,survey:a.survey,creator:a.creator,css:a.css,key:F})});return h.createElement("div",{ref:this.rootRef,className:this.row.getRowCss()},c)},l.prototype.renderElement=function(){var a=this.survey,c=this.renderElementContent(),f=k.wrapRow(a,c,this.row);return f||c},l.prototype.componentDidMount=function(){var a=this;p.prototype.componentDidMount.call(this);var c=this.rootRef.current;if(this.rootRef.current&&this.row.setRootElement(this.rootRef.current),c&&!this.row.isNeedRender){var f=c;setTimeout(function(){a.row.startLazyRendering(f)},10)}},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?(a.row!==this.row&&(a.row.isNeedRender=this.row.isNeedRender,a.row.setRootElement(this.rootRef.current),this.row.setRootElement(void 0),this.stopLazyRendering()),this.recalculateCss(),!0):!1},l.prototype.stopLazyRendering=function(){this.row.stopLazyRendering(),this.row.isNeedRender=!this.row.isLazyRendering()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.row.setRootElement(void 0),this.stopLazyRendering()},l.prototype.createElement=function(a,c){var f=c?"-"+c:0,g=a.getType();return A.Instance.isElementRegistered(g)||(g="question"),A.Instance.createElement(g,{key:a.name+f,element:a,creator:this.creator,survey:this.survey,css:this.css})},l}($),me=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),lt=function(p){me(l,p);function l(a){var c=p.call(this,a)||this;return c.rootRef=h.createRef(),c}return l.prototype.getStateElement=function(){return this.panelBase},l.prototype.canUsePropInState=function(a){return a!=="elements"&&p.prototype.canUsePropInState.call(this,a)},Object.defineProperty(l.prototype,"survey",{get:function(){return this.getSurvey()},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.getCss()},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"panelBase",{get:function(){return this.getPanelBase()},enumerable:!1,configurable:!0}),l.prototype.getPanelBase=function(){return this.props.element||this.props.question},l.prototype.getSurvey=function(){return this.props.survey||(this.panelBase?this.panelBase.survey:null)},l.prototype.getCss=function(){return this.props.css},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.doAfterRender()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this);var a=this.rootRef.current;a&&a.removeAttribute("data-rendered")},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),!(a.page&&this.survey&&this.survey.activePage&&a.page.id===this.survey.activePage.id)&&this.doAfterRender()},l.prototype.doAfterRender=function(){var a=this.rootRef.current;a&&this.survey&&(this.panelBase.isPanel?this.panelBase.afterRender(a):this.survey.afterRenderPage(a))},l.prototype.getIsVisible=function(){return this.panelBase.isVisible},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&!!this.survey&&!!this.panelBase&&!!this.panelBase.survey&&this.getIsVisible()},l.prototype.renderRows=function(a){var c=this;return this.panelBase.visibleRows.map(function(f){return c.createRow(f,a)})},l.prototype.createRow=function(a,c){return h.createElement(we,{key:a.id,row:a,survey:this.survey,creator:this.creator,css:c})},l}($),Fe=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ge=function(p){Fe(l,p);function l(a){var c=p.call(this,a)||this;return c.svgIconRef=w.a.createRef(),c}return l.prototype.updateSvg=function(){this.props.iconName&&Object(C.createSvg)(this.props.size,this.props.width,this.props.height,this.props.iconName,this.svgIconRef.current,this.props.title)},l.prototype.componentDidUpdate=function(){this.updateSvg()},l.prototype.render=function(){var a="sv-svg-icon";return this.props.className&&(a+=" "+this.props.className),this.props.iconName?w.a.createElement("svg",{className:a,style:this.props.style,onClick:this.props.onClick,ref:this.svgIconRef,role:"img"},w.a.createElement("use",null)):null},l.prototype.componentDidMount=function(){this.updateSvg()},l}(w.a.Component);A.Instance.registerElement("sv-svg-icon",function(p){return w.a.createElement(ge,p)});var en=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ke=function(p){en(l,p);function l(a){return p.call(this,a)||this}return l.prototype.render=function(){var a="sv-action-bar-separator "+this.props.cssClasses;return w.a.createElement("div",{className:a})},l}(w.a.Component);A.Instance.registerElement("sv-action-bar-separator",function(p){return w.a.createElement(Ke,p)});var vt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),$e=function(p){vt(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.renderElement=function(){var a=this.item.getActionRootCss(),c=this.item.needSeparator?w.a.createElement(Ke,null):null,f=A.Instance.createElement(this.item.component||"sv-action-bar-item",{item:this.item});return w.a.createElement("div",{className:a,id:this.item.id},w.a.createElement("div",{className:"sv-action__content"},c,f))},l}($),ut=function(p){vt(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.renderElement=function(){return w.a.createElement(w.a.Fragment,null,this.renderInnerButton())},l.prototype.renderText=function(){if(!this.item.hasTitle)return null;var a=this.item.getActionBarItemTitleCss();return w.a.createElement("span",{className:a},this.item.title)},l.prototype.renderButtonContent=function(){var a=this.renderText(),c=this.item.iconName?w.a.createElement(ge,{className:this.item.cssClasses.itemIcon,size:this.item.iconSize,iconName:this.item.iconName,title:this.item.tooltip||this.item.title}):null;return w.a.createElement(w.a.Fragment,null,c,a)},l.prototype.renderInnerButton=function(){var a=this,c=this.item.getActionBarItemCss(),f=this.item.tooltip||this.item.title,g=this.renderButtonContent(),L=this.item.disableTabStop?-1:void 0,F=xn(w.a.createElement("button",{className:c,type:"button",disabled:this.item.disabled,onMouseDown:function(H){return a.item.doMouseDown(H)},onFocus:function(H){return a.item.doFocus(H)},onClick:function(H){return a.item.doAction(H)},title:f,tabIndex:L,"aria-checked":this.item.ariaChecked,"aria-expanded":this.item.ariaExpanded,role:this.item.ariaRole},g),this.item,{processEsc:!1});return F},l}($);A.Instance.registerElement("sv-action-bar-item",function(p){return w.a.createElement(ut,p)});var ht=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Qe=function(p){ht(l,p);function l(a){var c=p.call(this,a)||this;return c.containerRef=w.a.createRef(),c.createModel(),c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.createModel=function(){this.popup=Object(C.createPopupViewModel)(this.props.model)},l.prototype.setTargetElement=function(){var a=this.containerRef.current;this.popup.setComponentElement(a)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.setTargetElement()},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.setTargetElement()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.popup.resetComponentElement()},l.prototype.shouldComponentUpdate=function(a,c){var f;if(!p.prototype.shouldComponentUpdate.call(this,a,c))return!1;var g=a.model!==this.popup.model;return g&&((f=this.popup)===null||f===void 0||f.dispose(),this.createModel()),g},l.prototype.render=function(){this.popup.model=this.model;var a;return this.model.isModal?a=w.a.createElement(bt,{model:this.popup}):a=w.a.createElement(Rt,{model:this.popup}),w.a.createElement("div",{ref:this.containerRef},a)},l}($);A.Instance.registerElement("sv-popup",function(p){return w.a.createElement(Qe,p)});var bt=function(p){ht(l,p);function l(a){var c=p.call(this,a)||this;return c.handleKeydown=function(f){c.model.onKeyDown(f)},c.clickInside=function(f){f.stopPropagation()},c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),!this.model.isPositionSet&&this.model.isVisible&&this.model.updateOnShowing()},l.prototype.renderContainer=function(a){var c=this,f=a.showHeader?this.renderHeaderPopup(a):null,g=a.title?this.renderHeaderContent():null,L=this.renderContent(),F=a.showFooter?this.renderFooter(this.model):null;return w.a.createElement("div",{className:"sv-popup__container",style:{left:a.left,top:a.top,height:a.height,width:a.width,minWidth:a.minWidth},onClick:function(H){c.clickInside(H)}},f,w.a.createElement("div",{className:"sv-popup__body-content"},g,w.a.createElement("div",{className:"sv-popup__scrolling-content"},L),F))},l.prototype.renderHeaderContent=function(){return w.a.createElement("div",{className:"sv-popup__body-header"},this.model.title)},l.prototype.renderContent=function(){var a=A.Instance.createElement(this.model.contentComponentName,this.model.contentComponentData);return w.a.createElement("div",{className:"sv-popup__content"},a)},l.prototype.renderHeaderPopup=function(a){return null},l.prototype.renderFooter=function(a){return w.a.createElement("div",{className:"sv-popup__body-footer"},w.a.createElement(Re,{model:a.footerToolbar}))},l.prototype.render=function(){var a=this,c=this.renderContainer(this.model),f=new C.CssClassBuilder().append("sv-popup").append(this.model.styleClass).toString(),g={display:this.model.isVisible?"":"none"};return w.a.createElement("div",{tabIndex:-1,className:f,style:g,onClick:function(L){a.model.clickOutside(L)},onKeyDown:this.handleKeydown},c)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.model.isVisible&&this.model.updateOnShowing()},l}($),Rt=function(p){ht(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.renderHeaderPopup=function(a){var c=a;return c?w.a.createElement("span",{style:{left:c.pointerTarget.left,top:c.pointerTarget.top},className:"sv-popup__pointer"}):null},l}(bt),je=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),j=function(p){je(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderInnerButton=function(){var a=p.prototype.renderInnerButton.call(this);return w.a.createElement(w.a.Fragment,null,a,w.a.createElement(Qe,{model:this.item.popupModel}))},l.prototype.componentDidMount=function(){this.viewModel=new C.ActionDropdownViewModel(this.item)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.viewModel.dispose()},l}(ut);A.Instance.registerElement("sv-action-bar-item-dropdown",function(p){return w.a.createElement(j,p)});var wn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Re=function(p){wn(l,p);function l(a){var c=p.call(this,a)||this;return c.rootRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"handleClick",{get:function(){return this.props.handleClick!==void 0?this.props.handleClick:!0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){if(p.prototype.componentDidMount.call(this),!!this.model.hasActions){var a=this.rootRef.current;a&&this.model.initResponsivityManager(a,function(c){setTimeout(c,100)})}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.model.resetResponsivityManager()},l.prototype.componentDidUpdate=function(a,c){if(p.prototype.componentDidUpdate.call(this,a,c),a.model!=this.props.model&&a.model.resetResponsivityManager(),this.model.hasActions){var f=this.rootRef.current;f&&this.model.initResponsivityManager(f,function(g){setTimeout(g,100)})}},l.prototype.getStateElement=function(){return this.model},l.prototype.renderElement=function(){if(!this.model.hasActions)return null;var a=this.renderItems();return w.a.createElement("div",{ref:this.rootRef,className:this.model.getRootCss(),onClick:this.handleClick?function(c){c.stopPropagation()}:void 0},a)},l.prototype.renderItems=function(){return this.model.renderedActions.map(function(a,c){return w.a.createElement($e,{item:a,key:"item"+c})})},l}($);A.Instance.registerElement("sv-action-bar",function(p){return w.a.createElement(Re,p)});var He=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),he=function(p){He(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),l.prototype.render=function(){if(this.element.isTitleRenderedAsString)return $.renderLocString(this.element.locTitle);var a=this.renderTitleSpans(this.element.getTitleOwner(),this.cssClasses);return w.a.createElement(w.a.Fragment,null,a)},l.prototype.renderTitleSpans=function(a,c){var f=function(F){return w.a.createElement("span",{"data-key":F,key:F}," ")},g=[];a.isRequireTextOnStart&&(g.push(this.renderRequireText(a)),g.push(f("req-sp")));var L=a.no;return L&&(g.push(w.a.createElement("span",{"data-key":"q_num",key:"q_num",className:a.cssTitleNumber,style:{position:"static"},"aria-hidden":!0},L)),g.push(f("num-sp"))),a.isRequireTextBeforeTitle&&(g.push(this.renderRequireText(a)),g.push(f("req-sp"))),g.push($.renderLocString(a.locTitle,null,"q_title")),a.isRequireTextAfterTitle&&(g.push(f("req-sp")),g.push(this.renderRequireText(a))),g},l.prototype.renderRequireText=function(a){return w.a.createElement("span",{"data-key":"req-text",key:"req-text",className:a.cssRequiredText,"aria-hidden":!0},a.requiredText)},l}(w.a.Component),It=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Je=function(p){It(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a=w.a.createElement(he,{element:this.element,cssClasses:this.cssClasses});return this.element.hasTitleActions?w.a.createElement("div",{className:"sv-title-actions"},w.a.createElement("span",{className:"sv-title-actions__title"},a),w.a.createElement(Re,{model:this.element.getTitleToolbar()})):a},l}(w.a.Component);C.RendererFactory.Instance.registerRenderer("element","title-actions","sv-title-actions"),A.Instance.registerElement("sv-title-actions",function(p){return w.a.createElement(Je,p)});var Qt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),tt=function(p){Qt(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),l.prototype.renderTitleExpandableSvg=function(){if(!this.element.getCssTitleExpandableSvg())return null;var a=this.element.isExpanded?"icon-collapse-16x16":"icon-expand-16x16";return w.a.createElement(ge,{className:this.element.getCssTitleExpandableSvg(),iconName:a,size:"auto"})},l.prototype.render=function(){var a=this.element;if(!a||!a.hasTitle)return null;var c=a.titleAriaLabel||void 0,f=this.renderTitleExpandableSvg(),g=w.a.createElement(Je,{element:a,cssClasses:a.cssClasses}),L=void 0,F=void 0;a.hasTitleEvents&&(F=function(ye){Object(C.doKey2ClickUp)(ye.nativeEvent)});var H=a.titleTagName;return w.a.createElement(H,{className:a.cssTitle,id:a.ariaTitleId,"aria-label":c,tabIndex:a.titleTabIndex,"aria-expanded":a.titleAriaExpanded,role:a.titleAriaRole,onClick:L,onKeyUp:F},f,g)},l}(w.a.Component),Ce=function(){function p(){this.creatorHash={}}return p.prototype.registerQuestion=function(l,a){this.creatorHash[l]=a},p.prototype.getAllTypes=function(){var l=new Array;for(var a in this.creatorHash)l.push(a);return l.sort()},p.prototype.createQuestion=function(l,a){var c=this.creatorHash[l];return c==null?null:c(a)},p.Instance=new p,p}(),tn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ot=function(p){tn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.getStateElement=function(){return this.props.counter},l.prototype.renderElement=function(){return w.a.createElement("div",{className:this.props.remainingCharacterCounter},this.props.counter.remainingCharacterCounter)},l}($);A.Instance.registerElement("sv-character-counter",function(p){return w.a.createElement(Ot,p)});var Dt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),At=function(p){Dt(l,p);function l(a){var c=p.call(this,a)||this;return c.initialValue=c.viewModel.getTextValue()||"",c.textareaRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"viewModel",{get:function(){return this.props.viewModel},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.viewModel.question},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this);var a=this.textareaRef.current;a&&this.viewModel.setElement(a)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.viewModel.resetElement()},l.prototype.renderElement=function(){var a=this;return w.a.createElement("textarea",{id:this.viewModel.id,className:this.viewModel.className,ref:this.textareaRef,disabled:this.viewModel.isDisabledAttr,readOnly:this.viewModel.isReadOnlyAttr,rows:this.viewModel.rows,cols:this.viewModel.cols,placeholder:this.viewModel.placeholder,maxLength:this.viewModel.maxLength,defaultValue:this.initialValue,onChange:function(c){a.viewModel.onTextAreaInput(c)},onFocus:function(c){a.viewModel.onTextAreaFocus(c)},onBlur:function(c){a.viewModel.onTextAreaBlur(c)},onKeyDown:function(c){a.viewModel.onTextAreaKeyDown(c)},"aria-required":this.viewModel.ariaRequired,"aria-label":this.viewModel.ariaLabel,"aria-labelledby":this.viewModel.ariaLabelledBy,"aria-describedby":this.viewModel.ariaDescribedBy,"aria-invalid":this.viewModel.ariaInvalid,"aria-errormessage":this.viewModel.ariaErrormessage,style:{resize:this.viewModel.question.resizeStyle}})},l}($);A.Instance.registerElement("sv-text-area",function(p){return w.a.createElement(At,p)});var Ct=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),wt=function(p){Ct(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderCharacterCounter=function(){var a=null;return this.question.getMaxLength()&&(a=h.createElement(Ot,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter})),a},l.prototype.renderElement=function(){if(this.question.isReadOnlyRenderDiv())return h.createElement("div",null,this.question.value);var a=this.renderCharacterCounter(),c=this.props.question.textAreaModel;return h.createElement(h.Fragment,null,h.createElement(At,{viewModel:c}),a)},l}(We),nt=function(p){Ct(l,p);function l(a){var c=p.call(this,a)||this;return c.textAreaModel=c.getTextAreaModel(),c}return l.prototype.canRender=function(){return!!this.props.question},l.prototype.getTextAreaModel=function(){return this.props.question.commentTextAreaModel},l.prototype.renderElement=function(){var a=this.props.question;if(a.isReadOnlyRenderDiv()){var c=this.textAreaModel.getTextValue()||"";return h.createElement("div",null,c)}return h.createElement(At,{viewModel:this.textAreaModel})},l}(ie),ct=function(p){Ct(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.getTextAreaModel=function(){return this.props.question.otherTextAreaModel},l}(nt);Ce.Instance.registerQuestion("comment",function(p){return h.createElement(wt,p)});var Vr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Sr=function(p){Vr(l,p);function l(a){var c=p.call(this,a)||this;return c.widgetRef=h.createRef(),c}return l.prototype._afterRender=function(){if(this.questionBase.customWidget){var a=this.widgetRef.current;a&&(this.questionBase.customWidget.afterRender(this.questionBase,a),this.questionBase.customWidgetData.isNeedRender=!1)}},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.questionBase&&this._afterRender()},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c);var f=!!this.questionBase.customWidget&&this.questionBase.customWidget.isDefaultRender;this.questionBase&&!f&&this._afterRender()},l.prototype.componentWillUnmount=function(){if(p.prototype.componentWillUnmount.call(this),this.questionBase.customWidget){var a=this.widgetRef.current;a&&this.questionBase.customWidget.willUnmount(this.questionBase,a)}},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&this.questionBase.visible},l.prototype.renderElement=function(){var a=this.questionBase.customWidget;if(a.isDefaultRender)return h.createElement("div",{ref:this.widgetRef},this.creator.createQuestionElement(this.questionBase));var c=null;if(a.widgetJson.render)c=a.widgetJson.render(this.questionBase);else if(a.htmlTemplate){var f={__html:a.htmlTemplate};return h.createElement("div",{ref:this.widgetRef,dangerouslySetInnerHTML:f})}return h.createElement("div",{ref:this.widgetRef},c)},l}(ce),mi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),vi=function(p){mi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a=this.element,c=a.hasTitle?w.a.createElement(tt,{element:a}):null,f=a.hasDescriptionUnderTitle?$.renderQuestionDescription(this.element):null,g=a.hasAdditionalTitleToolbar?w.a.createElement(Re,{model:a.additionalTitleToolbar}):null,L={width:void 0};return a instanceof C.Question&&(L.width=a.titleWidth),w.a.createElement("div",{className:a.cssHeader,onClick:function(F){return a.clickTitleFunction&&a.clickTitleFunction(F.nativeEvent)},style:L},c,f,g)},l}(w.a.Component),Pn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),nn=function(p){Pn(l,p);function l(a){var c=p.call(this,a)||this;return c.isNeedFocus=!1,c.rootRef=h.createRef(),c}return l.renderQuestionBody=function(a,c){var f=c.customWidget;return f?h.createElement(Sr,{creator:a,question:c}):a.createQuestionElement(c)},l.prototype.getStateElement=function(){return this.question},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.question&&(this.question.react=this),this.doAfterRender()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question&&(this.question.react=null);var a=this.rootRef.current;a&&a.removeAttribute("data-rendered")},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.doAfterRender()},l.prototype.doAfterRender=function(){if(this.isNeedFocus&&(this.question.isCollapsed||this.question.clickTitleFunction(),this.isNeedFocus=!1),this.question){var a=this.rootRef.current;a&&a.getAttribute("data-rendered")!=="r"&&(a.setAttribute("data-rendered","r"),a.setAttribute("data-name",this.question.name),this.question.afterRender&&this.question.afterRender(a))}},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&!!this.question&&!!this.creator},l.prototype.renderQuestionContent=function(){var a=this.question,c={display:this.question.renderedIsExpanded?"":"none"},f=a.cssClasses,g=this.renderQuestion(),L=this.question.showErrorOnTop?this.renderErrors(f,"top"):null,F=this.question.showErrorOnBottom?this.renderErrors(f,"bottom"):null,H=a&&a.hasComment?this.renderComment(f):null,ye=a.hasDescriptionUnderInput?this.renderDescription():null;return h.createElement("div",{className:a.cssContent||void 0,style:c,role:"presentation"},L,g,H,F,ye)},l.prototype.renderElement=function(){var a=this.question,c=a.cssClasses,f=this.renderHeader(a),g=a.hasTitleOnLeftTop?f:null,L=a.hasTitleOnBottom?f:null,F=this.question.showErrorsAboveQuestion?this.renderErrors(c,""):null,H=this.question.showErrorsBelowQuestion?this.renderErrors(c,""):null,ye=a.getRootStyle(),ae=this.wrapQuestionContent(this.renderQuestionContent());return h.createElement(h.Fragment,null,h.createElement("div",{ref:this.rootRef,id:a.id,className:a.getRootCss(),style:ye,role:a.ariaRole,"aria-required":this.question.ariaRequired,"aria-invalid":this.question.ariaInvalid,"aria-labelledby":a.ariaLabelledBy,"aria-describedby":a.ariaDescribedBy,"aria-expanded":a.ariaExpanded},F,g,ae,L,H))},l.prototype.wrapElement=function(a){var c=this.question.survey,f=null;return c&&(f=k.wrapElement(c,a,this.question)),f??a},l.prototype.wrapQuestionContent=function(a){var c=this.question.survey,f=null;return c&&(f=k.wrapQuestionContent(c,a,this.question)),f??a},l.prototype.renderQuestion=function(){return l.renderQuestionBody(this.creator,this.question)},l.prototype.renderDescription=function(){return $.renderQuestionDescription(this.question)},l.prototype.renderComment=function(a){var c=$.renderLocString(this.question.locCommentText);return h.createElement("div",{className:this.question.getCommentAreaCss()},h.createElement("div",null,c),h.createElement(nt,{question:this.question,cssClasses:a,otherCss:a.other,isDisplayMode:this.question.isInputReadOnly}))},l.prototype.renderHeader=function(a){return h.createElement(vi,{element:a})},l.prototype.renderErrors=function(a,c){return h.createElement(rn,{element:this.question,cssClasses:a,creator:this.creator,location:c,id:this.question.id+"_errors"})},l}($);A.Instance.registerElement("question",function(p){return h.createElement(nn,p)});var rn=function(p){Pn(l,p);function l(a){var c=p.call(this,a)||this;return c.state=c.getState(),c}return Object.defineProperty(l.prototype,"id",{get:function(){return this.props.element.id+"_errors"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"element",{get:function(){return this.props.element},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"location",{get:function(){return this.props.location},enumerable:!1,configurable:!0}),l.prototype.getState=function(a){return a===void 0&&(a=null),a?{error:a.error+1}:{error:0}},l.prototype.canRender=function(){return!!this.element&&this.element.hasVisibleErrors},l.prototype.componentWillUnmount=function(){},l.prototype.renderElement=function(){for(var a=[],c=0;c<this.element.errors.length;c++){var f="error"+c;a.push(this.creator.renderError(f,this.element.errors[c],this.cssClasses,this.element))}return h.createElement("div",{role:"alert","aria-live":"polite",className:this.element.cssError,id:this.id},a)},l}(ie),bi=function(p){Pn(l,p);function l(a){return p.call(this,a)||this}return l.prototype.getStateElement=function(){return this.question},Object.defineProperty(l.prototype,"question",{get:function(){return this.getQuestion()},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),l.prototype.getQuestion=function(){return this.props.question},Object.defineProperty(l.prototype,"itemCss",{get:function(){return this.props.itemCss},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.doAfterRender()},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.doAfterRender()},l.prototype.doAfterRender=function(){},l.prototype.canRender=function(){return!!this.question},l.prototype.renderContent=function(){var a=this.renderQuestion();return h.createElement(h.Fragment,null,a)},l.prototype.getShowErrors=function(){return this.question.isVisible},l.prototype.renderQuestion=function(){return nn.renderQuestionBody(this.creator,this.question)},l}(ie),Ci=function(p){Pn(l,p);function l(a){var c=p.call(this,a)||this;return c.cellRef=h.createRef(),c}return l.prototype.componentWillUnmount=function(){if(p.prototype.componentWillUnmount.call(this),this.question){var a=this.cellRef.current;a&&a.removeAttribute("data-rendered")}},l.prototype.renderCellContent=function(){return h.createElement("div",{className:this.props.cell.cellQuestionWrapperClassName},this.renderQuestion())},l.prototype.renderElement=function(){var a=this.getCellStyle(),c=this.props.cell,f=function(){c.focusIn()};return h.createElement("td",{ref:this.cellRef,className:this.itemCss,colSpan:c.colSpans,title:c.getTitle(),style:a,onFocus:f},this.wrapCell(this.props.cell,this.renderCellContent()))},l.prototype.getCellStyle=function(){return null},l.prototype.getHeaderText=function(){return""},l.prototype.wrapCell=function(a,c){if(!a)return c;var f=this.question.survey,g=null;return f&&(g=k.wrapMatrixCell(f,c,a,this.props.reason)),g??c},l}(bi),wi=function(p){Pn(l,p);function l(a){var c=p.call(this,a)||this;return c.state={changed:0},c.question&&c.registerCallback(c.question),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.update=function(){this.setState({changed:this.state.changed+1})},l.prototype.getQuestionPropertiesToTrack=function(){return["errors"]},l.prototype.registerCallback=function(a){var c=this;a.registerFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),function(){c.update()},"__reactSubscription")},l.prototype.unRegisterCallback=function(a){a.unRegisterFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(),"__reactSubscription")},l.prototype.componentDidUpdate=function(a){a.question&&a.question!==this.question&&this.unRegisterCallback(a.cell),this.question&&this.registerCallback(this.question)},l.prototype.componentWillUnmount=function(){this.question&&this.unRegisterCallback(this.question)},l.prototype.render=function(){return h.createElement(rn,{element:this.question,creator:this.props.creator,cssClasses:this.question.cssClasses})},l}(h.Component),Pi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),xi=function(p){Pi(l,p);function l(a){return p.call(this,a)||this}return l.prototype.getPanelBase=function(){return this.props.page},Object.defineProperty(l.prototype,"page",{get:function(){return this.panelBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this.renderTitle(),c=this.renderDescription(),f=this.renderRows(this.panelBase.cssClasses),g=h.createElement(rn,{element:this.panelBase,cssClasses:this.panelBase.cssClasses,creator:this.creator});return h.createElement("div",{ref:this.rootRef,className:this.page.cssRoot},a,c,g,f)},l.prototype.renderTitle=function(){return h.createElement(tt,{element:this.page})},l.prototype.renderDescription=function(){if(!this.page._showDescription)return null;var a=$.renderLocString(this.page.locDescription);return h.createElement("div",{className:this.panelBase.cssClasses.page.description},a)},l}(lt),Fo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Or=function(p){Fo(l,p);function l(a){var c=p.call(this,a)||this;return c.state={changed:0},c.rootRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.survey.css},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){var a=this;this.survey.afterRenderHeader(this.rootRef.current),this.survey.locLogo.onChanged=function(){a.setState({changed:a.state.changed+1})}},l.prototype.componentWillUnmount=function(){this.survey.locLogo.onChanged=function(){}},l.prototype.renderTitle=function(){if(!this.survey.renderedHasTitle)return null;var a=$.renderLocString(this.survey.locDescription);return w.a.createElement("div",{className:this.css.headerText,style:{maxWidth:this.survey.titleMaxWidth}},w.a.createElement(tt,{element:this.survey}),this.survey.renderedHasDescription?w.a.createElement("div",{className:this.css.description},a):null)},l.prototype.renderLogoImage=function(a){if(!a)return null;var c=this.survey.getElementWrapperComponentName(this.survey,"logo-image"),f=this.survey.getElementWrapperComponentData(this.survey,"logo-image");return A.Instance.createElement(c,{data:f})},l.prototype.render=function(){return this.survey.renderedHasHeader?w.a.createElement("div",{className:this.css.header,ref:this.rootRef},this.renderLogoImage(this.survey.isLogoBefore),this.renderTitle(),this.renderLogoImage(this.survey.isLogoAfter),w.a.createElement("div",{className:this.css.headerClose})):null},l}(w.a.Component);A.Instance.registerElement("survey-header",function(p){return w.a.createElement(Or,p)});var Vi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ko=function(p){Vi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){return w.a.createElement("div",{className:"sv-brand-info"},w.a.createElement("a",{className:"sv-brand-info__logo",href:"https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"},w.a.createElement("img",{src:"https://surveyjs.io/Content/Images/poweredby.svg"})),w.a.createElement("div",{className:"sv-brand-info__text"},"Try and see how easy it is to ",w.a.createElement("a",{href:"https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey"},"create a survey")),w.a.createElement("div",{className:"sv-brand-info__terms"},w.a.createElement("a",{href:"https://surveyjs.io/TermsOfUse"},"Terms of Use & Privacy Statement")))},l}(w.a.Component),Qo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Gn=function(p){Qo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"notifier",{get:function(){return this.props.notifier},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.notifier},l.prototype.renderElement=function(){if(!this.notifier.isDisplayed)return null;var a={visibility:this.notifier.active?"visible":"hidden"};return w.a.createElement("div",{className:this.notifier.css,style:a,role:"alert","aria-live":"polite"},w.a.createElement("span",null,this.notifier.message),w.a.createElement(Re,{model:this.notifier.actionBar}))},l}($);A.Instance.registerElement("sv-notifier",function(p){return w.a.createElement(Gn,p)});var Zn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Pt=function(p){Zn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this,c=this.props.survey.getContainerContent(this.props.container),f=this.props.needRenderWrapper!==!1;return c.length==0?null:f?w.a.createElement("div",{className:"sv-components-column sv-components-container-"+this.props.container},c.map(function(g){return A.Instance.createElement(g.component,{survey:a.props.survey,model:g.data,container:a.props.container,key:g.id})})):w.a.createElement(w.a.Fragment,null,c.map(function(g){return A.Instance.createElement(g.component,{survey:a.props.survey,model:g.data,container:a.props.container,key:g.id})}))},l}(w.a.Component);A.Instance.registerElement("sv-components-container",function(p){return w.a.createElement(Pt,p)});var Ho=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Si=function(p){Ho(l,p);function l(a){var c=p.call(this,a)||this;return c.onIconsChanged=function(){c.containerRef.current&&(c.containerRef.current.innerHTML=C.SvgRegistry.iconsRenderedHtml())},c.containerRef=w.a.createRef(),c}return l.prototype.componentDidMount=function(){this.onIconsChanged(),C.SvgRegistry.onIconsChanged.add(this.onIconsChanged)},l.prototype.componentWillUnmount=function(){C.SvgRegistry.onIconsChanged.remove(this.onIconsChanged)},l.prototype.render=function(){var a={display:"none"};return w.a.createElement("svg",{style:a,id:"sv-icon-holder-global-container",ref:this.containerRef})},l}(w.a.Component),zo=D("react-dom"),Oi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Er=function(p){Oi(l,p);function l(a){var c=p.call(this,a)||this;return c.isInitialized=!1,c.init=function(){c.isInitialized||(C.settings.showModal=function(f,g,L,F,H,ye,ae){ae===void 0&&(ae="popup");var Ve=Object(C.createDialogOptions)(f,g,L,F,void 0,void 0,H,ye,ae);return c.showDialog(Ve)},C.settings.showDialog=function(f,g){return c.showDialog(f,g)},c.isInitialized=!0)},c.clean=function(){c.isInitialized&&(C.settings.showModal=void 0,C.settings.showDialog=void 0,c.isInitialized=!1)},c.state={changed:0},c.descriptor={init:c.init,clean:c.clean},c}return l.addModalDescriptor=function(a){C.settings.showModal||a.init(),this.modalDescriptors.push(a)},l.removeModalDescriptor=function(a){a.clean(),this.modalDescriptors.splice(this.modalDescriptors.indexOf(a),1),!C.settings.showModal&&this.modalDescriptors[0]&&this.modalDescriptors[0].init()},l.prototype.renderElement=function(){return this.model?Object(zo.createPortal)(w.a.createElement(bt,{model:this.model}),this.model.container):null},l.prototype.showDialog=function(a,c){var f=this;this.model=Object(C.createPopupModalViewModel)(a,c);var g=function(L,F){F.isVisible||(f.model.dispose(),f.model=void 0,f.setState({changed:f.state.changed+1}))};return this.model.onVisibilityChanged.add(g),this.model.model.isVisible=!0,this.setState({changed:this.state.changed+1}),this.model},l.prototype.componentDidMount=function(){l.addModalDescriptor(this.descriptor)},l.prototype.componentWillUnmount=function(){this.model&&(this.model.dispose(),this.model=void 0),l.removeModalDescriptor(this.descriptor)},l.modalDescriptors=[],l}($),Ei=D("./build/survey-core/icons/iconsV1.js"),Uo=D("./build/survey-core/icons/iconsV2.js"),Wo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Lt=function(){return Lt=Object.assign||function(p){for(var l,a=1,c=arguments.length;a<c;a++){l=arguments[a];for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&(p[f]=l[f])}return p},Lt.apply(this,arguments)};Object(C.addIconsToThemeSet)("v1",Ei.icons),Object(C.addIconsToThemeSet)("v2",Uo.icons),C.SvgRegistry.registerIcons(Ei.icons);var Mt=function(p){Wo(l,p);function l(a){var c=p.call(this,a)||this;return c.previousJSON={},c.isSurveyUpdated=!1,c.createSurvey(a),c.updateSurvey(a,{}),c.rootRef=h.createRef(),c.rootNodeId=a.id||null,c.rootNodeClassName=a.className||"",c}return Object.defineProperty(l,"cssType",{get:function(){return C.surveyCss.currentType},set:function(a){C.StylesManager.applyTheme(a)},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.survey},l.prototype.onSurveyUpdated=function(){if(this.survey){var a=this.rootRef.current;a&&this.survey.afterRenderSurvey(a),this.survey.startTimerFromUI(),this.setSurveyEvents()}},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?(this.isModelJSONChanged(a)&&(this.destroySurvey(),this.createSurvey(a),this.updateSurvey(a,{}),this.isSurveyUpdated=!0),!0):!1},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.updateSurvey(this.props,a),this.isSurveyUpdated&&(this.onSurveyUpdated(),this.isSurveyUpdated=!1)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.onSurveyUpdated()},l.prototype.destroySurvey=function(){this.survey&&(this.survey.renderCallback=void 0,this.survey.onPartialSend.clear(),this.survey.stopTimer(),this.survey.destroyResizeObserver())},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.destroySurvey()},l.prototype.doRender=function(){var a;this.survey.state=="completed"?a=this.renderCompleted():this.survey.state=="completedbefore"?a=this.renderCompletedBefore():this.survey.state=="loading"?a=this.renderLoading():this.survey.state=="empty"?a=this.renderEmptySurvey():a=this.renderSurvey();var c=this.survey.backgroundImage?h.createElement("div",{className:this.css.rootBackgroundImage,style:this.survey.backgroundImageStyle}):null,f=this.survey.headerView==="basic"?h.createElement(Or,{survey:this.survey}):null,g=function(ye){ye.preventDefault()},L=h.createElement("div",{className:"sv_custom_header"});this.survey.hasLogo&&(L=null);var F=this.survey.getRootCss(),H=this.rootNodeClassName?this.rootNodeClassName+" "+F:F;return h.createElement("div",{id:this.rootNodeId,ref:this.rootRef,className:H,style:this.survey.themeVariables,lang:this.survey.locale||"en",dir:this.survey.localeDir},this.survey.needRenderIcons?h.createElement(Si,null):null,h.createElement(Er,null),h.createElement("div",{className:this.survey.wrapperFormCss},c,h.createElement("form",{onSubmit:g},L,h.createElement("div",{className:this.css.container},f,h.createElement(Pt,{survey:this.survey,container:"header",needRenderWrapper:!1}),a,h.createElement(Pt,{survey:this.survey,container:"footer",needRenderWrapper:!1}))),h.createElement(Gn,{notifier:this.survey.notifier})))},l.prototype.renderElement=function(){return this.doRender()},Object.defineProperty(l.prototype,"css",{get:function(){return this.survey.css},set:function(a){this.survey.css=a},enumerable:!1,configurable:!0}),l.prototype.renderCompleted=function(){if(!this.survey.showCompletedPage)return null;var a={__html:this.survey.processedCompletedHtml};return h.createElement(h.Fragment,null,h.createElement("div",{dangerouslySetInnerHTML:a,className:this.survey.completedCss}),h.createElement(Pt,{survey:this.survey,container:"completePage",needRenderWrapper:!1}))},l.prototype.renderCompletedBefore=function(){var a={__html:this.survey.processedCompletedBeforeHtml};return h.createElement("div",{dangerouslySetInnerHTML:a,className:this.survey.completedBeforeCss})},l.prototype.renderLoading=function(){var a={__html:this.survey.processedLoadingHtml};return h.createElement("div",{dangerouslySetInnerHTML:a,className:this.survey.loadingBodyCss})},l.prototype.renderSurvey=function(){var a=this.survey.activePage?this.renderPage(this.survey.activePage):null;this.survey.isShowStartingPage;var c=this.survey.activePage?this.survey.activePage.id:"",f=this.survey.bodyCss,g={};return this.survey.renderedWidth&&(g.maxWidth=this.survey.renderedWidth),h.createElement("div",{className:this.survey.bodyContainerCss},h.createElement(Pt,{survey:this.survey,container:"left"}),h.createElement("div",{className:"sv-components-column sv-components-column--expandable"},h.createElement(Pt,{survey:this.survey,container:"center"}),h.createElement("div",{id:c,className:f,style:g},h.createElement(Pt,{survey:this.survey,container:"contentTop"}),a,h.createElement(Pt,{survey:this.survey,container:"contentBottom"}),this.survey.showBrandInfo?h.createElement(ko,null):null)),h.createElement(Pt,{survey:this.survey,container:"right"}))},l.prototype.renderPage=function(a){return h.createElement(xi,{survey:this.survey,page:a,css:this.css,creator:this})},l.prototype.renderEmptySurvey=function(){return h.createElement("div",{className:this.css.bodyEmpty},this.survey.emptySurveyText)},l.prototype.createSurvey=function(a){a||(a={}),this.previousJSON={},a?a.model?this.survey=a.model:a.json&&(this.previousJSON=a.json,this.survey=new C.SurveyModel(a.json)):this.survey=new C.SurveyModel,a.css&&(this.survey.css=this.css)},l.prototype.isModelJSONChanged=function(a){return a.model?this.survey!==a.model:a.json?!C.Helpers.isTwoValueEquals(a.json,this.previousJSON):!1},l.prototype.updateSurvey=function(a,c){if(a){c=c||{};for(var f in a)if(!(f=="model"||f=="children"||f=="json")){if(f=="css"){this.survey.mergeValues(a.css,this.survey.getCss()),this.survey.updateNavigationCss(),this.survey.updateElementCss();continue}a[f]!==c[f]&&(f.indexOf("on")==0&&this.survey[f]&&this.survey[f].add?(c[f]&&this.survey[f].remove(c[f]),this.survey[f].add(a[f])):this.survey[f]=a[f])}}},l.prototype.setSurveyEvents=function(){var a=this;this.survey.renderCallback=function(){var c=a.state&&a.state.modelChanged?a.state.modelChanged:0;a.setState({modelChanged:c+1})},this.survey.onPartialSend.add(function(c){a.state&&a.setState(a.state)})},l.prototype.createQuestionElement=function(a){return Ce.Instance.createQuestion(a.isDefaultRendering()?a.getTemplate():a.getComponentName(),{question:a,isDisplayMode:a.isInputReadOnly,creator:this})},l.prototype.renderError=function(a,c,f,g){return A.Instance.createElement(this.survey.questionErrorComponent,{key:a,error:c,cssClasses:f,element:g})},l.prototype.questionTitleLocation=function(){return this.survey.questionTitleLocation},l.prototype.questionErrorLocation=function(){return this.survey.questionErrorLocation},l}($);A.Instance.registerElement("survey",function(p){return h.createElement(Mt,p)});function xn(p,l,a){return a===void 0&&(a={processEsc:!0,disableTabStop:!1}),l&&l.disableTabStop||a&&a.disableTabStop?h.cloneElement(p,{tabIndex:-1}):(a=Lt({},a),h.cloneElement(p,{tabIndex:0,onKeyUp:function(c){return c.preventDefault(),c.stopPropagation(),Object(C.doKey2ClickUp)(c,a),!1},onKeyDown:function(c){return Object(C.doKey2ClickDown)(c,a)},onBlur:function(c){return Object(C.doKey2ClickBlur)(c)}}))}var Tr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ht=function(p){Tr(l,p);function l(a){var c=p.call(this,a)||this;return c.updateStateFunction=null,c.state={update:0},c}return Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.survey},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"css",{get:function(){return this.props.css||this.survey.css},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){if(this.survey){var a=this;this.updateStateFunction=function(){a.setState({update:a.state.update+1})},this.survey.onPageVisibleChanged.add(this.updateStateFunction)}},l.prototype.componentWillUnmount=function(){this.survey&&this.updateStateFunction&&(this.survey.onPageVisibleChanged.remove(this.updateStateFunction),this.updateStateFunction=null)},l}(h.Component),Rr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ir=function(p){Rr(l,p);function l(a){var c=p.call(this,a)||this;return c.circleLength=440,c}return l.prototype.getStateElement=function(){return this.timerModel},Object.defineProperty(l.prototype,"timerModel",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"progress",{get:function(){return-this.timerModel.progress*this.circleLength},enumerable:!1,configurable:!0}),l.prototype.render=function(){if(!this.timerModel.isRunning)return null;var a=h.createElement("div",{className:this.timerModel.survey.getCss().timerRoot},this.timerModel.text);if(this.timerModel.showTimerAsClock){var c={strokeDasharray:this.circleLength,strokeDashoffset:this.progress},f=this.timerModel.showProgress?h.createElement(ge,{className:this.timerModel.getProgressCss(),style:c,iconName:"icon-timercircle",size:"auto"}):null;a=h.createElement("div",{className:this.timerModel.rootCss},f,h.createElement("div",{className:this.timerModel.textContainerCss},h.createElement("span",{className:this.timerModel.majorTextCss},this.timerModel.clockMajorText),this.timerModel.clockMinorText?h.createElement("span",{className:this.timerModel.minorTextCss},this.timerModel.clockMinorText):null))}return a},l}(ie);A.Instance.registerElement("sv-timerpanel",function(p){return h.createElement(Ir,p)});var Ti=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ze=function(p){Ti(l,p);function l(a){var c=p.call(this,a)||this;return c.hasBeenExpanded=!1,c}return Object.defineProperty(l.prototype,"panel",{get:function(){return this.panelBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.renderHeader(),f=h.createElement(rn,{element:this.panelBase,cssClasses:this.panelBase.cssClasses,creator:this.creator}),g={paddingLeft:this.panel.innerPaddingLeft,display:this.panel.renderedIsExpanded?void 0:"none"},L=null;if(this.panel.renderedIsExpanded){var F=this.renderRows(this.panelBase.cssClasses),H=this.panelBase.cssClasses.panel.content;L=this.renderContent(g,F,H)}var ye=function(){a.panelBase&&a.panelBase.focusIn()};return h.createElement("div",{ref:this.rootRef,className:this.panelBase.getContainerCss(),onFocus:ye,id:this.panelBase.id},this.panel.showErrorsAbovePanel?f:null,c,this.panel.showErrorsAbovePanel?null:f,L)},l.prototype.renderHeader=function(){return!this.panel.hasTitle&&!this.panel.hasDescription?null:h.createElement(vi,{element:this.panel})},l.prototype.wrapElement=function(a){var c=this.panel.survey,f=null;return c&&(f=k.wrapElement(c,a,this.panel)),f??a},l.prototype.renderContent=function(a,c,f){var g=this.renderBottom();return h.createElement("div",{style:a,className:f,id:this.panel.contentId},c,g)},l.prototype.renderTitle=function(){return this.panelBase.title?h.createElement(tt,{element:this.panelBase}):null},l.prototype.renderDescription=function(){if(!this.panelBase.description)return null;var a=$.renderLocString(this.panelBase.locDescription);return h.createElement("div",{className:this.panel.cssClasses.panel.description},a)},l.prototype.renderBottom=function(){var a=this.panel.getFooterToolbar();return a.hasActions?h.createElement(Re,{model:a}):null},l.prototype.getIsVisible=function(){return this.panelBase.getIsContentVisible()},l}(lt);A.Instance.registerElement("panel",function(p){return h.createElement(ze,p)});var $o=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Kn=function(p){$o(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"flowPanel",{get:function(){return this.panel},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=function(){return""},this.flowPanel.onGetHtmlForQuestion=this.renderQuestion)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.flowPanel&&(this.flowPanel.onCustomHtmlProducing=null,this.flowPanel.onGetHtmlForQuestion=null)},l.prototype.getQuestion=function(a){return this.flowPanel.getQuestionByName(a)},l.prototype.renderQuestion=function(a){return"<question>"+a.name+"</question>"},l.prototype.renderRows=function(){var a=this.renderHtml();return a?[a]:[]},l.prototype.getNodeIndex=function(){return this.renderedIndex++},l.prototype.renderHtml=function(){if(!this.flowPanel)return null;var a="<span>"+this.flowPanel.produceHtml()+"</span>";if(!DOMParser){var c={__html:a};return h.createElement("div",{dangerouslySetInnerHTML:c})}var f=new DOMParser().parseFromString(a,"text/xml");return this.renderedIndex=0,this.renderParentNode(f)},l.prototype.renderNodes=function(a){for(var c=[],f=0;f<a.length;f++){var g=this.renderNode(a[f]);g&&c.push(g)}return c},l.prototype.getStyle=function(a){var c={};return a.toLowerCase()==="b"&&(c.fontWeight="bold"),a.toLowerCase()==="i"&&(c.fontStyle="italic"),a.toLowerCase()==="u"&&(c.textDecoration="underline"),c},l.prototype.renderParentNode=function(a){var c=a.nodeName.toLowerCase(),f=this.renderNodes(this.getChildDomNodes(a));return c==="div"?h.createElement("div",{key:this.getNodeIndex()},f):h.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(c)},f)},l.prototype.renderNode=function(a){if(!this.hasTextChildNodesOnly(a))return this.renderParentNode(a);var c=a.nodeName.toLowerCase();if(c==="question"){var f=this.flowPanel.getQuestionByName(a.textContent);if(!f)return null;var g=h.createElement(nn,{key:f.name,element:f,creator:this.creator,css:this.css});return h.createElement("span",{key:this.getNodeIndex()},g)}return c==="div"?h.createElement("div",{key:this.getNodeIndex()},a.textContent):h.createElement("span",{key:this.getNodeIndex(),style:this.getStyle(c)},a.textContent)},l.prototype.getChildDomNodes=function(a){for(var c=[],f=0;f<a.childNodes.length;f++)c.push(a.childNodes[f]);return c},l.prototype.hasTextChildNodesOnly=function(a){for(var c=a.childNodes,f=0;f<c.length;f++)if(c[f].nodeName.toLowerCase()!=="#text")return!1;return!0},l.prototype.renderContent=function(a,c){return h.createElement("f-panel",{style:a},c)},l}(ze);A.Instance.registerElement("flowpanel",function(p){return h.createElement(Kn,p)});var Ri=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ii=function(p){Ri(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses;return h.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),ref:function(f){return a.setControl(f)},role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage},h.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.getHeader(),this.question.hasColumns?this.getColumnedBody(c):this.getBody(c),this.getFooter(),this.question.isOtherSelected?this.renderOther():null)},l.prototype.getHeader=function(){var a=this;if(this.question.hasHeadItems)return this.question.headItems.map(function(c,f){return a.renderItem(c,!1,a.question.cssClasses)})},l.prototype.getFooter=function(){var a=this;if(this.question.hasFootItems)return this.question.footItems.map(function(c,f){return a.renderItem(c,!1,a.question.cssClasses)})},l.prototype.getColumnedBody=function(a){return h.createElement("div",{className:a.rootMultiColumn},this.getColumns(a))},l.prototype.getColumns=function(a){var c=this;return this.question.columns.map(function(f,g){var L=f.map(function(F,H){return c.renderItem(F,g===0&&H===0,a,""+g+H)});return h.createElement("div",{key:"column"+g+c.question.getItemsColumnKey(f),className:c.question.getColumnClass(),role:"presentation"},L)})},l.prototype.getBody=function(a){return this.question.blockedRow?h.createElement("div",{className:a.rootRow},this.getItems(a,this.question.dataChoices)):h.createElement(h.Fragment,null,this.getItems(a,this.question.bodyItems))},l.prototype.getItems=function(a,c){for(var f=[],g=0;g<c.length;g++){var L=c[g];""+L.value;var F=this.renderItem(L,g==0,a,""+g);F&&f.push(F)}return f},Object.defineProperty(l.prototype,"textStyle",{get:function(){return null},enumerable:!1,configurable:!0}),l.prototype.renderOther=function(){var a=this.question.cssClasses;return h.createElement("div",{className:this.question.getCommentAreaCss(!0)},h.createElement(ct,{question:this.question,otherCss:a.other,cssClasses:a,isDisplayMode:this.isDisplayMode}))},l.prototype.renderItem=function(a,c,f,g){var L=A.Instance.createElement(this.question.itemComponent,{key:a.value,question:this.question,cssClasses:f,isDisplayMode:this.isDisplayMode,item:a,textStyle:this.textStyle,index:g,isFirst:c}),F=this.question.survey,H=null;return F&&L&&(H=k.wrapItemValue(F,L,this.question,a)),H??L},l}(ce),Dr=function(p){Ri(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnChange=function(f){c.question.clickItemHandler(c.item,f.target.checked)},c.rootRef=h.createRef(),c}return l.prototype.getStateElement=function(){return this.item},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"textStyle",{get:function(){return this.props.textStyle},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isFirst",{get:function(){return this.props.isFirst},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"hideCaption",{get:function(){return this.props.hideCaption===!0},enumerable:!1,configurable:!0}),l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),a.item!==this.props.item&&!this.question.isDesignMode&&(this.props.item&&this.props.item.setRootElement(this.rootRef.current),a.item&&a.item.setRootElement(void 0))},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?!this.question.customWidget||!!this.question.customWidgetData.isNeedRender||!!this.question.customWidget.widgetJson.isDefaultRender||!!this.question.customWidget.widgetJson.render:!1},l.prototype.canRender=function(){return!!this.item&&!!this.question},l.prototype.renderElement=function(){var a=this.question.isItemSelected(this.item);return this.renderCheckbox(a,null)},Object.defineProperty(l.prototype,"inputStyle",{get:function(){return null},enumerable:!1,configurable:!0}),l.prototype.renderCheckbox=function(a,c){var f=this.question.getItemId(this.item),g=this.question.getItemClass(this.item),L=this.question.getLabelClass(this.item),F=this.hideCaption?null:h.createElement("span",{className:this.cssClasses.controlLabel},this.renderLocString(this.item.locText,this.textStyle));return h.createElement("div",{className:g,role:"presentation",ref:this.rootRef},h.createElement("label",{className:L},h.createElement("input",{className:this.cssClasses.itemControl,type:"checkbox",name:this.question.name+this.item.id,value:this.item.value,id:f,style:this.inputStyle,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,checked:a,onChange:this.handleOnChange,required:this.question.hasRequiredError()}),this.cssClasses.materialDecorator?h.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?h.createElement("svg",{className:this.cssClasses.itemDecorator},h.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,F),c)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.question.isDesignMode||this.item.setRootElement(this.rootRef.current)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.isDesignMode||this.item.setRootElement(void 0)},l}(ie);A.Instance.registerElement("survey-checkbox-item",function(p){return h.createElement(Dr,p)}),Ce.Instance.registerQuestion("checkbox",function(p){return h.createElement(Ii,p)});var Yn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ar=function(p){Yn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this;if(this.question.selectToRankEnabled){var c=!0;return h.createElement("div",{className:this.question.rootClass,ref:function(f){return a.setControl(f)}},h.createElement("div",{className:this.question.getContainerClasses("from"),"data-ranking":"from-container"},this.getItems(this.question.renderedUnRankingChoices,c),this.question.renderedUnRankingChoices.length===0?h.createElement("div",{className:this.question.cssClasses.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyRankedAreaText)," "):null),h.createElement("div",{className:this.question.cssClasses.containersDivider}),h.createElement("div",{className:this.question.getContainerClasses("to"),"data-ranking":"to-container"},this.getItems(),this.question.renderedRankingChoices.length===0?h.createElement("div",{className:this.question.cssClasses.containerPlaceholder}," ",this.renderLocString(this.question.locSelectToRankEmptyUnrankedAreaText)," "):null))}else return h.createElement("div",{className:this.question.rootClass,ref:function(f){return a.setControl(f)}},this.getItems())},l.prototype.getItems=function(a,c){var f=this;a===void 0&&(a=this.question.renderedRankingChoices);for(var g=[],L=function(ye){var ae=a[ye];g.push(F.renderItem(ae,ye,function(Ve){f.question.handleKeydown.call(f.question,Ve,ae)},function(Ve){Ve.persist(),f.question.handlePointerDown.call(f.question,Ve,ae,Ve.currentTarget)},function(Ve){Ve.persist(),f.question.handlePointerUp.call(f.question,Ve,ae,Ve.currentTarget)},F.question.cssClasses,F.question.getItemClass(ae),F.question,c))},F=this,H=0;H<a.length;H++)L(H);return g},l.prototype.renderItem=function(a,c,f,g,L,F,H,ye,ae){""+a.renderedId;var Ve=this.renderLocString(a.locText),yt=c,Ze=this.question.getNumberByIndex(yt),cn=this.question.getItemTabIndex(a),qt=h.createElement(Di,{key:a.value,text:Ve,index:yt,indexText:Ze,itemTabIndex:cn,handleKeydown:f,handlePointerDown:g,handlePointerUp:L,cssClasses:F,itemClass:H,question:ye,unrankedItem:ae,item:a}),yr=this.question.survey,Zt=null;return yr&&(Zt=k.wrapItemValue(yr,qt,this.question,a)),Zt??qt},l}(ce),Di=function(p){Yn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"text",{get:function(){return this.props.text},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"indexText",{get:function(){return this.props.indexText},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"handleKeydown",{get:function(){return this.props.handleKeydown},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"handlePointerDown",{get:function(){return this.props.handlePointerDown},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"handlePointerUp",{get:function(){return this.props.handlePointerUp},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"itemClass",{get:function(){return this.props.itemClass},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"itemTabIndex",{get:function(){return this.props.itemTabIndex},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"unrankedItem",{get:function(){return this.props.unrankedItem},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.renderEmptyIcon=function(){return h.createElement("svg",null,h.createElement("use",{xlinkHref:this.question.dashSvgIcon}))},l.prototype.renderElement=function(){var a=A.Instance.createElement(this.question.itemComponent,{item:this.item,cssClasses:this.cssClasses});return h.createElement("div",{tabIndex:this.itemTabIndex,className:this.itemClass,onKeyDown:this.handleKeydown,onPointerDown:this.handlePointerDown,onPointerUp:this.handlePointerUp,"data-sv-drop-target-ranking-item":this.index},h.createElement("div",{tabIndex:-1,style:{outline:"none"}},h.createElement("div",{className:this.cssClasses.itemGhostNode}),h.createElement("div",{className:this.cssClasses.itemContent},h.createElement("div",{className:this.cssClasses.itemIconContainer},h.createElement("svg",{className:this.question.getIconHoverCss()},h.createElement("use",{xlinkHref:this.question.dragDropSvgIcon})),h.createElement("svg",{className:this.question.getIconFocusCss()},h.createElement("use",{xlinkHref:this.question.arrowsSvgIcon}))),h.createElement("div",{className:this.question.getItemIndexClasses(this.item)},!this.unrankedItem&&this.indexText?this.indexText:this.renderEmptyIcon()),a)))},l}(ie),Lr=function(p){Yn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){return h.createElement("div",{className:this.cssClasses.controlLabel},$.renderLocString(this.item.locText))},l}(ie);A.Instance.registerElement("sv-ranking-item",function(p){return h.createElement(Lr,p)}),Ce.Instance.registerQuestion("ranking",function(p){return h.createElement(Ar,p)});var Mr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ue=function(p){Mr(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnMouseDown=c.handleOnMouseDown.bind(c),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.handleOnMouseDown=function(a){this.question.onMouseDown()},l}($),jt=function(p){Mr(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this.renderLocString(this.item.locText);return w.a.createElement("label",{onMouseDown:this.handleOnMouseDown,className:this.question.getItemClassByText(this.item.itemValue,this.item.text)},w.a.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),w.a.createElement("span",{className:this.question.cssClasses.itemText,"data-text":this.item.text},a))},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this)},l}(Ue);A.Instance.registerElement("sv-rating-item",function(p){return w.a.createElement(jt,p)});var Jo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),jr=function(p){Jo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this;return w.a.createElement("label",{onMouseDown:this.handleOnMouseDown,className:this.question.getItemClass(this.item.itemValue),onMouseOver:function(c){return a.question.onItemMouseIn(a.item)},onMouseOut:function(c){return a.question.onItemMouseOut(a.item)}},w.a.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),w.a.createElement(ge,{className:"sv-star",size:"auto",iconName:this.question.itemStarIcon,title:this.item.text}),w.a.createElement(ge,{className:"sv-star-2",size:"auto",iconName:this.question.itemStarIconAlt,title:this.item.text}))},l}(Ue);A.Instance.registerElement("sv-rating-item-star",function(p){return w.a.createElement(jr,p)});var Go=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ai=function(p){Go(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this;return w.a.createElement("label",{onMouseDown:this.handleOnMouseDown,style:this.question.getItemStyle(this.item.itemValue,this.item.highlight),className:this.question.getItemClass(this.item.itemValue),onMouseOver:function(c){return a.question.onItemMouseIn(a.item)},onMouseOut:function(c){return a.question.onItemMouseOut(a.item)}},w.a.createElement("input",{type:"radio",className:"sv-visuallyhidden",name:this.question.questionName,id:this.question.getInputId(this.index),value:this.item.value,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.value==this.item.value,onClick:this.props.handleOnClick,onChange:function(){},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),w.a.createElement(ge,{size:"auto",iconName:this.question.getItemSmileyIconName(this.item.itemValue),title:this.item.text}))},l}(Ue);A.Instance.registerElement("sv-rating-item-smiley",function(p){return w.a.createElement(Ai,p)});var De=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),fe=function(p){De(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.render=function(){if(!this.item)return null;var a=this.props.item,c=this.renderDescription(a);return w.a.createElement("div",{className:"sd-rating-dropdown-item"},w.a.createElement("span",{className:"sd-rating-dropdown-item_text"},a.title),c)},l.prototype.renderDescription=function(a){return a.description?w.a.createElement("div",{className:"sd-rating-dropdown-item_description"},this.renderLocString(a.description,void 0,"locString")):null},l}($);A.Instance.registerElement("sv-rating-dropdown-item",function(p){return w.a.createElement(fe,p)});var zt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Vn=function(p){zt(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.updateDomElement()},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.updateDomElement()},l.prototype.updateDomElement=function(){if(this.inputElement){var a=this.inputElement,c=this.model.inputStringRendered;C.Helpers.isTwoValueEquals(c,a.value,!1,!0,!1)||(a.value=this.model.inputStringRendered)}},l.prototype.onChange=function(a){var c=C.settings.environment.root;a.target===c.activeElement&&(this.model.inputStringRendered=a.target.value)},l.prototype.keyhandler=function(a){this.model.inputKeyHandler(a)},l.prototype.onBlur=function(a){this.question.onBlur(a)},l.prototype.onFocus=function(a){this.question.onFocus(a)},l.prototype.getStateElement=function(){return this.model},l.prototype.render=function(){var a=this;return h.createElement("div",{className:this.question.cssClasses.hint},this.model.showHintPrefix?h.createElement("div",{className:this.question.cssClasses.hintPrefix},h.createElement("span",null,this.model.hintStringPrefix)):null,h.createElement("div",{className:this.question.cssClasses.hintSuffixWrapper},this.model.showHintString?h.createElement("div",{className:this.question.cssClasses.hintSuffix},h.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},this.model.inputStringRendered),h.createElement("span",null,this.model.hintStringSuffix)):null,h.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),inputMode:this.model.inputMode,ref:function(c){return a.inputElement=c},className:this.question.cssClasses.filterStringInput,disabled:this.question.isInputReadOnly,readOnly:this.model.filterReadOnly?!0:void 0,size:this.model.inputStringRendered?void 0:1,role:this.model.filterStringEnabled?this.question.ariaRole:void 0,"aria-expanded":this.question.ariaExpanded,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-controls":this.model.listElementId,"aria-activedescendant":this.model.ariaActivedescendant,placeholder:this.model.filterStringPlaceholder,onKeyDown:function(c){a.keyhandler(c)},onChange:function(c){a.onChange(c)},onBlur:function(c){a.onBlur(c)},onFocus:function(c){a.onFocus(c)}})))},l}($);Ce.Instance.registerQuestion("sv-tagbox-filter",function(p){return h.createElement(Vn,p)});var pt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Li=function(p){pt(l,p);function l(a){var c=p.call(this,a)||this;return c.state={changed:0},c.setupModel(),c}return l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.setupModel()},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.setupModel()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.item&&(this.item.locText.onChanged=function(){})},l.prototype.setupModel=function(){if(this.item.locText){var a=this;this.item.locText.onChanged=function(){a.setState({changed:a.state.changed+1})}}},l.prototype.getStateElement=function(){return this.item},Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.item},l.prototype.renderElement=function(){return h.createElement("option",{value:this.item.value,disabled:!this.item.isEnabled},this.item.text)},l}(ie),Nr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Xn=function(p){Nr(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.click=function(c){var f;(f=a.question.dropdownListModel)===null||f===void 0||f.onClick(c)},a.chevronPointerDown=function(c){var f;(f=a.question.dropdownListModel)===null||f===void 0||f.chevronPointerDown(c)},a.clear=function(c){var f;(f=a.question.dropdownListModel)===null||f===void 0||f.onClear(c)},a.keyhandler=function(c){var f;(f=a.question.dropdownListModel)===null||f===void 0||f.keyHandler(c)},a.blur=function(c){a.updateInputDomElement(),a.question.onBlur(c)},a.focus=function(c){a.question.onFocus(c)},a}return l.prototype.getStateElement=function(){return this.question.dropdownListModel},l.prototype.setValueCore=function(a){this.questionBase.renderedValue=a},l.prototype.getValueCore=function(){return this.questionBase.renderedValue},l.prototype.renderReadOnlyElement=function(){return h.createElement("div",null,this.question.readOnlyText)},l.prototype.renderSelect=function(a){var c=this,f,g,L=null;if(this.question.isReadOnly){var F=this.question.selectedItemLocText?this.renderLocString(this.question.selectedItemLocText):"";L=h.createElement("div",{id:this.question.inputId,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,tabIndex:this.question.isDisabledAttr?void 0:0,className:this.question.getControlClass(),ref:function(H){return c.setControl(H)}},F,this.renderReadOnlyElement())}else L=h.createElement(h.Fragment,null,this.renderInput(this.question.dropdownListModel),h.createElement(Qe,{model:(g=(f=this.question)===null||f===void 0?void 0:f.dropdownListModel)===null||g===void 0?void 0:g.popupModel}));return h.createElement("div",{className:a.selectWrapper,onClick:this.click},L,this.createChevronButton())},l.prototype.renderValueElement=function(a){return this.question.showInputFieldComponent?A.Instance.createElement(this.question.inputFieldComponentName,{item:a.getSelectedAction(),question:this.question}):this.question.showSelectedItemLocText?this.renderLocString(this.question.selectedItemLocText):null},l.prototype.renderInput=function(a){var c=this,f=this.renderValueElement(a),g=C.settings.environment.root,L=function(F){F.target===g.activeElement&&(a.inputStringRendered=F.target.value)};return h.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:a.noTabIndex?void 0:0,disabled:this.question.isDisabledAttr,required:this.question.isRequired,onKeyDown:this.keyhandler,onBlur:this.blur,onFocus:this.focus,role:this.question.ariaRole,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,"aria-expanded":this.question.ariaExpanded,"aria-controls":a.listElementId,"aria-activedescendant":a.ariaActivedescendant,ref:function(F){return c.setControl(F)}},a.showHintPrefix?h.createElement("div",{className:this.question.cssClasses.hintPrefix},h.createElement("span",null,a.hintStringPrefix)):null,h.createElement("div",{className:this.question.cssClasses.controlValue},a.showHintString?h.createElement("div",{className:this.question.cssClasses.hintSuffix},h.createElement("span",{style:{visibility:"hidden"},"data-bind":"text: model.filterString"},a.inputStringRendered),h.createElement("span",null,a.hintStringSuffix)):null,f,h.createElement("input",{type:"text",autoComplete:"off",id:this.question.getInputId(),ref:function(F){return c.inputElement=F},className:this.question.cssClasses.filterStringInput,role:a.filterStringEnabled?this.question.ariaRole:void 0,"aria-expanded":this.question.ariaExpanded,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-controls":a.listElementId,"aria-activedescendant":a.ariaActivedescendant,placeholder:a.placeholderRendered,readOnly:a.filterReadOnly?!0:void 0,tabIndex:a.noTabIndex?void 0:-1,disabled:this.question.isDisabledAttr,inputMode:a.inputMode,onChange:function(F){L(F)},onBlur:this.blur,onFocus:this.focus})),this.createClearButton())},l.prototype.createClearButton=function(){if(!this.question.allowClear||!this.question.cssClasses.cleanButtonIconId)return null;var a={display:this.question.showClearButton?"":"none"};return h.createElement("div",{className:this.question.cssClasses.cleanButton,style:a,onClick:this.clear,"aria-hidden":"true"},h.createElement(ge,{className:this.question.cssClasses.cleanButtonSvg,iconName:this.question.cssClasses.cleanButtonIconId,title:this.question.clearCaption,size:"auto"}))},l.prototype.createChevronButton=function(){return this.question.cssClasses.chevronButtonIconId?h.createElement("div",{className:this.question.cssClasses.chevronButton,"aria-hidden":"true",onPointerDown:this.chevronPointerDown},h.createElement(ge,{className:this.question.cssClasses.chevronButtonSvg,iconName:this.question.cssClasses.chevronButtonIconId,size:"auto"})):null},l.prototype.renderOther=function(a){return h.createElement("div",{className:this.question.getCommentAreaCss(!0)},h.createElement(ct,{question:this.question,otherCss:a.other,cssClasses:a,isDisplayMode:this.isDisplayMode,isOther:!0}))},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.updateInputDomElement()},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.updateInputDomElement()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.dropdownListModel&&(this.question.dropdownListModel.focused=!1)},l.prototype.updateInputDomElement=function(){if(this.inputElement){var a=this.inputElement,c=this.question.dropdownListModel.inputStringRendered;C.Helpers.isTwoValueEquals(c,a.value,!1,!0,!1)||(a.value=this.question.dropdownListModel.inputStringRendered)}},l}(We),_=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),qr=function(p){_(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.question.isOtherSelected?this.renderOther(a):null,f=this.renderSelect(a);return h.createElement("div",{className:this.question.renderCssRoot},f,c)},l}(Xn);Ce.Instance.registerQuestion("dropdown",function(p){return h.createElement(qr,p)});var Sn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),er=function(p){Sn(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.item&&!!this.question},l.prototype.renderElement=function(){var a=this,c=this.renderLocString(this.item.locText),f=function(g){a.question.dropdownListModel.deselectItem(a.item.value),g.stopPropagation()};return h.createElement("div",{className:"sv-tagbox__item"},h.createElement("div",{className:"sv-tagbox__item-text"},c),h.createElement("div",{className:this.question.cssClasses.cleanItemButton,onClick:f},h.createElement(ge,{className:this.question.cssClasses.cleanItemButtonSvg,iconName:this.question.cssClasses.cleanItemButtonIconId,size:"auto"})))},l}(ie),xt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ut=function(p){xt(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderItem=function(a,c){var f=h.createElement(er,{key:a,question:this.question,item:c});return f},l.prototype.renderInput=function(a){var c=this,f=a,g=this.question.selectedChoices.map(function(L,F){return c.renderItem("item"+F,L)});return h.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),tabIndex:a.noTabIndex?void 0:0,disabled:this.question.isInputReadOnly,required:this.question.isRequired,onKeyDown:this.keyhandler,onBlur:this.blur,role:this.question.ariaRole,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,"aria-expanded":this.question.ariaExpanded,"aria-controls":a.listElementId,"aria-activedescendant":a.ariaActivedescendant,ref:function(L){return c.setControl(L)}},h.createElement("div",{className:this.question.cssClasses.controlValue},g,h.createElement(Vn,{model:f,question:this.question})),this.createClearButton())},l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.question.isOtherSelected?this.renderOther(a):null,f=this.renderSelect(a);return h.createElement("div",{className:this.question.renderCssRoot},f,c)},l.prototype.renderReadOnlyElement=function(){return this.question.locReadOnlyText?this.renderLocString(this.question.locReadOnlyText):null},l}(Xn);Ce.Instance.registerQuestion("tagbox",function(p){return h.createElement(Ut,p)});var Zo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ye=function(p){Zo(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderSelect=function(a){var c=this,f=function(F){c.question.onClick(F)},g=function(F){c.question.onKeyUp(F)},L=this.isDisplayMode?h.createElement("div",{id:this.question.inputId,className:this.question.getControlClass(),disabled:!0},this.question.readOnlyText):h.createElement("select",{id:this.question.inputId,className:this.question.getControlClass(),ref:function(F){return c.setControl(F)},autoComplete:this.question.autocomplete,onChange:this.updateValueOnEvent,onInput:this.updateValueOnEvent,onClick:f,onKeyUp:g,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,required:this.question.isRequired},this.question.allowClear?h.createElement("option",{value:""},this.question.placeholder):null,this.question.visibleChoices.map(function(F,H){return h.createElement(Li,{key:"item"+H,item:F})}));return h.createElement("div",{className:a.selectWrapper},L,this.createChevronButton())},l}(qr);Ce.Instance.registerQuestion("sv-dropdown-select",function(p){return h.createElement(Ye,p)}),C.RendererFactory.Instance.registerRenderer("dropdown","select","sv-dropdown-select");var _r=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),on=function(p){_r(l,p);function l(a){var c=p.call(this,a)||this;return c.state={rowsChanged:0},c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){if(p.prototype.componentDidMount.call(this),this.question){var a=this;this.question.visibleRowsChangedCallback=function(){a.setState({rowsChanged:a.state.rowsChanged+1})}}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question&&(this.question.visibleRowsChangedCallback=null)},l.prototype.renderElement=function(){for(var a=this,c=this.question.cssClasses,f=this.question.hasRows?h.createElement("td",null):null,g=[],L=0;L<this.question.visibleColumns.length;L++){var F=this.question.visibleColumns[L],H="column"+L,ye=this.renderLocString(F.locText),ae={};this.question.columnMinWidth&&(ae.minWidth=this.question.columnMinWidth,ae.width=this.question.columnMinWidth),g.push(h.createElement("th",{className:this.question.cssClasses.headerCell,style:ae,key:H},this.wrapCell({column:F},ye,"column-header")))}for(var Ve=[],yt=this.question.visibleRows,L=0;L<yt.length;L++){var Ze=yt[L],H="row-"+Ze.name+"-"+L;Ve.push(h.createElement(Mi,{key:H,question:this.question,cssClasses:c,row:Ze,isFirst:L==0}))}var cn=this.question.showHeader?h.createElement("thead",null,h.createElement("tr",null,f,g)):null;return h.createElement("div",{className:c.tableWrapper,ref:function(qt){return a.setControl(qt)}},h.createElement("fieldset",null,h.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),h.createElement("table",{className:this.question.getTableCss()},cn,h.createElement("tbody",null,Ve))))},l}(ce),Mi=function(p){_r(l,p);function l(a){return p.call(this,a)||this}return l.prototype.getStateElement=function(){return this.row?this.row.item:p.prototype.getStateElement.call(this)},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),l.prototype.wrapCell=function(a,c,f){if(!f)return c;var g=this.question.survey,L=null;return g&&(L=k.wrapMatrixCell(g,c,a,f)),L??c},l.prototype.canRender=function(){return!!this.row},l.prototype.renderElement=function(){var a=null;if(this.question.hasRows){var c=this.renderLocString(this.row.locText),f={};this.question.rowTitleWidth&&(f.minWidth=this.question.rowTitleWidth,f.width=this.question.rowTitleWidth),a=h.createElement("td",{style:f,className:this.row.rowTextClasses},this.wrapCell({row:this.row},c,"row-header"))}var g=this.generateTds();return h.createElement("tr",{className:this.row.rowClasses||void 0},a,g)},l.prototype.generateTds=function(){for(var a=this,c=[],f=this.row,g=this.question.cellComponent,L=function(){var ye=null,ae=F.question.visibleColumns[H],Ve="value"+H,yt=F.question.getItemClass(f,ae);if(F.question.hasCellText){var Ze=function(qt){return function(){return a.cellClick(f,qt)}};ye=h.createElement("td",{key:Ve,className:yt,onClick:Ze?Ze(ae):function(){}},F.renderLocString(F.question.getCellDisplayLocText(f.name,ae)))}else{var cn=A.Instance.createElement(g,{question:F.question,row:F.row,column:ae,columnIndex:H,cssClasses:F.cssClasses,cellChanged:function(){a.cellClick(a.row,ae)}});ye=h.createElement("td",{key:Ve,"data-responsive-title":ae.locText.renderedHtml,className:F.question.cssClasses.cell},cn)}c.push(ye)},F=this,H=0;H<this.question.visibleColumns.length;H++)L();return c},l.prototype.cellClick=function(a,c){a.value=c.value,this.setState({value:this.row.value})},l}(ie),Ge=function(p){_r(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnMouseDown=c.handleOnMouseDown.bind(c),c.handleOnChange=c.handleOnChange.bind(c),c}return l.prototype.handleOnChange=function(a){this.props.cellChanged&&this.props.cellChanged()},l.prototype.handleOnMouseDown=function(a){this.question.onMouseDown()},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.row},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"columnIndex",{get:function(){return this.props.columnIndex},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return!!this.question&&!!this.row},l.prototype.renderElement=function(){var a=this.row.value==this.column.value,c=this.question.inputId+"_"+this.row.name+"_"+this.columnIndex,f=this.question.getItemClass(this.row,this.column),g=this.question.isMobile?h.createElement("span",{className:this.question.cssClasses.cellResponsiveTitle},this.renderLocString(this.column.locText)):void 0;return h.createElement("label",{onMouseDown:this.handleOnMouseDown,className:f},this.renderInput(c,a),h.createElement("span",{className:this.question.cssClasses.materialDecorator},this.question.itemSvgIcon?h.createElement("svg",{className:this.cssClasses.itemDecorator},h.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null),g)},l.prototype.renderInput=function(a,c){return h.createElement("input",{id:a,type:"radio",className:this.cssClasses.itemValue,name:this.row.fullName,value:this.column.value,disabled:this.row.isDisabledAttr,readOnly:this.row.isReadOnlyAttr,checked:c,onChange:this.handleOnChange,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.getCellAriaLabel(this.row.locText.renderedHtml,this.column.locText.renderedHtml),"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage})},l}(ie);A.Instance.registerElement("survey-matrix-cell",function(p){return h.createElement(Ge,p)}),Ce.Instance.registerQuestion("matrix",function(p){return h.createElement(on,p)});var On=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ji=function(p){On(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){this.reactOnStrChanged()},l.prototype.componentWillUnmount=function(){this.question.locHtml.onChanged=function(){}},l.prototype.componentDidUpdate=function(a,c){this.reactOnStrChanged()},l.prototype.reactOnStrChanged=function(){var a=this;this.question.locHtml.onChanged=function(){a.setState({changed:a.state&&a.state.changed?a.state.changed+1:1})}},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&!!this.question.html},l.prototype.renderElement=function(){var a={__html:this.question.locHtml.renderedHtml};return h.createElement("div",{className:this.question.renderCssRoot,dangerouslySetInnerHTML:a})},l}(ce);Ce.Instance.registerQuestion("html",function(p){return h.createElement(ji,p)});var Ni=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Pe=function(p){Ni(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){return h.createElement("div",{className:"sd-loading-indicator"},h.createElement(ge,{iconName:"icon-loading",size:"auto"}))},l}(h.Component),Ko=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Br=function(p){Ko(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a=this;return xn(w.a.createElement("label",{tabIndex:0,className:this.question.getChooseFileCss(),htmlFor:this.question.inputId,"aria-label":this.question.chooseButtonText,onClick:function(c){return a.question.chooseFile(c.nativeEvent)}},this.question.cssClasses.chooseFileIconId?w.a.createElement(ge,{title:this.question.chooseButtonText,iconName:this.question.cssClasses.chooseFileIconId,size:"auto"}):null,w.a.createElement("span",null,this.question.chooseButtonText)))},l}(ie);A.Instance.registerElement("sv-file-choose-btn",function(p){return w.a.createElement(Br,p)});var Fr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),tr=function(p){Fr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.allowShowPreview?this.renderPreview():null,f=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,g=this.question.isPlayingVideo?this.renderVideo():null,L=this.question.showFileDecorator?this.renderFileDecorator():null,F=this.question.showRemoveButton?this.renderClearButton(this.question.cssClasses.removeButton):null,H=this.question.showRemoveButtonBottom?this.renderClearButton(this.question.cssClasses.removeButtonBottom):null,ye=this.question.fileNavigatorVisible?h.createElement(Re,{model:this.question.fileNavigator}):null,ae;return this.question.isReadOnlyAttr?ae=h.createElement("input",{readOnly:!0,type:"file",className:this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,id:this.question.inputId,ref:function(Ve){return a.setControl(Ve)},style:this.isDisplayMode?{color:"transparent"}:{},multiple:this.question.allowMultiple,placeholder:this.question.title,accept:this.question.acceptedTypes}):this.question.isDisabledAttr?ae=h.createElement("input",{disabled:!0,type:"file",className:this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,id:this.question.inputId,ref:function(Ve){return a.setControl(Ve)},style:this.isDisplayMode?{color:"transparent"}:{},multiple:this.question.allowMultiple,placeholder:this.question.title,accept:this.question.acceptedTypes}):this.question.hasFileUI?ae=h.createElement("input",{type:"file",disabled:this.isDisplayMode,tabIndex:-1,className:this.isDisplayMode?this.question.getReadOnlyFileCss():this.question.cssClasses.fileInput,id:this.question.inputId,ref:function(Ve){return a.setControl(Ve)},style:this.isDisplayMode?{color:"transparent"}:{},"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage,multiple:this.question.allowMultiple,title:this.question.inputTitle,accept:this.question.acceptedTypes,capture:this.question.renderCapture}):ae=null,h.createElement("div",{className:this.question.fileRootCss,ref:function(Ve){return a.setContent(Ve)}},ae,h.createElement("div",{className:this.question.cssClasses.dragArea,onDrop:this.question.onDrop,onDragOver:this.question.onDragOver,onDragLeave:this.question.onDragLeave,onDragEnter:this.question.onDragEnter},L,f,g,F,c,H,ye))},l.prototype.renderFileDecorator=function(){var a=this.question.showChooseButton?this.renderChooseButton():null,c=this.question.actionsContainerVisible?h.createElement(Re,{model:this.question.actionsContainer}):null,f=this.question.isEmpty()?h.createElement("span",{className:this.question.cssClasses.noFileChosen},this.question.noFileChosenCaption):null;return h.createElement("div",{className:this.question.getFileDecoratorCss()},h.createElement("span",{className:this.question.cssClasses.dragAreaPlaceholder},this.renderLocString(this.question.locRenderedPlaceholder)),h.createElement("div",{className:this.question.cssClasses.wrapper},a,c,f))},l.prototype.renderChooseButton=function(){return h.createElement(Br,{data:{question:this.question}})},l.prototype.renderClearButton=function(a){return this.question.isUploading?null:h.createElement("button",{type:"button",onClick:this.question.doClean,className:a},h.createElement("span",null,this.question.clearButtonCaption),this.question.cssClasses.removeButtonIconId?h.createElement(ge,{iconName:this.question.cssClasses.removeButtonIconId,size:"auto",title:this.question.clearButtonCaption}):null)},l.prototype.renderPreview=function(){return A.Instance.createElement("sv-file-preview",{question:this.question})},l.prototype.renderLoadingIndicator=function(){return h.createElement("div",{className:this.question.cssClasses.loadingIndicator},h.createElement(Pe,null))},l.prototype.renderVideo=function(){return h.createElement("div",{className:this.question.cssClasses.videoContainer},h.createElement($e,{item:this.question.changeCameraAction}),h.createElement($e,{item:this.question.closeCameraAction}),h.createElement("video",{autoPlay:!0,playsInline:!0,id:this.question.videoId,className:this.question.cssClasses.video}),h.createElement($e,{item:this.question.takePictureAction}))},l}(ce);Ce.Instance.registerQuestion("file",function(p){return h.createElement(tr,p)});var qi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),En=function(p){qi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.renderFileSign=function(a,c){var f=this;return!a||!c.name?null:w.a.createElement("div",{className:a},w.a.createElement("a",{href:c.content,onClick:function(g){f.question.doDownloadFile(g,c)},title:c.name,download:c.name,style:{width:this.question.imageWidth}},c.name))},l.prototype.renderElement=function(){var a=this,c=this.item;return w.a.createElement("span",{className:this.question.cssClasses.previewItem,onClick:function(f){return a.question.doDownloadFileFromContainer(f)}},this.renderFileSign(this.question.cssClasses.fileSign,c),w.a.createElement("div",{className:this.question.getImageWrapperCss(c)},this.question.canPreviewImage(c)?w.a.createElement("img",{src:c.content,style:{height:this.question.imageHeight,width:this.question.imageWidth},alt:"File preview"}):this.question.cssClasses.defaultImage?w.a.createElement(ge,{iconName:this.question.cssClasses.defaultImageIconId,size:"auto",className:this.question.cssClasses.defaultImage}):null,c.name&&!this.question.isReadOnly?w.a.createElement("div",{className:this.question.getRemoveButtonCss(),onClick:function(f){return a.question.doRemoveFile(c,f)}},w.a.createElement("span",{className:this.question.cssClasses.removeFile},this.question.removeFileCaption),this.question.cssClasses.removeFileSvgIconId?w.a.createElement(ge,{title:this.question.removeFileCaption,iconName:this.question.cssClasses.removeFileSvgIconId,size:"auto",className:this.question.cssClasses.removeFileSvg}):null):null),this.renderFileSign(this.question.cssClasses.fileSignBottom,c))},l.prototype.canRender=function(){return this.question.showPreviewContainer},l}($),xe=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Yo=function(p){xe(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"page",{get:function(){return this.props.page},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.page.items.map(function(f,g){return w.a.createElement(En,{item:f,question:a.question,key:g})});return w.a.createElement("div",{className:this.page.css,id:this.page.id},c)},l}($),Xo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Tn=function(p){Xo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.renderFileSign=function(a,c){var f=this;return!a||!c.name?null:w.a.createElement("div",{className:a},w.a.createElement("a",{href:c.content,onClick:function(g){f.question.doDownloadFile(g,c)},title:c.name,download:c.name,style:{width:this.question.imageWidth}},c.name))},l.prototype.renderElement=function(){var a=this,c=this.question.supportFileNavigator?this.question.renderedPages.map(function(f,g){return w.a.createElement(Yo,{page:f,question:a.question,key:f.id})}):this.question.previewValue.map(function(f,g){return w.a.createElement(En,{item:f,question:a.question,key:g})});return w.a.createElement("div",{className:this.question.cssClasses.fileList||void 0},c)},l.prototype.canRender=function(){return this.question.showPreviewContainer},l}($);A.Instance.registerElement("sv-file-preview",function(p){return w.a.createElement(Tn,p)});var kr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),sn=function(p){kr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){for(var a=this.question.cssClasses,c=this.question.getRows(),f=[],g=0;g<c.length;g++)c[g].isVisible&&f.push(this.renderRow(g,c[g].cells,a));return h.createElement("table",{className:this.question.getQuestionRootCss()},h.createElement("tbody",null,f))},l.prototype.renderCell=function(a,c,f){var g,L=function(){a.item.focusIn()};return a.isErrorsCell?g=h.createElement(wi,{question:a.item.editor,creator:this.creator}):g=h.createElement(Qr,{question:this.question,item:a.item,creator:this.creator,cssClasses:c}),h.createElement("td",{key:"item"+f,className:a.className,onFocus:L},g)},l.prototype.renderRow=function(a,c,f){for(var g="item"+a,L=[],F=0;F<c.length;F++){var H=c[F];L.push(this.renderCell(H,f,F))}return h.createElement("tr",{key:g,className:f.row},L)},l}(ce),Qr=function(p){kr(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElements=function(){return[this.item,this.item.editor]},Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this.item,c=this.cssClasses,f={};return this.question.itemTitleWidth&&(f.minWidth=this.question.itemTitleWidth,f.width=this.question.itemTitleWidth),h.createElement("label",{className:this.question.getItemLabelCss(a)},h.createElement("span",{className:c.itemTitle,style:f},h.createElement(he,{element:a.editor,cssClasses:a.editor.cssClasses})),h.createElement(_i,{cssClasses:c,itemCss:this.question.getItemCss(),question:a.editor,creator:this.creator}))},l}(ie),_i=function(p){kr(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.renderElement=function(){return h.createElement("div",{className:this.itemCss},this.renderContent())},l}(bi);Ce.Instance.registerQuestion("multipletext",function(p){return h.createElement(sn,p)});var nr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Rn=function(p){nr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses,f=null;return this.question.showClearButtonInContent&&(f=h.createElement("div",null,h.createElement("input",{type:"button",className:this.question.cssClasses.clearButton,onClick:function(){return a.question.clearValue(!0)},value:this.question.clearButtonCaption}))),h.createElement("fieldset",{className:this.question.getSelectBaseRootCss(),ref:function(g){return a.setControl(g)},role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage},this.question.hasColumns?this.getColumnedBody(c):this.getBody(c),this.getFooter(),this.question.isOtherSelected?this.renderOther(c):null,f)},l.prototype.getFooter=function(){var a=this;if(this.question.hasFootItems)return this.question.footItems.map(function(c,f){return a.renderItem(c,!1,a.question.cssClasses)})},l.prototype.getColumnedBody=function(a){return h.createElement("div",{className:a.rootMultiColumn},this.getColumns(a))},l.prototype.getColumns=function(a){var c=this,f=this.getStateValue();return this.question.columns.map(function(g,L){var F=g.map(function(H,ye){return c.renderItem(H,f,a,""+L+ye)});return h.createElement("div",{key:"column"+L+c.question.getItemsColumnKey(g),className:c.question.getColumnClass(),role:"presentation"},F)})},l.prototype.getBody=function(a){return this.question.blockedRow?h.createElement("div",{className:a.rootRow},this.getItems(a,this.question.dataChoices)):h.createElement(h.Fragment,null,this.getItems(a,this.question.bodyItems))},l.prototype.getItems=function(a,c){for(var f=[],g=this.getStateValue(),L=0;L<c.length;L++){var F=c[L],H=this.renderItem(F,g,a,""+L);f.push(H)}return f},Object.defineProperty(l.prototype,"textStyle",{get:function(){return null},enumerable:!1,configurable:!0}),l.prototype.renderOther=function(a){return h.createElement("div",{className:this.question.getCommentAreaCss(!0)},h.createElement(ct,{question:this.question,otherCss:a.other,cssClasses:a,isDisplayMode:this.isDisplayMode}))},l.prototype.renderItem=function(a,c,f,g){var L=A.Instance.createElement(this.question.itemComponent,{key:a.value,question:this.question,cssClasses:f,isDisplayMode:this.isDisplayMode,item:a,textStyle:this.textStyle,index:g,isChecked:c===a.value}),F=this.question.survey,H=null;return F&&(H=k.wrapItemValue(F,L,this.question,a)),H??L},l.prototype.getStateValue=function(){return this.question.isEmpty()?"":this.question.renderedValue},l}(ce),In=function(p){nr(l,p);function l(a){var c=p.call(this,a)||this;return c.rootRef=h.createRef(),c.handleOnChange=c.handleOnChange.bind(c),c.handleOnMouseDown=c.handleOnMouseDown.bind(c),c}return l.prototype.getStateElement=function(){return this.item},Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"textStyle",{get:function(){return this.props.textStyle},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isChecked",{get:function(){return this.props.isChecked},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"hideCaption",{get:function(){return this.props.hideCaption===!0},enumerable:!1,configurable:!0}),l.prototype.shouldComponentUpdate=function(a,c){return!p.prototype.shouldComponentUpdate.call(this,a,c)||!this.question?!1:!this.question.customWidget||!!this.question.customWidgetData.isNeedRender||!!this.question.customWidget.widgetJson.isDefaultRender||!!this.question.customWidget.widgetJson.render},l.prototype.handleOnChange=function(a){this.question.clickItemHandler(this.item)},l.prototype.handleOnMouseDown=function(a){this.question.onMouseDown()},l.prototype.canRender=function(){return!!this.question&&!!this.item},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),a.item!==this.props.item&&!this.question.isDesignMode&&(this.props.item&&this.props.item.setRootElement(this.rootRef.current),a.item&&a.item.setRootElement(void 0))},l.prototype.renderElement=function(){var a=this.question.getItemClass(this.item),c=this.question.getLabelClass(this.item),f=this.question.getControlLabelClass(this.item),g=this.hideCaption?null:h.createElement("span",{className:f},this.renderLocString(this.item.locText,this.textStyle));return h.createElement("div",{className:a,role:"presentation",ref:this.rootRef},h.createElement("label",{onMouseDown:this.handleOnMouseDown,className:c},h.createElement("input",{"aria-errormessage":this.question.ariaErrormessage,className:this.cssClasses.itemControl,id:this.question.getItemId(this.item),type:"radio",name:this.question.questionName,checked:this.isChecked,value:this.item.value,disabled:!this.question.getItemEnabled(this.item),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange}),this.cssClasses.materialDecorator?h.createElement("span",{className:this.cssClasses.materialDecorator},this.question.itemSvgIcon?h.createElement("svg",{className:this.cssClasses.itemDecorator},h.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,g))},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.question.isDesignMode||this.item.setRootElement(this.rootRef.current)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.isDesignMode||this.item.setRootElement(void 0)},l}(ie);A.Instance.registerElement("survey-radiogroup-item",function(p){return h.createElement(In,p)}),Ce.Instance.registerQuestion("radiogroup",function(p){return h.createElement(Rn,p)});var Nt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),rr=function(p){Nt(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderInput=function(){var a=this,c=this.question.getControlClass(),f=this.question.renderedPlaceholder;if(this.question.isReadOnlyRenderDiv())return h.createElement("div",null,this.question.inputValue);var g=this.question.getMaxLength()?h.createElement(Ot,{counter:this.question.characterCounter,remainingCharacterCounter:this.question.cssClasses.remainingCharacterCounter}):null;return h.createElement(h.Fragment,null,h.createElement("input",{id:this.question.inputId,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:c,type:this.question.inputType,ref:function(L){return a.setControl(L)},style:this.question.inputStyle,maxLength:this.question.getMaxLength(),min:this.question.renderedMin,max:this.question.renderedMax,step:this.question.renderedStep,size:this.question.inputSize,placeholder:f,list:this.question.dataListId,autoComplete:this.question.autocomplete,onBlur:function(L){a.question.onBlur(L)},onFocus:function(L){a.question.onFocus(L)},onChange:this.question.onChange,onKeyUp:this.question.onKeyUp,onKeyDown:this.question.onKeyDown,onCompositionUpdate:function(L){return a.question.onCompositionUpdate(L.nativeEvent)},"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),g)},l.prototype.renderElement=function(){return this.question.dataListId?h.createElement("div",null,this.renderInput(),this.renderDataList()):this.renderInput()},l.prototype.setValueCore=function(a){this.question.inputValue=a},l.prototype.getValueCore=function(){return this.question.inputValue},l.prototype.renderDataList=function(){if(!this.question.dataListId)return null;var a=this.question.dataList;if(a.length==0)return null;for(var c=[],f=0;f<a.length;f++)c.push(h.createElement("option",{key:"item"+f,value:a[f]}));return h.createElement("datalist",{id:this.question.dataListId},c)},l}(We);Ce.Instance.registerQuestion("text",function(p){return h.createElement(rr,p)});var Bi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),rt=function(p){Bi(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnChange=c.handleOnChange.bind(c),c.handleOnClick=c.handleOnClick.bind(c),c.handleOnLabelClick=c.handleOnLabelClick.bind(c),c.handleOnSwitchClick=c.handleOnSwitchClick.bind(c),c.handleOnKeyDown=c.handleOnKeyDown.bind(c),c.checkRef=h.createRef(),c}return l.prototype.getStateElement=function(){return this.question},Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.doCheck=function(a){this.question.booleanValue=a},l.prototype.handleOnChange=function(a){this.doCheck(a.target.checked)},l.prototype.handleOnClick=function(a){this.question.onLabelClick(a,!0)},l.prototype.handleOnSwitchClick=function(a){this.question.onSwitchClickModel(a.nativeEvent)},l.prototype.handleOnLabelClick=function(a,c){this.question.onLabelClick(a,c)},l.prototype.handleOnKeyDown=function(a){this.question.onKeyDownCore(a)},l.prototype.updateDomElement=function(){if(this.question){var a=this.checkRef.current;a&&(a.indeterminate=this.question.isIndeterminate),this.setControl(a),p.prototype.updateDomElement.call(this)}},l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses,f=this.question.getItemCss();return h.createElement("div",{className:c.root,onKeyDown:this.handleOnKeyDown},h.createElement("label",{className:f,onClick:this.handleOnClick},h.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:this.question.booleanValue===null?"":this.question.booleanValue,id:this.question.inputId,className:c.control,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,role:this.question.a11y_input_ariaRole,"aria-required":this.question.a11y_input_ariaRequired,"aria-label":this.question.a11y_input_ariaLabel,"aria-labelledby":this.question.a11y_input_ariaLabelledBy,"aria-describedby":this.question.a11y_input_ariaDescribedBy,"aria-invalid":this.question.a11y_input_ariaInvalid,"aria-errormessage":this.question.a11y_input_ariaErrormessage}),h.createElement("div",{className:c.sliderGhost,onClick:function(g){return a.handleOnLabelClick(g,a.question.swapOrder)}},h.createElement("span",{className:this.question.getLabelCss(this.question.swapOrder)},this.renderLocString(this.question.locLabelLeft))),h.createElement("div",{className:c.switch,onClick:this.handleOnSwitchClick},h.createElement("span",{className:c.slider},this.question.isDeterminated&&c.sliderText?h.createElement("span",{className:c.sliderText},this.renderLocString(this.question.getCheckedLabel())):null)),h.createElement("div",{className:c.sliderGhost,onClick:function(g){return a.handleOnLabelClick(g,!a.question.swapOrder)}},h.createElement("span",{className:this.question.getLabelCss(!this.question.swapOrder)},this.renderLocString(this.question.locLabelRight)))))},l}(ce);Ce.Instance.registerQuestion("boolean",function(p){return h.createElement(rt,p)});var ir=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),or=function(p){ir(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.question.getCheckboxItemCss(),f=this.question.canRenderLabelDescription?$.renderQuestionDescription(this.question):null;return h.createElement("div",{className:a.rootCheckbox},h.createElement("div",{className:c},h.createElement("label",{className:a.checkboxLabel},h.createElement("input",{ref:this.checkRef,type:"checkbox",name:this.question.name,value:this.question.booleanValue===null?"":this.question.booleanValue,id:this.question.inputId,className:a.controlCheckbox,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,checked:this.question.booleanValue||!1,onChange:this.handleOnChange,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),h.createElement("span",{className:a.checkboxMaterialDecorator},this.question.svgIcon?h.createElement("svg",{className:a.checkboxItemDecorator},h.createElement("use",{xlinkHref:this.question.svgIcon})):null,h.createElement("span",{className:"check"})),this.question.isLabelRendered&&h.createElement("span",{className:a.checkboxControlLabel,id:this.question.labelRenderedAriaID},h.createElement(Je,{element:this.question,cssClasses:this.question.cssClasses}))),f))},l}(rt);Ce.Instance.registerQuestion("sv-boolean-checkbox",function(p){return h.createElement(or,p)}),C.RendererFactory.Instance.registerRenderer("boolean","checkbox","sv-boolean-checkbox");var _e=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Fi=function(p){_e(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnChange=function(f){c.question.booleanValue=f.nativeEvent.target.value=="true"},c}return l.prototype.renderRadioItem=function(a,c){var f=this.question.cssClasses;return h.createElement("div",{role:"presentation",className:this.question.getRadioItemClass(f,a)},h.createElement("label",{className:f.radioLabel},h.createElement("input",{type:"radio",name:this.question.name,value:a,"aria-errormessage":this.question.ariaErrormessage,checked:a===this.question.booleanValueRendered,disabled:this.question.isDisabledAttr,readOnly:this.question.isReadOnlyAttr,className:f.itemRadioControl,onChange:this.handleOnChange}),this.question.cssClasses.materialRadioDecorator?h.createElement("span",{className:f.materialRadioDecorator},this.question.itemSvgIcon?h.createElement("svg",{className:f.itemRadioDecorator},h.createElement("use",{xlinkHref:this.question.itemSvgIcon})):null):null,h.createElement("span",{className:f.radioControlLabel},this.renderLocString(c))))},l.prototype.renderElement=function(){var a=this.question.cssClasses;return h.createElement("div",{className:a.rootRadio},h.createElement("fieldset",{role:"presentation",className:a.radioFieldset},this.question.swapOrder?h.createElement(h.Fragment,null,this.renderRadioItem(!0,this.question.locLabelTrue),this.renderRadioItem(!1,this.question.locLabelFalse)):h.createElement(h.Fragment,null,this.renderRadioItem(!1,this.question.locLabelFalse),this.renderRadioItem(!0,this.question.locLabelTrue))))},l}(rt);Ce.Instance.registerQuestion("sv-boolean-radio",function(p){return h.createElement(Fi,p)}),C.RendererFactory.Instance.registerRenderer("boolean","radio","sv-boolean-radio");var gt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Hr=function(p){gt(l,p);function l(a){var c=p.call(this,a)||this;return c.state={value:c.question.value},c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){return h.createElement("div",null)},l}(ce);Ce.Instance.registerQuestion("empty",function(p){return h.createElement(Hr,p)});var ki=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Wt=function(p){ki(l,p);function l(a){var c=p.call(this,a)||this;return c.root=w.a.createRef(),c.onPointerDownHandler=function(f){c.parentMatrix.onPointerDown(f.nativeEvent,c.model.row)},c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"parentMatrix",{get:function(){return this.props.parentMatrix},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.root.current&&this.model.setRootElement(this.root.current)},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.model.setRootElement(void 0)},l.prototype.shouldComponentUpdate=function(a,c){return p.prototype.shouldComponentUpdate.call(this,a,c)?(a.model!==this.model&&(a.element&&a.element.setRootElement(this.root.current),this.model&&this.model.setRootElement(void 0)),!0):!1},l.prototype.render=function(){var a=this,c=this.model;return c.visible?w.a.createElement("tr",{ref:this.root,className:c.className,"data-sv-drop-target-matrix-row":c.row&&c.row.id,onPointerDown:function(f){return a.onPointerDownHandler(f)}},this.props.children):null},l}($);A.Instance.registerElement("sv-matrix-row",function(p){return w.a.createElement(Wt,p)});var Dn=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),sr=function(p){Dn(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){return w.a.createElement("div",null,this.renderIcon())},l.prototype.renderIcon=function(){return this.question.iconDragElement?w.a.createElement("svg",{className:this.question.cssClasses.dragElementDecorator},w.a.createElement("use",{xlinkHref:this.question.iconDragElement})):w.a.createElement("span",{className:this.question.cssClasses.iconDrag})},l}(ie);A.Instance.registerElement("sv-matrix-drag-drop-icon",function(p){return w.a.createElement(sr,p)});var an=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),An=function(p){an(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"creator",{get:function(){return this.props.creator},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"table",{get:function(){return this.question.renderedTable},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.table},l.prototype.wrapCell=function(a,c,f){return this.props.wrapCell(a,c,f)},l.prototype.renderHeader=function(){var a=this.question.renderedTable;if(!a.showHeader)return null;for(var c=[],f=a.headerRow.cells,g=0;g<f.length;g++){var L=f[g],F="column"+g,H={};L.width&&(H.width=L.width),L.minWidth&&(H.minWidth=L.minWidth);var ye=this.renderCellContent(L,"column-header",{}),ae=L.hasTitle?h.createElement("th",{className:L.className,key:F,style:H}," ",ye," "):h.createElement("td",{className:L.className,key:F,style:H});c.push(ae)}return h.createElement("thead",null,h.createElement("tr",null,c))},l.prototype.renderFooter=function(){var a=this.question.renderedTable;if(!a.showFooter)return null;var c=this.renderRow("footer",a.footerRow,this.question.cssClasses,"row-footer");return h.createElement("tfoot",null,c)},l.prototype.renderRows=function(){for(var a=this.question.cssClasses,c=[],f=this.question.renderedTable.renderedRows,g=0;g<f.length;g++)c.push(this.renderRow(f[g].id,f[g],a));return h.createElement("tbody",null,c)},l.prototype.renderRow=function(a,c,f,g){for(var L=[],F=c.cells,H=0;H<F.length;H++)L.push(this.renderCell(F[H],f,g));var ye="row"+a;return h.createElement(h.Fragment,{key:ye},g=="row-footer"?h.createElement("tr",null,L):h.createElement(Wt,{model:c,parentMatrix:this.question},L))},l.prototype.renderCell=function(a,c,f){var g="cell"+a.id;if(a.hasQuestion)return h.createElement(Qi,{key:g,cssClasses:c,cell:a,creator:this.creator,reason:f});if(a.isErrorsCell&&a.isErrorsCell)return h.createElement(ar,{cell:a,key:g,keyValue:g,question:a.question,creator:this.creator});var L=f;L||(L=a.hasTitle?"row-header":"");var F=this.renderCellContent(a,L,c),H=null;return(a.width||a.minWidth)&&(H={},a.width&&(H.width=a.width),a.minWidth&&(H.minWidth=a.minWidth)),h.createElement("td",{className:a.className,key:g,style:H,colSpan:a.colSpans,title:a.getTitle()},F)},l.prototype.renderCellContent=function(a,c,f){var g=null,L=null;if((a.width||a.minWidth)&&(L={},a.width&&(L.width=a.width),a.minWidth&&(L.minWidth=a.minWidth)),a.hasTitle){c="row-header";var F=this.renderLocString(a.locTitle),H=a.column?h.createElement(lr,{column:a.column,question:this.question}):null;g=h.createElement(h.Fragment,null,F,H)}if(a.isDragHandlerCell&&(g=h.createElement(h.Fragment,null,h.createElement(sr,{item:{data:{row:a.row,question:this.question}}}))),a.isActionsCell&&(g=A.Instance.createElement("sv-matrixdynamic-actions-cell",{question:this.question,cssClasses:f,cell:a,model:a.item.getData()})),a.hasPanel&&(g=h.createElement(ze,{key:a.panel.id,element:a.panel,survey:this.question.survey,cssClasses:f,isDisplayMode:this.isDisplayMode,creator:this.creator})),!g)return null;var ye=h.createElement(h.Fragment,null,g);return this.wrapCell(a,ye,c)},l.prototype.renderElement=function(){var a=this.renderHeader(),c=this.renderFooter(),f=this.renderRows();return h.createElement("table",{className:this.question.getTableCss()},a,f,c)},l}($),Ln=function(p){an(l,p);function l(a){var c=p.call(this,a)||this;return c.question.renderedTable,c.state=c.getState(),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.getState=function(a){return a===void 0&&(a=null),{rowCounter:a?a.rowCounter+1:0}},l.prototype.updateStateOnCallback=function(){this.isRendering||this.setState(this.getState(this.state))},l.prototype.componentDidMount=function(){var a=this;p.prototype.componentDidMount.call(this),this.question.onRenderedTableResetCallback=function(){a.updateStateOnCallback()}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.onRenderedTableResetCallback=function(){}},l.prototype.renderElement=function(){return this.renderTableDiv()},l.prototype.renderTableDiv=function(){var a=this,c=this.question.showHorizontalScroll?{overflowX:"scroll"}:{};return h.createElement("div",{style:c,className:this.question.cssClasses.tableWrapper,ref:function(f){return a.setControl(f)}},h.createElement(An,{question:this.question,creator:this.creator,wrapCell:function(f,g,L){return a.wrapCell(f,g,L)}}))},l}(ce),es=function(p){an(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){return h.createElement(Re,{model:this.model,handleClick:!1})},l}(ie),ar=function(p){an(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"key",{get:function(){return this.props.keyValue},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),l.prototype.render=function(){return this.cell.isVisible?h.createElement("td",{className:this.cell.className,key:this.key,colSpan:this.cell.colSpans,title:this.cell.getTitle()},p.prototype.render.call(this)):null},l.prototype.getQuestionPropertiesToTrack=function(){return p.prototype.getQuestionPropertiesToTrack.call(this).concat(["visible"])},l}(wi);A.Instance.registerElement("sv-matrixdynamic-actions-cell",function(p){return h.createElement(es,p)});var lr=function(p){an(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"column",{get:function(){return this.props.column},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.column},l.prototype.renderElement=function(){return this.column.isRenderedRequired?h.createElement(h.Fragment,null,h.createElement("span",null," "),h.createElement("span",{className:this.question.cssClasses.cellRequiredText},this.column.requiredText)):null},l}(ie),Qi=function(p){an(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"cell",{get:function(){return this.props.cell},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"itemCss",{get:function(){return this.cell?this.cell.className:""},enumerable:!1,configurable:!0}),l.prototype.getQuestion=function(){var a=p.prototype.getQuestion.call(this);return a||(this.cell?this.cell.question:null)},l.prototype.doAfterRender=function(){var a=this.cellRef.current;if(a&&this.cell&&this.question&&this.question.survey&&a.getAttribute("data-rendered")!=="r"){a.setAttribute("data-rendered","r");var c={cell:this.cell,cellQuestion:this.question,htmlElement:a,row:this.cell.row,column:this.cell.cell.column};this.question.survey.matrixAfterCellRender(this.question,c),this.question.afterRenderCore(a)}},l.prototype.getShowErrors=function(){return this.question.isVisible&&(!this.cell.isChoice||this.cell.isFirstChoice)},l.prototype.getCellStyle=function(){var a=p.prototype.getCellStyle.call(this);return(this.cell.width||this.cell.minWidth)&&(a||(a={}),this.cell.width&&(a.width=this.cell.width),this.cell.minWidth&&(a.minWidth=this.cell.minWidth)),a},l.prototype.getHeaderText=function(){return this.cell.headers},l.prototype.renderElement=function(){return this.cell.isVisible?p.prototype.renderElement.call(this):null},l.prototype.renderCellContent=function(){var a=p.prototype.renderCellContent.call(this),c=this.cell.showResponsiveTitle?h.createElement("span",{className:this.cell.responsiveTitleCss},this.renderLocString(this.cell.responsiveLocTitle),h.createElement(lr,{column:this.cell.column,question:this.cell.matrix})):null;return h.createElement(h.Fragment,null,c,a)},l.prototype.renderQuestion=function(){return this.question.isVisible?this.cell.isChoice?this.cell.isOtherChoice?this.renderOtherComment():this.cell.isCheckbox?this.renderCellCheckboxButton():this.renderCellRadiogroupButton():nn.renderQuestionBody(this.creator,this.question):h.createElement(h.Fragment,null)},l.prototype.renderOtherComment=function(){var a=this.cell.question,c=a.cssClasses||{};return h.createElement(ct,{question:a,cssClasses:c,otherCss:c.other,isDisplayMode:a.isInputReadOnly})},l.prototype.renderCellCheckboxButton=function(){var a=this.cell.question.id+"item"+this.cell.choiceIndex;return h.createElement(Dr,{key:a,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,isFirst:this.cell.isFirstChoice,index:this.cell.choiceIndex.toString(),hideCaption:!0})},l.prototype.renderCellRadiogroupButton=function(){var a=this.cell.question.id+"item"+this.cell.choiceIndex;return h.createElement(In,{key:a,question:this.cell.question,cssClasses:this.cell.question.cssClasses,isDisplayMode:this.cell.question.isInputReadOnly,item:this.cell.item,index:this.cell.choiceIndex.toString(),isChecked:this.cell.question.value===this.cell.item.value,isDisabled:this.cell.question.isReadOnly||!this.cell.item.isEnabled,hideCaption:!0})},l}(Ci),zr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Hi=function(p){zr(l,p);function l(a){return p.call(this,a)||this}return l}(Ln);Ce.Instance.registerQuestion("matrixdropdown",function(p){return h.createElement(Hi,p)});var ur=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Ur=function(p){ur(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnRowAddClick=c.handleOnRowAddClick.bind(c),c}return Object.defineProperty(l.prototype,"matrix",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.handleOnRowAddClick=function(a){this.matrix.addRowUI()},l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.question.renderedTable.showTable,f=c?this.renderTableDiv():this.renderNoRowsContent(a);return h.createElement("div",null,this.renderAddRowButtonOnTop(a),f,this.renderAddRowButtonOnBottom(a))},l.prototype.renderAddRowButtonOnTop=function(a){return this.matrix.renderedTable.showAddRowOnTop?this.renderAddRowButton(a):null},l.prototype.renderAddRowButtonOnBottom=function(a){return this.matrix.renderedTable.showAddRowOnBottom?this.renderAddRowButton(a):null},l.prototype.renderNoRowsContent=function(a){var c=this.renderLocString(this.matrix.locEmptyRowsText),f=h.createElement("div",{className:a.emptyRowsText},c),g=this.matrix.renderedTable.showAddRow?this.renderAddRowButton(a,!0):void 0;return h.createElement("div",{className:a.emptyRowsSection},f,g)},l.prototype.renderAddRowButton=function(a,c){return c===void 0&&(c=!1),A.Instance.createElement("sv-matrixdynamic-add-btn",{question:this.question,cssClasses:a,isEmptySection:c})},l}(Ln);Ce.Instance.registerQuestion("matrixdynamic",function(p){return h.createElement(Ur,p)});var cr=function(p){ur(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnRowAddClick=c.handleOnRowAddClick.bind(c),c}return Object.defineProperty(l.prototype,"matrix",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.handleOnRowAddClick=function(a){this.matrix.addRowUI()},l.prototype.renderElement=function(){var a=this.renderLocString(this.matrix.locAddRowText),c=h.createElement("button",{className:this.matrix.getAddRowButtonCss(this.props.isEmptySection),type:"button",disabled:this.matrix.isInputReadOnly,onClick:this.matrix.isDesignMode?void 0:this.handleOnRowAddClick},a,h.createElement("span",{className:this.props.cssClasses.iconAdd}));return this.props.isEmptySection?c:h.createElement("div",{className:this.props.cssClasses.footer},c)},l}(ie);A.Instance.registerElement("sv-matrixdynamic-add-btn",function(p){return h.createElement(cr,p)});var zi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Mn=function(p){zi(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"data",{get:function(){return this.props.item&&this.props.item.data||this.props.data},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item&&this.props.item.data.question||this.props.data.question},enumerable:!1,configurable:!0}),l}(ie),Ui=function(p){zi(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleClick=function(c){a.question.addPanelUI()},a}return l.prototype.renderElement=function(){if(!this.question.canAddPanel)return null;var a=this.renderLocString(this.question.locPanelAddText);return w.a.createElement("button",{type:"button",id:this.question.addButtonId,className:this.question.getAddButtonCss(),onClick:this.handleClick},w.a.createElement("span",{className:this.question.cssClasses.buttonAddText},a))},l}(Mn);A.Instance.registerElement("sv-paneldynamic-add-btn",function(p){return w.a.createElement(Ui,p)});var ts=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Et=function(p){ts(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleClick=function(c){a.question.goToNextPanel()},a}return l.prototype.renderElement=function(){return w.a.createElement("div",{title:this.question.panelNextText,onClick:this.handleClick,className:this.question.getNextButtonCss()},w.a.createElement(ge,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},l}(Mn);A.Instance.registerElement("sv-paneldynamic-next-btn",function(p){return w.a.createElement(Et,p)});var pr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),jn=function(p){pr(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleClick=function(c){a.question.goToPrevPanel()},a}return l.prototype.renderElement=function(){return w.a.createElement("div",{title:this.question.panelPrevText,onClick:this.handleClick,className:this.question.getPrevButtonCss()},w.a.createElement(ge,{iconName:this.question.cssClasses.progressBtnIcon,size:"auto"}))},l}(Mn);A.Instance.registerElement("sv-paneldynamic-prev-btn",function(p){return w.a.createElement(jn,p)});var Wi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),fr=function(p){Wi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.renderElement=function(){return w.a.createElement("div",{className:this.question.cssClasses.progressText},this.question.progressText)},l}(Mn);A.Instance.registerElement("sv-paneldynamic-progress-text",function(p){return w.a.createElement(fr,p)});var $i=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),dr=function(p){$i(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.setState({panelCounter:0});var a=this;this.question.panelCountChangedCallback=function(){a.updateQuestionRendering()},this.question.currentIndexChangedCallback=function(){a.updateQuestionRendering()},this.question.renderModeChangedCallback=function(){a.updateQuestionRendering()}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.panelCountChangedCallback=function(){},this.question.currentIndexChangedCallback=function(){},this.question.renderModeChangedCallback=function(){}},l.prototype.updateQuestionRendering=function(){this.setState({panelCounter:this.state?this.state.panelCounter+1:1})},l.prototype.renderElement=function(){var a=this,c=[];this.question.renderedPanels.forEach(function(ye,ae){c.push(h.createElement(ns,{key:ye.id,element:ye,question:a.question,index:ae,cssClasses:a.question.cssClasses,isDisplayMode:a.isDisplayMode,creator:a.creator}))});var f=this.question.isRenderModeList&&this.question.showLegacyNavigation?this.renderAddRowButton():null,g=this.question.isProgressTopShowing?this.renderNavigator():null,L=this.question.isProgressBottomShowing?this.renderNavigator():null,F=this.renderNavigatorV2(),H=this.renderPlaceholder();return h.createElement("div",{className:this.question.cssClasses.root},H,g,h.createElement("div",{className:this.question.cssClasses.panelsContainer},c),L,f,F)},l.prototype.renderNavigator=function(){if(!this.question.showLegacyNavigation)return this.question.isRangeShowing&&this.question.isProgressTopShowing?this.renderRange():null;var a=this.question.isRangeShowing?this.renderRange():null,c=this.rendrerPrevButton(),f=this.rendrerNextButton(),g=this.renderAddRowButton(),L=this.question.isProgressTopShowing?this.question.cssClasses.progressTop:this.question.cssClasses.progressBottom;return h.createElement("div",{className:L},h.createElement("div",{style:{clear:"both"}},h.createElement("div",{className:this.question.cssClasses.progressContainer},c,a,f),g,this.renderProgressText()))},l.prototype.renderProgressText=function(){return h.createElement(fr,{data:{question:this.question}})},l.prototype.rendrerPrevButton=function(){return h.createElement(jn,{data:{question:this.question}})},l.prototype.rendrerNextButton=function(){return h.createElement(Et,{data:{question:this.question}})},l.prototype.renderRange=function(){return h.createElement("div",{className:this.question.cssClasses.progress},h.createElement("div",{className:this.question.cssClasses.progressBar,style:{width:this.question.progress},role:"progressbar"}))},l.prototype.renderAddRowButton=function(){return A.Instance.createElement("sv-paneldynamic-add-btn",{data:{question:this.question}})},l.prototype.renderNavigatorV2=function(){if(!this.question.showNavigation)return null;var a=this.question.isRangeShowing&&this.question.isProgressBottomShowing?this.renderRange():null;return h.createElement("div",{className:this.question.cssClasses.footer},h.createElement("hr",{className:this.question.cssClasses.separator}),a,this.question.footerToolbar.visibleActions.length?h.createElement("div",{className:this.question.cssClasses.footerButtonsContainer},h.createElement(Re,{model:this.question.footerToolbar})):null)},l.prototype.renderPlaceholder=function(){return this.question.getShowNoEntriesPlaceholder()?h.createElement("div",{className:this.question.cssClasses.noEntriesPlaceholder},h.createElement("span",null,this.renderLocString(this.question.locNoEntriesText)),this.renderAddRowButton()):null},l}(ce),ns=function(p){$i(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),l.prototype.getSurvey=function(){return this.question?this.question.survey:null},l.prototype.getCss=function(){var a=this.getSurvey();return a?a.getCss():{}},l.prototype.render=function(){var a=p.prototype.render.call(this),c=this.renderButton(),f=this.question.showSeparator(this.index)?h.createElement("hr",{className:this.question.cssClasses.separator}):null;return h.createElement(h.Fragment,null,h.createElement("div",{className:this.question.getPanelWrapperCss(this.panel)},a,c),f)},l.prototype.renderButton=function(){return this.question.panelRemoveButtonLocation!=="right"||!this.question.canRemovePanel||this.question.isRenderModeList&&this.panel.isCollapsed?null:A.Instance.createElement("sv-paneldynamic-remove-btn",{data:{question:this.question,panel:this.panel}})},l}(ze);Ce.Instance.registerQuestion("paneldynamic",function(p){return h.createElement(dr,p)});var Ji=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ke=function(p){Ji(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"isTop",{get:function(){return this.props.isTop},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"progress",{get:function(){return this.survey.progressValue},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"progressText",{get:function(){return this.survey.progressText},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a={width:this.progress+"%"};return h.createElement("div",{className:this.survey.getProgressCssClasses(this.props.container)},h.createElement("div",{style:a,className:this.css.progressBar,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":"progress"},h.createElement("span",{className:C.SurveyProgressModel.getProgressTextInBarCss(this.css)},this.progressText)),h.createElement("span",{className:C.SurveyProgressModel.getProgressTextUnderBarCss(this.css)},this.progressText))},l}(Ht);A.Instance.registerElement("sv-progress-pages",function(p){return h.createElement(ke,p)}),A.Instance.registerElement("sv-progress-questions",function(p){return h.createElement(ke,p)}),A.Instance.registerElement("sv-progress-correctquestions",function(p){return h.createElement(ke,p)}),A.Instance.registerElement("sv-progress-requiredquestions",function(p){return h.createElement(ke,p)});var Wr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),hr=function(p){Wr(l,p);function l(a){var c=p.call(this,a)||this;return c.listContainerRef=h.createRef(),c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"container",{get:function(){return this.props.container},enumerable:!1,configurable:!0}),l.prototype.onResize=function(a){this.setState({canShowItemTitles:a}),this.setState({canShowHeader:!a})},l.prototype.onUpdateScroller=function(a){this.setState({hasScroller:a})},l.prototype.onUpdateSettings=function(){this.setState({canShowItemTitles:this.model.showItemTitles}),this.setState({canShowFooter:!this.model.showItemTitles})},l.prototype.render=function(){var a=this;return h.createElement("div",{className:this.model.getRootCss(this.props.container),style:{maxWidth:this.model.progressWidth},role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-label":"progress"},this.state.canShowHeader?h.createElement("div",{className:this.css.progressButtonsHeader},h.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.headerText},this.model.headerText)):null,h.createElement("div",{className:this.css.progressButtonsContainer},h.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!0),role:"button",onClick:function(){return a.clickScrollButton(a.listContainerRef.current,!0)}}),h.createElement("div",{className:this.css.progressButtonsListContainer,ref:this.listContainerRef},h.createElement("ul",{className:this.css.progressButtonsList},this.getListElements())),h.createElement("div",{className:this.model.getScrollButtonCss(this.state.hasScroller,!1),role:"button",onClick:function(){return a.clickScrollButton(a.listContainerRef.current,!1)}})),this.state.canShowFooter?h.createElement("div",{className:this.css.progressButtonsFooter},h.createElement("div",{className:this.css.progressButtonsPageTitle,title:this.model.footerText},this.model.footerText)):null)},l.prototype.getListElements=function(){var a=this,c=[];return this.survey.visiblePages.forEach(function(f,g){c.push(a.renderListElement(f,g))}),c},l.prototype.renderListElement=function(a,c){var f=this,g=$.renderLocString(a.locNavigationTitle);return h.createElement("li",{key:"listelement"+c,className:this.model.getListElementCss(c),onClick:this.model.isListElementClickable(c)?function(){return f.model.clickListElement(a)}:void 0,"data-page-number":this.model.getItemNumber(a)},h.createElement("div",{className:this.css.progressButtonsConnector}),this.state.canShowItemTitles?h.createElement(h.Fragment,null,h.createElement("div",{className:this.css.progressButtonsPageTitle,title:a.renderedNavigationTitle},g),h.createElement("div",{className:this.css.progressButtonsPageDescription,title:a.navigationDescription},a.navigationDescription)):null,h.createElement("div",{className:this.css.progressButtonsButton},h.createElement("div",{className:this.css.progressButtonsButtonBackground}),h.createElement("div",{className:this.css.progressButtonsButtonContent}),h.createElement("span",null,this.model.getItemNumber(a))))},l.prototype.clickScrollButton=function(a,c){a&&(a.scrollLeft+=(c?-1:1)*70)},l.prototype.componentDidMount=function(){var a=this;p.prototype.componentDidMount.call(this),setTimeout(function(){a.respManager=new C.ProgressButtonsResponsivityManager(a.model,a.listContainerRef.current,a)},10)},l.prototype.componentWillUnmount=function(){this.respManager&&this.respManager.dispose(),p.prototype.componentWillUnmount.call(this)},l}(Ht);A.Instance.registerElement("sv-progress-buttons",function(p){return h.createElement(hr,p)});var rs=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Gi=function(p){rs(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleKeydown=function(c){a.model.onKeyDown(c)},a}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.render=function(){var a=this;if(!this.item)return null;var c=this.model.getItemClass(this.item),f=this.item.component||this.model.itemComponent,g=A.Instance.createElement(f,{item:this.item,key:this.item.id,model:this.model}),L=w.a.createElement("div",{style:this.model.getItemStyle(this.item),className:this.model.cssClasses.itemBody,title:this.item.getTooltip(),onMouseOver:function(ae){a.model.onItemHover(a.item)},onMouseLeave:function(ae){a.model.onItemLeave(a.item)}},g),F=this.item.needSeparator?w.a.createElement("div",{className:this.model.cssClasses.itemSeparator}):null,H=this.model.isItemVisible(this.item),ye={display:H?null:"none"};return xn(w.a.createElement("li",{className:c,role:"option",style:ye,id:this.item.elementId,"aria-selected":this.model.isItemSelected(this.item),onClick:function(ae){a.model.onItemClick(a.item),ae.stopPropagation()},onPointerDown:function(ae){return a.model.onPointerDown(ae,a.item)}},F,L),this.item)},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.model.onLastItemRended(this.item)},l}($);A.Instance.registerElement("sv-list-item",function(p){return w.a.createElement(Gi,p)});var ln=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Nn=function(p){ln(l,p);function l(a){var c=p.call(this,a)||this;return c.handleKeydown=function(f){c.model.onKeyDown(f)},c.handleMouseMove=function(f){c.model.onMouseMove(f)},c.state={filterString:c.model.filterString||""},c.listContainerRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.listContainerRef&&this.listContainerRef.current&&this.model.initListContainerHtmlElement(this.listContainerRef.current)},l.prototype.componentDidUpdate=function(a,c){var f;p.prototype.componentDidUpdate.call(this,a,c),this.model!==a.model&&(this.model&&(!((f=this.listContainerRef)===null||f===void 0)&&f.current)&&this.model.initListContainerHtmlElement(this.listContainerRef.current),a.model&&a.model.initListContainerHtmlElement(void 0))},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.model&&this.model.initListContainerHtmlElement(void 0)},l.prototype.renderElement=function(){return w.a.createElement("div",{className:this.model.cssClasses.root,ref:this.listContainerRef},this.searchElementContent(),this.emptyContent(),this.renderList())},l.prototype.renderList=function(){if(!this.model.renderElements)return null;var a=this.renderItems(),c={display:this.model.isEmpty?"none":null};return w.a.createElement("ul",{className:this.model.getListClass(),style:c,role:"listbox",id:this.model.elementId,onMouseDown:function(f){f.preventDefault()},onKeyDown:this.handleKeydown,onMouseMove:this.handleMouseMove},a)},l.prototype.renderItems=function(){var a=this;if(!this.model)return null;var c=this.model.renderedActions;return c?c.map(function(f,g){return w.a.createElement(Gi,{model:a.model,item:f,key:"item"+g})}):null},l.prototype.searchElementContent=function(){var a=this;if(this.model.showFilter){var c=function(L){var F=C.settings.environment.root;L.target===F.activeElement&&(a.model.filterString=L.target.value)},f=function(L){a.model.goToItems(L)},g=this.model.showSearchClearButton&&this.model.filterString?w.a.createElement("button",{className:this.model.cssClasses.searchClearButtonIcon,onClick:function(L){a.model.onClickSearchClearButton(L)}},w.a.createElement(ge,{iconName:"icon-searchclear",size:"auto"})):null;return w.a.createElement("div",{className:this.model.cssClasses.filter},w.a.createElement("div",{className:this.model.cssClasses.filterIcon},w.a.createElement(ge,{iconName:"icon-search",size:"auto"})),w.a.createElement("input",{type:"text",className:this.model.cssClasses.filterInput,"aria-label":this.model.filterStringPlaceholder,placeholder:this.model.filterStringPlaceholder,value:this.state.filterString,onKeyUp:f,onChange:c}),g)}else return null},l.prototype.emptyContent=function(){var a={display:this.model.isEmpty?null:"none"};return w.a.createElement("div",{className:this.model.cssClasses.emptyContainer,style:a},w.a.createElement("div",{className:this.model.cssClasses.emptyText,"aria-label":this.model.emptyMessage},this.model.emptyMessage))},l}($);A.Instance.registerElement("sv-list",function(p){return w.a.createElement(Nn,p)});var is=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Zi=function(p){is(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a=this.props.model,c;return a.isMobile?c=h.createElement("div",{onClick:a.togglePopup},h.createElement(ge,{iconName:a.icon,size:24}),h.createElement(Qe,{model:a.popupModel})):c=h.createElement(Nn,{model:a.listModel}),h.createElement("div",{className:a.containerCss},c)},l}(Ht);A.Instance.registerElement("sv-navigation-toc",function(p){return h.createElement(Zi,p)});var Ki=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Yi=function(p){Ki(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnClick=c.handleOnClick.bind(c),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.handleOnClick=function(a){this.question.setValueFromClick(a.target.value),this.setState({value:this.question.value})},l.prototype.renderItem=function(a,c){var f=A.Instance.createElement(this.question.itemComponent,{question:this.question,item:a,index:c,key:"value"+c,handleOnClick:this.handleOnClick,isDisplayMode:this.isDisplayMode});return f},l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses,f=this.question.minRateDescription?this.renderLocString(this.question.locMinRateDescription):null,g=this.question.maxRateDescription?this.renderLocString(this.question.locMaxRateDescription):null;return h.createElement("div",{className:this.question.ratingRootCss,ref:function(L){return a.setControl(L)}},h.createElement("fieldset",{role:"radiogroup"},h.createElement("legend",{role:"presentation",className:"sv-hidden"}),this.question.hasMinLabel?h.createElement("span",{className:c.minText},f):null,this.question.renderedRateItems.map(function(L,F){return a.renderItem(L,F)}),this.question.hasMaxLabel?h.createElement("span",{className:c.maxText},g):null))},l}(ce);Ce.Instance.registerQuestion("rating",function(p){return h.createElement(Yi,p)});var os=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),un=function(p){os(l,p);function l(a){return p.call(this,a)||this}return l.prototype.renderElement=function(){var a=this.question.cssClasses,c=this.renderSelect(a);return h.createElement("div",{className:this.question.cssClasses.rootDropdown},c)},l}(Xn);Ce.Instance.registerQuestion("sv-rating-dropdown",function(p){return h.createElement(un,p)}),C.RendererFactory.Instance.registerRenderer("rating","dropdown","sv-rating-dropdown");var Vt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Xe=function(p){Vt(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses;return h.createElement("div",{id:this.question.inputId,className:c.root,ref:function(f){return a.setControl(f)}},this.question.formatedValue)},l}(ce);Ce.Instance.registerQuestion("expression",function(p){return h.createElement(Xe,p)});var Xi=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),qn=function(p){Xi(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnExpanded=c.handleOnExpanded.bind(c),c}return l.prototype.getStateElements=function(){return[this.popup,this.popup.survey]},l.prototype.handleOnExpanded=function(a){this.popup.changeExpandCollapse()},l.prototype.canRender=function(){return p.prototype.canRender.call(this)&&this.popup.isShowing},l.prototype.renderElement=function(){var a=this,c=this.renderWindowHeader(),f=this.renderBody(),g={};return this.popup.renderedWidth&&(g.width=this.popup.renderedWidth,g.maxWidth=this.popup.renderedWidth),h.createElement("div",{className:this.popup.cssRoot,style:g,onScroll:function(){return a.popup.onScroll()}},h.createElement("div",{className:this.popup.cssRootContent},c,f))},l.prototype.renderWindowHeader=function(){var a=this.popup,c=a.cssHeaderRoot,f=null,g,L=null,F=null;return a.isCollapsed?(c+=" "+a.cssRootCollapsedMod,f=this.renderTitleCollapsed(a),g=this.renderExpandIcon()):g=this.renderCollapseIcon(),a.allowClose&&(L=this.renderCloseButton(this.popup)),a.allowFullScreen&&(F=this.renderAllowFullScreenButon(this.popup)),h.createElement("div",{className:a.cssHeaderRoot},f,h.createElement("div",{className:a.cssHeaderButtonsContainer},F,h.createElement("div",{className:a.cssHeaderCollapseButton,onClick:this.handleOnExpanded},g),L))},l.prototype.renderTitleCollapsed=function(a){return a.locTitle?h.createElement("div",{className:a.cssHeaderTitleCollapsed},a.locTitle.renderedHtml):null},l.prototype.renderExpandIcon=function(){return h.createElement(ge,{iconName:"icon-restore_16x16",size:16})},l.prototype.renderCollapseIcon=function(){return h.createElement(ge,{iconName:"icon-minimize_16x16",size:16})},l.prototype.renderCloseButton=function(a){var c=this;return h.createElement("div",{className:a.cssHeaderCloseButton,onClick:function(){a.hide(),typeof c.props.onClose=="function"&&c.props.onClose()}},h.createElement(ge,{iconName:"icon-close_16x16",size:16}))},l.prototype.renderAllowFullScreenButon=function(a){var c;return a.isFullScreen?c=h.createElement(ge,{iconName:"icon-back-to-panel_16x16",size:16}):c=h.createElement(ge,{iconName:"icon-full-screen_16x16",size:16}),h.createElement("div",{className:a.cssHeaderFullScreenButton,onClick:function(){a.toggleFullScreen()}},c)},l.prototype.renderBody=function(){return h.createElement("div",{className:this.popup.cssBody},this.doRender())},l.prototype.createSurvey=function(a){a||(a={}),p.prototype.createSurvey.call(this,a),this.popup=new C.PopupSurveyModel(null,this.survey),a.closeOnCompleteTimeout&&(this.popup.closeOnCompleteTimeout=a.closeOnCompleteTimeout),this.popup.allowClose=a.allowClose,this.popup.allowFullScreen=a.allowFullScreen,this.popup.isShowing=!0,!this.popup.isExpanded&&(a.expanded||a.isExpanded)&&this.popup.expand()},l}(Mt),ss=function(p){Xi(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l}(qn),eo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),I=function(p){eo(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this.question.cssClasses;return h.createElement("fieldset",{className:this.question.getSelectBaseRootCss()},h.createElement("legend",{className:"sv-hidden"},this.question.locTitle.renderedHtml),this.question.hasColumns?this.getColumns(a):this.getItems(a))},l.prototype.getColumns=function(a){var c=this;return this.question.columns.map(function(f,g){var L=f.map(function(F,H){return c.renderItem("item"+H,F,a)});return h.createElement("div",{key:"column"+g+c.question.getItemsColumnKey(f),className:c.question.getColumnClass(),role:"presentation"},L)})},l.prototype.getItems=function(a){for(var c=[],f=0;f<this.question.visibleChoices.length;f++){var g=this.question.visibleChoices[f],L="item"+f;c.push(this.renderItem(L,g,a))}return c},Object.defineProperty(l.prototype,"textStyle",{get:function(){return{marginLeft:"3px",display:"inline",position:"static"}},enumerable:!1,configurable:!0}),l.prototype.renderItem=function(a,c,f){var g=h.createElement(et,{key:a,question:this.question,item:c,cssClasses:f}),L=this.question.survey,F=null;return L&&(F=k.wrapItemValue(L,g,this.question,c)),F??g},l}(ce),et=function(p){eo(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnChange=c.handleOnChange.bind(c),c}return l.prototype.getStateElement=function(){return this.item},l.prototype.componentDidMount=function(){p.prototype.componentDidMount.call(this),this.reactOnStrChanged()},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.item.locImageLink.onChanged=function(){}},l.prototype.componentDidUpdate=function(a,c){p.prototype.componentDidUpdate.call(this,a,c),this.reactOnStrChanged()},l.prototype.reactOnStrChanged=function(){var a=this;this.item.locImageLink.onChanged=function(){a.setState({locImageLinkchanged:a.state&&a.state.locImageLink?a.state.locImageLink+1:1})}},Object.defineProperty(l.prototype,"cssClasses",{get:function(){return this.props.cssClasses},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),l.prototype.handleOnChange=function(a){if(!this.question.isReadOnlyAttr){if(this.question.multiSelect)if(a.target.checked)this.question.value=this.question.value.concat(a.target.value);else{var c=this.question.value;c.splice(this.question.value.indexOf(a.target.value),1),this.question.value=c}else this.question.value=a.target.value;this.setState({value:this.question.value})}},l.prototype.renderElement=function(){var a=this,c=this.item,f=this.question,g=this.cssClasses,L=f.isItemSelected(c),F=f.getItemClass(c),H=null;f.showLabel&&(H=h.createElement("span",{className:f.cssClasses.itemText},c.text?$.renderLocString(c.locText):c.value));var ye={objectFit:this.question.imageFit},ae=null;if(c.locImageLink.renderedHtml&&this.question.contentMode==="image"&&(ae=h.createElement("img",{className:g.image,src:c.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,alt:c.locText.renderedHtml,style:ye,onLoad:function(Ze){a.question.onContentLoaded(c,Ze.nativeEvent)},onError:function(Ze){c.onErrorHandler(c,Ze.nativeEvent)}})),c.locImageLink.renderedHtml&&this.question.contentMode==="video"&&(ae=h.createElement("video",{controls:!0,className:g.image,src:c.locImageLink.renderedHtml,width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,style:ye,onLoadedMetadata:function(Ze){a.question.onContentLoaded(c,Ze.nativeEvent)},onError:function(Ze){c.onErrorHandler(c,Ze.nativeEvent)}})),!c.locImageLink.renderedHtml||c.contentNotLoaded){var Ve={width:this.question.renderedImageWidth,height:this.question.renderedImageHeight,objectFit:this.question.imageFit};ae=h.createElement("div",{className:g.itemNoImage,style:Ve},g.itemNoImageSvgIcon?h.createElement(ge,{className:g.itemNoImageSvgIcon,iconName:this.question.cssClasses.itemNoImageSvgIconId,size:48}):null)}var yt=h.createElement("div",{className:F},h.createElement("label",{className:g.label},h.createElement("input",{className:g.itemControl,id:this.question.getItemId(c),type:this.question.inputType,name:this.question.questionName,checked:L,value:c.value,disabled:!this.question.getItemEnabled(c),readOnly:this.question.isReadOnlyAttr,onChange:this.handleOnChange,"aria-required":this.question.ariaRequired,"aria-label":this.question.ariaLabel,"aria-invalid":this.question.ariaInvalid,"aria-errormessage":this.question.ariaErrormessage}),h.createElement("div",{className:this.question.cssClasses.itemDecorator},h.createElement("div",{className:this.question.cssClasses.imageContainer},this.question.cssClasses.checkedItemDecorator?h.createElement("span",{className:this.question.cssClasses.checkedItemDecorator,"aria-hidden":"true"},this.question.cssClasses.checkedItemSvgIconId?h.createElement(ge,{size:"auto",className:this.question.cssClasses.checkedItemSvgIcon,iconName:this.question.cssClasses.checkedItemSvgIconId}):null):null,ae),H)));return yt},l}(ie);Ce.Instance.registerQuestion("imagepicker",function(p){return h.createElement(I,p)});var it=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),$r=function(p){it(l,p);function l(a){return p.call(this,a)||this}return l.prototype.componentDidMount=function(){var a=this;p.prototype.componentDidMount.call(this),this.question.locImageLink.onChanged=function(){a.forceUpdate()}},l.prototype.componentWillUnmount=function(){p.prototype.componentWillUnmount.call(this),this.question.locImageLink.onChanged=function(){}},Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.getImageCss(),f={objectFit:this.question.imageFit,width:this.question.renderedStyleWidth,height:this.question.renderedStyleHeight};(!this.question.imageLink||this.question.contentNotLoaded)&&(f.display="none");var g=null;this.question.renderedMode==="image"&&(g=h.createElement("img",{className:c,src:this.question.locImageLink.renderedHtml||null,alt:this.question.altText||this.question.title,width:this.question.renderedWidth,height:this.question.renderedHeight,style:f,onLoad:function(F){a.question.onLoadHandler()},onError:function(F){a.question.onErrorHandler()}})),this.question.renderedMode==="video"&&(g=h.createElement("video",{controls:!0,className:c,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:f,onLoadedMetadata:function(F){a.question.onLoadHandler()},onError:function(F){a.question.onErrorHandler()}})),this.question.renderedMode==="youtube"&&(g=h.createElement("iframe",{className:c,src:this.question.locImageLink.renderedHtml,width:this.question.renderedWidth,height:this.question.renderedHeight,style:f}));var L=null;return(!this.question.imageLink||this.question.contentNotLoaded)&&(L=h.createElement("div",{className:this.question.cssClasses.noImage},h.createElement(ge,{iconName:this.question.cssClasses.noImageSvgIconId,size:48}))),h.createElement("div",{className:this.question.cssClasses.root},g,L)},l}(ce);Ce.Instance.registerQuestion("image",function(p){return h.createElement($r,p)});var to=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Jr=function(p){to(l,p);function l(a){var c=p.call(this,a)||this;return c.state={value:c.question.value},c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.renderElement=function(){var a=this,c=this.question.cssClasses,f=this.question.showLoadingIndicator?this.renderLoadingIndicator():null,g=this.renderCleanButton();return h.createElement("div",{className:c.root,ref:function(L){return a.setControl(L)},style:{width:this.question.renderedCanvasWidth}},h.createElement("div",{className:c.placeholder,style:{display:this.question.needShowPlaceholder()?"":"none"}},this.renderLocString(this.question.locRenderedPlaceholder)),h.createElement("div",null,this.renderBackgroundImage(),h.createElement("canvas",{tabIndex:-1,className:this.question.cssClasses.canvas,onBlur:function(L){a.question.onBlur(L)}})),g,f)},l.prototype.renderBackgroundImage=function(){return this.question.backgroundImage?h.createElement("img",{className:this.question.cssClasses.backgroundImage,src:this.question.backgroundImage,style:{width:this.question.renderedCanvasWidth}}):null},l.prototype.renderLoadingIndicator=function(){return h.createElement("div",{className:this.question.cssClasses.loadingIndicator},h.createElement(Pe,null))},l.prototype.renderCleanButton=function(){var a=this;if(!this.question.canShowClearButton)return null;var c=this.question.cssClasses;return h.createElement("div",{className:c.controls},h.createElement("button",{type:"button",className:c.clearButton,title:this.question.clearButtonCaption,onClick:function(){return a.question.clearValue(!0)}},this.question.cssClasses.clearButtonIconId?h.createElement(ge,{iconName:this.question.cssClasses.clearButtonIconId,size:"auto"}):h.createElement("span",null,"✖")))},l}(ce);Ce.Instance.registerQuestion("signaturepad",function(p){return h.createElement(Jr,p)});var Gr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),as=function(p){Gr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"question",{get:function(){return this.questionBase},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.question},l.prototype.renderElement=function(){var a=this.renderItems();return w.a.createElement("div",{className:this.question.cssClasses.root},a)},l.prototype.renderItems=function(){var a=this;return this.question.visibleChoices.map(function(c,f){return w.a.createElement(ls,{key:a.question.inputId+"_"+f,item:c,question:a.question,index:f})})},l}(ce),ls=function(p){Gr(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"index",{get:function(){return this.props.index},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.renderElement=function(){this.model=new C.ButtonGroupItemModel(this.question,this.item,this.index);var a=this.renderIcon(),c=this.renderInput(),f=this.renderCaption();return w.a.createElement("label",{role:"radio",className:this.model.css.label,title:this.model.caption.renderedHtml},c,w.a.createElement("div",{className:this.model.css.decorator},a,f))},l.prototype.renderIcon=function(){return this.model.iconName?w.a.createElement(ge,{className:this.model.css.icon,iconName:this.model.iconName,size:this.model.iconSize||24}):null},l.prototype.renderInput=function(){var a=this;return w.a.createElement("input",{className:this.model.css.control,id:this.model.id,type:"radio",name:this.model.name,checked:this.model.selected,value:this.model.value,disabled:this.model.readOnly,onChange:function(){a.model.onChange()},"aria-required":this.model.isRequired,"aria-label":this.model.caption.renderedHtml,"aria-invalid":this.model.hasErrors,"aria-errormessage":this.model.describedBy,role:"radio"})},l.prototype.renderCaption=function(){if(!this.model.showCaption)return null;var a=this.renderLocString(this.model.caption);return w.a.createElement("span",{className:this.model.css.caption,title:this.model.caption.renderedHtml},a)},l}($),no=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),_n=function(p){no(l,p);function l(a){return p.call(this,a)||this}return l.prototype.getStateElements=function(){var a=p.prototype.getStateElements.call(this);return this.question.contentQuestion&&a.push(this.question.contentQuestion),a},l.prototype.renderElement=function(){return nn.renderQuestionBody(this.creator,this.question.contentQuestion)},l}(We),ro=function(p){no(l,p);function l(a){return p.call(this,a)||this}return l.prototype.canRender=function(){return!!this.question.contentPanel},l.prototype.renderElement=function(){return h.createElement(ze,{element:this.question.contentPanel,creator:this.creator,survey:this.question.survey})},l}(We);Ce.Instance.registerQuestion("custom",function(p){return h.createElement(_n,p)}),Ce.Instance.registerQuestion("composite",function(p){return h.createElement(ro,p)});var us=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),io=function(p){us(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.render=function(){if(!this.item)return null;var a=this.renderLocString(this.item.locTitle,void 0,"locString"),c=this.item.iconName?w.a.createElement(ge,{className:this.model.cssClasses.itemIcon,iconName:this.item.iconName,size:this.item.iconSize,"aria-label":this.item.title}):null,f=this.item.markerIconName?w.a.createElement(ge,{className:this.item.cssClasses.itemMarkerIcon,iconName:this.item.markerIconName,size:"auto"}):null;return w.a.createElement(w.a.Fragment,null,c,a,f)},l}($);A.Instance.registerElement("sv-list-item-content",function(p){return w.a.createElement(io,p)});var oo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ot=function(p){oo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.item},l.prototype.render=function(){var a;if(!this.item)return null;var c=A.Instance.createElement("sv-list-item-content",{item:this.item,key:"content"+this.item.id,model:this.model});return w.a.createElement(w.a.Fragment,null,c,w.a.createElement(Qe,{model:(a=this.item)===null||a===void 0?void 0:a.popupModel}))},l}($);A.Instance.registerElement("sv-list-item-group",function(p){return w.a.createElement(ot,p)});var $t=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ft=function(p){$t(l,p);function l(a){return p.call(this,a)||this}return Object.defineProperty(l.prototype,"survey",{get:function(){return this.props.data},enumerable:!1,configurable:!0}),l.prototype.render=function(){var a=[];return a.push(w.a.createElement("div",{key:"logo-image",className:this.survey.logoClassNames},w.a.createElement("img",{className:this.survey.css.logoImage,src:this.survey.locLogo.renderedHtml||null,alt:this.survey.locTitle.renderedHtml,width:this.survey.renderedLogoWidth,height:this.survey.renderedLogoHeight,style:{objectFit:this.survey.logoFit,width:this.survey.renderedStyleLogoWidth,height:this.survey.renderedStyleLogoHeight}}))),w.a.createElement(w.a.Fragment,null,a)},l}(w.a.Component);A.Instance.registerElement("sv-logo-image",function(p){return w.a.createElement(ft,p)});var Jt=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Zr=function(p){Jt(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnRowRemoveClick=c.handleOnRowRemoveClick.bind(c),c}return Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),l.prototype.handleOnRowRemoveClick=function(a){this.question.removeRowUI(this.row)},l.prototype.renderElement=function(){var a=this.renderLocString(this.question.locRemoveRowText);return w.a.createElement("button",{className:this.question.getRemoveRowButtonCss(),type:"button",onClick:this.handleOnRowRemoveClick,disabled:this.question.isInputReadOnly},a,w.a.createElement("span",{className:this.question.cssClasses.iconRemove}))},l}(ie);A.Instance.registerElement("sv-matrix-remove-button",function(p){return w.a.createElement(Zr,p)});var so=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Kr=function(p){so(l,p);function l(a){var c=p.call(this,a)||this;return c.handleOnShowHideClick=c.handleOnShowHideClick.bind(c),c}return l.prototype.getStateElement=function(){return this.props.item},Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"question",{get:function(){return this.props.item.data.question},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"row",{get:function(){return this.props.item.data.row},enumerable:!1,configurable:!0}),l.prototype.handleOnShowHideClick=function(a){this.row.showHideDetailPanelClick()},l.prototype.renderElement=function(){var a=this.row.isDetailPanelShowing,c=a,f=a?this.row.detailPanelId:void 0;return w.a.createElement("button",{type:"button",onClick:this.handleOnShowHideClick,className:this.question.getDetailPanelButtonCss(this.row),"aria-expanded":c,"aria-controls":f},w.a.createElement(ge,{className:this.question.getDetailPanelIconCss(this.row),iconName:this.question.getDetailPanelIconId(this.row),size:"auto"}))},l}(ie);A.Instance.registerElement("sv-matrix-detail-button",function(p){return w.a.createElement(Kr,p)});var ao=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Yr=function(p){ao(l,p);function l(){var a=p!==null&&p.apply(this,arguments)||this;return a.handleClick=function(c){a.question.removePanelUI(a.data.panel)},a}return l.prototype.renderElement=function(){var a=this.renderLocString(this.question.locPanelRemoveText),c=this.question.getPanelRemoveButtonId(this.data.panel);return w.a.createElement("button",{id:c,className:this.question.getPanelRemoveButtonCss(),onClick:this.handleClick,type:"button"},w.a.createElement("span",{className:this.question.cssClasses.buttonRemoveText},a),w.a.createElement("span",{className:this.question.cssClasses.iconRemove}))},l}(Mn);A.Instance.registerElement("sv-paneldynamic-remove-btn",function(p){return w.a.createElement(Yr,p)});var Xr=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),ei=function(p){Xr(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"item",{get:function(){return this.props.item},enumerable:!1,configurable:!0}),l.prototype.canRender=function(){return this.item.isVisible},l.prototype.renderElement=function(){return w.a.createElement("input",{className:this.item.innerCss,type:"button",disabled:this.item.disabled,onMouseDown:this.item.data&&this.item.data.mouseDown,onClick:this.item.action,title:this.item.getTooltip(),value:this.item.title})},l}(ie);A.Instance.registerElement("sv-nav-btn",function(p){return w.a.createElement(ei,p)});var lo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Bn=function(p){lo(l,p);function l(a){var c=p.call(this,a)||this;return c.onChangedHandler=function(f,g){c.isRendering||c.setState({changed:c.state&&c.state.changed?c.state.changed+1:1})},c.rootRef=w.a.createRef(),c}return Object.defineProperty(l.prototype,"locStr",{get:function(){return this.props.locStr},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){this.reactOnStrChanged()},l.prototype.componentWillUnmount=function(){this.locStr&&this.locStr.onStringChanged.remove(this.onChangedHandler)},l.prototype.componentDidUpdate=function(a,c){a.locStr&&a.locStr.onStringChanged.remove(this.onChangedHandler),this.reactOnStrChanged()},l.prototype.reactOnStrChanged=function(){this.locStr&&this.locStr.onStringChanged.add(this.onChangedHandler)},l.prototype.render=function(){if(!this.locStr)return null;this.isRendering=!0;var a=this.renderString();return this.isRendering=!1,a},l.prototype.renderString=function(){var a=this.locStr.allowLineBreaks?"sv-string-viewer sv-string-viewer--multiline":"sv-string-viewer";if(this.locStr.hasHtml){var c={__html:this.locStr.renderedHtml};return w.a.createElement("span",{ref:this.rootRef,className:a,style:this.style,dangerouslySetInnerHTML:c})}return w.a.createElement("span",{ref:this.rootRef,className:a,style:this.style},this.locStr.renderedHtml)},l}(w.a.Component);A.Instance.registerElement(C.LocalizableString.defaultRenderer,function(p){return w.a.createElement(Bn,p)});var uo=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Fn=function(p){uo(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){return w.a.createElement("div",null,w.a.createElement("span",{className:this.props.cssClasses.error.icon||void 0,"aria-hidden":"true"}),w.a.createElement("span",{className:this.props.cssClasses.error.item||void 0},w.a.createElement(Bn,{locStr:this.props.error.locText})))},l}(w.a.Component);A.Instance.registerElement("sv-question-error",function(p){return w.a.createElement(Fn,p)});var cs=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Gt=function(p){cs(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return l.prototype.render=function(){var a,c;return w.a.createElement("div",{className:"sv-skeleton-element",id:(a=this.props.element)===null||a===void 0?void 0:a.id,style:{height:(c=this.props.element)===null||c===void 0?void 0:c.skeletonHeight}})},l}(w.a.Component);A.Instance.registerElement("sv-skeleton",function(p){return w.a.createElement(Gt,p)});var ti=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),Be=function(p){ti(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.renderLogoImage=function(){var a=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),c=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return A.Instance.createElement(a,{data:c})},l.prototype.render=function(){return w.a.createElement("div",{className:"sv-header--mobile"},this.model.survey.hasLogo?w.a.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.survey.hasTitle?w.a.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.textAreaWidth}},w.a.createElement(tt,{element:this.model.survey})):null,this.model.survey.renderedHasDescription?w.a.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.textAreaWidth}},w.a.createElement("div",{className:this.model.survey.css.description},$.renderLocString(this.model.survey.locDescription))):null)},l}(w.a.Component),gr=function(p){ti(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.renderLogoImage=function(){var a=this.model.survey.getElementWrapperComponentName(this.model.survey,"logo-image"),c=this.model.survey.getElementWrapperComponentData(this.model.survey,"logo-image");return A.Instance.createElement(a,{data:c})},l.prototype.render=function(){return w.a.createElement("div",{className:this.model.css,style:this.model.style},w.a.createElement("div",{className:"sv-header__cell-content",style:this.model.contentStyle},this.model.showLogo?w.a.createElement("div",{className:"sv-header__logo"},this.renderLogoImage()):null,this.model.showTitle?w.a.createElement("div",{className:"sv-header__title",style:{maxWidth:this.model.textAreaWidth}},w.a.createElement(tt,{element:this.model.survey})):null,this.model.showDescription?w.a.createElement("div",{className:"sv-header__description",style:{maxWidth:this.model.textAreaWidth}},w.a.createElement("div",{className:this.model.survey.css.description},$.renderLocString(this.model.survey.locDescription))):null))},l}(w.a.Component),co=function(p){ti(l,p);function l(){return p!==null&&p.apply(this,arguments)||this}return Object.defineProperty(l.prototype,"model",{get:function(){return this.props.model},enumerable:!1,configurable:!0}),l.prototype.getStateElement=function(){return this.model},l.prototype.renderElement=function(){if(this.model.survey=this.props.survey,this.props.survey.headerView!=="advanced")return null;var a=null;return this.props.survey.isMobile?a=w.a.createElement(Be,{model:this.model}):a=w.a.createElement("div",{className:this.model.contentClasses,style:{maxWidth:this.model.maxWidth}},this.model.cells.map(function(c,f){return w.a.createElement(gr,{key:f,model:c})})),w.a.createElement("div",{className:this.model.headerClasses,style:{height:this.model.renderedHeight}},this.model.backgroundImage?w.a.createElement("div",{style:this.model.backgroundImageStyle,className:this.model.backgroundImageClasses}):null,a)},l}($);A.Instance.registerElement("sv-header",function(p){return w.a.createElement(co,p)});var ni=function(){var p=function(l,a){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var g in f)Object.prototype.hasOwnProperty.call(f,g)&&(c[g]=f[g])},p(l,a)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");p(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),re=function(p){ni(l,p);function l(a){var c=p.call(this,a)||this;return c.onInput=function(f){c.locStr.text=f.target.innerText},c.onClick=function(f){f.preventDefault(),f.stopPropagation()},c.state={changed:0},c}return Object.defineProperty(l.prototype,"locStr",{get:function(){return this.props.locStr},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"style",{get:function(){return this.props.style},enumerable:!1,configurable:!0}),l.prototype.componentDidMount=function(){if(this.locStr){var a=this;this.locStr.onChanged=function(){a.setState({changed:a.state.changed+1})}}},l.prototype.componentWillUnmount=function(){this.locStr&&(this.locStr.onChanged=function(){})},l.prototype.render=function(){if(!this.locStr)return null;if(this.locStr.hasHtml){var a={__html:this.locStr.renderedHtml};return w.a.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,dangerouslySetInnerHTML:a,onBlur:this.onInput,onClick:this.onClick})}return w.a.createElement("span",{className:"sv-string-editor",contentEditable:"true",suppressContentEditableWarning:!0,style:this.style,onBlur:this.onInput,onClick:this.onClick},this.locStr.renderedHtml)},l}(w.a.Component);A.Instance.registerElement(C.LocalizableString.editableRenderer,function(p){return w.a.createElement(re,p)}),Object(C.checkLibraryVersion)("1.12.20","survey-react-ui")},react:function(B,R){B.exports=z},"react-dom":function(B,R){B.exports=O},"survey-core":function(B,R){B.exports=P}})})}(_o)),_o.exports}var Rh=Th();function Wu(ne,S){var z,O;if(S.column.indexValue==0&&"item"in S.row){const P=S.row.item;P.customDescription!==void 0&&((z=S.htmlElement.parentElement)==null||z.children[0].children[0].setAttribute("description",P.customDescription),(O=S.htmlElement.parentElement)==null||O.children[0].children[0].classList.add("survey-tooltip"))}}function $u(ne,S){if(S.question.hideCheckboxLabels){const z=S.cssClasses;z.root+=" hidden-checkbox-labels"}}function Ih(ne,S){var P;const z='[data-name="'+S.question.name+'"]',O=(P=document.querySelector(z))==null?void 0:P.querySelector("h5");O&&!O.classList.contains("sv-header-flex")&&S.question.updateElementCss()}function Ju(ne,S){if(S.name!=="description")return;let z=S.text;if(!z.length)return;const O=["e.g.","i.e.","etc.","vs."];for(const D of O)z.includes(D)&&(z=z.replace(D,D.slice(0,-1)));const P=z.split(". ");for(let D=0;D<P.length;D++)if(P[D].length!=0)for(const C of O)P[D].includes(C.slice(0,-1))&&(P[D]=P[D].replace(C.slice(0,-1),C));const B=D=>D.includes("*")?D.split("*").map((C,h)=>h==0?C:h==1?`<ul><li>${C}</li>`:`<li>${C}</li>`).join("")+"</ul>":D.endsWith(".")?D:D+".",R=P.map(D=>D.length?`<p>${B(D)}</p>`:null).join("");S.html=R}function Dh(ne){var R;const S=!!ne.visibleIf,z='[data-name="'+ne.name+'"]',O=document.querySelector(z),P=O==null?void 0:O.querySelector("h5");if(S){O.style.display="none";return}P&&(P.style.textDecoration="line-through");const B=(R=document.querySelector(z))==null?void 0:R.querySelector(".sv-question__content");B&&(B.style.display="none")}function Pa(ne,S,z){var D;z.verificationStatus.set(ne.name,S);const O=document.createElement("button");O.type="button",O.className="sv-action-bar-item verification",O.innerHTML=S,S==yi.Unverified?(O.innerHTML="No change from previous year",O.className+=" verification-required",O.onclick=function(){z.mode!="display"&&(ne.validate(),Pa(ne,yi.Verified,z))}):(O.innerHTML="Answer updated",O.className+=" verification-ok");const P='[data-name="'+ne.name+'"]',B=(D=document.querySelector(P))==null?void 0:D.querySelector("h5"),R=B==null?void 0:B.querySelector(".verification");R?R.replaceWith(O):B==null||B.appendChild(O)}function Ah(ne){const S=Bo.c(2),{surveyModel:z}=ne,O=(R,D)=>{var w;const C=z.verificationStatus.get(D.question.name),h=(w=D.question)==null?void 0:w.readOnly;C&&!h?Pa(D.question,C,z):h&&Dh(D.question)},P=(R,D)=>{z.verificationStatus.get(D.question.name)==yi.Unverified&&Pa(D.question,yi.Edited,z)};z.onAfterRenderQuestion.hasFunc(O)||(z.onAfterRenderQuestion.add(O),z.onAfterRenderQuestion.add(Ih)),z.onValueChanged.hasFunc(P)||z.onValueChanged.add(P),z.onUpdateQuestionCssClasses.hasFunc($u)||z.onUpdateQuestionCssClasses.add($u),z.onMatrixAfterCellRender.hasFunc(Wu)||z.onMatrixAfterCellRender.add(Wu),z.onTextMarkdown.hasFunc(Ju)||z.onTextMarkdown.add(Ju);let B;return S[0]!==z?(B=de.jsx(Rh.Survey,{model:z}),S[0]=z,S[1]=B):B=S[1],B}function Lh(ne){const S=Bo.c(14),{surveyModel:z,pageNoSetter:O}=ne;let P;S[0]===Symbol.for("react.memo_cache_sentinel")?(P=[],S[0]=P):P=S[0];const[B,R]=at.useState(P),D=jh;let C,h;S[1]!==z?(C=()=>{const $=ie=>{if(ie&&ie.pages){const ce=[];ie.pages.forEach(We=>{const be=We.questions.filter(Mh),pe=be.length,x=be.filter(D).length,we=pe-x,me=x/pe;ce.push({completionPercentage:me*100,unansweredPercentage:we/pe*100,totalPages:ie.pages.length,pageTitle:We.title})}),R(ce)}};z.onValueChanged.add(ie=>{$(ie)}),$(z)},h=[z],S[1]=z,S[2]=C,S[3]=h):(C=S[2],h=S[3]),at.useEffect(C,h);let w;S[4]===Symbol.for("react.memo_cache_sentinel")?(w={height:"0.5rem",transition:"width 0.3s ease"},S[4]=w):w=S[4];const A=w;let k;if(S[5]!==O||S[6]!==B||S[7]!==z.currentPageNo){let $;S[9]!==O||S[10]!==z.currentPageNo?($=(ie,ce)=>de.jsx(Ch,{xs:12,md:!0,onClick:()=>O(ce),style:{cursor:"pointer",margin:"0.5rem"},children:de.jsxs("div",{children:[de.jsx("span",{style:{whiteSpace:"nowrap",fontSize:"1.5rem",marginRight:"0.25rem",fontWeight:"bold",color:"#2db394"},children:ce+1}),de.jsx("span",{style:{whiteSpace:"nowrap",...z.currentPageNo==ce&&{fontWeight:"bold"}},children:ie.pageTitle}),de.jsxs("div",{style:{display:"flex",flexWrap:"wrap"},children:[de.jsx("div",{style:{...A,width:`${ie.completionPercentage}%`,backgroundColor:"#262261"}}),de.jsx("div",{style:{...A,width:`${ie.unansweredPercentage}%`,backgroundColor:"#cdcdcd"}})]})]})},ce),S[9]=O,S[10]=z.currentPageNo,S[11]=$):$=S[11],k=B.map($),S[5]=O,S[6]=B,S[7]=z.currentPageNo,S[8]=k}else k=S[8];let le;return S[12]!==k?(le=de.jsx(xa,{className:"survey-progress",children:de.jsx(xr,{children:k})}),S[12]=k,S[13]=le):le=S[13],le}function Mh(ne){return ne.startWithNewLine}function jh(ne){return!(ne.value===null||ne.value===void 0||ne.value===""||ne.getType()==="checkbox"&&ne.value.length==0||ne.getType()==="multipletext"&&(Object.keys(ne.value).length===1&&Object.values(ne.value)[0]===void 0||Object.keys(ne.value).length===0))}function Nh(ne){const S=Bo.c(86),{surveyModel:z,surveyActions:O,year:P,nren:B,children:R,onPageChange:D}=ne,[C,h]=at.useState(0),[w,A]=at.useState(!1),[k,le]=at.useState(""),[$,ie]=at.useState(""),{user:ce}=at.useContext(Gu);let We;S[0]!==z.currentPageNo||S[1]!==z.lockedBy||S[2]!==z.mode||S[3]!==z.status?(We=()=>{A(z.mode=="edit"),le(z.lockedBy),h(z.currentPageNo),ie(z.status)},S[0]=z.currentPageNo,S[1]=z.lockedBy,S[2]=z.mode,S[3]=z.status,S[4]=We):We=S[4];const be=We;let pe,x;S[5]!==be?(pe=()=>{be()},x=[be],S[5]=be,S[6]=pe,S[7]=x):(pe=S[6],x=S[7]),at.useEffect(pe,x);let we;S[8]!==D?(we=j=>{h(j),D(j)},S[8]=D,S[9]=we):we=S[9];const me=we;let lt;S[10]!==me||S[11]!==z.currentPageNo?(lt=()=>{me(z.currentPageNo+1)},S[10]=me,S[11]=z.currentPageNo,S[12]=lt):lt=S[12];const Fe=lt;let ge;S[13]!==be||S[14]!==O?(ge=async j=>{await O[j](),be()},S[13]=be,S[14]=O,S[15]=ge):ge=S[15];const en=ge;let Ke,vt,$e,ut,ht,Qe,bt;if(S[16]!==R||S[17]!==en||S[18]!==w||S[19]!==Fe||S[20]!==k||S[21]!==ce||S[22]!==B||S[23]!==C||S[24]!==me||S[25]!==$||S[26]!==z||S[27]!==P){const j=(Vr,Sr)=>wn(Vr,()=>en(Sr)),wn=qh,Re=()=>de.jsxs("div",{className:"survey-edit-buttons-block",children:[!w&&!k&&z.editAllowed&&j("Start editing","startEdit"),!w&&k&&k==ce.name&&j("Discard any unsaved changes and release your lock","releaseLock"),w&&j("Save progress","save"),w&&j("Save and stop editing","saveAndStopEdit"),w&&j("Complete Survey","complete"),C!==z.visiblePages.length-1&&wn("Next Section",Fe)]});vt=xa;let He;S[35]!==P?(He=de.jsxs("span",{className:"survey-title",children:[P," Compendium Survey "]}),S[35]=P,S[36]=He):He=S[36];let he;S[37]!==B?(he=de.jsxs("span",{className:"survey-title-nren",children:[" ",B," "]}),S[37]=B,S[38]=he):he=S[38];let It;S[39]!==$?(It=de.jsxs("span",{children:[" - ",$]}),S[39]=$,S[40]=It):It=S[40];let Je;S[41]!==He||S[42]!==he||S[43]!==It?(Je=de.jsxs("h2",{children:[He,he,It]}),S[41]=He,S[42]=he,S[43]=It,S[44]=Je):Je=S[44];let Qt,tt;S[45]===Symbol.for("react.memo_cache_sentinel")?(Qt={marginTop:"1rem",textAlign:"justify"},tt=de.jsxs("p",{children:["To get started, click “","Start editing","” to end read-only mode. Different people from your NREN (Compendium administrators) can contribute to the survey if needed, but agreement should be reached internally before completing the survey as the administration team will treat responses as a single source of truth from the NREN. You can start editing only when nobody else from your NREN is currently working on the survey."]}),S[45]=Qt,S[46]=tt):(Qt=S[45],tt=S[46]);let Ce;S[47]!==P?(Ce=de.jsxs("p",{children:[de.jsxs("b",{children:["In a small change, the survey now asks about this calendar year, i.e. ",P]})," (or the current financial year if your budget or staffing data does not match the calendar year). For network questions, please provide data from the 12 months preceding you answering the question. Where available, the survey questions are pre-filled with answers from the previous survey. You can edit the pre-filled answer to provide new information, or press the “no change from previous year” button."]}),S[47]=P,S[48]=Ce):Ce=S[48];let tn,Ot;S[49]===Symbol.for("react.memo_cache_sentinel")?(tn=de.jsxs("p",{children:["Press the “","Save progress","“ or “","Save and stop editing","“ button to save all answers in the survey. When you reach the last section of the survey (Services), you will find a “","Complete Survey","“ button which saves all answers in the survey and lets the Compendium team know that your answers are ready to be published. As long as the survey remains open, any Compendium administrator from your NREN can add answers or amend existing ones, even after using the “","Complete Survey","“ button."]}),Ot=de.jsx("p",{children:"Some fields require specific data, such as numerical data, valid http-addresses, and in some questions, the answer has to add up to 100%. If an answer does not fulfil the set criteria, the question will turn pink and an error message will appear. Fields can be left blank if you prefer not to answer a question. If you notice any errors after the survey was closed, please contact us for correcting those."}),S[49]=tn,S[50]=Ot):(tn=S[49],Ot=S[50]);let Dt;S[51]!==Ce?(Dt=de.jsxs("div",{style:Qt,children:[tt,Ce,tn,Ot]}),S[51]=Ce,S[52]=Dt):Dt=S[52];let At;S[53]===Symbol.for("react.memo_cache_sentinel")?(At=de.jsx("a",{href:"mailto:Partner-Relations@geant.org",children:de.jsx("span",{children:"Partner-Relations@geant.org"})}),S[53]=At):At=S[53];let Ct;S[54]!==P?(Ct=de.jsxs("p",{children:["Thank you for taking the time to fill in the ",P," Compendium Survey. Any questions or requests can be sent to ",At]}),S[54]=P,S[55]=Ct):Ct=S[55];let wt;S[56]!==w?(wt=w&&de.jsxs(de.Fragment,{children:[de.jsx("br",{}),de.jsxs("b",{children:["Remember to click “","Save and stop editing","” before leaving the page."]})]}),S[56]=w,S[57]=wt):wt=S[57],S[58]!==Je||S[59]!==Dt||S[60]!==Ct||S[61]!==wt?(Qe=de.jsxs(xr,{className:"survey-content",children:[Je,Dt,Ct,wt]}),S[58]=Je,S[59]=Dt,S[60]=Ct,S[61]=wt,S[62]=Qe):Qe=S[62],bt=de.jsx(xr,{children:Re()});let nt;S[63]!==w||S[64]!==k||S[65]!==ce||S[66]!==z.editAllowed?(nt=!w&&de.jsxs("div",{className:"survey-edit-explainer",children:[!k&&z.editAllowed&&"The survey is in read-only mode; click the “Start editing“ button to begin editing the answers.",!k&&!z.editAllowed&&"The survey is in read-only mode and can not be edited by you.",k&&k!=ce.name&&"The survey is in read-only mode and currently being edited by: "+k+". To start editing the survey, ask them to complete their edits.",k&&k==ce.name&&'The survey is in read-only mode because you started editing in another tab, browser or device. To start editing the survey, either complete those edits or click the "Discard any unsaved changes" button.']}),S[63]=w,S[64]=k,S[65]=ce,S[66]=z.editAllowed,S[67]=nt):nt=S[67],S[68]!==nt?($e=de.jsx(xr,{className:"survey-content",children:nt}),S[68]=nt,S[69]=$e):$e=S[69];let ct;S[70]!==me||S[71]!==z?(ct=de.jsx(Lh,{surveyModel:z,pageNoSetter:me}),S[70]=me,S[71]=z,S[72]=ct):ct=S[72],S[73]!==R||S[74]!==ct?(ut=de.jsxs(xr,{children:[ct,R]}),S[73]=R,S[74]=ct,S[75]=ut):ut=S[75],Ke=xr,ht=Re(),S[16]=R,S[17]=en,S[18]=w,S[19]=Fe,S[20]=k,S[21]=ce,S[22]=B,S[23]=C,S[24]=me,S[25]=$,S[26]=z,S[27]=P,S[28]=Ke,S[29]=vt,S[30]=$e,S[31]=ut,S[32]=ht,S[33]=Qe,S[34]=bt}else Ke=S[28],vt=S[29],$e=S[30],ut=S[31],ht=S[32],Qe=S[33],bt=S[34];let Rt;S[76]!==Ke||S[77]!==ht?(Rt=de.jsx(Ke,{children:ht}),S[76]=Ke,S[77]=ht,S[78]=Rt):Rt=S[78];let je;return S[79]!==vt||S[80]!==$e||S[81]!==ut||S[82]!==Rt||S[83]!==Qe||S[84]!==bt?(je=de.jsxs(vt,{children:[Qe,bt,$e,ut,Rt]}),S[79]=vt,S[80]=$e,S[81]=ut,S[82]=Rt,S[83]=Qe,S[84]=bt,S[85]=je):je=S[85],je}function qh(ne,S){return de.jsx("button",{className:"sv-btn sv-btn--navigation",onClick:S,children:ne})}function _h(ne){const S=Bo.c(5),z=ne.when,O=ne.onPageExit;let P;S[0]!==z||S[1]!==O||S[2]!==ne.message?(P=()=>{if(z()){const R=window.confirm(ne.message);return R&&O(),!R}return!1},S[0]=z,S[1]=O,S[2]=ne.message,S[3]=P):P=S[3],wh(P);let B;return S[4]===Symbol.for("react.memo_cache_sentinel")?(B=de.jsx("div",{}),S[4]=B):B=S[4],B}function Bh(ne,S=!1){if(!S&&(ne==null||ne==null||ne==""))return!0;try{return ne=ne.trim(),ne.includes(" ")?!1:(ne.includes(":/")||(ne="https://"+ne),!!new URL(ne))}catch{return!1}}const Fh={validateWebsiteUrl:Bh},kh={data_protection_contact:(...ne)=>!0};function Qh(ne){let S=ne[0];if(S==null||S==null||S=="")return!0;try{return S=S.trim(),S.includes(" ")?!1:(S.includes(":/")||(S="https://"+S),!!new URL(S))}catch{return!1}}function Hh(ne){try{const S=this.question,z=ne[0]||void 0,O=S.data&&"name"in S.data;let P;O?P=S.data.name:P=S.name;const B=S.value,R=kh[P];if(R)return R(B,...ne.slice(1));const D=Fh[z];if(!D)throw new Error(`Validation function ${z} not found for question ${P}`);return D(B,...ne.slice(1))}catch(S){return console.error(S),!1}}Jn.Serializer.addProperty("itemvalue","customDescription:text");Jn.Serializer.addProperty("question","hideCheckboxLabels:boolean");function Gh({loadFrom:ne}){const[S,z]=at.useState(),{year:O,nren:P}=Ph(),[B,R]=at.useState("loading survey..."),{user:D}=at.useContext(Gu),h=!!D.id?D.permissions.admin:!1;Jn.FunctionFactory.Instance.hasFunction("validateQuestion")||Jn.FunctionFactory.Instance.register("validateQuestion",Hh),Jn.FunctionFactory.Instance.hasFunction("validateWebsiteUrl")||Jn.FunctionFactory.Instance.register("validateWebsiteUrl",Qh);const{trackPageView:w}=xh(),A=at.useCallback(be=>(be.preventDefault(),be.returnValue=""),[]),k=at.useCallback(()=>{window.navigator.sendBeacon("/api/response/unlock/"+O+"/"+P)},[]),le=at.useCallback(()=>{window.navigator.sendBeacon("/api/response/unlock/"+O+"/"+P),removeEventListener("beforeunload",A,{capture:!0}),removeEventListener("pagehide",k)},[]);if(at.useEffect(()=>{async function be(){const pe=await fetch(ne+O+(P?"/"+P:"")),x=await pe.json();if(!pe.ok)throw"message"in x?new Error(x.message):new Error(`Request failed with status ${pe.status}`);const we=new Jn.Model(x.model);we.setVariable("surveyyear",O),we.setVariable("previousyear",parseInt(O)-1),we.showNavigationButtons=!1,we.requiredText="",we.verificationStatus=new Map;for(const me in x.verification_status)we.verificationStatus.set(me,x.verification_status[me]);we.data=x.data,we.clearIncorrectValues(!0),we.currentPageNo=x.page,we.mode=x.mode,we.lockedBy=x.locked_by,we.status=x.status,we.editAllowed=x.edit_allowed,z(we)}be().catch(pe=>R("Error when loading survey: "+pe.message)).then(()=>{w({documentTitle:`Survey for ${P} (${O})`})})},[]),!S)return B;const $=async(be,pe)=>{if(!P)return"Saving not available in inpect/try mode";const x={lock_uuid:be.lockUUID,new_state:pe,data:be.data,page:be.currentPageNo,verification_status:Object.fromEntries(be.verificationStatus)};try{const we=await fetch("/api/response/save/"+O+"/"+P,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(x)}),me=await we.json();if(!we.ok)return me.message;S.mode=me.mode,S.lockedBy=me.locked_by,S.status=me.status}catch(we){return"Unknown Error: "+we.message}},ie=(be,pe=!0)=>{let x="";const we=(lt,Fe)=>{lt.verificationStatus.get(Fe.name)==yi.Unverified&&(x==""&&(x=Fe.name),Fe.error='Please verify that last years data is correct by editing the answer or pressing the "No change from previous year" button!')};pe&&S.onValidateQuestion.add(we);const me=be();return pe&&S.onValidateQuestion.remove(we),me||mt("Validation failed!"),me},ce={save:async()=>{if(!ie(S.validate.bind(S,!0,!0),!1)){mt("Please correct the invalid fields before saving!");return}const pe=await $(S,"editing");pe?mt("Failed saving survey: "+pe):mt("Survey saved!")},complete:async()=>{if(ie(S.validate.bind(S,!0,!0))){const pe=await $(S,"completed");pe?mt("Failed completing survey: "+pe):(mt("Survey completed!"),removeEventListener("beforeunload",A,{capture:!0}),removeEventListener("pagehide",k))}},saveAndStopEdit:async()=>{if(!ie(S.validate.bind(S,!0,!0),!1)){mt("Please correct the invalid fields before saving.");return}const pe=await $(S,"readonly");pe?mt("Failed saving survey: "+pe):(mt("Survey saved!"),removeEventListener("beforeunload",A,{capture:!0}),removeEventListener("pagehide",k))},startEdit:async()=>{const be=await fetch("/api/response/lock/"+O+"/"+P,{method:"POST"}),pe=await be.json();if(!be.ok){mt("Failed starting edit: "+pe.message);return}addEventListener("pagehide",k),addEventListener("beforeunload",A,{capture:!0});for(const we in pe.verification_status)S.verificationStatus.set(we,pe.verification_status[we]);if(S.data=pe.data,S.clearIncorrectValues(!0),S.mode=pe.mode,S.lockedBy=pe.locked_by,S.lockUUID=pe.lock_uuid,S.status=pe.status,!ie(S.validate.bind(S,!0,!0),!1)){mt("Some fields are invalid, please correct them.");return}},releaseLock:async()=>{const be=await fetch("/api/response/unlock/"+O+"/"+P,{method:"POST"}),pe=await be.json();if(!be.ok){mt("Failed releasing lock: "+pe.message);return}S.mode=pe.mode,S.lockedBy=pe.locked_by,S.status=pe.status},validatePage:()=>{ie(S.validatePage.bind(S))&&mt("Page validation successful!")}};S.css.question.title.includes("sv-header-flex")||(S.css.question.title="sv-title sv-question__title sv-header-flex",S.css.question.titleOnError="sv-question__title--error sv-error-color-fix");const We=be=>{S.currentPageNo=be};return de.jsxs(de.Fragment,{children:[h?de.jsx(Sh,{}):null,de.jsxs(xa,{className:"survey-container",children:[de.jsx(Vh,{}),de.jsx(_h,{message:"Are you sure you want to leave this page? Information you've entered may not be saved.",when:()=>S.mode=="edit"&&!!P,onPageExit:le}),de.jsx(Nh,{onPageChange:We,surveyModel:S,surveyActions:ce,year:O,nren:P,children:de.jsx(Ah,{surveyModel:S})})]})]})}export{Gh as default}; diff --git a/compendium_v2/static/SurveyManagementComponent-D0-UtyLi.js b/compendium_v2/static/SurveyManagementComponent-D0-UtyLi.js new file mode 100644 index 00000000..28750642 --- /dev/null +++ b/compendium_v2/static/SurveyManagementComponent-D0-UtyLi.js @@ -0,0 +1 @@ +import{r as S,h as U,j as t,i as V,T as O,c as D,x as v,L as M,D as W,R as Q}from"./index.js";import{A as B,l as X}from"./lodash-CQPIyBv7.js";import{T as Y}from"./Table-ClWM2_rS.js";import{k as m,D as Z}from"./index-BGZcCZJE.js";import{S as d}from"./Schema-BuKG9dA7.js";import{a as F}from"./survey-3meXCY6T.js";import{S as ee}from"./SurveySidebar-NbXpjOVQ.js";import"./hook-GVc5uk5F.js";import"./SideBar-Bzc5cONd.js";const G=S.forwardRef(({bsPrefix:e,variant:i,animation:n="border",size:r,as:a="div",className:h,...u},p)=>{e=U(e,"spinner");const y=`${e}-${n}`;return t.jsx(a,{ref:p,...u,className:V(h,y,r&&`${y}-${r}`,i&&`text-${i}`)})});G.displayName="Spinner";function te(e){return O({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M362.6 192.9L345 174.8c-.7-.8-1.8-1.2-2.8-1.2-1.1 0-2.1.4-2.8 1.2l-122 122.9-44.4-44.4c-.8-.8-1.8-1.2-2.8-1.2-1 0-2 .4-2.8 1.2l-17.8 17.8c-1.6 1.6-1.6 4.1 0 5.7l56 56c3.6 3.6 8 5.7 11.7 5.7 5.3 0 9.9-3.9 11.6-5.5h.1l133.7-134.4c1.4-1.7 1.4-4.2-.1-5.7z"},child:[]},{tag:"path",attr:{d:"M256 76c48.1 0 93.3 18.7 127.3 52.7S436 207.9 436 256s-18.7 93.3-52.7 127.3S304.1 436 256 436c-48.1 0-93.3-18.7-127.3-52.7S76 304.1 76 256s18.7-93.3 52.7-127.3S207.9 76 256 76m0-28C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z"},child:[]}]})(e)}function se(e){return O({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm106.5 150.5L228.8 332.8h-.1c-1.7 1.7-6.3 5.5-11.6 5.5-3.8 0-8.1-2.1-11.7-5.7l-56-56c-1.6-1.6-1.6-4.1 0-5.7l17.8-17.8c.8-.8 1.8-1.2 2.8-1.2 1 0 2 .4 2.8 1.2l44.4 44.4 122-122.9c.8-.8 1.8-1.2 2.8-1.2 1.1 0 2.1.4 2.8 1.2l17.5 18.1c1.8 1.7 1.8 4.2.2 5.8z"},child:[]}]})(e)}function ne(e){return O({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M331.3 308.7L278.6 256l52.7-52.7c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-52.7-52.7c-6.2-6.2-15.6-7.1-22.6 0-7.1 7.1-6 16.6 0 22.6l52.7 52.7-52.7 52.7c-6.7 6.7-6.4 16.3 0 22.6 6.4 6.4 16.4 6.2 22.6 0l52.7-52.7 52.7 52.7c6.2 6.2 16.4 6.2 22.6 0 6.3-6.2 6.3-16.4 0-22.6z"},child:[]},{tag:"path",attr:{d:"M256 76c48.1 0 93.3 18.7 127.3 52.7S436 207.9 436 256s-18.7 93.3-52.7 127.3S304.1 436 256 436c-48.1 0-93.3-18.7-127.3-52.7S76 304.1 76 256s18.7-93.3 52.7-127.3S207.9 76 256 76m0-28C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z"},child:[]}]})(e)}function re(e){return O({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm52.7 283.3L256 278.6l-52.7 52.7c-6.2 6.2-16.4 6.2-22.6 0-3.1-3.1-4.7-7.2-4.7-11.3 0-4.1 1.6-8.2 4.7-11.3l52.7-52.7-52.7-52.7c-3.1-3.1-4.7-7.2-4.7-11.3 0-4.1 1.6-8.2 4.7-11.3 6.2-6.2 16.4-6.2 22.6 0l52.7 52.7 52.7-52.7c6.2-6.2 16.4-6.2 22.6 0 6.2 6.2 6.2 16.4 0 22.6L278.6 256l52.7 52.7c6.2 6.2 6.2 16.4 0 22.6-6.2 6.3-16.4 6.3-22.6 0z"},child:[]}]})(e)}function ie(e){const i=D.c(2),{status:n}=e;let r;return i[0]!==n?(r={completed:t.jsx(se,{title:n,size:24,color:"green"}),started:t.jsx(te,{title:n,size:24,color:"rgb(217, 117, 10)"}),"did not respond":t.jsx(re,{title:n,size:24,color:"red"}),"not started":t.jsx(ne,{title:n,size:24})},i[0]=n,i[1]=r):r=i[1],r[n]||n}function oe(e,i,n){fetch("/api/survey/"+e+"/"+i+"/notes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({notes:n||""})}).then(async r=>{const a=await r.json();r.ok?m.success("Notes saved"):m.error("Failed saving notes: "+a.message||r.statusText)}).catch(r=>{m.error("Failed saving notes: "+r)})}function w({text:e,helpText:i,onClick:n,enabled:r}){const[a,h]=S.useState(!1),u=async()=>{if(!a){h(!0);try{await n()}finally{h(!1)}}};return t.jsxs(v,{onClick:u,disabled:!r,style:{pointerEvents:"auto",marginLeft:".5rem"},title:i,children:[a&&t.jsx(G,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true"}),e]})}function xe(){const e=D.c(21);let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=[],e[0]=i):i=e[0];const[n,r]=S.useState(i),a=S.useRef(!1);let h,u;e[1]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{F().then(c=>{r(c)})},u=[],e[1]=h,e[2]=u):(h=e[1],u=e[2]),S.useEffect(h,u);let p;e[3]===Symbol.for("react.memo_cache_sentinel")?(p=async function(s,l,o,j){const A=j===void 0?!1:j;try{A&&(s=s+"?dry_run=1");const R=await fetch(s,{method:"POST"}),z=await R.json();R.ok?(z.message&&console.log(z.message),A||m(o),F().then(J=>{r(J)})):m(l+z.message)}catch(R){m(l+R.message)}},e[3]=p):p=e[3];const y=p;let k;e[4]===Symbol.for("react.memo_cache_sentinel")?(k=async function(){await y("/api/survey/new","Failed creating new survey: ","Created new survey")},e[4]=k):k=e[4];const H=k;let C;e[5]===Symbol.for("react.memo_cache_sentinel")?(C=async function(s,l,o){const j=o===void 0?!1:o;if(a.current){m("Wait for status update to be finished...");return}a.current=!0,await y("/api/survey/"+l+"/"+s,"Error while updating "+s+" survey status to "+l+": ",s+" survey status updated to "+l,j),a.current=!1},e[5]=C):C=e[5];const g=C;let _;e[6]===Symbol.for("react.memo_cache_sentinel")?(_=async function(s,l){await y("/api/response/unlock/"+s+"/"+l,"Error while unlocking "+l+" "+s+" survey response: ",l+" "+s+" survey response unlocked")},e[6]=_):_=e[6];const K=_,q=n.length>0&&n.every(le),P=window.location.origin+"/data?preview";let L;e[7]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsx(ee,{}),e[7]=L):L=e[7];let N;e[8]===Symbol.for("react.memo_cache_sentinel")?(N={maxWidth:"100rem"},e[8]=N):N=e[8];let I;e[9]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(Z,{}),e[9]=I):I=e[9];const $=!q;let E;e[10]===Symbol.for("react.memo_cache_sentinel")?(E={pointerEvents:"auto",width:"10rem",margin:"1rem"},e[10]=E):E=e[10];let f;e[11]!==$?(f=t.jsx(v,{onClick:H,disabled:$,style:E,title:"Create a new survey for the next year. Only possible if all current surveys are published.",children:"start new survey"}),e[11]=$,e[12]=f):f=e[12];let x;if(e[13]!==n){let c;e[15]===Symbol.for("react.memo_cache_sentinel")?(c=(s,l)=>t.jsxs(B.Item,{eventKey:l.toString(),children:[t.jsxs(B.Header,{children:[s.year," - ",s.status]}),t.jsxs(B.Body,{children:[t.jsxs("div",{style:{marginLeft:".5rem",marginBottom:"1rem"},children:[t.jsx(M,{to:`/survey/admin/edit/${s.year}`,target:"_blank",children:t.jsx(v,{style:{marginLeft:".5rem"},title:"Open the survey for inspection with all questions visible and any visibleIf logic added to the title.",children:"Inspect Survey"})}),t.jsx(M,{to:`/survey/admin/try/${s.year}`,target:"_blank",children:t.jsx(v,{style:{marginLeft:".5rem"},title:"Open the survey exactly as the nrens will see it, but without any nren data.",children:"Try Survey"})}),t.jsx(w,{text:"Mark as open",helpText:"Allow the NRENs to respond to this survey. Only 1 survey may be open at a time, and (pre)-published surveys cannot be opened anymore.",enabled:s.status==d.closed,onClick:()=>g(s.year,"open")}),t.jsx(w,{text:"Mark as closed",helpText:"Do not allow the NRENs to respond to this survey anymore. Only surveys with status open can be closed.",enabled:s.status==d.open,onClick:()=>g(s.year,"close")}),t.jsx(w,{text:"Preview results",helpText:"Publish all completed survey responses to the compendium website for preview by admins. This is only possible if the survey is closed or previewed already.",enabled:s.status==d.closed||s.status==d.preview,onClick:()=>g(s.year,"preview")}),t.jsx(w,{text:"Publish results (dry run)",helpText:"Performs a dry-run of the publish operation, without actually publishing the results. Changes are logged in the browser console (F12).",enabled:s.status==d.preview||s.status==d.published,onClick:()=>g(s.year,"publish",!0)}),t.jsx(w,{text:"Publish results",helpText:"Publish or re-publish all completed survey responses to the compendium website. This is only possible if the survey is in preview or published already.",enabled:s.status==d.preview||s.status==d.published,onClick:()=>g(s.year,"publish")}),s.status==d.preview&&t.jsxs("span",{children:[" Preview link: ",t.jsx("a",{href:P,children:P})]})]}),t.jsxs(Y,{children:[t.jsxs("colgroup",{children:[t.jsx("col",{style:{width:"10%"}}),t.jsx("col",{style:{width:"20%"}}),t.jsx("col",{style:{width:"20%"}}),t.jsx("col",{style:{width:"30%"}}),t.jsx("col",{style:{width:"20%"}})]}),t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{children:"NREN"}),t.jsx("th",{children:"Status"}),t.jsx("th",{children:"Lock"}),t.jsx("th",{children:"Management Notes"}),t.jsx("th",{children:"Actions"})]})}),t.jsx("tbody",{children:s.responses.map(o=>t.jsxs("tr",{children:[t.jsx("td",{children:o.nren.name}),t.jsx("td",{children:t.jsx(ie,{status:o.status})}),t.jsx("td",{style:{textWrap:"wrap",wordWrap:"break-word",maxWidth:"10rem"},children:o.lock_description}),t.jsx("td",{children:"notes"in o&&t.jsx("textarea",{onInput:X.debounce(j=>oe(s.year,o.nren.id,j.target.value),1e3),style:{minWidth:"100%",minHeight:"5rem"},placeholder:"Notes for this survey",defaultValue:o.notes||""})}),t.jsxs("td",{children:[t.jsx(M,{to:`/survey/response/${s.year}/${o.nren.name}`,target:"_blank",children:t.jsx(v,{style:{pointerEvents:"auto",margin:".5rem"},title:"Open the responses of the NREN.",children:"open"})}),t.jsx(v,{onClick:()=>K(s.year,o.nren.name),disabled:o.lock_description=="",style:{pointerEvents:"auto"},title:"Remove the lock from the survey so that another person can open the survey for editing. WARNING: The person that currently has the lock will not be able to save their changes anymore once someone else starts editing!",children:"remove lock"})]})]},o.nren.id))})]})]})]},s.year),e[15]=c):c=e[15],x=n.map(c),e[13]=n,e[14]=x}else x=e[14];let b;e[16]!==x?(b=t.jsx(B,{defaultActiveKey:"0",children:x}),e[16]=x,e[17]=b):b=e[17];let T;return e[18]!==f||e[19]!==b?(T=t.jsxs(t.Fragment,{children:[L,t.jsx(W,{className:"py-5 grey-container",children:t.jsx(W,{style:N,children:t.jsxs(Q,{children:[I,f,b]})})})]}),e[18]=f,e[19]=b,e[20]=T):T=e[20],T}function le(e){return e.status==d.published}export{xe as default}; diff --git a/compendium_v2/static/SurveyManagementComponent-DMYN1lq-.js b/compendium_v2/static/SurveyManagementComponent-DMYN1lq-.js deleted file mode 100644 index 891e0dac..00000000 --- a/compendium_v2/static/SurveyManagementComponent-DMYN1lq-.js +++ /dev/null @@ -1 +0,0 @@ -import{r as S,u as U,j as t,c as V,X as O,a as D,N as v,L as M,e as W,R as X}from"./main-BIBsTO5W.js";import{A as B,l as Q}from"./lodash-BjwYmmCl.js";import{T as Y}from"./Table-HH9WOnMU.js";import{k as m,D as Z}from"./index-CuSQpLoM.js";import{S as d}from"./Schema-BuKG9dA7.js";import{f as F,S as ee}from"./survey.js";import"./hook-DmuGcAOd.js";import"./xlsx-CxqzP9DR.js";const G=S.forwardRef(({bsPrefix:e,variant:i,animation:n="border",size:r,as:a="div",className:h,...u},p)=>{e=U(e,"spinner");const y=`${e}-${n}`;return t.jsx(a,{ref:p,...u,className:V(h,y,r&&`${y}-${r}`,i&&`text-${i}`)})});G.displayName="Spinner";function te(e){return O({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M362.6 192.9L345 174.8c-.7-.8-1.8-1.2-2.8-1.2-1.1 0-2.1.4-2.8 1.2l-122 122.9-44.4-44.4c-.8-.8-1.8-1.2-2.8-1.2-1 0-2 .4-2.8 1.2l-17.8 17.8c-1.6 1.6-1.6 4.1 0 5.7l56 56c3.6 3.6 8 5.7 11.7 5.7 5.3 0 9.9-3.9 11.6-5.5h.1l133.7-134.4c1.4-1.7 1.4-4.2-.1-5.7z"},child:[]},{tag:"path",attr:{d:"M256 76c48.1 0 93.3 18.7 127.3 52.7S436 207.9 436 256s-18.7 93.3-52.7 127.3S304.1 436 256 436c-48.1 0-93.3-18.7-127.3-52.7S76 304.1 76 256s18.7-93.3 52.7-127.3S207.9 76 256 76m0-28C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z"},child:[]}]})(e)}function se(e){return O({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm106.5 150.5L228.8 332.8h-.1c-1.7 1.7-6.3 5.5-11.6 5.5-3.8 0-8.1-2.1-11.7-5.7l-56-56c-1.6-1.6-1.6-4.1 0-5.7l17.8-17.8c.8-.8 1.8-1.2 2.8-1.2 1 0 2 .4 2.8 1.2l44.4 44.4 122-122.9c.8-.8 1.8-1.2 2.8-1.2 1.1 0 2.1.4 2.8 1.2l17.5 18.1c1.8 1.7 1.8 4.2.2 5.8z"},child:[]}]})(e)}function ne(e){return O({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M331.3 308.7L278.6 256l52.7-52.7c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-52.7-52.7c-6.2-6.2-15.6-7.1-22.6 0-7.1 7.1-6 16.6 0 22.6l52.7 52.7-52.7 52.7c-6.7 6.7-6.4 16.3 0 22.6 6.4 6.4 16.4 6.2 22.6 0l52.7-52.7 52.7 52.7c6.2 6.2 16.4 6.2 22.6 0 6.3-6.2 6.3-16.4 0-22.6z"},child:[]},{tag:"path",attr:{d:"M256 76c48.1 0 93.3 18.7 127.3 52.7S436 207.9 436 256s-18.7 93.3-52.7 127.3S304.1 436 256 436c-48.1 0-93.3-18.7-127.3-52.7S76 304.1 76 256s18.7-93.3 52.7-127.3S207.9 76 256 76m0-28C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z"},child:[]}]})(e)}function re(e){return O({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm52.7 283.3L256 278.6l-52.7 52.7c-6.2 6.2-16.4 6.2-22.6 0-3.1-3.1-4.7-7.2-4.7-11.3 0-4.1 1.6-8.2 4.7-11.3l52.7-52.7-52.7-52.7c-3.1-3.1-4.7-7.2-4.7-11.3 0-4.1 1.6-8.2 4.7-11.3 6.2-6.2 16.4-6.2 22.6 0l52.7 52.7 52.7-52.7c6.2-6.2 16.4-6.2 22.6 0 6.2 6.2 6.2 16.4 0 22.6L278.6 256l52.7 52.7c6.2 6.2 6.2 16.4 0 22.6-6.2 6.3-16.4 6.3-22.6 0z"},child:[]}]})(e)}function ie(e){const i=D.c(2),{status:n}=e;let r;return i[0]!==n?(r={completed:t.jsx(se,{title:n,size:24,color:"green"}),started:t.jsx(te,{title:n,size:24,color:"rgb(217, 117, 10)"}),"did not respond":t.jsx(re,{title:n,size:24,color:"red"}),"not started":t.jsx(ne,{title:n,size:24})},i[0]=n,i[1]=r):r=i[1],r[n]||n}function le(e,i,n){fetch("/api/survey/"+e+"/"+i+"/notes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({notes:n||""})}).then(async r=>{const a=await r.json();r.ok?m.success("Notes saved"):m.error("Failed saving notes: "+a.message||r.statusText)}).catch(r=>{m.error("Failed saving notes: "+r)})}function w({text:e,helpText:i,onClick:n,enabled:r}){const[a,h]=S.useState(!1),u=async()=>{if(!a){h(!0);try{await n()}finally{h(!1)}}};return t.jsxs(v,{onClick:u,disabled:!r,style:{pointerEvents:"auto",marginLeft:".5rem"},title:i,children:[a&&t.jsx(G,{as:"span",animation:"border",size:"sm",role:"status","aria-hidden":"true"}),e]})}function fe(){const e=D.c(21);let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=[],e[0]=i):i=e[0];const[n,r]=S.useState(i),a=S.useRef(!1);let h,u;e[1]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{F().then(c=>{r(c)})},u=[],e[1]=h,e[2]=u):(h=e[1],u=e[2]),S.useEffect(h,u);let p;e[3]===Symbol.for("react.memo_cache_sentinel")?(p=async function(s,o,l,j){const A=j===void 0?!1:j;try{A&&(s=s+"?dry_run=1");const T=await fetch(s,{method:"POST"}),z=await T.json();T.ok?(z.message&&console.log(z.message),A||m(l),F().then(J=>{r(J)})):m(o+z.message)}catch(T){m(o+T.message)}},e[3]=p):p=e[3];const y=p;let k;e[4]===Symbol.for("react.memo_cache_sentinel")?(k=async function(){await y("/api/survey/new","Failed creating new survey: ","Created new survey")},e[4]=k):k=e[4];const H=k;let C;e[5]===Symbol.for("react.memo_cache_sentinel")?(C=async function(s,o,l){const j=l===void 0?!1:l;if(a.current){m("Wait for status update to be finished...");return}a.current=!0,await y("/api/survey/"+o+"/"+s,"Error while updating "+s+" survey status to "+o+": ",s+" survey status updated to "+o,j),a.current=!1},e[5]=C):C=e[5];const g=C;let _;e[6]===Symbol.for("react.memo_cache_sentinel")?(_=async function(s,o){await y("/api/response/unlock/"+s+"/"+o,"Error while unlocking "+o+" "+s+" survey response: ",o+" "+s+" survey response unlocked")},e[6]=_):_=e[6];const K=_,q=n.length>0&&n.every(oe),P=window.location.origin+"/data?preview";let L;e[7]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsx(ee,{}),e[7]=L):L=e[7];let N;e[8]===Symbol.for("react.memo_cache_sentinel")?(N={maxWidth:"100rem"},e[8]=N):N=e[8];let I;e[9]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(Z,{}),e[9]=I):I=e[9];const $=!q;let E;e[10]===Symbol.for("react.memo_cache_sentinel")?(E={pointerEvents:"auto",width:"10rem",margin:"1rem"},e[10]=E):E=e[10];let f;e[11]!==$?(f=t.jsx(v,{onClick:H,disabled:$,style:E,title:"Create a new survey for the next year. Only possible if all current surveys are published.",children:"start new survey"}),e[11]=$,e[12]=f):f=e[12];let x;if(e[13]!==n){let c;e[15]===Symbol.for("react.memo_cache_sentinel")?(c=(s,o)=>t.jsxs(B.Item,{eventKey:o.toString(),children:[t.jsxs(B.Header,{children:[s.year," - ",s.status]}),t.jsxs(B.Body,{children:[t.jsxs("div",{style:{marginLeft:".5rem",marginBottom:"1rem"},children:[t.jsx(M,{to:`/survey/admin/edit/${s.year}`,target:"_blank",children:t.jsx(v,{style:{marginLeft:".5rem"},title:"Open the survey for inspection with all questions visible and any visibleIf logic added to the title.",children:"Inspect Survey"})}),t.jsx(M,{to:`/survey/admin/try/${s.year}`,target:"_blank",children:t.jsx(v,{style:{marginLeft:".5rem"},title:"Open the survey exactly as the nrens will see it, but without any nren data.",children:"Try Survey"})}),t.jsx(w,{text:"Mark as open",helpText:"Allow the NRENs to respond to this survey. Only 1 survey may be open at a time, and (pre)-published surveys cannot be opened anymore.",enabled:s.status==d.closed,onClick:()=>g(s.year,"open")}),t.jsx(w,{text:"Mark as closed",helpText:"Do not allow the NRENs to respond to this survey anymore. Only surveys with status open can be closed.",enabled:s.status==d.open,onClick:()=>g(s.year,"close")}),t.jsx(w,{text:"Preview results",helpText:"Publish all completed survey responses to the compendium website for preview by admins. This is only possible if the survey is closed or previewed already.",enabled:s.status==d.closed||s.status==d.preview,onClick:()=>g(s.year,"preview")}),t.jsx(w,{text:"Publish results (dry run)",helpText:"Performs a dry-run of the publish operation, without actually publishing the results. Changes are logged in the browser console (F12).",enabled:s.status==d.preview||s.status==d.published,onClick:()=>g(s.year,"publish",!0)}),t.jsx(w,{text:"Publish results",helpText:"Publish or re-publish all completed survey responses to the compendium website. This is only possible if the survey is in preview or published already.",enabled:s.status==d.preview||s.status==d.published,onClick:()=>g(s.year,"publish")}),s.status==d.preview&&t.jsxs("span",{children:[" Preview link: ",t.jsx("a",{href:P,children:P})]})]}),t.jsxs(Y,{children:[t.jsxs("colgroup",{children:[t.jsx("col",{style:{width:"10%"}}),t.jsx("col",{style:{width:"20%"}}),t.jsx("col",{style:{width:"20%"}}),t.jsx("col",{style:{width:"30%"}}),t.jsx("col",{style:{width:"20%"}})]}),t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{children:"NREN"}),t.jsx("th",{children:"Status"}),t.jsx("th",{children:"Lock"}),t.jsx("th",{children:"Management Notes"}),t.jsx("th",{children:"Actions"})]})}),t.jsx("tbody",{children:s.responses.map(l=>t.jsxs("tr",{children:[t.jsx("td",{children:l.nren.name}),t.jsx("td",{children:t.jsx(ie,{status:l.status})}),t.jsx("td",{style:{textWrap:"wrap",wordWrap:"break-word",maxWidth:"10rem"},children:l.lock_description}),t.jsx("td",{children:"notes"in l&&t.jsx("textarea",{onInput:Q.debounce(j=>le(s.year,l.nren.id,j.target.value),1e3),style:{minWidth:"100%",minHeight:"5rem"},placeholder:"Notes for this survey",defaultValue:l.notes||""})}),t.jsxs("td",{children:[t.jsx(M,{to:`/survey/response/${s.year}/${l.nren.name}`,target:"_blank",children:t.jsx(v,{style:{pointerEvents:"auto",margin:".5rem"},title:"Open the responses of the NREN.",children:"open"})}),t.jsx(v,{onClick:()=>K(s.year,l.nren.name),disabled:l.lock_description=="",style:{pointerEvents:"auto"},title:"Remove the lock from the survey so that another person can open the survey for editing. WARNING: The person that currently has the lock will not be able to save their changes anymore once someone else starts editing!",children:"remove lock"})]})]},l.nren.id))})]})]})]},s.year),e[15]=c):c=e[15],x=n.map(c),e[13]=n,e[14]=x}else x=e[14];let b;e[16]!==x?(b=t.jsx(B,{defaultActiveKey:"0",children:x}),e[16]=x,e[17]=b):b=e[17];let R;return e[18]!==f||e[19]!==b?(R=t.jsxs(t.Fragment,{children:[L,t.jsx(W,{className:"py-5 grey-container",children:t.jsx(W,{style:N,children:t.jsxs(X,{children:[I,f,b]})})})]}),e[18]=f,e[19]=b,e[20]=R):R=e[20],R}function oe(e){return e.status==d.published}export{fe as default}; diff --git a/compendium_v2/static/SurveySidebar-NbXpjOVQ.js b/compendium_v2/static/SurveySidebar-NbXpjOVQ.js new file mode 100644 index 00000000..5f8e951d --- /dev/null +++ b/compendium_v2/static/SurveySidebar-NbXpjOVQ.js @@ -0,0 +1 @@ +import{c as o,j as s}from"./index.js";import{L as m,S as a}from"./SideBar-Bzc5cONd.js";const h=()=>{const e=o.c(4);let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx("h5",{className:"section-title",children:"Management Links"}),e[0]=r):r=e[0];let t;e[1]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(m,{to:"/survey",children:s.jsx("span",{children:"Survey Home"})}),e[1]=t):t=e[1];let n;e[2]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(m,{to:"/survey/admin/users",children:s.jsx("span",{children:"Compendium User Management"})}),e[2]=n):n=e[2];let i;return e[3]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsxs(a,{survey:!0,children:[r,t,n,s.jsx(m,{to:"/survey/admin/surveys",children:s.jsx("span",{children:"Compendium Survey Management"})})]}),e[3]=i):i=e[3],i};export{h as S}; diff --git a/compendium_v2/static/Table-ClWM2_rS.js b/compendium_v2/static/Table-ClWM2_rS.js new file mode 100644 index 00000000..12baa2f1 --- /dev/null +++ b/compendium_v2/static/Table-ClWM2_rS.js @@ -0,0 +1 @@ +import{r as m,h as j,i as u,j as l}from"./index.js";const N=m.forwardRef(({bsPrefix:c,className:f,striped:e,bordered:i,borderless:n,hover:d,size:a,variant:o,responsive:r,...x},p)=>{const s=j(c,"table"),b=u(f,s,o&&`${s}-${o}`,a&&`${s}-${a}`,e&&`${s}-${typeof e=="string"?`striped-${e}`:"striped"}`,i&&`${s}-bordered`,n&&`${s}-borderless`,d&&`${s}-hover`),$=l.jsx("table",{...x,className:b,ref:p});if(r){let t=`${s}-responsive`;return typeof r=="string"&&(t=`${t}-${r}`),l.jsx("div",{className:t,children:$})}return $});export{N as T}; diff --git a/compendium_v2/static/Table-HH9WOnMU.js b/compendium_v2/static/Table-HH9WOnMU.js deleted file mode 100644 index ffa2a2f8..00000000 --- a/compendium_v2/static/Table-HH9WOnMU.js +++ /dev/null @@ -1 +0,0 @@ -import{r as m,u,c as j,j as c}from"./main-BIBsTO5W.js";const g=m.forwardRef(({bsPrefix:l,className:f,striped:e,bordered:n,borderless:d,hover:i,size:a,variant:o,responsive:r,...x},p)=>{const s=u(l,"table"),b=j(f,s,o&&`${s}-${o}`,a&&`${s}-${a}`,e&&`${s}-${typeof e=="string"?`striped-${e}`:"striped"}`,n&&`${s}-bordered`,d&&`${s}-borderless`,i&&`${s}-hover`),$=c.jsx("table",{...x,className:b,ref:p});if(r){let t=`${s}-responsive`;return typeof r=="string"&&(t=`${t}-${r}`),c.jsx("div",{className:t,children:$})}return $});export{g as T}; diff --git a/compendium_v2/static/TrafficRatio-BRasghA5.js b/compendium_v2/static/TrafficRatio-BRasghA5.js new file mode 100644 index 00000000..a281fc13 --- /dev/null +++ b/compendium_v2/static/TrafficRatio-BRasghA5.js @@ -0,0 +1 @@ +import{c as j,r as w,F as C,j as x,S as E}from"./index.js";import{B as L}from"./index-BJrPLJgf.js";import{C as g,a as v,L as F,B as Y,p as $,c as A,d as B,u as O,N as T,D as M,F as P}from"./useData-C0vA-Ut8.js";import{h as W,W as q}from"./HTMLLegendPlugin-B1D8JXQI.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";g.register(v,F,Y,$,A,B);const z={maintainAspectRatio:!1,animation:{duration:0},plugins:{htmlLegend:{containerIDs:["legendtop","legendbottom"]},legend:{display:!1},tooltip:{callbacks:{label:function(e){let t=e.dataset.label||"";return e.parsed.x!==null&&(t+=`: ${e.parsed.x}%`),t}}}},scales:{x:{position:"top",stacked:!0,ticks:{callback:(e,t)=>`${t*10}%`}},x2:{ticks:{callback:e=>typeof e=="number"?`${e}%`:e},grid:{drawOnChartArea:!1},afterDataLimits:function(e){const t=Object.keys(g.instances);let a=-999999,i=999999;for(const s of t)g.instances[s]&&e.chart.scales.x2&&(i=Math.min(g.instances[s].scales.x.min,i),a=Math.max(g.instances[s].scales.x.max,a));e.chart.scales.x2.options.min=i,e.chart.scales.x2.options.max=a,e.chart.scales.x2.min=i,e.chart.scales.x2.max=a}},y:{stacked:!0,ticks:{autoSkip:!1}}},indexAxis:"y"};function ae(){const e=j.c(37),{filterSelection:t,setFilterSelection:a}=w.useContext(C),{data:i,years:s,nrens:n}=O("/api/traffic-ratio",a);let l,r,y,c;if(e[0]!==t||e[1]!==n||e[2]!==a||e[3]!==i||e[4]!==s){let b;e[9]!==t.selectedNrens||e[10]!==t.selectedYears?(b=R=>t.selectedYears.includes(R.year)&&t.selectedNrens.includes(R.nren),e[9]=t.selectedNrens,e[10]=t.selectedYears,e[11]=b):b=e[11],r=i.filter(b),c=T(r,t.selectedYears[0]);let d;e[12]!==s?(d=[...s],e[12]=s,e[13]=d):d=e[13];let p;e[14]!==n?(p=n.values(),e[14]=n,e[15]=p):p=e[15];let u;e[16]!==p?(u=[...p],e[16]=p,e[17]=u):u=e[17];let h;e[18]!==d||e[19]!==u?(h={availableYears:d,availableNrens:u},e[18]=d,e[19]=u,e[20]=h):h=e[20];let _;e[21]!==t||e[22]!==a||e[23]!==h?(_=x.jsx(P,{max1year:!0,filterOptions:h,filterSelection:t,setFilterSelection:a}),e[21]=t,e[22]=a,e[23]=h,e[24]=_):_=e[24],l=_,y=Array.from(new Set(r.map(H))).map(R=>n.get(R)).filter(G),e[0]=t,e[1]=n,e[2]=a,e[3]=i,e[4]=s,e[5]=l,e[6]=r,e[7]=y,e[8]=c}else l=e[5],r=e[6],y=e[7],c=e[8];const D=y.length,S=`${Math.max(D*1.5,20)}rem`;let o;e[25]!==S?(o={height:S},e[25]=S,e[26]=o):o=e[26];let N;e[27]===Symbol.for("react.memo_cache_sentinel")?(N=[W],e[27]=N):N=e[27];let f;e[28]!==c?(f=x.jsx(L,{data:c,options:z,plugins:N}),e[28]=c,e[29]=f):f=e[29];let m;e[30]!==o||e[31]!==f?(m=x.jsx(q,{children:x.jsx("div",{className:"chart-container",style:o,children:f})}),e[30]=o,e[31]=f,e[32]=m):m=e[32];let k;return e[33]!==l||e[34]!==r||e[35]!==m?(k=x.jsx(M,{title:"Types of traffic in NREN networks (Commodity v. Research & Education)",description:"The graph shows the ratio of commodity versus research and education traffic in NREN networks",category:E.Network,filter:l,data:r,filename:"types_of_traffic_in_nren_networks",children:m}),e[33]=l,e[34]=r,e[35]=m,e[36]=k):k=e[36],k}function G(e){return!!e}function H(e){return e.nren}export{ae as default}; diff --git a/compendium_v2/static/TrafficRatio-CEE7weoG.js b/compendium_v2/static/TrafficRatio-CEE7weoG.js deleted file mode 100644 index a58bccc8..00000000 --- a/compendium_v2/static/TrafficRatio-CEE7weoG.js +++ /dev/null @@ -1 +0,0 @@ -import{a as j,r as w,F as C,j as x}from"./main-BIBsTO5W.js";import{B as E}from"./index-BBrAyDR9.js";import{C as g,a as L,L as v,B as F,p as Y,c as $,d as A,u as B,N as O,D as T,F as M}from"./useData-BDYwoQEh.js";import{S as P}from"./report.js";import{h as W,W as q}from"./HTMLLegendPlugin-BO0IHS_R.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";g.register(L,v,F,Y,$,A);const z={maintainAspectRatio:!1,animation:{duration:0},plugins:{htmlLegend:{containerIDs:["legendtop","legendbottom"]},legend:{display:!1},tooltip:{callbacks:{label:function(e){let t=e.dataset.label||"";return e.parsed.x!==null&&(t+=`: ${e.parsed.x}%`),t}}}},scales:{x:{position:"top",stacked:!0,ticks:{callback:(e,t)=>`${t*10}%`}},x2:{ticks:{callback:e=>typeof e=="number"?`${e}%`:e},grid:{drawOnChartArea:!1},afterDataLimits:function(e){const t=Object.keys(g.instances);let a=-999999,i=999999;for(const s of t)g.instances[s]&&e.chart.scales.x2&&(i=Math.min(g.instances[s].scales.x.min,i),a=Math.max(g.instances[s].scales.x.max,a));e.chart.scales.x2.options.min=i,e.chart.scales.x2.options.max=a,e.chart.scales.x2.min=i,e.chart.scales.x2.max=a}},y:{stacked:!0,ticks:{autoSkip:!1}}},indexAxis:"y"};function ae(){const e=j.c(37),{filterSelection:t,setFilterSelection:a}=w.useContext(C),{data:i,years:s,nrens:n}=B("/api/traffic-ratio",a);let l,r,y,c;if(e[0]!==t||e[1]!==n||e[2]!==a||e[3]!==i||e[4]!==s){let b;e[9]!==t.selectedNrens||e[10]!==t.selectedYears?(b=R=>t.selectedYears.includes(R.year)&&t.selectedNrens.includes(R.nren),e[9]=t.selectedNrens,e[10]=t.selectedYears,e[11]=b):b=e[11],r=i.filter(b),c=O(r,t.selectedYears[0]);let d;e[12]!==s?(d=[...s],e[12]=s,e[13]=d):d=e[13];let p;e[14]!==n?(p=n.values(),e[14]=n,e[15]=p):p=e[15];let u;e[16]!==p?(u=[...p],e[16]=p,e[17]=u):u=e[17];let h;e[18]!==d||e[19]!==u?(h={availableYears:d,availableNrens:u},e[18]=d,e[19]=u,e[20]=h):h=e[20];let _;e[21]!==t||e[22]!==a||e[23]!==h?(_=x.jsx(M,{max1year:!0,filterOptions:h,filterSelection:t,setFilterSelection:a}),e[21]=t,e[22]=a,e[23]=h,e[24]=_):_=e[24],l=_,y=Array.from(new Set(r.map(H))).map(R=>n.get(R)).filter(G),e[0]=t,e[1]=n,e[2]=a,e[3]=i,e[4]=s,e[5]=l,e[6]=r,e[7]=y,e[8]=c}else l=e[5],r=e[6],y=e[7],c=e[8];const D=y.length,S=`${Math.max(D*1.5,20)}rem`;let o;e[25]!==S?(o={height:S},e[25]=S,e[26]=o):o=e[26];let N;e[27]===Symbol.for("react.memo_cache_sentinel")?(N=[W],e[27]=N):N=e[27];let f;e[28]!==c?(f=x.jsx(E,{data:c,options:z,plugins:N}),e[28]=c,e[29]=f):f=e[29];let m;e[30]!==o||e[31]!==f?(m=x.jsx(q,{children:x.jsx("div",{className:"chart-container",style:o,children:f})}),e[30]=o,e[31]=f,e[32]=m):m=e[32];let k;return e[33]!==l||e[34]!==r||e[35]!==m?(k=x.jsx(T,{title:"Types of traffic in NREN networks (Commodity v. Research & Education)",description:"The graph shows the ratio of commodity versus research and education traffic in NREN networks",category:P.Network,filter:l,data:r,filename:"types_of_traffic_in_nren_networks",children:m}),e[33]=l,e[34]=r,e[35]=m,e[36]=k):k=e[36],k}function G(e){return!!e}function H(e){return e.nren}export{ae as default}; diff --git a/compendium_v2/static/TrafficUrl-DFoUKOws.js b/compendium_v2/static/TrafficUrl-DFoUKOws.js deleted file mode 100644 index 2e342d98..00000000 --- a/compendium_v2/static/TrafficUrl-DFoUKOws.js +++ /dev/null @@ -1 +0,0 @@ -import{a as S,r as j,F as k,j as p}from"./main-BIBsTO5W.js";import{u as T,q as _,k as g,i as v,D as y,F as L,f as R,s as F}from"./useData-BDYwoQEh.js";import{S as U}from"./report.js";import{N as w}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function z(){const e=S.c(21),{filterSelection:t,setFilterSelection:s}=j.useContext(k),{data:r,nrens:n}=T("/api/traffic-stats",s);let a,c;if(e[0]!==r||e[1]!==t.selectedNrens){const D=r?_(r):[];let d;e[4]!==t.selectedNrens?(d=h=>t.selectedNrens.includes(h.nren),e[4]=t.selectedNrens,e[5]=d):d=e[5],a=D.filter(d);const b=g(a);c=v(b,C),e[0]=r,e[1]=t.selectedNrens,e[2]=a,e[3]=c}else a=e[2],c=e[3];const x=c;let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f=[],e[6]=f):f=e[6];let i;e[7]!==n?(i=n.values(),e[7]=n,e[8]=i):i=e[8];let l;e[9]!==i?(l={availableYears:f,availableNrens:[...i]},e[9]=i,e[10]=l):l=e[10];let m;e[11]!==t||e[12]!==s||e[13]!==l?(m=p.jsx(L,{filterOptions:l,filterSelection:t,setFilterSelection:s,coloredYears:!0}),e[11]=t,e[12]=s,e[13]=l,e[14]=m):m=e[14];const N=m;let o;e[15]!==x?(o=p.jsx(R,{children:p.jsx(w,{data:x,columnTitle:"Traffic Statistics URL",dottedBorder:!0,noDots:!0,keysAreURLs:!0,removeDecoration:!0})}),e[15]=x,e[16]=o):o=e[16];let u;return e[17]!==N||e[18]!==a||e[19]!==o?(u=p.jsx(y,{title:"Traffic Statistics",description:"This table shows the URL links to NREN websites showing traffic statistics, if available.",category:U.Network,filter:N,data:a,filename:"traffic_stats_nrens_per_year",children:o}),e[17]=N,e[18]=a,e[19]=o,e[20]=u):u=e[20],u}function C(e,t){const s=F(t);if(s!=null)for(const[r,n]of Object.entries(s))e[r]=n}export{z as default}; diff --git a/compendium_v2/static/TrafficUrl-DrUJ6TNq.js b/compendium_v2/static/TrafficUrl-DrUJ6TNq.js new file mode 100644 index 00000000..c26d9c93 --- /dev/null +++ b/compendium_v2/static/TrafficUrl-DrUJ6TNq.js @@ -0,0 +1 @@ +import{c as S,r as j,F as k,j as p,S as T}from"./index.js";import{u as _,q as g,k as v,i as y,D as L,F as R,f as F,s as U}from"./useData-C0vA-Ut8.js";import{N as w}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function z(){const e=S.c(21),{filterSelection:t,setFilterSelection:s}=j.useContext(k),{data:r,nrens:n}=_("/api/traffic-stats",s);let a,c;if(e[0]!==r||e[1]!==t.selectedNrens){const D=r?g(r):[];let m;e[4]!==t.selectedNrens?(m=h=>t.selectedNrens.includes(h.nren),e[4]=t.selectedNrens,e[5]=m):m=e[5],a=D.filter(m);const b=v(a);c=y(b,C),e[0]=r,e[1]=t.selectedNrens,e[2]=a,e[3]=c}else a=e[2],c=e[3];const x=c;let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f=[],e[6]=f):f=e[6];let i;e[7]!==n?(i=n.values(),e[7]=n,e[8]=i):i=e[8];let l;e[9]!==i?(l={availableYears:f,availableNrens:[...i]},e[9]=i,e[10]=l):l=e[10];let u;e[11]!==t||e[12]!==s||e[13]!==l?(u=p.jsx(R,{filterOptions:l,filterSelection:t,setFilterSelection:s,coloredYears:!0}),e[11]=t,e[12]=s,e[13]=l,e[14]=u):u=e[14];const N=u;let o;e[15]!==x?(o=p.jsx(F,{children:p.jsx(w,{data:x,columnTitle:"Traffic Statistics URL",dottedBorder:!0,noDots:!0,keysAreURLs:!0,removeDecoration:!0})}),e[15]=x,e[16]=o):o=e[16];let d;return e[17]!==N||e[18]!==a||e[19]!==o?(d=p.jsx(L,{title:"Traffic Statistics",description:"This table shows the URL links to NREN websites showing traffic statistics, if available.",category:T.Network,filter:N,data:a,filename:"traffic_stats_nrens_per_year",children:o}),e[17]=N,e[18]=a,e[19]=o,e[20]=d):d=e[20],d}function C(e,t){const s=U(t);if(s!=null)for(const[r,n]of Object.entries(s))e[r]=n}export{z as default}; diff --git a/compendium_v2/static/TrafficVolume-5iEpLgxK.js b/compendium_v2/static/TrafficVolume-5iEpLgxK.js deleted file mode 100644 index 1f59c61e..00000000 --- a/compendium_v2/static/TrafficVolume-5iEpLgxK.js +++ /dev/null @@ -1 +0,0 @@ -import{a as A,r as G,F as U,j as t,C as L,R as W}from"./main-BIBsTO5W.js";import{L as P}from"./index-BBrAyDR9.js";import{C as Y,a as $,L as q,P as H,b as I,p as J,c as K,d as M,u as Q,e as V,D as X,F as Z,f as ee}from"./useData-BDYwoQEh.js";import{S as te}from"./report.js";import{g as se}from"./charthelpers-CCaYPWnR.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";Y.register($,q,H,I,J,K,M);function me(){const e=A.c(47),{filterSelection:r,setFilterSelection:N}=G.useContext(U),{data:v,nrens:B}=Q("/api/traffic-volume",N);let o,a,s,_,i;if(e[0]!==v||e[1]!==r.selectedNrens){let l;e[7]!==r.selectedNrens?(l=O=>r.selectedNrens.includes(O.nren),e[7]=r.selectedNrens,e[8]=l):l=e[8],s=v.filter(l),o=V(s,"from_customers"),i=V(s,"to_customers"),a=V(s,"from_external"),_=V(s,"to_external"),e[0]=v,e[1]=r.selectedNrens,e[2]=o,e[3]=a,e[4]=s,e[5]=_,e[6]=i}else o=e[2],a=e[3],s=e[4],_=e[5],i=e[6];const F=_;let g;e[9]===Symbol.for("react.memo_cache_sentinel")?(g=se({title:"Traffic Volume in PB",tooltipUnit:"PB",valueTransform(l){return l?l/1e3:0}}),e[9]=g):g=e[9];const b=g;let j;e[10]===Symbol.for("react.memo_cache_sentinel")?(j=[],e[10]=j):j=e[10];let n;e[11]!==B?(n=B.values(),e[11]=B,e[12]=n):n=e[12];let c;e[13]!==n?(c={availableYears:j,availableNrens:[...n]},e[13]=n,e[14]=c):c=e[14];let S;e[15]!==r||e[16]!==N||e[17]!==c?(S=t.jsx(Z,{filterOptions:c,filterSelection:r,setFilterSelection:N}),e[15]=r,e[16]=N,e[17]=c,e[18]=S):S=e[18];const z=S;let y;e[19]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsx("span",{children:"The four graphs below show the estimates of total annual traffic in PB (1000 TB) to & from NREN customers, and to & from external networks. NREN customers are taken to mean sources that are part of the NREN's connectivity remit, while external networks are understood as outside sources including GÉANT, the general/commercial internet, internet exchanges, peerings, other NRENs, etc."}),e[19]=y):y=e[19];let E;e[20]===Symbol.for("react.memo_cache_sentinel")?(E={marginBottom:"30px"},e[20]=E):E=e[20];let T;e[21]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx("span",{style:{fontSize:"20px",color:"rgb(85, 96, 156)",fontWeight:"bold"},children:"Traffic from NREN customer"}),e[21]=T):T=e[21];let f;e[22]!==o?(f=t.jsxs(L,{children:[T,t.jsx(P,{data:o,options:b})]}),e[22]=o,e[23]=f):f=e[23];let C;e[24]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx("span",{style:{fontSize:"20px",color:"rgb(221, 100, 57)",fontWeight:"bold"},children:"Traffic to NREN customer"}),e[24]=C):C=e[24];let m;e[25]!==i?(m=t.jsxs(L,{children:[C,t.jsx(P,{data:i,options:b})]}),e[25]=i,e[26]=m):m=e[26];let d;e[27]!==m||e[28]!==f?(d=t.jsxs(W,{style:E,children:[f,m]}),e[27]=m,e[28]=f,e[29]=d):d=e[29];let R;e[30]===Symbol.for("react.memo_cache_sentinel")?(R={marginTop:"30px"},e[30]=R):R=e[30];let w;e[31]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx("span",{style:{fontSize:"20px",color:"rgb(63, 143, 77)",fontWeight:"bold"},children:"Traffic from external network"}),e[31]=w):w=e[31];let x;e[32]!==a?(x=t.jsxs(L,{children:[w,t.jsx(P,{data:a,options:b})]}),e[32]=a,e[33]=x):x=e[33];let D;e[34]===Symbol.for("react.memo_cache_sentinel")?(D=t.jsx("span",{style:{fontSize:"20px",color:"rgb(173, 48, 51)",fontWeight:"bold"},children:"Traffic to external network"}),e[34]=D):D=e[34];let h;e[35]!==F?(h=t.jsxs(L,{children:[D,t.jsx(P,{data:F,options:b})]}),e[35]=F,e[36]=h):h=e[36];let p;e[37]!==x||e[38]!==h?(p=t.jsxs(W,{style:R,children:[x,h]}),e[37]=x,e[38]=h,e[39]=p):p=e[39];let u;e[40]!==d||e[41]!==p?(u=t.jsxs(ee,{children:[d,p]}),e[40]=d,e[41]=p,e[42]=u):u=e[42];let k;return e[43]!==z||e[44]!==s||e[45]!==u?(k=t.jsx(X,{title:"NREN Traffic - NREN Customers & External Networks",description:y,category:te.Network,filter:z,data:s,filename:"NREN_traffic_estimates_data",children:u}),e[43]=z,e[44]=s,e[45]=u,e[46]=k):k=e[46],k}export{me as default}; diff --git a/compendium_v2/static/TrafficVolume-DIkzyQG4.js b/compendium_v2/static/TrafficVolume-DIkzyQG4.js new file mode 100644 index 00000000..7a2ed55d --- /dev/null +++ b/compendium_v2/static/TrafficVolume-DIkzyQG4.js @@ -0,0 +1 @@ +import{c as A,r as G,F as U,j as t,S as Y,C as L,R as W}from"./index.js";import{L as P}from"./index-BJrPLJgf.js";import{C as $,a as q,L as H,P as I,b as J,p as K,c as M,d as Q,u as X,e as V,D as Z,F as ee,f as te}from"./useData-C0vA-Ut8.js";import{g as se}from"./charthelpers-BVChP9u-.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";$.register(q,H,I,J,K,M,Q);function me(){const e=A.c(47),{filterSelection:r,setFilterSelection:N}=G.useContext(U),{data:v,nrens:B}=X("/api/traffic-volume",N);let o,a,s,_,i;if(e[0]!==v||e[1]!==r.selectedNrens){let l;e[7]!==r.selectedNrens?(l=O=>r.selectedNrens.includes(O.nren),e[7]=r.selectedNrens,e[8]=l):l=e[8],s=v.filter(l),o=V(s,"from_customers"),i=V(s,"to_customers"),a=V(s,"from_external"),_=V(s,"to_external"),e[0]=v,e[1]=r.selectedNrens,e[2]=o,e[3]=a,e[4]=s,e[5]=_,e[6]=i}else o=e[2],a=e[3],s=e[4],_=e[5],i=e[6];const F=_;let g;e[9]===Symbol.for("react.memo_cache_sentinel")?(g=se({title:"Traffic Volume in PB",tooltipUnit:"PB",valueTransform(l){return l?l/1e3:0}}),e[9]=g):g=e[9];const b=g;let j;e[10]===Symbol.for("react.memo_cache_sentinel")?(j=[],e[10]=j):j=e[10];let n;e[11]!==B?(n=B.values(),e[11]=B,e[12]=n):n=e[12];let c;e[13]!==n?(c={availableYears:j,availableNrens:[...n]},e[13]=n,e[14]=c):c=e[14];let S;e[15]!==r||e[16]!==N||e[17]!==c?(S=t.jsx(ee,{filterOptions:c,filterSelection:r,setFilterSelection:N}),e[15]=r,e[16]=N,e[17]=c,e[18]=S):S=e[18];const z=S;let y;e[19]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsx("span",{children:"The four graphs below show the estimates of total annual traffic in PB (1000 TB) to & from NREN customers, and to & from external networks. NREN customers are taken to mean sources that are part of the NREN's connectivity remit, while external networks are understood as outside sources including GÉANT, the general/commercial internet, internet exchanges, peerings, other NRENs, etc."}),e[19]=y):y=e[19];let E;e[20]===Symbol.for("react.memo_cache_sentinel")?(E={marginBottom:"30px"},e[20]=E):E=e[20];let T;e[21]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx("span",{style:{fontSize:"20px",color:"rgb(85, 96, 156)",fontWeight:"bold"},children:"Traffic from NREN customer"}),e[21]=T):T=e[21];let f;e[22]!==o?(f=t.jsxs(L,{children:[T,t.jsx(P,{data:o,options:b})]}),e[22]=o,e[23]=f):f=e[23];let C;e[24]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx("span",{style:{fontSize:"20px",color:"rgb(221, 100, 57)",fontWeight:"bold"},children:"Traffic to NREN customer"}),e[24]=C):C=e[24];let m;e[25]!==i?(m=t.jsxs(L,{children:[C,t.jsx(P,{data:i,options:b})]}),e[25]=i,e[26]=m):m=e[26];let d;e[27]!==m||e[28]!==f?(d=t.jsxs(W,{style:E,children:[f,m]}),e[27]=m,e[28]=f,e[29]=d):d=e[29];let R;e[30]===Symbol.for("react.memo_cache_sentinel")?(R={marginTop:"30px"},e[30]=R):R=e[30];let w;e[31]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx("span",{style:{fontSize:"20px",color:"rgb(63, 143, 77)",fontWeight:"bold"},children:"Traffic from external network"}),e[31]=w):w=e[31];let x;e[32]!==a?(x=t.jsxs(L,{children:[w,t.jsx(P,{data:a,options:b})]}),e[32]=a,e[33]=x):x=e[33];let D;e[34]===Symbol.for("react.memo_cache_sentinel")?(D=t.jsx("span",{style:{fontSize:"20px",color:"rgb(173, 48, 51)",fontWeight:"bold"},children:"Traffic to external network"}),e[34]=D):D=e[34];let h;e[35]!==F?(h=t.jsxs(L,{children:[D,t.jsx(P,{data:F,options:b})]}),e[35]=F,e[36]=h):h=e[36];let p;e[37]!==x||e[38]!==h?(p=t.jsxs(W,{style:R,children:[x,h]}),e[37]=x,e[38]=h,e[39]=p):p=e[39];let u;e[40]!==d||e[41]!==p?(u=t.jsxs(te,{children:[d,p]}),e[40]=d,e[41]=p,e[42]=u):u=e[42];let k;return e[43]!==z||e[44]!==s||e[45]!==u?(k=t.jsx(Z,{title:"NREN Traffic - NREN Customers & External Networks",description:y,category:Y.Network,filter:z,data:s,filename:"NREN_traffic_estimates_data",children:u}),e[43]=z,e[44]=s,e[45]=u,e[46]=k):k=e[46],k}export{me as default}; diff --git a/compendium_v2/static/UserManagementComponent-Ch5kCM4m.js b/compendium_v2/static/UserManagementComponent-Ch5kCM4m.js new file mode 100644 index 00000000..bfdc6549 --- /dev/null +++ b/compendium_v2/static/UserManagementComponent-Ch5kCM4m.js @@ -0,0 +1 @@ +import{r as x,h as Ee,j as t,i as Te,aa as Re,c as Ae,ab as Ge,W as Oe,K as Se,x as Ue,D as Ve,R as Be}from"./index.js";import{k as de,D as Me}from"./index-BGZcCZJE.js";import{S as We}from"./SurveySidebar-NbXpjOVQ.js";import{c as qe,a as Ke}from"./index-DW4SYwQF.js";import{A as ae,l as Le}from"./lodash-CQPIyBv7.js";import{T as He}from"./Table-ClWM2_rS.js";import"./SideBar-Bzc5cONd.js";import"./hook-GVc5uk5F.js";const me=x.forwardRef(({className:e,bsPrefix:s,as:r="span",...c},l)=>(s=Ee(s,"input-group-text"),t.jsx(r,{ref:l,className:Te(e,s),...c})));me.displayName="InputGroupText";const Je=e=>t.jsx(me,{children:t.jsx(Re,{type:"checkbox",...e})}),Ye=e=>t.jsx(me,{children:t.jsx(Re,{type:"radio",...e})}),De=x.forwardRef(({bsPrefix:e,size:s,hasValidation:r,className:c,as:l="div",...a},h)=>{e=Ee(e,"input-group");const d=x.useMemo(()=>({}),[]);return t.jsx(qe.Provider,{value:d,children:t.jsx(l,{ref:h,...a,className:Te(c,e,s&&`${e}-${s}`,r&&"has-validation")})})});De.displayName="InputGroup";const ke=Object.assign(De,{Text:me,Radio:Ye,Checkbox:Je});function Qe(e){const s=Ae.c(10),{getConfig:r,setConfig:c}=x.useContext(Ge);let l;s[0]!==r||s[1]!==e?(l=r(e),s[0]=r,s[1]=e,s[2]=l):l=s[2];const a=l;let h;s[3]!==e||s[4]!==c?(h=(M,N)=>c(e,M,N),s[3]=e,s[4]=c,s[5]=h):h=s[5];let d;return s[6]!==a||s[7]!==e||s[8]!==h?(d={[e]:a,setConfig:h},s[6]=a,s[7]=e,s[8]=h,s[9]=d):d=s[9],d}async function Xe(){try{return await(await fetch("/api/user/list")).json()}catch{return[]}}async function Ze(){try{return await(await fetch("/api/nren/list")).json()}catch{return[]}}async function ze(e,s){const r={id:e,...s},c={method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)},l=await fetch(`/api/user/${e}`,c),a=await l.json();if(!l.ok)throw new Error(a.message);return de.success(a.message),a.user}async function Pe(e){if(!window.confirm(`Are you sure you want to delete ${e.name} (${e.email})?`))return!1;const r={method:"DELETE",headers:{"Content-Type":"application/json"}},c=await fetch(`/api/user/${e.id}`,r),l=await c.json();if(!c.ok)throw new Error(l.message);return de.success(l.message),!0}const K=(e,s)=>e.role!=="admin"&&s.role==="admin"?1:e.role==="admin"&&s.role!=="admin"?-1:e.role==="user"&&s.role!=="user"?1:s.role==="user"&&e.role!=="user"?-1:!e.permissions.active&&s.permissions.active?1:e.permissions.active&&!s.permissions.active?-1:e.name.localeCompare(s.name);function ut(){const e=Ae.c(88);let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=[],e[0]=s):s=e[0];const[r,c]=x.useState(s);let l;e[1]===Symbol.for("react.memo_cache_sentinel")?(l=[],e[1]=l):l=e[1];const[a,h]=x.useState(l),{user:d,setUser:M}=x.useContext(Oe);let N;e[2]===Symbol.for("react.memo_cache_sentinel")?(N={column:"ID",asc:!0},e[2]=N):N=e[2];const[f,Ne]=x.useState(N),[I,Ie]=x.useState(""),{setConfig:L,user_management:U}=Qe("user_management");let H;e[3]!==L||e[4]!==U?(H=(o,u)=>{const m=U??{},p=m==null?void 0:m.shownColumns;if(!p){L({...m,shownColumns:{[o]:u}});return}L({...m,shownColumns:{...p,[o]:u}})},e[3]=L,e[4]=U,e[5]=H):H=e[5];const ue=H;let J;e[6]!==U?(J=o=>{const u=U;if(!u)return!0;const m=u.shownColumns;return m?m[o]??!0:!0},e[6]=U,e[7]=J):J=e[7];const i=J;let Y,Q;e[8]===Symbol.for("react.memo_cache_sentinel")?(Y=()=>{Xe().then(o=>{c(o)}),Ze().then(o=>{h(o.sort(nt))})},Q=[],e[8]=Y,e[9]=Q):(Y=e[8],Q=e[9]),x.useEffect(Y,Q);let X;e[10]!==d.id||e[11]!==M||e[12]!==r?(X=(o,u)=>{const m=r.findIndex(v=>v.id===u.id),p=[...r],{name:q}=o.target,_={};q==="active"?_[q]=o.target.checked:_[q]=o.target.value,ze(u.id,_).then(v=>{v.id===d.id?M(v):(p[m]=v,c(p))}).catch(st)},e[10]=d.id,e[11]=M,e[12]=r,e[13]=X):X=e[13];const W=X;let Z;e[14]!==a?(Z=o=>{var u;return(u=a.find(m=>m.id==o||m.name==o))==null?void 0:u.id},e[14]=a,e[15]=Z):Z=e[15];const fe=Z,$e=tt,z=et;let k,E,T,j,y,g,R,A,C,b,w,D,$;if(e[16]!==I||e[17]!==fe||e[18]!==i||e[19]!==W||e[20]!==d||e[21]!==a||e[22]!==ue||e[23]!==f.asc||e[24]!==f.column||e[25]!==r){const o=["ID","Active","Role","Email","Full Name","OIDC Sub","NREN","Actions"],u={[o[1]]:$e,[o[2]]:z("role"),[o[3]]:z("email"),[o[4]]:z("name"),[o[6]]:z("nrens")},m=n=>{n===f.column?Ne({column:n,asc:!f.asc}):Ne({column:n,asc:!0})},p={};Array.from(Object.keys(u)).includes(f.column)?p[f.column]={"aria-sort":f.asc?"ascending":"descending"}:p[o[0]]={"aria-sort":f.asc?"ascending":"descending"};const q=u[f.column]??K,v=(I?r.filter(n=>n.email.includes(I)||n.name.includes(I)):r).filter(n=>n.id!==d.id).sort(q);f.asc||v.reverse(),e[39]===Symbol.for("react.memo_cache_sentinel")?(b=t.jsx(We,{}),w=t.jsx(Me,{}),e[39]=b,e[40]=w):(b=e[39],w=e[40]),E=Ve,A="py-5 grey-container";let ee;e[41]===Symbol.for("react.memo_cache_sentinel")?(ee=t.jsx("div",{className:"text-center w-100 mb-3",children:t.jsx("h3",{children:"User Management Page"})}),e[41]=ee):ee=e[41];let te;e[42]===Symbol.for("react.memo_cache_sentinel")?(te={width:"30rem"},e[42]=te):te=e[42];let se;e[43]===Symbol.for("react.memo_cache_sentinel")?(se=t.jsxs(ae.Header,{children:[t.jsx("span",{className:"me-2",children:"Column Visibility"}),t.jsx("small",{className:"text-muted",children:"Choose which columns to display"})]}),e[43]=se):se=e[43];let ne;e[44]===Symbol.for("react.memo_cache_sentinel")?(ne=t.jsx("small",{className:"text-muted mb-2 d-block",children:"Select which columns you want to display in the table below. Unchecked columns will be hidden."}),e[44]=ne):ne=e[44];let oe;e[45]===Symbol.for("react.memo_cache_sentinel")?(oe={gridTemplateColumns:"repeat(auto-fill, minmax(150px, 1fr))",gap:"10px"},e[45]=oe):oe=e[45];const he=t.jsx("div",{className:"d-grid",style:oe,children:o.map(n=>t.jsx(Se.Check,{type:"checkbox",id:`column-${n}`,label:n,checked:i(n),onChange:S=>ue(n,S.target.checked)},n))});let B;e[46]!==he?(B=t.jsx(ae,{className:"mb-3",style:te,children:t.jsxs(ae.Item,{eventKey:"0",children:[se,t.jsx(ae.Body,{children:t.jsxs(Se.Control,{as:"div",className:"p-3",children:[ne,he]})})]})}),e[46]=he,e[47]=B):B=e[47];let re,le;e[48]===Symbol.for("react.memo_cache_sentinel")?(re={width:"30rem"},le=t.jsx(ke.Text,{id:"search-text",children:"Search"}),e[48]=re,e[49]=le):(re=e[48],le=e[49]);let ie;e[50]===Symbol.for("react.memo_cache_sentinel")?(ie=t.jsx(Se.Control,{placeholder:"Search by email/name","aria-label":"Search",onInput:Le.debounce(n=>Ie(n.target.value),200)}),e[50]=ie):ie=e[50];let ce;e[51]===Symbol.for("react.memo_cache_sentinel")?(ce=t.jsxs(ke,{className:"mb-3",style:re,children:[le,ie,t.jsx(Ue,{variant:"outline-secondary",onClick:()=>{Ie("")},children:"Clear"})]}),e[51]=ce):ce=e[51],e[52]!==B?(C=t.jsxs(Be,{className:"d-flex justify-content-center align-items-center flex-column",children:[ee,B,ce]}),e[52]=B,e[53]=C):C=e[53],R="d-flex justify-content-center",e[54]===Symbol.for("react.memo_cache_sentinel")?(g={maxWidth:"100rem"},e[54]=g):g=e[54],k=He,$="user-management-table",T=!0;const pe=i(o[0])&&t.jsx("col",{span:1,style:{width:"8rem"}}),xe=i(o[1])&&t.jsx("col",{span:1,style:{width:"3rem"}}),je=i(o[2])&&t.jsx("col",{span:1,style:{width:"4.5rem"}}),ye=i(o[3])&&t.jsx("col",{span:1,style:{width:"7rem"}}),ge=i(o[4])&&t.jsx("col",{span:1,style:{width:"5rem"}}),Ce=i(o[5])&&t.jsx("col",{span:1,style:{width:"5rem"}}),be=i(o[6])&&t.jsx("col",{span:1,style:{width:"6rem"}}),we=i(o[7])&&t.jsx("col",{span:1,style:{width:"3rem"}});e[55]!==pe||e[56]!==xe||e[57]!==je||e[58]!==ye||e[59]!==ge||e[60]!==Ce||e[61]!==be||e[62]!==we?(j=t.jsxs("colgroup",{children:[pe,xe,je,ye,ge,Ce,be,we]}),e[55]=pe,e[56]=xe,e[57]=je,e[58]=ye,e[59]=ge,e[60]=Ce,e[61]=be,e[62]=we,e[63]=j):j=e[63];const ve=t.jsx("tr",{children:o.map(n=>i(n)&&t.jsx("th",{...p[n],onClick:()=>m(n),className:"sortable fixed-column",style:{border:"1px solid #ddd"},children:n},n))});e[64]!==ve?(y=t.jsx("thead",{children:ve}),e[64]=ve,e[65]=y):y=e[65],D=t.jsx("tbody",{children:(I?[]:[d]).concat(v).map(n=>t.jsxs("tr",{style:{fontWeight:n.id==d.id?"bold":"normal"},children:[i(o[0])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.id}),i(o[1])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.id==d.id?t.jsx(Ke,{}):t.jsx("input",{type:"checkbox",name:"active",checked:n.permissions.active,onChange:S=>W(S,n)})}),i(o[2])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.id==d.id?n.role.charAt(0).toUpperCase()+n.role.slice(1):t.jsxs("select",{name:"role",defaultValue:n.role,onChange:S=>W(S,n),style:{width:"100%"},children:[t.jsx("option",{value:"admin",children:"Admin"}),t.jsx("option",{value:"user",children:"User"}),t.jsx("option",{value:"observer",children:"Observer"})]})}),i(o[3])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.email}),i(o[4])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.name}),i(o[5])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.oidc_sub}),i(o[6])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:t.jsxs("select",{name:"nren",multiple:!1,value:n.nrens.length>0?fe(n.nrens[0]):"",onChange:S=>W(S,n),children:[t.jsx("option",{value:"",children:"Select NREN"}),a.map(_e)]})}),i(o[7])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.id!==d.id&&t.jsx(Ue,{variant:"danger",onClick:async()=>{if(n.id===d.id){de.error("You cannot delete yourself");return}await Pe(n)&&c(r.filter(Fe=>Fe.id!==n.id))},children:"Delete"})})]},n.id))}),e[16]=I,e[17]=fe,e[18]=i,e[19]=W,e[20]=d,e[21]=a,e[22]=ue,e[23]=f.asc,e[24]=f.column,e[25]=r,e[26]=k,e[27]=E,e[28]=T,e[29]=j,e[30]=y,e[31]=g,e[32]=R,e[33]=A,e[34]=C,e[35]=b,e[36]=w,e[37]=D,e[38]=$}else k=e[26],E=e[27],T=e[28],j=e[29],y=e[30],g=e[31],R=e[32],A=e[33],C=e[34],b=e[35],w=e[36],D=e[37],$=e[38];let F;e[66]!==k||e[67]!==T||e[68]!==j||e[69]!==y||e[70]!==D||e[71]!==$?(F=t.jsxs(k,{className:$,bordered:T,children:[j,y,D]}),e[66]=k,e[67]=T,e[68]=j,e[69]=y,e[70]=D,e[71]=$,e[72]=F):F=e[72];let G;e[73]!==g||e[74]!==F?(G=t.jsx("div",{style:g,children:F}),e[73]=g,e[74]=F,e[75]=G):G=e[75];let O;e[76]!==R||e[77]!==G?(O=t.jsx("div",{className:R,children:G}),e[76]=R,e[77]=G,e[78]=O):O=e[78];let V;e[79]!==E||e[80]!==A||e[81]!==C||e[82]!==O?(V=t.jsxs(E,{className:A,children:[C,O]}),e[79]=E,e[80]=A,e[81]=C,e[82]=O,e[83]=V):V=e[83];let P;return e[84]!==b||e[85]!==w||e[86]!==V?(P=t.jsxs(t.Fragment,{children:[b,w,V]}),e[84]=b,e[85]=w,e[86]=V,e[87]=P):P=e[87],P}function _e(e){return t.jsx("option",{value:e.id,children:e.name},e.id)}function et(e){return(s,r)=>{const c=s[e],l=r[e];if(e==="nrens")return s.nrens.length===0&&r.nrens.length===0?K(s,r):s.nrens.length===0?-1:r.nrens.length===0?1:s.nrens[0].localeCompare(r.nrens[0]);if(typeof c!="string"||typeof l!="string")return K(s,r);const a=c.localeCompare(l);return a===0?K(s,r):a}}function tt(e,s){return e.permissions.active&&!s.permissions.active?1:!e.permissions.active&&s.permissions.active?-1:K(e,s)}function st(e){de.error(e.message)}function nt(e,s){return e.name.localeCompare(s.name)}export{ut as default}; diff --git a/compendium_v2/static/UserManagementComponent-CiWfGwDf.js b/compendium_v2/static/UserManagementComponent-CiWfGwDf.js deleted file mode 100644 index a289f4e7..00000000 --- a/compendium_v2/static/UserManagementComponent-CiWfGwDf.js +++ /dev/null @@ -1 +0,0 @@ -import{r as x,u as Ee,j as t,c as Te,ab as Re,a as Ae,ac as Ve,g as Ge,V as Se,N as Ue,e as Oe,R as Be}from"./main-BIBsTO5W.js";import{k as de,D as Me}from"./index-CuSQpLoM.js";import{S as qe}from"./survey.js";import{c as Le,a as We}from"./index-D6hre9Be.js";import{A as ae,l as He}from"./lodash-BjwYmmCl.js";import{T as Je}from"./Table-HH9WOnMU.js";import"./xlsx-CxqzP9DR.js";import"./hook-DmuGcAOd.js";const me=x.forwardRef(({className:e,bsPrefix:s,as:r="span",...c},l)=>(s=Ee(s,"input-group-text"),t.jsx(r,{ref:l,className:Te(e,s),...c})));me.displayName="InputGroupText";const Ke=e=>t.jsx(me,{children:t.jsx(Re,{type:"checkbox",...e})}),Ye=e=>t.jsx(me,{children:t.jsx(Re,{type:"radio",...e})}),$e=x.forwardRef(({bsPrefix:e,size:s,hasValidation:r,className:c,as:l="div",...a},h)=>{e=Ee(e,"input-group");const d=x.useMemo(()=>({}),[]);return t.jsx(Le.Provider,{value:d,children:t.jsx(l,{ref:h,...a,className:Te(c,e,s&&`${e}-${s}`,r&&"has-validation")})})});$e.displayName="InputGroup";const ke=Object.assign($e,{Text:me,Radio:Ye,Checkbox:Ke});function Qe(e){const s=Ae.c(10),{getConfig:r,setConfig:c}=x.useContext(Ve);let l;s[0]!==r||s[1]!==e?(l=r(e),s[0]=r,s[1]=e,s[2]=l):l=s[2];const a=l;let h;s[3]!==e||s[4]!==c?(h=(M,N)=>c(e,M,N),s[3]=e,s[4]=c,s[5]=h):h=s[5];let d;return s[6]!==a||s[7]!==e||s[8]!==h?(d={[e]:a,setConfig:h},s[6]=a,s[7]=e,s[8]=h,s[9]=d):d=s[9],d}async function Xe(){try{return await(await fetch("/api/user/list")).json()}catch{return[]}}async function Ze(){try{return await(await fetch("/api/nren/list")).json()}catch{return[]}}async function ze(e,s){const r={id:e,...s},c={method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)},l=await fetch(`/api/user/${e}`,c),a=await l.json();if(!l.ok)throw new Error(a.message);return de.success(a.message),a.user}async function Pe(e){if(!window.confirm(`Are you sure you want to delete ${e.name} (${e.email})?`))return!1;const r={method:"DELETE",headers:{"Content-Type":"application/json"}},c=await fetch(`/api/user/${e.id}`,r),l=await c.json();if(!c.ok)throw new Error(l.message);return de.success(l.message),!0}const W=(e,s)=>e.role!=="admin"&&s.role==="admin"?1:e.role==="admin"&&s.role!=="admin"?-1:e.role==="user"&&s.role!=="user"?1:s.role==="user"&&e.role!=="user"?-1:!e.permissions.active&&s.permissions.active?1:e.permissions.active&&!s.permissions.active?-1:e.name.localeCompare(s.name);function ut(){const e=Ae.c(88);let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=[],e[0]=s):s=e[0];const[r,c]=x.useState(s);let l;e[1]===Symbol.for("react.memo_cache_sentinel")?(l=[],e[1]=l):l=e[1];const[a,h]=x.useState(l),{user:d,setUser:M}=x.useContext(Ge);let N;e[2]===Symbol.for("react.memo_cache_sentinel")?(N={column:"ID",asc:!0},e[2]=N):N=e[2];const[f,Ne]=x.useState(N),[I,Ie]=x.useState(""),{setConfig:H,user_management:U}=Qe("user_management");let J;e[3]!==H||e[4]!==U?(J=(o,u)=>{const m=U??{},p=m==null?void 0:m.shownColumns;if(!p){H({...m,shownColumns:{[o]:u}});return}H({...m,shownColumns:{...p,[o]:u}})},e[3]=H,e[4]=U,e[5]=J):J=e[5];const ue=J;let K;e[6]!==U?(K=o=>{const u=U;if(!u)return!0;const m=u.shownColumns;return m?m[o]??!0:!0},e[6]=U,e[7]=K):K=e[7];const i=K;let Y,Q;e[8]===Symbol.for("react.memo_cache_sentinel")?(Y=()=>{Xe().then(o=>{c(o)}),Ze().then(o=>{h(o.sort(nt))})},Q=[],e[8]=Y,e[9]=Q):(Y=e[8],Q=e[9]),x.useEffect(Y,Q);let X;e[10]!==d.id||e[11]!==M||e[12]!==r?(X=(o,u)=>{const m=r.findIndex(v=>v.id===u.id),p=[...r],{name:L}=o.target,_={};L==="active"?_[L]=o.target.checked:_[L]=o.target.value,ze(u.id,_).then(v=>{v.id===d.id?M(v):(p[m]=v,c(p))}).catch(st)},e[10]=d.id,e[11]=M,e[12]=r,e[13]=X):X=e[13];const q=X;let Z;e[14]!==a?(Z=o=>{var u;return(u=a.find(m=>m.id==o||m.name==o))==null?void 0:u.id},e[14]=a,e[15]=Z):Z=e[15];const fe=Z,De=tt,z=et;let k,E,T,j,y,g,R,A,C,b,w,$,D;if(e[16]!==I||e[17]!==fe||e[18]!==i||e[19]!==q||e[20]!==d||e[21]!==a||e[22]!==ue||e[23]!==f.asc||e[24]!==f.column||e[25]!==r){const o=["ID","Active","Role","Email","Full Name","OIDC Sub","NREN","Actions"],u={[o[1]]:De,[o[2]]:z("role"),[o[3]]:z("email"),[o[4]]:z("name"),[o[6]]:z("nrens")},m=n=>{n===f.column?Ne({column:n,asc:!f.asc}):Ne({column:n,asc:!0})},p={};Array.from(Object.keys(u)).includes(f.column)?p[f.column]={"aria-sort":f.asc?"ascending":"descending"}:p[o[0]]={"aria-sort":f.asc?"ascending":"descending"};const L=u[f.column]??W,v=(I?r.filter(n=>n.email.includes(I)||n.name.includes(I)):r).filter(n=>n.id!==d.id).sort(L);f.asc||v.reverse(),e[39]===Symbol.for("react.memo_cache_sentinel")?(b=t.jsx(qe,{}),w=t.jsx(Me,{}),e[39]=b,e[40]=w):(b=e[39],w=e[40]),E=Oe,A="py-5 grey-container";let ee;e[41]===Symbol.for("react.memo_cache_sentinel")?(ee=t.jsx("div",{className:"text-center w-100 mb-3",children:t.jsx("h3",{children:"User Management Page"})}),e[41]=ee):ee=e[41];let te;e[42]===Symbol.for("react.memo_cache_sentinel")?(te={width:"30rem"},e[42]=te):te=e[42];let se;e[43]===Symbol.for("react.memo_cache_sentinel")?(se=t.jsxs(ae.Header,{children:[t.jsx("span",{className:"me-2",children:"Column Visibility"}),t.jsx("small",{className:"text-muted",children:"Choose which columns to display"})]}),e[43]=se):se=e[43];let ne;e[44]===Symbol.for("react.memo_cache_sentinel")?(ne=t.jsx("small",{className:"text-muted mb-2 d-block",children:"Select which columns you want to display in the table below. Unchecked columns will be hidden."}),e[44]=ne):ne=e[44];let oe;e[45]===Symbol.for("react.memo_cache_sentinel")?(oe={gridTemplateColumns:"repeat(auto-fill, minmax(150px, 1fr))",gap:"10px"},e[45]=oe):oe=e[45];const he=t.jsx("div",{className:"d-grid",style:oe,children:o.map(n=>t.jsx(Se.Check,{type:"checkbox",id:`column-${n}`,label:n,checked:i(n),onChange:S=>ue(n,S.target.checked)},n))});let B;e[46]!==he?(B=t.jsx(ae,{className:"mb-3",style:te,children:t.jsxs(ae.Item,{eventKey:"0",children:[se,t.jsx(ae.Body,{children:t.jsxs(Se.Control,{as:"div",className:"p-3",children:[ne,he]})})]})}),e[46]=he,e[47]=B):B=e[47];let re,le;e[48]===Symbol.for("react.memo_cache_sentinel")?(re={width:"30rem"},le=t.jsx(ke.Text,{id:"search-text",children:"Search"}),e[48]=re,e[49]=le):(re=e[48],le=e[49]);let ie;e[50]===Symbol.for("react.memo_cache_sentinel")?(ie=t.jsx(Se.Control,{placeholder:"Search by email/name","aria-label":"Search",onInput:He.debounce(n=>Ie(n.target.value),200)}),e[50]=ie):ie=e[50];let ce;e[51]===Symbol.for("react.memo_cache_sentinel")?(ce=t.jsxs(ke,{className:"mb-3",style:re,children:[le,ie,t.jsx(Ue,{variant:"outline-secondary",onClick:()=>{Ie("")},children:"Clear"})]}),e[51]=ce):ce=e[51],e[52]!==B?(C=t.jsxs(Be,{className:"d-flex justify-content-center align-items-center flex-column",children:[ee,B,ce]}),e[52]=B,e[53]=C):C=e[53],R="d-flex justify-content-center",e[54]===Symbol.for("react.memo_cache_sentinel")?(g={maxWidth:"100rem"},e[54]=g):g=e[54],k=Je,D="user-management-table",T=!0;const pe=i(o[0])&&t.jsx("col",{span:1,style:{width:"8rem"}}),xe=i(o[1])&&t.jsx("col",{span:1,style:{width:"3rem"}}),je=i(o[2])&&t.jsx("col",{span:1,style:{width:"4.5rem"}}),ye=i(o[3])&&t.jsx("col",{span:1,style:{width:"7rem"}}),ge=i(o[4])&&t.jsx("col",{span:1,style:{width:"5rem"}}),Ce=i(o[5])&&t.jsx("col",{span:1,style:{width:"5rem"}}),be=i(o[6])&&t.jsx("col",{span:1,style:{width:"6rem"}}),we=i(o[7])&&t.jsx("col",{span:1,style:{width:"3rem"}});e[55]!==pe||e[56]!==xe||e[57]!==je||e[58]!==ye||e[59]!==ge||e[60]!==Ce||e[61]!==be||e[62]!==we?(j=t.jsxs("colgroup",{children:[pe,xe,je,ye,ge,Ce,be,we]}),e[55]=pe,e[56]=xe,e[57]=je,e[58]=ye,e[59]=ge,e[60]=Ce,e[61]=be,e[62]=we,e[63]=j):j=e[63];const ve=t.jsx("tr",{children:o.map(n=>i(n)&&t.jsx("th",{...p[n],onClick:()=>m(n),className:"sortable fixed-column",style:{border:"1px solid #ddd"},children:n},n))});e[64]!==ve?(y=t.jsx("thead",{children:ve}),e[64]=ve,e[65]=y):y=e[65],$=t.jsx("tbody",{children:(I?[]:[d]).concat(v).map(n=>t.jsxs("tr",{style:{fontWeight:n.id==d.id?"bold":"normal"},children:[i(o[0])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.id}),i(o[1])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.id==d.id?t.jsx(We,{}):t.jsx("input",{type:"checkbox",name:"active",checked:n.permissions.active,onChange:S=>q(S,n)})}),i(o[2])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.id==d.id?n.role.charAt(0).toUpperCase()+n.role.slice(1):t.jsxs("select",{name:"role",defaultValue:n.role,onChange:S=>q(S,n),style:{width:"100%"},children:[t.jsx("option",{value:"admin",children:"Admin"}),t.jsx("option",{value:"user",children:"User"}),t.jsx("option",{value:"observer",children:"Observer"})]})}),i(o[3])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.email}),i(o[4])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.name}),i(o[5])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.oidc_sub}),i(o[6])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:t.jsxs("select",{name:"nren",multiple:!1,value:n.nrens.length>0?fe(n.nrens[0]):"",onChange:S=>q(S,n),children:[t.jsx("option",{value:"",children:"Select NREN"}),a.map(_e)]})}),i(o[7])&&t.jsx("td",{style:{border:"1px dotted #ddd"},children:n.id!==d.id&&t.jsx(Ue,{variant:"danger",onClick:async()=>{if(n.id===d.id){de.error("You cannot delete yourself");return}await Pe(n)&&c(r.filter(Fe=>Fe.id!==n.id))},children:"Delete"})})]},n.id))}),e[16]=I,e[17]=fe,e[18]=i,e[19]=q,e[20]=d,e[21]=a,e[22]=ue,e[23]=f.asc,e[24]=f.column,e[25]=r,e[26]=k,e[27]=E,e[28]=T,e[29]=j,e[30]=y,e[31]=g,e[32]=R,e[33]=A,e[34]=C,e[35]=b,e[36]=w,e[37]=$,e[38]=D}else k=e[26],E=e[27],T=e[28],j=e[29],y=e[30],g=e[31],R=e[32],A=e[33],C=e[34],b=e[35],w=e[36],$=e[37],D=e[38];let F;e[66]!==k||e[67]!==T||e[68]!==j||e[69]!==y||e[70]!==$||e[71]!==D?(F=t.jsxs(k,{className:D,bordered:T,children:[j,y,$]}),e[66]=k,e[67]=T,e[68]=j,e[69]=y,e[70]=$,e[71]=D,e[72]=F):F=e[72];let V;e[73]!==g||e[74]!==F?(V=t.jsx("div",{style:g,children:F}),e[73]=g,e[74]=F,e[75]=V):V=e[75];let G;e[76]!==R||e[77]!==V?(G=t.jsx("div",{className:R,children:V}),e[76]=R,e[77]=V,e[78]=G):G=e[78];let O;e[79]!==E||e[80]!==A||e[81]!==C||e[82]!==G?(O=t.jsxs(E,{className:A,children:[C,G]}),e[79]=E,e[80]=A,e[81]=C,e[82]=G,e[83]=O):O=e[83];let P;return e[84]!==b||e[85]!==w||e[86]!==O?(P=t.jsxs(t.Fragment,{children:[b,w,O]}),e[84]=b,e[85]=w,e[86]=O,e[87]=P):P=e[87],P}function _e(e){return t.jsx("option",{value:e.id,children:e.name},e.id)}function et(e){return(s,r)=>{const c=s[e],l=r[e];if(e==="nrens")return s.nrens.length===0&&r.nrens.length===0?W(s,r):s.nrens.length===0?-1:r.nrens.length===0?1:s.nrens[0].localeCompare(r.nrens[0]);if(typeof c!="string"||typeof l!="string")return W(s,r);const a=c.localeCompare(l);return a===0?W(s,r):a}}function tt(e,s){return e.permissions.active&&!s.permissions.active?1:!e.permissions.active&&s.permissions.active?-1:W(e,s)}function st(e){de.error(e.message)}function nt(e,s){return e.name.localeCompare(s.name)}export{ut as default}; diff --git a/compendium_v2/static/WeatherMap-BWtEGyUR.js b/compendium_v2/static/WeatherMap-BWtEGyUR.js new file mode 100644 index 00000000..2085e69f --- /dev/null +++ b/compendium_v2/static/WeatherMap-BWtEGyUR.js @@ -0,0 +1 @@ +import{c as _,r as b,F as w,j as d,S as g}from"./index.js";import{u as j,q as R,k as S,i as v,D as y,F as E,f as F}from"./useData-C0vA-Ut8.js";import{N as L}from"./NrenYearTable-BZB2R3F1.js";import"./SideBar-Bzc5cONd.js";import"./xlsx-BHRztzV8.js";import"./index-DW4SYwQF.js";import"./hook-GVc5uk5F.js";import"./Table-ClWM2_rS.js";function q(){const e=_.c(21),{filterSelection:t,setFilterSelection:o}=b.useContext(w),{data:i,nrens:m}=j("/api/weather-map",o);let a,n;if(e[0]!==i||e[1]!==t.selectedNrens){const x=i?R(i):[];let u;e[4]!==t.selectedNrens?(u=k=>t.selectedNrens.includes(k.nren),e[4]=t.selectedNrens,e[5]=u):u=e[5],a=x.filter(u);const D=S(a);n=v(D,C),e[0]=i,e[1]=t.selectedNrens,e[2]=a,e[3]=n}else a=e[2],n=e[3];const N=n;let c;e[6]===Symbol.for("react.memo_cache_sentinel")?(c=[],e[6]=c):c=e[6];let s;e[7]!==m?(s=m.values(),e[7]=m,e[8]=s):s=e[8];let r;e[9]!==s?(r={availableYears:c,availableNrens:[...s]},e[9]=s,e[10]=r):r=e[10];let f;e[11]!==t||e[12]!==o||e[13]!==r?(f=d.jsx(E,{filterOptions:r,filterSelection:t,setFilterSelection:o,coloredYears:!0}),e[11]=t,e[12]=o,e[13]=r,e[14]=f):f=e[14];const h=f;let l;e[15]!==N?(l=d.jsx(F,{children:d.jsx(L,{data:N,columnTitle:"Network Weather Map",dottedBorder:!0,noDots:!0,keysAreURLs:!0,removeDecoration:!0})}),e[15]=N,e[16]=l):l=e[16];let p;return e[17]!==h||e[18]!==a||e[19]!==l?(p=d.jsx(y,{title:"NREN Online Network Weather Maps ",description:"This table shows the URL links to NREN websites showing weather map, if available.",category:g.Network,filter:h,data:a,filename:"weather_map_nrens_per_year",children:l}),e[17]=h,e[18]=a,e[19]=l,e[20]=p):p=e[20],p}function C(e,t){!!t.url&&(e[t.url]=t.url)}export{q as default}; diff --git a/compendium_v2/static/WeatherMap-CR-KiYaJ.js b/compendium_v2/static/WeatherMap-CR-KiYaJ.js deleted file mode 100644 index fa9e6078..00000000 --- a/compendium_v2/static/WeatherMap-CR-KiYaJ.js +++ /dev/null @@ -1 +0,0 @@ -import{a as _,r as b,F as w,j as m}from"./main-BIBsTO5W.js";import{u as g,q as j,k as R,i as S,D as v,F as y,f as E}from"./useData-BDYwoQEh.js";import{S as F}from"./report.js";import{N as L}from"./NrenYearTable-BuqomkXK.js";import"./xlsx-CxqzP9DR.js";import"./index-D6hre9Be.js";import"./hook-DmuGcAOd.js";import"./Table-HH9WOnMU.js";function q(){const e=_.c(21),{filterSelection:t,setFilterSelection:o}=b.useContext(w),{data:i,nrens:d}=g("/api/weather-map",o);let a,n;if(e[0]!==i||e[1]!==t.selectedNrens){const x=i?j(i):[];let u;e[4]!==t.selectedNrens?(u=k=>t.selectedNrens.includes(k.nren),e[4]=t.selectedNrens,e[5]=u):u=e[5],a=x.filter(u);const D=R(a);n=S(D,C),e[0]=i,e[1]=t.selectedNrens,e[2]=a,e[3]=n}else a=e[2],n=e[3];const N=n;let c;e[6]===Symbol.for("react.memo_cache_sentinel")?(c=[],e[6]=c):c=e[6];let r;e[7]!==d?(r=d.values(),e[7]=d,e[8]=r):r=e[8];let s;e[9]!==r?(s={availableYears:c,availableNrens:[...r]},e[9]=r,e[10]=s):s=e[10];let f;e[11]!==t||e[12]!==o||e[13]!==s?(f=m.jsx(y,{filterOptions:s,filterSelection:t,setFilterSelection:o,coloredYears:!0}),e[11]=t,e[12]=o,e[13]=s,e[14]=f):f=e[14];const h=f;let l;e[15]!==N?(l=m.jsx(E,{children:m.jsx(L,{data:N,columnTitle:"Network Weather Map",dottedBorder:!0,noDots:!0,keysAreURLs:!0,removeDecoration:!0})}),e[15]=N,e[16]=l):l=e[16];let p;return e[17]!==h||e[18]!==a||e[19]!==l?(p=m.jsx(v,{title:"NREN Online Network Weather Maps ",description:"This table shows the URL links to NREN websites showing weather map, if available.",category:F.Network,filter:h,data:a,filename:"weather_map_nrens_per_year",children:l}),e[17]=h,e[18]=a,e[19]=l,e[20]=p):p=e[20],p}function C(e,t){!!t.url&&(e[t.url]=t.url)}export{q as default}; diff --git a/compendium_v2/static/charthelpers-CCaYPWnR.js b/compendium_v2/static/charthelpers-BVChP9u-.js similarity index 96% rename from compendium_v2/static/charthelpers-CCaYPWnR.js rename to compendium_v2/static/charthelpers-BVChP9u-.js index 6499ca0b..edc3cbfa 100644 --- a/compendium_v2/static/charthelpers-CCaYPWnR.js +++ b/compendium_v2/static/charthelpers-BVChP9u-.js @@ -1 +1 @@ -import{C as l}from"./useData-BDYwoQEh.js";const x=({title:i,unit:c,tooltipPrefix:r,tooltipUnit:o,tickLimit:n,valueTransform:t})=>({responsive:!0,elements:{point:{pointStyle:"circle",pointRadius:4,pointBorderWidth:2,pointBackgroundColor:"white"}},animation:{duration:0},plugins:{legend:{display:!1},tooltip:{callbacks:{label:function(a){let s=r??(a.dataset.label||"");const e=t?t(a.parsed.y):a.parsed.y;return a.parsed.y!==null&&(s+=`: ${e} ${o||""}`),s}}}},scales:{y:{title:{display:!!i,text:i||""},ticks:{autoSkip:!0,maxTicksLimit:n,callback:a=>`${typeof a=="string"?a:t?t(a):a} ${c||""}`}}}}),y=({title:i,unit:c,tooltipPrefix:r,tooltipUnit:o,valueTransform:n})=>({maintainAspectRatio:!1,layout:{padding:{right:60}},animation:{duration:0},plugins:{legend:{display:!1},chartDataLabels:{font:{family:'"Open Sans", sans-serif'}},tooltip:{callbacks:{label:function(t){let a=r??(t.dataset.label||"");const s=n?n(t.parsed.x):t.parsed.x;return t.parsed.y!==null&&(a+=`: ${s} ${o||""}`),a}}}},scales:{x:{title:{display:!!i,text:i||""},position:"top",ticks:{callback:t=>t&&`${n?n(t):t} ${c||""}`}},x2:{title:{display:!!i,text:i||""},ticks:{callback:t=>t&&`${n?n(t):t} ${c||""}`},grid:{drawOnChartArea:!1},afterDataLimits:function(t){const a=Object.keys(l.instances);let s=-999999,e=999999;for(const d of a)l.instances[d]&&t.chart.scales.x2&&(e=Math.min(l.instances[d].scales.x.min,e),s=Math.max(l.instances[d].scales.x.max,s));t.chart.scales.x2.options.min=e,t.chart.scales.x2.options.max=s,t.chart.scales.x2.min=e,t.chart.scales.x2.max=s}},y:{stacked:!0,ticks:{autoSkip:!1}}},indexAxis:"y"});export{y as a,x as g}; +import{C as l}from"./useData-C0vA-Ut8.js";const x=({title:i,unit:c,tooltipPrefix:r,tooltipUnit:o,tickLimit:n,valueTransform:t})=>({responsive:!0,elements:{point:{pointStyle:"circle",pointRadius:4,pointBorderWidth:2,pointBackgroundColor:"white"}},animation:{duration:0},plugins:{legend:{display:!1},tooltip:{callbacks:{label:function(a){let s=r??(a.dataset.label||"");const e=t?t(a.parsed.y):a.parsed.y;return a.parsed.y!==null&&(s+=`: ${e} ${o||""}`),s}}}},scales:{y:{title:{display:!!i,text:i||""},ticks:{autoSkip:!0,maxTicksLimit:n,callback:a=>`${typeof a=="string"?a:t?t(a):a} ${c||""}`}}}}),y=({title:i,unit:c,tooltipPrefix:r,tooltipUnit:o,valueTransform:n})=>({maintainAspectRatio:!1,layout:{padding:{right:60}},animation:{duration:0},plugins:{legend:{display:!1},chartDataLabels:{font:{family:'"Open Sans", sans-serif'}},tooltip:{callbacks:{label:function(t){let a=r??(t.dataset.label||"");const s=n?n(t.parsed.x):t.parsed.x;return t.parsed.y!==null&&(a+=`: ${s} ${o||""}`),a}}}},scales:{x:{title:{display:!!i,text:i||""},position:"top",ticks:{callback:t=>t&&`${n?n(t):t} ${c||""}`}},x2:{title:{display:!!i,text:i||""},ticks:{callback:t=>t&&`${n?n(t):t} ${c||""}`},grid:{drawOnChartArea:!1},afterDataLimits:function(t){const a=Object.keys(l.instances);let s=-999999,e=999999;for(const d of a)l.instances[d]&&t.chart.scales.x2&&(e=Math.min(l.instances[d].scales.x.min,e),s=Math.max(l.instances[d].scales.x.max,s));t.chart.scales.x2.options.min=e,t.chart.scales.x2.options.max=s,t.chart.scales.x2.min=e,t.chart.scales.x2.max=s}},y:{stacked:!0,ticks:{autoSkip:!1}}},indexAxis:"y"});export{y as a,x as g}; diff --git a/compendium_v2/static/chartjs-plugin-datalabels.esm-D8EJYoxA.js b/compendium_v2/static/chartjs-plugin-datalabels.esm-BObV249o.js similarity index 99% rename from compendium_v2/static/chartjs-plugin-datalabels.esm-D8EJYoxA.js rename to compendium_v2/static/chartjs-plugin-datalabels.esm-BObV249o.js index 00088f2f..05ab77cf 100644 --- a/compendium_v2/static/chartjs-plugin-datalabels.esm-D8EJYoxA.js +++ b/compendium_v2/static/chartjs-plugin-datalabels.esm-BObV249o.js @@ -1,4 +1,4 @@ -import{x as g,y as J,z as f,A as K,E as q,G as V,H as W,I as p,J as Y,P as Q,B as Z,K as ee,M as re}from"./useData-BDYwoQEh.js";/*! +import{x as g,y as J,z as f,A as K,E as q,G as V,H as W,I as p,J as Y,P as Q,B as Z,K as ee,M as re}from"./useData-C0vA-Ut8.js";/*! * chartjs-plugin-datalabels v2.2.0 * https://chartjs-plugin-datalabels.netlify.app * (c) 2017-2022 chartjs-plugin-datalabels contributors diff --git a/compendium_v2/static/hook-DmuGcAOd.js b/compendium_v2/static/hook-DmuGcAOd.js deleted file mode 100644 index aadb4174..00000000 --- a/compendium_v2/static/hook-DmuGcAOd.js +++ /dev/null @@ -1 +0,0 @@ -import{W as d,r as p}from"./main-BIBsTO5W.js";function m(){return m=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var e in n)({}).hasOwnProperty.call(n,e)&&(r[e]=n[e])}return r},m.apply(null,arguments)}function b(r){return"default"+r.charAt(0).toUpperCase()+r.substr(1)}function y(r){var t=P(r,"string");return typeof t=="symbol"?t:String(t)}function P(r,t){if(typeof r!="object"||r===null)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var e=n.call(r,t);if(typeof e!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function g(r,t,n){var e=p.useRef(r!==void 0),o=p.useState(t),a=o[0],f=o[1],i=r!==void 0,l=e.current;return e.current=i,!i&&l&&a!==t&&f(t),[i?r:a,p.useCallback(function(c){for(var u=arguments.length,v=new Array(u>1?u-1:0),s=1;s<u;s++)v[s-1]=arguments[s];n&&n.apply(void 0,[c].concat(v)),f(c)},[n])]}function j(r,t){return Object.keys(t).reduce(function(n,e){var o,a=n,f=a[b(e)],i=a[e],l=d(a,[b(e),e].map(y)),c=t[e],u=g(i,f,r[c]),v=u[0],s=u[1];return m({},l,(o={},o[e]=v,o[c]=s,o))},r)}export{j as u}; diff --git a/compendium_v2/static/hook-GVc5uk5F.js b/compendium_v2/static/hook-GVc5uk5F.js new file mode 100644 index 00000000..0dd9348e --- /dev/null +++ b/compendium_v2/static/hook-GVc5uk5F.js @@ -0,0 +1 @@ +import{_ as d,r as p}from"./index.js";function m(){return m=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var e in n)({}).hasOwnProperty.call(n,e)&&(r[e]=n[e])}return r},m.apply(null,arguments)}function b(r){return"default"+r.charAt(0).toUpperCase()+r.substr(1)}function y(r){var t=P(r,"string");return typeof t=="symbol"?t:String(t)}function P(r,t){if(typeof r!="object"||r===null)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var e=n.call(r,t);if(typeof e!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function g(r,t,n){var e=p.useRef(r!==void 0),o=p.useState(t),a=o[0],f=o[1],i=r!==void 0,l=e.current;return e.current=i,!i&&l&&a!==t&&f(t),[i?r:a,p.useCallback(function(c){for(var u=arguments.length,v=new Array(u>1?u-1:0),s=1;s<u;s++)v[s-1]=arguments[s];n&&n.apply(void 0,[c].concat(v)),f(c)},[n])]}function j(r,t){return Object.keys(t).reduce(function(n,e){var o,a=n,f=a[b(e)],i=a[e],l=d(a,[b(e),e].map(y)),c=t[e],u=g(i,f,r[c]),v=u[0],s=u[1];return m({},l,(o={},o[e]=v,o[c]=s,o))},r)}export{j as u}; diff --git a/compendium_v2/static/index-BBrAyDR9.js b/compendium_v2/static/index-BBrAyDR9.js deleted file mode 100644 index faebc1f4..00000000 --- a/compendium_v2/static/index-BBrAyDR9.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a,i as h}from"./main-BIBsTO5W.js";import{C as b,t as L,v}from"./useData-BDYwoQEh.js";const C="label";function m(t,e){typeof t=="function"?t(e):t&&(t.current=e)}function B(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function y(t,e){t.labels=e}function E(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:C;const o=[];t.datasets=e.map(s=>{const u=t.datasets.find(i=>i[n]===s[n]);return!u||!s.data||o.includes(u)?{...s}:(o.push(u),Object.assign(u,s),u)})}function T(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C;const n={labels:[],datasets:[]};return y(n,t.labels),E(n,t.datasets,e),n}function j(t,e){const{height:n=150,width:o=300,redraw:s=!1,datasetIdKey:u,type:i,data:c,options:f,plugins:w=[],fallbackContent:I,updateMode:g,...K}=t,l=a.useRef(null),r=a.useRef(null),d=()=>{l.current&&(r.current=new b(l.current,{type:i,data:T(c,u),options:f&&{...f},plugins:w}),m(e,r.current))},p=()=>{m(e,null),r.current&&(r.current.destroy(),r.current=null)};return a.useEffect(()=>{!s&&r.current&&f&&B(r.current,f)},[s,f]),a.useEffect(()=>{!s&&r.current&&y(r.current.config.data,c.labels)},[s,c.labels]),a.useEffect(()=>{!s&&r.current&&c.datasets&&E(r.current.config.data,c.datasets,u)},[s,c.datasets]),a.useEffect(()=>{r.current&&(s?(p(),setTimeout(d)):r.current.update(g))},[s,f,c.labels,c.datasets,g]),a.useEffect(()=>{r.current&&(p(),setTimeout(d))},[i]),a.useEffect(()=>(d(),()=>p()),[]),h.createElement("canvas",{ref:l,role:"img",height:n,width:o,...K},I)}const D=a.forwardRef(j);function R(t,e){return b.register(e),a.forwardRef((n,o)=>h.createElement(D,{...n,ref:o,type:t}))}const M=R("line",L),P=R("bar",v);export{P as B,M as L}; diff --git a/compendium_v2/static/index-CuSQpLoM.js b/compendium_v2/static/index-BGZcCZJE.js similarity index 51% rename from compendium_v2/static/index-CuSQpLoM.js rename to compendium_v2/static/index-BGZcCZJE.js index a862d040..4bf28a53 100644 --- a/compendium_v2/static/index-CuSQpLoM.js +++ b/compendium_v2/static/index-BGZcCZJE.js @@ -1,4 +1,4 @@ -import{r as c}from"./main-BIBsTO5W.js";let T={data:""},F=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||T,_=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,H=/\/\*[^]*?\*\/| +/g,A=/\n+/g,b=(e,t)=>{let a="",o="",i="";for(let r in e){let n=e[r];r[0]=="@"?r[1]=="i"?a=r+" "+n+";":o+=r[1]=="f"?b(n,r):r+"{"+b(n,r[1]=="k"?"":t)+"}":typeof n=="object"?o+=b(n,t?t.replace(/([^,])+/g,s=>r.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,s):s?s+" "+l:l)):r):n!=null&&(r=/^--/.test(r)?r:r.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=b.p?b.p(r,n):r+":"+n+";")}return a+(t&&i?t+"{"+i+"}":i)+o},y={},P=e=>{if(typeof e=="object"){let t="";for(let a in e)t+=a+P(e[a]);return t}return e},L=(e,t,a,o,i)=>{let r=P(e),n=y[r]||(y[r]=(l=>{let d=0,u=11;for(;d<l.length;)u=101*u+l.charCodeAt(d++)>>>0;return"go"+u})(r));if(!y[n]){let l=r!==e?e:(d=>{let u,m,f=[{}];for(;u=_.exec(d.replace(H,""));)u[4]?f.shift():u[3]?(m=u[3].replace(A," ").trim(),f.unshift(f[0][m]=f[0][m]||{})):f[0][u[1]]=u[2].replace(A," ").trim();return f[0]})(e);y[n]=b(i?{["@keyframes "+n]:l}:l,a?"":"."+n)}let s=a&&y.g?y.g:null;return a&&(y.g=y[n]),((l,d,u,m)=>{m?d.data=d.data.replace(m,l):d.data.indexOf(l)===-1&&(d.data=u?l+d.data:d.data+l)})(y[n],t,o,s),n},U=(e,t,a)=>e.reduce((o,i,r)=>{let n=t[r];if(n&&n.call){let s=n(a),l=s&&s.props&&s.props.className||/^go/.test(s)&&s;n=l?"."+l:s&&typeof s=="object"?s.props?"":b(s,""):s===!1?"":s}return o+i+(n??"")},"");function j(e){let t=this||{},a=e.call?e(t.p):e;return L(a.unshift?a.raw?U(a,[].slice.call(arguments,1),t.p):a.reduce((o,i)=>Object.assign(o,i&&i.call?i(t.p):i),{}):a,F(t.target),t.g,t.o,t.k)}let I,N,z;j.bind({g:1});let h=j.bind({k:1});function q(e,t,a,o){b.p=t,I=e,N=a,z=o}function x(e,t){let a=this||{};return function(){let o=arguments;function i(r,n){let s=Object.assign({},r),l=s.className||i.className;a.p=Object.assign({theme:N&&N()},s),a.o=/ *go\d+/.test(l),s.className=j.apply(a,o)+(l?" "+l:"");let d=e;return e[0]&&(d=s.as||e,delete s.as),z&&d[0]&&z(s),I(d,s)}return i}}var R=e=>typeof e=="function",O=(e,t)=>R(e)?e(t):e,Y=(()=>{let e=0;return()=>(++e).toString()})(),M=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),Z=20,S=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,Z)};case 1:return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case 2:let{toast:a}=t;return S(e,{type:e.toasts.find(r=>r.id===a.id)?1:0,toast:a});case 3:let{toastId:o}=t;return{...e,toasts:e.toasts.map(r=>r.id===o||o===void 0?{...r,dismissed:!0,visible:!1}:r)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(r=>({...r,pauseDuration:r.pauseDuration+i}))}}},k=[],D={toasts:[],pausedAt:void 0},v=e=>{D=S(D,e),k.forEach(t=>{t(D)})},B={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},G=(e={})=>{let[t,a]=c.useState(D);c.useEffect(()=>(k.push(a),()=>{let i=k.indexOf(a);i>-1&&k.splice(i,1)}),[t]);let o=t.toasts.map(i=>{var r,n,s;return{...e,...e[i.type],...i,removeDelay:i.removeDelay||((r=e[i.type])==null?void 0:r.removeDelay)||(e==null?void 0:e.removeDelay),duration:i.duration||((n=e[i.type])==null?void 0:n.duration)||(e==null?void 0:e.duration)||B[i.type],style:{...e.style,...(s=e[i.type])==null?void 0:s.style,...i.style}}});return{...t,toasts:o}},J=(e,t="blank",a)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...a,id:(a==null?void 0:a.id)||Y()}),E=e=>(t,a)=>{let o=J(t,e,a);return v({type:2,toast:o}),o.id},p=(e,t)=>E("blank")(e,t);p.error=E("error");p.success=E("success");p.loading=E("loading");p.custom=E("custom");p.dismiss=e=>{v({type:3,toastId:e})};p.remove=e=>v({type:4,toastId:e});p.promise=(e,t,a)=>{let o=p.loading(t.loading,{...a,...a==null?void 0:a.loading});return typeof e=="function"&&(e=e()),e.then(i=>{let r=t.success?O(t.success,i):void 0;return r?p.success(r,{id:o,...a,...a==null?void 0:a.success}):p.dismiss(o),i}).catch(i=>{let r=t.error?O(t.error,i):void 0;r?p.error(r,{id:o,...a,...a==null?void 0:a.error}):p.dismiss(o)}),e};var K=(e,t)=>{v({type:1,toast:{id:e,height:t}})},Q=()=>{v({type:5,time:Date.now()})},w=new Map,V=1e3,W=(e,t=V)=>{if(w.has(e))return;let a=setTimeout(()=>{w.delete(e),v({type:4,toastId:e})},t);w.set(e,a)},X=e=>{let{toasts:t,pausedAt:a}=G(e);c.useEffect(()=>{if(a)return;let r=Date.now(),n=t.map(s=>{if(s.duration===1/0)return;let l=(s.duration||0)+s.pauseDuration-(r-s.createdAt);if(l<0){s.visible&&p.dismiss(s.id);return}return setTimeout(()=>p.dismiss(s.id),l)});return()=>{n.forEach(s=>s&&clearTimeout(s))}},[t,a]);let o=c.useCallback(()=>{a&&v({type:6,time:Date.now()})},[a]),i=c.useCallback((r,n)=>{let{reverseOrder:s=!1,gutter:l=8,defaultPosition:d}=n||{},u=t.filter(g=>(g.position||d)===(r.position||d)&&g.height),m=u.findIndex(g=>g.id===r.id),f=u.filter((g,C)=>C<m&&g.visible).length;return u.filter(g=>g.visible).slice(...s?[f+1]:[0,f]).reduce((g,C)=>g+(C.height||0)+l,0)},[t]);return c.useEffect(()=>{t.forEach(r=>{if(r.dismissed)W(r.id,r.removeDelay);else{let n=w.get(r.id);n&&(clearTimeout(n),w.delete(r.id))}})},[t]),{toasts:t,handlers:{updateHeight:K,startPause:Q,endPause:o,calculateOffset:i}}},ee=h` +import{r as c}from"./index.js";let T={data:""},F=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||T,_=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,H=/\/\*[^]*?\*\/| +/g,A=/\n+/g,b=(e,t)=>{let a="",o="",i="";for(let r in e){let n=e[r];r[0]=="@"?r[1]=="i"?a=r+" "+n+";":o+=r[1]=="f"?b(n,r):r+"{"+b(n,r[1]=="k"?"":t)+"}":typeof n=="object"?o+=b(n,t?t.replace(/([^,])+/g,s=>r.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,s):s?s+" "+l:l)):r):n!=null&&(r=/^--/.test(r)?r:r.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=b.p?b.p(r,n):r+":"+n+";")}return a+(t&&i?t+"{"+i+"}":i)+o},y={},P=e=>{if(typeof e=="object"){let t="";for(let a in e)t+=a+P(e[a]);return t}return e},L=(e,t,a,o,i)=>{let r=P(e),n=y[r]||(y[r]=(l=>{let d=0,u=11;for(;d<l.length;)u=101*u+l.charCodeAt(d++)>>>0;return"go"+u})(r));if(!y[n]){let l=r!==e?e:(d=>{let u,m,f=[{}];for(;u=_.exec(d.replace(H,""));)u[4]?f.shift():u[3]?(m=u[3].replace(A," ").trim(),f.unshift(f[0][m]=f[0][m]||{})):f[0][u[1]]=u[2].replace(A," ").trim();return f[0]})(e);y[n]=b(i?{["@keyframes "+n]:l}:l,a?"":"."+n)}let s=a&&y.g?y.g:null;return a&&(y.g=y[n]),((l,d,u,m)=>{m?d.data=d.data.replace(m,l):d.data.indexOf(l)===-1&&(d.data=u?l+d.data:d.data+l)})(y[n],t,o,s),n},U=(e,t,a)=>e.reduce((o,i,r)=>{let n=t[r];if(n&&n.call){let s=n(a),l=s&&s.props&&s.props.className||/^go/.test(s)&&s;n=l?"."+l:s&&typeof s=="object"?s.props?"":b(s,""):s===!1?"":s}return o+i+(n??"")},"");function j(e){let t=this||{},a=e.call?e(t.p):e;return L(a.unshift?a.raw?U(a,[].slice.call(arguments,1),t.p):a.reduce((o,i)=>Object.assign(o,i&&i.call?i(t.p):i),{}):a,F(t.target),t.g,t.o,t.k)}let I,N,z;j.bind({g:1});let h=j.bind({k:1});function q(e,t,a,o){b.p=t,I=e,N=a,z=o}function x(e,t){let a=this||{};return function(){let o=arguments;function i(r,n){let s=Object.assign({},r),l=s.className||i.className;a.p=Object.assign({theme:N&&N()},s),a.o=/ *go\d+/.test(l),s.className=j.apply(a,o)+(l?" "+l:"");let d=e;return e[0]&&(d=s.as||e,delete s.as),z&&d[0]&&z(s),I(d,s)}return i}}var R=e=>typeof e=="function",O=(e,t)=>R(e)?e(t):e,Y=(()=>{let e=0;return()=>(++e).toString()})(),M=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),Z=20,S=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,Z)};case 1:return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case 2:let{toast:a}=t;return S(e,{type:e.toasts.find(r=>r.id===a.id)?1:0,toast:a});case 3:let{toastId:o}=t;return{...e,toasts:e.toasts.map(r=>r.id===o||o===void 0?{...r,dismissed:!0,visible:!1}:r)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(r=>({...r,pauseDuration:r.pauseDuration+i}))}}},k=[],D={toasts:[],pausedAt:void 0},v=e=>{D=S(D,e),k.forEach(t=>{t(D)})},B={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},G=(e={})=>{let[t,a]=c.useState(D);c.useEffect(()=>(k.push(a),()=>{let i=k.indexOf(a);i>-1&&k.splice(i,1)}),[t]);let o=t.toasts.map(i=>{var r,n,s;return{...e,...e[i.type],...i,removeDelay:i.removeDelay||((r=e[i.type])==null?void 0:r.removeDelay)||(e==null?void 0:e.removeDelay),duration:i.duration||((n=e[i.type])==null?void 0:n.duration)||(e==null?void 0:e.duration)||B[i.type],style:{...e.style,...(s=e[i.type])==null?void 0:s.style,...i.style}}});return{...t,toasts:o}},J=(e,t="blank",a)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...a,id:(a==null?void 0:a.id)||Y()}),E=e=>(t,a)=>{let o=J(t,e,a);return v({type:2,toast:o}),o.id},p=(e,t)=>E("blank")(e,t);p.error=E("error");p.success=E("success");p.loading=E("loading");p.custom=E("custom");p.dismiss=e=>{v({type:3,toastId:e})};p.remove=e=>v({type:4,toastId:e});p.promise=(e,t,a)=>{let o=p.loading(t.loading,{...a,...a==null?void 0:a.loading});return typeof e=="function"&&(e=e()),e.then(i=>{let r=t.success?O(t.success,i):void 0;return r?p.success(r,{id:o,...a,...a==null?void 0:a.success}):p.dismiss(o),i}).catch(i=>{let r=t.error?O(t.error,i):void 0;r?p.error(r,{id:o,...a,...a==null?void 0:a.error}):p.dismiss(o)}),e};var K=(e,t)=>{v({type:1,toast:{id:e,height:t}})},Q=()=>{v({type:5,time:Date.now()})},w=new Map,V=1e3,W=(e,t=V)=>{if(w.has(e))return;let a=setTimeout(()=>{w.delete(e),v({type:4,toastId:e})},t);w.set(e,a)},X=e=>{let{toasts:t,pausedAt:a}=G(e);c.useEffect(()=>{if(a)return;let r=Date.now(),n=t.map(s=>{if(s.duration===1/0)return;let l=(s.duration||0)+s.pauseDuration-(r-s.createdAt);if(l<0){s.visible&&p.dismiss(s.id);return}return setTimeout(()=>p.dismiss(s.id),l)});return()=>{n.forEach(s=>s&&clearTimeout(s))}},[t,a]);let o=c.useCallback(()=>{a&&v({type:6,time:Date.now()})},[a]),i=c.useCallback((r,n)=>{let{reverseOrder:s=!1,gutter:l=8,defaultPosition:d}=n||{},u=t.filter(g=>(g.position||d)===(r.position||d)&&g.height),m=u.findIndex(g=>g.id===r.id),f=u.filter((g,C)=>C<m&&g.visible).length;return u.filter(g=>g.visible).slice(...s?[f+1]:[0,f]).reduce((g,C)=>g+(C.height||0)+l,0)},[t]);return c.useEffect(()=>{t.forEach(r=>{if(r.dismissed)W(r.id,r.removeDelay);else{let n=w.get(r.id);n&&(clearTimeout(n),w.delete(r.id))}})},[t]),{toasts:t,handlers:{updateHeight:K,startPause:Q,endPause:o,calculateOffset:i}}},ee=h` from { transform: scale(0) rotate(45deg); opacity: 0; diff --git a/compendium_v2/static/index-BJrPLJgf.js b/compendium_v2/static/index-BJrPLJgf.js new file mode 100644 index 00000000..fe6bafc8 --- /dev/null +++ b/compendium_v2/static/index-BJrPLJgf.js @@ -0,0 +1 @@ +import{r as a,f as h}from"./index.js";import{C as b,t as L,v}from"./useData-C0vA-Ut8.js";const C="label";function m(t,e){typeof t=="function"?t(e):t&&(t.current=e)}function B(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function y(t,e){t.labels=e}function E(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:C;const o=[];t.datasets=e.map(s=>{const u=t.datasets.find(i=>i[n]===s[n]);return!u||!s.data||o.includes(u)?{...s}:(o.push(u),Object.assign(u,s),u)})}function T(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C;const n={labels:[],datasets:[]};return y(n,t.labels),E(n,t.datasets,e),n}function j(t,e){const{height:n=150,width:o=300,redraw:s=!1,datasetIdKey:u,type:i,data:c,options:f,plugins:w=[],fallbackContent:I,updateMode:g,...K}=t,l=a.useRef(null),r=a.useRef(null),d=()=>{l.current&&(r.current=new b(l.current,{type:i,data:T(c,u),options:f&&{...f},plugins:w}),m(e,r.current))},p=()=>{m(e,null),r.current&&(r.current.destroy(),r.current=null)};return a.useEffect(()=>{!s&&r.current&&f&&B(r.current,f)},[s,f]),a.useEffect(()=>{!s&&r.current&&y(r.current.config.data,c.labels)},[s,c.labels]),a.useEffect(()=>{!s&&r.current&&c.datasets&&E(r.current.config.data,c.datasets,u)},[s,c.datasets]),a.useEffect(()=>{r.current&&(s?(p(),setTimeout(d)):r.current.update(g))},[s,f,c.labels,c.datasets,g]),a.useEffect(()=>{r.current&&(p(),setTimeout(d))},[i]),a.useEffect(()=>(d(),()=>p()),[]),h.createElement("canvas",{ref:l,role:"img",height:n,width:o,...K},I)}const D=a.forwardRef(j);function R(t,e){return b.register(e),a.forwardRef((n,o)=>h.createElement(D,{...n,ref:o,type:t}))}const M=R("line",L),P=R("bar",v);export{P as B,M as L}; diff --git a/compendium_v2/static/index-D6hre9Be.js b/compendium_v2/static/index-D6hre9Be.js deleted file mode 100644 index 1582af38..00000000 --- a/compendium_v2/static/index-D6hre9Be.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a,X as c}from"./main-BIBsTO5W.js";const o=a.createContext(null);o.displayName="InputGroupContext";function n(t){return c({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(t)}function e(t){return c({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"},child:[]}]})(t)}export{e as F,n as a,o as c}; diff --git a/compendium_v2/static/index-DW4SYwQF.js b/compendium_v2/static/index-DW4SYwQF.js new file mode 100644 index 00000000..0b7cafe5 --- /dev/null +++ b/compendium_v2/static/index-DW4SYwQF.js @@ -0,0 +1 @@ +import{r as a,T as c}from"./index.js";const o=a.createContext(null);o.displayName="InputGroupContext";function n(t){return c({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(t)}function e(t){return c({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"},child:[]}]})(t)}export{e as F,n as a,o as c}; diff --git a/compendium_v2/static/main.css b/compendium_v2/static/index.css similarity index 100% rename from compendium_v2/static/main.css rename to compendium_v2/static/index.css diff --git a/compendium_v2/static/index.html b/compendium_v2/static/index.html index dbe4602f..5c6eb42d 100644 --- a/compendium_v2/static/index.html +++ b/compendium_v2/static/index.html @@ -1,10 +1,12 @@ <!DOCTYPE html> -<html> +<html lang="en"> <head> <meta charset="utf-8"/> - <script type="module" crossorigin src="/static/report.js"></script> - <link rel="modulepreload" crossorigin href="/static/main-BIBsTO5W.js"> - <link rel="stylesheet" crossorigin href="/static/main.css"> + <meta name="viewport" content="width=device-width, initial-scale=1"/> + <meta name="description" content="The GÉANT Compendium of National Research and Education Networks in Europe is the result of a broad, collective effort to portray the networks of the research and education community in Europe and beyond. The annual NREN Compendium survey invites the world's NRENs to provide detailed information about their network, equipment and users. The results from this survey are highlighted in these studies."/> + <title>The GÉANT Compendium</title> + <script type="module" crossorigin src="/static/index.js"></script> + <link rel="stylesheet" crossorigin href="/static/index.css"> </head> <body> <div id="root"></div> diff --git a/compendium_v2/static/index.js b/compendium_v2/static/index.js new file mode 100644 index 00000000..48bd6743 --- /dev/null +++ b/compendium_v2/static/index.js @@ -0,0 +1,83 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["Budget-Dcza_nDS.js","index-BJrPLJgf.js","useData-C0vA-Ut8.js","SideBar-Bzc5cONd.js","xlsx-BHRztzV8.js","index-DW4SYwQF.js","hook-GVc5uk5F.js","charthelpers-BVChP9u-.js","ChargingStructure-LPcFjEsG.js","PillTable-Cnj0nnFy.js","ColorPill-CXvWIfWz.js","Table-ClWM2_rS.js","ECProjects-ChLCZHki.js","NrenYearTable-BZB2R3F1.js","FundingSource-Bwu0iwfm.js","chartjs-plugin-datalabels.esm-BObV249o.js","ParentOrganisation-D0KpPI2s.js","StaffGraph-BWU39hrJ.js","HTMLLegendPlugin-B1D8JXQI.js","StaffGraphAbsolute-CMxNAPzl.js","SubOrganisation-BBUAiix9.js","Audits-tIxneKrE.js","BusinessContinuity-WayIenw9.js","CentralProcurement-ILLJKzCj.js","CorporateStrategy-DZFOGJiQ.js","CrisisExercises-DgB-Jzeh.js","CrisisManagement-C6sQvzSe.js","EOSCListings-DH_4uObR.js","Policy-CyBHQ4RU.js","SecurityControls-cN55VGDF.js","ServiceLevelTargets-CAul_Bb5.js","ServiceManagementFramework-Dr5HjYSA.js","ServicesOffered-Z3IepUcf.js","ScrollableMatrix-Dxr22l4i.js","ConnectedInstitutionsURLs-MamPTDnd.js","ConnectedUser-CSVPvLMN.js","RemoteCampuses-NUiCskMY.js","AlienWave-CoaJ4Ch0.js","AlienWaveInternal-F5JHtmfW.js","Automation-4jvTE-gK.js","CapacityCoreIP-DyN3YGAW.js","CapacityLargestLink-Dk26I_at.js","CertificateProvider-4SfZ4yzo.js","DarkFibreLease-D0G5a_C_.js","DarkFibreInstalled-BEuXjlBR.js","ExternalConnections-CI7Oci1W.js","FibreLight-CWljRLcS.js","IRUDuration-DwT4l7iu.js","MonitoringTools-D5EolQI7.js","NetworkFunctionVirtualisation-Ci3ZHBJN.js","NetworkMapUrls-CYYKJL7A.js","NonRAndEPeer-OZTW6B0e.js","OPsAutomation-BzaiKZKL.js","PassiveMonitoring-DrHRNpwv.js","PertTeam-B3F3NYFc.js","SiemVendors-BpJ6Liws.js","TrafficRatio-BRasghA5.js","TrafficUrl-DrUJ6TNq.js","TrafficVolume-DIkzyQG4.js","WeatherMap-BWtEGyUR.js","Services-UuW4JfkB.js","Landing-f86DzYca.js","survey-3meXCY6T.js","SurveySidebar-NbXpjOVQ.js","SurveyContainerComponent-BkQFvQxZ.js","index-BGZcCZJE.js","Schema-BuKG9dA7.js","Bx5HfHBo.css","SurveyManagementComponent-D0-UtyLi.js","lodash-CQPIyBv7.js","UserManagementComponent-Ch5kCM4m.js"])))=>i.map(i=>d[i]); +var Qg=Object.defineProperty;var Zg=(a,i,u)=>i in a?Qg(a,i,{enumerable:!0,configurable:!0,writable:!0,value:u}):a[i]=u;var jm=(a,i,u)=>Zg(a,typeof i!="symbol"?i+"":i,u);(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))c(o);new MutationObserver(o=>{for(const f of o)if(f.type==="childList")for(const h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&c(h)}).observe(document,{childList:!0,subtree:!0});function u(o){const f={};return o.integrity&&(f.integrity=o.integrity),o.referrerPolicy&&(f.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?f.credentials="include":o.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function c(o){if(o.ep)return;o.ep=!0;const f=u(o);fetch(o.href,f)}})();var Ox=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Ws={exports:{}},ir={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Om;function Kg(){if(Om)return ir;Om=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function u(c,o,f){var h=null;if(f!==void 0&&(h=""+f),o.key!==void 0&&(h=""+o.key),"key"in o){f={};for(var y in o)y!=="key"&&(f[y]=o[y])}else f=o;return o=f.ref,{$$typeof:a,type:c,key:h,ref:o!==void 0?o:null,props:f}}return ir.Fragment=i,ir.jsx=u,ir.jsxs=u,ir}var Dm;function $g(){return Dm||(Dm=1,Ws.exports=Kg()),Ws.exports}var m=$g(),Is={exports:{}},je={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Am;function Jg(){if(Am)return je;Am=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),C=Symbol.iterator;function x(_){return _===null||typeof _!="object"?null:(_=C&&_[C]||_["@@iterator"],typeof _=="function"?_:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,H={};function k(_,V,te){this.props=_,this.context=V,this.refs=H,this.updater=te||R}k.prototype.isReactComponent={},k.prototype.setState=function(_,V){if(typeof _!="object"&&typeof _!="function"&&_!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,_,V,"setState")},k.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function z(){}z.prototype=k.prototype;function Z(_,V,te){this.props=_,this.context=V,this.refs=H,this.updater=te||R}var Q=Z.prototype=new z;Q.constructor=Z,A(Q,k.prototype),Q.isPureReactComponent=!0;var ee=Array.isArray,T={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function fe(_,V,te,W,J,ye){return te=ye.ref,{$$typeof:a,type:_,key:V,ref:te!==void 0?te:null,props:ye}}function ce(_,V){return fe(_.type,V,void 0,void 0,void 0,_.props)}function $(_){return typeof _=="object"&&_!==null&&_.$$typeof===a}function ie(_){var V={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(te){return V[te]})}var Le=/\/+/g;function Pe(_,V){return typeof _=="object"&&_!==null&&_.key!=null?ie(""+_.key):V.toString(36)}function Ge(){}function et(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(Ge,Ge):(_.status="pending",_.then(function(V){_.status==="pending"&&(_.status="fulfilled",_.value=V)},function(V){_.status==="pending"&&(_.status="rejected",_.reason=V)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function Ne(_,V,te,W,J){var ye=typeof _;(ye==="undefined"||ye==="boolean")&&(_=null);var ge=!1;if(_===null)ge=!0;else switch(ye){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(_.$$typeof){case a:case i:ge=!0;break;case b:return ge=_._init,Ne(ge(_._payload),V,te,W,J)}}if(ge)return J=J(_),ge=W===""?"."+Pe(_,0):W,ee(J)?(te="",ge!=null&&(te=ge.replace(Le,"$&/")+"/"),Ne(J,V,te,"",function(xe){return xe})):J!=null&&($(J)&&(J=ce(J,te+(J.key==null||_&&_.key===J.key?"":(""+J.key).replace(Le,"$&/")+"/")+ge)),V.push(J)),1;ge=0;var Ze=W===""?".":W+":";if(ee(_))for(var Ce=0;Ce<_.length;Ce++)W=_[Ce],ye=Ze+Pe(W,Ce),ge+=Ne(W,V,te,ye,J);else if(Ce=x(_),typeof Ce=="function")for(_=Ce.call(_),Ce=0;!(W=_.next()).done;)W=W.value,ye=Ze+Pe(W,Ce++),ge+=Ne(W,V,te,ye,J);else if(ye==="object"){if(typeof _.then=="function")return Ne(et(_),V,te,W,J);throw V=String(_),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.")}return ge}function K(_,V,te){if(_==null)return _;var W=[],J=0;return Ne(_,W,"","",function(ye){return V.call(te,ye,J++)}),W}function se(_){if(_._status===-1){var V=_._result;V=V(),V.then(function(te){(_._status===0||_._status===-1)&&(_._status=1,_._result=te)},function(te){(_._status===0||_._status===-1)&&(_._status=2,_._result=te)}),_._status===-1&&(_._status=0,_._result=V)}if(_._status===1)return _._result.default;throw _._result}var F=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var V=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(V))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)};function _e(){}return je.Children={map:K,forEach:function(_,V,te){K(_,function(){V.apply(this,arguments)},te)},count:function(_){var V=0;return K(_,function(){V++}),V},toArray:function(_){return K(_,function(V){return V})||[]},only:function(_){if(!$(_))throw Error("React.Children.only expected to receive a single React element child.");return _}},je.Component=k,je.Fragment=u,je.Profiler=o,je.PureComponent=Z,je.StrictMode=c,je.Suspense=p,je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,je.act=function(){throw Error("act(...) is not supported in production builds of React.")},je.cache=function(_){return function(){return _.apply(null,arguments)}},je.cloneElement=function(_,V,te){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var W=A({},_.props),J=_.key,ye=void 0;if(V!=null)for(ge in V.ref!==void 0&&(ye=void 0),V.key!==void 0&&(J=""+V.key),V)!P.call(V,ge)||ge==="key"||ge==="__self"||ge==="__source"||ge==="ref"&&V.ref===void 0||(W[ge]=V[ge]);var ge=arguments.length-2;if(ge===1)W.children=te;else if(1<ge){for(var Ze=Array(ge),Ce=0;Ce<ge;Ce++)Ze[Ce]=arguments[Ce+2];W.children=Ze}return fe(_.type,J,void 0,void 0,ye,W)},je.createContext=function(_){return _={$$typeof:h,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:f,_context:_},_},je.createElement=function(_,V,te){var W,J={},ye=null;if(V!=null)for(W in V.key!==void 0&&(ye=""+V.key),V)P.call(V,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(J[W]=V[W]);var ge=arguments.length-2;if(ge===1)J.children=te;else if(1<ge){for(var Ze=Array(ge),Ce=0;Ce<ge;Ce++)Ze[Ce]=arguments[Ce+2];J.children=Ze}if(_&&_.defaultProps)for(W in ge=_.defaultProps,ge)J[W]===void 0&&(J[W]=ge[W]);return fe(_,ye,void 0,void 0,null,J)},je.createRef=function(){return{current:null}},je.forwardRef=function(_){return{$$typeof:y,render:_}},je.isValidElement=$,je.lazy=function(_){return{$$typeof:b,_payload:{_status:-1,_result:_},_init:se}},je.memo=function(_,V){return{$$typeof:v,type:_,compare:V===void 0?null:V}},je.startTransition=function(_){var V=T.T,te={};T.T=te;try{var W=_(),J=T.S;J!==null&&J(te,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then(_e,F)}catch(ye){F(ye)}finally{T.T=V}},je.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},je.use=function(_){return T.H.use(_)},je.useActionState=function(_,V,te){return T.H.useActionState(_,V,te)},je.useCallback=function(_,V){return T.H.useCallback(_,V)},je.useContext=function(_){return T.H.useContext(_)},je.useDebugValue=function(){},je.useDeferredValue=function(_,V){return T.H.useDeferredValue(_,V)},je.useEffect=function(_,V){return T.H.useEffect(_,V)},je.useId=function(){return T.H.useId()},je.useImperativeHandle=function(_,V,te){return T.H.useImperativeHandle(_,V,te)},je.useInsertionEffect=function(_,V){return T.H.useInsertionEffect(_,V)},je.useLayoutEffect=function(_,V){return T.H.useLayoutEffect(_,V)},je.useMemo=function(_,V){return T.H.useMemo(_,V)},je.useOptimistic=function(_,V){return T.H.useOptimistic(_,V)},je.useReducer=function(_,V,te){return T.H.useReducer(_,V,te)},je.useRef=function(_){return T.H.useRef(_)},je.useState=function(_){return T.H.useState(_)},je.useSyncExternalStore=function(_,V,te){return T.H.useSyncExternalStore(_,V,te)},je.useTransition=function(){return T.H.useTransition()},je.version="19.0.0",je}var wm;function Yu(){return wm||(wm=1,Is.exports=Jg()),Is.exports}var g=Yu();const Xt=yr(g);var eo={exports:{}},rr={},to={exports:{}},no={};/** + * @license React + * scheduler.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Mm;function Fg(){return Mm||(Mm=1,function(a){function i(K,se){var F=K.length;K.push(se);e:for(;0<F;){var _e=F-1>>>1,_=K[_e];if(0<o(_,se))K[_e]=se,K[F]=_,F=_e;else break e}}function u(K){return K.length===0?null:K[0]}function c(K){if(K.length===0)return null;var se=K[0],F=K.pop();if(F!==se){K[0]=F;e:for(var _e=0,_=K.length,V=_>>>1;_e<V;){var te=2*(_e+1)-1,W=K[te],J=te+1,ye=K[J];if(0>o(W,F))J<_&&0>o(ye,W)?(K[_e]=ye,K[J]=F,_e=J):(K[_e]=W,K[te]=F,_e=te);else if(J<_&&0>o(ye,F))K[_e]=ye,K[J]=F,_e=J;else break e}}return se}function o(K,se){var F=K.sortIndex-se.sortIndex;return F!==0?F:K.id-se.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;a.unstable_now=function(){return f.now()}}else{var h=Date,y=h.now();a.unstable_now=function(){return h.now()-y}}var p=[],v=[],b=1,C=null,x=3,R=!1,A=!1,H=!1,k=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function Q(K){for(var se=u(v);se!==null;){if(se.callback===null)c(v);else if(se.startTime<=K)c(v),se.sortIndex=se.expirationTime,i(p,se);else break;se=u(v)}}function ee(K){if(H=!1,Q(K),!A)if(u(p)!==null)A=!0,et();else{var se=u(v);se!==null&&Ne(ee,se.startTime-K)}}var T=!1,P=-1,fe=5,ce=-1;function $(){return!(a.unstable_now()-ce<fe)}function ie(){if(T){var K=a.unstable_now();ce=K;var se=!0;try{e:{A=!1,H&&(H=!1,z(P),P=-1),R=!0;var F=x;try{t:{for(Q(K),C=u(p);C!==null&&!(C.expirationTime>K&&$());){var _e=C.callback;if(typeof _e=="function"){C.callback=null,x=C.priorityLevel;var _=_e(C.expirationTime<=K);if(K=a.unstable_now(),typeof _=="function"){C.callback=_,Q(K),se=!0;break t}C===u(p)&&c(p),Q(K)}else c(p);C=u(p)}if(C!==null)se=!0;else{var V=u(v);V!==null&&Ne(ee,V.startTime-K),se=!1}}break e}finally{C=null,x=F,R=!1}se=void 0}}finally{se?Le():T=!1}}}var Le;if(typeof Z=="function")Le=function(){Z(ie)};else if(typeof MessageChannel<"u"){var Pe=new MessageChannel,Ge=Pe.port2;Pe.port1.onmessage=ie,Le=function(){Ge.postMessage(null)}}else Le=function(){k(ie,0)};function et(){T||(T=!0,Le())}function Ne(K,se){P=k(function(){K(a.unstable_now())},se)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(K){K.callback=null},a.unstable_continueExecution=function(){A||R||(A=!0,et())},a.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):fe=0<K?Math.floor(1e3/K):5},a.unstable_getCurrentPriorityLevel=function(){return x},a.unstable_getFirstCallbackNode=function(){return u(p)},a.unstable_next=function(K){switch(x){case 1:case 2:case 3:var se=3;break;default:se=x}var F=x;x=se;try{return K()}finally{x=F}},a.unstable_pauseExecution=function(){},a.unstable_requestPaint=function(){},a.unstable_runWithPriority=function(K,se){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var F=x;x=K;try{return se()}finally{x=F}},a.unstable_scheduleCallback=function(K,se,F){var _e=a.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?_e+F:_e):F=_e,K){case 1:var _=-1;break;case 2:_=250;break;case 5:_=1073741823;break;case 4:_=1e4;break;default:_=5e3}return _=F+_,K={id:b++,callback:se,priorityLevel:K,startTime:F,expirationTime:_,sortIndex:-1},F>_e?(K.sortIndex=F,i(v,K),u(p)===null&&K===u(v)&&(H?(z(P),P=-1):H=!0,Ne(ee,F-_e))):(K.sortIndex=_,i(p,K),A||R||(A=!0,et())),K},a.unstable_shouldYield=$,a.unstable_wrapCallback=function(K){var se=x;return function(){var F=x;x=se;try{return K.apply(this,arguments)}finally{x=F}}}}(no)),no}var zm;function Pg(){return zm||(zm=1,to.exports=Fg()),to.exports}var ao={exports:{}},Gt={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Lm;function Wg(){if(Lm)return Gt;Lm=1;var a=Yu();function i(p){var v="https://react.dev/errors/"+p;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)v+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+p+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var c={d:{f:u,r:function(){throw Error(i(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},o=Symbol.for("react.portal");function f(p,v,b){var C=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:C==null?null:""+C,children:p,containerInfo:v,implementation:b}}var h=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(p,v){if(p==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return Gt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Gt.createPortal=function(p,v){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(i(299));return f(p,v,null,b)},Gt.flushSync=function(p){var v=h.T,b=c.p;try{if(h.T=null,c.p=2,p)return p()}finally{h.T=v,c.p=b,c.d.f()}},Gt.preconnect=function(p,v){typeof p=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,c.d.C(p,v))},Gt.prefetchDNS=function(p){typeof p=="string"&&c.d.D(p)},Gt.preinit=function(p,v){if(typeof p=="string"&&v&&typeof v.as=="string"){var b=v.as,C=y(b,v.crossOrigin),x=typeof v.integrity=="string"?v.integrity:void 0,R=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;b==="style"?c.d.S(p,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:C,integrity:x,fetchPriority:R}):b==="script"&&c.d.X(p,{crossOrigin:C,integrity:x,fetchPriority:R,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},Gt.preinitModule=function(p,v){if(typeof p=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var b=y(v.as,v.crossOrigin);c.d.M(p,{crossOrigin:b,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&c.d.M(p)},Gt.preload=function(p,v){if(typeof p=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var b=v.as,C=y(b,v.crossOrigin);c.d.L(p,b,{crossOrigin:C,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},Gt.preloadModule=function(p,v){if(typeof p=="string")if(v){var b=y(v.as,v.crossOrigin);c.d.m(p,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:b,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else c.d.m(p)},Gt.requestFormReset=function(p){c.d.r(p)},Gt.unstable_batchedUpdates=function(p,v){return p(v)},Gt.useFormState=function(p,v,b){return h.H.useFormState(p,v,b)},Gt.useFormStatus=function(){return h.H.useHostTransitionStatus()},Gt.version="19.0.0",Gt}var Um;function jy(){if(Um)return ao.exports;Um=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),ao.exports=Wg(),ao.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Hm;function Ig(){if(Hm)return rr;Hm=1;var a=Pg(),i=Yu(),u=jy();function c(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}var f=Symbol.for("react.element"),h=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),x=Symbol.for("react.consumer"),R=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),Q=Symbol.for("react.offscreen"),ee=Symbol.for("react.memo_cache_sentinel"),T=Symbol.iterator;function P(e){return e===null||typeof e!="object"?null:(e=T&&e[T]||e["@@iterator"],typeof e=="function"?e:null)}var fe=Symbol.for("react.client.reference");function ce(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===fe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case y:return"Portal";case b:return"Profiler";case v:return"StrictMode";case H:return"Suspense";case k:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R:return(e.displayName||"Context")+".Provider";case x:return(e._context.displayName||"Context")+".Consumer";case A:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case z:return t=e.displayName||null,t!==null?t:ce(e.type)||"Memo";case Z:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}var $=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=Object.assign,Le,Pe;function Ge(e){if(Le===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Le=t&&t[1]||"",Pe=-1<n.stack.indexOf(` + at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return` +`+Le+e+Pe}var et=!1;function Ne(e,t){if(!e||et)return"";et=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(B){var L=B}Reflect.construct(e,[],G)}else{try{G.call()}catch(B){L=B}e.call(G.prototype)}}else{try{throw Error()}catch(B){L=B}(G=e())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(B){if(B&&L&&typeof B.stack=="string")return[B.stack,L.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=l.DetermineComponentFrameRoot(),d=s[0],E=s[1];if(d&&E){var S=d.split(` +`),O=E.split(` +`);for(r=l=0;l<S.length&&!S[l].includes("DetermineComponentFrameRoot");)l++;for(;r<O.length&&!O[r].includes("DetermineComponentFrameRoot");)r++;if(l===S.length||r===O.length)for(l=S.length-1,r=O.length-1;1<=l&&0<=r&&S[l]!==O[r];)r--;for(;1<=l&&0<=r;l--,r--)if(S[l]!==O[r]){if(l!==1||r!==1)do if(l--,r--,0>r||S[l]!==O[r]){var q=` +`+S[l].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=l&&0<=r);break}}}finally{et=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Ge(n):""}function K(e){switch(e.tag){case 26:case 27:case 5:return Ge(e.type);case 16:return Ge("Lazy");case 13:return Ge("Suspense");case 19:return Ge("SuspenseList");case 0:case 15:return e=Ne(e.type,!1),e;case 11:return e=Ne(e.type.render,!1),e;case 1:return e=Ne(e.type,!0),e;default:return""}}function se(e){try{var t="";do t+=K(e),e=e.return;while(e);return t}catch(n){return` +Error generating stack: `+n.message+` +`+n.stack}}function F(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function _e(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function _(e){if(F(e)!==e)throw Error(c(188))}function V(e){var t=e.alternate;if(!t){if(t=F(e),t===null)throw Error(c(188));return t!==e?null:e}for(var n=e,l=t;;){var r=n.return;if(r===null)break;var s=r.alternate;if(s===null){if(l=r.return,l!==null){n=l;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===n)return _(r),e;if(s===l)return _(r),t;s=s.sibling}throw Error(c(188))}if(n.return!==l.return)n=r,l=s;else{for(var d=!1,E=r.child;E;){if(E===n){d=!0,n=r,l=s;break}if(E===l){d=!0,l=r,n=s;break}E=E.sibling}if(!d){for(E=s.child;E;){if(E===n){d=!0,n=s,l=r;break}if(E===l){d=!0,l=s,n=r;break}E=E.sibling}if(!d)throw Error(c(189))}}if(n.alternate!==l)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?e:t}function te(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=te(e),t!==null)return t;e=e.sibling}return null}var W=Array.isArray,J=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ye={pending:!1,data:null,method:null,action:null},ge=[],Ze=-1;function Ce(e){return{current:e}}function xe(e){0>Ze||(e.current=ge[Ze],ge[Ze]=null,Ze--)}function Te(e,t){Ze++,ge[Ze]=e.current,e.current=t}var at=Ce(null),bt=Ce(null),Ke=Ce(null),Rt=Ce(null);function ze(e,t){switch(Te(Ke,t),Te(bt,e),Te(at,null),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?am(t):0;break;default:if(e=e===8?t.parentNode:t,t=e.tagName,e=e.namespaceURI)e=am(e),t=lm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}xe(at),Te(at,t)}function St(){xe(at),xe(bt),xe(Ke)}function qt(e){e.memoizedState!==null&&Te(Rt,e);var t=at.current,n=lm(t,e.type);t!==n&&(Te(bt,e),Te(at,n))}function en(e){bt.current===e&&(xe(at),xe(bt)),Rt.current===e&&(xe(Rt),er._currentValue=ye)}var dn=Object.prototype.hasOwnProperty,hn=a.unstable_scheduleCallback,Tt=a.unstable_cancelCallback,Jt=a.unstable_shouldYield,On=a.unstable_requestPaint,ct=a.unstable_now,wt=a.unstable_getCurrentPriorityLevel,be=a.unstable_ImmediatePriority,Mt=a.unstable_UserBlockingPriority,kt=a.unstable_NormalPriority,_a=a.unstable_LowPriority,Vt=a.unstable_IdlePriority,Wn=a.log,In=a.unstable_setDisableYieldValue,tn=null,pt=null;function ea(e){if(pt&&typeof pt.onCommitFiberRoot=="function")try{pt.onCommitFiberRoot(tn,e,void 0,(e.current.flags&128)===128)}catch{}}function Nt(e){if(typeof Wn=="function"&&In(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode(tn,e)}catch{}}var ht=Math.clz32?Math.clz32:ta,Vn=Math.log,Ra=Math.LN2;function ta(e){return e>>>=0,e===0?32:31-(Vn(e)/Ra|0)|0}var Dn=128,mn=4194304;function zt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ft(e,t){var n=e.pendingLanes;if(n===0)return 0;var l=0,r=e.suspendedLanes,s=e.pingedLanes,d=e.warmLanes;e=e.finishedLanes!==0;var E=n&134217727;return E!==0?(n=E&~r,n!==0?l=zt(n):(s&=E,s!==0?l=zt(s):e||(d=E&~d,d!==0&&(l=zt(d))))):(E=n&~r,E!==0?l=zt(E):s!==0?l=zt(s):e||(d=n&~d,d!==0&&(l=zt(d)))),l===0?0:t!==0&&t!==l&&!(t&r)&&(r=l&-l,d=t&-t,r>=d||r===32&&(d&4194176)!==0)?t:l}function yn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ta(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function N(){var e=Dn;return Dn<<=1,!(Dn&4194176)&&(Dn=128),e}function w(){var e=mn;return mn<<=1,!(mn&62914560)&&(mn=4194304),e}function U(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function X(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ne(e,t,n,l,r,s){var d=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var E=e.entanglements,S=e.expirationTimes,O=e.hiddenUpdates;for(n=d&~n;0<n;){var q=31-ht(n),G=1<<q;E[q]=0,S[q]=-1;var L=O[q];if(L!==null)for(O[q]=null,q=0;q<L.length;q++){var B=L[q];B!==null&&(B.lane&=-536870913)}n&=~G}l!==0&&de(e,l,0),s!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=s&~(d&~t))}function de(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-ht(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|n&4194218}function Se(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var l=31-ht(n),r=1<<l;r&t|e[l]&t&&(e[l]|=t),n&=~r}}function le(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ue(){var e=J.p;return e!==0?e:(e=window.event,e===void 0?32:xm(e.type))}function I(e,t){var n=J.p;try{return J.p=e,t()}finally{J.p=n}}var pe=Math.random().toString(36).slice(2),me="__reactFiber$"+pe,Oe="__reactProps$"+pe,tt="__reactContainer$"+pe,$e="__reactEvents$"+pe,Je="__reactListeners$"+pe,mt="__reactHandles$"+pe,na="__reactResources$"+pe,An="__reactMarker$"+pe;function nn(e){delete e[me],delete e[Oe],delete e[$e],delete e[Je],delete e[mt]}function Ct(e){var t=e[me];if(t)return t;for(var n=e.parentNode;n;){if(t=n[tt]||n[me]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=um(e);e!==null;){if(n=e[me])return n;e=um(e)}return t}e=n,n=e.parentNode}return null}function Yn(e){if(e=e[me]||e[tt]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function wn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function Pt(e){var t=e[na];return t||(t=e[na]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function lt(e){e[An]=!0}var el=new Set,Ye={};function nt(e,t){Mn(e,t),Mn(e+"Capture",t)}function Mn(e,t){for(Ye[e]=t,e=0;e<t.length;e++)el.add(t[e])}var Qt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),st=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),aa={},hi={};function Ju(e){return dn.call(hi,e)?!0:dn.call(aa,e)?!1:st.test(e)?hi[e]=!0:(aa[e]=!0,!1)}function Er(e,t,n){if(Ju(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function br(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function la(e,t,n,l){if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+l)}}function pn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function rf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function kp(e){var t=rf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(d){l=""+d,s.call(this,d)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(d){l=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sr(e){e._valueTracker||(e._valueTracker=kp(e))}function uf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),l="";return e&&(l=rf(e)?e.checked?"true":"false":e.value),e=l,e!==n?(t.setValue(e),!0):!1}function xr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Vp=/[\n"\\]/g;function vn(e){return e.replace(Vp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Fu(e,t,n,l,r,s,d,E){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+pn(t)):e.value!==""+pn(t)&&(e.value=""+pn(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Pu(e,d,pn(t)):n!=null?Pu(e,d,pn(n)):l!=null&&e.removeAttribute("value"),r==null&&s!=null&&(e.defaultChecked=!!s),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?e.name=""+pn(E):e.removeAttribute("name")}function cf(e,t,n,l,r,s,d,E){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||t!=null))return;n=n!=null?""+pn(n):"",t=t!=null?""+pn(t):n,E||t===e.value||(e.value=t),e.defaultValue=t}l=l??r,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=E?e.checked:!!l,e.defaultChecked=!!l,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d)}function Pu(e,t,n){t==="number"&&xr(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function jl(e,t,n,l){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&l&&(e[n].defaultSelected=!0)}else{for(n=""+pn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,l&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function sf(e,t,n){if(t!=null&&(t=""+pn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+pn(n):""}function of(e,t,n,l){if(t==null){if(l!=null){if(n!=null)throw Error(c(92));if(W(l)){if(1<l.length)throw Error(c(93));l=l[0]}n=l}n==null&&(n=""),t=n}n=pn(t),e.defaultValue=n,l=e.textContent,l===n&&l!==""&&l!==null&&(e.value=l)}function Ol(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yp=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function ff(e,t,n){var l=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,n):typeof n!="number"||n===0||Yp.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function df(e,t,n){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var r in t)l=t[r],t.hasOwnProperty(r)&&n[r]!==l&&ff(e,r,l)}else for(var s in t)t.hasOwnProperty(s)&&ff(e,s,t[s])}function Wu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Xp=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function _r(e){return Xp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Iu=null;function ec(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Dl=null,Al=null;function hf(e){var t=Yn(e);if(t&&(e=t.stateNode)){var n=e[Oe]||null;e:switch(e=t.stateNode,t.type){case"input":if(Fu(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+vn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var l=n[t];if(l!==e&&l.form===e.form){var r=l[Oe]||null;if(!r)throw Error(c(90));Fu(l,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)l=n[t],l.form===e.form&&uf(l)}break e;case"textarea":sf(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&jl(e,!!n.multiple,t,!1)}}}var tc=!1;function mf(e,t,n){if(tc)return e(t,n);tc=!0;try{var l=e(t);return l}finally{if(tc=!1,(Dl!==null||Al!==null)&&(ru(),Dl&&(t=Dl,e=Al,Al=Dl=null,hf(t),e)))for(t=0;t<e.length;t++)hf(e[t])}}function mi(e,t){var n=e.stateNode;if(n===null)return null;var l=n[Oe]||null;if(l===null)return null;n=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(c(231,t,typeof n));return n}var nc=!1;if(Qt)try{var yi={};Object.defineProperty(yi,"passive",{get:function(){nc=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{nc=!1}var Na=null,ac=null,Rr=null;function yf(){if(Rr)return Rr;var e,t=ac,n=t.length,l,r="value"in Na?Na.value:Na.textContent,s=r.length;for(e=0;e<n&&t[e]===r[e];e++);var d=n-e;for(l=1;l<=d&&t[n-l]===r[s-l];l++);return Rr=r.slice(e,1<l?1-l:void 0)}function Tr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Nr(){return!0}function pf(){return!1}function Wt(e){function t(n,l,r,s,d){this._reactName=n,this._targetInst=r,this.type=l,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var E in e)e.hasOwnProperty(E)&&(n=e[E],this[E]=n?n(s):s[E]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Nr:pf,this.isPropagationStopped=pf,this}return ie(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Nr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Nr)},persist:function(){},isPersistent:Nr}),t}var tl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cr=Wt(tl),pi=ie({},tl,{view:0,detail:0}),Qp=Wt(pi),lc,ic,vi,jr=ie({},pi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==vi&&(vi&&e.type==="mousemove"?(lc=e.screenX-vi.screenX,ic=e.screenY-vi.screenY):ic=lc=0,vi=e),lc)},movementY:function(e){return"movementY"in e?e.movementY:ic}}),vf=Wt(jr),Zp=ie({},jr,{dataTransfer:0}),Kp=Wt(Zp),$p=ie({},pi,{relatedTarget:0}),rc=Wt($p),Jp=ie({},tl,{animationName:0,elapsedTime:0,pseudoElement:0}),Fp=Wt(Jp),Pp=ie({},tl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wp=Wt(Pp),Ip=ie({},tl,{data:0}),gf=Wt(Ip),ev={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},nv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function av(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=nv[e])?!!t[e]:!1}function uc(){return av}var lv=ie({},pi,{key:function(e){if(e.key){var t=ev[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Tr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?tv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uc,charCode:function(e){return e.type==="keypress"?Tr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Tr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),iv=Wt(lv),rv=ie({},jr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ef=Wt(rv),uv=ie({},pi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uc}),cv=Wt(uv),sv=ie({},tl,{propertyName:0,elapsedTime:0,pseudoElement:0}),ov=Wt(sv),fv=ie({},jr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),dv=Wt(fv),hv=ie({},tl,{newState:0,oldState:0}),mv=Wt(hv),yv=[9,13,27,32],cc=Qt&&"CompositionEvent"in window,gi=null;Qt&&"documentMode"in document&&(gi=document.documentMode);var pv=Qt&&"TextEvent"in window&&!gi,bf=Qt&&(!cc||gi&&8<gi&&11>=gi),Sf=" ",xf=!1;function _f(e,t){switch(e){case"keyup":return yv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wl=!1;function vv(e,t){switch(e){case"compositionend":return Rf(t);case"keypress":return t.which!==32?null:(xf=!0,Sf);case"textInput":return e=t.data,e===Sf&&xf?null:e;default:return null}}function gv(e,t){if(wl)return e==="compositionend"||!cc&&_f(e,t)?(e=yf(),Rr=ac=Na=null,wl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return bf&&t.locale!=="ko"?null:t.data;default:return null}}var Ev={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Tf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ev[e.type]:t==="textarea"}function Nf(e,t,n,l){Dl?Al?Al.push(l):Al=[l]:Dl=l,t=fu(t,"onChange"),0<t.length&&(n=new Cr("onChange","change",null,n,l),e.push({event:n,listeners:t}))}var Ei=null,bi=null;function bv(e){Wh(e,0)}function Or(e){var t=wn(e);if(uf(t))return e}function Cf(e,t){if(e==="change")return t}var jf=!1;if(Qt){var sc;if(Qt){var oc="oninput"in document;if(!oc){var Of=document.createElement("div");Of.setAttribute("oninput","return;"),oc=typeof Of.oninput=="function"}sc=oc}else sc=!1;jf=sc&&(!document.documentMode||9<document.documentMode)}function Df(){Ei&&(Ei.detachEvent("onpropertychange",Af),bi=Ei=null)}function Af(e){if(e.propertyName==="value"&&Or(bi)){var t=[];Nf(t,bi,e,ec(e)),mf(bv,t)}}function Sv(e,t,n){e==="focusin"?(Df(),Ei=t,bi=n,Ei.attachEvent("onpropertychange",Af)):e==="focusout"&&Df()}function xv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Or(bi)}function _v(e,t){if(e==="click")return Or(t)}function Rv(e,t){if(e==="input"||e==="change")return Or(t)}function Tv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var an=typeof Object.is=="function"?Object.is:Tv;function Si(e,t){if(an(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),l=Object.keys(t);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var r=n[l];if(!dn.call(t,r)||!an(e[r],t[r]))return!1}return!0}function wf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mf(e,t){var n=wf(e);e=0;for(var l;n;){if(n.nodeType===3){if(l=e+n.textContent.length,e<=t&&l>=t)return{node:n,offset:t-e};e=l}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=wf(n)}}function zf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=xr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xr(e.document)}return t}function fc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Nv(e,t){var n=Lf(t);t=e.focusedElem;var l=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&zf(t.ownerDocument.documentElement,t)){if(l!==null&&fc(t)){if(e=l.start,n=l.end,n===void 0&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if(n=(e=t.ownerDocument||document)&&e.defaultView||window,n.getSelection){n=n.getSelection();var r=t.textContent.length,s=Math.min(l.start,r);l=l.end===void 0?s:Math.min(l.end,r),!n.extend&&s>l&&(r=l,l=s,s=r),r=Mf(t,s);var d=Mf(t,l);r&&d&&(n.rangeCount!==1||n.anchorNode!==r.node||n.anchorOffset!==r.offset||n.focusNode!==d.node||n.focusOffset!==d.offset)&&(e=e.createRange(),e.setStart(r.node,r.offset),n.removeAllRanges(),s>l?(n.addRange(e),n.extend(d.node,d.offset)):(e.setEnd(d.node,d.offset),n.addRange(e)))}}for(e=[],n=t;n=n.parentNode;)n.nodeType===1&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<e.length;t++)n=e[t],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Cv=Qt&&"documentMode"in document&&11>=document.documentMode,Ml=null,dc=null,xi=null,hc=!1;function Uf(e,t,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;hc||Ml==null||Ml!==xr(l)||(l=Ml,"selectionStart"in l&&fc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),xi&&Si(xi,l)||(xi=l,l=fu(dc,"onSelect"),0<l.length&&(t=new Cr("onSelect","select",null,t,n),e.push({event:t,listeners:l}),t.target=Ml)))}function nl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var zl={animationend:nl("Animation","AnimationEnd"),animationiteration:nl("Animation","AnimationIteration"),animationstart:nl("Animation","AnimationStart"),transitionrun:nl("Transition","TransitionRun"),transitionstart:nl("Transition","TransitionStart"),transitioncancel:nl("Transition","TransitionCancel"),transitionend:nl("Transition","TransitionEnd")},mc={},Hf={};Qt&&(Hf=document.createElement("div").style,"AnimationEvent"in window||(delete zl.animationend.animation,delete zl.animationiteration.animation,delete zl.animationstart.animation),"TransitionEvent"in window||delete zl.transitionend.transition);function al(e){if(mc[e])return mc[e];if(!zl[e])return e;var t=zl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Hf)return mc[e]=t[n];return e}var Bf=al("animationend"),qf=al("animationiteration"),kf=al("animationstart"),jv=al("transitionrun"),Ov=al("transitionstart"),Dv=al("transitioncancel"),Vf=al("transitionend"),Yf=new Map,Gf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function zn(e,t){Yf.set(e,t),nt(t,[e])}var gn=[],Ll=0,yc=0;function Dr(){for(var e=Ll,t=yc=Ll=0;t<e;){var n=gn[t];gn[t++]=null;var l=gn[t];gn[t++]=null;var r=gn[t];gn[t++]=null;var s=gn[t];if(gn[t++]=null,l!==null&&r!==null){var d=l.pending;d===null?r.next=r:(r.next=d.next,d.next=r),l.pending=r}s!==0&&Xf(n,r,s)}}function Ar(e,t,n,l){gn[Ll++]=e,gn[Ll++]=t,gn[Ll++]=n,gn[Ll++]=l,yc|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function pc(e,t,n,l){return Ar(e,t,n,l),wr(e)}function Ca(e,t){return Ar(e,null,null,t),wr(e)}function Xf(e,t,n){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n);for(var r=!1,s=e.return;s!==null;)s.childLanes|=n,l=s.alternate,l!==null&&(l.childLanes|=n),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(r=!0)),e=s,s=s.return;r&&t!==null&&e.tag===3&&(s=e.stateNode,r=31-ht(n),s=s.hiddenUpdates,e=s[r],e===null?s[r]=[t]:e.push(t),t.lane=n|536870912)}function wr(e){if(50<Ki)throw Ki=0,xs=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ul={},Qf=new WeakMap;function En(e,t){if(typeof e=="object"&&e!==null){var n=Qf.get(e);return n!==void 0?n:(t={value:e,source:t,stack:se(t)},Qf.set(e,t),t)}return{value:e,source:t,stack:se(t)}}var Hl=[],Bl=0,Mr=null,zr=0,bn=[],Sn=0,ll=null,ia=1,ra="";function il(e,t){Hl[Bl++]=zr,Hl[Bl++]=Mr,Mr=e,zr=t}function Zf(e,t,n){bn[Sn++]=ia,bn[Sn++]=ra,bn[Sn++]=ll,ll=e;var l=ia;e=ra;var r=32-ht(l)-1;l&=~(1<<r),n+=1;var s=32-ht(t)+r;if(30<s){var d=r-r%5;s=(l&(1<<d)-1).toString(32),l>>=d,r-=d,ia=1<<32-ht(t)+r|n<<r|l,ra=s+e}else ia=1<<s|n<<r|l,ra=e}function vc(e){e.return!==null&&(il(e,1),Zf(e,1,0))}function gc(e){for(;e===Mr;)Mr=Hl[--Bl],Hl[Bl]=null,zr=Hl[--Bl],Hl[Bl]=null;for(;e===ll;)ll=bn[--Sn],bn[Sn]=null,ra=bn[--Sn],bn[Sn]=null,ia=bn[--Sn],bn[Sn]=null}var Zt=null,Lt=null,qe=!1,Ln=null,Gn=!1,Ec=Error(c(519));function rl(e){var t=Error(c(418,""));throw Ti(En(t,e)),Ec}function Kf(e){var t=e.stateNode,n=e.type,l=e.memoizedProps;switch(t[me]=e,t[Oe]=l,n){case"dialog":Ue("cancel",t),Ue("close",t);break;case"iframe":case"object":case"embed":Ue("load",t);break;case"video":case"audio":for(n=0;n<Ji.length;n++)Ue(Ji[n],t);break;case"source":Ue("error",t);break;case"img":case"image":case"link":Ue("error",t),Ue("load",t);break;case"details":Ue("toggle",t);break;case"input":Ue("invalid",t),cf(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),Sr(t);break;case"select":Ue("invalid",t);break;case"textarea":Ue("invalid",t),of(t,l.value,l.defaultValue,l.children),Sr(t)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||l.suppressHydrationWarning===!0||nm(t.textContent,n)?(l.popover!=null&&(Ue("beforetoggle",t),Ue("toggle",t)),l.onScroll!=null&&Ue("scroll",t),l.onScrollEnd!=null&&Ue("scrollend",t),l.onClick!=null&&(t.onclick=du),t=!0):t=!1,t||rl(e)}function $f(e){for(Zt=e.return;Zt;)switch(Zt.tag){case 3:case 27:Gn=!0;return;case 5:case 13:Gn=!1;return;default:Zt=Zt.return}}function _i(e){if(e!==Zt)return!1;if(!qe)return $f(e),qe=!0,!1;var t=!1,n;if((n=e.tag!==3&&e.tag!==27)&&((n=e.tag===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||qs(e.type,e.memoizedProps)),n=!n),n&&(t=!0),t&&Lt&&rl(e),$f(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(n=e.data,n==="/$"){if(t===0){Lt=Hn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++;e=e.nextSibling}Lt=null}}else Lt=Zt?Hn(e.stateNode.nextSibling):null;return!0}function Ri(){Lt=Zt=null,qe=!1}function Ti(e){Ln===null?Ln=[e]:Ln.push(e)}var Ni=Error(c(460)),Jf=Error(c(474)),bc={then:function(){}};function Ff(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Lr(){}function Pf(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Lr,Lr),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,e===Ni?Error(c(483)):e;default:if(typeof t.status=="string")t.then(Lr,Lr);else{if(e=We,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=l}},function(l){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,e===Ni?Error(c(483)):e}throw Ci=t,Ni}}var Ci=null;function Wf(){if(Ci===null)throw Error(c(459));var e=Ci;return Ci=null,e}var ql=null,ji=0;function Ur(e){var t=ji;return ji+=1,ql===null&&(ql=[]),Pf(ql,e,t)}function Oi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Hr(e,t){throw t.$$typeof===f?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function If(e){var t=e._init;return t(e._payload)}function ed(e){function t(D,j){if(e){var M=D.deletions;M===null?(D.deletions=[j],D.flags|=16):M.push(j)}}function n(D,j){if(!e)return null;for(;j!==null;)t(D,j),j=j.sibling;return null}function l(D){for(var j=new Map;D!==null;)D.key!==null?j.set(D.key,D):j.set(D.index,D),D=D.sibling;return j}function r(D,j){return D=qa(D,j),D.index=0,D.sibling=null,D}function s(D,j,M){return D.index=M,e?(M=D.alternate,M!==null?(M=M.index,M<j?(D.flags|=33554434,j):M):(D.flags|=33554434,j)):(D.flags|=1048576,j)}function d(D){return e&&D.alternate===null&&(D.flags|=33554434),D}function E(D,j,M,Y){return j===null||j.tag!==6?(j=ms(M,D.mode,Y),j.return=D,j):(j=r(j,M),j.return=D,j)}function S(D,j,M,Y){var re=M.type;return re===p?q(D,j,M.props.children,Y,M.key):j!==null&&(j.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===Z&&If(re)===j.type)?(j=r(j,M.props),Oi(j,M),j.return=D,j):(j=tu(M.type,M.key,M.props,null,D.mode,Y),Oi(j,M),j.return=D,j)}function O(D,j,M,Y){return j===null||j.tag!==4||j.stateNode.containerInfo!==M.containerInfo||j.stateNode.implementation!==M.implementation?(j=ys(M,D.mode,Y),j.return=D,j):(j=r(j,M.children||[]),j.return=D,j)}function q(D,j,M,Y,re){return j===null||j.tag!==7?(j=pl(M,D.mode,Y,re),j.return=D,j):(j=r(j,M),j.return=D,j)}function G(D,j,M){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=ms(""+j,D.mode,M),j.return=D,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case h:return M=tu(j.type,j.key,j.props,null,D.mode,M),Oi(M,j),M.return=D,M;case y:return j=ys(j,D.mode,M),j.return=D,j;case Z:var Y=j._init;return j=Y(j._payload),G(D,j,M)}if(W(j)||P(j))return j=pl(j,D.mode,M,null),j.return=D,j;if(typeof j.then=="function")return G(D,Ur(j),M);if(j.$$typeof===R)return G(D,Wr(D,j),M);Hr(D,j)}return null}function L(D,j,M,Y){var re=j!==null?j.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return re!==null?null:E(D,j,""+M,Y);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case h:return M.key===re?S(D,j,M,Y):null;case y:return M.key===re?O(D,j,M,Y):null;case Z:return re=M._init,M=re(M._payload),L(D,j,M,Y)}if(W(M)||P(M))return re!==null?null:q(D,j,M,Y,null);if(typeof M.then=="function")return L(D,j,Ur(M),Y);if(M.$$typeof===R)return L(D,j,Wr(D,M),Y);Hr(D,M)}return null}function B(D,j,M,Y,re){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return D=D.get(M)||null,E(j,D,""+Y,re);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case h:return D=D.get(Y.key===null?M:Y.key)||null,S(j,D,Y,re);case y:return D=D.get(Y.key===null?M:Y.key)||null,O(j,D,Y,re);case Z:var Ae=Y._init;return Y=Ae(Y._payload),B(D,j,M,Y,re)}if(W(Y)||P(Y))return D=D.get(M)||null,q(j,D,Y,re,null);if(typeof Y.then=="function")return B(D,j,M,Ur(Y),re);if(Y.$$typeof===R)return B(D,j,M,Wr(j,Y),re);Hr(j,Y)}return null}function oe(D,j,M,Y){for(var re=null,Ae=null,he=j,Ee=j=0,Dt=null;he!==null&&Ee<M.length;Ee++){he.index>Ee?(Dt=he,he=null):Dt=he.sibling;var ke=L(D,he,M[Ee],Y);if(ke===null){he===null&&(he=Dt);break}e&&he&&ke.alternate===null&&t(D,he),j=s(ke,j,Ee),Ae===null?re=ke:Ae.sibling=ke,Ae=ke,he=Dt}if(Ee===M.length)return n(D,he),qe&&il(D,Ee),re;if(he===null){for(;Ee<M.length;Ee++)he=G(D,M[Ee],Y),he!==null&&(j=s(he,j,Ee),Ae===null?re=he:Ae.sibling=he,Ae=he);return qe&&il(D,Ee),re}for(he=l(he);Ee<M.length;Ee++)Dt=B(he,D,Ee,M[Ee],Y),Dt!==null&&(e&&Dt.alternate!==null&&he.delete(Dt.key===null?Ee:Dt.key),j=s(Dt,j,Ee),Ae===null?re=Dt:Ae.sibling=Dt,Ae=Dt);return e&&he.forEach(function(Za){return t(D,Za)}),qe&&il(D,Ee),re}function Re(D,j,M,Y){if(M==null)throw Error(c(151));for(var re=null,Ae=null,he=j,Ee=j=0,Dt=null,ke=M.next();he!==null&&!ke.done;Ee++,ke=M.next()){he.index>Ee?(Dt=he,he=null):Dt=he.sibling;var Za=L(D,he,ke.value,Y);if(Za===null){he===null&&(he=Dt);break}e&&he&&Za.alternate===null&&t(D,he),j=s(Za,j,Ee),Ae===null?re=Za:Ae.sibling=Za,Ae=Za,he=Dt}if(ke.done)return n(D,he),qe&&il(D,Ee),re;if(he===null){for(;!ke.done;Ee++,ke=M.next())ke=G(D,ke.value,Y),ke!==null&&(j=s(ke,j,Ee),Ae===null?re=ke:Ae.sibling=ke,Ae=ke);return qe&&il(D,Ee),re}for(he=l(he);!ke.done;Ee++,ke=M.next())ke=B(he,D,Ee,ke.value,Y),ke!==null&&(e&&ke.alternate!==null&&he.delete(ke.key===null?Ee:ke.key),j=s(ke,j,Ee),Ae===null?re=ke:Ae.sibling=ke,Ae=ke);return e&&he.forEach(function(Xg){return t(D,Xg)}),qe&&il(D,Ee),re}function dt(D,j,M,Y){if(typeof M=="object"&&M!==null&&M.type===p&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case h:e:{for(var re=M.key;j!==null;){if(j.key===re){if(re=M.type,re===p){if(j.tag===7){n(D,j.sibling),Y=r(j,M.props.children),Y.return=D,D=Y;break e}}else if(j.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===Z&&If(re)===j.type){n(D,j.sibling),Y=r(j,M.props),Oi(Y,M),Y.return=D,D=Y;break e}n(D,j);break}else t(D,j);j=j.sibling}M.type===p?(Y=pl(M.props.children,D.mode,Y,M.key),Y.return=D,D=Y):(Y=tu(M.type,M.key,M.props,null,D.mode,Y),Oi(Y,M),Y.return=D,D=Y)}return d(D);case y:e:{for(re=M.key;j!==null;){if(j.key===re)if(j.tag===4&&j.stateNode.containerInfo===M.containerInfo&&j.stateNode.implementation===M.implementation){n(D,j.sibling),Y=r(j,M.children||[]),Y.return=D,D=Y;break e}else{n(D,j);break}else t(D,j);j=j.sibling}Y=ys(M,D.mode,Y),Y.return=D,D=Y}return d(D);case Z:return re=M._init,M=re(M._payload),dt(D,j,M,Y)}if(W(M))return oe(D,j,M,Y);if(P(M)){if(re=P(M),typeof re!="function")throw Error(c(150));return M=re.call(M),Re(D,j,M,Y)}if(typeof M.then=="function")return dt(D,j,Ur(M),Y);if(M.$$typeof===R)return dt(D,j,Wr(D,M),Y);Hr(D,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,j!==null&&j.tag===6?(n(D,j.sibling),Y=r(j,M),Y.return=D,D=Y):(n(D,j),Y=ms(M,D.mode,Y),Y.return=D,D=Y),d(D)):n(D,j)}return function(D,j,M,Y){try{ji=0;var re=dt(D,j,M,Y);return ql=null,re}catch(he){if(he===Ni)throw he;var Ae=Tn(29,he,null,D.mode);return Ae.lanes=Y,Ae.return=D,Ae}finally{}}}var ul=ed(!0),td=ed(!1),kl=Ce(null),Br=Ce(0);function nd(e,t){e=va,Te(Br,e),Te(kl,t),va=e|t.baseLanes}function Sc(){Te(Br,va),Te(kl,kl.current)}function xc(){va=Br.current,xe(kl),xe(Br)}var xn=Ce(null),Xn=null;function ja(e){var t=e.alternate;Te(xt,xt.current&1),Te(xn,e),Xn===null&&(t===null||kl.current!==null||t.memoizedState!==null)&&(Xn=e)}function ad(e){if(e.tag===22){if(Te(xt,xt.current),Te(xn,e),Xn===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Xn=e)}}else Oa()}function Oa(){Te(xt,xt.current),Te(xn,xn.current)}function ua(e){xe(xn),Xn===e&&(Xn=null),xe(xt)}var xt=Ce(0);function qr(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Av=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},wv=a.unstable_scheduleCallback,Mv=a.unstable_NormalPriority,_t={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function _c(){return{controller:new Av,data:new Map,refCount:0}}function Di(e){e.refCount--,e.refCount===0&&wv(Mv,function(){e.controller.abort()})}var Ai=null,Rc=0,Vl=0,Yl=null;function zv(e,t){if(Ai===null){var n=Ai=[];Rc=0,Vl=Ds(),Yl={status:"pending",value:void 0,then:function(l){n.push(l)}}}return Rc++,t.then(ld,ld),t}function ld(){if(--Rc===0&&Ai!==null){Yl!==null&&(Yl.status="fulfilled");var e=Ai;Ai=null,Vl=0,Yl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Lv(e,t){var n=[],l={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(l.status="rejected",l.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),l}var id=$.S;$.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&zv(e,t),id!==null&&id(e,t)};var cl=Ce(null);function Tc(){var e=cl.current;return e!==null?e:We.pooledCache}function kr(e,t){t===null?Te(cl,cl.current):Te(cl,t.pool)}function rd(){var e=Tc();return e===null?null:{parent:_t._currentValue,pool:e}}var Da=0,De=null,Xe=null,vt=null,Vr=!1,Gl=!1,sl=!1,Yr=0,wi=0,Xl=null,Uv=0;function yt(){throw Error(c(321))}function Nc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!an(e[n],t[n]))return!1;return!0}function Cc(e,t,n,l,r,s){return Da=s,De=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$.H=e===null||e.memoizedState===null?ol:Aa,sl=!1,s=n(l,r),sl=!1,Gl&&(s=cd(t,n,l,r)),ud(e),s}function ud(e){$.H=Qn;var t=Xe!==null&&Xe.next!==null;if(Da=0,vt=Xe=De=null,Vr=!1,wi=0,Xl=null,t)throw Error(c(300));e===null||jt||(e=e.dependencies,e!==null&&Pr(e)&&(jt=!0))}function cd(e,t,n,l){De=e;var r=0;do{if(Gl&&(Xl=null),wi=0,Gl=!1,25<=r)throw Error(c(301));if(r+=1,vt=Xe=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}$.H=fl,s=t(n,l)}while(Gl);return s}function Hv(){var e=$.H,t=e.useState()[0];return t=typeof t.then=="function"?Mi(t):t,e=e.useState()[0],(Xe!==null?Xe.memoizedState:null)!==e&&(De.flags|=1024),t}function jc(){var e=Yr!==0;return Yr=0,e}function Oc(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Dc(e){if(Vr){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Vr=!1}Da=0,vt=Xe=De=null,Gl=!1,wi=Yr=0,Xl=null}function It(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return vt===null?De.memoizedState=vt=e:vt=vt.next=e,vt}function gt(){if(Xe===null){var e=De.alternate;e=e!==null?e.memoizedState:null}else e=Xe.next;var t=vt===null?De.memoizedState:vt.next;if(t!==null)vt=t,Xe=e;else{if(e===null)throw De.alternate===null?Error(c(467)):Error(c(310));Xe=e,e={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},vt===null?De.memoizedState=vt=e:vt=vt.next=e}return vt}var Gr;Gr=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function Mi(e){var t=wi;return wi+=1,Xl===null&&(Xl=[]),e=Pf(Xl,e,t),t=De,(vt===null?t.memoizedState:vt.next)===null&&(t=t.alternate,$.H=t===null||t.memoizedState===null?ol:Aa),e}function Xr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Mi(e);if(e.$$typeof===R)return Yt(e)}throw Error(c(438,String(e)))}function Ac(e){var t=null,n=De.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var l=De.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Gr(),De.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),l=0;l<e;l++)n[l]=ee;return t.index++,n}function ca(e,t){return typeof t=="function"?t(e):t}function Qr(e){var t=gt();return wc(t,Xe,e)}function wc(e,t,n){var l=e.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var r=e.baseQueue,s=l.pending;if(s!==null){if(r!==null){var d=r.next;r.next=s.next,s.next=d}t.baseQueue=r=s,l.pending=null}if(s=e.baseState,r===null)e.memoizedState=s;else{t=r.next;var E=d=null,S=null,O=t,q=!1;do{var G=O.lane&-536870913;if(G!==O.lane?(Be&G)===G:(Da&G)===G){var L=O.revertLane;if(L===0)S!==null&&(S=S.next={lane:0,revertLane:0,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),G===Vl&&(q=!0);else if((Da&L)===L){O=O.next,L===Vl&&(q=!0);continue}else G={lane:0,revertLane:O.revertLane,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},S===null?(E=S=G,d=s):S=S.next=G,De.lanes|=L,ka|=L;G=O.action,sl&&n(s,G),s=O.hasEagerState?O.eagerState:n(s,G)}else L={lane:G,revertLane:O.revertLane,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},S===null?(E=S=L,d=s):S=S.next=L,De.lanes|=G,ka|=G;O=O.next}while(O!==null&&O!==t);if(S===null?d=s:S.next=E,!an(s,e.memoizedState)&&(jt=!0,q&&(n=Yl,n!==null)))throw n;e.memoizedState=s,e.baseState=d,e.baseQueue=S,l.lastRenderedState=s}return r===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Mc(e){var t=gt(),n=t.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=e;var l=n.dispatch,r=n.pending,s=t.memoizedState;if(r!==null){n.pending=null;var d=r=r.next;do s=e(s,d.action),d=d.next;while(d!==r);an(s,t.memoizedState)||(jt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,l]}function sd(e,t,n){var l=De,r=gt(),s=qe;if(s){if(n===void 0)throw Error(c(407));n=n()}else n=t();var d=!an((Xe||r).memoizedState,n);if(d&&(r.memoizedState=n,jt=!0),r=r.queue,Uc(dd.bind(null,l,r,e),[e]),r.getSnapshot!==t||d||vt!==null&&vt.memoizedState.tag&1){if(l.flags|=2048,Ql(9,fd.bind(null,l,r,n,t),{destroy:void 0},null),We===null)throw Error(c(349));s||Da&60||od(l,t,n)}return n}function od(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=De.updateQueue,t===null?(t=Gr(),De.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function fd(e,t,n,l){t.value=n,t.getSnapshot=l,hd(t)&&md(e)}function dd(e,t,n){return n(function(){hd(t)&&md(e)})}function hd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!an(e,n)}catch{return!0}}function md(e){var t=Ca(e,2);t!==null&&Kt(t,e,2)}function zc(e){var t=It();if(typeof e=="function"){var n=e;if(e=n(),sl){Nt(!0);try{n()}finally{Nt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e},t}function yd(e,t,n,l){return e.baseState=n,wc(e,Xe,typeof l=="function"?l:ca)}function Bv(e,t,n,l,r){if($r(e))throw Error(c(485));if(e=t.action,e!==null){var s={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){s.listeners.push(d)}};$.T!==null?n(!0):s.isTransition=!1,l(s),n=t.pending,n===null?(s.next=t.pending=s,pd(t,s)):(s.next=n.next,t.pending=n.next=s)}}function pd(e,t){var n=t.action,l=t.payload,r=e.state;if(t.isTransition){var s=$.T,d={};$.T=d;try{var E=n(r,l),S=$.S;S!==null&&S(d,E),vd(e,t,E)}catch(O){Lc(e,t,O)}finally{$.T=s}}else try{s=n(r,l),vd(e,t,s)}catch(O){Lc(e,t,O)}}function vd(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){gd(e,t,l)},function(l){return Lc(e,t,l)}):gd(e,t,n)}function gd(e,t,n){t.status="fulfilled",t.value=n,Ed(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,pd(e,n)))}function Lc(e,t,n){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=n,Ed(t),t=t.next;while(t!==l)}e.action=null}function Ed(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function bd(e,t){return t}function Sd(e,t){if(qe){var n=We.formState;if(n!==null){e:{var l=De;if(qe){if(Lt){t:{for(var r=Lt,s=Gn;r.nodeType!==8;){if(!s){r=null;break t}if(r=Hn(r.nextSibling),r===null){r=null;break t}}s=r.data,r=s==="F!"||s==="F"?r:null}if(r){Lt=Hn(r.nextSibling),l=r.data==="F!";break e}}rl(l)}l=!1}l&&(t=n[0])}}return n=It(),n.memoizedState=n.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bd,lastRenderedState:t},n.queue=l,n=qd.bind(null,De,l),l.dispatch=n,l=zc(!1),s=Vc.bind(null,De,!1,l.queue),l=It(),r={state:t,dispatch:null,action:e,pending:null},l.queue=r,n=Bv.bind(null,De,r,s,n),r.dispatch=n,l.memoizedState=e,[t,n,!1]}function xd(e){var t=gt();return _d(t,Xe,e)}function _d(e,t,n){t=wc(e,t,bd)[0],e=Qr(ca)[0],t=typeof t=="object"&&t!==null&&typeof t.then=="function"?Mi(t):t;var l=gt(),r=l.queue,s=r.dispatch;return n!==l.memoizedState&&(De.flags|=2048,Ql(9,qv.bind(null,r,n),{destroy:void 0},null)),[t,s,e]}function qv(e,t){e.action=t}function Rd(e){var t=gt(),n=Xe;if(n!==null)return _d(t,n,e);gt(),t=t.memoizedState,n=gt();var l=n.queue.dispatch;return n.memoizedState=e,[t,l,!1]}function Ql(e,t,n,l){return e={tag:e,create:t,inst:n,deps:l,next:null},t=De.updateQueue,t===null&&(t=Gr(),De.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(l=n.next,n.next=e,e.next=l,t.lastEffect=e),e}function Td(){return gt().memoizedState}function Zr(e,t,n,l){var r=It();De.flags|=e,r.memoizedState=Ql(1|t,n,{destroy:void 0},l===void 0?null:l)}function Kr(e,t,n,l){var r=gt();l=l===void 0?null:l;var s=r.memoizedState.inst;Xe!==null&&l!==null&&Nc(l,Xe.memoizedState.deps)?r.memoizedState=Ql(t,n,s,l):(De.flags|=e,r.memoizedState=Ql(1|t,n,s,l))}function Nd(e,t){Zr(8390656,8,e,t)}function Uc(e,t){Kr(2048,8,e,t)}function Cd(e,t){return Kr(4,2,e,t)}function jd(e,t){return Kr(4,4,e,t)}function Od(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Dd(e,t,n){n=n!=null?n.concat([e]):null,Kr(4,4,Od.bind(null,t,e),n)}function Hc(){}function Ad(e,t){var n=gt();t=t===void 0?null:t;var l=n.memoizedState;return t!==null&&Nc(t,l[1])?l[0]:(n.memoizedState=[e,t],e)}function wd(e,t){var n=gt();t=t===void 0?null:t;var l=n.memoizedState;if(t!==null&&Nc(t,l[1]))return l[0];if(l=e(),sl){Nt(!0);try{e()}finally{Nt(!1)}}return n.memoizedState=[l,t],l}function Bc(e,t,n){return n===void 0||Da&1073741824?e.memoizedState=t:(e.memoizedState=n,e=zh(),De.lanes|=e,ka|=e,n)}function Md(e,t,n,l){return an(n,t)?n:kl.current!==null?(e=Bc(e,n,l),an(e,t)||(jt=!0),e):Da&42?(e=zh(),De.lanes|=e,ka|=e,t):(jt=!0,e.memoizedState=n)}function zd(e,t,n,l,r){var s=J.p;J.p=s!==0&&8>s?s:8;var d=$.T,E={};$.T=E,Vc(e,!1,t,n);try{var S=r(),O=$.S;if(O!==null&&O(E,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var q=Lv(S,l);zi(e,t,q,cn(e))}else zi(e,t,l,cn(e))}catch(G){zi(e,t,{then:function(){},status:"rejected",reason:G},cn())}finally{J.p=s,$.T=d}}function kv(){}function qc(e,t,n,l){if(e.tag!==5)throw Error(c(476));var r=Ld(e).queue;zd(e,r,t,ye,n===null?kv:function(){return Ud(e),n(l)})}function Ld(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ye,baseState:ye,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:ye},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ud(e){var t=Ld(e).next.queue;zi(e,t,{},cn())}function kc(){return Yt(er)}function Hd(){return gt().memoizedState}function Bd(){return gt().memoizedState}function Vv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=cn();e=za(n);var l=La(t,e,n);l!==null&&(Kt(l,t,n),Hi(l,t,n)),t={cache:_c()},e.payload=t;return}t=t.return}}function Yv(e,t,n){var l=cn();n={lane:l,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},$r(e)?kd(t,n):(n=pc(e,t,n,l),n!==null&&(Kt(n,e,l),Vd(n,t,l)))}function qd(e,t,n){var l=cn();zi(e,t,n,l)}function zi(e,t,n,l){var r={lane:l,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if($r(e))kd(t,r);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var d=t.lastRenderedState,E=s(d,n);if(r.hasEagerState=!0,r.eagerState=E,an(E,d))return Ar(e,t,r,0),We===null&&Dr(),!1}catch{}finally{}if(n=pc(e,t,r,l),n!==null)return Kt(n,e,l),Vd(n,t,l),!0}return!1}function Vc(e,t,n,l){if(l={lane:2,revertLane:Ds(),action:l,hasEagerState:!1,eagerState:null,next:null},$r(e)){if(t)throw Error(c(479))}else t=pc(e,n,l,2),t!==null&&Kt(t,e,2)}function $r(e){var t=e.alternate;return e===De||t!==null&&t===De}function kd(e,t){Gl=Vr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vd(e,t,n){if(n&4194176){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,Se(e,n)}}var Qn={readContext:Yt,use:Xr,useCallback:yt,useContext:yt,useEffect:yt,useImperativeHandle:yt,useLayoutEffect:yt,useInsertionEffect:yt,useMemo:yt,useReducer:yt,useRef:yt,useState:yt,useDebugValue:yt,useDeferredValue:yt,useTransition:yt,useSyncExternalStore:yt,useId:yt};Qn.useCacheRefresh=yt,Qn.useMemoCache=yt,Qn.useHostTransitionStatus=yt,Qn.useFormState=yt,Qn.useActionState=yt,Qn.useOptimistic=yt;var ol={readContext:Yt,use:Xr,useCallback:function(e,t){return It().memoizedState=[e,t===void 0?null:t],e},useContext:Yt,useEffect:Nd,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Zr(4194308,4,Od.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Zr(4194308,4,e,t)},useInsertionEffect:function(e,t){Zr(4,2,e,t)},useMemo:function(e,t){var n=It();t=t===void 0?null:t;var l=e();if(sl){Nt(!0);try{e()}finally{Nt(!1)}}return n.memoizedState=[l,t],l},useReducer:function(e,t,n){var l=It();if(n!==void 0){var r=n(t);if(sl){Nt(!0);try{n(t)}finally{Nt(!1)}}}else r=t;return l.memoizedState=l.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},l.queue=e,e=e.dispatch=Yv.bind(null,De,e),[l.memoizedState,e]},useRef:function(e){var t=It();return e={current:e},t.memoizedState=e},useState:function(e){e=zc(e);var t=e.queue,n=qd.bind(null,De,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Hc,useDeferredValue:function(e,t){var n=It();return Bc(n,e,t)},useTransition:function(){var e=zc(!1);return e=zd.bind(null,De,e.queue,!0,!1),It().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var l=De,r=It();if(qe){if(n===void 0)throw Error(c(407));n=n()}else{if(n=t(),We===null)throw Error(c(349));Be&60||od(l,t,n)}r.memoizedState=n;var s={value:n,getSnapshot:t};return r.queue=s,Nd(dd.bind(null,l,s,e),[e]),l.flags|=2048,Ql(9,fd.bind(null,l,s,n,t),{destroy:void 0},null),n},useId:function(){var e=It(),t=We.identifierPrefix;if(qe){var n=ra,l=ia;n=(l&~(1<<32-ht(l)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Uv++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},useCacheRefresh:function(){return It().memoizedState=Vv.bind(null,De)}};ol.useMemoCache=Ac,ol.useHostTransitionStatus=kc,ol.useFormState=Sd,ol.useActionState=Sd,ol.useOptimistic=function(e){var t=It();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Vc.bind(null,De,!0,n),n.dispatch=t,[e,t]};var Aa={readContext:Yt,use:Xr,useCallback:Ad,useContext:Yt,useEffect:Uc,useImperativeHandle:Dd,useInsertionEffect:Cd,useLayoutEffect:jd,useMemo:wd,useReducer:Qr,useRef:Td,useState:function(){return Qr(ca)},useDebugValue:Hc,useDeferredValue:function(e,t){var n=gt();return Md(n,Xe.memoizedState,e,t)},useTransition:function(){var e=Qr(ca)[0],t=gt().memoizedState;return[typeof e=="boolean"?e:Mi(e),t]},useSyncExternalStore:sd,useId:Hd};Aa.useCacheRefresh=Bd,Aa.useMemoCache=Ac,Aa.useHostTransitionStatus=kc,Aa.useFormState=xd,Aa.useActionState=xd,Aa.useOptimistic=function(e,t){var n=gt();return yd(n,Xe,e,t)};var fl={readContext:Yt,use:Xr,useCallback:Ad,useContext:Yt,useEffect:Uc,useImperativeHandle:Dd,useInsertionEffect:Cd,useLayoutEffect:jd,useMemo:wd,useReducer:Mc,useRef:Td,useState:function(){return Mc(ca)},useDebugValue:Hc,useDeferredValue:function(e,t){var n=gt();return Xe===null?Bc(n,e,t):Md(n,Xe.memoizedState,e,t)},useTransition:function(){var e=Mc(ca)[0],t=gt().memoizedState;return[typeof e=="boolean"?e:Mi(e),t]},useSyncExternalStore:sd,useId:Hd};fl.useCacheRefresh=Bd,fl.useMemoCache=Ac,fl.useHostTransitionStatus=kc,fl.useFormState=Rd,fl.useActionState=Rd,fl.useOptimistic=function(e,t){var n=gt();return Xe!==null?yd(n,Xe,e,t):(n.baseState=e,[e,n.queue.dispatch])};function Yc(e,t,n,l){t=e.memoizedState,n=n(l,t),n=n==null?t:ie({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Gc={isMounted:function(e){return(e=e._reactInternals)?F(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var l=cn(),r=za(l);r.payload=t,n!=null&&(r.callback=n),t=La(e,r,l),t!==null&&(Kt(t,e,l),Hi(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var l=cn(),r=za(l);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=La(e,r,l),t!==null&&(Kt(t,e,l),Hi(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cn(),l=za(n);l.tag=2,t!=null&&(l.callback=t),t=La(e,l,n),t!==null&&(Kt(t,e,n),Hi(t,e,n))}};function Yd(e,t,n,l,r,s,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,s,d):t.prototype&&t.prototype.isPureReactComponent?!Si(n,l)||!Si(r,s):!0}function Gd(e,t,n,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,l),t.state!==e&&Gc.enqueueReplaceState(t,t.state,null)}function dl(e,t){var n=t;if("ref"in t){n={};for(var l in t)l!=="ref"&&(n[l]=t[l])}if(e=e.defaultProps){n===t&&(n=ie({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}var Jr=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Xd(e){Jr(e)}function Qd(e){console.error(e)}function Zd(e){Jr(e)}function Fr(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function Kd(e,t,n){try{var l=e.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Xc(e,t,n){return n=za(n),n.tag=3,n.payload={element:null},n.callback=function(){Fr(e,t)},n}function $d(e){return e=za(e),e.tag=3,e}function Jd(e,t,n,l){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var s=l.value;e.payload=function(){return r(s)},e.callback=function(){Kd(t,n,l)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Kd(t,n,l),typeof r!="function"&&(Va===null?Va=new Set([this]):Va.add(this));var E=l.stack;this.componentDidCatch(l.value,{componentStack:E!==null?E:""})})}function Gv(e,t,n,l,r){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=n.alternate,t!==null&&Ui(t,n,r,!0),n=xn.current,n!==null){switch(n.tag){case 13:return Xn===null?Ts():n.alternate===null&&ft===0&&(ft=3),n.flags&=-257,n.flags|=65536,n.lanes=r,l===bc?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([l]):t.add(l),Cs(e,l,r)),!1;case 22:return n.flags|=65536,l===bc?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([l]):n.add(l)),Cs(e,l,r)),!1}throw Error(c(435,n.tag))}return Cs(e,l,r),Ts(),!1}if(qe)return t=xn.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=r,l!==Ec&&(e=Error(c(422),{cause:l}),Ti(En(e,n)))):(l!==Ec&&(t=Error(c(423),{cause:l}),Ti(En(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,l=En(l,n),r=Xc(e.stateNode,l,r),is(e,r),ft!==4&&(ft=2)),!1;var s=Error(c(520),{cause:l});if(s=En(s,n),Qi===null?Qi=[s]:Qi.push(s),ft!==4&&(ft=2),t===null)return!0;l=En(l,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=Xc(n.stateNode,l,e),is(n,e),!1;case 1:if(t=n.type,s=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Va===null||!Va.has(s))))return n.flags|=65536,r&=-r,n.lanes|=r,r=$d(r),Jd(r,e,n,l),is(n,r),!1}n=n.return}while(n!==null);return!1}var Fd=Error(c(461)),jt=!1;function Ut(e,t,n,l){t.child=e===null?td(t,null,n,l):ul(t,e.child,n,l)}function Pd(e,t,n,l,r){n=n.render;var s=t.ref;if("ref"in l){var d={};for(var E in l)E!=="ref"&&(d[E]=l[E])}else d=l;return ml(t),l=Cc(e,t,n,d,s,r),E=jc(),e!==null&&!jt?(Oc(e,t,r),sa(e,t,r)):(qe&&E&&vc(t),t.flags|=1,Ut(e,t,l,r),t.child)}function Wd(e,t,n,l,r){if(e===null){var s=n.type;return typeof s=="function"&&!hs(s)&&s.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=s,Id(e,t,s,l,r)):(e=tu(n.type,null,l,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!Ic(e,r)){var d=s.memoizedProps;if(n=n.compare,n=n!==null?n:Si,n(d,l)&&e.ref===t.ref)return sa(e,t,r)}return t.flags|=1,e=qa(s,l),e.ref=t.ref,e.return=t,t.child=e}function Id(e,t,n,l,r){if(e!==null){var s=e.memoizedProps;if(Si(s,l)&&e.ref===t.ref)if(jt=!1,t.pendingProps=l=s,Ic(e,r))e.flags&131072&&(jt=!0);else return t.lanes=e.lanes,sa(e,t,r)}return Qc(e,t,n,l,r)}function eh(e,t,n){var l=t.pendingProps,r=l.children,s=(t.stateNode._pendingVisibility&2)!==0,d=e!==null?e.memoizedState:null;if(Li(e,t),l.mode==="hidden"||s){if(t.flags&128){if(l=d!==null?d.baseLanes|n:n,e!==null){for(r=t.child=e.child,s=0;r!==null;)s=s|r.lanes|r.childLanes,r=r.sibling;t.childLanes=s&~l}else t.childLanes=0,t.child=null;return th(e,t,l,n)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&kr(t,d!==null?d.cachePool:null),d!==null?nd(t,d):Sc(),ad(t);else return t.lanes=t.childLanes=536870912,th(e,t,d!==null?d.baseLanes|n:n,n)}else d!==null?(kr(t,d.cachePool),nd(t,d),Oa(),t.memoizedState=null):(e!==null&&kr(t,null),Sc(),Oa());return Ut(e,t,r,n),t.child}function th(e,t,n,l){var r=Tc();return r=r===null?null:{parent:_t._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},e!==null&&kr(t,null),Sc(),ad(t),e!==null&&Ui(e,t,l,!0),null}function Li(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=2097664);else{if(typeof n!="function"&&typeof n!="object")throw Error(c(284));(e===null||e.ref!==n)&&(t.flags|=2097664)}}function Qc(e,t,n,l,r){return ml(t),n=Cc(e,t,n,l,void 0,r),l=jc(),e!==null&&!jt?(Oc(e,t,r),sa(e,t,r)):(qe&&l&&vc(t),t.flags|=1,Ut(e,t,n,r),t.child)}function nh(e,t,n,l,r,s){return ml(t),t.updateQueue=null,n=cd(t,l,n,r),ud(e),l=jc(),e!==null&&!jt?(Oc(e,t,s),sa(e,t,s)):(qe&&l&&vc(t),t.flags|=1,Ut(e,t,n,s),t.child)}function ah(e,t,n,l,r){if(ml(t),t.stateNode===null){var s=Ul,d=n.contextType;typeof d=="object"&&d!==null&&(s=Yt(d)),s=new n(l,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Gc,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=l,s.state=t.memoizedState,s.refs={},as(t),d=n.contextType,s.context=typeof d=="object"&&d!==null?Yt(d):Ul,s.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Yc(t,n,d,l),s.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(d=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),d!==s.state&&Gc.enqueueReplaceState(s,s.state,null),qi(t,l,s,r),Bi(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){s=t.stateNode;var E=t.memoizedProps,S=dl(n,E);s.props=S;var O=s.context,q=n.contextType;d=Ul,typeof q=="object"&&q!==null&&(d=Yt(q));var G=n.getDerivedStateFromProps;q=typeof G=="function"||typeof s.getSnapshotBeforeUpdate=="function",E=t.pendingProps!==E,q||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(E||O!==d)&&Gd(t,s,l,d),Ma=!1;var L=t.memoizedState;s.state=L,qi(t,l,s,r),Bi(),O=t.memoizedState,E||L!==O||Ma?(typeof G=="function"&&(Yc(t,n,G,l),O=t.memoizedState),(S=Ma||Yd(t,n,S,l,L,O,d))?(q||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=O),s.props=l,s.state=O,s.context=d,l=S):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{s=t.stateNode,ls(e,t),d=t.memoizedProps,q=dl(n,d),s.props=q,G=t.pendingProps,L=s.context,O=n.contextType,S=Ul,typeof O=="object"&&O!==null&&(S=Yt(O)),E=n.getDerivedStateFromProps,(O=typeof E=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(d!==G||L!==S)&&Gd(t,s,l,S),Ma=!1,L=t.memoizedState,s.state=L,qi(t,l,s,r),Bi();var B=t.memoizedState;d!==G||L!==B||Ma||e!==null&&e.dependencies!==null&&Pr(e.dependencies)?(typeof E=="function"&&(Yc(t,n,E,l),B=t.memoizedState),(q=Ma||Yd(t,n,q,l,L,B,S)||e!==null&&e.dependencies!==null&&Pr(e.dependencies))?(O||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(l,B,S),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(l,B,S)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=B),s.props=l,s.state=B,s.context=S,l=q):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),l=!1)}return s=l,Li(e,t),l=(t.flags&128)!==0,s||l?(s=t.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,e!==null&&l?(t.child=ul(t,e.child,null,r),t.child=ul(t,null,n,r)):Ut(e,t,n,r),t.memoizedState=s.state,e=t.child):e=sa(e,t,r),e}function lh(e,t,n,l){return Ri(),t.flags|=256,Ut(e,t,n,l),t.child}var Zc={dehydrated:null,treeContext:null,retryLane:0};function Kc(e){return{baseLanes:e,cachePool:rd()}}function $c(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Nn),e}function ih(e,t,n){var l=t.pendingProps,r=!1,s=(t.flags&128)!==0,d;if((d=s)||(d=e!==null&&e.memoizedState===null?!1:(xt.current&2)!==0),d&&(r=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(qe){if(r?ja(t):Oa(),qe){var E=Lt,S;if(S=E){e:{for(S=E,E=Gn;S.nodeType!==8;){if(!E){E=null;break e}if(S=Hn(S.nextSibling),S===null){E=null;break e}}E=S}E!==null?(t.memoizedState={dehydrated:E,treeContext:ll!==null?{id:ia,overflow:ra}:null,retryLane:536870912},S=Tn(18,null,null,0),S.stateNode=E,S.return=t,t.child=S,Zt=t,Lt=null,S=!0):S=!1}S||rl(t)}if(E=t.memoizedState,E!==null&&(E=E.dehydrated,E!==null))return E.data==="$!"?t.lanes=16:t.lanes=536870912,null;ua(t)}return E=l.children,l=l.fallback,r?(Oa(),r=t.mode,E=Fc({mode:"hidden",children:E},r),l=pl(l,r,n,null),E.return=t,l.return=t,E.sibling=l,t.child=E,r=t.child,r.memoizedState=Kc(n),r.childLanes=$c(e,d,n),t.memoizedState=Zc,l):(ja(t),Jc(t,E))}if(S=e.memoizedState,S!==null&&(E=S.dehydrated,E!==null)){if(s)t.flags&256?(ja(t),t.flags&=-257,t=Pc(e,t,n)):t.memoizedState!==null?(Oa(),t.child=e.child,t.flags|=128,t=null):(Oa(),r=l.fallback,E=t.mode,l=Fc({mode:"visible",children:l.children},E),r=pl(r,E,n,null),r.flags|=2,l.return=t,r.return=t,l.sibling=r,t.child=l,ul(t,e.child,null,n),l=t.child,l.memoizedState=Kc(n),l.childLanes=$c(e,d,n),t.memoizedState=Zc,t=r);else if(ja(t),E.data==="$!"){if(d=E.nextSibling&&E.nextSibling.dataset,d)var O=d.dgst;d=O,l=Error(c(419)),l.stack="",l.digest=d,Ti({value:l,source:null,stack:null}),t=Pc(e,t,n)}else if(jt||Ui(e,t,n,!1),d=(n&e.childLanes)!==0,jt||d){if(d=We,d!==null){if(l=n&-n,l&42)l=1;else switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:l=64;break;case 268435456:l=134217728;break;default:l=0}if(l=l&(d.suspendedLanes|n)?0:l,l!==0&&l!==S.retryLane)throw S.retryLane=l,Ca(e,l),Kt(d,e,l),Fd}E.data==="$?"||Ts(),t=Pc(e,t,n)}else E.data==="$?"?(t.flags|=128,t.child=e.child,t=lg.bind(null,e),E._reactRetry=t,t=null):(e=S.treeContext,Lt=Hn(E.nextSibling),Zt=t,qe=!0,Ln=null,Gn=!1,e!==null&&(bn[Sn++]=ia,bn[Sn++]=ra,bn[Sn++]=ll,ia=e.id,ra=e.overflow,ll=t),t=Jc(t,l.children),t.flags|=4096);return t}return r?(Oa(),r=l.fallback,E=t.mode,S=e.child,O=S.sibling,l=qa(S,{mode:"hidden",children:l.children}),l.subtreeFlags=S.subtreeFlags&31457280,O!==null?r=qa(O,r):(r=pl(r,E,n,null),r.flags|=2),r.return=t,l.return=t,l.sibling=r,t.child=l,l=r,r=t.child,E=e.child.memoizedState,E===null?E=Kc(n):(S=E.cachePool,S!==null?(O=_t._currentValue,S=S.parent!==O?{parent:O,pool:O}:S):S=rd(),E={baseLanes:E.baseLanes|n,cachePool:S}),r.memoizedState=E,r.childLanes=$c(e,d,n),t.memoizedState=Zc,l):(ja(t),n=e.child,e=n.sibling,n=qa(n,{mode:"visible",children:l.children}),n.return=t,n.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=n,t.memoizedState=null,n)}function Jc(e,t){return t=Fc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Fc(e,t){return Ah(e,t,0,null)}function Pc(e,t,n){return ul(t,e.child,null,n),e=Jc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rh(e,t,n){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),ts(e.return,t,n)}function Wc(e,t,n,l,r){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:r}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=l,s.tail=n,s.tailMode=r)}function uh(e,t,n){var l=t.pendingProps,r=l.revealOrder,s=l.tail;if(Ut(e,t,l.children,n),l=xt.current,l&2)l=l&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&rh(e,n,t);else if(e.tag===19)rh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}switch(Te(xt,l),r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&qr(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Wc(t,!1,r,n,s);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&qr(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Wc(t,!0,n,null,s);break;case"together":Wc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function sa(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ka|=t.lanes,!(n&t.childLanes))if(e!==null){if(Ui(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,n=qa(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=qa(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ic(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&Pr(e)))}function Xv(e,t,n){switch(t.tag){case 3:ze(t,t.stateNode.containerInfo),wa(t,_t,e.memoizedState.cache),Ri();break;case 27:case 5:qt(t);break;case 4:ze(t,t.stateNode.containerInfo);break;case 10:wa(t,t.type,t.memoizedProps.value);break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(ja(t),t.flags|=128,null):n&t.child.childLanes?ih(e,t,n):(ja(t),e=sa(e,t,n),e!==null?e.sibling:null);ja(t);break;case 19:var r=(e.flags&128)!==0;if(l=(n&t.childLanes)!==0,l||(Ui(e,t,n,!1),l=(n&t.childLanes)!==0),r){if(l)return uh(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Te(xt,xt.current),l)break;return null;case 22:case 23:return t.lanes=0,eh(e,t,n);case 24:wa(t,_t,e.memoizedState.cache)}return sa(e,t,n)}function ch(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)jt=!0;else{if(!Ic(e,n)&&!(t.flags&128))return jt=!1,Xv(e,t,n);jt=!!(e.flags&131072)}else jt=!1,qe&&t.flags&1048576&&Zf(t,zr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var l=t.elementType,r=l._init;if(l=r(l._payload),t.type=l,typeof l=="function")hs(l)?(e=dl(l,e),t.tag=1,t=ah(null,t,l,e,n)):(t.tag=0,t=Qc(null,t,l,e,n));else{if(l!=null){if(r=l.$$typeof,r===A){t.tag=11,t=Pd(null,t,l,e,n);break e}else if(r===z){t.tag=14,t=Wd(null,t,l,e,n);break e}}throw t=ce(l)||l,Error(c(306,t,""))}}return t;case 0:return Qc(e,t,t.type,t.pendingProps,n);case 1:return l=t.type,r=dl(l,t.pendingProps),ah(e,t,l,r,n);case 3:e:{if(ze(t,t.stateNode.containerInfo),e===null)throw Error(c(387));var s=t.pendingProps;r=t.memoizedState,l=r.element,ls(e,t),qi(t,s,null,n);var d=t.memoizedState;if(s=d.cache,wa(t,_t,s),s!==r.cache&&ns(t,[_t],n,!0),Bi(),s=d.element,r.isDehydrated)if(r={element:s,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){t=lh(e,t,s,n);break e}else if(s!==l){l=En(Error(c(424)),t),Ti(l),t=lh(e,t,s,n);break e}else for(Lt=Hn(t.stateNode.containerInfo.firstChild),Zt=t,qe=!0,Ln=null,Gn=!0,n=td(t,null,s,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ri(),s===l){t=sa(e,t,n);break e}Ut(e,t,s,n)}t=t.child}return t;case 26:return Li(e,t),e===null?(n=fm(t.type,null,t.pendingProps,null))?t.memoizedState=n:qe||(n=t.type,e=t.pendingProps,l=hu(Ke.current).createElement(n),l[me]=t,l[Oe]=e,Ht(l,n,e),lt(l),t.stateNode=l):t.memoizedState=fm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return qt(t),e===null&&qe&&(l=t.stateNode=cm(t.type,t.pendingProps,Ke.current),Zt=t,Gn=!0,Lt=Hn(l.firstChild)),l=t.pendingProps.children,e!==null||qe?Ut(e,t,l,n):t.child=ul(t,null,l,n),Li(e,t),t.child;case 5:return e===null&&qe&&((r=l=Lt)&&(l=bg(l,t.type,t.pendingProps,Gn),l!==null?(t.stateNode=l,Zt=t,Lt=Hn(l.firstChild),Gn=!1,r=!0):r=!1),r||rl(t)),qt(t),r=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,l=s.children,qs(r,s)?l=null:d!==null&&qs(r,d)&&(t.flags|=32),t.memoizedState!==null&&(r=Cc(e,t,Hv,null,null,n),er._currentValue=r),Li(e,t),Ut(e,t,l,n),t.child;case 6:return e===null&&qe&&((e=n=Lt)&&(n=Sg(n,t.pendingProps,Gn),n!==null?(t.stateNode=n,Zt=t,Lt=null,e=!0):e=!1),e||rl(t)),null;case 13:return ih(e,t,n);case 4:return ze(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=ul(t,null,l,n):Ut(e,t,l,n),t.child;case 11:return Pd(e,t,t.type,t.pendingProps,n);case 7:return Ut(e,t,t.pendingProps,n),t.child;case 8:return Ut(e,t,t.pendingProps.children,n),t.child;case 12:return Ut(e,t,t.pendingProps.children,n),t.child;case 10:return l=t.pendingProps,wa(t,t.type,l.value),Ut(e,t,l.children,n),t.child;case 9:return r=t.type._context,l=t.pendingProps.children,ml(t),r=Yt(r),l=l(r),t.flags|=1,Ut(e,t,l,n),t.child;case 14:return Wd(e,t,t.type,t.pendingProps,n);case 15:return Id(e,t,t.type,t.pendingProps,n);case 19:return uh(e,t,n);case 22:return eh(e,t,n);case 24:return ml(t),l=Yt(_t),e===null?(r=Tc(),r===null&&(r=We,s=_c(),r.pooledCache=s,s.refCount++,s!==null&&(r.pooledCacheLanes|=n),r=s),t.memoizedState={parent:l,cache:r},as(t),wa(t,_t,r)):(e.lanes&n&&(ls(e,t),qi(t,null,null,n),Bi()),r=e.memoizedState,s=t.memoizedState,r.parent!==l?(r={parent:l,cache:l},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),wa(t,_t,l)):(l=s.cache,wa(t,_t,l),l!==r.cache&&ns(t,[_t],n,!0))),Ut(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}var es=Ce(null),hl=null,oa=null;function wa(e,t,n){Te(es,t._currentValue),t._currentValue=n}function fa(e){e._currentValue=es.current,xe(es)}function ts(e,t,n){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===n)break;e=e.return}}function ns(e,t,n,l){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var s=r.dependencies;if(s!==null){var d=r.child;s=s.firstContext;e:for(;s!==null;){var E=s;s=r;for(var S=0;S<t.length;S++)if(E.context===t[S]){s.lanes|=n,E=s.alternate,E!==null&&(E.lanes|=n),ts(s.return,n,e),l||(d=null);break e}s=E.next}}else if(r.tag===18){if(d=r.return,d===null)throw Error(c(341));d.lanes|=n,s=d.alternate,s!==null&&(s.lanes|=n),ts(d,n,e),d=null}else d=r.child;if(d!==null)d.return=r;else for(d=r;d!==null;){if(d===e){d=null;break}if(r=d.sibling,r!==null){r.return=d.return,d=r;break}d=d.return}r=d}}function Ui(e,t,n,l){e=null;for(var r=t,s=!1;r!==null;){if(!s){if(r.flags&524288)s=!0;else if(r.flags&262144)break}if(r.tag===10){var d=r.alternate;if(d===null)throw Error(c(387));if(d=d.memoizedProps,d!==null){var E=r.type;an(r.pendingProps.value,d.value)||(e!==null?e.push(E):e=[E])}}else if(r===Rt.current){if(d=r.alternate,d===null)throw Error(c(387));d.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(er):e=[er])}r=r.return}e!==null&&ns(t,e,n,l),t.flags|=262144}function Pr(e){for(e=e.firstContext;e!==null;){if(!an(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ml(e){hl=e,oa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Yt(e){return sh(hl,e)}function Wr(e,t){return hl===null&&ml(e),sh(e,t)}function sh(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},oa===null){if(e===null)throw Error(c(308));oa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else oa=oa.next=t;return n}var Ma=!1;function as(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ls(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function za(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function La(e,t,n){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,rt&2){var r=l.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),l.pending=t,t=wr(e),Xf(e,null,n),t}return Ar(e,l,t,n),wr(e)}function Hi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194176)!==0)){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,Se(e,n)}}function is(e,t){var n=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var r=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?r=s=d:s=s.next=d,n=n.next}while(n!==null);s===null?r=s=t:s=s.next=t}else r=s=t;n={baseState:l.baseState,firstBaseUpdate:r,lastBaseUpdate:s,shared:l.shared,callbacks:l.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var rs=!1;function Bi(){if(rs){var e=Yl;if(e!==null)throw e}}function qi(e,t,n,l){rs=!1;var r=e.updateQueue;Ma=!1;var s=r.firstBaseUpdate,d=r.lastBaseUpdate,E=r.shared.pending;if(E!==null){r.shared.pending=null;var S=E,O=S.next;S.next=null,d===null?s=O:d.next=O,d=S;var q=e.alternate;q!==null&&(q=q.updateQueue,E=q.lastBaseUpdate,E!==d&&(E===null?q.firstBaseUpdate=O:E.next=O,q.lastBaseUpdate=S))}if(s!==null){var G=r.baseState;d=0,q=O=S=null,E=s;do{var L=E.lane&-536870913,B=L!==E.lane;if(B?(Be&L)===L:(l&L)===L){L!==0&&L===Vl&&(rs=!0),q!==null&&(q=q.next={lane:0,tag:E.tag,payload:E.payload,callback:null,next:null});e:{var oe=e,Re=E;L=t;var dt=n;switch(Re.tag){case 1:if(oe=Re.payload,typeof oe=="function"){G=oe.call(dt,G,L);break e}G=oe;break e;case 3:oe.flags=oe.flags&-65537|128;case 0:if(oe=Re.payload,L=typeof oe=="function"?oe.call(dt,G,L):oe,L==null)break e;G=ie({},G,L);break e;case 2:Ma=!0}}L=E.callback,L!==null&&(e.flags|=64,B&&(e.flags|=8192),B=r.callbacks,B===null?r.callbacks=[L]:B.push(L))}else B={lane:L,tag:E.tag,payload:E.payload,callback:E.callback,next:null},q===null?(O=q=B,S=G):q=q.next=B,d|=L;if(E=E.next,E===null){if(E=r.shared.pending,E===null)break;B=E,E=B.next,B.next=null,r.lastBaseUpdate=B,r.shared.pending=null}}while(!0);q===null&&(S=G),r.baseState=S,r.firstBaseUpdate=O,r.lastBaseUpdate=q,s===null&&(r.shared.lanes=0),ka|=d,e.lanes=d,e.memoizedState=G}}function oh(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function fh(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)oh(n[e],t)}function ki(e,t){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var r=l.next;n=r;do{if((n.tag&e)===e){l=void 0;var s=n.create,d=n.inst;l=s(),d.destroy=l}n=n.next}while(n!==r)}}catch(E){Fe(t,t.return,E)}}function Ua(e,t,n){try{var l=t.updateQueue,r=l!==null?l.lastEffect:null;if(r!==null){var s=r.next;l=s;do{if((l.tag&e)===e){var d=l.inst,E=d.destroy;if(E!==void 0){d.destroy=void 0,r=t;var S=n;try{E()}catch(O){Fe(r,S,O)}}}l=l.next}while(l!==s)}}catch(O){Fe(t,t.return,O)}}function dh(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{fh(t,n)}catch(l){Fe(e,e.return,l)}}}function hh(e,t,n){n.props=dl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(l){Fe(e,t,l)}}function yl(e,t){try{var n=e.ref;if(n!==null){var l=e.stateNode;switch(e.tag){case 26:case 27:case 5:var r=l;break;default:r=l}typeof n=="function"?e.refCleanup=n(r):n.current=r}}catch(s){Fe(e,t,s)}}function ln(e,t){var n=e.ref,l=e.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(r){Fe(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){Fe(e,t,r)}else n.current=null}function mh(e){var t=e.type,n=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break e;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(r){Fe(e,e.return,r)}}function yh(e,t,n){try{var l=e.stateNode;yg(l,e.type,n,t),l[Oe]=t}catch(r){Fe(e,e.return,r)}}function ph(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27||e.tag===4}function us(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ph(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==27&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function cs(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=du));else if(l!==4&&l!==27&&(e=e.child,e!==null))for(cs(e,t,n),e=e.sibling;e!==null;)cs(e,t,n),e=e.sibling}function Ir(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(l!==4&&l!==27&&(e=e.child,e!==null))for(Ir(e,t,n),e=e.sibling;e!==null;)Ir(e,t,n),e=e.sibling}var da=!1,ot=!1,ss=!1,vh=typeof WeakSet=="function"?WeakSet:Set,Ot=null,gh=!1;function Qv(e,t){if(e=e.containerInfo,Hs=Eu,e=Lf(e),fc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var r=l.anchorOffset,s=l.focusNode;l=l.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var d=0,E=-1,S=-1,O=0,q=0,G=e,L=null;t:for(;;){for(var B;G!==n||r!==0&&G.nodeType!==3||(E=d+r),G!==s||l!==0&&G.nodeType!==3||(S=d+l),G.nodeType===3&&(d+=G.nodeValue.length),(B=G.firstChild)!==null;)L=G,G=B;for(;;){if(G===e)break t;if(L===n&&++O===r&&(E=d),L===s&&++q===l&&(S=d),(B=G.nextSibling)!==null)break;G=L,L=G.parentNode}G=B}n=E===-1||S===-1?null:{start:E,end:S}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bs={focusedElem:e,selectionRange:n},Eu=!1,Ot=t;Ot!==null;)if(t=Ot,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ot=e;else for(;Ot!==null;){switch(t=Ot,s=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if(e&1024&&s!==null){e=void 0,n=t,r=s.memoizedProps,s=s.memoizedState,l=n.stateNode;try{var oe=dl(n.type,r,n.elementType===n.type);e=l.getSnapshotBeforeUpdate(oe,s),l.__reactInternalSnapshotBeforeUpdate=e}catch(Re){Fe(n,n.return,Re)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Ys(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ys(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(c(163))}if(e=t.sibling,e!==null){e.return=t.return,Ot=e;break}Ot=t.return}return oe=gh,gh=!1,oe}function Eh(e,t,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:ma(e,n),l&4&&ki(5,n);break;case 1:if(ma(e,n),l&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(E){Fe(n,n.return,E)}else{var r=dl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(E){Fe(n,n.return,E)}}l&64&&dh(n),l&512&&yl(n,n.return);break;case 3:if(ma(e,n),l&64&&(l=n.updateQueue,l!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{fh(l,e)}catch(E){Fe(n,n.return,E)}}break;case 26:ma(e,n),l&512&&yl(n,n.return);break;case 27:case 5:ma(e,n),t===null&&l&4&&mh(n),l&512&&yl(n,n.return);break;case 12:ma(e,n);break;case 13:ma(e,n),l&4&&xh(e,n);break;case 22:if(r=n.memoizedState!==null||da,!r){t=t!==null&&t.memoizedState!==null||ot;var s=da,d=ot;da=r,(ot=t)&&!d?Ha(e,n,(n.subtreeFlags&8772)!==0):ma(e,n),da=s,ot=d}l&512&&(n.memoizedProps.mode==="manual"?yl(n,n.return):ln(n,n.return));break;default:ma(e,n)}}function bh(e){var t=e.alternate;t!==null&&(e.alternate=null,bh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&nn(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Et=null,rn=!1;function ha(e,t,n){for(n=n.child;n!==null;)Sh(e,t,n),n=n.sibling}function Sh(e,t,n){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(tn,n)}catch{}switch(n.tag){case 26:ot||ln(n,t),ha(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ot||ln(n,t);var l=Et,r=rn;for(Et=n.stateNode,ha(e,t,n),n=n.stateNode,t=n.attributes;t.length;)n.removeAttributeNode(t[0]);nn(n),Et=l,rn=r;break;case 5:ot||ln(n,t);case 6:r=Et;var s=rn;if(Et=null,ha(e,t,n),Et=r,rn=s,Et!==null)if(rn)try{e=Et,l=n.stateNode,e.nodeType===8?e.parentNode.removeChild(l):e.removeChild(l)}catch(d){Fe(n,t,d)}else try{Et.removeChild(n.stateNode)}catch(d){Fe(n,t,d)}break;case 18:Et!==null&&(rn?(t=Et,n=n.stateNode,t.nodeType===8?Vs(t.parentNode,n):t.nodeType===1&&Vs(t,n),lr(t)):Vs(Et,n.stateNode));break;case 4:l=Et,r=rn,Et=n.stateNode.containerInfo,rn=!0,ha(e,t,n),Et=l,rn=r;break;case 0:case 11:case 14:case 15:ot||Ua(2,n,t),ot||Ua(4,n,t),ha(e,t,n);break;case 1:ot||(ln(n,t),l=n.stateNode,typeof l.componentWillUnmount=="function"&&hh(n,t,l)),ha(e,t,n);break;case 21:ha(e,t,n);break;case 22:ot||ln(n,t),ot=(l=ot)||n.memoizedState!==null,ha(e,t,n),ot=l;break;default:ha(e,t,n)}}function xh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{lr(e)}catch(n){Fe(t,t.return,n)}}function Zv(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new vh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new vh),t;default:throw Error(c(435,e.tag))}}function os(e,t){var n=Zv(e);t.forEach(function(l){var r=ig.bind(null,e,l);n.has(l)||(n.add(l),l.then(r,r))})}function _n(e,t){var n=t.deletions;if(n!==null)for(var l=0;l<n.length;l++){var r=n[l],s=e,d=t,E=d;e:for(;E!==null;){switch(E.tag){case 27:case 5:Et=E.stateNode,rn=!1;break e;case 3:Et=E.stateNode.containerInfo,rn=!0;break e;case 4:Et=E.stateNode.containerInfo,rn=!0;break e}E=E.return}if(Et===null)throw Error(c(160));Sh(s,d,r),Et=null,rn=!1,s=r.alternate,s!==null&&(s.return=null),r.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)_h(t,e),t=t.sibling}var Un=null;function _h(e,t){var n=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_n(t,e),Rn(e),l&4&&(Ua(3,e,e.return),ki(3,e),Ua(5,e,e.return));break;case 1:_n(t,e),Rn(e),l&512&&(ot||n===null||ln(n,n.return)),l&64&&da&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var r=Un;if(_n(t,e),Rn(e),l&512&&(ot||n===null||ln(n,n.return)),l&4){var s=n!==null?n.memoizedState:null;if(l=e.memoizedState,n===null)if(l===null)if(e.stateNode===null){e:{l=e.type,n=e.memoizedProps,r=r.ownerDocument||r;t:switch(l){case"title":s=r.getElementsByTagName("title")[0],(!s||s[An]||s[me]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=r.createElement(l),r.head.insertBefore(s,r.querySelector("head > title"))),Ht(s,l,n),s[me]=e,lt(s),l=s;break e;case"link":var d=mm("link","href",r).get(l+(n.href||""));if(d){for(var E=0;E<d.length;E++)if(s=d[E],s.getAttribute("href")===(n.href==null?null:n.href)&&s.getAttribute("rel")===(n.rel==null?null:n.rel)&&s.getAttribute("title")===(n.title==null?null:n.title)&&s.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(E,1);break t}}s=r.createElement(l),Ht(s,l,n),r.head.appendChild(s);break;case"meta":if(d=mm("meta","content",r).get(l+(n.content||""))){for(E=0;E<d.length;E++)if(s=d[E],s.getAttribute("content")===(n.content==null?null:""+n.content)&&s.getAttribute("name")===(n.name==null?null:n.name)&&s.getAttribute("property")===(n.property==null?null:n.property)&&s.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&s.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(E,1);break t}}s=r.createElement(l),Ht(s,l,n),r.head.appendChild(s);break;default:throw Error(c(468,l))}s[me]=e,lt(s),l=s}e.stateNode=l}else ym(r,e.type,e.stateNode);else e.stateNode=hm(r,l,e.memoizedProps);else s!==l?(s===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):s.count--,l===null?ym(r,e.type,e.stateNode):hm(r,l,e.memoizedProps)):l===null&&e.stateNode!==null&&yh(e,e.memoizedProps,n.memoizedProps)}break;case 27:if(l&4&&e.alternate===null){r=e.stateNode,s=e.memoizedProps;try{for(var S=r.firstChild;S;){var O=S.nextSibling,q=S.nodeName;S[An]||q==="HEAD"||q==="BODY"||q==="SCRIPT"||q==="STYLE"||q==="LINK"&&S.rel.toLowerCase()==="stylesheet"||r.removeChild(S),S=O}for(var G=e.type,L=r.attributes;L.length;)r.removeAttributeNode(L[0]);Ht(r,G,s),r[me]=e,r[Oe]=s}catch(oe){Fe(e,e.return,oe)}}case 5:if(_n(t,e),Rn(e),l&512&&(ot||n===null||ln(n,n.return)),e.flags&32){r=e.stateNode;try{Ol(r,"")}catch(oe){Fe(e,e.return,oe)}}l&4&&e.stateNode!=null&&(r=e.memoizedProps,yh(e,r,n!==null?n.memoizedProps:r)),l&1024&&(ss=!0);break;case 6:if(_n(t,e),Rn(e),l&4){if(e.stateNode===null)throw Error(c(162));l=e.memoizedProps,n=e.stateNode;try{n.nodeValue=l}catch(oe){Fe(e,e.return,oe)}}break;case 3:if(pu=null,r=Un,Un=mu(t.containerInfo),_n(t,e),Un=r,Rn(e),l&4&&n!==null&&n.memoizedState.isDehydrated)try{lr(t.containerInfo)}catch(oe){Fe(e,e.return,oe)}ss&&(ss=!1,Rh(e));break;case 4:l=Un,Un=mu(e.stateNode.containerInfo),_n(t,e),Rn(e),Un=l;break;case 12:_n(t,e),Rn(e);break;case 13:_n(t,e),Rn(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Es=ct()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,os(e,l)));break;case 22:if(l&512&&(ot||n===null||ln(n,n.return)),S=e.memoizedState!==null,O=n!==null&&n.memoizedState!==null,q=da,G=ot,da=q||S,ot=G||O,_n(t,e),ot=G,da=q,Rn(e),t=e.stateNode,t._current=e,t._visibility&=-3,t._visibility|=t._pendingVisibility&2,l&8192&&(t._visibility=S?t._visibility&-2:t._visibility|1,S&&(t=da||ot,n===null||O||t||Zl(e)),e.memoizedProps===null||e.memoizedProps.mode!=="manual"))e:for(n=null,t=e;;){if(t.tag===5||t.tag===26||t.tag===27){if(n===null){O=n=t;try{if(r=O.stateNode,S)s=r.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{d=O.stateNode,E=O.memoizedProps.style;var B=E!=null&&E.hasOwnProperty("display")?E.display:null;d.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(oe){Fe(O,O.return,oe)}}}else if(t.tag===6){if(n===null){O=t;try{O.stateNode.nodeValue=S?"":O.memoizedProps}catch(oe){Fe(O,O.return,oe)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,os(e,n))));break;case 19:_n(t,e),Rn(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,os(e,l)));break;case 21:break;default:_n(t,e),Rn(e)}}function Rn(e){var t=e.flags;if(t&2){try{if(e.tag!==27){e:{for(var n=e.return;n!==null;){if(ph(n)){var l=n;break e}n=n.return}throw Error(c(160))}switch(l.tag){case 27:var r=l.stateNode,s=us(e);Ir(e,s,r);break;case 5:var d=l.stateNode;l.flags&32&&(Ol(d,""),l.flags&=-33);var E=us(e);Ir(e,E,d);break;case 3:case 4:var S=l.stateNode.containerInfo,O=us(e);cs(e,O,S);break;default:throw Error(c(161))}}}catch(q){Fe(e,e.return,q)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Rh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Rh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ma(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Eh(e,t.alternate,t),t=t.sibling}function Zl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ua(4,t,t.return),Zl(t);break;case 1:ln(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&hh(t,t.return,n),Zl(t);break;case 26:case 27:case 5:ln(t,t.return),Zl(t);break;case 22:ln(t,t.return),t.memoizedState===null&&Zl(t);break;default:Zl(t)}e=e.sibling}}function Ha(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,r=e,s=t,d=s.flags;switch(s.tag){case 0:case 11:case 15:Ha(r,s,n),ki(4,s);break;case 1:if(Ha(r,s,n),l=s,r=l.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(O){Fe(l,l.return,O)}if(l=s,r=l.updateQueue,r!==null){var E=l.stateNode;try{var S=r.shared.hiddenCallbacks;if(S!==null)for(r.shared.hiddenCallbacks=null,r=0;r<S.length;r++)oh(S[r],E)}catch(O){Fe(l,l.return,O)}}n&&d&64&&dh(s),yl(s,s.return);break;case 26:case 27:case 5:Ha(r,s,n),n&&l===null&&d&4&&mh(s),yl(s,s.return);break;case 12:Ha(r,s,n);break;case 13:Ha(r,s,n),n&&d&4&&xh(r,s);break;case 22:s.memoizedState===null&&Ha(r,s,n),yl(s,s.return);break;default:Ha(r,s,n)}t=t.sibling}}function fs(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Di(n))}function ds(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Di(e))}function Ba(e,t,n,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Th(e,t,n,l),t=t.sibling}function Th(e,t,n,l){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Ba(e,t,n,l),r&2048&&ki(9,t);break;case 3:Ba(e,t,n,l),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Di(e)));break;case 12:if(r&2048){Ba(e,t,n,l),e=t.stateNode;try{var s=t.memoizedProps,d=s.id,E=s.onPostCommit;typeof E=="function"&&E(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(S){Fe(t,t.return,S)}}else Ba(e,t,n,l);break;case 23:break;case 22:s=t.stateNode,t.memoizedState!==null?s._visibility&4?Ba(e,t,n,l):Vi(e,t):s._visibility&4?Ba(e,t,n,l):(s._visibility|=4,Kl(e,t,n,l,(t.subtreeFlags&10256)!==0)),r&2048&&fs(t.alternate,t);break;case 24:Ba(e,t,n,l),r&2048&&ds(t.alternate,t);break;default:Ba(e,t,n,l)}}function Kl(e,t,n,l,r){for(r=r&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var s=e,d=t,E=n,S=l,O=d.flags;switch(d.tag){case 0:case 11:case 15:Kl(s,d,E,S,r),ki(8,d);break;case 23:break;case 22:var q=d.stateNode;d.memoizedState!==null?q._visibility&4?Kl(s,d,E,S,r):Vi(s,d):(q._visibility|=4,Kl(s,d,E,S,r)),r&&O&2048&&fs(d.alternate,d);break;case 24:Kl(s,d,E,S,r),r&&O&2048&&ds(d.alternate,d);break;default:Kl(s,d,E,S,r)}t=t.sibling}}function Vi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,l=t,r=l.flags;switch(l.tag){case 22:Vi(n,l),r&2048&&fs(l.alternate,l);break;case 24:Vi(n,l),r&2048&&ds(l.alternate,l);break;default:Vi(n,l)}t=t.sibling}}var Yi=8192;function $l(e){if(e.subtreeFlags&Yi)for(e=e.child;e!==null;)Nh(e),e=e.sibling}function Nh(e){switch(e.tag){case 26:$l(e),e.flags&Yi&&e.memoizedState!==null&&zg(Un,e.memoizedState,e.memoizedProps);break;case 5:$l(e);break;case 3:case 4:var t=Un;Un=mu(e.stateNode.containerInfo),$l(e),Un=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Yi,Yi=16777216,$l(e),Yi=t):$l(e));break;default:$l(e)}}function Ch(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Gi(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];Ot=l,Oh(l,e)}Ch(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)jh(e),e=e.sibling}function jh(e){switch(e.tag){case 0:case 11:case 15:Gi(e),e.flags&2048&&Ua(9,e,e.return);break;case 3:Gi(e);break;case 12:Gi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&4&&(e.return===null||e.return.tag!==13)?(t._visibility&=-5,eu(e)):Gi(e);break;default:Gi(e)}}function eu(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];Ot=l,Oh(l,e)}Ch(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ua(8,t,t.return),eu(t);break;case 22:n=t.stateNode,n._visibility&4&&(n._visibility&=-5,eu(t));break;default:eu(t)}e=e.sibling}}function Oh(e,t){for(;Ot!==null;){var n=Ot;switch(n.tag){case 0:case 11:case 15:Ua(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Di(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,Ot=l;else e:for(n=e;Ot!==null;){l=Ot;var r=l.sibling,s=l.return;if(bh(l),l===n){Ot=null;break e}if(r!==null){r.return=s,Ot=r;break e}Ot=s}}}function Kv(e,t,n,l){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tn(e,t,n,l){return new Kv(e,t,n,l)}function hs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qa(e,t){var n=e.alternate;return n===null?(n=Tn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&31457280,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Dh(e,t){e.flags&=31457282;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function tu(e,t,n,l,r,s){var d=0;if(l=e,typeof e=="function")hs(e)&&(d=1);else if(typeof e=="string")d=wg(e,n,at.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case p:return pl(n.children,r,s,t);case v:d=8,r|=24;break;case b:return e=Tn(12,n,t,r|2),e.elementType=b,e.lanes=s,e;case H:return e=Tn(13,n,t,r),e.elementType=H,e.lanes=s,e;case k:return e=Tn(19,n,t,r),e.elementType=k,e.lanes=s,e;case Q:return Ah(n,r,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case C:case R:d=10;break e;case x:d=9;break e;case A:d=11;break e;case z:d=14;break e;case Z:d=16,l=null;break e}d=29,n=Error(c(130,e===null?"null":typeof e,"")),l=null}return t=Tn(d,n,t,r),t.elementType=e,t.type=l,t.lanes=s,t}function pl(e,t,n,l){return e=Tn(7,e,l,t),e.lanes=n,e}function Ah(e,t,n,l){e=Tn(22,e,l,t),e.elementType=Q,e.lanes=n;var r={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var s=r._current;if(s===null)throw Error(c(456));if(!(r._pendingVisibility&2)){var d=Ca(s,2);d!==null&&(r._pendingVisibility|=2,Kt(d,s,2))}},attach:function(){var s=r._current;if(s===null)throw Error(c(456));if(r._pendingVisibility&2){var d=Ca(s,2);d!==null&&(r._pendingVisibility&=-3,Kt(d,s,2))}}};return e.stateNode=r,e}function ms(e,t,n){return e=Tn(6,e,null,t),e.lanes=n,e}function ys(e,t,n){return t=Tn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ya(e){e.flags|=4}function wh(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!pm(t)){if(t=xn.current,t!==null&&((Be&4194176)===Be?Xn!==null:(Be&62914560)!==Be&&!(Be&536870912)||t!==Xn))throw Ci=bc,Jf;e.flags|=8192}}function nu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?w():536870912,e.lanes|=t,Fl|=t)}function Xi(e,t){if(!qe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function it(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,l=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,l|=r.subtreeFlags&31457280,l|=r.flags&31457280,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,l|=r.subtreeFlags,l|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=l,e.childLanes=n,t}function $v(e,t,n){var l=t.pendingProps;switch(gc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return it(t),null;case 1:return it(t),null;case 3:return n=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),fa(_t),St(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(_i(t)?ya(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ln!==null&&(_s(Ln),Ln=null))),it(t),null;case 26:return n=t.memoizedState,e===null?(ya(t),n!==null?(it(t),wh(t,n)):(it(t),t.flags&=-16777217)):n?n!==e.memoizedState?(ya(t),it(t),wh(t,n)):(it(t),t.flags&=-16777217):(e.memoizedProps!==l&&ya(t),it(t),t.flags&=-16777217),null;case 27:en(t),n=Ke.current;var r=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==l&&ya(t);else{if(!l){if(t.stateNode===null)throw Error(c(166));return it(t),null}e=at.current,_i(t)?Kf(t):(e=cm(r,l,n),t.stateNode=e,ya(t))}return it(t),null;case 5:if(en(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&ya(t);else{if(!l){if(t.stateNode===null)throw Error(c(166));return it(t),null}if(e=at.current,_i(t))Kf(t);else{switch(r=hu(Ke.current),e){case 1:e=r.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=r.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=r.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=r.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":e=r.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof l.is=="string"?r.createElement("select",{is:l.is}):r.createElement("select"),l.multiple?e.multiple=!0:l.size&&(e.size=l.size);break;default:e=typeof l.is=="string"?r.createElement(n,{is:l.is}):r.createElement(n)}}e[me]=t,e[Oe]=l;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(Ht(e,n,l),n){case"button":case"input":case"select":case"textarea":e=!!l.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ya(t)}}return it(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&ya(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(c(166));if(e=Ke.current,_i(t)){if(e=t.stateNode,n=t.memoizedProps,l=null,r=Zt,r!==null)switch(r.tag){case 27:case 5:l=r.memoizedProps}e[me]=t,e=!!(e.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||nm(e.nodeValue,n)),e||rl(t)}else e=hu(e).createTextNode(l),e[me]=t,t.stateNode=e}return it(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=_i(t),l!==null&&l.dehydrated!==null){if(e===null){if(!r)throw Error(c(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(c(317));r[me]=t}else Ri(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;it(t),r=!1}else Ln!==null&&(_s(Ln),Ln=null),r=!0;if(!r)return t.flags&256?(ua(t),t):(ua(t),null)}if(ua(t),t.flags&128)return t.lanes=n,t;if(n=l!==null,e=e!==null&&e.memoizedState!==null,n){l=t.child,r=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(r=l.alternate.memoizedState.cachePool.pool);var s=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==r&&(l.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),nu(t,t.updateQueue),it(t),null;case 4:return St(),e===null&&zs(t.stateNode.containerInfo),it(t),null;case 10:return fa(t.type),it(t),null;case 19:if(xe(xt),r=t.memoizedState,r===null)return it(t),null;if(l=(t.flags&128)!==0,s=r.rendering,s===null)if(l)Xi(r,!1);else{if(ft!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=qr(e),s!==null){for(t.flags|=128,Xi(r,!1),e=s.updateQueue,t.updateQueue=e,nu(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Dh(n,e),n=n.sibling;return Te(xt,xt.current&1|2),t.child}e=e.sibling}r.tail!==null&&ct()>au&&(t.flags|=128,l=!0,Xi(r,!1),t.lanes=4194304)}else{if(!l)if(e=qr(s),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,nu(t,e),Xi(r,!0),r.tail===null&&r.tailMode==="hidden"&&!s.alternate&&!qe)return it(t),null}else 2*ct()-r.renderingStartTime>au&&n!==536870912&&(t.flags|=128,l=!0,Xi(r,!1),t.lanes=4194304);r.isBackwards?(s.sibling=t.child,t.child=s):(e=r.last,e!==null?e.sibling=s:t.child=s,r.last=s)}return r.tail!==null?(t=r.tail,r.rendering=t,r.tail=t.sibling,r.renderingStartTime=ct(),t.sibling=null,e=xt.current,Te(xt,l?e&1|2:e&1),t):(it(t),null);case 22:case 23:return ua(t),xc(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?n&536870912&&!(t.flags&128)&&(it(t),t.subtreeFlags&6&&(t.flags|=8192)):it(t),n=t.updateQueue,n!==null&&nu(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==n&&(t.flags|=2048),e!==null&&xe(cl),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),fa(_t),it(t),null;case 25:return null}throw Error(c(156,t.tag))}function Jv(e,t){switch(gc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return fa(_t),St(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return en(t),null;case 13:if(ua(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));Ri()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return xe(xt),null;case 4:return St(),null;case 10:return fa(t.type),null;case 22:case 23:return ua(t),xc(),e!==null&&xe(cl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return fa(_t),null;case 25:return null;default:return null}}function Mh(e,t){switch(gc(t),t.tag){case 3:fa(_t),St();break;case 26:case 27:case 5:en(t);break;case 4:St();break;case 13:ua(t);break;case 19:xe(xt);break;case 10:fa(t.type);break;case 22:case 23:ua(t),xc(),e!==null&&xe(cl);break;case 24:fa(_t)}}var Fv={getCacheForType:function(e){var t=Yt(_t),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n}},Pv=typeof WeakMap=="function"?WeakMap:Map,rt=0,We=null,Me=null,Be=0,Ie=0,un=null,pa=!1,Jl=!1,ps=!1,va=0,ft=0,ka=0,vl=0,vs=0,Nn=0,Fl=0,Qi=null,Zn=null,gs=!1,Es=0,au=1/0,lu=null,Va=null,iu=!1,gl=null,Zi=0,bs=0,Ss=null,Ki=0,xs=null;function cn(){if(rt&2&&Be!==0)return Be&-Be;if($.T!==null){var e=Vl;return e!==0?e:Ds()}return ue()}function zh(){Nn===0&&(Nn=!(Be&536870912)||qe?N():536870912);var e=xn.current;return e!==null&&(e.flags|=32),Nn}function Kt(e,t,n){(e===We&&Ie===2||e.cancelPendingCommit!==null)&&(Pl(e,0),ga(e,Be,Nn,!1)),X(e,n),(!(rt&2)||e!==We)&&(e===We&&(!(rt&2)&&(vl|=n),ft===4&&ga(e,Be,Nn,!1)),Kn(e))}function Lh(e,t,n){if(rt&6)throw Error(c(327));var l=!n&&(t&60)===0&&(t&e.expiredLanes)===0||yn(e,t),r=l?eg(e,t):Ns(e,t,!0),s=l;do{if(r===0){Jl&&!l&&ga(e,t,0,!1);break}else if(r===6)ga(e,t,0,!pa);else{if(n=e.current.alternate,s&&!Wv(n)){r=Ns(e,t,!1),s=!1;continue}if(r===2){if(s=t,e.errorRecoveryDisabledLanes&s)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{var E=e;r=Qi;var S=E.current.memoizedState.isDehydrated;if(S&&(Pl(E,d).flags|=256),d=Ns(E,d,!1),d!==2){if(ps&&!S){E.errorRecoveryDisabledLanes|=s,vl|=s,r=4;break e}s=Zn,Zn=r,s!==null&&_s(s)}r=d}if(s=!1,r!==2)continue}}if(r===1){Pl(e,0),ga(e,t,0,!0);break}e:{switch(l=e,r){case 0:case 1:throw Error(c(345));case 4:if((t&4194176)===t){ga(l,t,Nn,!pa);break e}break;case 2:Zn=null;break;case 3:case 5:break;default:throw Error(c(329))}if(l.finishedWork=n,l.finishedLanes=t,(t&62914560)===t&&(s=Es+300-ct(),10<s)){if(ga(l,t,Nn,!pa),Ft(l,0)!==0)break e;l.timeoutHandle=im(Uh.bind(null,l,n,Zn,lu,gs,t,Nn,vl,Fl,pa,2,-0,0),s);break e}Uh(l,n,Zn,lu,gs,t,Nn,vl,Fl,pa,0,-0,0)}}break}while(!0);Kn(e)}function _s(e){Zn===null?Zn=e:Zn.push.apply(Zn,e)}function Uh(e,t,n,l,r,s,d,E,S,O,q,G,L){var B=t.subtreeFlags;if((B&8192||(B&16785408)===16785408)&&(Ii={stylesheets:null,count:0,unsuspend:Mg},Nh(t),t=Lg(),t!==null)){e.cancelPendingCommit=t(Gh.bind(null,e,n,l,r,d,E,S,1,G,L)),ga(e,s,d,!O);return}Gh(e,n,l,r,d,E,S,q,G,L)}function Wv(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var r=n[l],s=r.getSnapshot;r=r.value;try{if(!an(s(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ga(e,t,n,l){t&=~vs,t&=~vl,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var r=t;0<r;){var s=31-ht(r),d=1<<s;l[s]=-1,r&=~d}n!==0&&de(e,n,t)}function ru(){return rt&6?!0:($i(0),!1)}function Rs(){if(Me!==null){if(Ie===0)var e=Me.return;else e=Me,oa=hl=null,Dc(e),ql=null,ji=0,e=Me;for(;e!==null;)Mh(e.alternate,e),e=e.return;Me=null}}function Pl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,vg(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Rs(),We=e,Me=n=qa(e.current,null),Be=t,Ie=0,un=null,pa=!1,Jl=yn(e,t),ps=!1,Fl=Nn=vs=vl=ka=ft=0,Zn=Qi=null,gs=!1,t&8&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var r=31-ht(l),s=1<<r;t|=e[r],l&=~s}return va=t,Dr(),n}function Hh(e,t){De=null,$.H=Qn,t===Ni?(t=Wf(),Ie=3):t===Jf?(t=Wf(),Ie=4):Ie=t===Fd?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,un=t,Me===null&&(ft=1,Fr(e,En(t,e.current)))}function Bh(){var e=$.H;return $.H=Qn,e===null?Qn:e}function qh(){var e=$.A;return $.A=Fv,e}function Ts(){ft=4,pa||(Be&4194176)!==Be&&xn.current!==null||(Jl=!0),!(ka&134217727)&&!(vl&134217727)||We===null||ga(We,Be,Nn,!1)}function Ns(e,t,n){var l=rt;rt|=2;var r=Bh(),s=qh();(We!==e||Be!==t)&&(lu=null,Pl(e,t)),t=!1;var d=ft;e:do try{if(Ie!==0&&Me!==null){var E=Me,S=un;switch(Ie){case 8:Rs(),d=6;break e;case 3:case 2:case 6:xn.current===null&&(t=!0);var O=Ie;if(Ie=0,un=null,Wl(e,E,S,O),n&&Jl){d=0;break e}break;default:O=Ie,Ie=0,un=null,Wl(e,E,S,O)}}Iv(),d=ft;break}catch(q){Hh(e,q)}while(!0);return t&&e.shellSuspendCounter++,oa=hl=null,rt=l,$.H=r,$.A=s,Me===null&&(We=null,Be=0,Dr()),d}function Iv(){for(;Me!==null;)kh(Me)}function eg(e,t){var n=rt;rt|=2;var l=Bh(),r=qh();We!==e||Be!==t?(lu=null,au=ct()+500,Pl(e,t)):Jl=yn(e,t);e:do try{if(Ie!==0&&Me!==null){t=Me;var s=un;t:switch(Ie){case 1:Ie=0,un=null,Wl(e,t,s,1);break;case 2:if(Ff(s)){Ie=0,un=null,Vh(t);break}t=function(){Ie===2&&We===e&&(Ie=7),Kn(e)},s.then(t,t);break e;case 3:Ie=7;break e;case 4:Ie=5;break e;case 7:Ff(s)?(Ie=0,un=null,Vh(t)):(Ie=0,un=null,Wl(e,t,s,7));break;case 5:var d=null;switch(Me.tag){case 26:d=Me.memoizedState;case 5:case 27:var E=Me;if(!d||pm(d)){Ie=0,un=null;var S=E.sibling;if(S!==null)Me=S;else{var O=E.return;O!==null?(Me=O,uu(O)):Me=null}break t}}Ie=0,un=null,Wl(e,t,s,5);break;case 6:Ie=0,un=null,Wl(e,t,s,6);break;case 8:Rs(),ft=6;break e;default:throw Error(c(462))}}tg();break}catch(q){Hh(e,q)}while(!0);return oa=hl=null,$.H=l,$.A=r,rt=n,Me!==null?0:(We=null,Be=0,Dr(),ft)}function tg(){for(;Me!==null&&!Jt();)kh(Me)}function kh(e){var t=ch(e.alternate,e,va);e.memoizedProps=e.pendingProps,t===null?uu(e):Me=t}function Vh(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=nh(n,t,t.pendingProps,t.type,void 0,Be);break;case 11:t=nh(n,t,t.pendingProps,t.type.render,t.ref,Be);break;case 5:Dc(t);default:Mh(n,t),t=Me=Dh(t,va),t=ch(n,t,va)}e.memoizedProps=e.pendingProps,t===null?uu(e):Me=t}function Wl(e,t,n,l){oa=hl=null,Dc(t),ql=null,ji=0;var r=t.return;try{if(Gv(e,r,t,n,Be)){ft=1,Fr(e,En(n,e.current)),Me=null;return}}catch(s){if(r!==null)throw Me=r,s;ft=1,Fr(e,En(n,e.current)),Me=null;return}t.flags&32768?(qe||l===1?e=!0:Jl||Be&536870912?e=!1:(pa=e=!0,(l===2||l===3||l===6)&&(l=xn.current,l!==null&&l.tag===13&&(l.flags|=16384))),Yh(t,e)):uu(t)}function uu(e){var t=e;do{if(t.flags&32768){Yh(t,pa);return}e=t.return;var n=$v(t.alternate,t,va);if(n!==null){Me=n;return}if(t=t.sibling,t!==null){Me=t;return}Me=t=e}while(t!==null);ft===0&&(ft=5)}function Yh(e,t){do{var n=Jv(e.alternate,e);if(n!==null){n.flags&=32767,Me=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Me=e;return}Me=e=n}while(e!==null);ft=6,Me=null}function Gh(e,t,n,l,r,s,d,E,S,O){var q=$.T,G=J.p;try{J.p=2,$.T=null,ng(e,t,n,l,G,r,s,d,E,S,O)}finally{$.T=q,J.p=G}}function ng(e,t,n,l,r,s,d,E){do Il();while(gl!==null);if(rt&6)throw Error(c(327));var S=e.finishedWork;if(l=e.finishedLanes,S===null)return null;if(e.finishedWork=null,e.finishedLanes=0,S===e.current)throw Error(c(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var O=S.lanes|S.childLanes;if(O|=yc,ne(e,l,O,s,d,E),e===We&&(Me=We=null,Be=0),!(S.subtreeFlags&10256)&&!(S.flags&10256)||iu||(iu=!0,bs=O,Ss=n,rg(kt,function(){return Il(),null})),n=(S.flags&15990)!==0,S.subtreeFlags&15990||n?(n=$.T,$.T=null,s=J.p,J.p=2,d=rt,rt|=4,Qv(e,S),_h(S,e),Nv(Bs,e.containerInfo),Eu=!!Hs,Bs=Hs=null,e.current=S,Eh(e,S.alternate,S),On(),rt=d,J.p=s,$.T=n):e.current=S,iu?(iu=!1,gl=e,Zi=l):Xh(e,O),O=e.pendingLanes,O===0&&(Va=null),ea(S.stateNode),Kn(e),t!==null)for(r=e.onRecoverableError,S=0;S<t.length;S++)O=t[S],r(O.value,{componentStack:O.stack});return Zi&3&&Il(),O=e.pendingLanes,l&4194218&&O&42?e===xs?Ki++:(Ki=0,xs=e):Ki=0,$i(0),null}function Xh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Di(t)))}function Il(){if(gl!==null){var e=gl,t=bs;bs=0;var n=le(Zi),l=$.T,r=J.p;try{if(J.p=32>n?32:n,$.T=null,gl===null)var s=!1;else{n=Ss,Ss=null;var d=gl,E=Zi;if(gl=null,Zi=0,rt&6)throw Error(c(331));var S=rt;if(rt|=4,jh(d.current),Th(d,d.current,E,n),rt=S,$i(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot(tn,d)}catch{}s=!0}return s}finally{J.p=r,$.T=l,Xh(e,t)}}return!1}function Qh(e,t,n){t=En(n,t),t=Xc(e.stateNode,t,2),e=La(e,t,2),e!==null&&(X(e,2),Kn(e))}function Fe(e,t,n){if(e.tag===3)Qh(e,e,n);else for(;t!==null;){if(t.tag===3){Qh(t,e,n);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Va===null||!Va.has(l))){e=En(n,e),n=$d(2),l=La(t,n,2),l!==null&&(Jd(n,l,t,e),X(l,2),Kn(l));break}}t=t.return}}function Cs(e,t,n){var l=e.pingCache;if(l===null){l=e.pingCache=new Pv;var r=new Set;l.set(t,r)}else r=l.get(t),r===void 0&&(r=new Set,l.set(t,r));r.has(n)||(ps=!0,r.add(n),e=ag.bind(null,e,t,n),t.then(e,e))}function ag(e,t,n){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,We===e&&(Be&n)===n&&(ft===4||ft===3&&(Be&62914560)===Be&&300>ct()-Es?!(rt&2)&&Pl(e,0):vs|=n,Fl===Be&&(Fl=0)),Kn(e)}function Zh(e,t){t===0&&(t=w()),e=Ca(e,t),e!==null&&(X(e,t),Kn(e))}function lg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zh(e,n)}function ig(e,t){var n=0;switch(e.tag){case 13:var l=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(t),Zh(e,n)}function rg(e,t){return hn(e,t)}var cu=null,ei=null,js=!1,su=!1,Os=!1,El=0;function Kn(e){e!==ei&&e.next===null&&(ei===null?cu=ei=e:ei=ei.next=e),su=!0,js||(js=!0,cg(ug))}function $i(e,t){if(!Os&&su){Os=!0;do for(var n=!1,l=cu;l!==null;){if(e!==0){var r=l.pendingLanes;if(r===0)var s=0;else{var d=l.suspendedLanes,E=l.pingedLanes;s=(1<<31-ht(42|e)+1)-1,s&=r&~(d&~E),s=s&201326677?s&201326677|1:s?s|2:0}s!==0&&(n=!0,Jh(l,s))}else s=Be,s=Ft(l,l===We?s:0),!(s&3)||yn(l,s)||(n=!0,Jh(l,s));l=l.next}while(n);Os=!1}}function ug(){su=js=!1;var e=0;El!==0&&(pg()&&(e=El),El=0);for(var t=ct(),n=null,l=cu;l!==null;){var r=l.next,s=Kh(l,t);s===0?(l.next=null,n===null?cu=r:n.next=r,r===null&&(ei=n)):(n=l,(e!==0||s&3)&&(su=!0)),l=r}$i(e)}function Kh(e,t){for(var n=e.suspendedLanes,l=e.pingedLanes,r=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var d=31-ht(s),E=1<<d,S=r[d];S===-1?(!(E&n)||E&l)&&(r[d]=Ta(E,t)):S<=t&&(e.expiredLanes|=E),s&=~E}if(t=We,n=Be,n=Ft(e,e===t?n:0),l=e.callbackNode,n===0||e===t&&Ie===2||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Tt(l),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||yn(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(l!==null&&Tt(l),le(n)){case 2:case 8:n=Mt;break;case 32:n=kt;break;case 268435456:n=Vt;break;default:n=kt}return l=$h.bind(null,e),n=hn(n,l),e.callbackPriority=t,e.callbackNode=n,t}return l!==null&&l!==null&&Tt(l),e.callbackPriority=2,e.callbackNode=null,2}function $h(e,t){var n=e.callbackNode;if(Il()&&e.callbackNode!==n)return null;var l=Be;return l=Ft(e,e===We?l:0),l===0?null:(Lh(e,l,t),Kh(e,ct()),e.callbackNode!=null&&e.callbackNode===n?$h.bind(null,e):null)}function Jh(e,t){if(Il())return null;Lh(e,t,!0)}function cg(e){gg(function(){rt&6?hn(be,e):e()})}function Ds(){return El===0&&(El=N()),El}function Fh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:_r(""+e)}function Ph(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function sg(e,t,n,l,r){if(t==="submit"&&n&&n.stateNode===r){var s=Fh((r[Oe]||null).action),d=l.submitter;d&&(t=(t=d[Oe]||null)?Fh(t.formAction):d.getAttribute("formAction"),t!==null&&(s=t,d=null));var E=new Cr("action","action",null,l,r);e.push({event:E,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(El!==0){var S=d?Ph(r,d):new FormData(r);qc(n,{pending:!0,data:S,method:r.method,action:s},null,S)}}else typeof s=="function"&&(E.preventDefault(),S=d?Ph(r,d):new FormData(r),qc(n,{pending:!0,data:S,method:r.method,action:s},s,S))},currentTarget:r}]})}}for(var As=0;As<Gf.length;As++){var ws=Gf[As],og=ws.toLowerCase(),fg=ws[0].toUpperCase()+ws.slice(1);zn(og,"on"+fg)}zn(Bf,"onAnimationEnd"),zn(qf,"onAnimationIteration"),zn(kf,"onAnimationStart"),zn("dblclick","onDoubleClick"),zn("focusin","onFocus"),zn("focusout","onBlur"),zn(jv,"onTransitionRun"),zn(Ov,"onTransitionStart"),zn(Dv,"onTransitionCancel"),zn(Vf,"onTransitionEnd"),Mn("onMouseEnter",["mouseout","mouseover"]),Mn("onMouseLeave",["mouseout","mouseover"]),Mn("onPointerEnter",["pointerout","pointerover"]),Mn("onPointerLeave",["pointerout","pointerover"]),nt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),nt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),nt("onBeforeInput",["compositionend","keypress","textInput","paste"]),nt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),nt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),nt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ji="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),dg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ji));function Wh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var l=e[n],r=l.event;l=l.listeners;e:{var s=void 0;if(t)for(var d=l.length-1;0<=d;d--){var E=l[d],S=E.instance,O=E.currentTarget;if(E=E.listener,S!==s&&r.isPropagationStopped())break e;s=E,r.currentTarget=O;try{s(r)}catch(q){Jr(q)}r.currentTarget=null,s=S}else for(d=0;d<l.length;d++){if(E=l[d],S=E.instance,O=E.currentTarget,E=E.listener,S!==s&&r.isPropagationStopped())break e;s=E,r.currentTarget=O;try{s(r)}catch(q){Jr(q)}r.currentTarget=null,s=S}}}}function Ue(e,t){var n=t[$e];n===void 0&&(n=t[$e]=new Set);var l=e+"__bubble";n.has(l)||(Ih(t,e,2,!1),n.add(l))}function Ms(e,t,n){var l=0;t&&(l|=4),Ih(n,e,l,t)}var ou="_reactListening"+Math.random().toString(36).slice(2);function zs(e){if(!e[ou]){e[ou]=!0,el.forEach(function(n){n!=="selectionchange"&&(dg.has(n)||Ms(n,!1,e),Ms(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ou]||(t[ou]=!0,Ms("selectionchange",!1,t))}}function Ih(e,t,n,l){switch(xm(t)){case 2:var r=Bg;break;case 8:r=qg;break;default:r=Ks}n=r.bind(null,t,n,e),r=void 0,!nc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),l?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Ls(e,t,n,l,r){var s=l;if(!(t&1)&&!(t&2)&&l!==null)e:for(;;){if(l===null)return;var d=l.tag;if(d===3||d===4){var E=l.stateNode.containerInfo;if(E===r||E.nodeType===8&&E.parentNode===r)break;if(d===4)for(d=l.return;d!==null;){var S=d.tag;if((S===3||S===4)&&(S=d.stateNode.containerInfo,S===r||S.nodeType===8&&S.parentNode===r))return;d=d.return}for(;E!==null;){if(d=Ct(E),d===null)return;if(S=d.tag,S===5||S===6||S===26||S===27){l=s=d;continue e}E=E.parentNode}}l=l.return}mf(function(){var O=s,q=ec(n),G=[];e:{var L=Yf.get(e);if(L!==void 0){var B=Cr,oe=e;switch(e){case"keypress":if(Tr(n)===0)break e;case"keydown":case"keyup":B=iv;break;case"focusin":oe="focus",B=rc;break;case"focusout":oe="blur",B=rc;break;case"beforeblur":case"afterblur":B=rc;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=Kp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=cv;break;case Bf:case qf:case kf:B=Fp;break;case Vf:B=ov;break;case"scroll":case"scrollend":B=Qp;break;case"wheel":B=dv;break;case"copy":case"cut":case"paste":B=Wp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=Ef;break;case"toggle":case"beforetoggle":B=mv}var Re=(t&4)!==0,dt=!Re&&(e==="scroll"||e==="scrollend"),D=Re?L!==null?L+"Capture":null:L;Re=[];for(var j=O,M;j!==null;){var Y=j;if(M=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||M===null||D===null||(Y=mi(j,D),Y!=null&&Re.push(Fi(j,Y,M))),dt)break;j=j.return}0<Re.length&&(L=new B(L,oe,null,n,q),G.push({event:L,listeners:Re}))}}if(!(t&7)){e:{if(L=e==="mouseover"||e==="pointerover",B=e==="mouseout"||e==="pointerout",L&&n!==Iu&&(oe=n.relatedTarget||n.fromElement)&&(Ct(oe)||oe[tt]))break e;if((B||L)&&(L=q.window===q?q:(L=q.ownerDocument)?L.defaultView||L.parentWindow:window,B?(oe=n.relatedTarget||n.toElement,B=O,oe=oe?Ct(oe):null,oe!==null&&(dt=F(oe),Re=oe.tag,oe!==dt||Re!==5&&Re!==27&&Re!==6)&&(oe=null)):(B=null,oe=O),B!==oe)){if(Re=vf,Y="onMouseLeave",D="onMouseEnter",j="mouse",(e==="pointerout"||e==="pointerover")&&(Re=Ef,Y="onPointerLeave",D="onPointerEnter",j="pointer"),dt=B==null?L:wn(B),M=oe==null?L:wn(oe),L=new Re(Y,j+"leave",B,n,q),L.target=dt,L.relatedTarget=M,Y=null,Ct(q)===O&&(Re=new Re(D,j+"enter",oe,n,q),Re.target=M,Re.relatedTarget=dt,Y=Re),dt=Y,B&&oe)t:{for(Re=B,D=oe,j=0,M=Re;M;M=ti(M))j++;for(M=0,Y=D;Y;Y=ti(Y))M++;for(;0<j-M;)Re=ti(Re),j--;for(;0<M-j;)D=ti(D),M--;for(;j--;){if(Re===D||D!==null&&Re===D.alternate)break t;Re=ti(Re),D=ti(D)}Re=null}else Re=null;B!==null&&em(G,L,B,Re,!1),oe!==null&&dt!==null&&em(G,dt,oe,Re,!0)}}e:{if(L=O?wn(O):window,B=L.nodeName&&L.nodeName.toLowerCase(),B==="select"||B==="input"&&L.type==="file")var re=Cf;else if(Tf(L))if(jf)re=Rv;else{re=xv;var Ae=Sv}else B=L.nodeName,!B||B.toLowerCase()!=="input"||L.type!=="checkbox"&&L.type!=="radio"?O&&Wu(O.elementType)&&(re=Cf):re=_v;if(re&&(re=re(e,O))){Nf(G,re,n,q);break e}Ae&&Ae(e,L,O),e==="focusout"&&O&&L.type==="number"&&O.memoizedProps.value!=null&&Pu(L,"number",L.value)}switch(Ae=O?wn(O):window,e){case"focusin":(Tf(Ae)||Ae.contentEditable==="true")&&(Ml=Ae,dc=O,xi=null);break;case"focusout":xi=dc=Ml=null;break;case"mousedown":hc=!0;break;case"contextmenu":case"mouseup":case"dragend":hc=!1,Uf(G,n,q);break;case"selectionchange":if(Cv)break;case"keydown":case"keyup":Uf(G,n,q)}var he;if(cc)e:{switch(e){case"compositionstart":var Ee="onCompositionStart";break e;case"compositionend":Ee="onCompositionEnd";break e;case"compositionupdate":Ee="onCompositionUpdate";break e}Ee=void 0}else wl?_f(e,n)&&(Ee="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Ee="onCompositionStart");Ee&&(bf&&n.locale!=="ko"&&(wl||Ee!=="onCompositionStart"?Ee==="onCompositionEnd"&&wl&&(he=yf()):(Na=q,ac="value"in Na?Na.value:Na.textContent,wl=!0)),Ae=fu(O,Ee),0<Ae.length&&(Ee=new gf(Ee,e,null,n,q),G.push({event:Ee,listeners:Ae}),he?Ee.data=he:(he=Rf(n),he!==null&&(Ee.data=he)))),(he=pv?vv(e,n):gv(e,n))&&(Ee=fu(O,"onBeforeInput"),0<Ee.length&&(Ae=new gf("onBeforeInput","beforeinput",null,n,q),G.push({event:Ae,listeners:Ee}),Ae.data=he)),sg(G,e,O,n,q)}Wh(G,t)})}function Fi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function fu(e,t){for(var n=t+"Capture",l=[];e!==null;){var r=e,s=r.stateNode;r=r.tag,r!==5&&r!==26&&r!==27||s===null||(r=mi(e,n),r!=null&&l.unshift(Fi(e,r,s)),r=mi(e,t),r!=null&&l.push(Fi(e,r,s))),e=e.return}return l}function ti(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function em(e,t,n,l,r){for(var s=t._reactName,d=[];n!==null&&n!==l;){var E=n,S=E.alternate,O=E.stateNode;if(E=E.tag,S!==null&&S===l)break;E!==5&&E!==26&&E!==27||O===null||(S=O,r?(O=mi(n,s),O!=null&&d.unshift(Fi(n,O,S))):r||(O=mi(n,s),O!=null&&d.push(Fi(n,O,S)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var hg=/\r\n?/g,mg=/\u0000|\uFFFD/g;function tm(e){return(typeof e=="string"?e:""+e).replace(hg,` +`).replace(mg,"")}function nm(e,t){return t=tm(t),tm(e)===t}function du(){}function Qe(e,t,n,l,r,s){switch(n){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Ol(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Ol(e,""+l);break;case"className":br(e,"class",l);break;case"tabIndex":br(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":br(e,n,l);break;case"style":df(e,l,s);break;case"data":if(t!=="object"){br(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=_r(""+l),e.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(n==="formAction"?(t!=="input"&&Qe(e,t,"name",r.name,r,null),Qe(e,t,"formEncType",r.formEncType,r,null),Qe(e,t,"formMethod",r.formMethod,r,null),Qe(e,t,"formTarget",r.formTarget,r,null)):(Qe(e,t,"encType",r.encType,r,null),Qe(e,t,"method",r.method,r,null),Qe(e,t,"target",r.target,r,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=_r(""+l),e.setAttribute(n,l);break;case"onClick":l!=null&&(e.onclick=du);break;case"onScroll":l!=null&&Ue("scroll",e);break;case"onScrollEnd":l!=null&&Ue("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(r.children!=null)throw Error(c(60));e.innerHTML=n}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}n=_r(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""+l):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":l===!0?e.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,l):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(n,l):e.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(n):e.setAttribute(n,l);break;case"popover":Ue("beforetoggle",e),Ue("toggle",e),Er(e,"popover",l);break;case"xlinkActuate":la(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":la(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":la(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":la(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":la(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":la(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":la(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":la(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":la(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Er(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Gp.get(n)||n,Er(e,n,l))}}function Us(e,t,n,l,r,s){switch(n){case"style":df(e,l,s);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(r.children!=null)throw Error(c(60));e.innerHTML=n}}break;case"children":typeof l=="string"?Ol(e,l):(typeof l=="number"||typeof l=="bigint")&&Ol(e,""+l);break;case"onScroll":l!=null&&Ue("scroll",e);break;case"onScrollEnd":l!=null&&Ue("scrollend",e);break;case"onClick":l!=null&&(e.onclick=du);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ye.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),s=e[Oe]||null,s=s!=null?s[n]:null,typeof s=="function"&&e.removeEventListener(t,s,r),typeof l=="function")){typeof s!="function"&&s!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,l,r);break e}n in e?e[n]=l:l===!0?e.setAttribute(n,""):Er(e,n,l)}}}function Ht(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ue("error",e),Ue("load",e);var l=!1,r=!1,s;for(s in n)if(n.hasOwnProperty(s)){var d=n[s];if(d!=null)switch(s){case"src":l=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Qe(e,t,s,d,n,null)}}r&&Qe(e,t,"srcSet",n.srcSet,n,null),l&&Qe(e,t,"src",n.src,n,null);return;case"input":Ue("invalid",e);var E=s=d=r=null,S=null,O=null;for(l in n)if(n.hasOwnProperty(l)){var q=n[l];if(q!=null)switch(l){case"name":r=q;break;case"type":d=q;break;case"checked":S=q;break;case"defaultChecked":O=q;break;case"value":s=q;break;case"defaultValue":E=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(c(137,t));break;default:Qe(e,t,l,q,n,null)}}cf(e,s,E,S,O,d,r,!1),Sr(e);return;case"select":Ue("invalid",e),l=d=s=null;for(r in n)if(n.hasOwnProperty(r)&&(E=n[r],E!=null))switch(r){case"value":s=E;break;case"defaultValue":d=E;break;case"multiple":l=E;default:Qe(e,t,r,E,n,null)}t=s,n=d,e.multiple=!!l,t!=null?jl(e,!!l,t,!1):n!=null&&jl(e,!!l,n,!0);return;case"textarea":Ue("invalid",e),s=r=l=null;for(d in n)if(n.hasOwnProperty(d)&&(E=n[d],E!=null))switch(d){case"value":l=E;break;case"defaultValue":r=E;break;case"children":s=E;break;case"dangerouslySetInnerHTML":if(E!=null)throw Error(c(91));break;default:Qe(e,t,d,E,n,null)}of(e,l,r,s),Sr(e);return;case"option":for(S in n)if(n.hasOwnProperty(S)&&(l=n[S],l!=null))switch(S){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Qe(e,t,S,l,n,null)}return;case"dialog":Ue("cancel",e),Ue("close",e);break;case"iframe":case"object":Ue("load",e);break;case"video":case"audio":for(l=0;l<Ji.length;l++)Ue(Ji[l],e);break;case"image":Ue("error",e),Ue("load",e);break;case"details":Ue("toggle",e);break;case"embed":case"source":case"link":Ue("error",e),Ue("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(O in n)if(n.hasOwnProperty(O)&&(l=n[O],l!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Qe(e,t,O,l,n,null)}return;default:if(Wu(t)){for(q in n)n.hasOwnProperty(q)&&(l=n[q],l!==void 0&&Us(e,t,q,l,n,void 0));return}}for(E in n)n.hasOwnProperty(E)&&(l=n[E],l!=null&&Qe(e,t,E,l,n,null))}function yg(e,t,n,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,s=null,d=null,E=null,S=null,O=null,q=null;for(B in n){var G=n[B];if(n.hasOwnProperty(B)&&G!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":S=G;default:l.hasOwnProperty(B)||Qe(e,t,B,null,l,G)}}for(var L in l){var B=l[L];if(G=n[L],l.hasOwnProperty(L)&&(B!=null||G!=null))switch(L){case"type":s=B;break;case"name":r=B;break;case"checked":O=B;break;case"defaultChecked":q=B;break;case"value":d=B;break;case"defaultValue":E=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(c(137,t));break;default:B!==G&&Qe(e,t,L,B,l,G)}}Fu(e,d,E,S,O,q,s,r);return;case"select":B=d=E=L=null;for(s in n)if(S=n[s],n.hasOwnProperty(s)&&S!=null)switch(s){case"value":break;case"multiple":B=S;default:l.hasOwnProperty(s)||Qe(e,t,s,null,l,S)}for(r in l)if(s=l[r],S=n[r],l.hasOwnProperty(r)&&(s!=null||S!=null))switch(r){case"value":L=s;break;case"defaultValue":E=s;break;case"multiple":d=s;default:s!==S&&Qe(e,t,r,s,l,S)}t=E,n=d,l=B,L!=null?jl(e,!!n,L,!1):!!l!=!!n&&(t!=null?jl(e,!!n,t,!0):jl(e,!!n,n?[]:"",!1));return;case"textarea":B=L=null;for(E in n)if(r=n[E],n.hasOwnProperty(E)&&r!=null&&!l.hasOwnProperty(E))switch(E){case"value":break;case"children":break;default:Qe(e,t,E,null,l,r)}for(d in l)if(r=l[d],s=n[d],l.hasOwnProperty(d)&&(r!=null||s!=null))switch(d){case"value":L=r;break;case"defaultValue":B=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(c(91));break;default:r!==s&&Qe(e,t,d,r,l,s)}sf(e,L,B);return;case"option":for(var oe in n)if(L=n[oe],n.hasOwnProperty(oe)&&L!=null&&!l.hasOwnProperty(oe))switch(oe){case"selected":e.selected=!1;break;default:Qe(e,t,oe,null,l,L)}for(S in l)if(L=l[S],B=n[S],l.hasOwnProperty(S)&&L!==B&&(L!=null||B!=null))switch(S){case"selected":e.selected=L&&typeof L!="function"&&typeof L!="symbol";break;default:Qe(e,t,S,L,l,B)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Re in n)L=n[Re],n.hasOwnProperty(Re)&&L!=null&&!l.hasOwnProperty(Re)&&Qe(e,t,Re,null,l,L);for(O in l)if(L=l[O],B=n[O],l.hasOwnProperty(O)&&L!==B&&(L!=null||B!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(c(137,t));break;default:Qe(e,t,O,L,l,B)}return;default:if(Wu(t)){for(var dt in n)L=n[dt],n.hasOwnProperty(dt)&&L!==void 0&&!l.hasOwnProperty(dt)&&Us(e,t,dt,void 0,l,L);for(q in l)L=l[q],B=n[q],!l.hasOwnProperty(q)||L===B||L===void 0&&B===void 0||Us(e,t,q,L,l,B);return}}for(var D in n)L=n[D],n.hasOwnProperty(D)&&L!=null&&!l.hasOwnProperty(D)&&Qe(e,t,D,null,l,L);for(G in l)L=l[G],B=n[G],!l.hasOwnProperty(G)||L===B||L==null&&B==null||Qe(e,t,G,L,l,B)}var Hs=null,Bs=null;function hu(e){return e.nodeType===9?e:e.ownerDocument}function am(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function lm(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function qs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ks=null;function pg(){var e=window.event;return e&&e.type==="popstate"?e===ks?!1:(ks=e,!0):(ks=null,!1)}var im=typeof setTimeout=="function"?setTimeout:void 0,vg=typeof clearTimeout=="function"?clearTimeout:void 0,rm=typeof Promise=="function"?Promise:void 0,gg=typeof queueMicrotask=="function"?queueMicrotask:typeof rm<"u"?function(e){return rm.resolve(null).then(e).catch(Eg)}:im;function Eg(e){setTimeout(function(){throw e})}function Vs(e,t){var n=t,l=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"){if(l===0){e.removeChild(r),lr(t);return}l--}else n!=="$"&&n!=="$?"&&n!=="$!"||l++;n=r}while(n);lr(t)}function Ys(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Ys(n),nn(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function bg(e,t,n,l){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[An])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==r.rel||e.getAttribute("href")!==(r.href==null?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var s=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=Hn(e.nextSibling),e===null)break}return null}function Sg(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Hn(e.nextSibling),e===null))return null;return e}function Hn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}function um(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}function cm(e,t,n){switch(t=hu(n),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}var Cn=new Map,sm=new Set;function mu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.ownerDocument}var Ea=J.d;J.d={f:xg,r:_g,D:Rg,C:Tg,L:Ng,m:Cg,X:Og,S:jg,M:Dg};function xg(){var e=Ea.f(),t=ru();return e||t}function _g(e){var t=Yn(e);t!==null&&t.tag===5&&t.type==="form"?Ud(t):Ea.r(e)}var ni=typeof document>"u"?null:document;function om(e,t,n){var l=ni;if(l&&typeof t=="string"&&t){var r=vn(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),sm.has(r)||(sm.add(r),e={rel:e,crossOrigin:n,href:t},l.querySelector(r)===null&&(t=l.createElement("link"),Ht(t,"link",e),lt(t),l.head.appendChild(t)))}}function Rg(e){Ea.D(e),om("dns-prefetch",e,null)}function Tg(e,t){Ea.C(e,t),om("preconnect",e,t)}function Ng(e,t,n){Ea.L(e,t,n);var l=ni;if(l&&e&&t){var r='link[rel="preload"][as="'+vn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+vn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+vn(n.imageSizes)+'"]')):r+='[href="'+vn(e)+'"]';var s=r;switch(t){case"style":s=ai(e);break;case"script":s=li(e)}Cn.has(s)||(e=ie({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Cn.set(s,e),l.querySelector(r)!==null||t==="style"&&l.querySelector(Pi(s))||t==="script"&&l.querySelector(Wi(s))||(t=l.createElement("link"),Ht(t,"link",e),lt(t),l.head.appendChild(t)))}}function Cg(e,t){Ea.m(e,t);var n=ni;if(n&&e){var l=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+vn(l)+'"][href="'+vn(e)+'"]',s=r;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=li(e)}if(!Cn.has(s)&&(e=ie({rel:"modulepreload",href:e},t),Cn.set(s,e),n.querySelector(r)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Wi(s)))return}l=n.createElement("link"),Ht(l,"link",e),lt(l),n.head.appendChild(l)}}}function jg(e,t,n){Ea.S(e,t,n);var l=ni;if(l&&e){var r=Pt(l).hoistableStyles,s=ai(e);t=t||"default";var d=r.get(s);if(!d){var E={loading:0,preload:null};if(d=l.querySelector(Pi(s)))E.loading=5;else{e=ie({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Cn.get(s))&&Gs(e,n);var S=d=l.createElement("link");lt(S),Ht(S,"link",e),S._p=new Promise(function(O,q){S.onload=O,S.onerror=q}),S.addEventListener("load",function(){E.loading|=1}),S.addEventListener("error",function(){E.loading|=2}),E.loading|=4,yu(d,t,l)}d={type:"stylesheet",instance:d,count:1,state:E},r.set(s,d)}}}function Og(e,t){Ea.X(e,t);var n=ni;if(n&&e){var l=Pt(n).hoistableScripts,r=li(e),s=l.get(r);s||(s=n.querySelector(Wi(r)),s||(e=ie({src:e,async:!0},t),(t=Cn.get(r))&&Xs(e,t),s=n.createElement("script"),lt(s),Ht(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},l.set(r,s))}}function Dg(e,t){Ea.M(e,t);var n=ni;if(n&&e){var l=Pt(n).hoistableScripts,r=li(e),s=l.get(r);s||(s=n.querySelector(Wi(r)),s||(e=ie({src:e,async:!0,type:"module"},t),(t=Cn.get(r))&&Xs(e,t),s=n.createElement("script"),lt(s),Ht(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},l.set(r,s))}}function fm(e,t,n,l){var r=(r=Ke.current)?mu(r):null;if(!r)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=ai(n.href),n=Pt(r).hoistableStyles,l=n.get(t),l||(l={type:"style",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ai(n.href);var s=Pt(r).hoistableStyles,d=s.get(e);if(d||(r=r.ownerDocument||r,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,d),(s=r.querySelector(Pi(e)))&&!s._p&&(d.instance=s,d.state.loading=5),Cn.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Cn.set(e,n),s||Ag(r,e,n,d.state))),t&&l===null)throw Error(c(528,""));return d}if(t&&l!==null)throw Error(c(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=li(n),n=Pt(r).hoistableScripts,l=n.get(t),l||(l={type:"script",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function ai(e){return'href="'+vn(e)+'"'}function Pi(e){return'link[rel="stylesheet"]['+e+"]"}function dm(e){return ie({},e,{"data-precedence":e.precedence,precedence:null})}function Ag(e,t,n,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Ht(t,"link",n),lt(t),e.head.appendChild(t))}function li(e){return'[src="'+vn(e)+'"]'}function Wi(e){return"script[async]"+e}function hm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+vn(n.href)+'"]');if(l)return t.instance=l,lt(l),l;var r=ie({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),lt(l),Ht(l,"style",r),yu(l,n.precedence,e),t.instance=l;case"stylesheet":r=ai(n.href);var s=e.querySelector(Pi(r));if(s)return t.state.loading|=4,t.instance=s,lt(s),s;l=dm(n),(r=Cn.get(r))&&Gs(l,r),s=(e.ownerDocument||e).createElement("link"),lt(s);var d=s;return d._p=new Promise(function(E,S){d.onload=E,d.onerror=S}),Ht(s,"link",l),t.state.loading|=4,yu(s,n.precedence,e),t.instance=s;case"script":return s=li(n.src),(r=e.querySelector(Wi(s)))?(t.instance=r,lt(r),r):(l=n,(r=Cn.get(s))&&(l=ie({},n),Xs(l,r)),e=e.ownerDocument||e,r=e.createElement("script"),lt(r),Ht(r,"link",l),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(l=t.instance,t.state.loading|=4,yu(l,n.precedence,e));return t.instance}function yu(e,t,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=l.length?l[l.length-1]:null,s=r,d=0;d<l.length;d++){var E=l[d];if(E.dataset.precedence===t)s=E;else if(s!==r)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Gs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Xs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var pu=null;function mm(e,t,n){if(pu===null){var l=new Map,r=pu=new Map;r.set(n,l)}else r=pu,l=r.get(n),l||(l=new Map,r.set(n,l));if(l.has(e))return l;for(l.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var s=n[r];if(!(s[An]||s[me]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var d=s.getAttribute(t)||"";d=e+d;var E=l.get(d);E?E.push(s):l.set(d,[s])}}return l}function ym(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function wg(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function pm(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}var Ii=null;function Mg(){}function zg(e,t,n){if(Ii===null)throw Error(c(475));var l=Ii;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&!(t.state.loading&4)){if(t.instance===null){var r=ai(n.href),s=e.querySelector(Pi(r));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=vu.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=s,lt(s);return}s=e.ownerDocument||e,n=dm(n),(r=Cn.get(r))&&Gs(n,r),s=s.createElement("link"),lt(s);var d=s;d._p=new Promise(function(E,S){d.onload=E,d.onerror=S}),Ht(s,"link",n),t.instance=s}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&!(t.state.loading&3)&&(l.count++,t=vu.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}function Lg(){if(Ii===null)throw Error(c(475));var e=Ii;return e.stylesheets&&e.count===0&&Qs(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Qs(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function vu(){if(this.count--,this.count===0){if(this.stylesheets)Qs(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var gu=null;function Qs(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,gu=new Map,t.forEach(Ug,e),gu=null,vu.call(e))}function Ug(e,t){if(!(t.state.loading&4)){var n=gu.get(e);if(n)var l=n.get(null);else{n=new Map,gu.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<r.length;s++){var d=r[s];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),l=d)}l&&n.set(null,l)}r=t.instance,d=r.getAttribute("data-precedence"),s=n.get(d)||l,s===l&&n.set(null,r),n.set(d,r),this.count++,l=vu.bind(this),r.addEventListener("load",l),r.addEventListener("error",l),s?s.parentNode.insertBefore(r,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var er={$$typeof:R,Provider:null,Consumer:null,_currentValue:ye,_currentValue2:ye,_threadCount:0};function Hg(e,t,n,l,r,s,d,E){this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=U(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=U(0),this.hiddenUpdates=U(null),this.identifierPrefix=l,this.onUncaughtError=r,this.onCaughtError=s,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map}function vm(e,t,n,l,r,s,d,E,S,O,q,G){return e=new Hg(e,t,n,d,E,S,O,G),t=1,s===!0&&(t|=24),s=Tn(3,null,null,t),e.current=s,s.stateNode=e,t=_c(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:l,isDehydrated:n,cache:t},as(s),e}function gm(e){return e?(e=Ul,e):Ul}function Em(e,t,n,l,r,s){r=gm(r),l.context===null?l.context=r:l.pendingContext=r,l=za(t),l.payload={element:n},s=s===void 0?null:s,s!==null&&(l.callback=s),n=La(e,l,t),n!==null&&(Kt(n,e,t),Hi(n,e,t))}function bm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Zs(e,t){bm(e,t),(e=e.alternate)&&bm(e,t)}function Sm(e){if(e.tag===13){var t=Ca(e,67108864);t!==null&&Kt(t,e,67108864),Zs(e,67108864)}}var Eu=!0;function Bg(e,t,n,l){var r=$.T;$.T=null;var s=J.p;try{J.p=2,Ks(e,t,n,l)}finally{J.p=s,$.T=r}}function qg(e,t,n,l){var r=$.T;$.T=null;var s=J.p;try{J.p=8,Ks(e,t,n,l)}finally{J.p=s,$.T=r}}function Ks(e,t,n,l){if(Eu){var r=$s(l);if(r===null)Ls(e,t,l,bu,n),_m(e,l);else if(Vg(r,e,t,n,l))l.stopPropagation();else if(_m(e,l),t&4&&-1<kg.indexOf(e)){for(;r!==null;){var s=Yn(r);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var d=zt(s.pendingLanes);if(d!==0){var E=s;for(E.pendingLanes|=2,E.entangledLanes|=2;d;){var S=1<<31-ht(d);E.entanglements[1]|=S,d&=~S}Kn(s),!(rt&6)&&(au=ct()+500,$i(0))}}break;case 13:E=Ca(s,2),E!==null&&Kt(E,s,2),ru(),Zs(s,2)}if(s=$s(l),s===null&&Ls(e,t,l,bu,n),s===r)break;r=s}r!==null&&l.stopPropagation()}else Ls(e,t,l,null,n)}}function $s(e){return e=ec(e),Js(e)}var bu=null;function Js(e){if(bu=null,e=Ct(e),e!==null){var t=F(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=_e(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return bu=e,null}function xm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(wt()){case be:return 2;case Mt:return 8;case kt:case _a:return 32;case Vt:return 268435456;default:return 32}default:return 32}}var Fs=!1,Ya=null,Ga=null,Xa=null,tr=new Map,nr=new Map,Qa=[],kg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function _m(e,t){switch(e){case"focusin":case"focusout":Ya=null;break;case"dragenter":case"dragleave":Ga=null;break;case"mouseover":case"mouseout":Xa=null;break;case"pointerover":case"pointerout":tr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":nr.delete(t.pointerId)}}function ar(e,t,n,l,r,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:l,nativeEvent:s,targetContainers:[r]},t!==null&&(t=Yn(t),t!==null&&Sm(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function Vg(e,t,n,l,r){switch(t){case"focusin":return Ya=ar(Ya,e,t,n,l,r),!0;case"dragenter":return Ga=ar(Ga,e,t,n,l,r),!0;case"mouseover":return Xa=ar(Xa,e,t,n,l,r),!0;case"pointerover":var s=r.pointerId;return tr.set(s,ar(tr.get(s)||null,e,t,n,l,r)),!0;case"gotpointercapture":return s=r.pointerId,nr.set(s,ar(nr.get(s)||null,e,t,n,l,r)),!0}return!1}function Rm(e){var t=Ct(e.target);if(t!==null){var n=F(t);if(n!==null){if(t=n.tag,t===13){if(t=_e(n),t!==null){e.blockedOn=t,I(e.priority,function(){if(n.tag===13){var l=cn(),r=Ca(n,l);r!==null&&Kt(r,n,l),Zs(n,l)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Su(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=$s(e.nativeEvent);if(n===null){n=e.nativeEvent;var l=new n.constructor(n.type,n);Iu=l,n.target.dispatchEvent(l),Iu=null}else return t=Yn(n),t!==null&&Sm(t),e.blockedOn=n,!1;t.shift()}return!0}function Tm(e,t,n){Su(e)&&n.delete(t)}function Yg(){Fs=!1,Ya!==null&&Su(Ya)&&(Ya=null),Ga!==null&&Su(Ga)&&(Ga=null),Xa!==null&&Su(Xa)&&(Xa=null),tr.forEach(Tm),nr.forEach(Tm)}function xu(e,t){e.blockedOn===t&&(e.blockedOn=null,Fs||(Fs=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Yg)))}var _u=null;function Nm(e){_u!==e&&(_u=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){_u===e&&(_u=null);for(var t=0;t<e.length;t+=3){var n=e[t],l=e[t+1],r=e[t+2];if(typeof l!="function"){if(Js(l||n)===null)continue;break}var s=Yn(n);s!==null&&(e.splice(t,3),t-=3,qc(s,{pending:!0,data:r,method:n.method,action:l},l,r))}}))}function lr(e){function t(S){return xu(S,e)}Ya!==null&&xu(Ya,e),Ga!==null&&xu(Ga,e),Xa!==null&&xu(Xa,e),tr.forEach(t),nr.forEach(t);for(var n=0;n<Qa.length;n++){var l=Qa[n];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Qa.length&&(n=Qa[0],n.blockedOn===null);)Rm(n),n.blockedOn===null&&Qa.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var r=n[l],s=n[l+1],d=r[Oe]||null;if(typeof s=="function")d||Nm(n);else if(d){var E=null;if(s&&s.hasAttribute("formAction")){if(r=s,d=s[Oe]||null)E=d.formAction;else if(Js(r)!==null)continue}else E=d.action;typeof E=="function"?n[l+1]=E:(n.splice(l,3),l-=3),Nm(n)}}}function Ps(e){this._internalRoot=e}Ru.prototype.render=Ps.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var n=t.current,l=cn();Em(n,l,e,t,null,null)},Ru.prototype.unmount=Ps.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;e.tag===0&&Il(),Em(e.current,2,null,e,null,null),ru(),t[tt]=null}};function Ru(e){this._internalRoot=e}Ru.prototype.unstable_scheduleHydration=function(e){if(e){var t=ue();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Qa.length&&t!==0&&t<Qa[n].priority;n++);Qa.splice(n,0,e),n===0&&Rm(e)}};var Cm=i.version;if(Cm!=="19.0.0")throw Error(c(527,Cm,"19.0.0"));J.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=V(t),e=e!==null?te(e):null,e=e===null?null:e.stateNode,e};var Gg={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:$,findFiberByHostInstance:Ct,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Tu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tu.isDisabled&&Tu.supportsFiber)try{tn=Tu.inject(Gg),pt=Tu}catch{}}return rr.createRoot=function(e,t){if(!o(e))throw Error(c(299));var n=!1,l="",r=Xd,s=Qd,d=Zd,E=null;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(E=t.unstable_transitionCallbacks)),t=vm(e,1,!1,null,null,n,l,r,s,d,E,null),e[tt]=t.current,zs(e.nodeType===8?e.parentNode:e),new Ps(t)},rr.hydrateRoot=function(e,t,n){if(!o(e))throw Error(c(299));var l=!1,r="",s=Xd,d=Qd,E=Zd,S=null,O=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(E=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(S=n.unstable_transitionCallbacks),n.formState!==void 0&&(O=n.formState)),t=vm(e,1,!0,t,n??null,l,r,s,d,E,S,O),t.context=gm(null),n=t.current,l=cn(),r=za(l),r.callback=null,La(n,r,l),t.current.lanes=l,X(t,l),Kn(t),e[tt]=t.current,zs(e),new Ru(t)},rr.version="19.0.0",rr}var Bm;function e0(){if(Bm)return eo.exports;Bm=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),eo.exports=Ig(),eo.exports}var t0=e0();const n0="modulepreload",a0=function(a){return"/static/"+a},qm={},ve=function(i,u,c){let o=Promise.resolve();if(u&&u.length>0){document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),y=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));o=Promise.allSettled(u.map(p=>{if(p=a0(p),p in qm)return;qm[p]=!0;const v=p.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${b}`))return;const C=document.createElement("link");if(C.rel=v?"stylesheet":n0,v||(C.as="script"),C.crossOrigin="",C.href=p,y&&C.setAttribute("nonce",y),document.head.appendChild(C),v)return new Promise((x,R)=>{C.addEventListener("load",x),C.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${p}`)))})}))}function f(h){const y=new Event("vite:preloadError",{cancelable:!0});if(y.payload=h,window.dispatchEvent(y),!y.defaultPrevented)throw h}return o.then(h=>{for(const y of h||[])y.status==="rejected"&&f(y.reason);return i().catch(f)})};var lo={exports:{}},io={};/** + * @license React + * react-compiler-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var km;function l0(){if(km)return io;km=1;var a=Yu().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;return io.c=function(i){return a.H.useMemoCache(i)},io}var Vm;function i0(){return Vm||(Vm=1,lo.exports=l0()),lo.exports}var ut=i0(),ur={},Ym;function r0(){if(Ym)return ur;Ym=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.parse=h,ur.serialize=v;const a=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,i=/^[\u0021-\u003A\u003C-\u007E]*$/,u=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,c=/^[\u0020-\u003A\u003D-\u007E]*$/,o=Object.prototype.toString,f=(()=>{const x=function(){};return x.prototype=Object.create(null),x})();function h(x,R){const A=new f,H=x.length;if(H<2)return A;const k=(R==null?void 0:R.decode)||b;let z=0;do{const Z=x.indexOf("=",z);if(Z===-1)break;const Q=x.indexOf(";",z),ee=Q===-1?H:Q;if(Z>ee){z=x.lastIndexOf(";",Z-1)+1;continue}const T=y(x,z,Z),P=p(x,Z,T),fe=x.slice(T,P);if(A[fe]===void 0){let ce=y(x,Z+1,ee),$=p(x,ee,ce);const ie=k(x.slice(ce,$));A[fe]=ie}z=ee+1}while(z<H);return A}function y(x,R,A){do{const H=x.charCodeAt(R);if(H!==32&&H!==9)return R}while(++R<A);return A}function p(x,R,A){for(;R>A;){const H=x.charCodeAt(--R);if(H!==32&&H!==9)return R+1}return A}function v(x,R,A){const H=(A==null?void 0:A.encode)||encodeURIComponent;if(!a.test(x))throw new TypeError(`argument name is invalid: ${x}`);const k=H(R);if(!i.test(k))throw new TypeError(`argument val is invalid: ${R}`);let z=x+"="+k;if(!A)return z;if(A.maxAge!==void 0){if(!Number.isInteger(A.maxAge))throw new TypeError(`option maxAge is invalid: ${A.maxAge}`);z+="; Max-Age="+A.maxAge}if(A.domain){if(!u.test(A.domain))throw new TypeError(`option domain is invalid: ${A.domain}`);z+="; Domain="+A.domain}if(A.path){if(!c.test(A.path))throw new TypeError(`option path is invalid: ${A.path}`);z+="; Path="+A.path}if(A.expires){if(!C(A.expires)||!Number.isFinite(A.expires.valueOf()))throw new TypeError(`option expires is invalid: ${A.expires}`);z+="; Expires="+A.expires.toUTCString()}if(A.httpOnly&&(z+="; HttpOnly"),A.secure&&(z+="; Secure"),A.partitioned&&(z+="; Partitioned"),A.priority)switch(typeof A.priority=="string"?A.priority.toLowerCase():void 0){case"low":z+="; Priority=Low";break;case"medium":z+="; Priority=Medium";break;case"high":z+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${A.priority}`)}if(A.sameSite)switch(typeof A.sameSite=="string"?A.sameSite.toLowerCase():A.sameSite){case!0:case"strict":z+="; SameSite=Strict";break;case"lax":z+="; SameSite=Lax";break;case"none":z+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${A.sameSite}`)}return z}function b(x){if(x.indexOf("%")===-1)return x;try{return decodeURIComponent(x)}catch{return x}}function C(x){return o.call(x)==="[object Date]"}return ur}r0();/** + * react-router v7.1.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */var Gm="popstate";function u0(a={}){function i(c,o){let{pathname:f,search:h,hash:y}=c.location;return mr("",{pathname:f,search:h,hash:y},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function u(c,o){return typeof o=="string"?o:Pa(o)}return s0(i,u,null,a)}function He(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function At(a,i){if(!a){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function c0(){return Math.random().toString(36).substring(2,10)}function Xm(a,i){return{usr:a.state,key:a.key,idx:i}}function mr(a,i,u=null,c){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof i=="string"?Ia(i):i,state:u,key:i&&i.key||c||c0()}}function Pa({pathname:a="/",search:i="",hash:u=""}){return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),u&&u!=="#"&&(a+=u.charAt(0)==="#"?u:"#"+u),a}function Ia(a){let i={};if(a){let u=a.indexOf("#");u>=0&&(i.hash=a.substring(u),a=a.substring(0,u));let c=a.indexOf("?");c>=0&&(i.search=a.substring(c),a=a.substring(0,c)),a&&(i.pathname=a)}return i}function s0(a,i,u,c={}){let{window:o=document.defaultView,v5Compat:f=!1}=c,h=o.history,y="POP",p=null,v=b();v==null&&(v=0,h.replaceState({...h.state,idx:v},""));function b(){return(h.state||{idx:null}).idx}function C(){y="POP";let k=b(),z=k==null?null:k-v;v=k,p&&p({action:y,location:H.location,delta:z})}function x(k,z){y="PUSH";let Z=mr(H.location,k,z);v=b()+1;let Q=Xm(Z,v),ee=H.createHref(Z);try{h.pushState(Q,"",ee)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;o.location.assign(ee)}f&&p&&p({action:y,location:H.location,delta:1})}function R(k,z){y="REPLACE";let Z=mr(H.location,k,z);v=b();let Q=Xm(Z,v),ee=H.createHref(Z);h.replaceState(Q,"",ee),f&&p&&p({action:y,location:H.location,delta:0})}function A(k){let z=o.location.origin!=="null"?o.location.origin:o.location.href,Z=typeof k=="string"?k:Pa(k);return Z=Z.replace(/ $/,"%20"),He(z,`No window.location.(origin|href) available to create URL for href: ${Z}`),new URL(Z,z)}let H={get action(){return y},get location(){return a(o,h)},listen(k){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(Gm,C),p=k,()=>{o.removeEventListener(Gm,C),p=null}},createHref(k){return i(o,k)},createURL:A,encodeLocation(k){let z=A(k);return{pathname:z.pathname,search:z.search,hash:z.hash}},push:x,replace:R,go(k){return h.go(k)}};return H}var o0=new Set(["lazy","caseSensitive","path","id","index","children"]);function f0(a){return a.index===!0}function zu(a,i,u=[],c={}){return a.map((o,f)=>{let h=[...u,String(f)],y=typeof o.id=="string"?o.id:h.join("-");if(He(o.index!==!0||!o.children,"Cannot specify children on an index route"),He(!c[y],`Found a route id collision on id "${y}". Route id's must be globally unique within Data Router usages`),f0(o)){let p={...o,...i(o),id:y};return c[y]=p,p}else{let p={...o,...i(o),id:y,children:void 0};return c[y]=p,o.children&&(p.children=zu(o.children,i,h,c)),p}})}function Fa(a,i,u="/"){return Au(a,i,u,!1)}function Au(a,i,u,c){let o=typeof i=="string"?Ia(i):i,f=fn(o.pathname||"/",u);if(f==null)return null;let h=Oy(a);h0(h);let y=null;for(let p=0;y==null&&p<h.length;++p){let v=R0(f);y=x0(h[p],v,c)}return y}function d0(a,i){let{route:u,pathname:c,params:o}=a;return{id:u.id,pathname:c,params:o,data:i[u.id],handle:u.handle}}function Oy(a,i=[],u=[],c=""){let o=(f,h,y)=>{let p={relativePath:y===void 0?f.path||"":y,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};p.relativePath.startsWith("/")&&(He(p.relativePath.startsWith(c),`Absolute route path "${p.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(c.length));let v=Jn([c,p.relativePath]),b=u.concat(p);f.children&&f.children.length>0&&(He(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Oy(f.children,i,b,v)),!(f.path==null&&!f.index)&&i.push({path:v,score:b0(v,f.index),routesMeta:b})};return a.forEach((f,h)=>{var y;if(f.path===""||!((y=f.path)!=null&&y.includes("?")))o(f,h);else for(let p of Dy(f.path))o(f,h,p)}),i}function Dy(a){let i=a.split("/");if(i.length===0)return[];let[u,...c]=i,o=u.endsWith("?"),f=u.replace(/\?$/,"");if(c.length===0)return o?[f,""]:[f];let h=Dy(c.join("/")),y=[];return y.push(...h.map(p=>p===""?f:[f,p].join("/"))),o&&y.push(...h),y.map(p=>a.startsWith("/")&&p===""?"/":p)}function h0(a){a.sort((i,u)=>i.score!==u.score?u.score-i.score:S0(i.routesMeta.map(c=>c.childrenIndex),u.routesMeta.map(c=>c.childrenIndex)))}var m0=/^:[\w-]+$/,y0=3,p0=2,v0=1,g0=10,E0=-2,Qm=a=>a==="*";function b0(a,i){let u=a.split("/"),c=u.length;return u.some(Qm)&&(c+=E0),i&&(c+=p0),u.filter(o=>!Qm(o)).reduce((o,f)=>o+(m0.test(f)?y0:f===""?v0:g0),c)}function S0(a,i){return a.length===i.length&&a.slice(0,-1).every((c,o)=>c===i[o])?a[a.length-1]-i[i.length-1]:0}function x0(a,i,u=!1){let{routesMeta:c}=a,o={},f="/",h=[];for(let y=0;y<c.length;++y){let p=c[y],v=y===c.length-1,b=f==="/"?i:i.slice(f.length)||"/",C=Lu({path:p.relativePath,caseSensitive:p.caseSensitive,end:v},b),x=p.route;if(!C&&v&&u&&!c[c.length-1].route.index&&(C=Lu({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},b)),!C)return null;Object.assign(o,C.params),h.push({params:o,pathname:Jn([f,C.pathname]),pathnameBase:C0(Jn([f,C.pathnameBase])),route:x}),C.pathnameBase!=="/"&&(f=Jn([f,C.pathnameBase]))}return h}function Lu(a,i){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[u,c]=_0(a.path,a.caseSensitive,a.end),o=i.match(u);if(!o)return null;let f=o[0],h=f.replace(/(.)\/+$/,"$1"),y=o.slice(1);return{params:c.reduce((v,{paramName:b,isOptional:C},x)=>{if(b==="*"){let A=y[x]||"";h=f.slice(0,f.length-A.length).replace(/(.)\/+$/,"$1")}const R=y[x];return C&&!R?v[b]=void 0:v[b]=(R||"").replace(/%2F/g,"/"),v},{}),pathname:f,pathnameBase:h,pattern:a}}function _0(a,i=!1,u=!0){At(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let c=[],o="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,y,p)=>(c.push({paramName:y,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(c.push({paramName:"*"}),o+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):u?o+="\\/*$":a!==""&&a!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,i?void 0:"i"),c]}function R0(a){try{return a.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return At(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),a}}function fn(a,i){if(i==="/")return a;if(!a.toLowerCase().startsWith(i.toLowerCase()))return null;let u=i.endsWith("/")?i.length-1:i.length,c=a.charAt(u);return c&&c!=="/"?null:a.slice(u)||"/"}function T0(a,i="/"){let{pathname:u,search:c="",hash:o=""}=typeof a=="string"?Ia(a):a;return{pathname:u?u.startsWith("/")?u:N0(u,i):i,search:j0(c),hash:O0(o)}}function N0(a,i){let u=i.replace(/\/+$/,"").split("/");return a.split("/").forEach(o=>{o===".."?u.length>1&&u.pop():o!=="."&&u.push(o)}),u.length>1?u.join("/"):"/"}function ro(a,i,u,c){return`Cannot include a '${a}' character in a manually specified \`to.${i}\` field [${JSON.stringify(c)}]. Please separate it out to the \`to.${u}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ay(a){return a.filter((i,u)=>u===0||i.route.path&&i.route.path.length>0)}function Uo(a){let i=Ay(a);return i.map((u,c)=>c===i.length-1?u.pathname:u.pathnameBase)}function Ho(a,i,u,c=!1){let o;typeof a=="string"?o=Ia(a):(o={...a},He(!o.pathname||!o.pathname.includes("?"),ro("?","pathname","search",o)),He(!o.pathname||!o.pathname.includes("#"),ro("#","pathname","hash",o)),He(!o.search||!o.search.includes("#"),ro("#","search","hash",o)));let f=a===""||o.pathname==="",h=f?"/":o.pathname,y;if(h==null)y=u;else{let C=i.length-1;if(!c&&h.startsWith("..")){let x=h.split("/");for(;x[0]==="..";)x.shift(),C-=1;o.pathname=x.join("/")}y=C>=0?i[C]:"/"}let p=T0(o,y),v=h&&h!=="/"&&h.endsWith("/"),b=(f||h===".")&&u.endsWith("/");return!p.pathname.endsWith("/")&&(v||b)&&(p.pathname+="/"),p}var Jn=a=>a.join("/").replace(/\/\/+/g,"/"),C0=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),j0=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,O0=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a,Uu=class{constructor(a,i,u,c=!1){this.status=a,this.statusText=i||"",this.internal=c,u instanceof Error?(this.data=u.toString(),this.error=u):this.data=u}};function Gu(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}var wy=["POST","PUT","PATCH","DELETE"],D0=new Set(wy),A0=["GET",...wy],w0=new Set(A0),M0=new Set([301,302,303,307,308]),z0=new Set([307,308]),uo={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},L0={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},si={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Bo=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,U0=a=>({hasErrorBoundary:!!a.hasErrorBoundary}),My="remix-router-transitions",zy=Symbol("ResetLoaderData");function H0(a){const i=a.window?a.window:typeof window<"u"?window:void 0,u=typeof i<"u"&&typeof i.document<"u"&&typeof i.document.createElement<"u";He(a.routes.length>0,"You must provide a non-empty routes array to createRouter");let c=a.mapRouteProperties||U0,o={},f=zu(a.routes,c,void 0,o),h,y=a.basename||"/",p=a.dataStrategy||Y0,v=a.patchRoutesOnNavigation,b={...a.future},C=null,x=new Set,R=null,A=null,H=null,k=a.hydrationData!=null,z=Fa(f,a.history.location,y),Z=null;if(z==null&&!v){let N=jn(404,{pathname:a.history.location.pathname}),{matches:w,route:U}=ny(f);z=w,Z={[U.id]:N}}z&&!a.hydrationData&&zt(z,f,a.history.location.pathname).active&&(z=null);let Q;if(z)if(z.some(N=>N.route.lazy))Q=!1;else if(!z.some(N=>N.route.loader))Q=!0;else{let N=a.hydrationData?a.hydrationData.loaderData:null,w=a.hydrationData?a.hydrationData.errors:null;if(w){let U=z.findIndex(X=>w[X.route.id]!==void 0);Q=z.slice(0,U+1).every(X=>!To(X.route,N,w))}else Q=z.every(U=>!To(U.route,N,w))}else{Q=!1,z=[];let N=zt(null,f,a.history.location.pathname);N.active&&N.matches&&(z=N.matches)}let ee,T={historyAction:a.history.action,location:a.history.location,matches:z,initialized:Q,navigation:uo,restoreScrollPosition:a.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:a.hydrationData&&a.hydrationData.loaderData||{},actionData:a.hydrationData&&a.hydrationData.actionData||null,errors:a.hydrationData&&a.hydrationData.errors||Z,fetchers:new Map,blockers:new Map},P="POP",fe=!1,ce,$=!1,ie=new Map,Le=null,Pe=!1,Ge=!1,et=new Set,Ne=new Map,K=0,se=-1,F=new Map,_e=new Set,_=new Map,V=new Map,te=new Set,W=new Map,J,ye=null;function ge(){if(C=a.history.listen(({action:N,location:w,delta:U})=>{if(J){J(),J=void 0;return}At(W.size===0||U!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let X=ht({currentLocation:T.location,nextLocation:w,historyAction:N});if(X&&U!=null){let ne=new Promise(de=>{J=de});a.history.go(U*-1),Nt(X,{state:"blocked",location:w,proceed(){Nt(X,{state:"proceeding",proceed:void 0,reset:void 0,location:w}),ne.then(()=>a.history.go(U))},reset(){let de=new Map(T.blockers);de.set(X,si),xe({blockers:de})}});return}return Ke(N,w)}),u){I0(i,ie);let N=()=>e1(i,ie);i.addEventListener("pagehide",N),Le=()=>i.removeEventListener("pagehide",N)}return T.initialized||Ke("POP",T.location,{initialHydration:!0}),ee}function Ze(){C&&C(),Le&&Le(),x.clear(),ce&&ce.abort(),T.fetchers.forEach((N,w)=>kt(w)),T.blockers.forEach((N,w)=>ea(w))}function Ce(N){return x.add(N),()=>x.delete(N)}function xe(N,w={}){T={...T,...N};let U=[],X=[];T.fetchers.forEach((ne,de)=>{ne.state==="idle"&&(te.has(de)?U.push(de):X.push(de))}),te.forEach(ne=>{!T.fetchers.has(ne)&&!Ne.has(ne)&&U.push(ne)}),[...x].forEach(ne=>ne(T,{deletedFetchers:U,viewTransitionOpts:w.viewTransitionOpts,flushSync:w.flushSync===!0})),U.forEach(ne=>kt(ne)),X.forEach(ne=>T.fetchers.delete(ne))}function Te(N,w,{flushSync:U}={}){var I,pe;let X=T.actionData!=null&&T.navigation.formMethod!=null&&Bn(T.navigation.formMethod)&&T.navigation.state==="loading"&&((I=N.state)==null?void 0:I._isRedirect)!==!0,ne;w.actionData?Object.keys(w.actionData).length>0?ne=w.actionData:ne=null:X?ne=T.actionData:ne=null;let de=w.loaderData?ey(T.loaderData,w.loaderData,w.matches||[],w.errors):T.loaderData,Se=T.blockers;Se.size>0&&(Se=new Map(Se),Se.forEach((me,Oe)=>Se.set(Oe,si)));let le=fe===!0||T.navigation.formMethod!=null&&Bn(T.navigation.formMethod)&&((pe=N.state)==null?void 0:pe._isRedirect)!==!0;h&&(f=h,h=void 0),Pe||P==="POP"||(P==="PUSH"?a.history.push(N,N.state):P==="REPLACE"&&a.history.replace(N,N.state));let ue;if(P==="POP"){let me=ie.get(T.location.pathname);me&&me.has(N.pathname)?ue={currentLocation:T.location,nextLocation:N}:ie.has(N.pathname)&&(ue={currentLocation:N,nextLocation:T.location})}else if($){let me=ie.get(T.location.pathname);me?me.add(N.pathname):(me=new Set([N.pathname]),ie.set(T.location.pathname,me)),ue={currentLocation:T.location,nextLocation:N}}xe({...w,actionData:ne,loaderData:de,historyAction:P,location:N,initialized:!0,navigation:uo,revalidation:"idle",restoreScrollPosition:mn(N,w.matches||T.matches),preventScrollReset:le,blockers:Se},{viewTransitionOpts:ue,flushSync:U===!0}),P="POP",fe=!1,$=!1,Pe=!1,Ge=!1,ye==null||ye.resolve(),ye=null}async function at(N,w){if(typeof N=="number"){a.history.go(N);return}let U=Ro(T.location,T.matches,y,N,w==null?void 0:w.fromRouteId,w==null?void 0:w.relative),{path:X,submission:ne,error:de}=Zm(!1,U,w),Se=T.location,le=mr(T.location,X,w&&w.state);le={...le,...a.history.encodeLocation(le)};let ue=w&&w.replace!=null?w.replace:void 0,I="PUSH";ue===!0?I="REPLACE":ue===!1||ne!=null&&Bn(ne.formMethod)&&ne.formAction===T.location.pathname+T.location.search&&(I="REPLACE");let pe=w&&"preventScrollReset"in w?w.preventScrollReset===!0:void 0,me=(w&&w.flushSync)===!0,Oe=ht({currentLocation:Se,nextLocation:le,historyAction:I});if(Oe){Nt(Oe,{state:"blocked",location:le,proceed(){Nt(Oe,{state:"proceeding",proceed:void 0,reset:void 0,location:le}),at(N,w)},reset(){let tt=new Map(T.blockers);tt.set(Oe,si),xe({blockers:tt})}});return}await Ke(I,le,{submission:ne,pendingError:de,preventScrollReset:pe,replace:w&&w.replace,enableViewTransition:w&&w.viewTransition,flushSync:me})}function bt(){ye||(ye=t1()),ct(),xe({revalidation:"loading"});let N=ye.promise;return T.navigation.state==="submitting"?N:T.navigation.state==="idle"?(Ke(T.historyAction,T.location,{startUninterruptedRevalidation:!0}),N):(Ke(P||T.historyAction,T.navigation.location,{overrideNavigation:T.navigation,enableViewTransition:$===!0}),N)}async function Ke(N,w,U){ce&&ce.abort(),ce=null,P=N,Pe=(U&&U.startUninterruptedRevalidation)===!0,Dn(T.location,T.matches),fe=(U&&U.preventScrollReset)===!0,$=(U&&U.enableViewTransition)===!0;let X=h||f,ne=U&&U.overrideNavigation,de=Fa(X,w,y),Se=(U&&U.flushSync)===!0,le=zt(de,X,w.pathname);if(le.active&&le.matches&&(de=le.matches),!de){let{error:$e,notFoundMatches:Je,route:mt}=Vn(w.pathname);Te(w,{matches:Je,loaderData:{},errors:{[mt.id]:$e}},{flushSync:Se});return}if(T.initialized&&!Ge&&$0(T.location,w)&&!(U&&U.submission&&Bn(U.submission.formMethod))){Te(w,{matches:de},{flushSync:Se});return}ce=new AbortController;let ue=ii(a.history,w,ce.signal,U&&U.submission),I;if(U&&U.pendingError)I=[xl(de).route.id,{type:"error",error:U.pendingError}];else if(U&&U.submission&&Bn(U.submission.formMethod)){let $e=await Rt(ue,w,U.submission,de,le.active,{replace:U.replace,flushSync:Se});if($e.shortCircuited)return;if($e.pendingActionResult){let[Je,mt]=$e.pendingActionResult;if(sn(mt)&&Gu(mt.error)&&mt.error.status===404){ce=null,Te(w,{matches:$e.matches,loaderData:{},errors:{[Je]:mt.error}});return}}de=$e.matches||de,I=$e.pendingActionResult,ne=co(w,U.submission),Se=!1,le.active=!1,ue=ii(a.history,ue.url,ue.signal)}let{shortCircuited:pe,matches:me,loaderData:Oe,errors:tt}=await ze(ue,w,de,le.active,ne,U&&U.submission,U&&U.fetcherSubmission,U&&U.replace,U&&U.initialHydration===!0,Se,I);pe||(ce=null,Te(w,{matches:me||de,...ty(I),loaderData:Oe,errors:tt}))}async function Rt(N,w,U,X,ne,de={}){ct();let Se=P0(w,U);if(xe({navigation:Se},{flushSync:de.flushSync===!0}),ne){let I=await Ft(X,w.pathname,N.signal);if(I.type==="aborted")return{shortCircuited:!0};if(I.type==="error"){let pe=xl(I.partialMatches).route.id;return{matches:I.partialMatches,pendingActionResult:[pe,{type:"error",error:I.error}]}}else if(I.matches)X=I.matches;else{let{notFoundMatches:pe,error:me,route:Oe}=Vn(w.pathname);return{matches:pe,pendingActionResult:[Oe.id,{type:"error",error:me}]}}}let le,ue=dr(X,w);if(!ue.route.action&&!ue.route.lazy)le={type:"error",error:jn(405,{method:N.method,pathname:w.pathname,routeId:ue.route.id})};else if(le=(await Jt("action",T,N,[ue],X,null))[ue.route.id],N.signal.aborted)return{shortCircuited:!0};if(Tl(le)){let I;return de&&de.replace!=null?I=de.replace:I=Pm(le.response.headers.get("Location"),new URL(N.url),y)===T.location.pathname+T.location.search,await Tt(N,le,!0,{submission:U,replace:I}),{shortCircuited:!0}}if(sn(le)){let I=xl(X,ue.route.id);return(de&&de.replace)!==!0&&(P="PUSH"),{matches:X,pendingActionResult:[I.route.id,le]}}return{matches:X,pendingActionResult:[ue.route.id,le]}}async function ze(N,w,U,X,ne,de,Se,le,ue,I,pe){let me=ne||co(w,de),Oe=de||Se||ly(me),tt=!Pe&&!ue;if(X){if(tt){let nt=St(pe);xe({navigation:me,...nt!==void 0?{actionData:nt}:{}},{flushSync:I})}let Ye=await Ft(U,w.pathname,N.signal);if(Ye.type==="aborted")return{shortCircuited:!0};if(Ye.type==="error"){let nt=xl(Ye.partialMatches).route.id;return{matches:Ye.partialMatches,loaderData:{},errors:{[nt]:Ye.error}}}else if(Ye.matches)U=Ye.matches;else{let{error:nt,notFoundMatches:Mn,route:Qt}=Vn(w.pathname);return{matches:Mn,loaderData:{},errors:{[Qt.id]:nt}}}}let $e=h||f,[Je,mt]=$m(a.history,T,U,Oe,w,ue===!0,Ge,et,te,_,_e,$e,y,pe);if(se=++K,Je.length===0&&mt.length===0){let Ye=In();return Te(w,{matches:U,loaderData:{},errors:pe&&sn(pe[1])?{[pe[0]]:pe[1].error}:null,...ty(pe),...Ye?{fetchers:new Map(T.fetchers)}:{}},{flushSync:I}),{shortCircuited:!0}}if(tt){let Ye={};if(!X){Ye.navigation=me;let nt=St(pe);nt!==void 0&&(Ye.actionData=nt)}mt.length>0&&(Ye.fetchers=qt(mt)),xe(Ye,{flushSync:I})}mt.forEach(Ye=>{Vt(Ye.key),Ye.controller&&Ne.set(Ye.key,Ye.controller)});let na=()=>mt.forEach(Ye=>Vt(Ye.key));ce&&ce.signal.addEventListener("abort",na);let{loaderResults:An,fetcherResults:nn}=await On(T,U,Je,mt,N);if(N.signal.aborted)return{shortCircuited:!0};ce&&ce.signal.removeEventListener("abort",na),mt.forEach(Ye=>Ne.delete(Ye.key));let Ct=Nu(An);if(Ct)return await Tt(N,Ct.result,!0,{replace:le}),{shortCircuited:!0};if(Ct=Nu(nn),Ct)return _e.add(Ct.key),await Tt(N,Ct.result,!0,{replace:le}),{shortCircuited:!0};let{loaderData:Yn,errors:wn}=Im(T,U,An,pe,mt,nn);ue&&T.errors&&(wn={...T.errors,...wn});let Pt=In(),lt=tn(se),el=Pt||lt||mt.length>0;return{matches:U,loaderData:Yn,errors:wn,...el?{fetchers:new Map(T.fetchers)}:{}}}function St(N){if(N&&!sn(N[1]))return{[N[0]]:N[1].data};if(T.actionData)return Object.keys(T.actionData).length===0?null:T.actionData}function qt(N){return N.forEach(w=>{let U=T.fetchers.get(w.key),X=cr(void 0,U?U.data:void 0);T.fetchers.set(w.key,X)}),new Map(T.fetchers)}async function en(N,w,U,X){Vt(N);let ne=(X&&X.flushSync)===!0,de=h||f,Se=Ro(T.location,T.matches,y,U,w,X==null?void 0:X.relative),le=Fa(de,Se,y),ue=zt(le,de,Se);if(ue.active&&ue.matches&&(le=ue.matches),!le){be(N,w,jn(404,{pathname:Se}),{flushSync:ne});return}let{path:I,submission:pe,error:me}=Zm(!0,Se,X);if(me){be(N,w,me,{flushSync:ne});return}let Oe=dr(le,I),tt=(X&&X.preventScrollReset)===!0;if(pe&&Bn(pe.formMethod)){await dn(N,w,I,Oe,le,ue.active,ne,tt,pe);return}_.set(N,{routeId:w,path:I}),await hn(N,w,I,Oe,le,ue.active,ne,tt,pe)}async function dn(N,w,U,X,ne,de,Se,le,ue){ct(),_.delete(N);function I(st){if(!st.route.action&&!st.route.lazy){let aa=jn(405,{method:ue.formMethod,pathname:U,routeId:w});return be(N,w,aa,{flushSync:Se}),!0}return!1}if(!de&&I(X))return;let pe=T.fetchers.get(N);wt(N,W0(ue,pe),{flushSync:Se});let me=new AbortController,Oe=ii(a.history,U,me.signal,ue);if(de){let st=await Ft(ne,U,Oe.signal);if(st.type==="aborted")return;if(st.type==="error"){be(N,w,st.error,{flushSync:Se});return}else if(st.matches){if(ne=st.matches,X=dr(ne,U),I(X))return}else{be(N,w,jn(404,{pathname:U}),{flushSync:Se});return}}Ne.set(N,me);let tt=K,Je=(await Jt("action",T,Oe,[X],ne,N))[X.route.id];if(Oe.signal.aborted){Ne.get(N)===me&&Ne.delete(N);return}if(te.has(N)){if(Tl(Je)||sn(Je)){wt(N,$a(void 0));return}}else{if(Tl(Je))if(Ne.delete(N),se>tt){wt(N,$a(void 0));return}else return _e.add(N),wt(N,cr(ue)),Tt(Oe,Je,!1,{fetcherSubmission:ue,preventScrollReset:le});if(sn(Je)){be(N,w,Je.error);return}}let mt=T.navigation.location||T.location,na=ii(a.history,mt,me.signal),An=h||f,nn=T.navigation.state!=="idle"?Fa(An,T.navigation.location,y):T.matches;He(nn,"Didn't find any matches after fetcher action");let Ct=++K;F.set(N,Ct);let Yn=cr(ue,Je.data);T.fetchers.set(N,Yn);let[wn,Pt]=$m(a.history,T,nn,ue,mt,!1,Ge,et,te,_,_e,An,y,[X.route.id,Je]);Pt.filter(st=>st.key!==N).forEach(st=>{let aa=st.key,hi=T.fetchers.get(aa),Ju=cr(void 0,hi?hi.data:void 0);T.fetchers.set(aa,Ju),Vt(aa),st.controller&&Ne.set(aa,st.controller)}),xe({fetchers:new Map(T.fetchers)});let lt=()=>Pt.forEach(st=>Vt(st.key));me.signal.addEventListener("abort",lt);let{loaderResults:el,fetcherResults:Ye}=await On(T,nn,wn,Pt,na);if(me.signal.aborted)return;me.signal.removeEventListener("abort",lt),F.delete(N),Ne.delete(N),Pt.forEach(st=>Ne.delete(st.key));let nt=Nu(el);if(nt)return Tt(na,nt.result,!1,{preventScrollReset:le});if(nt=Nu(Ye),nt)return _e.add(nt.key),Tt(na,nt.result,!1,{preventScrollReset:le});let{loaderData:Mn,errors:Qt}=Im(T,nn,el,void 0,Pt,Ye);if(T.fetchers.has(N)){let st=$a(Je.data);T.fetchers.set(N,st)}tn(Ct),T.navigation.state==="loading"&&Ct>se?(He(P,"Expected pending action"),ce&&ce.abort(),Te(T.navigation.location,{matches:nn,loaderData:Mn,errors:Qt,fetchers:new Map(T.fetchers)})):(xe({errors:Qt,loaderData:ey(T.loaderData,Mn,nn,Qt),fetchers:new Map(T.fetchers)}),Ge=!1)}async function hn(N,w,U,X,ne,de,Se,le,ue){let I=T.fetchers.get(N);wt(N,cr(ue,I?I.data:void 0),{flushSync:Se});let pe=new AbortController,me=ii(a.history,U,pe.signal);if(de){let Je=await Ft(ne,U,me.signal);if(Je.type==="aborted")return;if(Je.type==="error"){be(N,w,Je.error,{flushSync:Se});return}else if(Je.matches)ne=Je.matches,X=dr(ne,U);else{be(N,w,jn(404,{pathname:U}),{flushSync:Se});return}}Ne.set(N,pe);let Oe=K,$e=(await Jt("loader",T,me,[X],ne,N))[X.route.id];if(Ne.get(N)===pe&&Ne.delete(N),!me.signal.aborted){if(te.has(N)){wt(N,$a(void 0));return}if(Tl($e))if(se>Oe){wt(N,$a(void 0));return}else{_e.add(N),await Tt(me,$e,!1,{preventScrollReset:le});return}if(sn($e)){be(N,w,$e.error);return}wt(N,$a($e.data))}}async function Tt(N,w,U,{submission:X,fetcherSubmission:ne,preventScrollReset:de,replace:Se}={}){w.response.headers.has("X-Remix-Revalidate")&&(Ge=!0);let le=w.response.headers.get("Location");He(le,"Expected a Location header on the redirect Response"),le=Pm(le,new URL(N.url),y);let ue=mr(T.location,le,{_isRedirect:!0});if(u){let $e=!1;if(w.response.headers.has("X-Remix-Reload-Document"))$e=!0;else if(Bo.test(le)){const Je=a.history.createURL(le);$e=Je.origin!==i.location.origin||fn(Je.pathname,y)==null}if($e){Se?i.location.replace(le):i.location.assign(le);return}}ce=null;let I=Se===!0||w.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:pe,formAction:me,formEncType:Oe}=T.navigation;!X&&!ne&&pe&&me&&Oe&&(X=ly(T.navigation));let tt=X||ne;if(z0.has(w.response.status)&&tt&&Bn(tt.formMethod))await Ke(I,ue,{submission:{...tt,formAction:le},preventScrollReset:de||fe,enableViewTransition:U?$:void 0});else{let $e=co(ue,X);await Ke(I,ue,{overrideNavigation:$e,fetcherSubmission:ne,preventScrollReset:de||fe,enableViewTransition:U?$:void 0})}}async function Jt(N,w,U,X,ne,de){let Se,le={};try{Se=await G0(p,N,w,U,X,ne,de,o,c)}catch(ue){return X.forEach(I=>{le[I.route.id]={type:"error",error:ue}}),le}for(let[ue,I]of Object.entries(Se))if(J0(I)){let pe=I.result;le[ue]={type:"redirect",response:Z0(pe,U,ue,ne,y)}}else le[ue]=await Q0(I);return le}async function On(N,w,U,X,ne){let de=Jt("loader",N,ne,U,w,null),Se=Promise.all(X.map(async I=>{if(I.matches&&I.match&&I.controller){let me=(await Jt("loader",N,ii(a.history,I.path,I.controller.signal),[I.match],I.matches,I.key))[I.match.route.id];return{[I.key]:me}}else return Promise.resolve({[I.key]:{type:"error",error:jn(404,{pathname:I.path})}})})),le=await de,ue=(await Se).reduce((I,pe)=>Object.assign(I,pe),{});return{loaderResults:le,fetcherResults:ue}}function ct(){Ge=!0,_.forEach((N,w)=>{Ne.has(w)&&et.add(w),Vt(w)})}function wt(N,w,U={}){T.fetchers.set(N,w),xe({fetchers:new Map(T.fetchers)},{flushSync:(U&&U.flushSync)===!0})}function be(N,w,U,X={}){let ne=xl(T.matches,w);kt(N),xe({errors:{[ne.route.id]:U},fetchers:new Map(T.fetchers)},{flushSync:(X&&X.flushSync)===!0})}function Mt(N){return V.set(N,(V.get(N)||0)+1),te.has(N)&&te.delete(N),T.fetchers.get(N)||L0}function kt(N){let w=T.fetchers.get(N);Ne.has(N)&&!(w&&w.state==="loading"&&F.has(N))&&Vt(N),_.delete(N),F.delete(N),_e.delete(N),te.delete(N),et.delete(N),T.fetchers.delete(N)}function _a(N){let w=(V.get(N)||0)-1;w<=0?(V.delete(N),te.add(N)):V.set(N,w),xe({fetchers:new Map(T.fetchers)})}function Vt(N){let w=Ne.get(N);w&&(w.abort(),Ne.delete(N))}function Wn(N){for(let w of N){let U=Mt(w),X=$a(U.data);T.fetchers.set(w,X)}}function In(){let N=[],w=!1;for(let U of _e){let X=T.fetchers.get(U);He(X,`Expected fetcher: ${U}`),X.state==="loading"&&(_e.delete(U),N.push(U),w=!0)}return Wn(N),w}function tn(N){let w=[];for(let[U,X]of F)if(X<N){let ne=T.fetchers.get(U);He(ne,`Expected fetcher: ${U}`),ne.state==="loading"&&(Vt(U),F.delete(U),w.push(U))}return Wn(w),w.length>0}function pt(N,w){let U=T.blockers.get(N)||si;return W.get(N)!==w&&W.set(N,w),U}function ea(N){T.blockers.delete(N),W.delete(N)}function Nt(N,w){let U=T.blockers.get(N)||si;He(U.state==="unblocked"&&w.state==="blocked"||U.state==="blocked"&&w.state==="blocked"||U.state==="blocked"&&w.state==="proceeding"||U.state==="blocked"&&w.state==="unblocked"||U.state==="proceeding"&&w.state==="unblocked",`Invalid blocker state transition: ${U.state} -> ${w.state}`);let X=new Map(T.blockers);X.set(N,w),xe({blockers:X})}function ht({currentLocation:N,nextLocation:w,historyAction:U}){if(W.size===0)return;W.size>1&&At(!1,"A router only supports one blocker at a time");let X=Array.from(W.entries()),[ne,de]=X[X.length-1],Se=T.blockers.get(ne);if(!(Se&&Se.state==="proceeding")&&de({currentLocation:N,nextLocation:w,historyAction:U}))return ne}function Vn(N){let w=jn(404,{pathname:N}),U=h||f,{matches:X,route:ne}=ny(U);return{notFoundMatches:X,route:ne,error:w}}function Ra(N,w,U){if(R=N,H=w,A=U||null,!k&&T.navigation===uo){k=!0;let X=mn(T.location,T.matches);X!=null&&xe({restoreScrollPosition:X})}return()=>{R=null,H=null,A=null}}function ta(N,w){return A&&A(N,w.map(X=>d0(X,T.loaderData)))||N.key}function Dn(N,w){if(R&&H){let U=ta(N,w);R[U]=H()}}function mn(N,w){if(R){let U=ta(N,w),X=R[U];if(typeof X=="number")return X}return null}function zt(N,w,U){if(v)if(N){if(Object.keys(N[0].params).length>0)return{active:!0,matches:Au(w,U,y,!0)}}else return{active:!0,matches:Au(w,U,y,!0)||[]};return{active:!1,matches:null}}async function Ft(N,w,U){if(!v)return{type:"success",matches:N};let X=N;for(;;){let ne=h==null,de=h||f,Se=o;try{await v({path:w,matches:X,patch:(I,pe)=>{U.aborted||Fm(I,pe,de,Se,c)}})}catch(I){return{type:"error",error:I,partialMatches:X}}finally{ne&&!U.aborted&&(f=[...f])}if(U.aborted)return{type:"aborted"};let le=Fa(de,w,y);if(le)return{type:"success",matches:le};let ue=Au(de,w,y,!0);if(!ue||X.length===ue.length&&X.every((I,pe)=>I.route.id===ue[pe].route.id))return{type:"success",matches:null};X=ue}}function yn(N){o={},h=zu(N,c,void 0,o)}function Ta(N,w){let U=h==null;Fm(N,w,h||f,o,c),U&&(f=[...f],xe({}))}return ee={get basename(){return y},get future(){return b},get state(){return T},get routes(){return f},get window(){return i},initialize:ge,subscribe:Ce,enableScrollRestoration:Ra,navigate:at,fetch:en,revalidate:bt,createHref:N=>a.history.createHref(N),encodeLocation:N=>a.history.encodeLocation(N),getFetcher:Mt,deleteFetcher:_a,dispose:Ze,getBlocker:pt,deleteBlocker:ea,patchRoutes:Ta,_internalFetchControllers:Ne,_internalSetRoutes:yn},ee}function B0(a){return a!=null&&("formData"in a&&a.formData!=null||"body"in a&&a.body!==void 0)}function Ro(a,i,u,c,o,f){let h,y;if(o){h=[];for(let v of i)if(h.push(v),v.route.id===o){y=v;break}}else h=i,y=i[i.length-1];let p=Ho(c||".",Uo(h),fn(a.pathname,u)||a.pathname,f==="path");if(c==null&&(p.search=a.search,p.hash=a.hash),(c==null||c===""||c===".")&&y){let v=qo(p.search);if(y.route.index&&!v)p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index";else if(!y.route.index&&v){let b=new URLSearchParams(p.search),C=b.getAll("index");b.delete("index"),C.filter(R=>R).forEach(R=>b.append("index",R));let x=b.toString();p.search=x?`?${x}`:""}}return u!=="/"&&(p.pathname=p.pathname==="/"?u:Jn([u,p.pathname])),Pa(p)}function Zm(a,i,u){if(!u||!B0(u))return{path:i};if(u.formMethod&&!F0(u.formMethod))return{path:i,error:jn(405,{method:u.formMethod})};let c=()=>({path:i,error:jn(400,{type:"invalid-body"})}),f=(u.formMethod||"get").toUpperCase(),h=Uy(i);if(u.body!==void 0){if(u.formEncType==="text/plain"){if(!Bn(f))return c();let C=typeof u.body=="string"?u.body:u.body instanceof FormData||u.body instanceof URLSearchParams?Array.from(u.body.entries()).reduce((x,[R,A])=>`${x}${R}=${A} +`,""):String(u.body);return{path:i,submission:{formMethod:f,formAction:h,formEncType:u.formEncType,formData:void 0,json:void 0,text:C}}}else if(u.formEncType==="application/json"){if(!Bn(f))return c();try{let C=typeof u.body=="string"?JSON.parse(u.body):u.body;return{path:i,submission:{formMethod:f,formAction:h,formEncType:u.formEncType,formData:void 0,json:C,text:void 0}}}catch{return c()}}}He(typeof FormData=="function","FormData is not available in this environment");let y,p;if(u.formData)y=No(u.formData),p=u.formData;else if(u.body instanceof FormData)y=No(u.body),p=u.body;else if(u.body instanceof URLSearchParams)y=u.body,p=Wm(y);else if(u.body==null)y=new URLSearchParams,p=new FormData;else try{y=new URLSearchParams(u.body),p=Wm(y)}catch{return c()}let v={formMethod:f,formAction:h,formEncType:u&&u.formEncType||"application/x-www-form-urlencoded",formData:p,json:void 0,text:void 0};if(Bn(v.formMethod))return{path:i,submission:v};let b=Ia(i);return a&&b.search&&qo(b.search)&&y.append("index",""),b.search=`?${y}`,{path:Pa(b),submission:v}}function Km(a,i,u=!1){let c=a.findIndex(o=>o.route.id===i);return c>=0?a.slice(0,u?c+1:c):a}function $m(a,i,u,c,o,f,h,y,p,v,b,C,x,R){let A=R?sn(R[1])?R[1].error:R[1].data:void 0,H=a.createURL(i.location),k=a.createURL(o),z=u;f&&i.errors?z=Km(u,Object.keys(i.errors)[0],!0):R&&sn(R[1])&&(z=Km(u,R[0]));let Z=R?R[1].statusCode:void 0,Q=Z&&Z>=400,ee=z.filter((P,fe)=>{let{route:ce}=P;if(ce.lazy)return!0;if(ce.loader==null)return!1;if(f)return To(ce,i.loaderData,i.errors);if(q0(i.loaderData,i.matches[fe],P))return!0;let $=i.matches[fe],ie=P;return Jm(P,{currentUrl:H,currentParams:$.params,nextUrl:k,nextParams:ie.params,...c,actionResult:A,actionStatus:Z,defaultShouldRevalidate:Q?!1:h||H.pathname+H.search===k.pathname+k.search||H.search!==k.search||k0($,ie)})}),T=[];return v.forEach((P,fe)=>{if(f||!u.some(Pe=>Pe.route.id===P.routeId)||p.has(fe))return;let ce=Fa(C,P.path,x);if(!ce){T.push({key:fe,routeId:P.routeId,path:P.path,matches:null,match:null,controller:null});return}let $=i.fetchers.get(fe),ie=dr(ce,P.path),Le=!1;b.has(fe)?Le=!1:y.has(fe)?(y.delete(fe),Le=!0):$&&$.state!=="idle"&&$.data===void 0?Le=h:Le=Jm(ie,{currentUrl:H,currentParams:i.matches[i.matches.length-1].params,nextUrl:k,nextParams:u[u.length-1].params,...c,actionResult:A,actionStatus:Z,defaultShouldRevalidate:Q?!1:h}),Le&&T.push({key:fe,routeId:P.routeId,path:P.path,matches:ce,match:ie,controller:new AbortController})}),[ee,T]}function To(a,i,u){if(a.lazy)return!0;if(!a.loader)return!1;let c=i!=null&&i[a.id]!==void 0,o=u!=null&&u[a.id]!==void 0;return!c&&o?!1:typeof a.loader=="function"&&a.loader.hydrate===!0?!0:!c&&!o}function q0(a,i,u){let c=!i||u.route.id!==i.route.id,o=!a.hasOwnProperty(u.route.id);return c||o}function k0(a,i){let u=a.route.path;return a.pathname!==i.pathname||u!=null&&u.endsWith("*")&&a.params["*"]!==i.params["*"]}function Jm(a,i){if(a.route.shouldRevalidate){let u=a.route.shouldRevalidate(i);if(typeof u=="boolean")return u}return i.defaultShouldRevalidate}function Fm(a,i,u,c,o){let f;if(a){let p=c[a];He(p,`No route found to patch children into: routeId = ${a}`),p.children||(p.children=[]),f=p.children}else f=u;let h=i.filter(p=>!f.some(v=>Ly(p,v))),y=zu(h,o,[a||"_","patch",String((f==null?void 0:f.length)||"0")],c);f.push(...y)}function Ly(a,i){return"id"in a&&"id"in i&&a.id===i.id?!0:a.index===i.index&&a.path===i.path&&a.caseSensitive===i.caseSensitive?(!a.children||a.children.length===0)&&(!i.children||i.children.length===0)?!0:a.children.every((u,c)=>{var o;return(o=i.children)==null?void 0:o.some(f=>Ly(u,f))}):!1}async function V0(a,i,u){if(!a.lazy)return;let c=await a.lazy();if(!a.lazy)return;let o=u[a.id];He(o,"No route found in manifest");let f={};for(let h in c){let p=o[h]!==void 0&&h!=="hasErrorBoundary";At(!p,`Route "${o.id}" has a static property "${h}" defined but its lazy function is also returning a value for this property. The lazy route property "${h}" will be ignored.`),!p&&!o0.has(h)&&(f[h]=c[h])}Object.assign(o,f),Object.assign(o,{...i(o),lazy:void 0})}async function Y0({matches:a}){let i=a.filter(c=>c.shouldLoad);return(await Promise.all(i.map(c=>c.resolve()))).reduce((c,o,f)=>Object.assign(c,{[i[f].route.id]:o}),{})}async function G0(a,i,u,c,o,f,h,y,p,v){let b=f.map(R=>R.route.lazy?V0(R.route,p,y):void 0),C=f.map((R,A)=>{let H=b[A],k=o.some(Z=>Z.route.id===R.route.id);return{...R,shouldLoad:k,resolve:async Z=>(Z&&c.method==="GET"&&(R.route.lazy||R.route.loader)&&(k=!0),k?X0(i,c,R,H,Z,v):Promise.resolve({type:"data",result:void 0}))}}),x=await a({matches:C,request:c,params:f[0].params,fetcherKey:h,context:v});try{await Promise.all(b)}catch{}return x}async function X0(a,i,u,c,o,f){let h,y,p=v=>{let b,C=new Promise((A,H)=>b=H);y=()=>b(),i.signal.addEventListener("abort",y);let x=A=>typeof v!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${a}" [routeId: ${u.route.id}]`)):v({request:i,params:u.params,context:f},...A!==void 0?[A]:[]),R=(async()=>{try{return{type:"data",result:await(o?o(H=>x(H)):x())}}catch(A){return{type:"error",result:A}}})();return Promise.race([R,C])};try{let v=u.route[a];if(c)if(v){let b,[C]=await Promise.all([p(v).catch(x=>{b=x}),c]);if(b!==void 0)throw b;h=C}else if(await c,v=u.route[a],v)h=await p(v);else if(a==="action"){let b=new URL(i.url),C=b.pathname+b.search;throw jn(405,{method:i.method,pathname:C,routeId:u.route.id})}else return{type:"data",result:void 0};else if(v)h=await p(v);else{let b=new URL(i.url),C=b.pathname+b.search;throw jn(404,{pathname:C})}}catch(v){return{type:"error",result:v}}finally{y&&i.signal.removeEventListener("abort",y)}return h}async function Q0(a){var c,o,f,h;let{result:i,type:u}=a;if(Hy(i)){let y;try{let p=i.headers.get("Content-Type");p&&/\bapplication\/json\b/.test(p)?i.body==null?y=null:y=await i.json():y=await i.text()}catch(p){return{type:"error",error:p}}return u==="error"?{type:"error",error:new Uu(i.status,i.statusText,y),statusCode:i.status,headers:i.headers}:{type:"data",data:y,statusCode:i.status,headers:i.headers}}if(u==="error"){if(ay(i)){if(i.data instanceof Error)return{type:"error",error:i.data,statusCode:(c=i.init)==null?void 0:c.status};i=new Uu(((o=i.init)==null?void 0:o.status)||500,void 0,i.data)}return{type:"error",error:i,statusCode:Gu(i)?i.status:void 0}}return ay(i)?{type:"data",data:i.data,statusCode:(f=i.init)==null?void 0:f.status,headers:(h=i.init)!=null&&h.headers?new Headers(i.init.headers):void 0}:{type:"data",data:i}}function Z0(a,i,u,c,o){let f=a.headers.get("Location");if(He(f,"Redirects returned/thrown from loaders/actions must have a Location header"),!Bo.test(f)){let h=c.slice(0,c.findIndex(y=>y.route.id===u)+1);f=Ro(new URL(i.url),h,o,f),a.headers.set("Location",f)}return a}function Pm(a,i,u){if(Bo.test(a)){let c=a,o=c.startsWith("//")?new URL(i.protocol+c):new URL(c),f=fn(o.pathname,u)!=null;if(o.origin===i.origin&&f)return o.pathname+o.search+o.hash}return a}function ii(a,i,u,c){let o=a.createURL(Uy(i)).toString(),f={signal:u};if(c&&Bn(c.formMethod)){let{formMethod:h,formEncType:y}=c;f.method=h.toUpperCase(),y==="application/json"?(f.headers=new Headers({"Content-Type":y}),f.body=JSON.stringify(c.json)):y==="text/plain"?f.body=c.text:y==="application/x-www-form-urlencoded"&&c.formData?f.body=No(c.formData):f.body=c.formData}return new Request(o,f)}function No(a){let i=new URLSearchParams;for(let[u,c]of a.entries())i.append(u,typeof c=="string"?c:c.name);return i}function Wm(a){let i=new FormData;for(let[u,c]of a.entries())i.append(u,c);return i}function K0(a,i,u,c=!1,o=!1){let f={},h=null,y,p=!1,v={},b=u&&sn(u[1])?u[1].error:void 0;return a.forEach(C=>{if(!(C.route.id in i))return;let x=C.route.id,R=i[x];if(He(!Tl(R),"Cannot handle redirect results in processLoaderData"),sn(R)){let A=R.error;if(b!==void 0&&(A=b,b=void 0),h=h||{},o)h[x]=A;else{let H=xl(a,x);h[H.route.id]==null&&(h[H.route.id]=A)}c||(f[x]=zy),p||(p=!0,y=Gu(R.error)?R.error.status:500),R.headers&&(v[x]=R.headers)}else f[x]=R.data,R.statusCode&&R.statusCode!==200&&!p&&(y=R.statusCode),R.headers&&(v[x]=R.headers)}),b!==void 0&&u&&(h={[u[0]]:b},f[u[0]]=void 0),{loaderData:f,errors:h,statusCode:y||200,loaderHeaders:v}}function Im(a,i,u,c,o,f){let{loaderData:h,errors:y}=K0(i,u,c);return o.forEach(p=>{let{key:v,match:b,controller:C}=p,x=f[v];if(He(x,"Did not find corresponding fetcher result"),!(C&&C.signal.aborted))if(sn(x)){let R=xl(a.matches,b==null?void 0:b.route.id);y&&y[R.route.id]||(y={...y,[R.route.id]:x.error}),a.fetchers.delete(v)}else if(Tl(x))He(!1,"Unhandled fetcher revalidation redirect");else{let R=$a(x.data);a.fetchers.set(v,R)}}),{loaderData:h,errors:y}}function ey(a,i,u,c){let o=Object.entries(i).filter(([,f])=>f!==zy).reduce((f,[h,y])=>(f[h]=y,f),{});for(let f of u){let h=f.route.id;if(!i.hasOwnProperty(h)&&a.hasOwnProperty(h)&&f.route.loader&&(o[h]=a[h]),c&&c.hasOwnProperty(h))break}return o}function ty(a){return a?sn(a[1])?{actionData:{}}:{actionData:{[a[0]]:a[1].data}}:{}}function xl(a,i){return(i?a.slice(0,a.findIndex(c=>c.route.id===i)+1):[...a]).reverse().find(c=>c.route.hasErrorBoundary===!0)||a[0]}function ny(a){let i=a.length===1?a[0]:a.find(u=>u.index||!u.path||u.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:i}],route:i}}function jn(a,{pathname:i,routeId:u,method:c,type:o,message:f}={}){let h="Unknown Server Error",y="Unknown @remix-run/router error";return a===400?(h="Bad Request",c&&i&&u?y=`You made a ${c} request to "${i}" but did not provide a \`loader\` for route "${u}", so there is no way to handle the request.`:o==="invalid-body"&&(y="Unable to encode submission body")):a===403?(h="Forbidden",y=`Route "${u}" does not match URL "${i}"`):a===404?(h="Not Found",y=`No route matches URL "${i}"`):a===405&&(h="Method Not Allowed",c&&i&&u?y=`You made a ${c.toUpperCase()} request to "${i}" but did not provide an \`action\` for route "${u}", so there is no way to handle the request.`:c&&(y=`Invalid request method "${c.toUpperCase()}"`)),new Uu(a||500,h,new Error(y),!0)}function Nu(a){let i=Object.entries(a);for(let u=i.length-1;u>=0;u--){let[c,o]=i[u];if(Tl(o))return{key:c,result:o}}}function Uy(a){let i=typeof a=="string"?Ia(a):a;return Pa({...i,hash:""})}function $0(a,i){return a.pathname!==i.pathname||a.search!==i.search?!1:a.hash===""?i.hash!=="":a.hash===i.hash?!0:i.hash!==""}function J0(a){return Hy(a.result)&&M0.has(a.result.status)}function sn(a){return a.type==="error"}function Tl(a){return(a&&a.type)==="redirect"}function ay(a){return typeof a=="object"&&a!=null&&"type"in a&&"data"in a&&"init"in a&&a.type==="DataWithResponseInit"}function Hy(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.headers=="object"&&typeof a.body<"u"}function F0(a){return w0.has(a.toUpperCase())}function Bn(a){return D0.has(a.toUpperCase())}function qo(a){return new URLSearchParams(a).getAll("index").some(i=>i==="")}function dr(a,i){let u=typeof i=="string"?Ia(i).search:i.search;if(a[a.length-1].route.index&&qo(u||""))return a[a.length-1];let c=Ay(a);return c[c.length-1]}function ly(a){let{formMethod:i,formAction:u,formEncType:c,text:o,formData:f,json:h}=a;if(!(!i||!u||!c)){if(o!=null)return{formMethod:i,formAction:u,formEncType:c,formData:void 0,json:void 0,text:o};if(f!=null)return{formMethod:i,formAction:u,formEncType:c,formData:f,json:void 0,text:void 0};if(h!==void 0)return{formMethod:i,formAction:u,formEncType:c,formData:void 0,json:h,text:void 0}}}function co(a,i){return i?{state:"loading",location:a,formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}:{state:"loading",location:a,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function P0(a,i){return{state:"submitting",location:a,formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}}function cr(a,i){return a?{state:"loading",formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text,data:i}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:i}}function W0(a,i){return{state:"submitting",formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text,data:i?i.data:void 0}}function $a(a){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function I0(a,i){try{let u=a.sessionStorage.getItem(My);if(u){let c=JSON.parse(u);for(let[o,f]of Object.entries(c||{}))f&&Array.isArray(f)&&i.set(o,new Set(f||[]))}}catch{}}function e1(a,i){if(i.size>0){let u={};for(let[c,o]of i)u[c]=[...o];try{a.sessionStorage.setItem(My,JSON.stringify(u))}catch(c){At(!1,`Failed to save applied view transitions in sessionStorage (${c}).`)}}}function t1(){let a,i,u=new Promise((c,o)=>{a=async f=>{c(f);try{await u}catch{}},i=async f=>{o(f);try{await u}catch{}}});return{promise:u,resolve:a,reject:i}}var Cl=g.createContext(null);Cl.displayName="DataRouter";var pr=g.createContext(null);pr.displayName="DataRouterState";var ko=g.createContext({isTransitioning:!1});ko.displayName="ViewTransition";var By=g.createContext(new Map);By.displayName="Fetchers";var n1=g.createContext(null);n1.displayName="Await";var Fn=g.createContext(null);Fn.displayName="Navigation";var Xu=g.createContext(null);Xu.displayName="Location";var kn=g.createContext({outlet:null,matches:[],isDataRoute:!1});kn.displayName="Route";var Vo=g.createContext(null);Vo.displayName="RouteError";function a1(a,{relative:i}={}){He(vr(),"useHref() may be used only in the context of a <Router> component.");let{basename:u,navigator:c}=g.useContext(Fn),{hash:o,pathname:f,search:h}=gr(a,{relative:i}),y=f;return u!=="/"&&(y=f==="/"?u:Jn([u,f])),c.createHref({pathname:y,search:h,hash:o})}function vr(){return g.useContext(Xu)!=null}function Pn(){return He(vr(),"useLocation() may be used only in the context of a <Router> component."),g.useContext(Xu).location}var qy="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ky(a){g.useContext(Fn).static||g.useLayoutEffect(a)}function Vy(){let{isDataRoute:a}=g.useContext(kn);return a?v1():l1()}function l1(){He(vr(),"useNavigate() may be used only in the context of a <Router> component.");let a=g.useContext(Cl),{basename:i,navigator:u}=g.useContext(Fn),{matches:c}=g.useContext(kn),{pathname:o}=Pn(),f=JSON.stringify(Uo(c)),h=g.useRef(!1);return ky(()=>{h.current=!0}),g.useCallback((p,v={})=>{if(At(h.current,qy),!h.current)return;if(typeof p=="number"){u.go(p);return}let b=Ho(p,JSON.parse(f),o,v.relative==="path");a==null&&i!=="/"&&(b.pathname=b.pathname==="/"?i:Jn([i,b.pathname])),(v.replace?u.replace:u.push)(b,v.state,v)},[i,u,f,o,a])}var i1=g.createContext(null);function r1(a){let i=g.useContext(kn).outlet;return i&&g.createElement(i1.Provider,{value:a},i)}function Dx(){let{matches:a}=g.useContext(kn),i=a[a.length-1];return i?i.params:{}}function gr(a,{relative:i}={}){let{matches:u}=g.useContext(kn),{pathname:c}=Pn(),o=JSON.stringify(Uo(u));return g.useMemo(()=>Ho(a,JSON.parse(o),c,i==="path"),[a,o,c,i])}function u1(a,i,u,c){He(vr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=g.useContext(Fn),{matches:f}=g.useContext(kn),h=f[f.length-1],y=h?h.params:{},p=h?h.pathname:"/",v=h?h.pathnameBase:"/",b=h&&h.route;{let z=b&&b.path||"";Xy(p,!b||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${z}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + +Please change the parent <Route path="${z}"> to <Route path="${z==="/"?"*":`${z}/*`}">.`)}let C=Pn(),x;x=C;let R=x.pathname||"/",A=R;if(v!=="/"){let z=v.replace(/^\//,"").split("/");A="/"+R.replace(/^\//,"").split("/").slice(z.length).join("/")}let H=Fa(a,{pathname:A});return At(b||H!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),At(H==null||H[H.length-1].route.element!==void 0||H[H.length-1].route.Component!==void 0||H[H.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),d1(H&&H.map(z=>Object.assign({},z,{params:Object.assign({},y,z.params),pathname:Jn([v,o.encodeLocation?o.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?v:Jn([v,o.encodeLocation?o.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),f,u,c)}function c1(){let a=y1(),i=Gu(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),u=a instanceof Error?a.stack:null,c="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:c},f={padding:"2px 4px",backgroundColor:c},h=null;return console.error("Error handled by React Router default ErrorBoundary:",a),h=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:f},"ErrorBoundary")," or"," ",g.createElement("code",{style:f},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},i),u?g.createElement("pre",{style:o},u):null,h)}var s1=g.createElement(c1,null),o1=class extends g.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,i){return i.location!==a.location||i.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:i.error,location:i.location,revalidation:a.revalidation||i.revalidation}}componentDidCatch(a,i){console.error("React Router caught the following error during render",a,i)}render(){return this.state.error!==void 0?g.createElement(kn.Provider,{value:this.props.routeContext},g.createElement(Vo.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function f1({routeContext:a,match:i,children:u}){let c=g.useContext(Cl);return c&&c.static&&c.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=i.route.id),g.createElement(kn.Provider,{value:a},u)}function d1(a,i=[],u=null,c=null){if(a==null){if(!u)return null;if(u.errors)a=u.matches;else if(i.length===0&&!u.initialized&&u.matches.length>0)a=u.matches;else return null}let o=a,f=u==null?void 0:u.errors;if(f!=null){let p=o.findIndex(v=>v.route.id&&(f==null?void 0:f[v.route.id])!==void 0);He(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),o=o.slice(0,Math.min(o.length,p+1))}let h=!1,y=-1;if(u)for(let p=0;p<o.length;p++){let v=o[p];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(y=p),v.route.id){let{loaderData:b,errors:C}=u,x=v.route.loader&&!b.hasOwnProperty(v.route.id)&&(!C||C[v.route.id]===void 0);if(v.route.lazy||x){h=!0,y>=0?o=o.slice(0,y+1):o=[o[0]];break}}}return o.reduceRight((p,v,b)=>{let C,x=!1,R=null,A=null;u&&(C=f&&v.route.id?f[v.route.id]:void 0,R=v.route.errorElement||s1,h&&(y<0&&b===0?(Xy("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,A=null):y===b&&(x=!0,A=v.route.hydrateFallbackElement||null)));let H=i.concat(o.slice(0,b+1)),k=()=>{let z;return C?z=R:x?z=A:v.route.Component?z=g.createElement(v.route.Component,null):v.route.element?z=v.route.element:z=p,g.createElement(f1,{match:v,routeContext:{outlet:p,matches:H,isDataRoute:u!=null},children:z})};return u&&(v.route.ErrorBoundary||v.route.errorElement||b===0)?g.createElement(o1,{location:u.location,revalidation:u.revalidation,component:R,error:C,children:k(),routeContext:{outlet:null,matches:H,isDataRoute:!0}}):k()},null)}function Yo(a){return`${a} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Yy(a){let i=g.useContext(Cl);return He(i,Yo(a)),i}function Gy(a){let i=g.useContext(pr);return He(i,Yo(a)),i}function h1(a){let i=g.useContext(kn);return He(i,Yo(a)),i}function Go(a){let i=h1(a),u=i.matches[i.matches.length-1];return He(u.route.id,`${a} can only be used on routes that contain a unique "id"`),u.route.id}function m1(){return Go("useRouteId")}function y1(){var c;let a=g.useContext(Vo),i=Gy("useRouteError"),u=Go("useRouteError");return a!==void 0?a:(c=i.errors)==null?void 0:c[u]}var p1=0;function Ax(a){let{router:i,basename:u}=Yy("useBlocker"),c=Gy("useBlocker"),[o,f]=g.useState(""),h=g.useCallback(y=>{if(typeof a!="function")return!!a;if(u==="/")return a(y);let{currentLocation:p,nextLocation:v,historyAction:b}=y;return a({currentLocation:{...p,pathname:fn(p.pathname,u)||p.pathname},nextLocation:{...v,pathname:fn(v.pathname,u)||v.pathname},historyAction:b})},[u,a]);return g.useEffect(()=>{let y=String(++p1);return f(y),()=>i.deleteBlocker(y)},[i]),g.useEffect(()=>{o!==""&&i.getBlocker(o,h)},[i,o,h]),o&&c.blockers.has(o)?c.blockers.get(o):si}function v1(){let{router:a}=Yy("useNavigate"),i=Go("useNavigate"),u=g.useRef(!1);return ky(()=>{u.current=!0}),g.useCallback(async(o,f={})=>{At(u.current,qy),u.current&&(typeof o=="number"?a.navigate(o):await a.navigate(o,{fromRouteId:i,...f}))},[a,i])}var iy={};function Xy(a,i,u){!i&&!iy[a]&&(iy[a]=!0,At(!1,u))}var ry={};function uy(a,i){!a&&!ry[i]&&(ry[i]=!0,console.warn(i))}function g1(a){let i={hasErrorBoundary:a.hasErrorBoundary||a.ErrorBoundary!=null||a.errorElement!=null};return a.Component&&(a.element&&At(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(i,{element:g.createElement(a.Component),Component:void 0})),a.HydrateFallback&&(a.hydrateFallbackElement&&At(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(i,{hydrateFallbackElement:g.createElement(a.HydrateFallback),HydrateFallback:void 0})),a.ErrorBoundary&&(a.errorElement&&At(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(i,{errorElement:g.createElement(a.ErrorBoundary),ErrorBoundary:void 0})),i}var E1=class{constructor(){this.status="pending",this.promise=new Promise((a,i)=>{this.resolve=u=>{this.status==="pending"&&(this.status="resolved",a(u))},this.reject=u=>{this.status==="pending"&&(this.status="rejected",i(u))}})}};function b1({router:a,flushSync:i}){let[u,c]=g.useState(a.state),[o,f]=g.useState(),[h,y]=g.useState({isTransitioning:!1}),[p,v]=g.useState(),[b,C]=g.useState(),[x,R]=g.useState(),A=g.useRef(new Map),H=g.useCallback((Q,{deletedFetchers:ee,flushSync:T,viewTransitionOpts:P})=>{Q.fetchers.forEach((ce,$)=>{ce.data!==void 0&&A.current.set($,ce.data)}),ee.forEach(ce=>A.current.delete(ce)),uy(T===!1||i!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let fe=a.window!=null&&a.window.document!=null&&typeof a.window.document.startViewTransition=="function";if(uy(P==null||fe,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!P||!fe){i&&T?i(()=>c(Q)):g.startTransition(()=>c(Q));return}if(i&&T){i(()=>{b&&(p&&p.resolve(),b.skipTransition()),y({isTransitioning:!0,flushSync:!0,currentLocation:P.currentLocation,nextLocation:P.nextLocation})});let ce=a.window.document.startViewTransition(()=>{i(()=>c(Q))});ce.finished.finally(()=>{i(()=>{v(void 0),C(void 0),f(void 0),y({isTransitioning:!1})})}),i(()=>C(ce));return}b?(p&&p.resolve(),b.skipTransition(),R({state:Q,currentLocation:P.currentLocation,nextLocation:P.nextLocation})):(f(Q),y({isTransitioning:!0,flushSync:!1,currentLocation:P.currentLocation,nextLocation:P.nextLocation}))},[a.window,i,b,p]);g.useLayoutEffect(()=>a.subscribe(H),[a,H]),g.useEffect(()=>{h.isTransitioning&&!h.flushSync&&v(new E1)},[h]),g.useEffect(()=>{if(p&&o&&a.window){let Q=o,ee=p.promise,T=a.window.document.startViewTransition(async()=>{g.startTransition(()=>c(Q)),await ee});T.finished.finally(()=>{v(void 0),C(void 0),f(void 0),y({isTransitioning:!1})}),C(T)}},[o,p,a.window]),g.useEffect(()=>{p&&o&&u.location.key===o.location.key&&p.resolve()},[p,b,u.location,o]),g.useEffect(()=>{!h.isTransitioning&&x&&(f(x.state),y({isTransitioning:!0,flushSync:!1,currentLocation:x.currentLocation,nextLocation:x.nextLocation}),R(void 0))},[h.isTransitioning,x]);let k=g.useMemo(()=>({createHref:a.createHref,encodeLocation:a.encodeLocation,go:Q=>a.navigate(Q),push:(Q,ee,T)=>a.navigate(Q,{state:ee,preventScrollReset:T==null?void 0:T.preventScrollReset}),replace:(Q,ee,T)=>a.navigate(Q,{replace:!0,state:ee,preventScrollReset:T==null?void 0:T.preventScrollReset})}),[a]),z=a.basename||"/",Z=g.useMemo(()=>({router:a,navigator:k,static:!1,basename:z}),[a,k,z]);return g.createElement(g.Fragment,null,g.createElement(Cl.Provider,{value:Z},g.createElement(pr.Provider,{value:u},g.createElement(By.Provider,{value:A.current},g.createElement(ko.Provider,{value:h},g.createElement(R1,{basename:z,location:u.location,navigationType:u.historyAction,navigator:k},g.createElement(S1,{routes:a.routes,future:a.future,state:u})))))),null)}var S1=g.memo(x1);function x1({routes:a,future:i,state:u}){return u1(a,void 0,u,i)}function _1(a){return r1(a.context)}function R1({basename:a="/",children:i=null,location:u,navigationType:c="POP",navigator:o,static:f=!1}){He(!vr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=a.replace(/^\/*/,"/"),y=g.useMemo(()=>({basename:h,navigator:o,static:f,future:{}}),[h,o,f]);typeof u=="string"&&(u=Ia(u));let{pathname:p="/",search:v="",hash:b="",state:C=null,key:x="default"}=u,R=g.useMemo(()=>{let A=fn(p,h);return A==null?null:{location:{pathname:A,search:v,hash:b,state:C,key:x},navigationType:c}},[h,p,v,b,C,x,c]);return At(R!=null,`<Router basename="${h}"> is not able to match the URL "${p}${v}${b}" because it does not start with the basename, so the <Router> won't render anything.`),R==null?null:g.createElement(Fn.Provider,{value:y},g.createElement(Xu.Provider,{children:i,value:R}))}var wu="get",Mu="application/x-www-form-urlencoded";function Qu(a){return a!=null&&typeof a.tagName=="string"}function T1(a){return Qu(a)&&a.tagName.toLowerCase()==="button"}function N1(a){return Qu(a)&&a.tagName.toLowerCase()==="form"}function C1(a){return Qu(a)&&a.tagName.toLowerCase()==="input"}function j1(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function O1(a,i){return a.button===0&&(!i||i==="_self")&&!j1(a)}function Co(a=""){return new URLSearchParams(typeof a=="string"||Array.isArray(a)||a instanceof URLSearchParams?a:Object.keys(a).reduce((i,u)=>{let c=a[u];return i.concat(Array.isArray(c)?c.map(o=>[u,o]):[[u,c]])},[]))}function D1(a,i){let u=Co(a);return i&&i.forEach((c,o)=>{u.has(o)||i.getAll(o).forEach(f=>{u.append(o,f)})}),u}var Cu=null;function A1(){if(Cu===null)try{new FormData(document.createElement("form"),0),Cu=!1}catch{Cu=!0}return Cu}var w1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function so(a){return a!=null&&!w1.has(a)?(At(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Mu}"`),null):a}function M1(a,i){let u,c,o,f,h;if(N1(a)){let y=a.getAttribute("action");c=y?fn(y,i):null,u=a.getAttribute("method")||wu,o=so(a.getAttribute("enctype"))||Mu,f=new FormData(a)}else if(T1(a)||C1(a)&&(a.type==="submit"||a.type==="image")){let y=a.form;if(y==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=a.getAttribute("formaction")||y.getAttribute("action");if(c=p?fn(p,i):null,u=a.getAttribute("formmethod")||y.getAttribute("method")||wu,o=so(a.getAttribute("formenctype"))||so(y.getAttribute("enctype"))||Mu,f=new FormData(y,a),!A1()){let{name:v,type:b,value:C}=a;if(b==="image"){let x=v?`${v}.`:"";f.append(`${x}x`,"0"),f.append(`${x}y`,"0")}else v&&f.append(v,C)}}else{if(Qu(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');u=wu,c=null,o=Mu,h=a}return f&&o==="text/plain"&&(h=f,f=void 0),{action:c,method:u.toLowerCase(),encType:o,formData:f,body:h}}function Xo(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}async function z1(a,i){if(a.id in i)return i[a.id];try{let u=await import(a.module);return i[a.id]=u,u}catch(u){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(u),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function L1(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function U1(a,i,u){let c=await Promise.all(a.map(async o=>{let f=i.routes[o.route.id];if(f){let h=await z1(f,u);return h.links?h.links():[]}return[]}));return k1(c.flat(1).filter(L1).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function cy(a,i,u,c,o,f){let h=(p,v)=>u[v]?p.route.id!==u[v].route.id:!0,y=(p,v)=>{var b;return u[v].pathname!==p.pathname||((b=u[v].route.path)==null?void 0:b.endsWith("*"))&&u[v].params["*"]!==p.params["*"]};return f==="assets"?i.filter((p,v)=>h(p,v)||y(p,v)):f==="data"?i.filter((p,v)=>{var C;let b=c.routes[p.route.id];if(!b||!b.hasLoader)return!1;if(h(p,v)||y(p,v))return!0;if(p.route.shouldRevalidate){let x=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((C=u[0])==null?void 0:C.params)||{},nextUrl:new URL(a,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function H1(a,i){return B1(a.map(u=>{let c=i.routes[u.route.id];if(!c)return[];let o=[c.module];return c.imports&&(o=o.concat(c.imports)),o}).flat(1))}function B1(a){return[...new Set(a)]}function q1(a){let i={},u=Object.keys(a).sort();for(let c of u)i[c]=a[c];return i}function k1(a,i){let u=new Set;return new Set(i),a.reduce((c,o)=>{let f=JSON.stringify(q1(o));return u.has(f)||(u.add(f),c.push({key:f,link:o})),c},[])}function V1(a){let i=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return i.pathname==="/"?i.pathname="_root.data":i.pathname=`${i.pathname.replace(/\/$/,"")}.data`,i}function Y1(){let a=g.useContext(Cl);return Xo(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function G1(){let a=g.useContext(pr);return Xo(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var Qo=g.createContext(void 0);Qo.displayName="FrameworkContext";function Qy(){let a=g.useContext(Qo);return Xo(a,"You must render this element inside a <HydratedRouter> element"),a}function X1(a,i){let u=g.useContext(Qo),[c,o]=g.useState(!1),[f,h]=g.useState(!1),{onFocus:y,onBlur:p,onMouseEnter:v,onMouseLeave:b,onTouchStart:C}=i,x=g.useRef(null);g.useEffect(()=>{if(a==="render"&&h(!0),a==="viewport"){let H=z=>{z.forEach(Z=>{h(Z.isIntersecting)})},k=new IntersectionObserver(H,{threshold:.5});return x.current&&k.observe(x.current),()=>{k.disconnect()}}},[a]),g.useEffect(()=>{if(c){let H=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(H)}}},[c]);let R=()=>{o(!0)},A=()=>{o(!1),h(!1)};return u?a!=="intent"?[f,x,{}]:[f,x,{onFocus:sr(y,R),onBlur:sr(p,A),onMouseEnter:sr(v,R),onMouseLeave:sr(b,A),onTouchStart:sr(C,R)}]:[!1,x,{}]}function sr(a,i){return u=>{a&&a(u),u.defaultPrevented||i(u)}}function Q1({page:a,...i}){let{router:u}=Y1(),c=g.useMemo(()=>Fa(u.routes,a,u.basename),[u.routes,a,u.basename]);return c?g.createElement(K1,{page:a,matches:c,...i}):null}function Z1(a){let{manifest:i,routeModules:u}=Qy(),[c,o]=g.useState([]);return g.useEffect(()=>{let f=!1;return U1(a,i,u).then(h=>{f||o(h)}),()=>{f=!0}},[a,i,u]),c}function K1({page:a,matches:i,...u}){let c=Pn(),{manifest:o,routeModules:f}=Qy(),{loaderData:h,matches:y}=G1(),p=g.useMemo(()=>cy(a,i,y,o,c,"data"),[a,i,y,o,c]),v=g.useMemo(()=>cy(a,i,y,o,c,"assets"),[a,i,y,o,c]),b=g.useMemo(()=>{if(a===c.pathname+c.search+c.hash)return[];let R=new Set,A=!1;if(i.forEach(k=>{var Z;let z=o.routes[k.route.id];!z||!z.hasLoader||(!p.some(Q=>Q.route.id===k.route.id)&&k.route.id in h&&((Z=f[k.route.id])!=null&&Z.shouldRevalidate)||z.hasClientLoader?A=!0:R.add(k.route.id))}),R.size===0)return[];let H=V1(a);return A&&R.size>0&&H.searchParams.set("_routes",i.filter(k=>R.has(k.route.id)).map(k=>k.route.id).join(",")),[H.pathname+H.search]},[h,c,o,p,i,a,f]),C=g.useMemo(()=>H1(v,o),[v,o]),x=Z1(v);return g.createElement(g.Fragment,null,b.map(R=>g.createElement("link",{key:R,rel:"prefetch",as:"fetch",href:R,...u})),C.map(R=>g.createElement("link",{key:R,rel:"modulepreload",href:R,...u})),x.map(({key:R,link:A})=>g.createElement("link",{key:R,...A})))}function $1(...a){return i=>{a.forEach(u=>{typeof u=="function"?u(i):u!=null&&(u.current=i)})}}var Zy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Zy&&(window.__reactRouterVersion="7.1.3")}catch{}function J1(a,i){return H0({basename:i==null?void 0:i.basename,future:i==null?void 0:i.future,history:u0({window:i==null?void 0:i.window}),hydrationData:F1(),routes:a,mapRouteProperties:g1,dataStrategy:i==null?void 0:i.dataStrategy,patchRoutesOnNavigation:i==null?void 0:i.patchRoutesOnNavigation,window:i==null?void 0:i.window}).initialize()}function F1(){let a=window==null?void 0:window.__staticRouterHydrationData;return a&&a.errors&&(a={...a,errors:P1(a.errors)}),a}function P1(a){if(!a)return null;let i=Object.entries(a),u={};for(let[c,o]of i)if(o&&o.__type==="RouteErrorResponse")u[c]=new Uu(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let f=window[o.__subType];if(typeof f=="function")try{let h=new f(o.message);h.stack="",u[c]=h}catch{}}if(u[c]==null){let f=new Error(o.message);f.stack="",u[c]=f}}else u[c]=o;return u}var Ky=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ae=g.forwardRef(function({onClick:i,discover:u="render",prefetch:c="none",relative:o,reloadDocument:f,replace:h,state:y,target:p,to:v,preventScrollReset:b,viewTransition:C,...x},R){let{basename:A}=g.useContext(Fn),H=typeof v=="string"&&Ky.test(v),k,z=!1;if(typeof v=="string"&&H&&(k=v,Zy))try{let $=new URL(window.location.href),ie=v.startsWith("//")?new URL($.protocol+v):new URL(v),Le=fn(ie.pathname,A);ie.origin===$.origin&&Le!=null?v=Le+ie.search+ie.hash:z=!0}catch{At(!1,`<Link to="${v}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let Z=a1(v,{relative:o}),[Q,ee,T]=X1(c,x),P=tE(v,{replace:h,state:y,target:p,preventScrollReset:b,relative:o,viewTransition:C});function fe($){i&&i($),$.defaultPrevented||P($)}let ce=g.createElement("a",{...x,...T,href:k||Z,onClick:z||f?i:fe,ref:$1(R,ee),target:p,"data-discover":!H&&u==="render"?"true":void 0});return Q&&!H?g.createElement(g.Fragment,null,ce,g.createElement(Q1,{page:Z})):ce});ae.displayName="Link";var W1=g.forwardRef(function({"aria-current":i="page",caseSensitive:u=!1,className:c="",end:o=!1,style:f,to:h,viewTransition:y,children:p,...v},b){let C=gr(h,{relative:v.relative}),x=Pn(),R=g.useContext(pr),{navigator:A,basename:H}=g.useContext(Fn),k=R!=null&&uE(C)&&y===!0,z=A.encodeLocation?A.encodeLocation(C).pathname:C.pathname,Z=x.pathname,Q=R&&R.navigation&&R.navigation.location?R.navigation.location.pathname:null;u||(Z=Z.toLowerCase(),Q=Q?Q.toLowerCase():null,z=z.toLowerCase()),Q&&H&&(Q=fn(Q,H)||Q);const ee=z!=="/"&&z.endsWith("/")?z.length-1:z.length;let T=Z===z||!o&&Z.startsWith(z)&&Z.charAt(ee)==="/",P=Q!=null&&(Q===z||!o&&Q.startsWith(z)&&Q.charAt(z.length)==="/"),fe={isActive:T,isPending:P,isTransitioning:k},ce=T?i:void 0,$;typeof c=="function"?$=c(fe):$=[c,T?"active":null,P?"pending":null,k?"transitioning":null].filter(Boolean).join(" ");let ie=typeof f=="function"?f(fe):f;return g.createElement(ae,{...v,"aria-current":ce,className:$,ref:b,style:ie,to:h,viewTransition:y},typeof p=="function"?p(fe):p)});W1.displayName="NavLink";var I1=g.forwardRef(({discover:a="render",fetcherKey:i,navigate:u,reloadDocument:c,replace:o,state:f,method:h=wu,action:y,onSubmit:p,relative:v,preventScrollReset:b,viewTransition:C,...x},R)=>{let A=iE(),H=rE(y,{relative:v}),k=h.toLowerCase()==="get"?"get":"post",z=typeof y=="string"&&Ky.test(y),Z=Q=>{if(p&&p(Q),Q.defaultPrevented)return;Q.preventDefault();let ee=Q.nativeEvent.submitter,T=(ee==null?void 0:ee.getAttribute("formmethod"))||h;A(ee||Q.currentTarget,{fetcherKey:i,method:T,navigate:u,replace:o,state:f,relative:v,preventScrollReset:b,viewTransition:C})};return g.createElement("form",{ref:R,method:k,action:H,onSubmit:c?p:Z,...x,"data-discover":!z&&a==="render"?"true":void 0})});I1.displayName="Form";function eE(a){return`${a} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function $y(a){let i=g.useContext(Cl);return He(i,eE(a)),i}function tE(a,{target:i,replace:u,state:c,preventScrollReset:o,relative:f,viewTransition:h}={}){let y=Vy(),p=Pn(),v=gr(a,{relative:f});return g.useCallback(b=>{if(O1(b,i)){b.preventDefault();let C=u!==void 0?u:Pa(p)===Pa(v);y(a,{replace:C,state:c,preventScrollReset:o,relative:f,viewTransition:h})}},[p,y,v,u,c,i,a,o,f,h])}function nE(a){At(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let i=g.useRef(Co(a)),u=g.useRef(!1),c=Pn(),o=g.useMemo(()=>D1(c.search,u.current?null:i.current),[c.search]),f=Vy(),h=g.useCallback((y,p)=>{const v=Co(typeof y=="function"?y(o):y);u.current=!0,f("?"+v,p)},[f,o]);return[o,h]}var aE=0,lE=()=>`__${String(++aE)}__`;function iE(){let{router:a}=$y("useSubmit"),{basename:i}=g.useContext(Fn),u=m1();return g.useCallback(async(c,o={})=>{let{action:f,method:h,encType:y,formData:p,body:v}=M1(c,i);if(o.navigate===!1){let b=o.fetcherKey||lE();await a.fetch(b,u,o.action||f,{preventScrollReset:o.preventScrollReset,formData:p,body:v,formMethod:o.method||h,formEncType:o.encType||y,flushSync:o.flushSync})}else await a.navigate(o.action||f,{preventScrollReset:o.preventScrollReset,formData:p,body:v,formMethod:o.method||h,formEncType:o.encType||y,replace:o.replace,state:o.state,fromRouteId:u,flushSync:o.flushSync,viewTransition:o.viewTransition})},[a,i,u])}function rE(a,{relative:i}={}){let{basename:u}=g.useContext(Fn),c=g.useContext(kn);He(c,"useFormAction must be used inside a RouteContext");let[o]=c.matches.slice(-1),f={...gr(a||".",{relative:i})},h=Pn();if(a==null){f.search=h.search;let y=new URLSearchParams(f.search),p=y.getAll("index");if(p.some(b=>b==="")){y.delete("index"),p.filter(C=>C).forEach(C=>y.append("index",C));let b=y.toString();f.search=b?`?${b}`:""}}return(!a||a===".")&&o.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),u!=="/"&&(f.pathname=f.pathname==="/"?u:Jn([u,f.pathname])),Pa(f)}function uE(a,i={}){let u=g.useContext(ko);He(u!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=$y("useViewTransitionState"),o=gr(a,{relative:i.relative});if(!u.isTransitioning)return!1;let f=fn(u.currentLocation.pathname,c)||u.currentLocation.pathname,h=fn(u.nextLocation.pathname,c)||u.nextLocation.pathname;return Lu(o.pathname,h)!=null||Lu(o.pathname,f)!=null}new TextEncoder;var Jy=jy();const fi=yr(Jy);/** + * react-router v7.1.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function cE(a){return g.createElement(b1,{flushSync:Jy.flushSync,...a})}const sE=g.createContext({show:!1,toggle:()=>{}}),oE=a=>{const i=ut.c(8),{children:u}=a,[c,o]=g.useState(!1);let f;i[0]!==c?(f=()=>{o(!c)},i[0]=c,i[1]=f):f=i[1];const h=f;let y;i[2]!==c||i[3]!==h?(y={show:c,toggle:h},i[2]=c,i[3]=h,i[4]=y):y=i[4];let p;return i[5]!==u||i[6]!==y?(p=m.jsx(sE.Provider,{value:y,children:u}),i[5]=u,i[6]=y,i[7]=p):p=i[7],p};async function fE(){return await(await fetch("/api/user/")).json()}const jo={name:"",email:"",permissions:{admin:!1,active:!1},id:"",nrens:[],oidc_sub:"",role:""},Zo=g.createContext({user:jo,logout:()=>{},setUser:()=>{}}),dE=a=>{const i=ut.c(8),{children:u}=a,[c,o]=g.useState(jo);let f;i[0]===Symbol.for("react.memo_cache_sentinel")?(f=async function(){await fetch("/logout"),o(jo)},i[0]=f):f=i[0];const h=f;let y,p;i[1]===Symbol.for("react.memo_cache_sentinel")?(y=()=>{fE().then(C=>{o(C)})},p=[],i[1]=y,i[2]=p):(y=i[1],p=i[2]),g.useEffect(y,p);let v;i[3]!==c?(v={user:c,logout:h,setUser:o},i[3]=c,i[4]=v):v=i[4];let b;return i[5]!==u||i[6]!==v?(b=m.jsx(Zo.Provider,{value:v,children:u}),i[5]=u,i[6]=v,i[7]=b):b=i[7],b},hE=g.createContext({filterSelection:{selectedYears:[],selectedNrens:[]},setFilterSelection:()=>{}}),mE=a=>{const i=ut.c(6),{children:u}=a;let c;i[0]===Symbol.for("react.memo_cache_sentinel")?(c={selectedYears:[],selectedNrens:[]},i[0]=c):c=i[0];const[o,f]=g.useState(c);let h;i[1]!==o?(h={filterSelection:o,setFilterSelection:f},i[1]=o,i[2]=h):h=i[2];let y;return i[3]!==u||i[4]!==h?(y=m.jsx(hE.Provider,{value:h,children:u}),i[3]=u,i[4]=h,i[5]=y):y=i[5],y},yE=g.createContext(null),pE=a=>{const i=ut.c(2),{children:u}=a,c=g.useRef(null);let o;return i[0]!==u?(o=m.jsx(yE.Provider,{value:c,children:u}),i[0]=u,i[1]=o):o=i[1],o},Fy=g.createContext({preview:!1,setPreview:()=>{}}),vE=a=>{const i=ut.c(5),{children:u}=a,[c,o]=g.useState(!1);let f;i[0]!==c?(f={preview:c,setPreview:o},i[0]=c,i[1]=f):f=i[1];let h;return i[2]!==u||i[3]!==f?(h=m.jsx(Fy.Provider,{value:f,children:u}),i[2]=u,i[3]=f,i[4]=h):h=i[4],h};async function gE(){try{return await(await fetch("/api/nren/list")).json()}catch{return[]}}const EE=g.createContext({nrens:[],setNrens:()=>{}}),bE=a=>{const i=ut.c(8),{children:u}=a;let c;i[0]===Symbol.for("react.memo_cache_sentinel")?(c=[],i[0]=c):c=i[0];const[o,f]=g.useState(c);let h,y;i[1]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{gE().then(b=>f(b))},y=[],i[1]=h,i[2]=y):(h=i[1],y=i[2]),g.useEffect(h,y);let p;i[3]!==o?(p={nrens:o,setNrens:f},i[3]=o,i[4]=p):p=i[4];let v;return i[5]!==u||i[6]!==p?(v=m.jsx(EE.Provider,{value:p,children:u}),i[5]=u,i[6]=p,i[7]=v):v=i[7],v},oo={TRACK_EVENT:"trackEvent",TRACK_LINK:"trackLink",TRACK_VIEW:"trackPageView"};class SE{constructor(i){jm(this,"mutationObserver");if(!i.urlBase)throw new Error("Matomo urlBase is required.");if(!i.siteId)throw new Error("Matomo siteId is required.");this.initialize(i)}initialize({urlBase:i,siteId:u,userId:c,trackerUrl:o,srcUrl:f,disabled:h,heartBeat:y,requireConsent:p=!1,configurations:v={}}){const b=i[i.length-1]!=="/"?`${i}/`:i;if(typeof window>"u"||(window._paq=window._paq||[],window._paq.length!==0)||h)return;p&&this.pushInstruction("requireConsent"),this.pushInstruction("setTrackerUrl",o??`${b}matomo.php`),this.pushInstruction("setSiteId",u),c&&this.pushInstruction("setUserId",c),Object.entries(v).forEach(([A,H])=>{H instanceof Array?this.pushInstruction(A,...H):this.pushInstruction(A,H)}),(!y||y&&y.active)&&this.enableHeartBeatTimer((y&&y.seconds)??15);const C=document,x=C.createElement("script"),R=C.getElementsByTagName("script")[0];x.type="text/javascript",x.async=!0,x.defer=!0,x.src=f||`${b}matomo.js`,R&&R.parentNode&&R.parentNode.insertBefore(x,R)}enableHeartBeatTimer(i){this.pushInstruction("enableHeartBeatTimer",i)}trackEventsForElements(i){i.length&&i.forEach(u=>{u.addEventListener("click",()=>{const{matomoCategory:c,matomoAction:o,matomoName:f,matomoValue:h}=u.dataset;if(c&&o)this.trackEvent({category:c,action:o,name:f,value:Number(h)});else throw new Error("Error: data-matomo-category and data-matomo-action are required.")})})}trackEvents(){const i='[data-matomo-event="click"]';let u=!1;if(this.mutationObserver||(u=!0,this.mutationObserver=new MutationObserver(c=>{c.forEach(o=>{o.addedNodes.forEach(f=>{if(!(f instanceof HTMLElement))return;f.matches(i)&&this.trackEventsForElements([f]);const h=Array.from(f.querySelectorAll(i));this.trackEventsForElements(h)})})})),this.mutationObserver.observe(document,{childList:!0,subtree:!0}),u){const c=Array.from(document.querySelectorAll(i));this.trackEventsForElements(c)}}stopObserving(){this.mutationObserver&&this.mutationObserver.disconnect()}trackEvent({category:i,action:u,name:c,value:o,...f}){if(i&&u)this.track({data:[oo.TRACK_EVENT,i,u,c,o],...f});else throw new Error("Error: category and action are required.")}giveConsent(){this.pushInstruction("setConsentGiven")}trackLink({href:i,linkType:u="link"}){this.pushInstruction(oo.TRACK_LINK,i,u)}trackPageView(i){this.track({data:[oo.TRACK_VIEW],...i})}track({data:i=[],documentTitle:u=window.document.title,href:c,customDimensions:o=!1}){i.length&&(o&&Array.isArray(o)&&o.length&&o.map(f=>this.pushInstruction("setCustomDimension",f.id,f.value)),this.pushInstruction("setCustomUrl",c??window.location.href),this.pushInstruction("setDocumentTitle",u),this.pushInstruction(...i))}pushInstruction(i,...u){return typeof window<"u"&&window._paq.push([i,...u]),this}}function xE(a){return window.location.hostname==="localhost"&&(console.log("Matomo tracking disabled in development mode."),a.disabled=!0),new SE(a)}const Ko=g.createContext({consent:null,setConsent:()=>{}}),_E=a=>{const i=ut.c(7),{children:u}=a,c=RE;let o;i[0]===Symbol.for("react.memo_cache_sentinel")?(o=c(),i[0]=o):o=i[0];const[f,h]=g.useState(o);let y;i[1]===Symbol.for("react.memo_cache_sentinel")?(y=b=>h(b),i[1]=y):y=i[1];let p;i[2]!==f?(p={setConsent:y,consent:f},i[2]=f,i[3]=p):p=i[3];let v;return i[4]!==u||i[5]!==p?(v=m.jsx(Ko.Provider,{value:p,children:u}),i[4]=u,i[5]=p,i[6]=v):v=i[6],v};function RE(){const a=localStorage.getItem("matomo_consent");if(a){const i=JSON.parse(a);if(new Date(i.expiry)>new Date)return i.consent}return null}const Py=g.createContext(null),TE=function(a){const i=ut.c(5),{children:u}=a,o=!g.useContext(Ko).consent;let f;i[0]!==o?(f=xE({urlBase:"https://prod-swd-webanalytics01.geant.org/",siteId:1,disabled:o}),i[0]=o,i[1]=f):f=i[1];const h=f;let y;return i[2]!==u||i[3]!==h?(y=m.jsx(Py.Provider,{value:h,children:u}),i[2]=u,i[3]=h,i[4]=y):y=i[4],y},NE=()=>{const a=JSON.parse(localStorage.getItem("config")??"{}"),i={};for(const u in a){const c=a[u];c.expireTime&&c.expireTime<Date.now()||c&&(i[u]=c)}return i},fo=a=>{localStorage.setItem("config",JSON.stringify(a))},CE=g.createContext({getConfig:()=>{},setConfig:()=>{}}),jE=a=>{const i=ut.c(12),{children:u}=a;let c;i[0]===Symbol.for("react.memo_cache_sentinel")?(c=NE(),i[0]=c):c=i[0];const[o,f]=g.useState(c);let h;i[1]!==o?(h=(x,R,A)=>{var Z;if(!x)throw new Error("Valid config key must be provided");if(R==null){const Q={...o};delete Q[x],f(Q),fo(Q);return}const H=JSON.stringify(R),k=JSON.stringify((Z=o[x])==null?void 0:Z.value);if(H===k)return;const z=A?A.getTime():null;if(z&&z<Date.now())throw new Error("Timeout must be in the future");z?(f({...o,[x]:{value:R,expireTime:z}}),fo({...o,[x]:{value:R,expireTime:z}})):(f({...o,[x]:{value:R}}),fo({...o,[x]:{value:R}}))},i[1]=o,i[2]=h):h=i[2];const y=h;let p;i[3]!==o||i[4]!==y?(p=x=>{const R=o[x];if(R!=null&&R.expireTime&&R.expireTime<Date.now()){y(x);return}if(R!=null)return R.value},i[3]=o,i[4]=y,i[5]=p):p=i[5];const v=p;let b;i[6]!==v||i[7]!==y?(b={getConfig:v,setConfig:y},i[6]=v,i[7]=y,i[8]=b):b=i[8];let C;return i[9]!==u||i[10]!==b?(C=m.jsx(CE.Provider,{value:b,children:u}),i[9]=u,i[10]=b,i[11]=C):C=i[11],C};function OE(a){const i=ut.c(2),{children:u}=a;let c;return i[0]!==u?(c=m.jsx(jE,{children:m.jsx(_E,{children:m.jsx(TE,{children:m.jsx(oE,{children:m.jsx(dE,{children:m.jsx(mE,{children:m.jsx(pE,{children:m.jsx(vE,{children:m.jsx(bE,{children:u})})})})})})})})}),i[0]=u,i[1]=c):c=i[1],c}var $t=(a=>(a.ConnectedProportion="proportion",a.ConnectivityLevel="level",a.ConnectionCarrier="carrier",a.ConnectivityLoad="load",a.ConnectivityGrowth="growth",a.CommercialConnectivity="commercial",a.CommercialChargingLevel="charging",a))($t||{}),Bt=(a=>(a.network_services="network_services",a.isp_support="isp_support",a.security="security",a.identity="identity",a.collaboration="collaboration",a.multimedia="multimedia",a.storage_and_hosting="storage_and_hosting",a.professional_services="professional_services",a))(Bt||{}),ho={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/var sy;function DE(){return sy||(sy=1,function(a){(function(){var i={}.hasOwnProperty;function u(){for(var f="",h=0;h<arguments.length;h++){var y=arguments[h];y&&(f=o(f,c(y)))}return f}function c(f){if(typeof f=="string"||typeof f=="number")return f;if(typeof f!="object")return"";if(Array.isArray(f))return u.apply(null,f);if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes("[native code]"))return f.toString();var h="";for(var y in f)i.call(f,y)&&f[y]&&(h=o(h,y));return h}function o(f,h){return h?f?f+" "+h:f+h:f}a.exports?(u.default=u,a.exports=u):window.classNames=u})()}(ho)),ho.exports}var AE=DE();const we=yr(AE);function wE(a,i){if(a==null)return{};var u={};for(var c in a)if({}.hasOwnProperty.call(a,c)){if(i.includes(c))continue;u[c]=a[c]}return u}function Oo(a,i){return Oo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,c){return u.__proto__=c,u},Oo(a,i)}function ME(a,i){a.prototype=Object.create(i.prototype),a.prototype.constructor=a,Oo(a,i)}const zE=["xxl","xl","lg","md","sm","xs"],LE="xs",Zu=g.createContext({prefixes:{},breakpoints:zE,minBreakpoint:LE});function Ve(a,i){const{prefixes:u}=g.useContext(Zu);return a||u[i]||i}function Wy(){const{breakpoints:a}=g.useContext(Zu);return a}function Iy(){const{minBreakpoint:a}=g.useContext(Zu);return a}function UE(){const{dir:a}=g.useContext(Zu);return a==="rtl"}function Ku(a){return a&&a.ownerDocument||document}function HE(a){var i=Ku(a);return i&&i.defaultView||window}function BE(a,i){return HE(a).getComputedStyle(a,i)}var qE=/([A-Z])/g;function kE(a){return a.replace(qE,"-$1").toLowerCase()}var VE=/^ms-/;function ju(a){return kE(a).replace(VE,"-ms-")}var YE=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function GE(a){return!!(a&&YE.test(a))}function Nl(a,i){var u="",c="";if(typeof i=="string")return a.style.getPropertyValue(ju(i))||BE(a).getPropertyValue(ju(i));Object.keys(i).forEach(function(o){var f=i[o];!f&&f!==0?a.style.removeProperty(ju(o)):GE(o)?c+=o+"("+f+") ":u+=ju(o)+": "+f+";"}),c&&(u+="transform: "+c+";"),a.style.cssText+=";"+u}var mo={exports:{}},yo,oy;function XE(){if(oy)return yo;oy=1;var a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return yo=a,yo}var po,fy;function QE(){if(fy)return po;fy=1;var a=XE();function i(){}function u(){}return u.resetWarningCache=i,po=function(){function c(h,y,p,v,b,C){if(C!==a){var x=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw x.name="Invariant Violation",x}}c.isRequired=c;function o(){return c}var f={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:o,element:c,elementType:c,instanceOf:o,node:c,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:u,resetWarningCache:i};return f.PropTypes=f,f},po}var dy;function ZE(){return dy||(dy=1,mo.exports=QE()()),mo.exports}var KE=ZE();const ba=yr(KE),hy={disabled:!1},ep=Xt.createContext(null);var $E=function(i){return i.scrollTop},hr="unmounted",Sl="exited",Ja="entering",_l="entered",Do="exiting",xa=function(a){ME(i,a);function i(c,o){var f;f=a.call(this,c,o)||this;var h=o,y=h&&!h.isMounting?c.enter:c.appear,p;return f.appearStatus=null,c.in?y?(p=Sl,f.appearStatus=Ja):p=_l:c.unmountOnExit||c.mountOnEnter?p=hr:p=Sl,f.state={status:p},f.nextCallback=null,f}i.getDerivedStateFromProps=function(o,f){var h=o.in;return h&&f.status===hr?{status:Sl}:null};var u=i.prototype;return u.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},u.componentDidUpdate=function(o){var f=null;if(o!==this.props){var h=this.state.status;this.props.in?h!==Ja&&h!==_l&&(f=Ja):(h===Ja||h===_l)&&(f=Do)}this.updateStatus(!1,f)},u.componentWillUnmount=function(){this.cancelNextCallback()},u.getTimeouts=function(){var o=this.props.timeout,f,h,y;return f=h=y=o,o!=null&&typeof o!="number"&&(f=o.exit,h=o.enter,y=o.appear!==void 0?o.appear:h),{exit:f,enter:h,appear:y}},u.updateStatus=function(o,f){if(o===void 0&&(o=!1),f!==null)if(this.cancelNextCallback(),f===Ja){if(this.props.unmountOnExit||this.props.mountOnEnter){var h=this.props.nodeRef?this.props.nodeRef.current:fi.findDOMNode(this);h&&$E(h)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Sl&&this.setState({status:hr})},u.performEnter=function(o){var f=this,h=this.props.enter,y=this.context?this.context.isMounting:o,p=this.props.nodeRef?[y]:[fi.findDOMNode(this),y],v=p[0],b=p[1],C=this.getTimeouts(),x=y?C.appear:C.enter;if(!o&&!h||hy.disabled){this.safeSetState({status:_l},function(){f.props.onEntered(v)});return}this.props.onEnter(v,b),this.safeSetState({status:Ja},function(){f.props.onEntering(v,b),f.onTransitionEnd(x,function(){f.safeSetState({status:_l},function(){f.props.onEntered(v,b)})})})},u.performExit=function(){var o=this,f=this.props.exit,h=this.getTimeouts(),y=this.props.nodeRef?void 0:fi.findDOMNode(this);if(!f||hy.disabled){this.safeSetState({status:Sl},function(){o.props.onExited(y)});return}this.props.onExit(y),this.safeSetState({status:Do},function(){o.props.onExiting(y),o.onTransitionEnd(h.exit,function(){o.safeSetState({status:Sl},function(){o.props.onExited(y)})})})},u.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},u.safeSetState=function(o,f){f=this.setNextCallback(f),this.setState(o,f)},u.setNextCallback=function(o){var f=this,h=!0;return this.nextCallback=function(y){h&&(h=!1,f.nextCallback=null,o(y))},this.nextCallback.cancel=function(){h=!1},this.nextCallback},u.onTransitionEnd=function(o,f){this.setNextCallback(f);var h=this.props.nodeRef?this.props.nodeRef.current:fi.findDOMNode(this),y=o==null&&!this.props.addEndListener;if(!h||y){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var p=this.props.nodeRef?[this.nextCallback]:[h,this.nextCallback],v=p[0],b=p[1];this.props.addEndListener(v,b)}o!=null&&setTimeout(this.nextCallback,o)},u.render=function(){var o=this.state.status;if(o===hr)return null;var f=this.props,h=f.children;f.in,f.mountOnEnter,f.unmountOnExit,f.appear,f.enter,f.exit,f.timeout,f.addEndListener,f.onEnter,f.onEntering,f.onEntered,f.onExit,f.onExiting,f.onExited,f.nodeRef;var y=wE(f,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Xt.createElement(ep.Provider,{value:null},typeof h=="function"?h(o,y):Xt.cloneElement(Xt.Children.only(h),y))},i}(Xt.Component);xa.contextType=ep;xa.propTypes={};function ri(){}xa.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ri,onEntering:ri,onEntered:ri,onExit:ri,onExiting:ri,onExited:ri};xa.UNMOUNTED=hr;xa.EXITED=Sl;xa.ENTERING=Ja;xa.ENTERED=_l;xa.EXITING=Do;function JE(a){return a.code==="Escape"||a.keyCode===27}function FE(){const a=g.version.split(".");return{major:+a[0],minor:+a[1],patch:+a[2]}}function tp(a){if(!a||typeof a=="function")return null;const{major:i}=FE();return i>=19?a.props.ref:a.ref}const di=!!(typeof window<"u"&&window.document&&window.document.createElement);var Ao=!1,wo=!1;try{var vo={get passive(){return Ao=!0},get once(){return wo=Ao=!0}};di&&(window.addEventListener("test",vo,vo),window.removeEventListener("test",vo,!0))}catch{}function np(a,i,u,c){if(c&&typeof c!="boolean"&&!wo){var o=c.once,f=c.capture,h=u;!wo&&o&&(h=u.__once||function y(p){this.removeEventListener(i,y,f),u.call(this,p)},u.__once=h),a.addEventListener(i,h,Ao?c:f)}a.addEventListener(i,u,c)}function Mo(a,i,u,c){var o=c&&typeof c!="boolean"?c.capture:c;a.removeEventListener(i,u,o),u.__once&&a.removeEventListener(i,u.__once,o)}function Hu(a,i,u,c){return np(a,i,u,c),function(){Mo(a,i,u,c)}}function PE(a,i,u,c){if(c===void 0&&(c=!0),a){var o=document.createEvent("HTMLEvents");o.initEvent(i,u,c),a.dispatchEvent(o)}}function WE(a){var i=Nl(a,"transitionDuration")||"",u=i.indexOf("ms")===-1?1e3:1;return parseFloat(i)*u}function IE(a,i,u){u===void 0&&(u=5);var c=!1,o=setTimeout(function(){c||PE(a,"transitionend",!0)},i+u),f=Hu(a,"transitionend",function(){c=!0},{once:!0});return function(){clearTimeout(o),f()}}function ap(a,i,u,c){u==null&&(u=WE(a)||0);var o=IE(a,u,c),f=Hu(a,"transitionend",i);return function(){o(),f()}}function my(a,i){const u=Nl(a,i)||"",c=u.indexOf("ms")===-1?1e3:1;return parseFloat(u)*c}function eb(a,i){const u=my(a,"transitionDuration"),c=my(a,"transitionDelay"),o=ap(a,f=>{f.target===a&&(o(),i(f))},u+c)}function tb(a){a.offsetHeight}const yy=a=>!a||typeof a=="function"?a:i=>{a.current=i};function nb(a,i){const u=yy(a),c=yy(i);return o=>{u&&u(o),c&&c(o)}}function lp(a,i){return g.useMemo(()=>nb(a,i),[a,i])}function ab(a){return a&&"setState"in a?fi.findDOMNode(a):a??null}const lb=Xt.forwardRef(({onEnter:a,onEntering:i,onEntered:u,onExit:c,onExiting:o,onExited:f,addEndListener:h,children:y,childRef:p,...v},b)=>{const C=g.useRef(null),x=lp(C,p),R=P=>{x(ab(P))},A=P=>fe=>{P&&C.current&&P(C.current,fe)},H=g.useCallback(A(a),[a]),k=g.useCallback(A(i),[i]),z=g.useCallback(A(u),[u]),Z=g.useCallback(A(c),[c]),Q=g.useCallback(A(o),[o]),ee=g.useCallback(A(f),[f]),T=g.useCallback(A(h),[h]);return m.jsx(xa,{ref:b,...v,onEnter:H,onEntered:z,onEntering:k,onExit:Z,onExited:ee,onExiting:Q,addEndListener:T,nodeRef:C,children:typeof y=="function"?(P,fe)=>y(P,{...fe,ref:R}):Xt.cloneElement(y,{ref:R})})});function ib(a){const i=g.useRef(a);return g.useEffect(()=>{i.current=a},[a]),i}function zo(a){const i=ib(a);return g.useCallback(function(...u){return i.current&&i.current(...u)},[i])}const $o=a=>g.forwardRef((i,u)=>m.jsx("div",{...i,ref:u,className:we(i.className,a)}));function rb(a){const i=g.useRef(a);return g.useEffect(()=>{i.current=a},[a]),i}function Rl(a){const i=rb(a);return g.useCallback(function(...u){return i.current&&i.current(...u)},[i])}function ub(){const a=g.useRef(!0),i=g.useRef(()=>a.current);return g.useEffect(()=>(a.current=!0,()=>{a.current=!1}),[]),i.current}function cb(a){const i=g.useRef(null);return g.useEffect(()=>{i.current=a}),i.current}const sb=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",ob=typeof document<"u",py=ob||sb?g.useLayoutEffect:g.useEffect,fb=["as","disabled"];function db(a,i){if(a==null)return{};var u={};for(var c in a)if({}.hasOwnProperty.call(a,c)){if(i.indexOf(c)>=0)continue;u[c]=a[c]}return u}function hb(a){return!a||a.trim()==="#"}function ip({tagName:a,disabled:i,href:u,target:c,rel:o,role:f,onClick:h,tabIndex:y=0,type:p}){a||(u!=null||c!=null||o!=null?a="a":a="button");const v={tagName:a};if(a==="button")return[{type:p||"button",disabled:i},v];const b=x=>{if((i||a==="a"&&hb(u))&&x.preventDefault(),i){x.stopPropagation();return}h==null||h(x)},C=x=>{x.key===" "&&(x.preventDefault(),b(x))};return a==="a"&&(u||(u="#"),i&&(u=void 0)),[{role:f??"button",disabled:void 0,tabIndex:i?void 0:y,href:u,target:a==="a"?c:void 0,"aria-disabled":i||void 0,rel:a==="a"?o:void 0,onClick:b,onKeyDown:C},v]}const mb=g.forwardRef((a,i)=>{let{as:u,disabled:c}=a,o=db(a,fb);const[f,{tagName:h}]=ip(Object.assign({tagName:u,disabled:c},o));return m.jsx(h,Object.assign({},o,f,{ref:i}))});mb.displayName="Button";const yb={[Ja]:"show",[_l]:"show"},Jo=g.forwardRef(({className:a,children:i,transitionClasses:u={},onEnter:c,...o},f)=>{const h={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},y=g.useCallback((p,v)=>{tb(p),c==null||c(p,v)},[c]);return m.jsx(lb,{ref:f,addEndListener:eb,...h,onEnter:y,childRef:tp(i),children:(p,v)=>g.cloneElement(i,{...v,className:we("fade",a,i.props.className,yb[p],u[p])})})});Jo.displayName="Fade";const pb={"aria-label":ba.string,onClick:ba.func,variant:ba.oneOf(["white"])},Fo=g.forwardRef(({className:a,variant:i,"aria-label":u="Close",...c},o)=>m.jsx("button",{ref:o,type:"button",className:we("btn-close",i&&`btn-close-${i}`,a),"aria-label":u,...c}));Fo.displayName="CloseButton";Fo.propTypes=pb;const Lo=g.forwardRef(({as:a,bsPrefix:i,variant:u="primary",size:c,active:o=!1,disabled:f=!1,className:h,...y},p)=>{const v=Ve(i,"btn"),[b,{tagName:C}]=ip({tagName:a,disabled:f,...y}),x=C;return m.jsx(x,{...b,...y,ref:p,disabled:f,className:we(h,v,o&&"active",u&&`${v}-${u}`,c&&`${v}-${c}`,y.href&&f&&"disabled")})});Lo.displayName="Button";const Po=g.forwardRef(({className:a,bsPrefix:i,as:u="div",...c},o)=>(i=Ve(i,"card-body"),m.jsx(u,{ref:o,className:we(a,i),...c})));Po.displayName="CardBody";const rp=g.forwardRef(({className:a,bsPrefix:i,as:u="div",...c},o)=>(i=Ve(i,"card-footer"),m.jsx(u,{ref:o,className:we(a,i),...c})));rp.displayName="CardFooter";const up=g.createContext(null);up.displayName="CardHeaderContext";const cp=g.forwardRef(({bsPrefix:a,className:i,as:u="div",...c},o)=>{const f=Ve(a,"card-header"),h=g.useMemo(()=>({cardHeaderBsPrefix:f}),[f]);return m.jsx(up.Provider,{value:h,children:m.jsx(u,{ref:o,...c,className:we(i,f)})})});cp.displayName="CardHeader";const sp=g.forwardRef(({bsPrefix:a,className:i,variant:u,as:c="img",...o},f)=>{const h=Ve(a,"card-img");return m.jsx(c,{ref:f,className:we(u?`${h}-${u}`:h,i),...o})});sp.displayName="CardImg";const op=g.forwardRef(({className:a,bsPrefix:i,as:u="div",...c},o)=>(i=Ve(i,"card-img-overlay"),m.jsx(u,{ref:o,className:we(a,i),...c})));op.displayName="CardImgOverlay";const fp=g.forwardRef(({className:a,bsPrefix:i,as:u="a",...c},o)=>(i=Ve(i,"card-link"),m.jsx(u,{ref:o,className:we(a,i),...c})));fp.displayName="CardLink";const vb=$o("h6"),dp=g.forwardRef(({className:a,bsPrefix:i,as:u=vb,...c},o)=>(i=Ve(i,"card-subtitle"),m.jsx(u,{ref:o,className:we(a,i),...c})));dp.displayName="CardSubtitle";const hp=g.forwardRef(({className:a,bsPrefix:i,as:u="p",...c},o)=>(i=Ve(i,"card-text"),m.jsx(u,{ref:o,className:we(a,i),...c})));hp.displayName="CardText";const gb=$o("h5"),mp=g.forwardRef(({className:a,bsPrefix:i,as:u=gb,...c},o)=>(i=Ve(i,"card-title"),m.jsx(u,{ref:o,className:we(a,i),...c})));mp.displayName="CardTitle";const yp=g.forwardRef(({bsPrefix:a,className:i,bg:u,text:c,border:o,body:f=!1,children:h,as:y="div",...p},v)=>{const b=Ve(a,"card");return m.jsx(y,{ref:v,...p,className:we(i,b,u&&`bg-${u}`,c&&`text-${c}`,o&&`border-${o}`),children:f?m.jsx(Po,{children:h}):h})});yp.displayName="Card";const $n=Object.assign(yp,{Img:sp,Title:mp,Subtitle:dp,Body:Po,Link:fp,Text:hp,Header:cp,Footer:rp,ImgOverlay:op});function Eb(a){const i=g.useRef(a);return i.current=a,i}function bb(a){const i=Eb(a);g.useEffect(()=>()=>i.current(),[])}function Sb(a,i){return g.Children.toArray(a).some(u=>g.isValidElement(u)&&u.type===i)}function xb({as:a,bsPrefix:i,className:u,...c}){i=Ve(i,"col");const o=Wy(),f=Iy(),h=[],y=[];return o.forEach(p=>{const v=c[p];delete c[p];let b,C,x;typeof v=="object"&&v!=null?{span:b,offset:C,order:x}=v:b=v;const R=p!==f?`-${p}`:"";b&&h.push(b===!0?`${i}${R}`:`${i}${R}-${b}`),x!=null&&y.push(`order${R}-${x}`),C!=null&&y.push(`offset${R}-${C}`)}),[{...c,className:we(u,...h,...y)},{as:a,bsPrefix:i,spans:h}]}const on=g.forwardRef((a,i)=>{const[{className:u,...c},{as:o="div",bsPrefix:f,spans:h}]=xb(a);return m.jsx(o,{...c,ref:i,className:we(u,!h.length&&f)})});on.displayName="Col";const Wa=g.forwardRef(({bsPrefix:a,fluid:i=!1,as:u="div",className:c,...o},f)=>{const h=Ve(a,"container"),y=typeof i=="string"?`-${i}`:"-fluid";return m.jsx(u,{ref:f,...o,className:we(c,i?`${h}${y}`:h)})});Wa.displayName="Container";var _b=Function.prototype.bind.call(Function.prototype.call,[].slice);function ui(a,i){return _b(a.querySelectorAll(i))}function vy(a,i){if(a.contains)return a.contains(i);if(a.compareDocumentPosition)return a===i||!!(a.compareDocumentPosition(i)&16)}var go,gy;function Rb(){if(gy)return go;gy=1;var a=function(){};return go=a,go}var Tb=Rb();const wx=yr(Tb),Nb="data-rr-ui-";function Cb(a){return`${Nb}${a}`}const pp=g.createContext(di?window:void 0);pp.Provider;function Wo(){return g.useContext(pp)}const jb={type:ba.string,tooltip:ba.bool,as:ba.elementType},$u=g.forwardRef(({as:a="div",className:i,type:u="valid",tooltip:c=!1,...o},f)=>m.jsx(a,{...o,ref:f,className:we(i,`${u}-${c?"tooltip":"feedback"}`)}));$u.displayName="Feedback";$u.propTypes=jb;const Sa=g.createContext({}),Io=g.forwardRef(({id:a,bsPrefix:i,className:u,type:c="checkbox",isValid:o=!1,isInvalid:f=!1,as:h="input",...y},p)=>{const{controlId:v}=g.useContext(Sa);return i=Ve(i,"form-check-input"),m.jsx(h,{...y,ref:p,type:c,id:a||v,className:we(u,i,o&&"is-valid",f&&"is-invalid")})});Io.displayName="FormCheckInput";const Bu=g.forwardRef(({bsPrefix:a,className:i,htmlFor:u,...c},o)=>{const{controlId:f}=g.useContext(Sa);return a=Ve(a,"form-check-label"),m.jsx("label",{...c,ref:o,htmlFor:u||f,className:we(i,a)})});Bu.displayName="FormCheckLabel";const vp=g.forwardRef(({id:a,bsPrefix:i,bsSwitchPrefix:u,inline:c=!1,reverse:o=!1,disabled:f=!1,isValid:h=!1,isInvalid:y=!1,feedbackTooltip:p=!1,feedback:v,feedbackType:b,className:C,style:x,title:R="",type:A="checkbox",label:H,children:k,as:z="input",...Z},Q)=>{i=Ve(i,"form-check"),u=Ve(u,"form-switch");const{controlId:ee}=g.useContext(Sa),T=g.useMemo(()=>({controlId:a||ee}),[ee,a]),P=!k&&H!=null&&H!==!1||Sb(k,Bu),fe=m.jsx(Io,{...Z,type:A==="switch"?"checkbox":A,ref:Q,isValid:h,isInvalid:y,disabled:f,as:z});return m.jsx(Sa.Provider,{value:T,children:m.jsx("div",{style:x,className:we(C,P&&i,c&&`${i}-inline`,o&&`${i}-reverse`,A==="switch"&&u),children:k||m.jsxs(m.Fragment,{children:[fe,P&&m.jsx(Bu,{title:R,children:H}),v&&m.jsx($u,{type:b,tooltip:p,children:v})]})})})});vp.displayName="FormCheck";const qu=Object.assign(vp,{Input:Io,Label:Bu}),gp=g.forwardRef(({bsPrefix:a,type:i,size:u,htmlSize:c,id:o,className:f,isValid:h=!1,isInvalid:y=!1,plaintext:p,readOnly:v,as:b="input",...C},x)=>{const{controlId:R}=g.useContext(Sa);return a=Ve(a,"form-control"),m.jsx(b,{...C,type:i,size:c,ref:x,readOnly:v,id:o||R,className:we(f,p?`${a}-plaintext`:a,u&&`${a}-${u}`,i==="color"&&`${a}-color`,h&&"is-valid",y&&"is-invalid")})});gp.displayName="FormControl";const Ob=Object.assign(gp,{Feedback:$u}),Ep=g.forwardRef(({className:a,bsPrefix:i,as:u="div",...c},o)=>(i=Ve(i,"form-floating"),m.jsx(u,{ref:o,className:we(a,i),...c})));Ep.displayName="FormFloating";const ef=g.forwardRef(({controlId:a,as:i="div",...u},c)=>{const o=g.useMemo(()=>({controlId:a}),[a]);return m.jsx(Sa.Provider,{value:o,children:m.jsx(i,{...u,ref:c})})});ef.displayName="FormGroup";const bp=g.forwardRef(({as:a="label",bsPrefix:i,column:u=!1,visuallyHidden:c=!1,className:o,htmlFor:f,...h},y)=>{const{controlId:p}=g.useContext(Sa);i=Ve(i,"form-label");let v="col-form-label";typeof u=="string"&&(v=`${v} ${v}-${u}`);const b=we(o,i,c&&"visually-hidden",u&&v);return f=f||p,u?m.jsx(on,{ref:y,as:"label",className:b,htmlFor:f,...h}):m.jsx(a,{ref:y,className:b,htmlFor:f,...h})});bp.displayName="FormLabel";const Sp=g.forwardRef(({bsPrefix:a,className:i,id:u,...c},o)=>{const{controlId:f}=g.useContext(Sa);return a=Ve(a,"form-range"),m.jsx("input",{...c,type:"range",ref:o,className:we(i,a),id:u||f})});Sp.displayName="FormRange";const xp=g.forwardRef(({bsPrefix:a,size:i,htmlSize:u,className:c,isValid:o=!1,isInvalid:f=!1,id:h,...y},p)=>{const{controlId:v}=g.useContext(Sa);return a=Ve(a,"form-select"),m.jsx("select",{...y,size:u,ref:p,className:we(c,a,i&&`${a}-${i}`,o&&"is-valid",f&&"is-invalid"),id:h||v})});xp.displayName="FormSelect";const _p=g.forwardRef(({bsPrefix:a,className:i,as:u="small",muted:c,...o},f)=>(a=Ve(a,"form-text"),m.jsx(u,{...o,ref:f,className:we(i,a,c&&"text-muted")})));_p.displayName="FormText";const Rp=g.forwardRef((a,i)=>m.jsx(qu,{...a,ref:i,type:"switch"}));Rp.displayName="Switch";const Db=Object.assign(Rp,{Input:qu.Input,Label:qu.Label}),Tp=g.forwardRef(({bsPrefix:a,className:i,children:u,controlId:c,label:o,...f},h)=>(a=Ve(a,"form-floating"),m.jsxs(ef,{ref:h,className:we(i,a),controlId:c,...f,children:[u,m.jsx("label",{htmlFor:c,children:o})]})));Tp.displayName="FloatingLabel";const Ab={_ref:ba.any,validated:ba.bool,as:ba.elementType},tf=g.forwardRef(({className:a,validated:i,as:u="form",...c},o)=>m.jsx(u,{...c,ref:o,className:we(a,i&&"was-validated")}));tf.displayName="Form";tf.propTypes=Ab;const Ou=Object.assign(tf,{Group:ef,Control:Ob,Floating:Ep,Check:qu,Switch:Db,Label:bp,Text:_p,Range:Sp,Select:xp,FloatingLabel:Tp}),Ey=a=>!a||typeof a=="function"?a:i=>{a.current=i};function wb(a,i){const u=Ey(a),c=Ey(i);return o=>{u&&u(o),c&&c(o)}}function nf(a,i){return g.useMemo(()=>wb(a,i),[a,i])}var Du;function by(a){if((!Du&&Du!==0||a)&&di){var i=document.createElement("div");i.style.position="absolute",i.style.top="-9999px",i.style.width="50px",i.style.height="50px",i.style.overflow="scroll",document.body.appendChild(i),Du=i.offsetWidth-i.clientWidth,document.body.removeChild(i)}return Du}function Mb(){return g.useState(null)}function Eo(a){a===void 0&&(a=Ku());try{var i=a.activeElement;return!i||!i.nodeName?null:i}catch{return a.body}}function zb(a){const i=g.useRef(a);return i.current=a,i}function Lb(a){const i=zb(a);g.useEffect(()=>()=>i.current(),[])}function Ub(a=document){const i=a.defaultView;return Math.abs(i.innerWidth-a.documentElement.clientWidth)}const Sy=Cb("modal-open");class af{constructor({ownerDocument:i,handleContainerOverflow:u=!0,isRTL:c=!1}={}){this.handleContainerOverflow=u,this.isRTL=c,this.modals=[],this.ownerDocument=i}getScrollbarWidth(){return Ub(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(i){}removeModalAttributes(i){}setContainerStyle(i){const u={overflow:"hidden"},c=this.isRTL?"paddingLeft":"paddingRight",o=this.getElement();i.style={overflow:o.style.overflow,[c]:o.style[c]},i.scrollBarWidth&&(u[c]=`${parseInt(Nl(o,c)||"0",10)+i.scrollBarWidth}px`),o.setAttribute(Sy,""),Nl(o,u)}reset(){[...this.modals].forEach(i=>this.remove(i))}removeContainerStyle(i){const u=this.getElement();u.removeAttribute(Sy),Object.assign(u.style,i.style)}add(i){let u=this.modals.indexOf(i);return u!==-1||(u=this.modals.length,this.modals.push(i),this.setModalAttributes(i),u!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),u}remove(i){const u=this.modals.indexOf(i);u!==-1&&(this.modals.splice(u,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(i))}isTopModal(i){return!!this.modals.length&&this.modals[this.modals.length-1]===i}}const bo=(a,i)=>di?a==null?(i||Ku()).body:(typeof a=="function"&&(a=a()),a&&"current"in a&&(a=a.current),a&&("nodeType"in a||a.getBoundingClientRect)?a:null):null;function Hb(a,i){const u=Wo(),[c,o]=g.useState(()=>bo(a,u==null?void 0:u.document));if(!c){const f=bo(a);f&&o(f)}return g.useEffect(()=>{},[i,c]),g.useEffect(()=>{const f=bo(a);f!==c&&o(f)},[a,c]),c}function Bb({children:a,in:i,onExited:u,mountOnEnter:c,unmountOnExit:o}){const f=g.useRef(null),h=g.useRef(i),y=Rl(u);g.useEffect(()=>{i?h.current=!0:y(f.current)},[i,y]);const p=nf(f,a.ref),v=g.cloneElement(a,{ref:p});return i?v:o||!h.current&&c?null:v}const qb=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function kb(a,i){if(a==null)return{};var u={};for(var c in a)if({}.hasOwnProperty.call(a,c)){if(i.indexOf(c)>=0)continue;u[c]=a[c]}return u}function Vb(a){let{onEnter:i,onEntering:u,onEntered:c,onExit:o,onExiting:f,onExited:h,addEndListener:y,children:p}=a,v=kb(a,qb);const b=g.useRef(null),C=nf(b,tp(p)),x=ee=>T=>{ee&&b.current&&ee(b.current,T)},R=g.useCallback(x(i),[i]),A=g.useCallback(x(u),[u]),H=g.useCallback(x(c),[c]),k=g.useCallback(x(o),[o]),z=g.useCallback(x(f),[f]),Z=g.useCallback(x(h),[h]),Q=g.useCallback(x(y),[y]);return Object.assign({},v,{nodeRef:b},i&&{onEnter:R},u&&{onEntering:A},c&&{onEntered:H},o&&{onExit:k},f&&{onExiting:z},h&&{onExited:Z},y&&{addEndListener:Q},{children:typeof p=="function"?(ee,T)=>p(ee,Object.assign({},T,{ref:C})):g.cloneElement(p,{ref:C})})}const Yb=["component"];function Gb(a,i){if(a==null)return{};var u={};for(var c in a)if({}.hasOwnProperty.call(a,c)){if(i.indexOf(c)>=0)continue;u[c]=a[c]}return u}const Xb=g.forwardRef((a,i)=>{let{component:u}=a,c=Gb(a,Yb);const o=Vb(c);return m.jsx(u,Object.assign({ref:i},o))});function Qb({in:a,onTransition:i}){const u=g.useRef(null),c=g.useRef(!0),o=Rl(i);return py(()=>{if(!u.current)return;let f=!1;return o({in:a,element:u.current,initial:c.current,isStale:()=>f}),()=>{f=!0}},[a,o]),py(()=>(c.current=!1,()=>{c.current=!0}),[]),u}function Zb({children:a,in:i,onExited:u,onEntered:c,transition:o}){const[f,h]=g.useState(!i);i&&f&&h(!1);const y=Qb({in:!!i,onTransition:v=>{const b=()=>{v.isStale()||(v.in?c==null||c(v.element,v.initial):(h(!0),u==null||u(v.element)))};Promise.resolve(o(v)).then(b,C=>{throw v.in||h(!0),C})}}),p=nf(y,a.ref);return f&&!i?null:g.cloneElement(a,{ref:p})}function xy(a,i,u){return a?m.jsx(Xb,Object.assign({},u,{component:a})):i?m.jsx(Zb,Object.assign({},u,{transition:i})):m.jsx(Bb,Object.assign({},u))}const Kb=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function $b(a,i){if(a==null)return{};var u={};for(var c in a)if({}.hasOwnProperty.call(a,c)){if(i.indexOf(c)>=0)continue;u[c]=a[c]}return u}let So;function Jb(a){return So||(So=new af({ownerDocument:a==null?void 0:a.document})),So}function Fb(a){const i=Wo(),u=a||Jb(i),c=g.useRef({dialog:null,backdrop:null});return Object.assign(c.current,{add:()=>u.add(c.current),remove:()=>u.remove(c.current),isTopModal:()=>u.isTopModal(c.current),setDialogRef:g.useCallback(o=>{c.current.dialog=o},[]),setBackdropRef:g.useCallback(o=>{c.current.backdrop=o},[])})}const Np=g.forwardRef((a,i)=>{let{show:u=!1,role:c="dialog",className:o,style:f,children:h,backdrop:y=!0,keyboard:p=!0,onBackdropClick:v,onEscapeKeyDown:b,transition:C,runTransition:x,backdropTransition:R,runBackdropTransition:A,autoFocus:H=!0,enforceFocus:k=!0,restoreFocus:z=!0,restoreFocusOptions:Z,renderDialog:Q,renderBackdrop:ee=ze=>m.jsx("div",Object.assign({},ze)),manager:T,container:P,onShow:fe,onHide:ce=()=>{},onExit:$,onExited:ie,onExiting:Le,onEnter:Pe,onEntering:Ge,onEntered:et}=a,Ne=$b(a,Kb);const K=Wo(),se=Hb(P),F=Fb(T),_e=ub(),_=cb(u),[V,te]=g.useState(!u),W=g.useRef(null);g.useImperativeHandle(i,()=>F,[F]),di&&!_&&u&&(W.current=Eo(K==null?void 0:K.document)),u&&V&&te(!1);const J=Rl(()=>{if(F.add(),Te.current=Hu(document,"keydown",Ce),xe.current=Hu(document,"focus",()=>setTimeout(ge),!0),fe&&fe(),H){var ze,St;const qt=Eo((ze=(St=F.dialog)==null?void 0:St.ownerDocument)!=null?ze:K==null?void 0:K.document);F.dialog&&qt&&!vy(F.dialog,qt)&&(W.current=qt,F.dialog.focus())}}),ye=Rl(()=>{if(F.remove(),Te.current==null||Te.current(),xe.current==null||xe.current(),z){var ze;(ze=W.current)==null||ze.focus==null||ze.focus(Z),W.current=null}});g.useEffect(()=>{!u||!se||J()},[u,se,J]),g.useEffect(()=>{V&&ye()},[V,ye]),Lb(()=>{ye()});const ge=Rl(()=>{if(!k||!_e()||!F.isTopModal())return;const ze=Eo(K==null?void 0:K.document);F.dialog&&ze&&!vy(F.dialog,ze)&&F.dialog.focus()}),Ze=Rl(ze=>{ze.target===ze.currentTarget&&(v==null||v(ze),y===!0&&ce())}),Ce=Rl(ze=>{p&&JE(ze)&&F.isTopModal()&&(b==null||b(ze),ze.defaultPrevented||ce())}),xe=g.useRef(),Te=g.useRef(),at=(...ze)=>{te(!0),ie==null||ie(...ze)};if(!se)return null;const bt=Object.assign({role:c,ref:F.setDialogRef,"aria-modal":c==="dialog"?!0:void 0},Ne,{style:f,className:o,tabIndex:-1});let Ke=Q?Q(bt):m.jsx("div",Object.assign({},bt,{children:g.cloneElement(h,{role:"document"})}));Ke=xy(C,x,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!u,onExit:$,onExiting:Le,onExited:at,onEnter:Pe,onEntering:Ge,onEntered:et,children:Ke});let Rt=null;return y&&(Rt=ee({ref:F.setBackdropRef,onClick:Ze}),Rt=xy(R,A,{in:!!u,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:Rt})),m.jsx(m.Fragment,{children:fi.createPortal(m.jsxs(m.Fragment,{children:[Rt,Ke]}),se)})});Np.displayName="Modal";const Pb=Object.assign(Np,{Manager:af});function Wb(a,i){return a.classList?a.classList.contains(i):(" "+(a.className.baseVal||a.className)+" ").indexOf(" "+i+" ")!==-1}function Ib(a,i){a.classList?a.classList.add(i):Wb(a,i)||(typeof a.className=="string"?a.className=a.className+" "+i:a.setAttribute("class",(a.className&&a.className.baseVal||"")+" "+i))}function _y(a,i){return a.replace(new RegExp("(^|\\s)"+i+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function eS(a,i){a.classList?a.classList.remove(i):typeof a.className=="string"?a.className=_y(a.className,i):a.setAttribute("class",_y(a.className&&a.className.baseVal||"",i))}const ci={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class tS extends af{adjustAndStore(i,u,c){const o=u.style[i];u.dataset[i]=o,Nl(u,{[i]:`${parseFloat(Nl(u,i))+c}px`})}restore(i,u){const c=u.dataset[i];c!==void 0&&(delete u.dataset[i],Nl(u,{[i]:c}))}setContainerStyle(i){super.setContainerStyle(i);const u=this.getElement();if(Ib(u,"modal-open"),!i.scrollBarWidth)return;const c=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";ui(u,ci.FIXED_CONTENT).forEach(f=>this.adjustAndStore(c,f,i.scrollBarWidth)),ui(u,ci.STICKY_CONTENT).forEach(f=>this.adjustAndStore(o,f,-i.scrollBarWidth)),ui(u,ci.NAVBAR_TOGGLER).forEach(f=>this.adjustAndStore(o,f,i.scrollBarWidth))}removeContainerStyle(i){super.removeContainerStyle(i);const u=this.getElement();eS(u,"modal-open");const c=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";ui(u,ci.FIXED_CONTENT).forEach(f=>this.restore(c,f)),ui(u,ci.STICKY_CONTENT).forEach(f=>this.restore(o,f)),ui(u,ci.NAVBAR_TOGGLER).forEach(f=>this.restore(o,f))}}let xo;function nS(a){return xo||(xo=new tS(a)),xo}const Cp=g.forwardRef(({className:a,bsPrefix:i,as:u="div",...c},o)=>(i=Ve(i,"modal-body"),m.jsx(u,{ref:o,className:we(a,i),...c})));Cp.displayName="ModalBody";const jp=g.createContext({onHide(){}}),lf=g.forwardRef(({bsPrefix:a,className:i,contentClassName:u,centered:c,size:o,fullscreen:f,children:h,scrollable:y,...p},v)=>{a=Ve(a,"modal");const b=`${a}-dialog`,C=typeof f=="string"?`${a}-fullscreen-${f}`:`${a}-fullscreen`;return m.jsx("div",{...p,ref:v,className:we(b,i,o&&`${a}-${o}`,c&&`${b}-centered`,y&&`${b}-scrollable`,f&&C),children:m.jsx("div",{className:we(`${a}-content`,u),children:h})})});lf.displayName="ModalDialog";const Op=g.forwardRef(({className:a,bsPrefix:i,as:u="div",...c},o)=>(i=Ve(i,"modal-footer"),m.jsx(u,{ref:o,className:we(a,i),...c})));Op.displayName="ModalFooter";const aS=g.forwardRef(({closeLabel:a="Close",closeVariant:i,closeButton:u=!1,onHide:c,children:o,...f},h)=>{const y=g.useContext(jp),p=zo(()=>{y==null||y.onHide(),c==null||c()});return m.jsxs("div",{ref:h,...f,children:[o,u&&m.jsx(Fo,{"aria-label":a,variant:i,onClick:p})]})}),Dp=g.forwardRef(({bsPrefix:a,className:i,closeLabel:u="Close",closeButton:c=!1,...o},f)=>(a=Ve(a,"modal-header"),m.jsx(aS,{ref:f,...o,className:we(i,a),closeLabel:u,closeButton:c})));Dp.displayName="ModalHeader";const lS=$o("h4"),Ap=g.forwardRef(({className:a,bsPrefix:i,as:u=lS,...c},o)=>(i=Ve(i,"modal-title"),m.jsx(u,{ref:o,className:we(a,i),...c})));Ap.displayName="ModalTitle";function iS(a){return m.jsx(Jo,{...a,timeout:null})}function rS(a){return m.jsx(Jo,{...a,timeout:null})}const wp=g.forwardRef(({bsPrefix:a,className:i,style:u,dialogClassName:c,contentClassName:o,children:f,dialogAs:h=lf,"data-bs-theme":y,"aria-labelledby":p,"aria-describedby":v,"aria-label":b,show:C=!1,animation:x=!0,backdrop:R=!0,keyboard:A=!0,onEscapeKeyDown:H,onShow:k,onHide:z,container:Z,autoFocus:Q=!0,enforceFocus:ee=!0,restoreFocus:T=!0,restoreFocusOptions:P,onEntered:fe,onExit:ce,onExiting:$,onEnter:ie,onEntering:Le,onExited:Pe,backdropClassName:Ge,manager:et,...Ne},K)=>{const[se,F]=g.useState({}),[_e,_]=g.useState(!1),V=g.useRef(!1),te=g.useRef(!1),W=g.useRef(null),[J,ye]=Mb(),ge=lp(K,ye),Ze=zo(z),Ce=UE();a=Ve(a,"modal");const xe=g.useMemo(()=>({onHide:Ze}),[Ze]);function Te(){return et||nS({isRTL:Ce})}function at(be){if(!di)return;const Mt=Te().getScrollbarWidth()>0,kt=be.scrollHeight>Ku(be).documentElement.clientHeight;F({paddingRight:Mt&&!kt?by():void 0,paddingLeft:!Mt&&kt?by():void 0})}const bt=zo(()=>{J&&at(J.dialog)});bb(()=>{Mo(window,"resize",bt),W.current==null||W.current()});const Ke=()=>{V.current=!0},Rt=be=>{V.current&&J&&be.target===J.dialog&&(te.current=!0),V.current=!1},ze=()=>{_(!0),W.current=ap(J.dialog,()=>{_(!1)})},St=be=>{be.target===be.currentTarget&&ze()},qt=be=>{if(R==="static"){St(be);return}if(te.current||be.target!==be.currentTarget){te.current=!1;return}z==null||z()},en=be=>{A?H==null||H(be):(be.preventDefault(),R==="static"&&ze())},dn=(be,Mt)=>{be&&at(be),ie==null||ie(be,Mt)},hn=be=>{W.current==null||W.current(),ce==null||ce(be)},Tt=(be,Mt)=>{Le==null||Le(be,Mt),np(window,"resize",bt)},Jt=be=>{be&&(be.style.display=""),Pe==null||Pe(be),Mo(window,"resize",bt)},On=g.useCallback(be=>m.jsx("div",{...be,className:we(`${a}-backdrop`,Ge,!x&&"show")}),[x,Ge,a]),ct={...u,...se};ct.display="block";const wt=be=>m.jsx("div",{role:"dialog",...be,style:ct,className:we(i,a,_e&&`${a}-static`,!x&&"show"),onClick:R?qt:void 0,onMouseUp:Rt,"data-bs-theme":y,"aria-label":b,"aria-labelledby":p,"aria-describedby":v,children:m.jsx(h,{...Ne,onMouseDown:Ke,className:c,contentClassName:o,children:f})});return m.jsx(jp.Provider,{value:xe,children:m.jsx(Pb,{show:C,ref:ge,backdrop:R,container:Z,keyboard:!0,autoFocus:Q,enforceFocus:ee,restoreFocus:T,restoreFocusOptions:P,onEscapeKeyDown:en,onShow:k,onHide:z,onEnter:dn,onEntering:Tt,onEntered:fe,onExit:hn,onExiting:$,onExited:Jt,manager:Te(),transition:x?iS:void 0,backdropTransition:x?rS:void 0,renderBackdrop:On,renderDialog:wt})})});wp.displayName="Modal";const or=Object.assign(wp,{Body:Cp,Header:Dp,Title:Ap,Footer:Op,Dialog:lf,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),qn=g.forwardRef(({bsPrefix:a,className:i,as:u="div",...c},o)=>{const f=Ve(a,"row"),h=Wy(),y=Iy(),p=`${f}-cols`,v=[];return h.forEach(b=>{const C=c[b];delete c[b];let x;C!=null&&typeof C=="object"?{cols:x}=C:x=C;const R=b!==y?`-${b}`:"";x!=null&&v.push(`${p}${R}-${x}`)}),m.jsx(u,{ref:o,...c,className:we(i,f,...v)})});qn.displayName="Row";const uS="/static/DY3vaYXT.svg";function cS(){const a=ut.c(6),{user:i}=g.useContext(Zo),{pathname:u}=Pn();let c;a[0]===Symbol.for("react.memo_cache_sentinel")?(c=m.jsx(on,{xs:10,children:m.jsx("div",{className:"nav-wrapper",children:m.jsxs("nav",{className:"header-nav",children:[m.jsx("a",{href:"https://geant.org/",children:m.jsx("img",{src:uS,alt:"GÉANT Logo"})}),m.jsxs("ul",{children:[m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://network.geant.org/",children:"NETWORK"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://geant.org/services/",children:"SERVICES"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://community.geant.org/",children:"COMMUNITY"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://tnc23.geant.org/",children:"TNC"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://geant.org/projects/",children:"PROJECTS"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://connect.geant.org/",children:"CONNECT"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://impact.geant.org/",children:"IMPACT"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://careers.geant.org/",children:"CAREERS"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://about.geant.org/",children:"ABOUT"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://connect.geant.org/community-news",children:"NEWS"})}),m.jsx("li",{children:m.jsx("a",{className:"nav-link-entry",href:"https://resources.geant.org/",children:"RESOURCES"})}),m.jsx("li",{children:m.jsx(ae,{className:"nav-link-entry",to:"/",children:"COMPENDIUM"})})]})]})})}),a[0]=c):c=a[0];let o;a[1]!==u||a[2]!==i.permissions.admin?(o=i.permissions.admin&&!u.includes("survey")&&m.jsx("div",{className:"nav-link",style:{float:"right"},children:m.jsx(ae,{className:"nav-link-entry",to:"/survey",children:m.jsx("span",{children:"Go to Survey"})})}),a[1]=u,a[2]=i.permissions.admin,a[3]=o):o=a[3];let f;return a[4]!==o?(f=m.jsx("div",{className:"external-page-nav-bar",children:m.jsx(Wa,{children:m.jsxs(qn,{children:[c,m.jsx(on,{xs:2,children:o})]})})}),a[4]=o,a[5]=f):f=a[5],f}const sS="/static/A3T3A-a_.svg",oS="/static/DOOiIGTs.png";function fS(){const a=ut.c(9);let i;a[0]===Symbol.for("react.memo_cache_sentinel")?(i=m.jsx("a",{href:"https://geant.org",children:m.jsx("img",{src:sS,className:"m-3",style:{maxWidth:"100px"},alt:"GÉANT Logo"})}),a[0]=i):i=a[0];let u;a[1]===Symbol.for("react.memo_cache_sentinel")?(u=m.jsxs(on,{children:[i,m.jsx("img",{src:oS,className:"m-3",style:{maxWidth:"200px"},alt:"European Union Flag"})]}),a[1]=u):u=a[1];let c,o;a[2]===Symbol.for("react.memo_cache_sentinel")?(c=m.jsx("a",{className:"mx-3 footer-link",href:"https://geant.org/Disclaimer/",children:"Disclaimer"}),o=m.jsx("wbr",{}),a[2]=c,a[3]=o):(c=a[2],o=a[3]);let f,h;a[4]===Symbol.for("react.memo_cache_sentinel")?(f=m.jsx("a",{className:"mx-3 footer-link",href:"https://geant.org/geant-anti-slavery-policy/",children:"GEANT Anti‑Slavery Policy"}),h=m.jsx("wbr",{}),a[4]=f,a[5]=h):(f=a[4],h=a[5]);let y,p;a[6]===Symbol.for("react.memo_cache_sentinel")?(y=m.jsx("a",{className:"mx-3 footer-link",href:"https://geant.org/Privacy-Notice/",children:"Privacy Policy"}),p=m.jsx("wbr",{}),a[6]=y,a[7]=p):(y=a[6],p=a[7]);let v;return a[8]===Symbol.for("react.memo_cache_sentinel")?(v=m.jsx("footer",{className:"page-footer pt-3",children:m.jsx(Wa,{children:m.jsxs(qn,{children:[u,m.jsx(on,{className:"mt-4 text-end",children:m.jsxs("span",{children:[c,o,"|",f,h,"|",y,p,"|",m.jsx("a",{className:"mx-3 footer-link",style:{cursor:"pointer"},onClick:dS,children:"Analytics Consent"})]})})]})})}),a[8]=v):v=a[8],v}function dS(){localStorage.removeItem("matomo_consent"),window.location.reload()}const Mp="/static/C4lsyu6A.svg",zp="/static/DhA-EmEc.svg";function Lp(){const a=ut.c(16),i=g.useContext(Py);let u;a[0]!==i?(u=A=>i==null?void 0:i.trackPageView(A),a[0]=i,a[1]=u):u=a[1];const c=u;let o;a[2]!==i?(o=A=>i==null?void 0:i.trackEvent(A),a[2]=i,a[3]=o):o=a[3];const f=o;let h;a[4]!==i?(h=()=>i==null?void 0:i.trackEvents(),a[4]=i,a[5]=h):h=a[5];const y=h;let p;a[6]!==i?(p=A=>i==null?void 0:i.trackLink(A),a[6]=i,a[7]=p):p=a[7];const v=p,b=hS;let C;a[8]!==i?(C=(A,...H)=>{const k=H;i==null||i.pushInstruction(A,...k)},a[8]=i,a[9]=C):C=a[9];const x=C;let R;return a[10]!==x||a[11]!==f||a[12]!==y||a[13]!==v||a[14]!==c?(R={trackEvent:f,trackEvents:y,trackPageView:c,trackLink:v,enableLinkTracking:b,pushInstruction:x},a[10]=x,a[11]=f,a[12]=y,a[13]=v,a[14]=c,a[15]=R):R=a[15],R}function hS(){}function Up(){const a=ut.c(13),{trackPageView:i}=Lp();let u,c;a[0]!==i?(u=()=>{i({documentTitle:"GEANT Compendium Landing Page"})},c=[i],a[0]=i,a[1]=u,a[2]=c):(u=a[1],c=a[2]),g.useEffect(u,c);let o;a[3]===Symbol.for("react.memo_cache_sentinel")?(o=m.jsx("h1",{className:"geant-header",children:"THE GÉANT COMPENDIUM OF NRENS"}),a[3]=o):o=a[3];let f;a[4]===Symbol.for("react.memo_cache_sentinel")?(f=m.jsx(qn,{children:m.jsxs("div",{className:"center-text",children:[o,m.jsxs("div",{className:"wordwrap pt-4",children:[m.jsx("p",{style:{textAlign:"left",fontSize:"20px"},children:"Each year GÉANT invites European National Research and Eduction Networks to fill in a questionnaire asking about their network, their organisation, standards and policies, connected users, and the services they offer their users. This Compendium of responses is an authoritative reference source for anyone with an interest in the development of research and education networking in Europe and beyond. No two NRENs are identical, with great diversity in their structures, funding, size, and focus."}),m.jsx("p",{style:{textAlign:"left",fontSize:"20px"},children:"The GÉANT Compendium of NRENs Report is published annually, using both data from the Compendium from other sources, including surveys and studies carried out within different teams within GÉANT and the NREN community. The Report gives a broad overview of the European NREN landscape, identifying developments and trends."}),m.jsx("p",{style:{textAlign:"left",fontSize:"20px"},children:"Compendium Data, the responses from the NRENs, are made available to be viewed and downloaded. Graphs, charts, and tables can be customised to show as many or few NRENs as required, across different years. These can be downloaded as images or in PDF form."})]})]})}),a[4]=f):f=a[4];let h;a[5]===Symbol.for("react.memo_cache_sentinel")?(h={backgroundColor:"white"},a[5]=h):h=a[5];let y;a[6]===Symbol.for("react.memo_cache_sentinel")?(y={width:"18rem"},a[6]=y):y=a[6];let p;a[7]===Symbol.for("react.memo_cache_sentinel")?(p=m.jsx($n.Img,{src:Mp}),a[7]=p):p=a[7];let v;a[8]===Symbol.for("react.memo_cache_sentinel")?(v=m.jsx($n.Title,{children:"Compendium Data"}),a[8]=v):v=a[8];let b;a[9]===Symbol.for("react.memo_cache_sentinel")?(b=m.jsx(on,{align:"center",children:m.jsx($n,{border:"light",style:y,children:m.jsxs(ae,{to:"/data",className:"link-text",children:[p,m.jsxs($n.Body,{children:[v,m.jsx($n.Text,{children:m.jsx("span",{children:"Statistical representation of the annual Compendium Survey data is available here"})})]})]})})}),a[9]=b):b=a[9];let C;a[10]===Symbol.for("react.memo_cache_sentinel")?(C={width:"18rem"},a[10]=C):C=a[10];let x;a[11]===Symbol.for("react.memo_cache_sentinel")?(x=m.jsx($n.Img,{src:zp}),a[11]=x):x=a[11];let R;return a[12]===Symbol.for("react.memo_cache_sentinel")?(R=m.jsxs(Wa,{className:"py-5 grey-container",children:[f,m.jsx(qn,{children:m.jsx(on,{children:m.jsx(Wa,{style:h,className:"rounded-border",children:m.jsxs(qn,{className:"justify-content-md-center",children:[b,m.jsx(on,{align:"center",children:m.jsx($n,{border:"light",style:C,children:m.jsxs("a",{href:"https://resources.geant.org/geant-compendia/",className:"link-text",target:"_blank",rel:"noreferrer",children:[x,m.jsxs($n.Body,{children:[m.jsx($n.Title,{children:"Compendium Reports"}),m.jsx($n.Text,{children:"A GÉANT Compendium Report is published annually, drawing on data from the Compendium Survey filled in by NRENs, complemented by information from other surveys"})]})]})})})]})})})})]}),a[12]=R):R=a[12],R}var Hp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ry=Xt.createContext&&Xt.createContext(Hp),mS=["attr","size","title"];function yS(a,i){if(a==null)return{};var u=pS(a,i),c,o;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(o=0;o<f.length;o++)c=f[o],!(i.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(u[c]=a[c])}return u}function pS(a,i){if(a==null)return{};var u={};for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(i.indexOf(c)>=0)continue;u[c]=a[c]}return u}function ku(){return ku=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var u=arguments[i];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(a[c]=u[c])}return a},ku.apply(this,arguments)}function Ty(a,i){var u=Object.keys(a);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);i&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(a,o).enumerable})),u.push.apply(u,c)}return u}function Vu(a){for(var i=1;i<arguments.length;i++){var u=arguments[i]!=null?arguments[i]:{};i%2?Ty(Object(u),!0).forEach(function(c){vS(a,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(u)):Ty(Object(u)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(u,c))})}return a}function vS(a,i,u){return i=gS(i),i in a?Object.defineProperty(a,i,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[i]=u,a}function gS(a){var i=ES(a,"string");return typeof i=="symbol"?i:i+""}function ES(a,i){if(typeof a!="object"||!a)return a;var u=a[Symbol.toPrimitive];if(u!==void 0){var c=u.call(a,i||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}function Bp(a){return a&&a.map((i,u)=>Xt.createElement(i.tag,Vu({key:u},i.attr),Bp(i.child)))}function qp(a){return i=>Xt.createElement(bS,ku({attr:Vu({},a.attr)},i),Bp(a.child))}function bS(a){var i=u=>{var{attr:c,size:o,title:f}=a,h=yS(a,mS),y=o||u.size||"1em",p;return u.className&&(p=u.className),a.className&&(p=(p?p+" ":"")+a.className),Xt.createElement("svg",ku({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},u.attr,c,h,{className:p,style:Vu(Vu({color:a.color||u.color},u.style),a.style),height:y,width:y,xmlns:"http://www.w3.org/2000/svg"}),f&&Xt.createElement("title",null,f),a.children)};return Ry!==void 0?Xt.createElement(Ry.Consumer,null,u=>i(u)):i(Hp)}function SS(a){return qp({tag:"svg",attr:{viewBox:"0 0 1024 1024",fill:"currentColor",fillRule:"evenodd"},child:[{tag:"path",attr:{d:"M799.855 166.312c.023.007.043.018.084.059l57.69 57.69c.041.041.052.06.059.084a.118.118 0 0 1 0 .069c-.007.023-.018.042-.059.083L569.926 512l287.703 287.703c.041.04.052.06.059.083a.118.118 0 0 1 0 .07c-.007.022-.018.042-.059.083l-57.69 57.69c-.041.041-.06.052-.084.059a.118.118 0 0 1-.069 0c-.023-.007-.042-.018-.083-.059L512 569.926 224.297 857.629c-.04.041-.06.052-.083.059a.118.118 0 0 1-.07 0c-.022-.007-.042-.018-.083-.059l-57.69-57.69c-.041-.041-.052-.06-.059-.084a.118.118 0 0 1 0-.069c.007-.023.018-.042.059-.083L454.073 512 166.371 224.297c-.041-.04-.052-.06-.059-.083a.118.118 0 0 1 0-.07c.007-.022.018-.042.059-.083l57.69-57.69c.041-.041.06-.052.084-.059a.118.118 0 0 1 .069 0c.023.007.042.018.083.059L512 454.073l287.703-287.702c.04-.041.06-.052.083-.059a.118.118 0 0 1 .07 0Z"},child:[]}]})(a)}function xS(a){return qp({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8Z"},child:[]},{tag:"path",attr:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8Z"},child:[]}]})(a)}const fr=a=>{const i=ut.c(23),{title:u,children:c,startCollapsed:o,theme:f}=a,h=f===void 0?"":f,[y,p]=g.useState(!!o);let v;i[0]===Symbol.for("react.memo_cache_sentinel")?(v={color:"white",paddingBottom:"3px",marginTop:"3px",marginLeft:"3px",scale:"1.3"},i[0]=v):v=i[0];let b=v;if(h){let T;i[1]===Symbol.for("react.memo_cache_sentinel")?(T={...b,color:"black",fontWeight:"bold"},i[1]=T):T=i[1],b=T}const C=`collapsible-box${h} p-0`;let x;i[2]!==u?(x=m.jsx(on,{children:m.jsx("h1",{className:"bold-caps-16pt dark-teal pt-3 ps-3",children:u})}),i[2]=u,i[3]=x):x=i[3];const R=`toggle-btn${h} p-${h?3:2}`;let A;i[4]!==y?(A=()=>p(!y),i[4]=y,i[5]=A):A=i[5];let H;i[6]!==y||i[7]!==b?(H=y?m.jsx(xS,{style:b}):m.jsx(SS,{style:b}),i[6]=y,i[7]=b,i[8]=H):H=i[8];let k;i[9]!==R||i[10]!==A||i[11]!==H?(k=m.jsx(on,{className:"flex-grow-0 flex-shrink-1",children:m.jsx("div",{className:R,onClick:A,children:H})}),i[9]=R,i[10]=A,i[11]=H,i[12]=k):k=i[12];let z;i[13]!==x||i[14]!==k?(z=m.jsxs(qn,{children:[x,k]}),i[13]=x,i[14]=k,i[15]=z):z=i[15];const Z=`collapsible-content${y?" collapsed":""}`;let Q;i[16]!==c||i[17]!==Z?(Q=m.jsx("div",{className:Z,children:c}),i[16]=c,i[17]=Z,i[18]=Q):Q=i[18];let ee;return i[19]!==Q||i[20]!==C||i[21]!==z?(ee=m.jsxs("div",{className:C,children:[z,Q]}),i[19]=Q,i[20]=C,i[21]=z,i[22]=ee):ee=i[22],ee};function _S(a){const i=ut.c(8),{section:u}=a;let c;i[0]===Symbol.for("react.memo_cache_sentinel")?(c={display:"flex",alignSelf:"right",lineHeight:"1.5rem",marginTop:"0.5rem"},i[0]=c):c=i[0];let o,f;i[1]===Symbol.for("react.memo_cache_sentinel")?(o=m.jsx("br",{}),f={float:"right"},i[1]=o,i[2]=f):(o=i[1],f=i[2]);let h;i[3]!==u?(h=m.jsx("div",{style:c,children:m.jsxs("span",{children:["Compendium ",o,m.jsx("span",{style:f,children:u})]})}),i[3]=u,i[4]=h):h=i[4];let y;i[5]===Symbol.for("react.memo_cache_sentinel")?(y=m.jsx("img",{src:zp,style:{maxWidth:"4rem"},alt:"Compendium Data logo"}),i[5]=y):y=i[5];let p;return i[6]!==h?(p=m.jsxs("div",{className:"bold-caps-17pt section-container",children:[h,y]}),i[6]=h,i[7]=p):p=i[7],p}function RS(a){const i=ut.c(14),{type:u}=a;let c="";u=="data"?c=" compendium-data-header":u=="reports"&&(c=" compendium-reports-header");let o;i[0]===Symbol.for("react.memo_cache_sentinel")?(o={marginTop:"0.5rem"},i[0]=o):o=i[0];const f=u==="data"?"/data":"/";let h;i[1]===Symbol.for("react.memo_cache_sentinel")?(h={textDecoration:"none",color:"white"},i[1]=h):h=i[1];const y=u==="data"?"Data":"Reports";let p;i[2]!==y?(p=m.jsxs("span",{children:["Compendium ",y]}),i[2]=y,i[3]=p):p=i[3];let v;i[4]!==f||i[5]!==p?(v=m.jsx(on,{sm:8,children:m.jsx("h1",{className:"bold-caps-30pt",style:o,children:m.jsx(ae,{to:f,style:h,children:p})})}),i[4]=f,i[5]=p,i[6]=v):v=i[6];let b;i[7]===Symbol.for("react.memo_cache_sentinel")?(b={color:"inherit"},i[7]=b):b=i[7];let C;i[8]===Symbol.for("react.memo_cache_sentinel")?(C=m.jsx(on,{sm:4,children:m.jsx("a",{style:b,href:"https://resources.geant.org/geant-compendia/",target:"_blank",rel:"noreferrer",children:m.jsx(_S,{section:"Reports"})})}),i[8]=C):C=i[8];let x;i[9]!==v?(x=m.jsx(Wa,{children:m.jsxs(qn,{children:[v,C]})}),i[9]=v,i[10]=x):x=i[10];let R;return i[11]!==c||i[12]!==x?(R=m.jsx("div",{className:c,children:x}),i[11]=c,i[12]=x,i[13]=R):R=i[13],R}function TS(a){const i=ut.c(8),{children:u,type:c}=a;let o="";c=="data"?o=" compendium-data-banner":c=="reports"&&(o=" compendium-reports-banner");let f,h;i[0]===Symbol.for("react.memo_cache_sentinel")?(f=m.jsx("img",{src:Mp,style:{maxWidth:"7rem",marginBottom:"1rem"},alt:"Compendium Data logo"}),h={display:"flex",alignSelf:"right"},i[0]=f,i[1]=h):(f=i[0],h=i[1]);let y;i[2]===Symbol.for("react.memo_cache_sentinel")?(y={paddingTop:"1rem"},i[2]=y):y=i[2];let p;i[3]!==u?(p=m.jsx(Wa,{children:m.jsx(qn,{children:m.jsx(qn,{children:m.jsxs("div",{className:"section-container",children:[f,m.jsx("div",{style:h,children:m.jsx("div",{className:"center-text",style:y,children:u})})]})})})}),i[3]=u,i[4]=p):p=i[4];let v;return i[5]!==o||i[6]!==p?(v=m.jsx("div",{className:o,children:p}),i[5]=o,i[6]=p,i[7]=v):v=i[7],v}var oi=(a=>(a.Organisation="ORGANISATION",a.Policy="STANDARDS AND POLICIES",a.ConnectedUsers="CONNECTED USERS",a.Network="NETWORK",a.Services="SERVICES",a))(oi||{}),NS=(a=>(a.CSV="CSV",a.EXCEL="EXCEL",a))(NS||{}),CS=(a=>(a.PNG="png",a.JPEG="jpeg",a.SVG="svg",a))(CS||{});const Mx={universities:"Universities & Other (ISCED 6-8)",further_education:"Further education (ISCED 4-5)",secondary_schools:"Secondary schools (ISCED 2-3)",primary_schools:"Primary schools (ISCED 1)",institutes:"Research Institutes",cultural:"Libraries, Museums, Archives, Cultural institutions",hospitals:"Non-university public Hospitals",government:"Government departments (national, regional, local)",iros:"International (virtual) research organisations",for_profit_orgs:"For-profit organisations"},zx={commercial_r_and_e:"Commercial R&E traffic only",commercial_general:"Commercial general",commercial_collaboration:"Commercial for collaboration only (project/time limited)",commercial_service_provider:"Commercial Service Provider",university_spin_off:"University Spin Off/Incubator"},Lx={collaboration:"Connection to your network for collaboration with R&E users",service_supplier:"Connection to your network for supplying services for R&E",direct_peering:"Direct peering (e.g. direct peering or cloud peering)"};function jS(){const a=ut.c(7),{preview:i,setPreview:u}=g.useContext(Fy),{user:c}=g.useContext(Zo),[o]=nE();let f;a[0]!==o?(f=o.get("preview"),a[0]=o,a[1]=f):f=a[1];const h=f;let y,p;return a[2]!==h||a[3]!==u||a[4]!==c?(y=()=>{h!==null&&(c.permissions.admin||c.role=="observer")&&u(!0)},p=[h,u,c],a[2]=h,a[3]=u,a[4]=c,a[5]=y,a[6]=p):(y=a[5],p=a[6]),g.useEffect(y,p),i}function OS(){const a=ut.c(82);jS();const{trackPageView:i}=Lp();let u,c;a[0]!==i?(u=()=>{i({documentTitle:"Compendium Data"})},c=[i],a[0]=i,a[1]=u,a[2]=c):(u=a[1],c=a[2]),Xt.useEffect(u,c);let o;a[3]===Symbol.for("react.memo_cache_sentinel")?(o=m.jsx(RS,{type:"data"}),a[3]=o):o=a[3];let f;a[4]===Symbol.for("react.memo_cache_sentinel")?(f=m.jsx(TS,{type:"data",children:m.jsx("p",{className:"wordwrap",children:"The GÉANT Compendium provides an authoritative reference source for anyone with an interest in the development of research and education networking in Europe and beyond. Published since 2001, the Compendium provides information on key areas such as users, services, traffic, budget and staffing."})}),a[4]=f):f=a[4];let h;a[5]===Symbol.for("react.memo_cache_sentinel")?(h=m.jsx("h6",{className:"section-title",children:"Budget, Income and Billing"}),a[5]=h):h=a[5];let y;a[6]===Symbol.for("react.memo_cache_sentinel")?(y=m.jsx(ae,{to:"/budget",className:"link-text-underline",children:m.jsx("span",{children:"Budget of NRENs per Year"})}),a[6]=y):y=a[6];let p;a[7]===Symbol.for("react.memo_cache_sentinel")?(p=m.jsx(ae,{to:"/funding",className:"link-text-underline",children:m.jsx("span",{children:"Income Source of NRENs"})}),a[7]=p):p=a[7];let v,b,C;a[8]===Symbol.for("react.memo_cache_sentinel")?(v=m.jsx(ae,{to:"/charging",className:"link-text-underline",children:m.jsx("span",{children:"Charging Mechanism of NRENs"})}),b=m.jsx("hr",{className:"fake-divider"}),C=m.jsx("h6",{className:"section-title",children:"Staff and Projects"}),a[8]=v,a[9]=b,a[10]=C):(v=a[8],b=a[9],C=a[10]);let x;a[11]===Symbol.for("react.memo_cache_sentinel")?(x=m.jsx(ae,{to:"/employee-count",className:"link-text-underline",children:m.jsx("span",{children:"Number of NREN Employees"})}),a[11]=x):x=a[11];let R;a[12]===Symbol.for("react.memo_cache_sentinel")?(R=m.jsx(ae,{to:"/roles",className:"link-text-underline",children:m.jsx("span",{children:"Roles of NREN employees (Technical v. Non-Technical)"})}),a[12]=R):R=a[12];let A;a[13]===Symbol.for("react.memo_cache_sentinel")?(A=m.jsx(ae,{to:"/employment",className:"link-text-underline",children:m.jsx("span",{children:"Types of Employment within NRENs"})}),a[13]=A):A=a[13];let H;a[14]===Symbol.for("react.memo_cache_sentinel")?(H=m.jsx(ae,{to:"/suborganisations",className:"link-text-underline",children:m.jsx("span",{children:"NREN Sub-Organisations"})}),a[14]=H):H=a[14];let k;a[15]===Symbol.for("react.memo_cache_sentinel")?(k=m.jsx(ae,{to:"/parentorganisation",className:"link-text-underline",children:m.jsx("span",{children:"NREN Parent Organisations"})}),a[15]=k):k=a[15];let z;a[16]===Symbol.for("react.memo_cache_sentinel")?(z=m.jsxs(fr,{title:oi.Organisation,children:[h,y,p,v,b,C,x,R,A,H,k,m.jsx(ae,{to:"/ec-projects",className:"link-text-underline",children:m.jsx("span",{children:"NREN Involvement in European Commission Projects"})})]}),a[16]=z):z=a[16];let Z,Q;a[17]===Symbol.for("react.memo_cache_sentinel")?(Z=m.jsx(ae,{to:"/policy",className:"link-text-underline",children:m.jsx("span",{children:"NREN Policies"})}),Q=m.jsx("h6",{className:"section-title",children:"Standards"}),a[17]=Z,a[18]=Q):(Z=a[17],Q=a[18]);let ee;a[19]===Symbol.for("react.memo_cache_sentinel")?(ee=m.jsx(ae,{to:"/audits",className:"link-text-underline",children:m.jsx("span",{children:"External and Internal Audits of Information Security Management Systems"})}),a[19]=ee):ee=a[19];let T;a[20]===Symbol.for("react.memo_cache_sentinel")?(T=m.jsx(ae,{to:"/business-continuity",className:"link-text-underline",children:m.jsx("span",{children:"NREN Business Continuity Planning"})}),a[20]=T):T=a[20];let P;a[21]===Symbol.for("react.memo_cache_sentinel")?(P=m.jsx(ae,{to:"/central-procurement",className:"link-text-underline",children:m.jsx("span",{children:"Central Procurement of Software"})}),a[21]=P):P=a[21];let fe;a[22]===Symbol.for("react.memo_cache_sentinel")?(fe=m.jsx(ae,{to:"/crisis-management",className:"link-text-underline",children:m.jsx("span",{children:"Crisis Management Procedures"})}),a[22]=fe):fe=a[22];let ce;a[23]===Symbol.for("react.memo_cache_sentinel")?(ce=m.jsx(ae,{to:"/crisis-exercise",className:"link-text-underline",children:m.jsx("span",{children:"Crisis Exercises - NREN Operation and Participation"})}),a[23]=ce):ce=a[23];let $;a[24]===Symbol.for("react.memo_cache_sentinel")?($=m.jsx(ae,{to:"/security-control",className:"link-text-underline",children:m.jsx("span",{children:"Security Controls Used by NRENs"})}),a[24]=$):$=a[24];let ie;a[25]===Symbol.for("react.memo_cache_sentinel")?(ie=m.jsx(ae,{to:"/services-offered",className:"link-text-underline",children:m.jsx("span",{children:"Services Offered by NRENs by Types of Users"})}),a[25]=ie):ie=a[25];let Le;a[26]===Symbol.for("react.memo_cache_sentinel")?(Le=m.jsx(ae,{to:"/corporate-strategy",className:"link-text-underline",children:m.jsx("span",{children:"NREN Corporate Strategies "})}),a[26]=Le):Le=a[26];let Pe;a[27]===Symbol.for("react.memo_cache_sentinel")?(Pe=m.jsx(ae,{to:"/service-level-targets",className:"link-text-underline",children:m.jsx("span",{children:"NRENs Offering Service Level Targets"})}),a[27]=Pe):Pe=a[27];let Ge;a[28]===Symbol.for("react.memo_cache_sentinel")?(Ge=m.jsxs(fr,{title:oi.Policy,startCollapsed:!0,children:[Z,Q,ee,T,P,fe,ce,$,ie,Le,Pe,m.jsx(ae,{to:"/service-management-framework",className:"link-text-underline",children:m.jsx("span",{children:"NRENs Operating a Formal Service Management Framework"})})]}),a[28]=Ge):Ge=a[28];let et;a[29]===Symbol.for("react.memo_cache_sentinel")?(et=m.jsx("h6",{className:"section-title",children:"Connected Users"}),a[29]=et):et=a[29];let Ne;a[30]===Symbol.for("react.memo_cache_sentinel")?(Ne=m.jsx(ae,{to:"/institutions-urls",className:"link-text-underline",children:m.jsx("span",{children:"Webpages Listing Institutions and Organisations Connected to NREN Networks"})}),a[30]=Ne):Ne=a[30];let K;a[31]===Symbol.for("react.memo_cache_sentinel")?(K=m.jsx(ae,{to:"/connected-proportion",className:"link-text-underline",children:m.jsx("span",{children:"Proportion of Different Categories of Institutions Served by NRENs"})}),a[31]=K):K=a[31];let se;a[32]===Symbol.for("react.memo_cache_sentinel")?(se=m.jsx(ae,{to:"/connectivity-level",className:"link-text-underline",children:m.jsx("span",{children:"Level of IP Connectivity by Institution Type"})}),a[32]=se):se=a[32];let F;a[33]===Symbol.for("react.memo_cache_sentinel")?(F=m.jsx(ae,{to:"/connection-carrier",className:"link-text-underline",children:m.jsx("span",{children:"Methods of Carrying IP Traffic to Users"})}),a[33]=F):F=a[33];let _e;a[34]===Symbol.for("react.memo_cache_sentinel")?(_e=m.jsx(ae,{to:"/connectivity-load",className:"link-text-underline",children:m.jsx("span",{children:"Connectivity Load"})}),a[34]=_e):_e=a[34];let _;a[35]===Symbol.for("react.memo_cache_sentinel")?(_=m.jsx(ae,{to:"/connectivity-growth",className:"link-text-underline",children:m.jsx("span",{children:"Connectivity Growth"})}),a[35]=_):_=a[35];let V,te,W;a[36]===Symbol.for("react.memo_cache_sentinel")?(V=m.jsx(ae,{to:"/remote-campuses",className:"link-text-underline",children:m.jsx("span",{children:"NREN Connectivity to Remote Campuses in Other Countries"})}),te=m.jsx("hr",{className:"fake-divider"}),W=m.jsx("h6",{className:"section-title",children:"Connected Users - Commercial"}),a[36]=V,a[37]=te,a[38]=W):(V=a[36],te=a[37],W=a[38]);let J;a[39]===Symbol.for("react.memo_cache_sentinel")?(J=m.jsx(ae,{to:"/commercial-charging-level",className:"link-text-underline",children:m.jsx("span",{children:"Commercial Charging Level"})}),a[39]=J):J=a[39];let ye;a[40]===Symbol.for("react.memo_cache_sentinel")?(ye=m.jsxs(fr,{title:oi.ConnectedUsers,startCollapsed:!0,children:[et,Ne,K,se,F,_e,_,V,te,W,J,m.jsx(ae,{to:"/commercial-connectivity",className:"link-text-underline",children:m.jsx("span",{children:"Commercial Connectivity"})})]}),a[40]=ye):ye=a[40];let ge;a[41]===Symbol.for("react.memo_cache_sentinel")?(ge=m.jsx("h6",{className:"section-title",children:"Connectivity"}),a[41]=ge):ge=a[41];let Ze;a[42]===Symbol.for("react.memo_cache_sentinel")?(Ze=m.jsx(ae,{to:"/traffic-volume",className:"link-text-underline",children:m.jsx("span",{children:"NREN Traffic - NREN Customers & External Networks"})}),a[42]=Ze):Ze=a[42];let Ce;a[43]===Symbol.for("react.memo_cache_sentinel")?(Ce=m.jsx(ae,{to:"/iru-duration",className:"link-text-underline",children:m.jsx("span",{children:"Average Duration of IRU leases of Fibre by NRENs"})}),a[43]=Ce):Ce=a[43];let xe;a[44]===Symbol.for("react.memo_cache_sentinel")?(xe=m.jsx(ae,{to:"/fibre-light",className:"link-text-underline",children:m.jsx("span",{children:"Approaches to lighting NREN fibre networks"})}),a[44]=xe):xe=a[44];let Te;a[45]===Symbol.for("react.memo_cache_sentinel")?(Te=m.jsx(ae,{to:"/dark-fibre-lease",className:"link-text-underline",children:m.jsx("span",{children:"Kilometres of Leased Dark Fibre (National)"})}),a[45]=Te):Te=a[45];let at;a[46]===Symbol.for("react.memo_cache_sentinel")?(at=m.jsx(ae,{to:"/dark-fibre-lease-international",className:"link-text-underline",children:m.jsx("span",{children:"Kilometres of Leased Dark Fibre (International)"})}),a[46]=at):at=a[46];let bt;a[47]===Symbol.for("react.memo_cache_sentinel")?(bt=m.jsx(ae,{to:"/dark-fibre-installed",className:"link-text-underline",children:m.jsx("span",{children:"Kilometres of Installed Dark Fibre"})}),a[47]=bt):bt=a[47];let Ke,Rt,ze;a[48]===Symbol.for("react.memo_cache_sentinel")?(Ke=m.jsx(ae,{to:"/network-map",className:"link-text-underline",children:m.jsx("span",{children:"NREN Network Maps"})}),Rt=m.jsx("hr",{className:"fake-divider"}),ze=m.jsx("h6",{className:"section-title",children:"Performance Monitoring & Management"}),a[48]=Ke,a[49]=Rt,a[50]=ze):(Ke=a[48],Rt=a[49],ze=a[50]);let St;a[51]===Symbol.for("react.memo_cache_sentinel")?(St=m.jsx(ae,{to:"/monitoring-tools",className:"link-text-underline",children:m.jsx("span",{children:"Tools for Monitoring or Troubleshooting the Network - Offered to Client Institutions"})}),a[51]=St):St=a[51];let qt;a[52]===Symbol.for("react.memo_cache_sentinel")?(qt=m.jsx(ae,{to:"/pert-team",className:"link-text-underline",children:m.jsx("span",{children:"NRENs with Performance Enhancement Response Teams"})}),a[52]=qt):qt=a[52];let en;a[53]===Symbol.for("react.memo_cache_sentinel")?(en=m.jsx(ae,{to:"/passive-monitoring",className:"link-text-underline",children:m.jsx("span",{children:"Methods for Passively Monitoring International Traffic"})}),a[53]=en):en=a[53];let dn;a[54]===Symbol.for("react.memo_cache_sentinel")?(dn=m.jsx(ae,{to:"/traffic-stats",className:"link-text-underline",children:m.jsx("span",{children:"Traffic Statistics "})}),a[54]=dn):dn=a[54];let hn;a[55]===Symbol.for("react.memo_cache_sentinel")?(hn=m.jsx(ae,{to:"/weather-map",className:"link-text-underline",children:m.jsx("span",{children:"NREN Online Network Weather Maps "})}),a[55]=hn):hn=a[55];let Tt;a[56]===Symbol.for("react.memo_cache_sentinel")?(Tt=m.jsx(ae,{to:"/certificate-provider",className:"link-text-underline",children:m.jsx("span",{children:"Certification Services used by NRENs"})}),a[56]=Tt):Tt=a[56];let Jt,On,ct;a[57]===Symbol.for("react.memo_cache_sentinel")?(Jt=m.jsx(ae,{to:"/siem-vendors",className:"link-text-underline",children:m.jsx("span",{children:"Vendors of SIEM/SOC systems used by NRENs"})}),On=m.jsx("hr",{className:"fake-divider"}),ct=m.jsx("h6",{className:"section-title",children:"Alienwave"}),a[57]=Jt,a[58]=On,a[59]=ct):(Jt=a[57],On=a[58],ct=a[59]);let wt;a[60]===Symbol.for("react.memo_cache_sentinel")?(wt=m.jsx(ae,{to:"/alien-wave",className:"link-text-underline",children:m.jsx("span",{children:"NREN Use of 3rd Party Alienwave/Lightpath Services"})}),a[60]=wt):wt=a[60];let be,Mt,kt;a[61]===Symbol.for("react.memo_cache_sentinel")?(be=m.jsx(ae,{to:"/alien-wave-internal",className:"link-text-underline",children:m.jsx("span",{children:"Internal NREN Use of Alien Waves"})}),Mt=m.jsx("hr",{className:"fake-divider"}),kt=m.jsx("h6",{className:"section-title",children:"Capacity"}),a[61]=be,a[62]=Mt,a[63]=kt):(be=a[61],Mt=a[62],kt=a[63]);let _a;a[64]===Symbol.for("react.memo_cache_sentinel")?(_a=m.jsx(ae,{to:"/capacity-largest-link",className:"link-text-underline",children:m.jsx("span",{children:"Capacity of the Largest Link in an NREN Network"})}),a[64]=_a):_a=a[64];let Vt;a[65]===Symbol.for("react.memo_cache_sentinel")?(Vt=m.jsx(ae,{to:"/external-connections",className:"link-text-underline",children:m.jsx("span",{children:"NREN External IP Connections"})}),a[65]=Vt):Vt=a[65];let Wn;a[66]===Symbol.for("react.memo_cache_sentinel")?(Wn=m.jsx(ae,{to:"/capacity-core-ip",className:"link-text-underline",children:m.jsx("span",{children:"NREN Core IP Capacity"})}),a[66]=Wn):Wn=a[66];let In;a[67]===Symbol.for("react.memo_cache_sentinel")?(In=m.jsx(ae,{to:"/non-rne-peers",className:"link-text-underline",children:m.jsx("span",{children:"Number of Non-R&E Networks NRENs Peer With"})}),a[67]=In):In=a[67];let tn,pt,ea;a[68]===Symbol.for("react.memo_cache_sentinel")?(tn=m.jsx(ae,{to:"/traffic-ratio",className:"link-text-underline",children:m.jsx("span",{children:"Types of traffic in NREN networks"})}),pt=m.jsx("hr",{className:"fake-divider"}),ea=m.jsx("h6",{className:"section-title",children:"Software-Defined Networking (SDN) & Network Function Virtualisation(NFV)"}),a[68]=tn,a[69]=pt,a[70]=ea):(tn=a[68],pt=a[69],ea=a[70]);let Nt;a[71]===Symbol.for("react.memo_cache_sentinel")?(Nt=m.jsx(ae,{to:"/ops-automation",className:"link-text-underline",children:m.jsx("span",{children:"NREN Automation of Operational Processes"})}),a[71]=Nt):Nt=a[71];let ht;a[72]===Symbol.for("react.memo_cache_sentinel")?(ht=m.jsx(ae,{to:"/network-automation",className:"link-text-underline",children:m.jsx("span",{children:"Network Tasks for which NRENs Use Automation "})}),a[72]=ht):ht=a[72];let Vn;a[73]===Symbol.for("react.memo_cache_sentinel")?(Vn=m.jsxs(fr,{title:oi.Network,startCollapsed:!0,children:[ge,Ze,Ce,xe,Te,at,bt,Ke,Rt,ze,St,qt,en,dn,hn,Tt,Jt,On,ct,wt,be,Mt,kt,_a,Vt,Wn,In,tn,pt,ea,Nt,ht,m.jsx(ae,{to:"/nfv",className:"link-text-underline",children:m.jsx("span",{children:"Kinds of Network Function Virtualisation used by NRENs"})})]}),a[73]=Vn):Vn=a[73];let Ra;a[74]===Symbol.for("react.memo_cache_sentinel")?(Ra=m.jsx(ae,{to:"/network-services",className:"link-text-underline",children:m.jsx("span",{children:"Network services"})}),a[74]=Ra):Ra=a[74];let ta;a[75]===Symbol.for("react.memo_cache_sentinel")?(ta=m.jsx(ae,{to:"/isp-support-services",className:"link-text-underline",children:m.jsx("span",{children:"ISP support services"})}),a[75]=ta):ta=a[75];let Dn;a[76]===Symbol.for("react.memo_cache_sentinel")?(Dn=m.jsx(ae,{to:"/security-services",className:"link-text-underline",children:m.jsx("span",{children:"Security services"})}),a[76]=Dn):Dn=a[76];let mn;a[77]===Symbol.for("react.memo_cache_sentinel")?(mn=m.jsx(ae,{to:"/identity-services",className:"link-text-underline",children:m.jsx("span",{children:"Identity services"})}),a[77]=mn):mn=a[77];let zt;a[78]===Symbol.for("react.memo_cache_sentinel")?(zt=m.jsx(ae,{to:"/collaboration-services",className:"link-text-underline",children:m.jsx("span",{children:"Collaboration services"})}),a[78]=zt):zt=a[78];let Ft;a[79]===Symbol.for("react.memo_cache_sentinel")?(Ft=m.jsx(ae,{to:"/multimedia-services",className:"link-text-underline",children:m.jsx("span",{children:"Multimedia services"})}),a[79]=Ft):Ft=a[79];let yn;a[80]===Symbol.for("react.memo_cache_sentinel")?(yn=m.jsx(ae,{to:"/storage-and-hosting-services",className:"link-text-underline",children:m.jsx("span",{children:"Storage and hosting services"})}),a[80]=yn):yn=a[80];let Ta;return a[81]===Symbol.for("react.memo_cache_sentinel")?(Ta=m.jsxs(m.Fragment,{children:[o,f,m.jsx(Wa,{className:"mt-5 mb-5",children:m.jsxs(qn,{children:[z,Ge,ye,Vn,m.jsxs(fr,{title:oi.Services,startCollapsed:!0,children:[Ra,ta,Dn,mn,zt,Ft,yn,m.jsx(ae,{to:"/professional-services",className:"link-text-underline",children:m.jsx("span",{children:"Professional services"})})]})]})})]}),a[81]=Ta):Ta=a[81],Ta}const DS=()=>{const a=ut.c(26),{consent:i,setConsent:u}=g.useContext(Ko),[c,o]=g.useState(i===null);let f;a[0]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{o(!1),window.location.reload()},a[0]=f):f=a[0];const h=f,[y,p]=g.useState(!0);let v;a[1]!==u?(v=P=>{const fe=new Date;fe.setDate(fe.getDate()+30),localStorage.setItem("matomo_consent",JSON.stringify({consent:P,expiry:fe})),u(P)},a[1]=u,a[2]=v):v=a[2];const b=v;let C;a[3]===Symbol.for("react.memo_cache_sentinel")?(C=m.jsx(or.Header,{closeButton:!0,children:m.jsx(or.Title,{children:"Privacy on this site"})}),a[3]=C):C=a[3];let x;a[4]===Symbol.for("react.memo_cache_sentinel")?(x=m.jsx("a",{href:"https://geant.org/Privacy-Notice/",children:"Privacy Policy"}),a[4]=x):x=a[4];let R;a[5]===Symbol.for("react.memo_cache_sentinel")?(R=m.jsxs("p",{children:["On our site we use Matomo to collect and process data about your visit to better understand how it is used. For more information, see our ",x,".",m.jsx("br",{}),"Below, you can choose to accept or decline to have this data collected."]}),a[5]=R):R=a[5];let A;a[6]!==y?(A=()=>p(!y),a[6]=y,a[7]=A):A=a[7];let H;a[8]!==y||a[9]!==A?(H=m.jsx(Ou.Check,{type:"checkbox",label:"Analytics",checked:y,onChange:A}),a[8]=y,a[9]=A,a[10]=H):H=a[10];let k;a[11]===Symbol.for("react.memo_cache_sentinel")?(k=m.jsx(Ou.Text,{className:"text-muted",children:"We collect information about your visit on the compendium site — this helps us understand how the site is used, and how we can improve it."}),a[11]=k):k=a[11];let z;a[12]!==H?(z=m.jsxs(or.Body,{children:[R,m.jsx(Ou,{children:m.jsxs(Ou.Group,{className:"mb-3",children:[H,k]})})]}),a[12]=H,a[13]=z):z=a[13];let Z;a[14]!==b?(Z=m.jsx(Lo,{variant:"secondary",onClick:()=>{b(!1),h()},children:"Decline all"}),a[14]=b,a[15]=Z):Z=a[15];let Q;a[16]!==y||a[17]!==b?(Q=m.jsx(Lo,{variant:"primary",onClick:()=>{b(y),h()},children:"Save consent for 30 days"}),a[16]=y,a[17]=b,a[18]=Q):Q=a[18];let ee;a[19]!==Q||a[20]!==Z?(ee=m.jsxs(or.Footer,{children:[Z,Q]}),a[19]=Q,a[20]=Z,a[21]=ee):ee=a[21];let T;return a[22]!==c||a[23]!==ee||a[24]!==z?(T=m.jsxs(or,{show:c,centered:!0,children:[C,z,ee]}),a[22]=c,a[23]=ee,a[24]=z,a[25]=T):T=a[25],T},AS=g.lazy(()=>ve(()=>import("./Budget-Dcza_nDS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]))),wS=g.lazy(()=>ve(()=>import("./ChargingStructure-LPcFjEsG.js"),__vite__mapDeps([8,2,3,4,5,6,9,10,11]))),MS=g.lazy(()=>ve(()=>import("./ECProjects-ChLCZHki.js"),__vite__mapDeps([12,2,3,4,5,6,13,11]))),zS=g.lazy(()=>ve(()=>import("./FundingSource-Bwu0iwfm.js"),__vite__mapDeps([14,1,2,3,4,5,6,15]))),LS=g.lazy(()=>ve(()=>import("./ParentOrganisation-D0KpPI2s.js"),__vite__mapDeps([16,2,3,4,5,6,13,11]))),Ny=g.lazy(()=>ve(()=>import("./StaffGraph-BWU39hrJ.js"),__vite__mapDeps([17,1,2,3,4,5,6,18]))),US=g.lazy(()=>ve(()=>import("./StaffGraphAbsolute-CMxNAPzl.js"),__vite__mapDeps([19,1,2,3,4,5,6,15,7]))),HS=g.lazy(()=>ve(()=>import("./SubOrganisation-BBUAiix9.js"),__vite__mapDeps([20,2,3,4,5,6,13,11]))),BS=g.lazy(()=>ve(()=>import("./Audits-tIxneKrE.js"),__vite__mapDeps([21,2,3,4,5,6,9,10,11]))),qS=g.lazy(()=>ve(()=>import("./BusinessContinuity-WayIenw9.js"),__vite__mapDeps([22,2,3,4,5,6,9,10,11]))),kS=g.lazy(()=>ve(()=>import("./CentralProcurement-ILLJKzCj.js"),__vite__mapDeps([23,2,3,4,5,6,15,1,7]))),VS=g.lazy(()=>ve(()=>import("./CorporateStrategy-DZFOGJiQ.js"),__vite__mapDeps([24,2,3,4,5,6,13,11]))),YS=g.lazy(()=>ve(()=>import("./CrisisExercises-DgB-Jzeh.js"),__vite__mapDeps([25,2,3,4,5,6,9,10,11]))),GS=g.lazy(()=>ve(()=>import("./CrisisManagement-C6sQvzSe.js"),__vite__mapDeps([26,2,3,4,5,6,9,10,11]))),XS=g.lazy(()=>ve(()=>import("./EOSCListings-DH_4uObR.js"),__vite__mapDeps([27,2,3,4,5,6,13,11]))),QS=g.lazy(()=>ve(()=>import("./Policy-CyBHQ4RU.js"),__vite__mapDeps([28,2,3,4,5,6,13,11]))),ZS=g.lazy(()=>ve(()=>import("./SecurityControls-cN55VGDF.js"),__vite__mapDeps([29,2,3,4,5,6,9,10,11]))),KS=g.lazy(()=>ve(()=>import("./ServiceLevelTargets-CAul_Bb5.js"),__vite__mapDeps([30,2,3,4,5,6,9,10,11]))),$S=g.lazy(()=>ve(()=>import("./ServiceManagementFramework-Dr5HjYSA.js"),__vite__mapDeps([31,2,3,4,5,6,9,10,11]))),JS=g.lazy(()=>ve(()=>import("./ServicesOffered-Z3IepUcf.js"),__vite__mapDeps([32,2,3,4,5,6,33,11]))),FS=g.lazy(()=>ve(()=>import("./ConnectedInstitutionsURLs-MamPTDnd.js"),__vite__mapDeps([34,2,3,4,5,6,13,11]))),bl=g.lazy(()=>ve(()=>import("./ConnectedUser-CSVPvLMN.js"),__vite__mapDeps([35,2,3,4,5,6,33,11]))),PS=g.lazy(()=>ve(()=>import("./RemoteCampuses-NUiCskMY.js"),__vite__mapDeps([36,2,3,4,5,6,11]))),WS=g.lazy(()=>ve(()=>import("./AlienWave-CoaJ4Ch0.js"),__vite__mapDeps([37,2,3,4,5,6,9,10,11]))),IS=g.lazy(()=>ve(()=>import("./AlienWaveInternal-F5JHtmfW.js"),__vite__mapDeps([38,2,3,4,5,6,9,10,11]))),ex=g.lazy(()=>ve(()=>import("./Automation-4jvTE-gK.js"),__vite__mapDeps([39,2,3,4,5,6,10,11]))),tx=g.lazy(()=>ve(()=>import("./CapacityCoreIP-DyN3YGAW.js"),__vite__mapDeps([40,1,2,3,4,5,6,15,7]))),nx=g.lazy(()=>ve(()=>import("./CapacityLargestLink-Dk26I_at.js"),__vite__mapDeps([41,1,2,3,4,5,6,15,7]))),ax=g.lazy(()=>ve(()=>import("./CertificateProvider-4SfZ4yzo.js"),__vite__mapDeps([42,2,3,4,5,6,9,10,11]))),Cy=g.lazy(()=>ve(()=>import("./DarkFibreLease-D0G5a_C_.js"),__vite__mapDeps([43,1,2,3,4,5,6,7]))),lx=g.lazy(()=>ve(()=>import("./DarkFibreInstalled-BEuXjlBR.js"),__vite__mapDeps([44,1,2,3,4,5,6,7]))),ix=g.lazy(()=>ve(()=>import("./ExternalConnections-CI7Oci1W.js"),__vite__mapDeps([45,2,3,4,5,6,11]))),rx=g.lazy(()=>ve(()=>import("./FibreLight-CWljRLcS.js"),__vite__mapDeps([46,2,3,4,5,6,9,10,11]))),ux=g.lazy(()=>ve(()=>import("./IRUDuration-DwT4l7iu.js"),__vite__mapDeps([47,1,2,3,4,5,6,7]))),cx=g.lazy(()=>ve(()=>import("./MonitoringTools-D5EolQI7.js"),__vite__mapDeps([48,2,3,4,5,6,9,10,11]))),sx=g.lazy(()=>ve(()=>import("./NetworkFunctionVirtualisation-Ci3ZHBJN.js"),__vite__mapDeps([49,2,3,4,5,6,10,11]))),ox=g.lazy(()=>ve(()=>import("./NetworkMapUrls-CYYKJL7A.js"),__vite__mapDeps([50,2,3,4,5,6,13,11]))),fx=g.lazy(()=>ve(()=>import("./NonRAndEPeer-OZTW6B0e.js"),__vite__mapDeps([51,1,2,3,4,5,6,15,7]))),dx=g.lazy(()=>ve(()=>import("./OPsAutomation-BzaiKZKL.js"),__vite__mapDeps([52,2,3,4,5,6,9,10,11]))),hx=g.lazy(()=>ve(()=>import("./PassiveMonitoring-DrHRNpwv.js"),__vite__mapDeps([53,2,3,4,5,6,9,10,11]))),mx=g.lazy(()=>ve(()=>import("./PertTeam-B3F3NYFc.js"),__vite__mapDeps([54,2,3,4,5,6,9,10,11]))),yx=g.lazy(()=>ve(()=>import("./SiemVendors-BpJ6Liws.js"),__vite__mapDeps([55,2,3,4,5,6,9,10,11]))),px=g.lazy(()=>ve(()=>import("./TrafficRatio-BRasghA5.js"),__vite__mapDeps([56,1,2,3,4,5,6,18]))),vx=g.lazy(()=>ve(()=>import("./TrafficUrl-DrUJ6TNq.js"),__vite__mapDeps([57,2,3,4,5,6,13,11]))),gx=g.lazy(()=>ve(()=>import("./TrafficVolume-DIkzyQG4.js"),__vite__mapDeps([58,1,2,3,4,5,6,7]))),Ex=g.lazy(()=>ve(()=>import("./WeatherMap-BWtEGyUR.js"),__vite__mapDeps([59,2,3,4,5,6,13,11]))),Ka=g.lazy(()=>ve(()=>import("./Services-UuW4JfkB.js"),__vite__mapDeps([60,2,3,4,5,6,11]))),bx=g.lazy(()=>ve(()=>import("./Landing-f86DzYca.js"),__vite__mapDeps([61,62,63,3,4,11]))),_o=g.lazy(()=>ve(()=>import("./SurveyContainerComponent-BkQFvQxZ.js"),__vite__mapDeps([64,65,66,63,3,67]))),Sx=g.lazy(()=>ve(()=>import("./SurveyManagementComponent-D0-UtyLi.js"),__vite__mapDeps([68,69,6,11,65,66,62,63,3]))),xx=g.lazy(()=>ve(()=>import("./UserManagementComponent-Ch5kCM4m.js"),__vite__mapDeps([70,65,63,3,5,69,6,11]))),_x=()=>{const a=ut.c(9),{pathname:i}=Pn(),u=i!=="/";let c;a[0]===Symbol.for("react.memo_cache_sentinel")?(c=m.jsx(cS,{}),a[0]=c):c=a[0];let o;a[1]!==u?(o=m.jsx("main",{className:"grow",children:u?m.jsx(_1,{}):m.jsx(Up,{})}),a[1]=u,a[2]=o):o=a[2];let f;a[3]===Symbol.for("react.memo_cache_sentinel")?(f=m.jsx(DS,{}),a[3]=f):f=a[3];let h;a[4]!==o?(h=m.jsxs(OE,{children:[c,o,f]}),a[4]=o,a[5]=h):h=a[5];let y;a[6]===Symbol.for("react.memo_cache_sentinel")?(y=m.jsx(fS,{}),a[6]=y):y=a[6];let p;return a[7]!==h?(p=m.jsxs(m.Fragment,{children:[h,y]}),a[7]=h,a[8]=p):p=a[8],p},Rx=J1([{path:"",element:m.jsx(_x,{}),children:[{path:"/budget",element:m.jsx(AS,{})},{path:"/funding",element:m.jsx(zS,{})},{path:"/employment",element:m.jsx(Ny,{},"staffgraph")},{path:"/traffic-ratio",element:m.jsx(px,{})},{path:"/roles",element:m.jsx(Ny,{roles:!0},"staffgraphroles")},{path:"/employee-count",element:m.jsx(US,{})},{path:"/charging",element:m.jsx(wS,{})},{path:"/suborganisations",element:m.jsx(HS,{})},{path:"/parentorganisation",element:m.jsx(LS,{})},{path:"/ec-projects",element:m.jsx(MS,{})},{path:"/policy",element:m.jsx(QS,{})},{path:"/traffic-volume",element:m.jsx(gx,{})},{path:"/data",element:m.jsx(OS,{})},{path:"/institutions-urls",element:m.jsx(FS,{})},{path:"/connected-proportion",element:m.jsx(bl,{page:$t.ConnectedProportion},$t.ConnectedProportion)},{path:"/connectivity-level",element:m.jsx(bl,{page:$t.ConnectivityLevel},$t.ConnectivityLevel)},{path:"/connectivity-growth",element:m.jsx(bl,{page:$t.ConnectivityGrowth},$t.ConnectivityGrowth)},{path:"/connection-carrier",element:m.jsx(bl,{page:$t.ConnectionCarrier},$t.ConnectionCarrier)},{path:"/connectivity-load",element:m.jsx(bl,{page:$t.ConnectivityLoad},$t.ConnectivityLoad)},{path:"/commercial-charging-level",element:m.jsx(bl,{page:$t.CommercialChargingLevel},$t.CommercialChargingLevel)},{path:"/commercial-connectivity",element:m.jsx(bl,{page:$t.CommercialConnectivity},$t.CommercialConnectivity)},{path:"/network-services",element:m.jsx(Ka,{category:Bt.network_services},Bt.network_services)},{path:"/isp-support-services",element:m.jsx(Ka,{category:Bt.isp_support},Bt.isp_support)},{path:"/security-services",element:m.jsx(Ka,{category:Bt.security},Bt.security)},{path:"/identity-services",element:m.jsx(Ka,{category:Bt.identity},Bt.identity)},{path:"/collaboration-services",element:m.jsx(Ka,{category:Bt.collaboration},Bt.collaboration)},{path:"/multimedia-services",element:m.jsx(Ka,{category:Bt.multimedia},Bt.multimedia)},{path:"/storage-and-hosting-services",element:m.jsx(Ka,{category:Bt.storage_and_hosting},Bt.storage_and_hosting)},{path:"/professional-services",element:m.jsx(Ka,{category:Bt.professional_services},Bt.professional_services)},{path:"/dark-fibre-lease",element:m.jsx(Cy,{national:!0},"darkfibrenational")},{path:"/dark-fibre-lease-international",element:m.jsx(Cy,{},"darkfibreinternational")},{path:"/dark-fibre-installed",element:m.jsx(lx,{})},{path:"/remote-campuses",element:m.jsx(PS,{})},{path:"/eosc-listings",element:m.jsx(XS,{})},{path:"/fibre-light",element:m.jsx(rx,{})},{path:"/monitoring-tools",element:m.jsx(cx,{})},{path:"/pert-team",element:m.jsx(mx,{})},{path:"/passive-monitoring",element:m.jsx(hx,{})},{path:"/alien-wave",element:m.jsx(WS,{})},{path:"/alien-wave-internal",element:m.jsx(IS,{})},{path:"/external-connections",element:m.jsx(ix,{})},{path:"/ops-automation",element:m.jsx(dx,{})},{path:"/network-automation",element:m.jsx(ex,{})},{path:"/traffic-stats",element:m.jsx(vx,{})},{path:"/weather-map",element:m.jsx(Ex,{})},{path:"/network-map",element:m.jsx(ox,{})},{path:"/nfv",element:m.jsx(sx,{})},{path:"/certificate-providers",element:m.jsx(ax,{})},{path:"/siem-vendors",element:m.jsx(yx,{})},{path:"/capacity-largest-link",element:m.jsx(nx,{})},{path:"/capacity-core-ip",element:m.jsx(tx,{})},{path:"/non-rne-peers",element:m.jsx(fx,{})},{path:"/iru-duration",element:m.jsx(ux,{})},{path:"/audits",element:m.jsx(BS,{})},{path:"/business-continuity",element:m.jsx(qS,{})},{path:"/crisis-management",element:m.jsx(GS,{})},{path:"/crisis-exercise",element:m.jsx(YS,{})},{path:"/central-procurement",element:m.jsx(kS,{})},{path:"/security-control",element:m.jsx(ZS,{})},{path:"/services-offered",element:m.jsx(JS,{})},{path:"/service-management-framework",element:m.jsx($S,{})},{path:"/service-level-targets",element:m.jsx(KS,{})},{path:"/corporate-strategy",element:m.jsx(VS,{})},{path:"/survey/admin/surveys",element:m.jsx(Sx,{})},{path:"/survey/admin/users",element:m.jsx(xx,{})},{path:"/survey/admin/inspect/:year",element:m.jsx(_o,{loadFrom:"/api/response/inspect/"})},{path:"/survey/admin/try/:year",element:m.jsx(_o,{loadFrom:"/api/response/try/"})},{path:"/survey/response/:year/:nren",element:m.jsx(_o,{loadFrom:"/api/response/load/"})},{path:"/survey/*",element:m.jsx(bx,{})},{path:"*",element:m.jsx(Up,{})}]}]);function Tx(){const a=ut.c(1);let i;return a[0]===Symbol.for("react.memo_cache_sentinel")?(i=m.jsx("div",{className:"app",children:m.jsx(cE,{router:Rx})}),a[0]=i):i=a[0],i}const Nx=document.getElementById("root"),Cx=t0.createRoot(Nx);Cx.render(m.jsx(Xt.StrictMode,{children:m.jsx(Tx,{})}));export{Dx as $,Vy as A,mb as B,on as C,Wa as D,NS as E,hE as F,yE as G,Lp as H,CS as I,RS as J,Ou as K,ae as L,jS as M,EE as N,SS as O,Fy as P,xS as Q,qn as R,oi as S,qp as T,Mx as U,Bt as V,Zo as W,Yu as X,jy as Y,Ax as Z,wE as _,$t as a,lb as a0,eb as a1,tp as a2,Nl as a3,Sl as a4,Do as a5,Ja as a6,_l as a7,tb as a8,Ox as a9,Io as aa,CE as ab,zx as b,ut as c,Lx as d,fr as e,Xt as f,ip as g,Ve as h,we as i,m as j,ub as k,vy as l,Hu as m,Cb as n,Ku as o,Wo as p,cb as q,g as r,ui as s,np as t,Rl as u,lp as v,wx as w,Lo as x,UE as y,zo as z}; diff --git a/compendium_v2/static/lodash-BjwYmmCl.js b/compendium_v2/static/lodash-CQPIyBv7.js similarity index 94% rename from compendium_v2/static/lodash-BjwYmmCl.js rename to compendium_v2/static/lodash-CQPIyBv7.js index e696e2e1..b1b2ba52 100644 --- a/compendium_v2/static/lodash-BjwYmmCl.js +++ b/compendium_v2/static/lodash-CQPIyBv7.js @@ -1,4 +1,4 @@ -import{i as vo,r as X,j as On,a1 as A_,a2 as y_,a3 as m_,c as Et,a4 as xo,a5 as E_,a6 as R_,a7 as I_,a8 as C_,a9 as S_,u as $t,aa as cr}from"./main-BIBsTO5W.js";import{u as T_}from"./hook-DmuGcAOd.js";function he(...W){return W.filter(I=>I!=null).reduce((I,o)=>{if(typeof o!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return I===null?o:function(...U){I.apply(this,U),o.apply(this,U)}},null)}const L_={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function O_(W,I){const o=`offset${W[0].toUpperCase()}${W.slice(1)}`,$=I[o],U=L_[W];return $+parseInt(xo(I,U[0]),10)+parseInt(xo(I,U[1]),10)}const W_={[E_]:"collapse",[R_]:"collapsing",[I_]:"collapsing",[C_]:"collapse show"},B_=vo.forwardRef(({onEnter:W,onEntering:I,onEntered:o,onExit:$,onExiting:U,className:k,children:L,dimension:nn="height",in:rn=!1,timeout:ht=300,mountOnEnter:Wn=!1,unmountOnExit:an=!1,appear:_e=!1,getDimensionValue:Kn=O_,...zn},Rt)=>{const N=typeof nn=="function"?nn():nn,et=X.useMemo(()=>he(J=>{J.style[N]="0"},W),[N,W]),de=X.useMemo(()=>he(J=>{const _n=`scroll${N[0].toUpperCase()}${N.slice(1)}`;J.style[N]=`${J[_n]}px`},I),[N,I]),Bn=X.useMemo(()=>he(J=>{J.style[N]=null},o),[N,o]),gt=X.useMemo(()=>he(J=>{J.style[N]=`${Kn(N,J)}px`,S_(J)},$),[$,Kn,N]),Mn=X.useMemo(()=>he(J=>{J.style[N]=null},U),[N,U]);return On.jsx(A_,{ref:Rt,addEndListener:y_,...zn,"aria-expanded":zn.role?rn:null,onEnter:et,onEntering:de,onEntered:Bn,onExit:gt,onExiting:Mn,childRef:m_(L),in:rn,timeout:ht,mountOnEnter:Wn,unmountOnExit:an,appear:_e,children:(J,_n)=>vo.cloneElement(L,{..._n,className:Et(k,L.props.className,W_[J],N==="width"&&"collapse-horizontal")})})});function Ao(W,I){return Array.isArray(W)?W.includes(I):W===I}const pe=X.createContext({});pe.displayName="AccordionContext";const Pi=X.forwardRef(({as:W="div",bsPrefix:I,className:o,children:$,eventKey:U,...k},L)=>{const{activeEventKey:nn}=X.useContext(pe);return I=$t(I,"accordion-collapse"),On.jsx(B_,{ref:L,in:Ao(nn,U),...k,className:Et(o,I),children:On.jsx(W,{children:X.Children.only($)})})});Pi.displayName="AccordionCollapse";const hr=X.createContext({eventKey:""});hr.displayName="AccordionItemContext";const yo=X.forwardRef(({as:W="div",bsPrefix:I,className:o,onEnter:$,onEntering:U,onEntered:k,onExit:L,onExiting:nn,onExited:rn,...ht},Wn)=>{I=$t(I,"accordion-body");const{eventKey:an}=X.useContext(hr);return On.jsx(Pi,{eventKey:an,onEnter:$,onEntering:U,onEntered:k,onExit:L,onExiting:nn,onExited:rn,children:On.jsx(W,{ref:Wn,...ht,className:Et(o,I)})})});yo.displayName="AccordionBody";function M_(W,I){const{activeEventKey:o,onSelect:$,alwaysOpen:U}=X.useContext(pe);return k=>{let L=W===o?null:W;U&&(Array.isArray(o)?o.includes(W)?L=o.filter(nn=>nn!==W):L=[...o,W]:L=[W]),$==null||$(L,k),I==null||I(k)}}const bi=X.forwardRef(({as:W="button",bsPrefix:I,className:o,onClick:$,...U},k)=>{I=$t(I,"accordion-button");const{eventKey:L}=X.useContext(hr),nn=M_(L,$),{activeEventKey:rn}=X.useContext(pe);return W==="button"&&(U.type="button"),On.jsx(W,{ref:k,onClick:nn,...U,"aria-expanded":Array.isArray(rn)?rn.includes(L):L===rn,className:Et(o,I,!Ao(rn,L)&&"collapsed")})});bi.displayName="AccordionButton";const mo=X.forwardRef(({as:W="h2","aria-controls":I,bsPrefix:o,className:$,children:U,onClick:k,...L},nn)=>(o=$t(o,"accordion-header"),On.jsx(W,{ref:nn,...L,className:Et($,o),children:On.jsx(bi,{onClick:k,"aria-controls":I,children:U})})));mo.displayName="AccordionHeader";const Eo=X.forwardRef(({as:W="div",bsPrefix:I,className:o,eventKey:$,...U},k)=>{I=$t(I,"accordion-item");const L=X.useMemo(()=>({eventKey:$}),[$]);return On.jsx(hr.Provider,{value:L,children:On.jsx(W,{ref:k,...U,className:Et(o,I)})})});Eo.displayName="AccordionItem";const Ro=X.forwardRef((W,I)=>{const{as:o="div",activeKey:$,bsPrefix:U,className:k,onSelect:L,flush:nn,alwaysOpen:rn,...ht}=T_(W,{activeKey:"onSelect"}),Wn=$t(U,"accordion"),an=X.useMemo(()=>({activeEventKey:$,onSelect:L,alwaysOpen:rn}),[$,L,rn]);return On.jsx(pe.Provider,{value:an,children:On.jsx(o,{ref:I,...ht,className:Et(k,Wn,nn&&`${Wn}-flush`)})})});Ro.displayName="Accordion";const D_=Object.assign(Ro,{Button:bi,Collapse:Pi,Item:Eo,Header:mo,Body:yo});var ge={exports:{}};/** +import{f as vo,r as X,j as On,a0 as A_,a1 as y_,a2 as m_,i as Et,a3 as xo,a4 as E_,a5 as R_,a6 as I_,a7 as C_,a8 as S_,h as $t,a9 as cr}from"./index.js";import{u as T_}from"./hook-GVc5uk5F.js";function he(...W){return W.filter(I=>I!=null).reduce((I,o)=>{if(typeof o!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return I===null?o:function(...U){I.apply(this,U),o.apply(this,U)}},null)}const L_={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function O_(W,I){const o=`offset${W[0].toUpperCase()}${W.slice(1)}`,$=I[o],U=L_[W];return $+parseInt(xo(I,U[0]),10)+parseInt(xo(I,U[1]),10)}const W_={[E_]:"collapse",[R_]:"collapsing",[I_]:"collapsing",[C_]:"collapse show"},B_=vo.forwardRef(({onEnter:W,onEntering:I,onEntered:o,onExit:$,onExiting:U,className:k,children:L,dimension:nn="height",in:rn=!1,timeout:ht=300,mountOnEnter:Wn=!1,unmountOnExit:an=!1,appear:_e=!1,getDimensionValue:Kn=O_,...zn},Rt)=>{const N=typeof nn=="function"?nn():nn,et=X.useMemo(()=>he(J=>{J.style[N]="0"},W),[N,W]),de=X.useMemo(()=>he(J=>{const _n=`scroll${N[0].toUpperCase()}${N.slice(1)}`;J.style[N]=`${J[_n]}px`},I),[N,I]),Bn=X.useMemo(()=>he(J=>{J.style[N]=null},o),[N,o]),gt=X.useMemo(()=>he(J=>{J.style[N]=`${Kn(N,J)}px`,S_(J)},$),[$,Kn,N]),Mn=X.useMemo(()=>he(J=>{J.style[N]=null},U),[N,U]);return On.jsx(A_,{ref:Rt,addEndListener:y_,...zn,"aria-expanded":zn.role?rn:null,onEnter:et,onEntering:de,onEntered:Bn,onExit:gt,onExiting:Mn,childRef:m_(L),in:rn,timeout:ht,mountOnEnter:Wn,unmountOnExit:an,appear:_e,children:(J,_n)=>vo.cloneElement(L,{..._n,className:Et(k,L.props.className,W_[J],N==="width"&&"collapse-horizontal")})})});function Ao(W,I){return Array.isArray(W)?W.includes(I):W===I}const pe=X.createContext({});pe.displayName="AccordionContext";const Pi=X.forwardRef(({as:W="div",bsPrefix:I,className:o,children:$,eventKey:U,...k},L)=>{const{activeEventKey:nn}=X.useContext(pe);return I=$t(I,"accordion-collapse"),On.jsx(B_,{ref:L,in:Ao(nn,U),...k,className:Et(o,I),children:On.jsx(W,{children:X.Children.only($)})})});Pi.displayName="AccordionCollapse";const hr=X.createContext({eventKey:""});hr.displayName="AccordionItemContext";const yo=X.forwardRef(({as:W="div",bsPrefix:I,className:o,onEnter:$,onEntering:U,onEntered:k,onExit:L,onExiting:nn,onExited:rn,...ht},Wn)=>{I=$t(I,"accordion-body");const{eventKey:an}=X.useContext(hr);return On.jsx(Pi,{eventKey:an,onEnter:$,onEntering:U,onEntered:k,onExit:L,onExiting:nn,onExited:rn,children:On.jsx(W,{ref:Wn,...ht,className:Et(o,I)})})});yo.displayName="AccordionBody";function M_(W,I){const{activeEventKey:o,onSelect:$,alwaysOpen:U}=X.useContext(pe);return k=>{let L=W===o?null:W;U&&(Array.isArray(o)?o.includes(W)?L=o.filter(nn=>nn!==W):L=[...o,W]:L=[W]),$==null||$(L,k),I==null||I(k)}}const bi=X.forwardRef(({as:W="button",bsPrefix:I,className:o,onClick:$,...U},k)=>{I=$t(I,"accordion-button");const{eventKey:L}=X.useContext(hr),nn=M_(L,$),{activeEventKey:rn}=X.useContext(pe);return W==="button"&&(U.type="button"),On.jsx(W,{ref:k,onClick:nn,...U,"aria-expanded":Array.isArray(rn)?rn.includes(L):L===rn,className:Et(o,I,!Ao(rn,L)&&"collapsed")})});bi.displayName="AccordionButton";const mo=X.forwardRef(({as:W="h2","aria-controls":I,bsPrefix:o,className:$,children:U,onClick:k,...L},nn)=>(o=$t(o,"accordion-header"),On.jsx(W,{ref:nn,...L,className:Et($,o),children:On.jsx(bi,{onClick:k,"aria-controls":I,children:U})})));mo.displayName="AccordionHeader";const Eo=X.forwardRef(({as:W="div",bsPrefix:I,className:o,eventKey:$,...U},k)=>{I=$t(I,"accordion-item");const L=X.useMemo(()=>({eventKey:$}),[$]);return On.jsx(hr.Provider,{value:L,children:On.jsx(W,{ref:k,...U,className:Et(o,I)})})});Eo.displayName="AccordionItem";const Ro=X.forwardRef((W,I)=>{const{as:o="div",activeKey:$,bsPrefix:U,className:k,onSelect:L,flush:nn,alwaysOpen:rn,...ht}=T_(W,{activeKey:"onSelect"}),Wn=$t(U,"accordion"),an=X.useMemo(()=>({activeEventKey:$,onSelect:L,alwaysOpen:rn}),[$,L,rn]);return On.jsx(pe.Provider,{value:an,children:On.jsx(o,{ref:I,...ht,className:Et(k,Wn,nn&&`${Wn}-flush`)})})});Ro.displayName="Accordion";const D_=Object.assign(Ro,{Button:bi,Collapse:Pi,Item:Eo,Header:mo,Body:yo});var ge={exports:{}};/** * @license * Lodash <https://lodash.com/> * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> diff --git a/compendium_v2/static/main-BIBsTO5W.js b/compendium_v2/static/main-BIBsTO5W.js deleted file mode 100644 index 3c7e2fa7..00000000 --- a/compendium_v2/static/main-BIBsTO5W.js +++ /dev/null @@ -1,82 +0,0 @@ -var gp=Object.defineProperty;var pp=(l,u,c)=>u in l?gp(l,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[u]=c;var vm=(l,u,c)=>pp(l,typeof u!="symbol"?u+"":u,c);(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))f(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const h of s.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&f(h)}).observe(document,{childList:!0,subtree:!0});function c(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function f(o){if(o.ep)return;o.ep=!0;const s=c(o);fetch(o.href,s)}})();var Yb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wu(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Vf={exports:{}},Xu={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var gm;function Ep(){if(gm)return Xu;gm=1;var l=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function c(f,o,s){var h=null;if(s!==void 0&&(h=""+s),o.key!==void 0&&(h=""+o.key),"key"in o){s={};for(var y in o)y!=="key"&&(s[y]=o[y])}else s=o;return o=s.ref,{$$typeof:l,type:f,key:h,ref:o!==void 0?o:null,props:s}}return Xu.Fragment=u,Xu.jsx=c,Xu.jsxs=c,Xu}var pm;function bp(){return pm||(pm=1,Vf.exports=Ep()),Vf.exports}var j=bp(),Qf={exports:{}},Re={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Em;function Sp(){if(Em)return Re;Em=1;var l=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),h=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),M=Symbol.iterator;function S(R){return R===null||typeof R!="object"?null:(R=M&&R[M]||R["@@iterator"],typeof R=="function"?R:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,q={};function V(R,G,te){this.props=R,this.context=G,this.refs=q,this.updater=te||D}V.prototype.isReactComponent={},V.prototype.setState=function(R,G){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,G,"setState")},V.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function U(){}U.prototype=V.prototype;function Z(R,G,te){this.props=R,this.context=G,this.refs=q,this.updater=te||D}var K=Z.prototype=new U;K.constructor=Z,N(K,V.prototype),K.isPureReactComponent=!0;var le=Array.isArray,x={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function he(R,G,te,I,J,ve){return te=ve.ref,{$$typeof:l,type:R,key:G,ref:te!==void 0?te:null,props:ve}}function oe(R,G){return he(R.type,G,void 0,void 0,void 0,R.props)}function $(R){return typeof R=="object"&&R!==null&&R.$$typeof===l}function ie(R){var G={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(te){return G[te]})}var He=/\/+/g;function ut(R,G){return typeof R=="object"&&R!==null&&R.key!=null?ie(""+R.key):G.toString(36)}function Je(){}function dt(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(Je,Je):(R.status="pending",R.then(function(G){R.status==="pending"&&(R.status="fulfilled",R.value=G)},function(G){R.status==="pending"&&(R.status="rejected",R.reason=G)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function Me(R,G,te,I,J){var ve=typeof R;(ve==="undefined"||ve==="boolean")&&(R=null);var pe=!1;if(R===null)pe=!0;else switch(ve){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(R.$$typeof){case l:case u:pe=!0;break;case b:return pe=R._init,Me(pe(R._payload),G,te,I,J)}}if(pe)return J=J(R),pe=I===""?"."+ut(R,0):I,le(J)?(te="",pe!=null&&(te=pe.replace(He,"$&/")+"/"),Me(J,G,te,"",function(Se){return Se})):J!=null&&($(J)&&(J=oe(J,te+(J.key==null||R&&R.key===J.key?"":(""+J.key).replace(He,"$&/")+"/")+pe)),G.push(J)),1;pe=0;var Ie=I===""?".":I+":";if(le(R))for(var _e=0;_e<R.length;_e++)I=R[_e],ve=Ie+ut(I,_e),pe+=Me(I,G,te,ve,J);else if(_e=S(R),typeof _e=="function")for(R=_e.call(R),_e=0;!(I=R.next()).done;)I=I.value,ve=Ie+ut(I,_e++),pe+=Me(I,G,te,ve,J);else if(ve==="object"){if(typeof R.then=="function")return Me(dt(R),G,te,I,J);throw G=String(R),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return pe}function k(R,G,te){if(R==null)return R;var I=[],J=0;return Me(R,I,"","",function(ve){return G.call(te,ve,J++)}),I}function se(R){if(R._status===-1){var G=R._result;G=G(),G.then(function(te){(R._status===0||R._status===-1)&&(R._status=1,R._result=te)},function(te){(R._status===0||R._status===-1)&&(R._status=2,R._result=te)}),R._status===-1&&(R._status=0,R._result=G)}if(R._status===1)return R._result.default;throw R._result}var W=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)};function Te(){}return Re.Children={map:k,forEach:function(R,G,te){k(R,function(){G.apply(this,arguments)},te)},count:function(R){var G=0;return k(R,function(){G++}),G},toArray:function(R){return k(R,function(G){return G})||[]},only:function(R){if(!$(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},Re.Component=V,Re.Fragment=c,Re.Profiler=o,Re.PureComponent=Z,Re.StrictMode=f,Re.Suspense=v,Re.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,Re.act=function(){throw Error("act(...) is not supported in production builds of React.")},Re.cache=function(R){return function(){return R.apply(null,arguments)}},Re.cloneElement=function(R,G,te){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var I=N({},R.props),J=R.key,ve=void 0;if(G!=null)for(pe in G.ref!==void 0&&(ve=void 0),G.key!==void 0&&(J=""+G.key),G)!P.call(G,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&G.ref===void 0||(I[pe]=G[pe]);var pe=arguments.length-2;if(pe===1)I.children=te;else if(1<pe){for(var Ie=Array(pe),_e=0;_e<pe;_e++)Ie[_e]=arguments[_e+2];I.children=Ie}return he(R.type,J,void 0,void 0,ve,I)},Re.createContext=function(R){return R={$$typeof:h,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:s,_context:R},R},Re.createElement=function(R,G,te){var I,J={},ve=null;if(G!=null)for(I in G.key!==void 0&&(ve=""+G.key),G)P.call(G,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(J[I]=G[I]);var pe=arguments.length-2;if(pe===1)J.children=te;else if(1<pe){for(var Ie=Array(pe),_e=0;_e<pe;_e++)Ie[_e]=arguments[_e+2];J.children=Ie}if(R&&R.defaultProps)for(I in pe=R.defaultProps,pe)J[I]===void 0&&(J[I]=pe[I]);return he(R,ve,void 0,void 0,null,J)},Re.createRef=function(){return{current:null}},Re.forwardRef=function(R){return{$$typeof:y,render:R}},Re.isValidElement=$,Re.lazy=function(R){return{$$typeof:b,_payload:{_status:-1,_result:R},_init:se}},Re.memo=function(R,G){return{$$typeof:m,type:R,compare:G===void 0?null:G}},Re.startTransition=function(R){var G=x.T,te={};x.T=te;try{var I=R(),J=x.S;J!==null&&J(te,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(Te,W)}catch(ve){W(ve)}finally{x.T=G}},Re.unstable_useCacheRefresh=function(){return x.H.useCacheRefresh()},Re.use=function(R){return x.H.use(R)},Re.useActionState=function(R,G,te){return x.H.useActionState(R,G,te)},Re.useCallback=function(R,G){return x.H.useCallback(R,G)},Re.useContext=function(R){return x.H.useContext(R)},Re.useDebugValue=function(){},Re.useDeferredValue=function(R,G){return x.H.useDeferredValue(R,G)},Re.useEffect=function(R,G){return x.H.useEffect(R,G)},Re.useId=function(){return x.H.useId()},Re.useImperativeHandle=function(R,G,te){return x.H.useImperativeHandle(R,G,te)},Re.useInsertionEffect=function(R,G){return x.H.useInsertionEffect(R,G)},Re.useLayoutEffect=function(R,G){return x.H.useLayoutEffect(R,G)},Re.useMemo=function(R,G){return x.H.useMemo(R,G)},Re.useOptimistic=function(R,G){return x.H.useOptimistic(R,G)},Re.useReducer=function(R,G,te){return x.H.useReducer(R,G,te)},Re.useRef=function(R){return x.H.useRef(R)},Re.useState=function(R){return x.H.useState(R)},Re.useSyncExternalStore=function(R,G,te){return x.H.useSyncExternalStore(R,G,te)},Re.useTransition=function(){return x.H.useTransition()},Re.version="19.0.0",Re}var bm;function Ar(){return bm||(bm=1,Qf.exports=Sp()),Qf.exports}var p=Ar();const Ht=Wu(p);var Zf={exports:{}},Vu={},Kf={exports:{}},kf={};/** - * @license React - * scheduler.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Sm;function Rp(){return Sm||(Sm=1,function(l){function u(k,se){var W=k.length;k.push(se);e:for(;0<W;){var Te=W-1>>>1,R=k[Te];if(0<o(R,se))k[Te]=se,k[W]=R,W=Te;else break e}}function c(k){return k.length===0?null:k[0]}function f(k){if(k.length===0)return null;var se=k[0],W=k.pop();if(W!==se){k[0]=W;e:for(var Te=0,R=k.length,G=R>>>1;Te<G;){var te=2*(Te+1)-1,I=k[te],J=te+1,ve=k[J];if(0>o(I,W))J<R&&0>o(ve,I)?(k[Te]=ve,k[J]=W,Te=J):(k[Te]=I,k[te]=W,Te=te);else if(J<R&&0>o(ve,W))k[Te]=ve,k[J]=W,Te=J;else break e}}return se}function o(k,se){var W=k.sortIndex-se.sortIndex;return W!==0?W:k.id-se.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;l.unstable_now=function(){return s.now()}}else{var h=Date,y=h.now();l.unstable_now=function(){return h.now()-y}}var v=[],m=[],b=1,M=null,S=3,D=!1,N=!1,q=!1,V=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function K(k){for(var se=c(m);se!==null;){if(se.callback===null)f(m);else if(se.startTime<=k)f(m),se.sortIndex=se.expirationTime,u(v,se);else break;se=c(m)}}function le(k){if(q=!1,K(k),!N)if(c(v)!==null)N=!0,dt();else{var se=c(m);se!==null&&Me(le,se.startTime-k)}}var x=!1,P=-1,he=5,oe=-1;function $(){return!(l.unstable_now()-oe<he)}function ie(){if(x){var k=l.unstable_now();oe=k;var se=!0;try{e:{N=!1,q&&(q=!1,U(P),P=-1),D=!0;var W=S;try{t:{for(K(k),M=c(v);M!==null&&!(M.expirationTime>k&&$());){var Te=M.callback;if(typeof Te=="function"){M.callback=null,S=M.priorityLevel;var R=Te(M.expirationTime<=k);if(k=l.unstable_now(),typeof R=="function"){M.callback=R,K(k),se=!0;break t}M===c(v)&&f(v),K(k)}else f(v);M=c(v)}if(M!==null)se=!0;else{var G=c(m);G!==null&&Me(le,G.startTime-k),se=!1}}break e}finally{M=null,S=W,D=!1}se=void 0}}finally{se?He():x=!1}}}var He;if(typeof Z=="function")He=function(){Z(ie)};else if(typeof MessageChannel<"u"){var ut=new MessageChannel,Je=ut.port2;ut.port1.onmessage=ie,He=function(){Je.postMessage(null)}}else He=function(){V(ie,0)};function dt(){x||(x=!0,He())}function Me(k,se){P=V(function(){k(l.unstable_now())},se)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(k){k.callback=null},l.unstable_continueExecution=function(){N||D||(N=!0,dt())},l.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<k?Math.floor(1e3/k):5},l.unstable_getCurrentPriorityLevel=function(){return S},l.unstable_getFirstCallbackNode=function(){return c(v)},l.unstable_next=function(k){switch(S){case 1:case 2:case 3:var se=3;break;default:se=S}var W=S;S=se;try{return k()}finally{S=W}},l.unstable_pauseExecution=function(){},l.unstable_requestPaint=function(){},l.unstable_runWithPriority=function(k,se){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var W=S;S=k;try{return se()}finally{S=W}},l.unstable_scheduleCallback=function(k,se,W){var Te=l.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?Te+W:Te):W=Te,k){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=W+R,k={id:b++,callback:se,priorityLevel:k,startTime:W,expirationTime:R,sortIndex:-1},W>Te?(k.sortIndex=W,u(m,k),c(v)===null&&k===c(m)&&(q?(U(P),P=-1):q=!0,Me(le,W-Te))):(k.sortIndex=R,u(v,k),N||D||(N=!0,dt())),k},l.unstable_shouldYield=$,l.unstable_wrapCallback=function(k){var se=S;return function(){var W=S;S=se;try{return k.apply(this,arguments)}finally{S=W}}}}(kf)),kf}var Rm;function Tp(){return Rm||(Rm=1,Kf.exports=Rp()),Kf.exports}var $f={exports:{}},Ct={};/** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Tm;function xp(){if(Tm)return Ct;Tm=1;var l=Ar();function u(v){var m="https://react.dev/errors/"+v;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)m+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+v+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var f={d:{f:c,r:function(){throw Error(u(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},o=Symbol.for("react.portal");function s(v,m,b){var M=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:M==null?null:""+M,children:v,containerInfo:m,implementation:b}}var h=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(v,m){if(v==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Ct.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,Ct.createPortal=function(v,m){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(u(299));return s(v,m,null,b)},Ct.flushSync=function(v){var m=h.T,b=f.p;try{if(h.T=null,f.p=2,v)return v()}finally{h.T=m,f.p=b,f.d.f()}},Ct.preconnect=function(v,m){typeof v=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,f.d.C(v,m))},Ct.prefetchDNS=function(v){typeof v=="string"&&f.d.D(v)},Ct.preinit=function(v,m){if(typeof v=="string"&&m&&typeof m.as=="string"){var b=m.as,M=y(b,m.crossOrigin),S=typeof m.integrity=="string"?m.integrity:void 0,D=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;b==="style"?f.d.S(v,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:M,integrity:S,fetchPriority:D}):b==="script"&&f.d.X(v,{crossOrigin:M,integrity:S,fetchPriority:D,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Ct.preinitModule=function(v,m){if(typeof v=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var b=y(m.as,m.crossOrigin);f.d.M(v,{crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&f.d.M(v)},Ct.preload=function(v,m){if(typeof v=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var b=m.as,M=y(b,m.crossOrigin);f.d.L(v,b,{crossOrigin:M,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Ct.preloadModule=function(v,m){if(typeof v=="string")if(m){var b=y(m.as,m.crossOrigin);f.d.m(v,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else f.d.m(v)},Ct.requestFormReset=function(v){f.d.r(v)},Ct.unstable_batchedUpdates=function(v,m){return v(m)},Ct.useFormState=function(v,m,b){return h.H.useFormState(v,m,b)},Ct.useFormStatus=function(){return h.H.useHostTransitionStatus()},Ct.version="19.0.0",Ct}var xm;function my(){if(xm)return $f.exports;xm=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}return l(),$f.exports=xp(),$f.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Om;function Op(){if(Om)return Vu;Om=1;var l=Tp(),u=Ar(),c=my();function f(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}var s=Symbol.for("react.element"),h=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),S=Symbol.for("react.consumer"),D=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),K=Symbol.for("react.offscreen"),le=Symbol.for("react.memo_cache_sentinel"),x=Symbol.iterator;function P(e){return e===null||typeof e!="object"?null:(e=x&&e[x]||e["@@iterator"],typeof e=="function"?e:null)}var he=Symbol.for("react.client.reference");function oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===he?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case v:return"Fragment";case y:return"Portal";case b:return"Profiler";case m:return"StrictMode";case q:return"Suspense";case V:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case D:return(e.displayName||"Context")+".Provider";case S:return(e._context.displayName||"Context")+".Consumer";case N:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case U:return t=e.displayName||null,t!==null?t:oe(e.type)||"Memo";case Z:t=e._payload,e=e._init;try{return oe(e(t))}catch{}}return null}var $=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=Object.assign,He,ut;function Je(e){if(He===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);He=t&&t[1]||"",ut=-1<n.stack.indexOf(` - at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return` -`+He+e+ut}var dt=!1;function Me(e,t){if(!e||dt)return"";dt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(H){var z=H}Reflect.construct(e,[],X)}else{try{X.call()}catch(H){z=H}e.call(X.prototype)}}else{try{throw Error()}catch(H){z=H}(X=e())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(H){if(H&&z&&typeof H.stack=="string")return[H.stack,z.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=a.DetermineComponentFrameRoot(),d=r[0],g=r[1];if(d&&g){var E=d.split(` -`),C=g.split(` -`);for(i=a=0;a<E.length&&!E[a].includes("DetermineComponentFrameRoot");)a++;for(;i<C.length&&!C[i].includes("DetermineComponentFrameRoot");)i++;if(a===E.length||i===C.length)for(a=E.length-1,i=C.length-1;1<=a&&0<=i&&E[a]!==C[i];)i--;for(;1<=a&&0<=i;a--,i--)if(E[a]!==C[i]){if(a!==1||i!==1)do if(a--,i--,0>i||E[a]!==C[i]){var B=` -`+E[a].replace(" at new "," at ");return e.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",e.displayName)),B}while(1<=a&&0<=i);break}}}finally{dt=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Je(n):""}function k(e){switch(e.tag){case 26:case 27:case 5:return Je(e.type);case 16:return Je("Lazy");case 13:return Je("Suspense");case 19:return Je("SuspenseList");case 0:case 15:return e=Me(e.type,!1),e;case 11:return e=Me(e.type.render,!1),e;case 1:return e=Me(e.type,!0),e;default:return""}}function se(e){try{var t="";do t+=k(e),e=e.return;while(e);return t}catch(n){return` -Error generating stack: `+n.message+` -`+n.stack}}function W(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Te(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function R(e){if(W(e)!==e)throw Error(f(188))}function G(e){var t=e.alternate;if(!t){if(t=W(e),t===null)throw Error(f(188));return t!==e?null:e}for(var n=e,a=t;;){var i=n.return;if(i===null)break;var r=i.alternate;if(r===null){if(a=i.return,a!==null){n=a;continue}break}if(i.child===r.child){for(r=i.child;r;){if(r===n)return R(i),e;if(r===a)return R(i),t;r=r.sibling}throw Error(f(188))}if(n.return!==a.return)n=i,a=r;else{for(var d=!1,g=i.child;g;){if(g===n){d=!0,n=i,a=r;break}if(g===a){d=!0,a=i,n=r;break}g=g.sibling}if(!d){for(g=r.child;g;){if(g===n){d=!0,n=r,a=i;break}if(g===a){d=!0,a=r,n=i;break}g=g.sibling}if(!d)throw Error(f(189))}}if(n.alternate!==a)throw Error(f(190))}if(n.tag!==3)throw Error(f(188));return n.stateNode.current===n?e:t}function te(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=te(e),t!==null)return t;e=e.sibling}return null}var I=Array.isArray,J=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ve={pending:!1,data:null,method:null,action:null},pe=[],Ie=-1;function _e(e){return{current:e}}function Se(e){0>Ie||(e.current=pe[Ie],pe[Ie]=null,Ie--)}function De(e,t){Ie++,pe[Ie]=e.current,e.current=t}var yt=_e(null),Nt=_e(null),et=_e(null),qt=_e(null);function Le(e,t){switch(De(et,t),De(Nt,e),De(yt,null),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?Zh(t):0;break;default:if(e=e===8?t.parentNode:t,t=e.tagName,e=e.namespaceURI)e=Zh(e),t=Kh(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Se(yt),De(yt,t)}function zt(){Se(yt),Se(Nt),Se(et)}function hn(e){e.memoizedState!==null&&De(qt,e);var t=yt.current,n=Kh(t,e.type);t!==n&&(De(Nt,e),De(yt,n))}function aa(e){Nt.current===e&&(Se(yt),Se(Nt)),qt.current===e&&(Se(qt),Hu._currentValue=ve)}var wa=Object.prototype.hasOwnProperty,Na=l.unstable_scheduleCallback,Yt=l.unstable_cancelCallback,zn=l.unstable_shouldYield,cl=l.unstable_requestPaint,St=l.unstable_now,Ft=l.unstable_getCurrentPriorityLevel,be=l.unstable_ImmediatePriority,Wt=l.unstable_UserBlockingPriority,mn=l.unstable_NormalPriority,Lr=l.unstable_LowPriority,yn=l.unstable_IdlePriority,ti=l.log,ni=l.unstable_setDisableYieldValue,la=null,Mt=null;function ai(e){if(Mt&&typeof Mt.onCommitFiberRoot=="function")try{Mt.onCommitFiberRoot(la,e,void 0,(e.current.flags&128)===128)}catch{}}function Gt(e){if(typeof ti=="function"&&ni(e),Mt&&typeof Mt.setStrictMode=="function")try{Mt.setStrictMode(la,e)}catch{}}var Ot=Math.clz32?Math.clz32:li,Jl=Math.log,Hr=Math.LN2;function li(e){return e>>>=0,e===0?32:31-(Jl(e)/Hr|0)|0}var fl=128,za=4194304;function Pt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Un(e,t){var n=e.pendingLanes;if(n===0)return 0;var a=0,i=e.suspendedLanes,r=e.pingedLanes,d=e.warmLanes;e=e.finishedLanes!==0;var g=n&134217727;return g!==0?(n=g&~i,n!==0?a=Pt(n):(r&=g,r!==0?a=Pt(r):e||(d=g&~d,d!==0&&(a=Pt(d))))):(g=n&~i,g!==0?a=Pt(g):r!==0?a=Pt(r):e||(d=n&~d,d!==0&&(a=Pt(d)))),a===0?0:t!==0&&t!==a&&!(t&i)&&(i=a&-a,d=t&-t,i>=d||i===32&&(d&4194176)!==0)?t:a}function Ua(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Br(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function T(){var e=fl;return fl<<=1,!(fl&4194176)&&(fl=128),e}function _(){var e=za;return za<<=1,!(za&62914560)&&(za=4194304),e}function L(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Q(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ee(e,t,n,a,i,r){var d=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var g=e.entanglements,E=e.expirationTimes,C=e.hiddenUpdates;for(n=d&~n;0<n;){var B=31-Ot(n),X=1<<B;g[B]=0,E[B]=-1;var z=C[B];if(z!==null)for(C[B]=null,B=0;B<z.length;B++){var H=z[B];H!==null&&(H.lane&=-536870913)}n&=~X}a!==0&&ce(e,a,0),r!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=r&~(d&~t))}function ce(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Ot(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&4194218}function ge(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Ot(n),i=1<<a;i&t|e[a]&t&&(e[a]|=t),n&=~i}}function ne(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ue(){var e=J.p;return e!==0?e:(e=window.event,e===void 0?32:om(e.type))}function F(e,t){var n=J.p;try{return J.p=e,t()}finally{J.p=n}}var me=Math.random().toString(36).slice(2),de="__reactFiber$"+me,xe="__reactProps$"+me,ke="__reactContainer$"+me,Xe="__reactEvents$"+me,Ve="__reactListeners$"+me,it="__reactHandles$"+me,jn="__reactResources$"+me,vn="__reactMarker$"+me;function Xt(e){delete e[de],delete e[xe],delete e[Xe],delete e[Ve],delete e[it]}function vt(e){var t=e[de];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ke]||n[de]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Jh(e);e!==null;){if(n=e[de])return n;e=Jh(e)}return t}e=n,n=e.parentNode}return null}function On(e){if(e=e[de]||e[ke]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function gn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(f(33))}function Ut(e){var t=e[jn];return t||(t=e[jn]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Fe(e){e[vn]=!0}var ja=new Set,Be={};function $e(e,t){pn(e,t),pn(e+"Capture",t)}function pn(e,t){for(Be[e]=t,e=0;e<t.length;e++)ja.add(t[e])}var At=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ln={},Fl={};function qr(e){return wa.call(Fl,e)?!0:wa.call(Ln,e)?!1:tt.test(e)?Fl[e]=!0:(Ln[e]=!0,!1)}function ui(e,t,n){if(qr(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function ii(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Hn(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function It(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $o(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function dv(e){var t=$o(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(d){a=""+d,r.call(this,d)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(d){a=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ri(e){e._valueTracker||(e._valueTracker=dv(e))}function Jo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=$o(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function ci(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var hv=/[\n"\\]/g;function en(e){return e.replace(hv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Yr(e,t,n,a,i,r,d,g){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+It(t)):e.value!==""+It(t)&&(e.value=""+It(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Gr(e,d,It(t)):n!=null?Gr(e,d,It(n)):a!=null&&e.removeAttribute("value"),i==null&&r!=null&&(e.defaultChecked=!!r),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+It(g):e.removeAttribute("name")}function Fo(e,t,n,a,i,r,d,g){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||t!=null))return;n=n!=null?""+It(n):"",t=t!=null?""+It(t):n,g||t===e.value||(e.value=t),e.defaultValue=t}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=g?e.checked:!!a,e.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d)}function Gr(e,t,n){t==="number"&&ci(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ol(e,t,n,a){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&a&&(e[n].defaultSelected=!0)}else{for(n=""+It(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,a&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Wo(e,t,n){if(t!=null&&(t=""+It(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+It(n):""}function Po(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(f(92));if(I(a)){if(1<a.length)throw Error(f(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=It(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a)}function sl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var mv=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Io(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||mv.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function es(e,t,n){if(t!=null&&typeof t!="object")throw Error(f(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var i in t)a=t[i],t.hasOwnProperty(i)&&n[i]!==a&&Io(e,i,a)}else for(var r in t)t.hasOwnProperty(r)&&Io(e,r,t[r])}function Xr(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var yv=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),vv=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function fi(e){return vv.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Vr=null;function Qr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dl=null,hl=null;function ts(e){var t=On(e);if(t&&(e=t.stateNode)){var n=e[xe]||null;e:switch(e=t.stateNode,t.type){case"input":if(Yr(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+en(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var i=a[xe]||null;if(!i)throw Error(f(90));Yr(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Jo(a)}break e;case"textarea":Wo(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&ol(e,!!n.multiple,t,!1)}}}var Zr=!1;function ns(e,t,n){if(Zr)return e(t,n);Zr=!0;try{var a=e(t);return a}finally{if(Zr=!1,(dl!==null||hl!==null)&&(Ki(),dl&&(t=dl,e=hl,hl=dl=null,ts(t),e)))for(t=0;t<e.length;t++)ts(e[t])}}function Wl(e,t){var n=e.stateNode;if(n===null)return null;var a=n[xe]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(f(231,t,typeof n));return n}var Kr=!1;if(At)try{var Pl={};Object.defineProperty(Pl,"passive",{get:function(){Kr=!0}}),window.addEventListener("test",Pl,Pl),window.removeEventListener("test",Pl,Pl)}catch{Kr=!1}var ua=null,kr=null,oi=null;function as(){if(oi)return oi;var e,t=kr,n=t.length,a,i="value"in ua?ua.value:ua.textContent,r=i.length;for(e=0;e<n&&t[e]===i[e];e++);var d=n-e;for(a=1;a<=d&&t[n-a]===i[r-a];a++);return oi=i.slice(e,1<a?1-a:void 0)}function si(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function di(){return!0}function ls(){return!1}function jt(e){function t(n,a,i,r,d){this._reactName=n,this._targetInst=i,this.type=a,this.nativeEvent=r,this.target=d,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(n=e[g],this[g]=n?n(r):r[g]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?di:ls,this.isPropagationStopped=ls,this}return ie(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=di)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=di)},persist:function(){},isPersistent:di}),t}var La={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hi=jt(La),Il=ie({},La,{view:0,detail:0}),gv=jt(Il),$r,Jr,eu,mi=ie({},Il,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==eu&&(eu&&e.type==="mousemove"?($r=e.screenX-eu.screenX,Jr=e.screenY-eu.screenY):Jr=$r=0,eu=e),$r)},movementY:function(e){return"movementY"in e?e.movementY:Jr}}),us=jt(mi),pv=ie({},mi,{dataTransfer:0}),Ev=jt(pv),bv=ie({},Il,{relatedTarget:0}),Fr=jt(bv),Sv=ie({},La,{animationName:0,elapsedTime:0,pseudoElement:0}),Rv=jt(Sv),Tv=ie({},La,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),xv=jt(Tv),Ov=ie({},La,{data:0}),is=jt(Ov),Dv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Mv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Av(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Mv[e])?!!t[e]:!1}function Wr(){return Av}var _v=ie({},Il,{key:function(e){if(e.key){var t=Dv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=si(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Cv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wr,charCode:function(e){return e.type==="keypress"?si(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?si(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wv=jt(_v),Nv=ie({},mi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rs=jt(Nv),zv=ie({},Il,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wr}),Uv=jt(zv),jv=ie({},La,{propertyName:0,elapsedTime:0,pseudoElement:0}),Lv=jt(jv),Hv=ie({},mi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Bv=jt(Hv),qv=ie({},La,{newState:0,oldState:0}),Yv=jt(qv),Gv=[9,13,27,32],Pr=At&&"CompositionEvent"in window,tu=null;At&&"documentMode"in document&&(tu=document.documentMode);var Xv=At&&"TextEvent"in window&&!tu,cs=At&&(!Pr||tu&&8<tu&&11>=tu),fs=" ",os=!1;function ss(e,t){switch(e){case"keyup":return Gv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ds(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ml=!1;function Vv(e,t){switch(e){case"compositionend":return ds(t);case"keypress":return t.which!==32?null:(os=!0,fs);case"textInput":return e=t.data,e===fs&&os?null:e;default:return null}}function Qv(e,t){if(ml)return e==="compositionend"||!Pr&&ss(e,t)?(e=as(),oi=kr=ua=null,ml=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return cs&&t.locale!=="ko"?null:t.data;default:return null}}var Zv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function hs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Zv[e.type]:t==="textarea"}function ms(e,t,n,a){dl?hl?hl.push(a):hl=[a]:dl=a,t=Wi(t,"onChange"),0<t.length&&(n=new hi("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var nu=null,au=null;function Kv(e){Yh(e,0)}function yi(e){var t=gn(e);if(Jo(t))return e}function ys(e,t){if(e==="change")return t}var vs=!1;if(At){var Ir;if(At){var ec="oninput"in document;if(!ec){var gs=document.createElement("div");gs.setAttribute("oninput","return;"),ec=typeof gs.oninput=="function"}Ir=ec}else Ir=!1;vs=Ir&&(!document.documentMode||9<document.documentMode)}function ps(){nu&&(nu.detachEvent("onpropertychange",Es),au=nu=null)}function Es(e){if(e.propertyName==="value"&&yi(au)){var t=[];ms(t,au,e,Qr(e)),ns(Kv,t)}}function kv(e,t,n){e==="focusin"?(ps(),nu=t,au=n,nu.attachEvent("onpropertychange",Es)):e==="focusout"&&ps()}function $v(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return yi(au)}function Jv(e,t){if(e==="click")return yi(t)}function Fv(e,t){if(e==="input"||e==="change")return yi(t)}function Wv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Vt=typeof Object.is=="function"?Object.is:Wv;function lu(e,t){if(Vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var i=n[a];if(!wa.call(t,i)||!Vt(e[i],t[i]))return!1}return!0}function bs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ss(e,t){var n=bs(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=bs(n)}}function Rs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ts(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ci(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ci(e.document)}return t}function tc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Pv(e,t){var n=Ts(t);t=e.focusedElem;var a=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Rs(t.ownerDocument.documentElement,t)){if(a!==null&&tc(t)){if(e=a.start,n=a.end,n===void 0&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if(n=(e=t.ownerDocument||document)&&e.defaultView||window,n.getSelection){n=n.getSelection();var i=t.textContent.length,r=Math.min(a.start,i);a=a.end===void 0?r:Math.min(a.end,i),!n.extend&&r>a&&(i=a,a=r,r=i),i=Ss(t,r);var d=Ss(t,a);i&&d&&(n.rangeCount!==1||n.anchorNode!==i.node||n.anchorOffset!==i.offset||n.focusNode!==d.node||n.focusOffset!==d.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),n.removeAllRanges(),r>a?(n.addRange(e),n.extend(d.node,d.offset)):(e.setEnd(d.node,d.offset),n.addRange(e)))}}for(e=[],n=t;n=n.parentNode;)n.nodeType===1&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<e.length;t++)n=e[t],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Iv=At&&"documentMode"in document&&11>=document.documentMode,yl=null,nc=null,uu=null,ac=!1;function xs(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ac||yl==null||yl!==ci(a)||(a=yl,"selectionStart"in a&&tc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),uu&&lu(uu,a)||(uu=a,a=Wi(nc,"onSelect"),0<a.length&&(t=new hi("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=yl)))}function Ha(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var vl={animationend:Ha("Animation","AnimationEnd"),animationiteration:Ha("Animation","AnimationIteration"),animationstart:Ha("Animation","AnimationStart"),transitionrun:Ha("Transition","TransitionRun"),transitionstart:Ha("Transition","TransitionStart"),transitioncancel:Ha("Transition","TransitionCancel"),transitionend:Ha("Transition","TransitionEnd")},lc={},Os={};At&&(Os=document.createElement("div").style,"AnimationEvent"in window||(delete vl.animationend.animation,delete vl.animationiteration.animation,delete vl.animationstart.animation),"TransitionEvent"in window||delete vl.transitionend.transition);function Ba(e){if(lc[e])return lc[e];if(!vl[e])return e;var t=vl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Os)return lc[e]=t[n];return e}var Ds=Ba("animationend"),Cs=Ba("animationiteration"),Ms=Ba("animationstart"),eg=Ba("transitionrun"),tg=Ba("transitionstart"),ng=Ba("transitioncancel"),As=Ba("transitionend"),_s=new Map,ws="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function En(e,t){_s.set(e,t),$e(t,[e])}var tn=[],gl=0,uc=0;function vi(){for(var e=gl,t=uc=gl=0;t<e;){var n=tn[t];tn[t++]=null;var a=tn[t];tn[t++]=null;var i=tn[t];tn[t++]=null;var r=tn[t];if(tn[t++]=null,a!==null&&i!==null){var d=a.pending;d===null?i.next=i:(i.next=d.next,d.next=i),a.pending=i}r!==0&&Ns(n,i,r)}}function gi(e,t,n,a){tn[gl++]=e,tn[gl++]=t,tn[gl++]=n,tn[gl++]=a,uc|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function ic(e,t,n,a){return gi(e,t,n,a),pi(e)}function ia(e,t){return gi(e,null,null,t),pi(e)}function Ns(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var i=!1,r=e.return;r!==null;)r.childLanes|=n,a=r.alternate,a!==null&&(a.childLanes|=n),r.tag===22&&(e=r.stateNode,e===null||e._visibility&1||(i=!0)),e=r,r=r.return;i&&t!==null&&e.tag===3&&(r=e.stateNode,i=31-Ot(n),r=r.hiddenUpdates,e=r[i],e===null?r[i]=[t]:e.push(t),t.lane=n|536870912)}function pi(e){if(50<_u)throw _u=0,hf=null,Error(f(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var pl={},zs=new WeakMap;function nn(e,t){if(typeof e=="object"&&e!==null){var n=zs.get(e);return n!==void 0?n:(t={value:e,source:t,stack:se(t)},zs.set(e,t),t)}return{value:e,source:t,stack:se(t)}}var El=[],bl=0,Ei=null,bi=0,an=[],ln=0,qa=null,Bn=1,qn="";function Ya(e,t){El[bl++]=bi,El[bl++]=Ei,Ei=e,bi=t}function Us(e,t,n){an[ln++]=Bn,an[ln++]=qn,an[ln++]=qa,qa=e;var a=Bn;e=qn;var i=32-Ot(a)-1;a&=~(1<<i),n+=1;var r=32-Ot(t)+i;if(30<r){var d=i-i%5;r=(a&(1<<d)-1).toString(32),a>>=d,i-=d,Bn=1<<32-Ot(t)+i|n<<i|a,qn=r+e}else Bn=1<<r|n<<i|a,qn=e}function rc(e){e.return!==null&&(Ya(e,1),Us(e,1,0))}function cc(e){for(;e===Ei;)Ei=El[--bl],El[bl]=null,bi=El[--bl],El[bl]=null;for(;e===qa;)qa=an[--ln],an[ln]=null,qn=an[--ln],an[ln]=null,Bn=an[--ln],an[ln]=null}var _t=null,Rt=null,Ue=!1,bn=null,Dn=!1,fc=Error(f(519));function Ga(e){var t=Error(f(418,""));throw cu(nn(t,e)),fc}function js(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[de]=e,t[xe]=a,n){case"dialog":we("cancel",t),we("close",t);break;case"iframe":case"object":case"embed":we("load",t);break;case"video":case"audio":for(n=0;n<Nu.length;n++)we(Nu[n],t);break;case"source":we("error",t);break;case"img":case"image":case"link":we("error",t),we("load",t);break;case"details":we("toggle",t);break;case"input":we("invalid",t),Fo(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),ri(t);break;case"select":we("invalid",t);break;case"textarea":we("invalid",t),Po(t,a.value,a.defaultValue,a.children),ri(t)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||Qh(t.textContent,n)?(a.popover!=null&&(we("beforetoggle",t),we("toggle",t)),a.onScroll!=null&&we("scroll",t),a.onScrollEnd!=null&&we("scrollend",t),a.onClick!=null&&(t.onclick=Pi),t=!0):t=!1,t||Ga(e)}function Ls(e){for(_t=e.return;_t;)switch(_t.tag){case 3:case 27:Dn=!0;return;case 5:case 13:Dn=!1;return;default:_t=_t.return}}function iu(e){if(e!==_t)return!1;if(!Ue)return Ls(e),Ue=!0,!1;var t=!1,n;if((n=e.tag!==3&&e.tag!==27)&&((n=e.tag===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||_f(e.type,e.memoizedProps)),n=!n),n&&(t=!0),t&&Rt&&Ga(e),Ls(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(f(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(n=e.data,n==="/$"){if(t===0){Rt=Rn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++;e=e.nextSibling}Rt=null}}else Rt=_t?Rn(e.stateNode.nextSibling):null;return!0}function ru(){Rt=_t=null,Ue=!1}function cu(e){bn===null?bn=[e]:bn.push(e)}var fu=Error(f(460)),Hs=Error(f(474)),oc={then:function(){}};function Bs(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Si(){}function qs(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Si,Si),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,e===fu?Error(f(483)):e;default:if(typeof t.status=="string")t.then(Si,Si);else{if(e=Ze,e!==null&&100<e.shellSuspendCounter)throw Error(f(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=a}},function(a){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,e===fu?Error(f(483)):e}throw ou=t,fu}}var ou=null;function Ys(){if(ou===null)throw Error(f(459));var e=ou;return ou=null,e}var Sl=null,su=0;function Ri(e){var t=su;return su+=1,Sl===null&&(Sl=[]),qs(Sl,e,t)}function du(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ti(e,t){throw t.$$typeof===s?Error(f(525)):(e=Object.prototype.toString.call(t),Error(f(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Gs(e){var t=e._init;return t(e._payload)}function Xs(e){function t(A,O){if(e){var w=A.deletions;w===null?(A.deletions=[O],A.flags|=16):w.push(O)}}function n(A,O){if(!e)return null;for(;O!==null;)t(A,O),O=O.sibling;return null}function a(A){for(var O=new Map;A!==null;)A.key!==null?O.set(A.key,A):O.set(A.index,A),A=A.sibling;return O}function i(A,O){return A=pa(A,O),A.index=0,A.sibling=null,A}function r(A,O,w){return A.index=w,e?(w=A.alternate,w!==null?(w=w.index,w<O?(A.flags|=33554434,O):w):(A.flags|=33554434,O)):(A.flags|=1048576,O)}function d(A){return e&&A.alternate===null&&(A.flags|=33554434),A}function g(A,O,w,Y){return O===null||O.tag!==6?(O=lf(w,A.mode,Y),O.return=A,O):(O=i(O,w),O.return=A,O)}function E(A,O,w,Y){var ae=w.type;return ae===v?B(A,O,w.props.children,Y,w.key):O!==null&&(O.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Z&&Gs(ae)===O.type)?(O=i(O,w.props),du(O,w),O.return=A,O):(O=Gi(w.type,w.key,w.props,null,A.mode,Y),du(O,w),O.return=A,O)}function C(A,O,w,Y){return O===null||O.tag!==4||O.stateNode.containerInfo!==w.containerInfo||O.stateNode.implementation!==w.implementation?(O=uf(w,A.mode,Y),O.return=A,O):(O=i(O,w.children||[]),O.return=A,O)}function B(A,O,w,Y,ae){return O===null||O.tag!==7?(O=Wa(w,A.mode,Y,ae),O.return=A,O):(O=i(O,w),O.return=A,O)}function X(A,O,w){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=lf(""+O,A.mode,w),O.return=A,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case h:return w=Gi(O.type,O.key,O.props,null,A.mode,w),du(w,O),w.return=A,w;case y:return O=uf(O,A.mode,w),O.return=A,O;case Z:var Y=O._init;return O=Y(O._payload),X(A,O,w)}if(I(O)||P(O))return O=Wa(O,A.mode,w,null),O.return=A,O;if(typeof O.then=="function")return X(A,Ri(O),w);if(O.$$typeof===D)return X(A,Bi(A,O),w);Ti(A,O)}return null}function z(A,O,w,Y){var ae=O!==null?O.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return ae!==null?null:g(A,O,""+w,Y);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case h:return w.key===ae?E(A,O,w,Y):null;case y:return w.key===ae?C(A,O,w,Y):null;case Z:return ae=w._init,w=ae(w._payload),z(A,O,w,Y)}if(I(w)||P(w))return ae!==null?null:B(A,O,w,Y,null);if(typeof w.then=="function")return z(A,O,Ri(w),Y);if(w.$$typeof===D)return z(A,O,Bi(A,w),Y);Ti(A,w)}return null}function H(A,O,w,Y,ae){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return A=A.get(w)||null,g(O,A,""+Y,ae);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case h:return A=A.get(Y.key===null?w:Y.key)||null,E(O,A,Y,ae);case y:return A=A.get(Y.key===null?w:Y.key)||null,C(O,A,Y,ae);case Z:var Ce=Y._init;return Y=Ce(Y._payload),H(A,O,w,Y,ae)}if(I(Y)||P(Y))return A=A.get(w)||null,B(O,A,Y,ae,null);if(typeof Y.then=="function")return H(A,O,w,Ri(Y),ae);if(Y.$$typeof===D)return H(A,O,w,Bi(O,Y),ae);Ti(O,Y)}return null}function re(A,O,w,Y){for(var ae=null,Ce=null,fe=O,ye=O=0,Et=null;fe!==null&&ye<w.length;ye++){fe.index>ye?(Et=fe,fe=null):Et=fe.sibling;var je=z(A,fe,w[ye],Y);if(je===null){fe===null&&(fe=Et);break}e&&fe&&je.alternate===null&&t(A,fe),O=r(je,O,ye),Ce===null?ae=je:Ce.sibling=je,Ce=je,fe=Et}if(ye===w.length)return n(A,fe),Ue&&Ya(A,ye),ae;if(fe===null){for(;ye<w.length;ye++)fe=X(A,w[ye],Y),fe!==null&&(O=r(fe,O,ye),Ce===null?ae=fe:Ce.sibling=fe,Ce=fe);return Ue&&Ya(A,ye),ae}for(fe=a(fe);ye<w.length;ye++)Et=H(fe,A,ye,w[ye],Y),Et!==null&&(e&&Et.alternate!==null&&fe.delete(Et.key===null?ye:Et.key),O=r(Et,O,ye),Ce===null?ae=Et:Ce.sibling=Et,Ce=Et);return e&&fe.forEach(function(Oa){return t(A,Oa)}),Ue&&Ya(A,ye),ae}function Ee(A,O,w,Y){if(w==null)throw Error(f(151));for(var ae=null,Ce=null,fe=O,ye=O=0,Et=null,je=w.next();fe!==null&&!je.done;ye++,je=w.next()){fe.index>ye?(Et=fe,fe=null):Et=fe.sibling;var Oa=z(A,fe,je.value,Y);if(Oa===null){fe===null&&(fe=Et);break}e&&fe&&Oa.alternate===null&&t(A,fe),O=r(Oa,O,ye),Ce===null?ae=Oa:Ce.sibling=Oa,Ce=Oa,fe=Et}if(je.done)return n(A,fe),Ue&&Ya(A,ye),ae;if(fe===null){for(;!je.done;ye++,je=w.next())je=X(A,je.value,Y),je!==null&&(O=r(je,O,ye),Ce===null?ae=je:Ce.sibling=je,Ce=je);return Ue&&Ya(A,ye),ae}for(fe=a(fe);!je.done;ye++,je=w.next())je=H(fe,A,ye,je.value,Y),je!==null&&(e&&je.alternate!==null&&fe.delete(je.key===null?ye:je.key),O=r(je,O,ye),Ce===null?ae=je:Ce.sibling=je,Ce=je);return e&&fe.forEach(function(vp){return t(A,vp)}),Ue&&Ya(A,ye),ae}function lt(A,O,w,Y){if(typeof w=="object"&&w!==null&&w.type===v&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case h:e:{for(var ae=w.key;O!==null;){if(O.key===ae){if(ae=w.type,ae===v){if(O.tag===7){n(A,O.sibling),Y=i(O,w.props.children),Y.return=A,A=Y;break e}}else if(O.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Z&&Gs(ae)===O.type){n(A,O.sibling),Y=i(O,w.props),du(Y,w),Y.return=A,A=Y;break e}n(A,O);break}else t(A,O);O=O.sibling}w.type===v?(Y=Wa(w.props.children,A.mode,Y,w.key),Y.return=A,A=Y):(Y=Gi(w.type,w.key,w.props,null,A.mode,Y),du(Y,w),Y.return=A,A=Y)}return d(A);case y:e:{for(ae=w.key;O!==null;){if(O.key===ae)if(O.tag===4&&O.stateNode.containerInfo===w.containerInfo&&O.stateNode.implementation===w.implementation){n(A,O.sibling),Y=i(O,w.children||[]),Y.return=A,A=Y;break e}else{n(A,O);break}else t(A,O);O=O.sibling}Y=uf(w,A.mode,Y),Y.return=A,A=Y}return d(A);case Z:return ae=w._init,w=ae(w._payload),lt(A,O,w,Y)}if(I(w))return re(A,O,w,Y);if(P(w)){if(ae=P(w),typeof ae!="function")throw Error(f(150));return w=ae.call(w),Ee(A,O,w,Y)}if(typeof w.then=="function")return lt(A,O,Ri(w),Y);if(w.$$typeof===D)return lt(A,O,Bi(A,w),Y);Ti(A,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,O!==null&&O.tag===6?(n(A,O.sibling),Y=i(O,w),Y.return=A,A=Y):(n(A,O),Y=lf(w,A.mode,Y),Y.return=A,A=Y),d(A)):n(A,O)}return function(A,O,w,Y){try{su=0;var ae=lt(A,O,w,Y);return Sl=null,ae}catch(fe){if(fe===fu)throw fe;var Ce=fn(29,fe,null,A.mode);return Ce.lanes=Y,Ce.return=A,Ce}finally{}}}var Xa=Xs(!0),Vs=Xs(!1),Rl=_e(null),xi=_e(0);function Qs(e,t){e=Fn,De(xi,e),De(Rl,t),Fn=e|t.baseLanes}function sc(){De(xi,Fn),De(Rl,Rl.current)}function dc(){Fn=xi.current,Se(Rl),Se(xi)}var un=_e(null),Cn=null;function ra(e){var t=e.alternate;De(ht,ht.current&1),De(un,e),Cn===null&&(t===null||Rl.current!==null||t.memoizedState!==null)&&(Cn=e)}function Zs(e){if(e.tag===22){if(De(ht,ht.current),De(un,e),Cn===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Cn=e)}}else ca()}function ca(){De(ht,ht.current),De(un,un.current)}function Yn(e){Se(un),Cn===e&&(Cn=null),Se(ht)}var ht=_e(0);function Oi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ag=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},lg=l.unstable_scheduleCallback,ug=l.unstable_NormalPriority,mt={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function hc(){return{controller:new ag,data:new Map,refCount:0}}function hu(e){e.refCount--,e.refCount===0&&lg(ug,function(){e.controller.abort()})}var mu=null,mc=0,Tl=0,xl=null;function ig(e,t){if(mu===null){var n=mu=[];mc=0,Tl=Sf(),xl={status:"pending",value:void 0,then:function(a){n.push(a)}}}return mc++,t.then(Ks,Ks),t}function Ks(){if(--mc===0&&mu!==null){xl!==null&&(xl.status="fulfilled");var e=mu;mu=null,Tl=0,xl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function rg(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var i=0;i<n.length;i++)(0,n[i])(t)},function(i){for(a.status="rejected",a.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),a}var ks=$.S;$.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&ig(e,t),ks!==null&&ks(e,t)};var Va=_e(null);function yc(){var e=Va.current;return e!==null?e:Ze.pooledCache}function Di(e,t){t===null?De(Va,Va.current):De(Va,t.pool)}function $s(){var e=yc();return e===null?null:{parent:mt._currentValue,pool:e}}var fa=0,Oe=null,qe=null,ft=null,Ci=!1,Ol=!1,Qa=!1,Mi=0,yu=0,Dl=null,cg=0;function rt(){throw Error(f(321))}function vc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vt(e[n],t[n]))return!1;return!0}function gc(e,t,n,a,i,r){return fa=r,Oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$.H=e===null||e.memoizedState===null?Za:oa,Qa=!1,r=n(a,i),Qa=!1,Ol&&(r=Fs(t,n,a,i)),Js(e),r}function Js(e){$.H=Mn;var t=qe!==null&&qe.next!==null;if(fa=0,ft=qe=Oe=null,Ci=!1,yu=0,Dl=null,t)throw Error(f(300));e===null||gt||(e=e.dependencies,e!==null&&Hi(e)&&(gt=!0))}function Fs(e,t,n,a){Oe=e;var i=0;do{if(Ol&&(Dl=null),yu=0,Ol=!1,25<=i)throw Error(f(301));if(i+=1,ft=qe=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}$.H=Ka,r=t(n,a)}while(Ol);return r}function fg(){var e=$.H,t=e.useState()[0];return t=typeof t.then=="function"?vu(t):t,e=e.useState()[0],(qe!==null?qe.memoizedState:null)!==e&&(Oe.flags|=1024),t}function pc(){var e=Mi!==0;return Mi=0,e}function Ec(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function bc(e){if(Ci){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ci=!1}fa=0,ft=qe=Oe=null,Ol=!1,yu=Mi=0,Dl=null}function Lt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?Oe.memoizedState=ft=e:ft=ft.next=e,ft}function ot(){if(qe===null){var e=Oe.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var t=ft===null?Oe.memoizedState:ft.next;if(t!==null)ft=t,qe=e;else{if(e===null)throw Oe.alternate===null?Error(f(467)):Error(f(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},ft===null?Oe.memoizedState=ft=e:ft=ft.next=e}return ft}var Ai;Ai=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function vu(e){var t=yu;return yu+=1,Dl===null&&(Dl=[]),e=qs(Dl,e,t),t=Oe,(ft===null?t.memoizedState:ft.next)===null&&(t=t.alternate,$.H=t===null||t.memoizedState===null?Za:oa),e}function _i(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return vu(e);if(e.$$typeof===D)return Dt(e)}throw Error(f(438,String(e)))}function Sc(e){var t=null,n=Oe.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Oe.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Ai(),Oe.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=le;return t.index++,n}function Gn(e,t){return typeof t=="function"?t(e):t}function wi(e){var t=ot();return Rc(t,qe,e)}function Rc(e,t,n){var a=e.queue;if(a===null)throw Error(f(311));a.lastRenderedReducer=n;var i=e.baseQueue,r=a.pending;if(r!==null){if(i!==null){var d=i.next;i.next=r.next,r.next=d}t.baseQueue=i=r,a.pending=null}if(r=e.baseState,i===null)e.memoizedState=r;else{t=i.next;var g=d=null,E=null,C=t,B=!1;do{var X=C.lane&-536870913;if(X!==C.lane?(ze&X)===X:(fa&X)===X){var z=C.revertLane;if(z===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),X===Tl&&(B=!0);else if((fa&z)===z){C=C.next,z===Tl&&(B=!0);continue}else X={lane:0,revertLane:C.revertLane,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},E===null?(g=E=X,d=r):E=E.next=X,Oe.lanes|=z,Ea|=z;X=C.action,Qa&&n(r,X),r=C.hasEagerState?C.eagerState:n(r,X)}else z={lane:X,revertLane:C.revertLane,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},E===null?(g=E=z,d=r):E=E.next=z,Oe.lanes|=X,Ea|=X;C=C.next}while(C!==null&&C!==t);if(E===null?d=r:E.next=g,!Vt(r,e.memoizedState)&&(gt=!0,B&&(n=xl,n!==null)))throw n;e.memoizedState=r,e.baseState=d,e.baseQueue=E,a.lastRenderedState=r}return i===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Tc(e){var t=ot(),n=t.queue;if(n===null)throw Error(f(311));n.lastRenderedReducer=e;var a=n.dispatch,i=n.pending,r=t.memoizedState;if(i!==null){n.pending=null;var d=i=i.next;do r=e(r,d.action),d=d.next;while(d!==i);Vt(r,t.memoizedState)||(gt=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),n.lastRenderedState=r}return[r,a]}function Ws(e,t,n){var a=Oe,i=ot(),r=Ue;if(r){if(n===void 0)throw Error(f(407));n=n()}else n=t();var d=!Vt((qe||i).memoizedState,n);if(d&&(i.memoizedState=n,gt=!0),i=i.queue,Dc(ed.bind(null,a,i,e),[e]),i.getSnapshot!==t||d||ft!==null&&ft.memoizedState.tag&1){if(a.flags|=2048,Cl(9,Is.bind(null,a,i,n,t),{destroy:void 0},null),Ze===null)throw Error(f(349));r||fa&60||Ps(a,t,n)}return n}function Ps(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Oe.updateQueue,t===null?(t=Ai(),Oe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Is(e,t,n,a){t.value=n,t.getSnapshot=a,td(t)&&nd(e)}function ed(e,t,n){return n(function(){td(t)&&nd(e)})}function td(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Vt(e,n)}catch{return!0}}function nd(e){var t=ia(e,2);t!==null&&wt(t,e,2)}function xc(e){var t=Lt();if(typeof e=="function"){var n=e;if(e=n(),Qa){Gt(!0);try{n()}finally{Gt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:e},t}function ad(e,t,n,a){return e.baseState=n,Rc(e,qe,typeof a=="function"?a:Gn)}function og(e,t,n,a,i){if(Ui(e))throw Error(f(485));if(e=t.action,e!==null){var r={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){r.listeners.push(d)}};$.T!==null?n(!0):r.isTransition=!1,a(r),n=t.pending,n===null?(r.next=t.pending=r,ld(t,r)):(r.next=n.next,t.pending=n.next=r)}}function ld(e,t){var n=t.action,a=t.payload,i=e.state;if(t.isTransition){var r=$.T,d={};$.T=d;try{var g=n(i,a),E=$.S;E!==null&&E(d,g),ud(e,t,g)}catch(C){Oc(e,t,C)}finally{$.T=r}}else try{r=n(i,a),ud(e,t,r)}catch(C){Oc(e,t,C)}}function ud(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){id(e,t,a)},function(a){return Oc(e,t,a)}):id(e,t,n)}function id(e,t,n){t.status="fulfilled",t.value=n,rd(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,ld(e,n)))}function Oc(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,rd(t),t=t.next;while(t!==a)}e.action=null}function rd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function cd(e,t){return t}function fd(e,t){if(Ue){var n=Ze.formState;if(n!==null){e:{var a=Oe;if(Ue){if(Rt){t:{for(var i=Rt,r=Dn;i.nodeType!==8;){if(!r){i=null;break t}if(i=Rn(i.nextSibling),i===null){i=null;break t}}r=i.data,i=r==="F!"||r==="F"?i:null}if(i){Rt=Rn(i.nextSibling),a=i.data==="F!";break e}}Ga(a)}a=!1}a&&(t=n[0])}}return n=Lt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cd,lastRenderedState:t},n.queue=a,n=Cd.bind(null,Oe,a),a.dispatch=n,a=xc(!1),r=wc.bind(null,Oe,!1,a.queue),a=Lt(),i={state:t,dispatch:null,action:e,pending:null},a.queue=i,n=og.bind(null,Oe,i,r,n),i.dispatch=n,a.memoizedState=e,[t,n,!1]}function od(e){var t=ot();return sd(t,qe,e)}function sd(e,t,n){t=Rc(e,t,cd)[0],e=wi(Gn)[0],t=typeof t=="object"&&t!==null&&typeof t.then=="function"?vu(t):t;var a=ot(),i=a.queue,r=i.dispatch;return n!==a.memoizedState&&(Oe.flags|=2048,Cl(9,sg.bind(null,i,n),{destroy:void 0},null)),[t,r,e]}function sg(e,t){e.action=t}function dd(e){var t=ot(),n=qe;if(n!==null)return sd(t,n,e);ot(),t=t.memoizedState,n=ot();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Cl(e,t,n,a){return e={tag:e,create:t,inst:n,deps:a,next:null},t=Oe.updateQueue,t===null&&(t=Ai(),Oe.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function hd(){return ot().memoizedState}function Ni(e,t,n,a){var i=Lt();Oe.flags|=e,i.memoizedState=Cl(1|t,n,{destroy:void 0},a===void 0?null:a)}function zi(e,t,n,a){var i=ot();a=a===void 0?null:a;var r=i.memoizedState.inst;qe!==null&&a!==null&&vc(a,qe.memoizedState.deps)?i.memoizedState=Cl(t,n,r,a):(Oe.flags|=e,i.memoizedState=Cl(1|t,n,r,a))}function md(e,t){Ni(8390656,8,e,t)}function Dc(e,t){zi(2048,8,e,t)}function yd(e,t){return zi(4,2,e,t)}function vd(e,t){return zi(4,4,e,t)}function gd(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function pd(e,t,n){n=n!=null?n.concat([e]):null,zi(4,4,gd.bind(null,t,e),n)}function Cc(){}function Ed(e,t){var n=ot();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&vc(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function bd(e,t){var n=ot();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&vc(t,a[1]))return a[0];if(a=e(),Qa){Gt(!0);try{e()}finally{Gt(!1)}}return n.memoizedState=[a,t],a}function Mc(e,t,n){return n===void 0||fa&1073741824?e.memoizedState=t:(e.memoizedState=n,e=Rh(),Oe.lanes|=e,Ea|=e,n)}function Sd(e,t,n,a){return Vt(n,t)?n:Rl.current!==null?(e=Mc(e,n,a),Vt(e,t)||(gt=!0),e):fa&42?(e=Rh(),Oe.lanes|=e,Ea|=e,t):(gt=!0,e.memoizedState=n)}function Rd(e,t,n,a,i){var r=J.p;J.p=r!==0&&8>r?r:8;var d=$.T,g={};$.T=g,wc(e,!1,t,n);try{var E=i(),C=$.S;if(C!==null&&C(g,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var B=rg(E,a);gu(e,t,B,kt(e))}else gu(e,t,a,kt(e))}catch(X){gu(e,t,{then:function(){},status:"rejected",reason:X},kt())}finally{J.p=r,$.T=d}}function dg(){}function Ac(e,t,n,a){if(e.tag!==5)throw Error(f(476));var i=Td(e).queue;Rd(e,i,t,ve,n===null?dg:function(){return xd(e),n(a)})}function Td(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ve,baseState:ve,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:ve},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function xd(e){var t=Td(e).next.queue;gu(e,t,{},kt())}function _c(){return Dt(Hu)}function Od(){return ot().memoizedState}function Dd(){return ot().memoizedState}function hg(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=kt();e=ha(n);var a=ma(t,e,n);a!==null&&(wt(a,t,n),bu(a,t,n)),t={cache:hc()},e.payload=t;return}t=t.return}}function mg(e,t,n){var a=kt();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Ui(e)?Md(t,n):(n=ic(e,t,n,a),n!==null&&(wt(n,e,a),Ad(n,t,a)))}function Cd(e,t,n){var a=kt();gu(e,t,n,a)}function gu(e,t,n,a){var i={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ui(e))Md(t,i);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var d=t.lastRenderedState,g=r(d,n);if(i.hasEagerState=!0,i.eagerState=g,Vt(g,d))return gi(e,t,i,0),Ze===null&&vi(),!1}catch{}finally{}if(n=ic(e,t,i,a),n!==null)return wt(n,e,a),Ad(n,t,a),!0}return!1}function wc(e,t,n,a){if(a={lane:2,revertLane:Sf(),action:a,hasEagerState:!1,eagerState:null,next:null},Ui(e)){if(t)throw Error(f(479))}else t=ic(e,n,a,2),t!==null&&wt(t,e,2)}function Ui(e){var t=e.alternate;return e===Oe||t!==null&&t===Oe}function Md(e,t){Ol=Ci=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ad(e,t,n){if(n&4194176){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ge(e,n)}}var Mn={readContext:Dt,use:_i,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useLayoutEffect:rt,useInsertionEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useSyncExternalStore:rt,useId:rt};Mn.useCacheRefresh=rt,Mn.useMemoCache=rt,Mn.useHostTransitionStatus=rt,Mn.useFormState=rt,Mn.useActionState=rt,Mn.useOptimistic=rt;var Za={readContext:Dt,use:_i,useCallback:function(e,t){return Lt().memoizedState=[e,t===void 0?null:t],e},useContext:Dt,useEffect:md,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Ni(4194308,4,gd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ni(4194308,4,e,t)},useInsertionEffect:function(e,t){Ni(4,2,e,t)},useMemo:function(e,t){var n=Lt();t=t===void 0?null:t;var a=e();if(Qa){Gt(!0);try{e()}finally{Gt(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Lt();if(n!==void 0){var i=n(t);if(Qa){Gt(!0);try{n(t)}finally{Gt(!1)}}}else i=t;return a.memoizedState=a.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=mg.bind(null,Oe,e),[a.memoizedState,e]},useRef:function(e){var t=Lt();return e={current:e},t.memoizedState=e},useState:function(e){e=xc(e);var t=e.queue,n=Cd.bind(null,Oe,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Cc,useDeferredValue:function(e,t){var n=Lt();return Mc(n,e,t)},useTransition:function(){var e=xc(!1);return e=Rd.bind(null,Oe,e.queue,!0,!1),Lt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=Oe,i=Lt();if(Ue){if(n===void 0)throw Error(f(407));n=n()}else{if(n=t(),Ze===null)throw Error(f(349));ze&60||Ps(a,t,n)}i.memoizedState=n;var r={value:n,getSnapshot:t};return i.queue=r,md(ed.bind(null,a,r,e),[e]),a.flags|=2048,Cl(9,Is.bind(null,a,r,n,t),{destroy:void 0},null),n},useId:function(){var e=Lt(),t=Ze.identifierPrefix;if(Ue){var n=qn,a=Bn;n=(a&~(1<<32-Ot(a)-1)).toString(32)+n,t=":"+t+"R"+n,n=Mi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=cg++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},useCacheRefresh:function(){return Lt().memoizedState=hg.bind(null,Oe)}};Za.useMemoCache=Sc,Za.useHostTransitionStatus=_c,Za.useFormState=fd,Za.useActionState=fd,Za.useOptimistic=function(e){var t=Lt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=wc.bind(null,Oe,!0,n),n.dispatch=t,[e,t]};var oa={readContext:Dt,use:_i,useCallback:Ed,useContext:Dt,useEffect:Dc,useImperativeHandle:pd,useInsertionEffect:yd,useLayoutEffect:vd,useMemo:bd,useReducer:wi,useRef:hd,useState:function(){return wi(Gn)},useDebugValue:Cc,useDeferredValue:function(e,t){var n=ot();return Sd(n,qe.memoizedState,e,t)},useTransition:function(){var e=wi(Gn)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:vu(e),t]},useSyncExternalStore:Ws,useId:Od};oa.useCacheRefresh=Dd,oa.useMemoCache=Sc,oa.useHostTransitionStatus=_c,oa.useFormState=od,oa.useActionState=od,oa.useOptimistic=function(e,t){var n=ot();return ad(n,qe,e,t)};var Ka={readContext:Dt,use:_i,useCallback:Ed,useContext:Dt,useEffect:Dc,useImperativeHandle:pd,useInsertionEffect:yd,useLayoutEffect:vd,useMemo:bd,useReducer:Tc,useRef:hd,useState:function(){return Tc(Gn)},useDebugValue:Cc,useDeferredValue:function(e,t){var n=ot();return qe===null?Mc(n,e,t):Sd(n,qe.memoizedState,e,t)},useTransition:function(){var e=Tc(Gn)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:vu(e),t]},useSyncExternalStore:Ws,useId:Od};Ka.useCacheRefresh=Dd,Ka.useMemoCache=Sc,Ka.useHostTransitionStatus=_c,Ka.useFormState=dd,Ka.useActionState=dd,Ka.useOptimistic=function(e,t){var n=ot();return qe!==null?ad(n,qe,e,t):(n.baseState=e,[e,n.queue.dispatch])};function Nc(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:ie({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var zc={isMounted:function(e){return(e=e._reactInternals)?W(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var a=kt(),i=ha(a);i.payload=t,n!=null&&(i.callback=n),t=ma(e,i,a),t!==null&&(wt(t,e,a),bu(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=kt(),i=ha(a);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=ma(e,i,a),t!==null&&(wt(t,e,a),bu(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=kt(),a=ha(n);a.tag=2,t!=null&&(a.callback=t),t=ma(e,a,n),t!==null&&(wt(t,e,n),bu(t,e,n))}};function _d(e,t,n,a,i,r,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,r,d):t.prototype&&t.prototype.isPureReactComponent?!lu(n,a)||!lu(i,r):!0}function wd(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&zc.enqueueReplaceState(t,t.state,null)}function ka(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=ie({},n));for(var i in e)n[i]===void 0&&(n[i]=e[i])}return n}var ji=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Nd(e){ji(e)}function zd(e){console.error(e)}function Ud(e){ji(e)}function Li(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function jd(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Uc(e,t,n){return n=ha(n),n.tag=3,n.payload={element:null},n.callback=function(){Li(e,t)},n}function Ld(e){return e=ha(e),e.tag=3,e}function Hd(e,t,n,a){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var r=a.value;e.payload=function(){return i(r)},e.callback=function(){jd(t,n,a)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){jd(t,n,a),typeof i!="function"&&(ba===null?ba=new Set([this]):ba.add(this));var g=a.stack;this.componentDidCatch(a.value,{componentStack:g!==null?g:""})})}function yg(e,t,n,a,i){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Eu(t,n,i,!0),n=un.current,n!==null){switch(n.tag){case 13:return Cn===null?vf():n.alternate===null&&at===0&&(at=3),n.flags&=-257,n.flags|=65536,n.lanes=i,a===oc?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),pf(e,a,i)),!1;case 22:return n.flags|=65536,a===oc?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),pf(e,a,i)),!1}throw Error(f(435,n.tag))}return pf(e,a,i),vf(),!1}if(Ue)return t=un.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,a!==fc&&(e=Error(f(422),{cause:a}),cu(nn(e,n)))):(a!==fc&&(t=Error(f(423),{cause:a}),cu(nn(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,a=nn(a,n),i=Uc(e.stateNode,a,i),Jc(e,i),at!==4&&(at=2)),!1;var r=Error(f(520),{cause:a});if(r=nn(r,n),Mu===null?Mu=[r]:Mu.push(r),at!==4&&(at=2),t===null)return!0;a=nn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=Uc(n.stateNode,a,e),Jc(n,e),!1;case 1:if(t=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(ba===null||!ba.has(r))))return n.flags|=65536,i&=-i,n.lanes|=i,i=Ld(i),Hd(i,e,n,a),Jc(n,i),!1}n=n.return}while(n!==null);return!1}var Bd=Error(f(461)),gt=!1;function Tt(e,t,n,a){t.child=e===null?Vs(t,null,n,a):Xa(t,e.child,n,a)}function qd(e,t,n,a,i){n=n.render;var r=t.ref;if("ref"in a){var d={};for(var g in a)g!=="ref"&&(d[g]=a[g])}else d=a;return Ja(t),a=gc(e,t,n,d,r,i),g=pc(),e!==null&&!gt?(Ec(e,t,i),Xn(e,t,i)):(Ue&&g&&rc(t),t.flags|=1,Tt(e,t,a,i),t.child)}function Yd(e,t,n,a,i){if(e===null){var r=n.type;return typeof r=="function"&&!af(r)&&r.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=r,Gd(e,t,r,a,i)):(e=Gi(n.type,null,a,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!Vc(e,i)){var d=r.memoizedProps;if(n=n.compare,n=n!==null?n:lu,n(d,a)&&e.ref===t.ref)return Xn(e,t,i)}return t.flags|=1,e=pa(r,a),e.ref=t.ref,e.return=t,t.child=e}function Gd(e,t,n,a,i){if(e!==null){var r=e.memoizedProps;if(lu(r,a)&&e.ref===t.ref)if(gt=!1,t.pendingProps=a=r,Vc(e,i))e.flags&131072&&(gt=!0);else return t.lanes=e.lanes,Xn(e,t,i)}return jc(e,t,n,a,i)}function Xd(e,t,n){var a=t.pendingProps,i=a.children,r=(t.stateNode._pendingVisibility&2)!==0,d=e!==null?e.memoizedState:null;if(pu(e,t),a.mode==="hidden"||r){if(t.flags&128){if(a=d!==null?d.baseLanes|n:n,e!==null){for(i=t.child=e.child,r=0;i!==null;)r=r|i.lanes|i.childLanes,i=i.sibling;t.childLanes=r&~a}else t.childLanes=0,t.child=null;return Vd(e,t,a,n)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Di(t,d!==null?d.cachePool:null),d!==null?Qs(t,d):sc(),Zs(t);else return t.lanes=t.childLanes=536870912,Vd(e,t,d!==null?d.baseLanes|n:n,n)}else d!==null?(Di(t,d.cachePool),Qs(t,d),ca(),t.memoizedState=null):(e!==null&&Di(t,null),sc(),ca());return Tt(e,t,i,n),t.child}function Vd(e,t,n,a){var i=yc();return i=i===null?null:{parent:mt._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&Di(t,null),sc(),Zs(t),e!==null&&Eu(e,t,a,!0),null}function pu(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=2097664);else{if(typeof n!="function"&&typeof n!="object")throw Error(f(284));(e===null||e.ref!==n)&&(t.flags|=2097664)}}function jc(e,t,n,a,i){return Ja(t),n=gc(e,t,n,a,void 0,i),a=pc(),e!==null&&!gt?(Ec(e,t,i),Xn(e,t,i)):(Ue&&a&&rc(t),t.flags|=1,Tt(e,t,n,i),t.child)}function Qd(e,t,n,a,i,r){return Ja(t),t.updateQueue=null,n=Fs(t,a,n,i),Js(e),a=pc(),e!==null&&!gt?(Ec(e,t,r),Xn(e,t,r)):(Ue&&a&&rc(t),t.flags|=1,Tt(e,t,n,r),t.child)}function Zd(e,t,n,a,i){if(Ja(t),t.stateNode===null){var r=pl,d=n.contextType;typeof d=="object"&&d!==null&&(r=Dt(d)),r=new n(a,r),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=zc,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=a,r.state=t.memoizedState,r.refs={},kc(t),d=n.contextType,r.context=typeof d=="object"&&d!==null?Dt(d):pl,r.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Nc(t,n,d,a),r.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(d=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),d!==r.state&&zc.enqueueReplaceState(r,r.state,null),Ru(t,a,r,i),Su(),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){r=t.stateNode;var g=t.memoizedProps,E=ka(n,g);r.props=E;var C=r.context,B=n.contextType;d=pl,typeof B=="object"&&B!==null&&(d=Dt(B));var X=n.getDerivedStateFromProps;B=typeof X=="function"||typeof r.getSnapshotBeforeUpdate=="function",g=t.pendingProps!==g,B||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(g||C!==d)&&wd(t,r,a,d),da=!1;var z=t.memoizedState;r.state=z,Ru(t,a,r,i),Su(),C=t.memoizedState,g||z!==C||da?(typeof X=="function"&&(Nc(t,n,X,a),C=t.memoizedState),(E=da||_d(t,n,E,a,z,C,d))?(B||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(t.flags|=4194308)):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=C),r.props=a,r.state=C,r.context=d,a=E):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{r=t.stateNode,$c(e,t),d=t.memoizedProps,B=ka(n,d),r.props=B,X=t.pendingProps,z=r.context,C=n.contextType,E=pl,typeof C=="object"&&C!==null&&(E=Dt(C)),g=n.getDerivedStateFromProps,(C=typeof g=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(d!==X||z!==E)&&wd(t,r,a,E),da=!1,z=t.memoizedState,r.state=z,Ru(t,a,r,i),Su();var H=t.memoizedState;d!==X||z!==H||da||e!==null&&e.dependencies!==null&&Hi(e.dependencies)?(typeof g=="function"&&(Nc(t,n,g,a),H=t.memoizedState),(B=da||_d(t,n,B,a,z,H,E)||e!==null&&e.dependencies!==null&&Hi(e.dependencies))?(C||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(a,H,E),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(a,H,E)),typeof r.componentDidUpdate=="function"&&(t.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof r.componentDidUpdate!="function"||d===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=H),r.props=a,r.state=H,r.context=E,a=B):(typeof r.componentDidUpdate!="function"||d===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),a=!1)}return r=a,pu(e,t),a=(t.flags&128)!==0,r||a?(r=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:r.render(),t.flags|=1,e!==null&&a?(t.child=Xa(t,e.child,null,i),t.child=Xa(t,null,n,i)):Tt(e,t,n,i),t.memoizedState=r.state,e=t.child):e=Xn(e,t,i),e}function Kd(e,t,n,a){return ru(),t.flags|=256,Tt(e,t,n,a),t.child}var Lc={dehydrated:null,treeContext:null,retryLane:0};function Hc(e){return{baseLanes:e,cachePool:$s()}}function Bc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=on),e}function kd(e,t,n){var a=t.pendingProps,i=!1,r=(t.flags&128)!==0,d;if((d=r)||(d=e!==null&&e.memoizedState===null?!1:(ht.current&2)!==0),d&&(i=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ue){if(i?ra(t):ca(),Ue){var g=Rt,E;if(E=g){e:{for(E=g,g=Dn;E.nodeType!==8;){if(!g){g=null;break e}if(E=Rn(E.nextSibling),E===null){g=null;break e}}g=E}g!==null?(t.memoizedState={dehydrated:g,treeContext:qa!==null?{id:Bn,overflow:qn}:null,retryLane:536870912},E=fn(18,null,null,0),E.stateNode=g,E.return=t,t.child=E,_t=t,Rt=null,E=!0):E=!1}E||Ga(t)}if(g=t.memoizedState,g!==null&&(g=g.dehydrated,g!==null))return g.data==="$!"?t.lanes=16:t.lanes=536870912,null;Yn(t)}return g=a.children,a=a.fallback,i?(ca(),i=t.mode,g=Yc({mode:"hidden",children:g},i),a=Wa(a,i,n,null),g.return=t,a.return=t,g.sibling=a,t.child=g,i=t.child,i.memoizedState=Hc(n),i.childLanes=Bc(e,d,n),t.memoizedState=Lc,a):(ra(t),qc(t,g))}if(E=e.memoizedState,E!==null&&(g=E.dehydrated,g!==null)){if(r)t.flags&256?(ra(t),t.flags&=-257,t=Gc(e,t,n)):t.memoizedState!==null?(ca(),t.child=e.child,t.flags|=128,t=null):(ca(),i=a.fallback,g=t.mode,a=Yc({mode:"visible",children:a.children},g),i=Wa(i,g,n,null),i.flags|=2,a.return=t,i.return=t,a.sibling=i,t.child=a,Xa(t,e.child,null,n),a=t.child,a.memoizedState=Hc(n),a.childLanes=Bc(e,d,n),t.memoizedState=Lc,t=i);else if(ra(t),g.data==="$!"){if(d=g.nextSibling&&g.nextSibling.dataset,d)var C=d.dgst;d=C,a=Error(f(419)),a.stack="",a.digest=d,cu({value:a,source:null,stack:null}),t=Gc(e,t,n)}else if(gt||Eu(e,t,n,!1),d=(n&e.childLanes)!==0,gt||d){if(d=Ze,d!==null){if(a=n&-n,a&42)a=1;else switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:a=64;break;case 268435456:a=134217728;break;default:a=0}if(a=a&(d.suspendedLanes|n)?0:a,a!==0&&a!==E.retryLane)throw E.retryLane=a,ia(e,a),wt(d,e,a),Bd}g.data==="$?"||vf(),t=Gc(e,t,n)}else g.data==="$?"?(t.flags|=128,t.child=e.child,t=_g.bind(null,e),g._reactRetry=t,t=null):(e=E.treeContext,Rt=Rn(g.nextSibling),_t=t,Ue=!0,bn=null,Dn=!1,e!==null&&(an[ln++]=Bn,an[ln++]=qn,an[ln++]=qa,Bn=e.id,qn=e.overflow,qa=t),t=qc(t,a.children),t.flags|=4096);return t}return i?(ca(),i=a.fallback,g=t.mode,E=e.child,C=E.sibling,a=pa(E,{mode:"hidden",children:a.children}),a.subtreeFlags=E.subtreeFlags&31457280,C!==null?i=pa(C,i):(i=Wa(i,g,n,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,g=e.child.memoizedState,g===null?g=Hc(n):(E=g.cachePool,E!==null?(C=mt._currentValue,E=E.parent!==C?{parent:C,pool:C}:E):E=$s(),g={baseLanes:g.baseLanes|n,cachePool:E}),i.memoizedState=g,i.childLanes=Bc(e,d,n),t.memoizedState=Lc,a):(ra(t),n=e.child,e=n.sibling,n=pa(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=n,t.memoizedState=null,n)}function qc(e,t){return t=Yc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Yc(e,t){return Eh(e,t,0,null)}function Gc(e,t,n){return Xa(t,e.child,null,n),e=qc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function $d(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Zc(e.return,t,n)}function Xc(e,t,n,a,i){var r=e.memoizedState;r===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:i}:(r.isBackwards=t,r.rendering=null,r.renderingStartTime=0,r.last=a,r.tail=n,r.tailMode=i)}function Jd(e,t,n){var a=t.pendingProps,i=a.revealOrder,r=a.tail;if(Tt(e,t,a.children,n),a=ht.current,a&2)a=a&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&$d(e,n,t);else if(e.tag===19)$d(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}switch(De(ht,a),i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Oi(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Xc(t,!1,i,n,r);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Oi(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Xc(t,!0,n,null,r);break;case"together":Xc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Xn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ea|=t.lanes,!(n&t.childLanes))if(e!==null){if(Eu(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(f(153));if(t.child!==null){for(e=t.child,n=pa(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=pa(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Vc(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&Hi(e)))}function vg(e,t,n){switch(t.tag){case 3:Le(t,t.stateNode.containerInfo),sa(t,mt,e.memoizedState.cache),ru();break;case 27:case 5:hn(t);break;case 4:Le(t,t.stateNode.containerInfo);break;case 10:sa(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(ra(t),t.flags|=128,null):n&t.child.childLanes?kd(e,t,n):(ra(t),e=Xn(e,t,n),e!==null?e.sibling:null);ra(t);break;case 19:var i=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Eu(e,t,n,!1),a=(n&t.childLanes)!==0),i){if(a)return Jd(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),De(ht,ht.current),a)break;return null;case 22:case 23:return t.lanes=0,Xd(e,t,n);case 24:sa(t,mt,e.memoizedState.cache)}return Xn(e,t,n)}function Fd(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)gt=!0;else{if(!Vc(e,n)&&!(t.flags&128))return gt=!1,vg(e,t,n);gt=!!(e.flags&131072)}else gt=!1,Ue&&t.flags&1048576&&Us(t,bi,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,i=a._init;if(a=i(a._payload),t.type=a,typeof a=="function")af(a)?(e=ka(a,e),t.tag=1,t=Zd(null,t,a,e,n)):(t.tag=0,t=jc(null,t,a,e,n));else{if(a!=null){if(i=a.$$typeof,i===N){t.tag=11,t=qd(null,t,a,e,n);break e}else if(i===U){t.tag=14,t=Yd(null,t,a,e,n);break e}}throw t=oe(a)||a,Error(f(306,t,""))}}return t;case 0:return jc(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,i=ka(a,t.pendingProps),Zd(e,t,a,i,n);case 3:e:{if(Le(t,t.stateNode.containerInfo),e===null)throw Error(f(387));var r=t.pendingProps;i=t.memoizedState,a=i.element,$c(e,t),Ru(t,r,null,n);var d=t.memoizedState;if(r=d.cache,sa(t,mt,r),r!==i.cache&&Kc(t,[mt],n,!0),Su(),r=d.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=Kd(e,t,r,n);break e}else if(r!==a){a=nn(Error(f(424)),t),cu(a),t=Kd(e,t,r,n);break e}else for(Rt=Rn(t.stateNode.containerInfo.firstChild),_t=t,Ue=!0,bn=null,Dn=!0,n=Vs(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ru(),r===a){t=Xn(e,t,n);break e}Tt(e,t,r,n)}t=t.child}return t;case 26:return pu(e,t),e===null?(n=Ih(t.type,null,t.pendingProps,null))?t.memoizedState=n:Ue||(n=t.type,e=t.pendingProps,a=Ii(et.current).createElement(n),a[de]=t,a[xe]=e,xt(a,n,e),Fe(a),t.stateNode=a):t.memoizedState=Ih(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return hn(t),e===null&&Ue&&(a=t.stateNode=Fh(t.type,t.pendingProps,et.current),_t=t,Dn=!0,Rt=Rn(a.firstChild)),a=t.pendingProps.children,e!==null||Ue?Tt(e,t,a,n):t.child=Xa(t,null,a,n),pu(e,t),t.child;case 5:return e===null&&Ue&&((i=a=Rt)&&(a=Kg(a,t.type,t.pendingProps,Dn),a!==null?(t.stateNode=a,_t=t,Rt=Rn(a.firstChild),Dn=!1,i=!0):i=!1),i||Ga(t)),hn(t),i=t.type,r=t.pendingProps,d=e!==null?e.memoizedProps:null,a=r.children,_f(i,r)?a=null:d!==null&&_f(i,d)&&(t.flags|=32),t.memoizedState!==null&&(i=gc(e,t,fg,null,null,n),Hu._currentValue=i),pu(e,t),Tt(e,t,a,n),t.child;case 6:return e===null&&Ue&&((e=n=Rt)&&(n=kg(n,t.pendingProps,Dn),n!==null?(t.stateNode=n,_t=t,Rt=null,e=!0):e=!1),e||Ga(t)),null;case 13:return kd(e,t,n);case 4:return Le(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Xa(t,null,a,n):Tt(e,t,a,n),t.child;case 11:return qd(e,t,t.type,t.pendingProps,n);case 7:return Tt(e,t,t.pendingProps,n),t.child;case 8:return Tt(e,t,t.pendingProps.children,n),t.child;case 12:return Tt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,sa(t,t.type,a.value),Tt(e,t,a.children,n),t.child;case 9:return i=t.type._context,a=t.pendingProps.children,Ja(t),i=Dt(i),a=a(i),t.flags|=1,Tt(e,t,a,n),t.child;case 14:return Yd(e,t,t.type,t.pendingProps,n);case 15:return Gd(e,t,t.type,t.pendingProps,n);case 19:return Jd(e,t,n);case 22:return Xd(e,t,n);case 24:return Ja(t),a=Dt(mt),e===null?(i=yc(),i===null&&(i=Ze,r=hc(),i.pooledCache=r,r.refCount++,r!==null&&(i.pooledCacheLanes|=n),i=r),t.memoizedState={parent:a,cache:i},kc(t),sa(t,mt,i)):(e.lanes&n&&($c(e,t),Ru(t,null,null,n),Su()),i=e.memoizedState,r=t.memoizedState,i.parent!==a?(i={parent:a,cache:a},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),sa(t,mt,a)):(a=r.cache,sa(t,mt,a),a!==i.cache&&Kc(t,[mt],n,!0))),Tt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(f(156,t.tag))}var Qc=_e(null),$a=null,Vn=null;function sa(e,t,n){De(Qc,t._currentValue),t._currentValue=n}function Qn(e){e._currentValue=Qc.current,Se(Qc)}function Zc(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function Kc(e,t,n,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var r=i.dependencies;if(r!==null){var d=i.child;r=r.firstContext;e:for(;r!==null;){var g=r;r=i;for(var E=0;E<t.length;E++)if(g.context===t[E]){r.lanes|=n,g=r.alternate,g!==null&&(g.lanes|=n),Zc(r.return,n,e),a||(d=null);break e}r=g.next}}else if(i.tag===18){if(d=i.return,d===null)throw Error(f(341));d.lanes|=n,r=d.alternate,r!==null&&(r.lanes|=n),Zc(d,n,e),d=null}else d=i.child;if(d!==null)d.return=i;else for(d=i;d!==null;){if(d===e){d=null;break}if(i=d.sibling,i!==null){i.return=d.return,d=i;break}d=d.return}i=d}}function Eu(e,t,n,a){e=null;for(var i=t,r=!1;i!==null;){if(!r){if(i.flags&524288)r=!0;else if(i.flags&262144)break}if(i.tag===10){var d=i.alternate;if(d===null)throw Error(f(387));if(d=d.memoizedProps,d!==null){var g=i.type;Vt(i.pendingProps.value,d.value)||(e!==null?e.push(g):e=[g])}}else if(i===qt.current){if(d=i.alternate,d===null)throw Error(f(387));d.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(Hu):e=[Hu])}i=i.return}e!==null&&Kc(t,e,n,a),t.flags|=262144}function Hi(e){for(e=e.firstContext;e!==null;){if(!Vt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ja(e){$a=e,Vn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Dt(e){return Wd($a,e)}function Bi(e,t){return $a===null&&Ja(e),Wd(e,t)}function Wd(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Vn===null){if(e===null)throw Error(f(308));Vn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Vn=Vn.next=t;return n}var da=!1;function kc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $c(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ha(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ma(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,Pe&2){var i=a.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),a.pending=t,t=pi(e),Ns(e,null,n),t}return gi(e,a,t,n),pi(e)}function bu(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194176)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ge(e,n)}}function Jc(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var i=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?i=r=d:r=r.next=d,n=n.next}while(n!==null);r===null?i=r=t:r=r.next=t}else i=r=t;n={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:r,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Fc=!1;function Su(){if(Fc){var e=xl;if(e!==null)throw e}}function Ru(e,t,n,a){Fc=!1;var i=e.updateQueue;da=!1;var r=i.firstBaseUpdate,d=i.lastBaseUpdate,g=i.shared.pending;if(g!==null){i.shared.pending=null;var E=g,C=E.next;E.next=null,d===null?r=C:d.next=C,d=E;var B=e.alternate;B!==null&&(B=B.updateQueue,g=B.lastBaseUpdate,g!==d&&(g===null?B.firstBaseUpdate=C:g.next=C,B.lastBaseUpdate=E))}if(r!==null){var X=i.baseState;d=0,B=C=E=null,g=r;do{var z=g.lane&-536870913,H=z!==g.lane;if(H?(ze&z)===z:(a&z)===z){z!==0&&z===Tl&&(Fc=!0),B!==null&&(B=B.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var re=e,Ee=g;z=t;var lt=n;switch(Ee.tag){case 1:if(re=Ee.payload,typeof re=="function"){X=re.call(lt,X,z);break e}X=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=Ee.payload,z=typeof re=="function"?re.call(lt,X,z):re,z==null)break e;X=ie({},X,z);break e;case 2:da=!0}}z=g.callback,z!==null&&(e.flags|=64,H&&(e.flags|=8192),H=i.callbacks,H===null?i.callbacks=[z]:H.push(z))}else H={lane:z,tag:g.tag,payload:g.payload,callback:g.callback,next:null},B===null?(C=B=H,E=X):B=B.next=H,d|=z;if(g=g.next,g===null){if(g=i.shared.pending,g===null)break;H=g,g=H.next,H.next=null,i.lastBaseUpdate=H,i.shared.pending=null}}while(!0);B===null&&(E=X),i.baseState=E,i.firstBaseUpdate=C,i.lastBaseUpdate=B,r===null&&(i.shared.lanes=0),Ea|=d,e.lanes=d,e.memoizedState=X}}function Pd(e,t){if(typeof e!="function")throw Error(f(191,e));e.call(t)}function Id(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Pd(n[e],t)}function Tu(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&e)===e){a=void 0;var r=n.create,d=n.inst;a=r(),d.destroy=a}n=n.next}while(n!==i)}}catch(g){Qe(t,t.return,g)}}function ya(e,t,n){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var r=i.next;a=r;do{if((a.tag&e)===e){var d=a.inst,g=d.destroy;if(g!==void 0){d.destroy=void 0,i=t;var E=n;try{g()}catch(C){Qe(i,E,C)}}}a=a.next}while(a!==r)}}catch(C){Qe(t,t.return,C)}}function eh(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Id(t,n)}catch(a){Qe(e,e.return,a)}}}function th(e,t,n){n.props=ka(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Qe(e,t,a)}}function Fa(e,t){try{var n=e.ref;if(n!==null){var a=e.stateNode;switch(e.tag){case 26:case 27:case 5:var i=a;break;default:i=a}typeof n=="function"?e.refCleanup=n(i):n.current=i}}catch(r){Qe(e,t,r)}}function Qt(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(i){Qe(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){Qe(e,t,i)}else n.current=null}function nh(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(i){Qe(e,e.return,i)}}function ah(e,t,n){try{var a=e.stateNode;Gg(a,e.type,n,t),a[xe]=t}catch(i){Qe(e,e.return,i)}}function lh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27||e.tag===4}function Wc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==27&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Pc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Pi));else if(a!==4&&a!==27&&(e=e.child,e!==null))for(Pc(e,t,n),e=e.sibling;e!==null;)Pc(e,t,n),e=e.sibling}function qi(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&a!==27&&(e=e.child,e!==null))for(qi(e,t,n),e=e.sibling;e!==null;)qi(e,t,n),e=e.sibling}var Zn=!1,nt=!1,Ic=!1,uh=typeof WeakSet=="function"?WeakSet:Set,pt=null,ih=!1;function gg(e,t){if(e=e.containerInfo,Mf=ur,e=Ts(e),tc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var i=a.anchorOffset,r=a.focusNode;a=a.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break e}var d=0,g=-1,E=-1,C=0,B=0,X=e,z=null;t:for(;;){for(var H;X!==n||i!==0&&X.nodeType!==3||(g=d+i),X!==r||a!==0&&X.nodeType!==3||(E=d+a),X.nodeType===3&&(d+=X.nodeValue.length),(H=X.firstChild)!==null;)z=X,X=H;for(;;){if(X===e)break t;if(z===n&&++C===i&&(g=d),z===r&&++B===a&&(E=d),(H=X.nextSibling)!==null)break;X=z,z=X.parentNode}X=H}n=g===-1||E===-1?null:{start:g,end:E}}else n=null}n=n||{start:0,end:0}}else n=null;for(Af={focusedElem:e,selectionRange:n},ur=!1,pt=t;pt!==null;)if(t=pt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,pt=e;else for(;pt!==null;){switch(t=pt,r=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if(e&1024&&r!==null){e=void 0,n=t,i=r.memoizedProps,r=r.memoizedState,a=n.stateNode;try{var re=ka(n.type,i,n.elementType===n.type);e=a.getSnapshotBeforeUpdate(re,r),a.__reactInternalSnapshotBeforeUpdate=e}catch(Ee){Qe(n,n.return,Ee)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)zf(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":zf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(f(163))}if(e=t.sibling,e!==null){e.return=t.return,pt=e;break}pt=t.return}return re=ih,ih=!1,re}function rh(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:kn(e,n),a&4&&Tu(5,n);break;case 1:if(kn(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(g){Qe(n,n.return,g)}else{var i=ka(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(g){Qe(n,n.return,g)}}a&64&&eh(n),a&512&&Fa(n,n.return);break;case 3:if(kn(e,n),a&64&&(a=n.updateQueue,a!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{Id(a,e)}catch(g){Qe(n,n.return,g)}}break;case 26:kn(e,n),a&512&&Fa(n,n.return);break;case 27:case 5:kn(e,n),t===null&&a&4&&nh(n),a&512&&Fa(n,n.return);break;case 12:kn(e,n);break;case 13:kn(e,n),a&4&&oh(e,n);break;case 22:if(i=n.memoizedState!==null||Zn,!i){t=t!==null&&t.memoizedState!==null||nt;var r=Zn,d=nt;Zn=i,(nt=t)&&!d?va(e,n,(n.subtreeFlags&8772)!==0):kn(e,n),Zn=r,nt=d}a&512&&(n.memoizedProps.mode==="manual"?Fa(n,n.return):Qt(n,n.return));break;default:kn(e,n)}}function ch(e){var t=e.alternate;t!==null&&(e.alternate=null,ch(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Xt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var st=null,Zt=!1;function Kn(e,t,n){for(n=n.child;n!==null;)fh(e,t,n),n=n.sibling}function fh(e,t,n){if(Mt&&typeof Mt.onCommitFiberUnmount=="function")try{Mt.onCommitFiberUnmount(la,n)}catch{}switch(n.tag){case 26:nt||Qt(n,t),Kn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:nt||Qt(n,t);var a=st,i=Zt;for(st=n.stateNode,Kn(e,t,n),n=n.stateNode,t=n.attributes;t.length;)n.removeAttributeNode(t[0]);Xt(n),st=a,Zt=i;break;case 5:nt||Qt(n,t);case 6:i=st;var r=Zt;if(st=null,Kn(e,t,n),st=i,Zt=r,st!==null)if(Zt)try{e=st,a=n.stateNode,e.nodeType===8?e.parentNode.removeChild(a):e.removeChild(a)}catch(d){Qe(n,t,d)}else try{st.removeChild(n.stateNode)}catch(d){Qe(n,t,d)}break;case 18:st!==null&&(Zt?(t=st,n=n.stateNode,t.nodeType===8?Nf(t.parentNode,n):t.nodeType===1&&Nf(t,n),Gu(t)):Nf(st,n.stateNode));break;case 4:a=st,i=Zt,st=n.stateNode.containerInfo,Zt=!0,Kn(e,t,n),st=a,Zt=i;break;case 0:case 11:case 14:case 15:nt||ya(2,n,t),nt||ya(4,n,t),Kn(e,t,n);break;case 1:nt||(Qt(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&th(n,t,a)),Kn(e,t,n);break;case 21:Kn(e,t,n);break;case 22:nt||Qt(n,t),nt=(a=nt)||n.memoizedState!==null,Kn(e,t,n),nt=a;break;default:Kn(e,t,n)}}function oh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Gu(e)}catch(n){Qe(t,t.return,n)}}function pg(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new uh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new uh),t;default:throw Error(f(435,e.tag))}}function ef(e,t){var n=pg(e);t.forEach(function(a){var i=wg.bind(null,e,a);n.has(a)||(n.add(a),a.then(i,i))})}function rn(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var i=n[a],r=e,d=t,g=d;e:for(;g!==null;){switch(g.tag){case 27:case 5:st=g.stateNode,Zt=!1;break e;case 3:st=g.stateNode.containerInfo,Zt=!0;break e;case 4:st=g.stateNode.containerInfo,Zt=!0;break e}g=g.return}if(st===null)throw Error(f(160));fh(r,d,i),st=null,Zt=!1,r=i.alternate,r!==null&&(r.return=null),i.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)sh(t,e),t=t.sibling}var Sn=null;function sh(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:rn(t,e),cn(e),a&4&&(ya(3,e,e.return),Tu(3,e),ya(5,e,e.return));break;case 1:rn(t,e),cn(e),a&512&&(nt||n===null||Qt(n,n.return)),a&64&&Zn&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var i=Sn;if(rn(t,e),cn(e),a&512&&(nt||n===null||Qt(n,n.return)),a&4){var r=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(a){case"title":r=i.getElementsByTagName("title")[0],(!r||r[vn]||r[de]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=i.createElement(a),i.head.insertBefore(r,i.querySelector("head > title"))),xt(r,a,n),r[de]=e,Fe(r),a=r;break e;case"link":var d=nm("link","href",i).get(a+(n.href||""));if(d){for(var g=0;g<d.length;g++)if(r=d[g],r.getAttribute("href")===(n.href==null?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(g,1);break t}}r=i.createElement(a),xt(r,a,n),i.head.appendChild(r);break;case"meta":if(d=nm("meta","content",i).get(a+(n.content||""))){for(g=0;g<d.length;g++)if(r=d[g],r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(g,1);break t}}r=i.createElement(a),xt(r,a,n),i.head.appendChild(r);break;default:throw Error(f(468,a))}r[de]=e,Fe(r),a=r}e.stateNode=a}else am(i,e.type,e.stateNode);else e.stateNode=tm(i,a,e.memoizedProps);else r!==a?(r===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):r.count--,a===null?am(i,e.type,e.stateNode):tm(i,a,e.memoizedProps)):a===null&&e.stateNode!==null&&ah(e,e.memoizedProps,n.memoizedProps)}break;case 27:if(a&4&&e.alternate===null){i=e.stateNode,r=e.memoizedProps;try{for(var E=i.firstChild;E;){var C=E.nextSibling,B=E.nodeName;E[vn]||B==="HEAD"||B==="BODY"||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&E.rel.toLowerCase()==="stylesheet"||i.removeChild(E),E=C}for(var X=e.type,z=i.attributes;z.length;)i.removeAttributeNode(z[0]);xt(i,X,r),i[de]=e,i[xe]=r}catch(re){Qe(e,e.return,re)}}case 5:if(rn(t,e),cn(e),a&512&&(nt||n===null||Qt(n,n.return)),e.flags&32){i=e.stateNode;try{sl(i,"")}catch(re){Qe(e,e.return,re)}}a&4&&e.stateNode!=null&&(i=e.memoizedProps,ah(e,i,n!==null?n.memoizedProps:i)),a&1024&&(Ic=!0);break;case 6:if(rn(t,e),cn(e),a&4){if(e.stateNode===null)throw Error(f(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(re){Qe(e,e.return,re)}}break;case 3:if(nr=null,i=Sn,Sn=er(t.containerInfo),rn(t,e),Sn=i,cn(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Gu(t.containerInfo)}catch(re){Qe(e,e.return,re)}Ic&&(Ic=!1,dh(e));break;case 4:a=Sn,Sn=er(e.stateNode.containerInfo),rn(t,e),cn(e),Sn=a;break;case 12:rn(t,e),cn(e);break;case 13:rn(t,e),cn(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(of=St()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ef(e,a)));break;case 22:if(a&512&&(nt||n===null||Qt(n,n.return)),E=e.memoizedState!==null,C=n!==null&&n.memoizedState!==null,B=Zn,X=nt,Zn=B||E,nt=X||C,rn(t,e),nt=X,Zn=B,cn(e),t=e.stateNode,t._current=e,t._visibility&=-3,t._visibility|=t._pendingVisibility&2,a&8192&&(t._visibility=E?t._visibility&-2:t._visibility|1,E&&(t=Zn||nt,n===null||C||t||Ml(e)),e.memoizedProps===null||e.memoizedProps.mode!=="manual"))e:for(n=null,t=e;;){if(t.tag===5||t.tag===26||t.tag===27){if(n===null){C=n=t;try{if(i=C.stateNode,E)r=i.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{d=C.stateNode,g=C.memoizedProps.style;var H=g!=null&&g.hasOwnProperty("display")?g.display:null;d.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(re){Qe(C,C.return,re)}}}else if(t.tag===6){if(n===null){C=t;try{C.stateNode.nodeValue=E?"":C.memoizedProps}catch(re){Qe(C,C.return,re)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,ef(e,n))));break;case 19:rn(t,e),cn(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ef(e,a)));break;case 21:break;default:rn(t,e),cn(e)}}function cn(e){var t=e.flags;if(t&2){try{if(e.tag!==27){e:{for(var n=e.return;n!==null;){if(lh(n)){var a=n;break e}n=n.return}throw Error(f(160))}switch(a.tag){case 27:var i=a.stateNode,r=Wc(e);qi(e,r,i);break;case 5:var d=a.stateNode;a.flags&32&&(sl(d,""),a.flags&=-33);var g=Wc(e);qi(e,g,d);break;case 3:case 4:var E=a.stateNode.containerInfo,C=Wc(e);Pc(e,C,E);break;default:throw Error(f(161))}}}catch(B){Qe(e,e.return,B)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function dh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;dh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function kn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)rh(e,t.alternate,t),t=t.sibling}function Ml(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ya(4,t,t.return),Ml(t);break;case 1:Qt(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&th(t,t.return,n),Ml(t);break;case 26:case 27:case 5:Qt(t,t.return),Ml(t);break;case 22:Qt(t,t.return),t.memoizedState===null&&Ml(t);break;default:Ml(t)}e=e.sibling}}function va(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,i=e,r=t,d=r.flags;switch(r.tag){case 0:case 11:case 15:va(i,r,n),Tu(4,r);break;case 1:if(va(i,r,n),a=r,i=a.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(C){Qe(a,a.return,C)}if(a=r,i=a.updateQueue,i!==null){var g=a.stateNode;try{var E=i.shared.hiddenCallbacks;if(E!==null)for(i.shared.hiddenCallbacks=null,i=0;i<E.length;i++)Pd(E[i],g)}catch(C){Qe(a,a.return,C)}}n&&d&64&&eh(r),Fa(r,r.return);break;case 26:case 27:case 5:va(i,r,n),n&&a===null&&d&4&&nh(r),Fa(r,r.return);break;case 12:va(i,r,n);break;case 13:va(i,r,n),n&&d&4&&oh(i,r);break;case 22:r.memoizedState===null&&va(i,r,n),Fa(r,r.return);break;default:va(i,r,n)}t=t.sibling}}function tf(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&hu(n))}function nf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&hu(e))}function ga(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)hh(e,t,n,a),t=t.sibling}function hh(e,t,n,a){var i=t.flags;switch(t.tag){case 0:case 11:case 15:ga(e,t,n,a),i&2048&&Tu(9,t);break;case 3:ga(e,t,n,a),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&hu(e)));break;case 12:if(i&2048){ga(e,t,n,a),e=t.stateNode;try{var r=t.memoizedProps,d=r.id,g=r.onPostCommit;typeof g=="function"&&g(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(E){Qe(t,t.return,E)}}else ga(e,t,n,a);break;case 23:break;case 22:r=t.stateNode,t.memoizedState!==null?r._visibility&4?ga(e,t,n,a):xu(e,t):r._visibility&4?ga(e,t,n,a):(r._visibility|=4,Al(e,t,n,a,(t.subtreeFlags&10256)!==0)),i&2048&&tf(t.alternate,t);break;case 24:ga(e,t,n,a),i&2048&&nf(t.alternate,t);break;default:ga(e,t,n,a)}}function Al(e,t,n,a,i){for(i=i&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var r=e,d=t,g=n,E=a,C=d.flags;switch(d.tag){case 0:case 11:case 15:Al(r,d,g,E,i),Tu(8,d);break;case 23:break;case 22:var B=d.stateNode;d.memoizedState!==null?B._visibility&4?Al(r,d,g,E,i):xu(r,d):(B._visibility|=4,Al(r,d,g,E,i)),i&&C&2048&&tf(d.alternate,d);break;case 24:Al(r,d,g,E,i),i&&C&2048&&nf(d.alternate,d);break;default:Al(r,d,g,E,i)}t=t.sibling}}function xu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,i=a.flags;switch(a.tag){case 22:xu(n,a),i&2048&&tf(a.alternate,a);break;case 24:xu(n,a),i&2048&&nf(a.alternate,a);break;default:xu(n,a)}t=t.sibling}}var Ou=8192;function _l(e){if(e.subtreeFlags&Ou)for(e=e.child;e!==null;)mh(e),e=e.sibling}function mh(e){switch(e.tag){case 26:_l(e),e.flags&Ou&&e.memoizedState!==null&&ip(Sn,e.memoizedState,e.memoizedProps);break;case 5:_l(e);break;case 3:case 4:var t=Sn;Sn=er(e.stateNode.containerInfo),_l(e),Sn=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Ou,Ou=16777216,_l(e),Ou=t):_l(e));break;default:_l(e)}}function yh(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Du(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];pt=a,gh(a,e)}yh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)vh(e),e=e.sibling}function vh(e){switch(e.tag){case 0:case 11:case 15:Du(e),e.flags&2048&&ya(9,e,e.return);break;case 3:Du(e);break;case 12:Du(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&4&&(e.return===null||e.return.tag!==13)?(t._visibility&=-5,Yi(e)):Du(e);break;default:Du(e)}}function Yi(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];pt=a,gh(a,e)}yh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ya(8,t,t.return),Yi(t);break;case 22:n=t.stateNode,n._visibility&4&&(n._visibility&=-5,Yi(t));break;default:Yi(t)}e=e.sibling}}function gh(e,t){for(;pt!==null;){var n=pt;switch(n.tag){case 0:case 11:case 15:ya(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:hu(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,pt=a;else e:for(n=e;pt!==null;){a=pt;var i=a.sibling,r=a.return;if(ch(a),a===n){pt=null;break e}if(i!==null){i.return=r,pt=i;break e}pt=r}}}function Eg(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fn(e,t,n,a){return new Eg(e,t,n,a)}function af(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pa(e,t){var n=e.alternate;return n===null?(n=fn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&31457280,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ph(e,t){e.flags&=31457282;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Gi(e,t,n,a,i,r){var d=0;if(a=e,typeof e=="function")af(e)&&(d=1);else if(typeof e=="string")d=lp(e,n,yt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case v:return Wa(n.children,i,r,t);case m:d=8,i|=24;break;case b:return e=fn(12,n,t,i|2),e.elementType=b,e.lanes=r,e;case q:return e=fn(13,n,t,i),e.elementType=q,e.lanes=r,e;case V:return e=fn(19,n,t,i),e.elementType=V,e.lanes=r,e;case K:return Eh(n,i,r,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M:case D:d=10;break e;case S:d=9;break e;case N:d=11;break e;case U:d=14;break e;case Z:d=16,a=null;break e}d=29,n=Error(f(130,e===null?"null":typeof e,"")),a=null}return t=fn(d,n,t,i),t.elementType=e,t.type=a,t.lanes=r,t}function Wa(e,t,n,a){return e=fn(7,e,a,t),e.lanes=n,e}function Eh(e,t,n,a){e=fn(22,e,a,t),e.elementType=K,e.lanes=n;var i={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var r=i._current;if(r===null)throw Error(f(456));if(!(i._pendingVisibility&2)){var d=ia(r,2);d!==null&&(i._pendingVisibility|=2,wt(d,r,2))}},attach:function(){var r=i._current;if(r===null)throw Error(f(456));if(i._pendingVisibility&2){var d=ia(r,2);d!==null&&(i._pendingVisibility&=-3,wt(d,r,2))}}};return e.stateNode=i,e}function lf(e,t,n){return e=fn(6,e,null,t),e.lanes=n,e}function uf(e,t,n){return t=fn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $n(e){e.flags|=4}function bh(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!lm(t)){if(t=un.current,t!==null&&((ze&4194176)===ze?Cn!==null:(ze&62914560)!==ze&&!(ze&536870912)||t!==Cn))throw ou=oc,Hs;e.flags|=8192}}function Xi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?_():536870912,e.lanes|=t,Nl|=t)}function Cu(e,t){if(!Ue)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function We(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&31457280,a|=i.flags&31457280,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags,a|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function bg(e,t,n){var a=t.pendingProps;switch(cc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(t),null;case 1:return We(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Qn(mt),zt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(iu(t)?$n(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,bn!==null&&(mf(bn),bn=null))),We(t),null;case 26:return n=t.memoizedState,e===null?($n(t),n!==null?(We(t),bh(t,n)):(We(t),t.flags&=-16777217)):n?n!==e.memoizedState?($n(t),We(t),bh(t,n)):(We(t),t.flags&=-16777217):(e.memoizedProps!==a&&$n(t),We(t),t.flags&=-16777217),null;case 27:aa(t),n=et.current;var i=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&$n(t);else{if(!a){if(t.stateNode===null)throw Error(f(166));return We(t),null}e=yt.current,iu(t)?js(t):(e=Fh(i,a,n),t.stateNode=e,$n(t))}return We(t),null;case 5:if(aa(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&$n(t);else{if(!a){if(t.stateNode===null)throw Error(f(166));return We(t),null}if(e=yt.current,iu(t))js(t);else{switch(i=Ii(et.current),e){case 1:e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}e[de]=t,e[xe]=a;e:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=e;e:switch(xt(e,n,a),n){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&$n(t)}}return We(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&$n(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(f(166));if(e=et.current,iu(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,i=_t,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}e[de]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Qh(e.nodeValue,n)),e||Ga(t)}else e=Ii(e).createTextNode(a),e[de]=t,t.stateNode=e}return We(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=iu(t),a!==null&&a.dehydrated!==null){if(e===null){if(!i)throw Error(f(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(f(317));i[de]=t}else ru(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;We(t),i=!1}else bn!==null&&(mf(bn),bn=null),i=!0;if(!i)return t.flags&256?(Yn(t),t):(Yn(t),null)}if(Yn(t),t.flags&128)return t.lanes=n,t;if(n=a!==null,e=e!==null&&e.memoizedState!==null,n){a=t.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool);var r=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==i&&(a.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),Xi(t,t.updateQueue),We(t),null;case 4:return zt(),e===null&&Of(t.stateNode.containerInfo),We(t),null;case 10:return Qn(t.type),We(t),null;case 19:if(Se(ht),i=t.memoizedState,i===null)return We(t),null;if(a=(t.flags&128)!==0,r=i.rendering,r===null)if(a)Cu(i,!1);else{if(at!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(r=Oi(e),r!==null){for(t.flags|=128,Cu(i,!1),e=r.updateQueue,t.updateQueue=e,Xi(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ph(n,e),n=n.sibling;return De(ht,ht.current&1|2),t.child}e=e.sibling}i.tail!==null&&St()>Vi&&(t.flags|=128,a=!0,Cu(i,!1),t.lanes=4194304)}else{if(!a)if(e=Oi(r),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Xi(t,e),Cu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!r.alternate&&!Ue)return We(t),null}else 2*St()-i.renderingStartTime>Vi&&n!==536870912&&(t.flags|=128,a=!0,Cu(i,!1),t.lanes=4194304);i.isBackwards?(r.sibling=t.child,t.child=r):(e=i.last,e!==null?e.sibling=r:t.child=r,i.last=r)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=St(),t.sibling=null,e=ht.current,De(ht,a?e&1|2:e&1),t):(We(t),null);case 22:case 23:return Yn(t),dc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?n&536870912&&!(t.flags&128)&&(We(t),t.subtreeFlags&6&&(t.flags|=8192)):We(t),n=t.updateQueue,n!==null&&Xi(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&Se(Va),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Qn(mt),We(t),null;case 25:return null}throw Error(f(156,t.tag))}function Sg(e,t){switch(cc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qn(mt),zt(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return aa(t),null;case 13:if(Yn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(f(340));ru()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Se(ht),null;case 4:return zt(),null;case 10:return Qn(t.type),null;case 22:case 23:return Yn(t),dc(),e!==null&&Se(Va),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Qn(mt),null;case 25:return null;default:return null}}function Sh(e,t){switch(cc(t),t.tag){case 3:Qn(mt),zt();break;case 26:case 27:case 5:aa(t);break;case 4:zt();break;case 13:Yn(t);break;case 19:Se(ht);break;case 10:Qn(t.type);break;case 22:case 23:Yn(t),dc(),e!==null&&Se(Va);break;case 24:Qn(mt)}}var Rg={getCacheForType:function(e){var t=Dt(mt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n}},Tg=typeof WeakMap=="function"?WeakMap:Map,Pe=0,Ze=null,Ae=null,ze=0,Ke=0,Kt=null,Jn=!1,wl=!1,rf=!1,Fn=0,at=0,Ea=0,Pa=0,cf=0,on=0,Nl=0,Mu=null,An=null,ff=!1,of=0,Vi=1/0,Qi=null,ba=null,Zi=!1,Ia=null,Au=0,sf=0,df=null,_u=0,hf=null;function kt(){if(Pe&2&&ze!==0)return ze&-ze;if($.T!==null){var e=Tl;return e!==0?e:Sf()}return ue()}function Rh(){on===0&&(on=!(ze&536870912)||Ue?T():536870912);var e=un.current;return e!==null&&(e.flags|=32),on}function wt(e,t,n){(e===Ze&&Ke===2||e.cancelPendingCommit!==null)&&(zl(e,0),Wn(e,ze,on,!1)),Q(e,n),(!(Pe&2)||e!==Ze)&&(e===Ze&&(!(Pe&2)&&(Pa|=n),at===4&&Wn(e,ze,on,!1)),_n(e))}function Th(e,t,n){if(Pe&6)throw Error(f(327));var a=!n&&(t&60)===0&&(t&e.expiredLanes)===0||Ua(e,t),i=a?Dg(e,t):gf(e,t,!0),r=a;do{if(i===0){wl&&!a&&Wn(e,t,0,!1);break}else if(i===6)Wn(e,t,0,!Jn);else{if(n=e.current.alternate,r&&!xg(n)){i=gf(e,t,!1),r=!1;continue}if(i===2){if(r=t,e.errorRecoveryDisabledLanes&r)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{var g=e;i=Mu;var E=g.current.memoizedState.isDehydrated;if(E&&(zl(g,d).flags|=256),d=gf(g,d,!1),d!==2){if(rf&&!E){g.errorRecoveryDisabledLanes|=r,Pa|=r,i=4;break e}r=An,An=i,r!==null&&mf(r)}i=d}if(r=!1,i!==2)continue}}if(i===1){zl(e,0),Wn(e,t,0,!0);break}e:{switch(a=e,i){case 0:case 1:throw Error(f(345));case 4:if((t&4194176)===t){Wn(a,t,on,!Jn);break e}break;case 2:An=null;break;case 3:case 5:break;default:throw Error(f(329))}if(a.finishedWork=n,a.finishedLanes=t,(t&62914560)===t&&(r=of+300-St(),10<r)){if(Wn(a,t,on,!Jn),Un(a,0)!==0)break e;a.timeoutHandle=kh(xh.bind(null,a,n,An,Qi,ff,t,on,Pa,Nl,Jn,2,-0,0),r);break e}xh(a,n,An,Qi,ff,t,on,Pa,Nl,Jn,0,-0,0)}}break}while(!0);_n(e)}function mf(e){An===null?An=e:An.push.apply(An,e)}function xh(e,t,n,a,i,r,d,g,E,C,B,X,z){var H=t.subtreeFlags;if((H&8192||(H&16785408)===16785408)&&(Lu={stylesheets:null,count:0,unsuspend:up},mh(t),t=rp(),t!==null)){e.cancelPendingCommit=t(wh.bind(null,e,n,a,i,d,g,E,1,X,z)),Wn(e,r,d,!C);return}wh(e,n,a,i,d,g,E,B,X,z)}function xg(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var i=n[a],r=i.getSnapshot;i=i.value;try{if(!Vt(r(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Wn(e,t,n,a){t&=~cf,t&=~Pa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var i=t;0<i;){var r=31-Ot(i),d=1<<r;a[r]=-1,i&=~d}n!==0&&ce(e,n,t)}function Ki(){return Pe&6?!0:(wu(0),!1)}function yf(){if(Ae!==null){if(Ke===0)var e=Ae.return;else e=Ae,Vn=$a=null,bc(e),Sl=null,su=0,e=Ae;for(;e!==null;)Sh(e.alternate,e),e=e.return;Ae=null}}function zl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Vg(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),yf(),Ze=e,Ae=n=pa(e.current,null),ze=t,Ke=0,Kt=null,Jn=!1,wl=Ua(e,t),rf=!1,Nl=on=cf=Pa=Ea=at=0,An=Mu=null,ff=!1,t&8&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var i=31-Ot(a),r=1<<i;t|=e[i],a&=~r}return Fn=t,vi(),n}function Oh(e,t){Oe=null,$.H=Mn,t===fu?(t=Ys(),Ke=3):t===Hs?(t=Ys(),Ke=4):Ke=t===Bd?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Kt=t,Ae===null&&(at=1,Li(e,nn(t,e.current)))}function Dh(){var e=$.H;return $.H=Mn,e===null?Mn:e}function Ch(){var e=$.A;return $.A=Rg,e}function vf(){at=4,Jn||(ze&4194176)!==ze&&un.current!==null||(wl=!0),!(Ea&134217727)&&!(Pa&134217727)||Ze===null||Wn(Ze,ze,on,!1)}function gf(e,t,n){var a=Pe;Pe|=2;var i=Dh(),r=Ch();(Ze!==e||ze!==t)&&(Qi=null,zl(e,t)),t=!1;var d=at;e:do try{if(Ke!==0&&Ae!==null){var g=Ae,E=Kt;switch(Ke){case 8:yf(),d=6;break e;case 3:case 2:case 6:un.current===null&&(t=!0);var C=Ke;if(Ke=0,Kt=null,Ul(e,g,E,C),n&&wl){d=0;break e}break;default:C=Ke,Ke=0,Kt=null,Ul(e,g,E,C)}}Og(),d=at;break}catch(B){Oh(e,B)}while(!0);return t&&e.shellSuspendCounter++,Vn=$a=null,Pe=a,$.H=i,$.A=r,Ae===null&&(Ze=null,ze=0,vi()),d}function Og(){for(;Ae!==null;)Mh(Ae)}function Dg(e,t){var n=Pe;Pe|=2;var a=Dh(),i=Ch();Ze!==e||ze!==t?(Qi=null,Vi=St()+500,zl(e,t)):wl=Ua(e,t);e:do try{if(Ke!==0&&Ae!==null){t=Ae;var r=Kt;t:switch(Ke){case 1:Ke=0,Kt=null,Ul(e,t,r,1);break;case 2:if(Bs(r)){Ke=0,Kt=null,Ah(t);break}t=function(){Ke===2&&Ze===e&&(Ke=7),_n(e)},r.then(t,t);break e;case 3:Ke=7;break e;case 4:Ke=5;break e;case 7:Bs(r)?(Ke=0,Kt=null,Ah(t)):(Ke=0,Kt=null,Ul(e,t,r,7));break;case 5:var d=null;switch(Ae.tag){case 26:d=Ae.memoizedState;case 5:case 27:var g=Ae;if(!d||lm(d)){Ke=0,Kt=null;var E=g.sibling;if(E!==null)Ae=E;else{var C=g.return;C!==null?(Ae=C,ki(C)):Ae=null}break t}}Ke=0,Kt=null,Ul(e,t,r,5);break;case 6:Ke=0,Kt=null,Ul(e,t,r,6);break;case 8:yf(),at=6;break e;default:throw Error(f(462))}}Cg();break}catch(B){Oh(e,B)}while(!0);return Vn=$a=null,$.H=a,$.A=i,Pe=n,Ae!==null?0:(Ze=null,ze=0,vi(),at)}function Cg(){for(;Ae!==null&&!zn();)Mh(Ae)}function Mh(e){var t=Fd(e.alternate,e,Fn);e.memoizedProps=e.pendingProps,t===null?ki(e):Ae=t}function Ah(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Qd(n,t,t.pendingProps,t.type,void 0,ze);break;case 11:t=Qd(n,t,t.pendingProps,t.type.render,t.ref,ze);break;case 5:bc(t);default:Sh(n,t),t=Ae=ph(t,Fn),t=Fd(n,t,Fn)}e.memoizedProps=e.pendingProps,t===null?ki(e):Ae=t}function Ul(e,t,n,a){Vn=$a=null,bc(t),Sl=null,su=0;var i=t.return;try{if(yg(e,i,t,n,ze)){at=1,Li(e,nn(n,e.current)),Ae=null;return}}catch(r){if(i!==null)throw Ae=i,r;at=1,Li(e,nn(n,e.current)),Ae=null;return}t.flags&32768?(Ue||a===1?e=!0:wl||ze&536870912?e=!1:(Jn=e=!0,(a===2||a===3||a===6)&&(a=un.current,a!==null&&a.tag===13&&(a.flags|=16384))),_h(t,e)):ki(t)}function ki(e){var t=e;do{if(t.flags&32768){_h(t,Jn);return}e=t.return;var n=bg(t.alternate,t,Fn);if(n!==null){Ae=n;return}if(t=t.sibling,t!==null){Ae=t;return}Ae=t=e}while(t!==null);at===0&&(at=5)}function _h(e,t){do{var n=Sg(e.alternate,e);if(n!==null){n.flags&=32767,Ae=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ae=e;return}Ae=e=n}while(e!==null);at=6,Ae=null}function wh(e,t,n,a,i,r,d,g,E,C){var B=$.T,X=J.p;try{J.p=2,$.T=null,Mg(e,t,n,a,X,i,r,d,g,E,C)}finally{$.T=B,J.p=X}}function Mg(e,t,n,a,i,r,d,g){do jl();while(Ia!==null);if(Pe&6)throw Error(f(327));var E=e.finishedWork;if(a=e.finishedLanes,E===null)return null;if(e.finishedWork=null,e.finishedLanes=0,E===e.current)throw Error(f(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var C=E.lanes|E.childLanes;if(C|=uc,ee(e,a,C,r,d,g),e===Ze&&(Ae=Ze=null,ze=0),!(E.subtreeFlags&10256)&&!(E.flags&10256)||Zi||(Zi=!0,sf=C,df=n,Ng(mn,function(){return jl(),null})),n=(E.flags&15990)!==0,E.subtreeFlags&15990||n?(n=$.T,$.T=null,r=J.p,J.p=2,d=Pe,Pe|=4,gg(e,E),sh(E,e),Pv(Af,e.containerInfo),ur=!!Mf,Af=Mf=null,e.current=E,rh(e,E.alternate,E),cl(),Pe=d,J.p=r,$.T=n):e.current=E,Zi?(Zi=!1,Ia=e,Au=a):Nh(e,C),C=e.pendingLanes,C===0&&(ba=null),ai(E.stateNode),_n(e),t!==null)for(i=e.onRecoverableError,E=0;E<t.length;E++)C=t[E],i(C.value,{componentStack:C.stack});return Au&3&&jl(),C=e.pendingLanes,a&4194218&&C&42?e===hf?_u++:(_u=0,hf=e):_u=0,wu(0),null}function Nh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,hu(t)))}function jl(){if(Ia!==null){var e=Ia,t=sf;sf=0;var n=ne(Au),a=$.T,i=J.p;try{if(J.p=32>n?32:n,$.T=null,Ia===null)var r=!1;else{n=df,df=null;var d=Ia,g=Au;if(Ia=null,Au=0,Pe&6)throw Error(f(331));var E=Pe;if(Pe|=4,vh(d.current),hh(d,d.current,g,n),Pe=E,wu(0,!1),Mt&&typeof Mt.onPostCommitFiberRoot=="function")try{Mt.onPostCommitFiberRoot(la,d)}catch{}r=!0}return r}finally{J.p=i,$.T=a,Nh(e,t)}}return!1}function zh(e,t,n){t=nn(n,t),t=Uc(e.stateNode,t,2),e=ma(e,t,2),e!==null&&(Q(e,2),_n(e))}function Qe(e,t,n){if(e.tag===3)zh(e,e,n);else for(;t!==null;){if(t.tag===3){zh(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ba===null||!ba.has(a))){e=nn(n,e),n=Ld(2),a=ma(t,n,2),a!==null&&(Hd(n,a,t,e),Q(a,2),_n(a));break}}t=t.return}}function pf(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new Tg;var i=new Set;a.set(t,i)}else i=a.get(t),i===void 0&&(i=new Set,a.set(t,i));i.has(n)||(rf=!0,i.add(n),e=Ag.bind(null,e,t,n),t.then(e,e))}function Ag(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ze===e&&(ze&n)===n&&(at===4||at===3&&(ze&62914560)===ze&&300>St()-of?!(Pe&2)&&zl(e,0):cf|=n,Nl===ze&&(Nl=0)),_n(e)}function Uh(e,t){t===0&&(t=_()),e=ia(e,t),e!==null&&(Q(e,t),_n(e))}function _g(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Uh(e,n)}function wg(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(f(314))}a!==null&&a.delete(t),Uh(e,n)}function Ng(e,t){return Na(e,t)}var $i=null,Ll=null,Ef=!1,Ji=!1,bf=!1,el=0;function _n(e){e!==Ll&&e.next===null&&(Ll===null?$i=Ll=e:Ll=Ll.next=e),Ji=!0,Ef||(Ef=!0,Ug(zg))}function wu(e,t){if(!bf&&Ji){bf=!0;do for(var n=!1,a=$i;a!==null;){if(e!==0){var i=a.pendingLanes;if(i===0)var r=0;else{var d=a.suspendedLanes,g=a.pingedLanes;r=(1<<31-Ot(42|e)+1)-1,r&=i&~(d&~g),r=r&201326677?r&201326677|1:r?r|2:0}r!==0&&(n=!0,Hh(a,r))}else r=ze,r=Un(a,a===Ze?r:0),!(r&3)||Ua(a,r)||(n=!0,Hh(a,r));a=a.next}while(n);bf=!1}}function zg(){Ji=Ef=!1;var e=0;el!==0&&(Xg()&&(e=el),el=0);for(var t=St(),n=null,a=$i;a!==null;){var i=a.next,r=jh(a,t);r===0?(a.next=null,n===null?$i=i:n.next=i,i===null&&(Ll=n)):(n=a,(e!==0||r&3)&&(Ji=!0)),a=i}wu(e)}function jh(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var d=31-Ot(r),g=1<<d,E=i[d];E===-1?(!(g&n)||g&a)&&(i[d]=Br(g,t)):E<=t&&(e.expiredLanes|=g),r&=~g}if(t=Ze,n=ze,n=Un(e,e===t?n:0),a=e.callbackNode,n===0||e===t&&Ke===2||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Yt(a),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ua(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&Yt(a),ne(n)){case 2:case 8:n=Wt;break;case 32:n=mn;break;case 268435456:n=yn;break;default:n=mn}return a=Lh.bind(null,e),n=Na(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&Yt(a),e.callbackPriority=2,e.callbackNode=null,2}function Lh(e,t){var n=e.callbackNode;if(jl()&&e.callbackNode!==n)return null;var a=ze;return a=Un(e,e===Ze?a:0),a===0?null:(Th(e,a,t),jh(e,St()),e.callbackNode!=null&&e.callbackNode===n?Lh.bind(null,e):null)}function Hh(e,t){if(jl())return null;Th(e,t,!0)}function Ug(e){Qg(function(){Pe&6?Na(be,e):e()})}function Sf(){return el===0&&(el=T()),el}function Bh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:fi(""+e)}function qh(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function jg(e,t,n,a,i){if(t==="submit"&&n&&n.stateNode===i){var r=Bh((i[xe]||null).action),d=a.submitter;d&&(t=(t=d[xe]||null)?Bh(t.formAction):d.getAttribute("formAction"),t!==null&&(r=t,d=null));var g=new hi("action","action",null,a,i);e.push({event:g,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(el!==0){var E=d?qh(i,d):new FormData(i);Ac(n,{pending:!0,data:E,method:i.method,action:r},null,E)}}else typeof r=="function"&&(g.preventDefault(),E=d?qh(i,d):new FormData(i),Ac(n,{pending:!0,data:E,method:i.method,action:r},r,E))},currentTarget:i}]})}}for(var Rf=0;Rf<ws.length;Rf++){var Tf=ws[Rf],Lg=Tf.toLowerCase(),Hg=Tf[0].toUpperCase()+Tf.slice(1);En(Lg,"on"+Hg)}En(Ds,"onAnimationEnd"),En(Cs,"onAnimationIteration"),En(Ms,"onAnimationStart"),En("dblclick","onDoubleClick"),En("focusin","onFocus"),En("focusout","onBlur"),En(eg,"onTransitionRun"),En(tg,"onTransitionStart"),En(ng,"onTransitionCancel"),En(As,"onTransitionEnd"),pn("onMouseEnter",["mouseout","mouseover"]),pn("onMouseLeave",["mouseout","mouseover"]),pn("onPointerEnter",["pointerout","pointerover"]),pn("onPointerLeave",["pointerout","pointerover"]),$e("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$e("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$e("onBeforeInput",["compositionend","keypress","textInput","paste"]),$e("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$e("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$e("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Bg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Nu));function Yh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],i=a.event;a=a.listeners;e:{var r=void 0;if(t)for(var d=a.length-1;0<=d;d--){var g=a[d],E=g.instance,C=g.currentTarget;if(g=g.listener,E!==r&&i.isPropagationStopped())break e;r=g,i.currentTarget=C;try{r(i)}catch(B){ji(B)}i.currentTarget=null,r=E}else for(d=0;d<a.length;d++){if(g=a[d],E=g.instance,C=g.currentTarget,g=g.listener,E!==r&&i.isPropagationStopped())break e;r=g,i.currentTarget=C;try{r(i)}catch(B){ji(B)}i.currentTarget=null,r=E}}}}function we(e,t){var n=t[Xe];n===void 0&&(n=t[Xe]=new Set);var a=e+"__bubble";n.has(a)||(Gh(t,e,2,!1),n.add(a))}function xf(e,t,n){var a=0;t&&(a|=4),Gh(n,e,a,t)}var Fi="_reactListening"+Math.random().toString(36).slice(2);function Of(e){if(!e[Fi]){e[Fi]=!0,ja.forEach(function(n){n!=="selectionchange"&&(Bg.has(n)||xf(n,!1,e),xf(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Fi]||(t[Fi]=!0,xf("selectionchange",!1,t))}}function Gh(e,t,n,a){switch(om(t)){case 2:var i=op;break;case 8:i=sp;break;default:i=Bf}n=i.bind(null,t,n,e),i=void 0,!Kr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),a?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Df(e,t,n,a,i){var r=a;if(!(t&1)&&!(t&2)&&a!==null)e:for(;;){if(a===null)return;var d=a.tag;if(d===3||d===4){var g=a.stateNode.containerInfo;if(g===i||g.nodeType===8&&g.parentNode===i)break;if(d===4)for(d=a.return;d!==null;){var E=d.tag;if((E===3||E===4)&&(E=d.stateNode.containerInfo,E===i||E.nodeType===8&&E.parentNode===i))return;d=d.return}for(;g!==null;){if(d=vt(g),d===null)return;if(E=d.tag,E===5||E===6||E===26||E===27){a=r=d;continue e}g=g.parentNode}}a=a.return}ns(function(){var C=r,B=Qr(n),X=[];e:{var z=_s.get(e);if(z!==void 0){var H=hi,re=e;switch(e){case"keypress":if(si(n)===0)break e;case"keydown":case"keyup":H=wv;break;case"focusin":re="focus",H=Fr;break;case"focusout":re="blur",H=Fr;break;case"beforeblur":case"afterblur":H=Fr;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=us;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=Ev;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=Uv;break;case Ds:case Cs:case Ms:H=Rv;break;case As:H=Lv;break;case"scroll":case"scrollend":H=gv;break;case"wheel":H=Bv;break;case"copy":case"cut":case"paste":H=xv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=rs;break;case"toggle":case"beforetoggle":H=Yv}var Ee=(t&4)!==0,lt=!Ee&&(e==="scroll"||e==="scrollend"),A=Ee?z!==null?z+"Capture":null:z;Ee=[];for(var O=C,w;O!==null;){var Y=O;if(w=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||w===null||A===null||(Y=Wl(O,A),Y!=null&&Ee.push(zu(O,Y,w))),lt)break;O=O.return}0<Ee.length&&(z=new H(z,re,null,n,B),X.push({event:z,listeners:Ee}))}}if(!(t&7)){e:{if(z=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",z&&n!==Vr&&(re=n.relatedTarget||n.fromElement)&&(vt(re)||re[ke]))break e;if((H||z)&&(z=B.window===B?B:(z=B.ownerDocument)?z.defaultView||z.parentWindow:window,H?(re=n.relatedTarget||n.toElement,H=C,re=re?vt(re):null,re!==null&&(lt=W(re),Ee=re.tag,re!==lt||Ee!==5&&Ee!==27&&Ee!==6)&&(re=null)):(H=null,re=C),H!==re)){if(Ee=us,Y="onMouseLeave",A="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(Ee=rs,Y="onPointerLeave",A="onPointerEnter",O="pointer"),lt=H==null?z:gn(H),w=re==null?z:gn(re),z=new Ee(Y,O+"leave",H,n,B),z.target=lt,z.relatedTarget=w,Y=null,vt(B)===C&&(Ee=new Ee(A,O+"enter",re,n,B),Ee.target=w,Ee.relatedTarget=lt,Y=Ee),lt=Y,H&&re)t:{for(Ee=H,A=re,O=0,w=Ee;w;w=Hl(w))O++;for(w=0,Y=A;Y;Y=Hl(Y))w++;for(;0<O-w;)Ee=Hl(Ee),O--;for(;0<w-O;)A=Hl(A),w--;for(;O--;){if(Ee===A||A!==null&&Ee===A.alternate)break t;Ee=Hl(Ee),A=Hl(A)}Ee=null}else Ee=null;H!==null&&Xh(X,z,H,Ee,!1),re!==null&<!==null&&Xh(X,lt,re,Ee,!0)}}e:{if(z=C?gn(C):window,H=z.nodeName&&z.nodeName.toLowerCase(),H==="select"||H==="input"&&z.type==="file")var ae=ys;else if(hs(z))if(vs)ae=Fv;else{ae=$v;var Ce=kv}else H=z.nodeName,!H||H.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?C&&Xr(C.elementType)&&(ae=ys):ae=Jv;if(ae&&(ae=ae(e,C))){ms(X,ae,n,B);break e}Ce&&Ce(e,z,C),e==="focusout"&&C&&z.type==="number"&&C.memoizedProps.value!=null&&Gr(z,"number",z.value)}switch(Ce=C?gn(C):window,e){case"focusin":(hs(Ce)||Ce.contentEditable==="true")&&(yl=Ce,nc=C,uu=null);break;case"focusout":uu=nc=yl=null;break;case"mousedown":ac=!0;break;case"contextmenu":case"mouseup":case"dragend":ac=!1,xs(X,n,B);break;case"selectionchange":if(Iv)break;case"keydown":case"keyup":xs(X,n,B)}var fe;if(Pr)e:{switch(e){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else ml?ss(e,n)&&(ye="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(ye="onCompositionStart");ye&&(cs&&n.locale!=="ko"&&(ml||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&ml&&(fe=as()):(ua=B,kr="value"in ua?ua.value:ua.textContent,ml=!0)),Ce=Wi(C,ye),0<Ce.length&&(ye=new is(ye,e,null,n,B),X.push({event:ye,listeners:Ce}),fe?ye.data=fe:(fe=ds(n),fe!==null&&(ye.data=fe)))),(fe=Xv?Vv(e,n):Qv(e,n))&&(ye=Wi(C,"onBeforeInput"),0<ye.length&&(Ce=new is("onBeforeInput","beforeinput",null,n,B),X.push({event:Ce,listeners:ye}),Ce.data=fe)),jg(X,e,C,n,B)}Yh(X,t)})}function zu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wi(e,t){for(var n=t+"Capture",a=[];e!==null;){var i=e,r=i.stateNode;i=i.tag,i!==5&&i!==26&&i!==27||r===null||(i=Wl(e,n),i!=null&&a.unshift(zu(e,i,r)),i=Wl(e,t),i!=null&&a.push(zu(e,i,r))),e=e.return}return a}function Hl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Xh(e,t,n,a,i){for(var r=t._reactName,d=[];n!==null&&n!==a;){var g=n,E=g.alternate,C=g.stateNode;if(g=g.tag,E!==null&&E===a)break;g!==5&&g!==26&&g!==27||C===null||(E=C,i?(C=Wl(n,r),C!=null&&d.unshift(zu(n,C,E))):i||(C=Wl(n,r),C!=null&&d.push(zu(n,C,E)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var qg=/\r\n?/g,Yg=/\u0000|\uFFFD/g;function Vh(e){return(typeof e=="string"?e:""+e).replace(qg,` -`).replace(Yg,"")}function Qh(e,t){return t=Vh(t),Vh(e)===t}function Pi(){}function Ye(e,t,n,a,i,r){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||sl(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&sl(e,""+a);break;case"className":ii(e,"class",a);break;case"tabIndex":ii(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ii(e,n,a);break;case"style":es(e,a,r);break;case"data":if(t!=="object"){ii(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=fi(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(n==="formAction"?(t!=="input"&&Ye(e,t,"name",i.name,i,null),Ye(e,t,"formEncType",i.formEncType,i,null),Ye(e,t,"formMethod",i.formMethod,i,null),Ye(e,t,"formTarget",i.formTarget,i,null)):(Ye(e,t,"encType",i.encType,i,null),Ye(e,t,"method",i.method,i,null),Ye(e,t,"target",i.target,i,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=fi(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=Pi);break;case"onScroll":a!=null&&we("scroll",e);break;case"onScrollEnd":a!=null&&we("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(f(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(f(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=fi(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":we("beforetoggle",e),we("toggle",e),ui(e,"popover",a);break;case"xlinkActuate":Hn(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Hn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Hn(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Hn(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Hn(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Hn(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Hn(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Hn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Hn(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":ui(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=yv.get(n)||n,ui(e,n,a))}}function Cf(e,t,n,a,i,r){switch(n){case"style":es(e,a,r);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(f(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(f(60));e.innerHTML=n}}break;case"children":typeof a=="string"?sl(e,a):(typeof a=="number"||typeof a=="bigint")&&sl(e,""+a);break;case"onScroll":a!=null&&we("scroll",e);break;case"onScrollEnd":a!=null&&we("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Pi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Be.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),r=e[xe]||null,r=r!=null?r[n]:null,typeof r=="function"&&e.removeEventListener(t,r,i),typeof a=="function")){typeof r!="function"&&r!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,i);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):ui(e,n,a)}}}function xt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":we("error",e),we("load",e);var a=!1,i=!1,r;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(f(137,t));default:Ye(e,t,r,d,n,null)}}i&&Ye(e,t,"srcSet",n.srcSet,n,null),a&&Ye(e,t,"src",n.src,n,null);return;case"input":we("invalid",e);var g=r=d=i=null,E=null,C=null;for(a in n)if(n.hasOwnProperty(a)){var B=n[a];if(B!=null)switch(a){case"name":i=B;break;case"type":d=B;break;case"checked":E=B;break;case"defaultChecked":C=B;break;case"value":r=B;break;case"defaultValue":g=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(f(137,t));break;default:Ye(e,t,a,B,n,null)}}Fo(e,r,g,E,C,d,i,!1),ri(e);return;case"select":we("invalid",e),a=d=r=null;for(i in n)if(n.hasOwnProperty(i)&&(g=n[i],g!=null))switch(i){case"value":r=g;break;case"defaultValue":d=g;break;case"multiple":a=g;default:Ye(e,t,i,g,n,null)}t=r,n=d,e.multiple=!!a,t!=null?ol(e,!!a,t,!1):n!=null&&ol(e,!!a,n,!0);return;case"textarea":we("invalid",e),r=i=a=null;for(d in n)if(n.hasOwnProperty(d)&&(g=n[d],g!=null))switch(d){case"value":a=g;break;case"defaultValue":i=g;break;case"children":r=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(f(91));break;default:Ye(e,t,d,g,n,null)}Po(e,a,i,r),ri(e);return;case"option":for(E in n)if(n.hasOwnProperty(E)&&(a=n[E],a!=null))switch(E){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ye(e,t,E,a,n,null)}return;case"dialog":we("cancel",e),we("close",e);break;case"iframe":case"object":we("load",e);break;case"video":case"audio":for(a=0;a<Nu.length;a++)we(Nu[a],e);break;case"image":we("error",e),we("load",e);break;case"details":we("toggle",e);break;case"embed":case"source":case"link":we("error",e),we("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(C in n)if(n.hasOwnProperty(C)&&(a=n[C],a!=null))switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(f(137,t));default:Ye(e,t,C,a,n,null)}return;default:if(Xr(t)){for(B in n)n.hasOwnProperty(B)&&(a=n[B],a!==void 0&&Cf(e,t,B,a,n,void 0));return}}for(g in n)n.hasOwnProperty(g)&&(a=n[g],a!=null&&Ye(e,t,g,a,n,null))}function Gg(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,r=null,d=null,g=null,E=null,C=null,B=null;for(H in n){var X=n[H];if(n.hasOwnProperty(H)&&X!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":E=X;default:a.hasOwnProperty(H)||Ye(e,t,H,null,a,X)}}for(var z in a){var H=a[z];if(X=n[z],a.hasOwnProperty(z)&&(H!=null||X!=null))switch(z){case"type":r=H;break;case"name":i=H;break;case"checked":C=H;break;case"defaultChecked":B=H;break;case"value":d=H;break;case"defaultValue":g=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(f(137,t));break;default:H!==X&&Ye(e,t,z,H,a,X)}}Yr(e,d,g,E,C,B,r,i);return;case"select":H=d=g=z=null;for(r in n)if(E=n[r],n.hasOwnProperty(r)&&E!=null)switch(r){case"value":break;case"multiple":H=E;default:a.hasOwnProperty(r)||Ye(e,t,r,null,a,E)}for(i in a)if(r=a[i],E=n[i],a.hasOwnProperty(i)&&(r!=null||E!=null))switch(i){case"value":z=r;break;case"defaultValue":g=r;break;case"multiple":d=r;default:r!==E&&Ye(e,t,i,r,a,E)}t=g,n=d,a=H,z!=null?ol(e,!!n,z,!1):!!a!=!!n&&(t!=null?ol(e,!!n,t,!0):ol(e,!!n,n?[]:"",!1));return;case"textarea":H=z=null;for(g in n)if(i=n[g],n.hasOwnProperty(g)&&i!=null&&!a.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Ye(e,t,g,null,a,i)}for(d in a)if(i=a[d],r=n[d],a.hasOwnProperty(d)&&(i!=null||r!=null))switch(d){case"value":z=i;break;case"defaultValue":H=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(f(91));break;default:i!==r&&Ye(e,t,d,i,a,r)}Wo(e,z,H);return;case"option":for(var re in n)if(z=n[re],n.hasOwnProperty(re)&&z!=null&&!a.hasOwnProperty(re))switch(re){case"selected":e.selected=!1;break;default:Ye(e,t,re,null,a,z)}for(E in a)if(z=a[E],H=n[E],a.hasOwnProperty(E)&&z!==H&&(z!=null||H!=null))switch(E){case"selected":e.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:Ye(e,t,E,z,a,H)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ee in n)z=n[Ee],n.hasOwnProperty(Ee)&&z!=null&&!a.hasOwnProperty(Ee)&&Ye(e,t,Ee,null,a,z);for(C in a)if(z=a[C],H=n[C],a.hasOwnProperty(C)&&z!==H&&(z!=null||H!=null))switch(C){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(f(137,t));break;default:Ye(e,t,C,z,a,H)}return;default:if(Xr(t)){for(var lt in n)z=n[lt],n.hasOwnProperty(lt)&&z!==void 0&&!a.hasOwnProperty(lt)&&Cf(e,t,lt,void 0,a,z);for(B in a)z=a[B],H=n[B],!a.hasOwnProperty(B)||z===H||z===void 0&&H===void 0||Cf(e,t,B,z,a,H);return}}for(var A in n)z=n[A],n.hasOwnProperty(A)&&z!=null&&!a.hasOwnProperty(A)&&Ye(e,t,A,null,a,z);for(X in a)z=a[X],H=n[X],!a.hasOwnProperty(X)||z===H||z==null&&H==null||Ye(e,t,X,z,a,H)}var Mf=null,Af=null;function Ii(e){return e.nodeType===9?e:e.ownerDocument}function Zh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Kh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function _f(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var wf=null;function Xg(){var e=window.event;return e&&e.type==="popstate"?e===wf?!1:(wf=e,!0):(wf=null,!1)}var kh=typeof setTimeout=="function"?setTimeout:void 0,Vg=typeof clearTimeout=="function"?clearTimeout:void 0,$h=typeof Promise=="function"?Promise:void 0,Qg=typeof queueMicrotask=="function"?queueMicrotask:typeof $h<"u"?function(e){return $h.resolve(null).then(e).catch(Zg)}:kh;function Zg(e){setTimeout(function(){throw e})}function Nf(e,t){var n=t,a=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(a===0){e.removeChild(i),Gu(t);return}a--}else n!=="$"&&n!=="$?"&&n!=="$!"||a++;n=i}while(n);Gu(t)}function zf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":zf(n),Xt(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Kg(e,t,n,a){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[vn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==i.rel||e.getAttribute("href")!==(i.href==null?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var r=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=Rn(e.nextSibling),e===null)break}return null}function kg(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Rn(e.nextSibling),e===null))return null;return e}function Rn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}function Jh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}function Fh(e,t,n){switch(t=Ii(n),e){case"html":if(e=t.documentElement,!e)throw Error(f(452));return e;case"head":if(e=t.head,!e)throw Error(f(453));return e;case"body":if(e=t.body,!e)throw Error(f(454));return e;default:throw Error(f(451))}}var sn=new Map,Wh=new Set;function er(e){return typeof e.getRootNode=="function"?e.getRootNode():e.ownerDocument}var Pn=J.d;J.d={f:$g,r:Jg,D:Fg,C:Wg,L:Pg,m:Ig,X:tp,S:ep,M:np};function $g(){var e=Pn.f(),t=Ki();return e||t}function Jg(e){var t=On(e);t!==null&&t.tag===5&&t.type==="form"?xd(t):Pn.r(e)}var Bl=typeof document>"u"?null:document;function Ph(e,t,n){var a=Bl;if(a&&typeof t=="string"&&t){var i=en(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),Wh.has(i)||(Wh.add(i),e={rel:e,crossOrigin:n,href:t},a.querySelector(i)===null&&(t=a.createElement("link"),xt(t,"link",e),Fe(t),a.head.appendChild(t)))}}function Fg(e){Pn.D(e),Ph("dns-prefetch",e,null)}function Wg(e,t){Pn.C(e,t),Ph("preconnect",e,t)}function Pg(e,t,n){Pn.L(e,t,n);var a=Bl;if(a&&e&&t){var i='link[rel="preload"][as="'+en(t)+'"]';t==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+en(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+en(n.imageSizes)+'"]')):i+='[href="'+en(e)+'"]';var r=i;switch(t){case"style":r=ql(e);break;case"script":r=Yl(e)}sn.has(r)||(e=ie({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),sn.set(r,e),a.querySelector(i)!==null||t==="style"&&a.querySelector(Uu(r))||t==="script"&&a.querySelector(ju(r))||(t=a.createElement("link"),xt(t,"link",e),Fe(t),a.head.appendChild(t)))}}function Ig(e,t){Pn.m(e,t);var n=Bl;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+en(a)+'"][href="'+en(e)+'"]',r=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Yl(e)}if(!sn.has(r)&&(e=ie({rel:"modulepreload",href:e},t),sn.set(r,e),n.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ju(r)))return}a=n.createElement("link"),xt(a,"link",e),Fe(a),n.head.appendChild(a)}}}function ep(e,t,n){Pn.S(e,t,n);var a=Bl;if(a&&e){var i=Ut(a).hoistableStyles,r=ql(e);t=t||"default";var d=i.get(r);if(!d){var g={loading:0,preload:null};if(d=a.querySelector(Uu(r)))g.loading=5;else{e=ie({rel:"stylesheet",href:e,"data-precedence":t},n),(n=sn.get(r))&&Uf(e,n);var E=d=a.createElement("link");Fe(E),xt(E,"link",e),E._p=new Promise(function(C,B){E.onload=C,E.onerror=B}),E.addEventListener("load",function(){g.loading|=1}),E.addEventListener("error",function(){g.loading|=2}),g.loading|=4,tr(d,t,a)}d={type:"stylesheet",instance:d,count:1,state:g},i.set(r,d)}}}function tp(e,t){Pn.X(e,t);var n=Bl;if(n&&e){var a=Ut(n).hoistableScripts,i=Yl(e),r=a.get(i);r||(r=n.querySelector(ju(i)),r||(e=ie({src:e,async:!0},t),(t=sn.get(i))&&jf(e,t),r=n.createElement("script"),Fe(r),xt(r,"link",e),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(i,r))}}function np(e,t){Pn.M(e,t);var n=Bl;if(n&&e){var a=Ut(n).hoistableScripts,i=Yl(e),r=a.get(i);r||(r=n.querySelector(ju(i)),r||(e=ie({src:e,async:!0,type:"module"},t),(t=sn.get(i))&&jf(e,t),r=n.createElement("script"),Fe(r),xt(r,"link",e),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(i,r))}}function Ih(e,t,n,a){var i=(i=et.current)?er(i):null;if(!i)throw Error(f(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=ql(n.href),n=Ut(i).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ql(n.href);var r=Ut(i).hoistableStyles,d=r.get(e);if(d||(i=i.ownerDocument||i,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,d),(r=i.querySelector(Uu(e)))&&!r._p&&(d.instance=r,d.state.loading=5),sn.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},sn.set(e,n),r||ap(i,e,n,d.state))),t&&a===null)throw Error(f(528,""));return d}if(t&&a!==null)throw Error(f(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Yl(n),n=Ut(i).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(f(444,e))}}function ql(e){return'href="'+en(e)+'"'}function Uu(e){return'link[rel="stylesheet"]['+e+"]"}function em(e){return ie({},e,{"data-precedence":e.precedence,precedence:null})}function ap(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),xt(t,"link",n),Fe(t),e.head.appendChild(t))}function Yl(e){return'[src="'+en(e)+'"]'}function ju(e){return"script[async]"+e}function tm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+en(n.href)+'"]');if(a)return t.instance=a,Fe(a),a;var i=ie({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Fe(a),xt(a,"style",i),tr(a,n.precedence,e),t.instance=a;case"stylesheet":i=ql(n.href);var r=e.querySelector(Uu(i));if(r)return t.state.loading|=4,t.instance=r,Fe(r),r;a=em(n),(i=sn.get(i))&&Uf(a,i),r=(e.ownerDocument||e).createElement("link"),Fe(r);var d=r;return d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),xt(r,"link",a),t.state.loading|=4,tr(r,n.precedence,e),t.instance=r;case"script":return r=Yl(n.src),(i=e.querySelector(ju(r)))?(t.instance=i,Fe(i),i):(a=n,(i=sn.get(r))&&(a=ie({},n),jf(a,i)),e=e.ownerDocument||e,i=e.createElement("script"),Fe(i),xt(i,"link",a),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(f(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(a=t.instance,t.state.loading|=4,tr(a,n.precedence,e));return t.instance}function tr(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,r=i,d=0;d<a.length;d++){var g=a[d];if(g.dataset.precedence===t)r=g;else if(r!==i)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Uf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function jf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var nr=null;function nm(e,t,n){if(nr===null){var a=new Map,i=nr=new Map;i.set(n,a)}else i=nr,a=i.get(n),a||(a=new Map,i.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var r=n[i];if(!(r[vn]||r[de]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var d=r.getAttribute(t)||"";d=e+d;var g=a.get(d);g?g.push(r):a.set(d,[r])}}return a}function am(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function lp(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function lm(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}var Lu=null;function up(){}function ip(e,t,n){if(Lu===null)throw Error(f(475));var a=Lu;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&!(t.state.loading&4)){if(t.instance===null){var i=ql(n.href),r=e.querySelector(Uu(i));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=ar.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=r,Fe(r);return}r=e.ownerDocument||e,n=em(n),(i=sn.get(i))&&Uf(n,i),r=r.createElement("link"),Fe(r);var d=r;d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),xt(r,"link",n),t.instance=r}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&!(t.state.loading&3)&&(a.count++,t=ar.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function rp(){if(Lu===null)throw Error(f(475));var e=Lu;return e.stylesheets&&e.count===0&&Lf(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Lf(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function ar(){if(this.count--,this.count===0){if(this.stylesheets)Lf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var lr=null;function Lf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,lr=new Map,t.forEach(cp,e),lr=null,ar.call(e))}function cp(e,t){if(!(t.state.loading&4)){var n=lr.get(e);if(n)var a=n.get(null);else{n=new Map,lr.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<i.length;r++){var d=i[r];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),a=d)}a&&n.set(null,a)}i=t.instance,d=i.getAttribute("data-precedence"),r=n.get(d)||a,r===a&&n.set(null,i),n.set(d,i),this.count++,a=ar.bind(this),i.addEventListener("load",a),i.addEventListener("error",a),r?r.parentNode.insertBefore(i,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var Hu={$$typeof:D,Provider:null,Consumer:null,_currentValue:ve,_currentValue2:ve,_threadCount:0};function fp(e,t,n,a,i,r,d,g){this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=L(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=L(0),this.hiddenUpdates=L(null),this.identifierPrefix=a,this.onUncaughtError=i,this.onCaughtError=r,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map}function um(e,t,n,a,i,r,d,g,E,C,B,X){return e=new fp(e,t,n,d,g,E,C,X),t=1,r===!0&&(t|=24),r=fn(3,null,null,t),e.current=r,r.stateNode=e,t=hc(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:a,isDehydrated:n,cache:t},kc(r),e}function im(e){return e?(e=pl,e):pl}function rm(e,t,n,a,i,r){i=im(i),a.context===null?a.context=i:a.pendingContext=i,a=ha(t),a.payload={element:n},r=r===void 0?null:r,r!==null&&(a.callback=r),n=ma(e,a,t),n!==null&&(wt(n,e,t),bu(n,e,t))}function cm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Hf(e,t){cm(e,t),(e=e.alternate)&&cm(e,t)}function fm(e){if(e.tag===13){var t=ia(e,67108864);t!==null&&wt(t,e,67108864),Hf(e,67108864)}}var ur=!0;function op(e,t,n,a){var i=$.T;$.T=null;var r=J.p;try{J.p=2,Bf(e,t,n,a)}finally{J.p=r,$.T=i}}function sp(e,t,n,a){var i=$.T;$.T=null;var r=J.p;try{J.p=8,Bf(e,t,n,a)}finally{J.p=r,$.T=i}}function Bf(e,t,n,a){if(ur){var i=qf(a);if(i===null)Df(e,t,a,ir,n),sm(e,a);else if(hp(i,e,t,n,a))a.stopPropagation();else if(sm(e,a),t&4&&-1<dp.indexOf(e)){for(;i!==null;){var r=On(i);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var d=Pt(r.pendingLanes);if(d!==0){var g=r;for(g.pendingLanes|=2,g.entangledLanes|=2;d;){var E=1<<31-Ot(d);g.entanglements[1]|=E,d&=~E}_n(r),!(Pe&6)&&(Vi=St()+500,wu(0))}}break;case 13:g=ia(r,2),g!==null&&wt(g,r,2),Ki(),Hf(r,2)}if(r=qf(a),r===null&&Df(e,t,a,ir,n),r===i)break;i=r}i!==null&&a.stopPropagation()}else Df(e,t,a,null,n)}}function qf(e){return e=Qr(e),Yf(e)}var ir=null;function Yf(e){if(ir=null,e=vt(e),e!==null){var t=W(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Te(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ir=e,null}function om(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ft()){case be:return 2;case Wt:return 8;case mn:case Lr:return 32;case yn:return 268435456;default:return 32}default:return 32}}var Gf=!1,Sa=null,Ra=null,Ta=null,Bu=new Map,qu=new Map,xa=[],dp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function sm(e,t){switch(e){case"focusin":case"focusout":Sa=null;break;case"dragenter":case"dragleave":Ra=null;break;case"mouseover":case"mouseout":Ta=null;break;case"pointerover":case"pointerout":Bu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":qu.delete(t.pointerId)}}function Yu(e,t,n,a,i,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:r,targetContainers:[i]},t!==null&&(t=On(t),t!==null&&fm(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function hp(e,t,n,a,i){switch(t){case"focusin":return Sa=Yu(Sa,e,t,n,a,i),!0;case"dragenter":return Ra=Yu(Ra,e,t,n,a,i),!0;case"mouseover":return Ta=Yu(Ta,e,t,n,a,i),!0;case"pointerover":var r=i.pointerId;return Bu.set(r,Yu(Bu.get(r)||null,e,t,n,a,i)),!0;case"gotpointercapture":return r=i.pointerId,qu.set(r,Yu(qu.get(r)||null,e,t,n,a,i)),!0}return!1}function dm(e){var t=vt(e.target);if(t!==null){var n=W(t);if(n!==null){if(t=n.tag,t===13){if(t=Te(n),t!==null){e.blockedOn=t,F(e.priority,function(){if(n.tag===13){var a=kt(),i=ia(n,a);i!==null&&wt(i,n,a),Hf(n,a)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function rr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=qf(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);Vr=a,n.target.dispatchEvent(a),Vr=null}else return t=On(n),t!==null&&fm(t),e.blockedOn=n,!1;t.shift()}return!0}function hm(e,t,n){rr(e)&&n.delete(t)}function mp(){Gf=!1,Sa!==null&&rr(Sa)&&(Sa=null),Ra!==null&&rr(Ra)&&(Ra=null),Ta!==null&&rr(Ta)&&(Ta=null),Bu.forEach(hm),qu.forEach(hm)}function cr(e,t){e.blockedOn===t&&(e.blockedOn=null,Gf||(Gf=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,mp)))}var fr=null;function mm(e){fr!==e&&(fr=e,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){fr===e&&(fr=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],i=e[t+2];if(typeof a!="function"){if(Yf(a||n)===null)continue;break}var r=On(n);r!==null&&(e.splice(t,3),t-=3,Ac(r,{pending:!0,data:i,method:n.method,action:a},a,i))}}))}function Gu(e){function t(E){return cr(E,e)}Sa!==null&&cr(Sa,e),Ra!==null&&cr(Ra,e),Ta!==null&&cr(Ta,e),Bu.forEach(t),qu.forEach(t);for(var n=0;n<xa.length;n++){var a=xa[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<xa.length&&(n=xa[0],n.blockedOn===null);)dm(n),n.blockedOn===null&&xa.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var i=n[a],r=n[a+1],d=i[xe]||null;if(typeof r=="function")d||mm(n);else if(d){var g=null;if(r&&r.hasAttribute("formAction")){if(i=r,d=r[xe]||null)g=d.formAction;else if(Yf(i)!==null)continue}else g=d.action;typeof g=="function"?n[a+1]=g:(n.splice(a,3),a-=3),mm(n)}}}function Xf(e){this._internalRoot=e}or.prototype.render=Xf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(f(409));var n=t.current,a=kt();rm(n,a,e,t,null,null)},or.prototype.unmount=Xf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;e.tag===0&&jl(),rm(e.current,2,null,e,null,null),Ki(),t[ke]=null}};function or(e){this._internalRoot=e}or.prototype.unstable_scheduleHydration=function(e){if(e){var t=ue();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xa.length&&t!==0&&t<xa[n].priority;n++);xa.splice(n,0,e),n===0&&dm(e)}};var ym=u.version;if(ym!=="19.0.0")throw Error(f(527,ym,"19.0.0"));J.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(f(188)):(e=Object.keys(e).join(","),Error(f(268,e)));return e=G(t),e=e!==null?te(e):null,e=e===null?null:e.stateNode,e};var yp={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:$,findFiberByHostInstance:vt,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var sr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sr.isDisabled&&sr.supportsFiber)try{la=sr.inject(yp),Mt=sr}catch{}}return Vu.createRoot=function(e,t){if(!o(e))throw Error(f(299));var n=!1,a="",i=Nd,r=zd,d=Ud,g=null;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(g=t.unstable_transitionCallbacks)),t=um(e,1,!1,null,null,n,a,i,r,d,g,null),e[ke]=t.current,Of(e.nodeType===8?e.parentNode:e),new Xf(t)},Vu.hydrateRoot=function(e,t,n){if(!o(e))throw Error(f(299));var a=!1,i="",r=Nd,d=zd,g=Ud,E=null,C=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(g=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(E=n.unstable_transitionCallbacks),n.formState!==void 0&&(C=n.formState)),t=um(e,1,!0,t,n??null,a,i,r,d,g,E,C),t.context=im(null),n=t.current,a=kt(),i=ha(a),i.callback=null,ma(n,i,a),t.current.lanes=a,Q(t,a),_n(t),e[ke]=t.current,Of(e),new or(t)},Vu.version="19.0.0",Vu}var Dm;function Dp(){if(Dm)return Zf.exports;Dm=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(u){console.error(u)}}return l(),Zf.exports=Op(),Zf.exports}var Gb=Dp();const Cp="modulepreload",Mp=function(l){return"/static/"+l},Cm={},Xb=function(u,c,f){let o=Promise.resolve();if(c&&c.length>0){document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),y=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));o=Promise.allSettled(c.map(v=>{if(v=Mp(v),v in Cm)return;Cm[v]=!0;const m=v.endsWith(".css"),b=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${b}`))return;const M=document.createElement("link");if(M.rel=m?"stylesheet":Cp,m||(M.as="script"),M.crossOrigin="",M.href=v,y&&M.setAttribute("nonce",y),document.head.appendChild(M),m)return new Promise((S,D)=>{M.addEventListener("load",S),M.addEventListener("error",()=>D(new Error(`Unable to preload CSS for ${v}`)))})}))}function s(h){const y=new Event("vite:preloadError",{cancelable:!0});if(y.payload=h,window.dispatchEvent(y),!y.defaultPrevented)throw h}return o.then(h=>{for(const y of h||[])y.status==="rejected"&&s(y.reason);return u().catch(s)})};var Jf={exports:{}},Ff={};/** - * @license React - * react-compiler-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Mm;function Ap(){if(Mm)return Ff;Mm=1;var l=Ar().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;return Ff.c=function(u){return l.H.useMemoCache(u)},Ff}var Am;function _p(){return Am||(Am=1,Jf.exports=Ap()),Jf.exports}var Bt=_p(),Qu={},_m;function wp(){if(_m)return Qu;_m=1,Object.defineProperty(Qu,"__esModule",{value:!0}),Qu.parse=h,Qu.serialize=m;const l=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,u=/^[\u0021-\u003A\u003C-\u007E]*$/,c=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,f=/^[\u0020-\u003A\u003D-\u007E]*$/,o=Object.prototype.toString,s=(()=>{const S=function(){};return S.prototype=Object.create(null),S})();function h(S,D){const N=new s,q=S.length;if(q<2)return N;const V=(D==null?void 0:D.decode)||b;let U=0;do{const Z=S.indexOf("=",U);if(Z===-1)break;const K=S.indexOf(";",U),le=K===-1?q:K;if(Z>le){U=S.lastIndexOf(";",Z-1)+1;continue}const x=y(S,U,Z),P=v(S,Z,x),he=S.slice(x,P);if(N[he]===void 0){let oe=y(S,Z+1,le),$=v(S,le,oe);const ie=V(S.slice(oe,$));N[he]=ie}U=le+1}while(U<q);return N}function y(S,D,N){do{const q=S.charCodeAt(D);if(q!==32&&q!==9)return D}while(++D<N);return N}function v(S,D,N){for(;D>N;){const q=S.charCodeAt(--D);if(q!==32&&q!==9)return D+1}return N}function m(S,D,N){const q=(N==null?void 0:N.encode)||encodeURIComponent;if(!l.test(S))throw new TypeError(`argument name is invalid: ${S}`);const V=q(D);if(!u.test(V))throw new TypeError(`argument val is invalid: ${D}`);let U=S+"="+V;if(!N)return U;if(N.maxAge!==void 0){if(!Number.isInteger(N.maxAge))throw new TypeError(`option maxAge is invalid: ${N.maxAge}`);U+="; Max-Age="+N.maxAge}if(N.domain){if(!c.test(N.domain))throw new TypeError(`option domain is invalid: ${N.domain}`);U+="; Domain="+N.domain}if(N.path){if(!f.test(N.path))throw new TypeError(`option path is invalid: ${N.path}`);U+="; Path="+N.path}if(N.expires){if(!M(N.expires)||!Number.isFinite(N.expires.valueOf()))throw new TypeError(`option expires is invalid: ${N.expires}`);U+="; Expires="+N.expires.toUTCString()}if(N.httpOnly&&(U+="; HttpOnly"),N.secure&&(U+="; Secure"),N.partitioned&&(U+="; Partitioned"),N.priority)switch(typeof N.priority=="string"?N.priority.toLowerCase():void 0){case"low":U+="; Priority=Low";break;case"medium":U+="; Priority=Medium";break;case"high":U+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${N.priority}`)}if(N.sameSite)switch(typeof N.sameSite=="string"?N.sameSite.toLowerCase():N.sameSite){case!0:case"strict":U+="; SameSite=Strict";break;case"lax":U+="; SameSite=Lax";break;case"none":U+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${N.sameSite}`)}return U}function b(S){if(S.indexOf("%")===-1)return S;try{return decodeURIComponent(S)}catch{return S}}function M(S){return o.call(S)==="[object Date]"}return Qu}wp();/** - * react-router v7.1.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */var wm="popstate";function Np(l={}){function u(f,o){let{pathname:s,search:h,hash:y}=f.location;return Fu("",{pathname:s,search:h,hash:y},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function c(f,o){return typeof o=="string"?o:Aa(o)}return Up(u,c,null,l)}function Ne(l,u){if(l===!1||l===null||typeof l>"u")throw new Error(u)}function bt(l,u){if(!l){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function zp(){return Math.random().toString(36).substring(2,10)}function Nm(l,u){return{usr:l.state,key:l.key,idx:u}}function Fu(l,u,c=null,f){return{pathname:typeof l=="string"?l:l.pathname,search:"",hash:"",...typeof u=="string"?_a(u):u,state:c,key:u&&u.key||f||zp()}}function Aa({pathname:l="/",search:u="",hash:c=""}){return u&&u!=="?"&&(l+=u.charAt(0)==="?"?u:"?"+u),c&&c!=="#"&&(l+=c.charAt(0)==="#"?c:"#"+c),l}function _a(l){let u={};if(l){let c=l.indexOf("#");c>=0&&(u.hash=l.substring(c),l=l.substring(0,c));let f=l.indexOf("?");f>=0&&(u.search=l.substring(f),l=l.substring(0,f)),l&&(u.pathname=l)}return u}function Up(l,u,c,f={}){let{window:o=document.defaultView,v5Compat:s=!1}=f,h=o.history,y="POP",v=null,m=b();m==null&&(m=0,h.replaceState({...h.state,idx:m},""));function b(){return(h.state||{idx:null}).idx}function M(){y="POP";let V=b(),U=V==null?null:V-m;m=V,v&&v({action:y,location:q.location,delta:U})}function S(V,U){y="PUSH";let Z=Fu(q.location,V,U);m=b()+1;let K=Nm(Z,m),le=q.createHref(Z);try{h.pushState(K,"",le)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;o.location.assign(le)}s&&v&&v({action:y,location:q.location,delta:1})}function D(V,U){y="REPLACE";let Z=Fu(q.location,V,U);m=b();let K=Nm(Z,m),le=q.createHref(Z);h.replaceState(K,"",le),s&&v&&v({action:y,location:q.location,delta:0})}function N(V){let U=o.location.origin!=="null"?o.location.origin:o.location.href,Z=typeof V=="string"?V:Aa(V);return Z=Z.replace(/ $/,"%20"),Ne(U,`No window.location.(origin|href) available to create URL for href: ${Z}`),new URL(Z,U)}let q={get action(){return y},get location(){return l(o,h)},listen(V){if(v)throw new Error("A history only accepts one active listener");return o.addEventListener(wm,M),v=V,()=>{o.removeEventListener(wm,M),v=null}},createHref(V){return u(o,V)},createURL:N,encodeLocation(V){let U=N(V);return{pathname:U.pathname,search:U.search,hash:U.hash}},push:S,replace:D,go(V){return h.go(V)}};return q}var jp=new Set(["lazy","caseSensitive","path","id","index","children"]);function Lp(l){return l.index===!0}function br(l,u,c=[],f={}){return l.map((o,s)=>{let h=[...c,String(s)],y=typeof o.id=="string"?o.id:h.join("-");if(Ne(o.index!==!0||!o.children,"Cannot specify children on an index route"),Ne(!f[y],`Found a route id collision on id "${y}". Route id's must be globally unique within Data Router usages`),Lp(o)){let v={...o,...u(o),id:y};return f[y]=v,v}else{let v={...o,...u(o),id:y,children:void 0};return f[y]=v,o.children&&(v.children=br(o.children,u,h,f)),v}})}function Ma(l,u,c="/"){return gr(l,u,c,!1)}function gr(l,u,c,f){let o=typeof u=="string"?_a(u):u,s=Jt(o.pathname||"/",c);if(s==null)return null;let h=yy(l);Bp(h);let y=null;for(let v=0;y==null&&v<h.length;++v){let m=Jp(s);y=kp(h[v],m,f)}return y}function Hp(l,u){let{route:c,pathname:f,params:o}=l;return{id:c.id,pathname:f,params:o,data:u[c.id],handle:c.handle}}function yy(l,u=[],c=[],f=""){let o=(s,h,y)=>{let v={relativePath:y===void 0?s.path||"":y,caseSensitive:s.caseSensitive===!0,childrenIndex:h,route:s};v.relativePath.startsWith("/")&&(Ne(v.relativePath.startsWith(f),`Absolute route path "${v.relativePath}" nested under path "${f}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(f.length));let m=wn([f,v.relativePath]),b=c.concat(v);s.children&&s.children.length>0&&(Ne(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),yy(s.children,u,b,m)),!(s.path==null&&!s.index)&&u.push({path:m,score:Zp(m,s.index),routesMeta:b})};return l.forEach((s,h)=>{var y;if(s.path===""||!((y=s.path)!=null&&y.includes("?")))o(s,h);else for(let v of vy(s.path))o(s,h,v)}),u}function vy(l){let u=l.split("/");if(u.length===0)return[];let[c,...f]=u,o=c.endsWith("?"),s=c.replace(/\?$/,"");if(f.length===0)return o?[s,""]:[s];let h=vy(f.join("/")),y=[];return y.push(...h.map(v=>v===""?s:[s,v].join("/"))),o&&y.push(...h),y.map(v=>l.startsWith("/")&&v===""?"/":v)}function Bp(l){l.sort((u,c)=>u.score!==c.score?c.score-u.score:Kp(u.routesMeta.map(f=>f.childrenIndex),c.routesMeta.map(f=>f.childrenIndex)))}var qp=/^:[\w-]+$/,Yp=3,Gp=2,Xp=1,Vp=10,Qp=-2,zm=l=>l==="*";function Zp(l,u){let c=l.split("/"),f=c.length;return c.some(zm)&&(f+=Qp),u&&(f+=Gp),c.filter(o=>!zm(o)).reduce((o,s)=>o+(qp.test(s)?Yp:s===""?Xp:Vp),f)}function Kp(l,u){return l.length===u.length&&l.slice(0,-1).every((f,o)=>f===u[o])?l[l.length-1]-u[u.length-1]:0}function kp(l,u,c=!1){let{routesMeta:f}=l,o={},s="/",h=[];for(let y=0;y<f.length;++y){let v=f[y],m=y===f.length-1,b=s==="/"?u:u.slice(s.length)||"/",M=Sr({path:v.relativePath,caseSensitive:v.caseSensitive,end:m},b),S=v.route;if(!M&&m&&c&&!f[f.length-1].route.index&&(M=Sr({path:v.relativePath,caseSensitive:v.caseSensitive,end:!1},b)),!M)return null;Object.assign(o,M.params),h.push({params:o,pathname:wn([s,M.pathname]),pathnameBase:Pp(wn([s,M.pathnameBase])),route:S}),M.pathnameBase!=="/"&&(s=wn([s,M.pathnameBase]))}return h}function Sr(l,u){typeof l=="string"&&(l={path:l,caseSensitive:!1,end:!0});let[c,f]=$p(l.path,l.caseSensitive,l.end),o=u.match(c);if(!o)return null;let s=o[0],h=s.replace(/(.)\/+$/,"$1"),y=o.slice(1);return{params:f.reduce((m,{paramName:b,isOptional:M},S)=>{if(b==="*"){let N=y[S]||"";h=s.slice(0,s.length-N.length).replace(/(.)\/+$/,"$1")}const D=y[S];return M&&!D?m[b]=void 0:m[b]=(D||"").replace(/%2F/g,"/"),m},{}),pathname:s,pathnameBase:h,pattern:l}}function $p(l,u=!1,c=!0){bt(l==="*"||!l.endsWith("*")||l.endsWith("/*"),`Route path "${l}" will be treated as if it were "${l.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${l.replace(/\*$/,"/*")}".`);let f=[],o="^"+l.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,y,v)=>(f.push({paramName:y,isOptional:v!=null}),v?"/?([^\\/]+)?":"/([^\\/]+)"));return l.endsWith("*")?(f.push({paramName:"*"}),o+=l==="*"||l==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):c?o+="\\/*$":l!==""&&l!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,u?void 0:"i"),f]}function Jp(l){try{return l.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return bt(!1,`The URL path "${l}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${u}).`),l}}function Jt(l,u){if(u==="/")return l;if(!l.toLowerCase().startsWith(u.toLowerCase()))return null;let c=u.endsWith("/")?u.length-1:u.length,f=l.charAt(c);return f&&f!=="/"?null:l.slice(c)||"/"}function Fp(l,u="/"){let{pathname:c,search:f="",hash:o=""}=typeof l=="string"?_a(l):l;return{pathname:c?c.startsWith("/")?c:Wp(c,u):u,search:Ip(f),hash:e0(o)}}function Wp(l,u){let c=u.replace(/\/+$/,"").split("/");return l.split("/").forEach(o=>{o===".."?c.length>1&&c.pop():o!=="."&&c.push(o)}),c.length>1?c.join("/"):"/"}function Wf(l,u,c,f){return`Cannot include a '${l}' character in a manually specified \`to.${u}\` field [${JSON.stringify(f)}]. Please separate it out to the \`to.${c}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function gy(l){return l.filter((u,c)=>c===0||u.route.path&&u.route.path.length>0)}function Do(l){let u=gy(l);return u.map((c,f)=>f===u.length-1?c.pathname:c.pathnameBase)}function Co(l,u,c,f=!1){let o;typeof l=="string"?o=_a(l):(o={...l},Ne(!o.pathname||!o.pathname.includes("?"),Wf("?","pathname","search",o)),Ne(!o.pathname||!o.pathname.includes("#"),Wf("#","pathname","hash",o)),Ne(!o.search||!o.search.includes("#"),Wf("#","search","hash",o)));let s=l===""||o.pathname==="",h=s?"/":o.pathname,y;if(h==null)y=c;else{let M=u.length-1;if(!f&&h.startsWith("..")){let S=h.split("/");for(;S[0]==="..";)S.shift(),M-=1;o.pathname=S.join("/")}y=M>=0?u[M]:"/"}let v=Fp(o,y),m=h&&h!=="/"&&h.endsWith("/"),b=(s||h===".")&&c.endsWith("/");return!v.pathname.endsWith("/")&&(m||b)&&(v.pathname+="/"),v}var wn=l=>l.join("/").replace(/\/\/+/g,"/"),Pp=l=>l.replace(/\/+$/,"").replace(/^\/*/,"/"),Ip=l=>!l||l==="?"?"":l.startsWith("?")?l:"?"+l,e0=l=>!l||l==="#"?"":l.startsWith("#")?l:"#"+l,Rr=class{constructor(l,u,c,f=!1){this.status=l,this.statusText=u||"",this.internal=f,c instanceof Error?(this.data=c.toString(),this.error=c):this.data=c}};function _r(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.internal=="boolean"&&"data"in l}var py=["POST","PUT","PATCH","DELETE"],t0=new Set(py),n0=["GET",...py],a0=new Set(n0),l0=new Set([301,302,303,307,308]),u0=new Set([307,308]),Pf={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},i0={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Zl={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Mo=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,r0=l=>({hasErrorBoundary:!!l.hasErrorBoundary}),Ey="remix-router-transitions",by=Symbol("ResetLoaderData");function c0(l){const u=l.window?l.window:typeof window<"u"?window:void 0,c=typeof u<"u"&&typeof u.document<"u"&&typeof u.document.createElement<"u";Ne(l.routes.length>0,"You must provide a non-empty routes array to createRouter");let f=l.mapRouteProperties||r0,o={},s=br(l.routes,f,void 0,o),h,y=l.basename||"/",v=l.dataStrategy||h0,m=l.patchRoutesOnNavigation,b={...l.future},M=null,S=new Set,D=null,N=null,q=null,V=l.hydrationData!=null,U=Ma(s,l.history.location,y),Z=null;if(U==null&&!m){let T=dn(404,{pathname:l.history.location.pathname}),{matches:_,route:L}=Qm(s);U=_,Z={[L.id]:T}}U&&!l.hydrationData&&Pt(U,s,l.history.location.pathname).active&&(U=null);let K;if(U)if(U.some(T=>T.route.lazy))K=!1;else if(!U.some(T=>T.route.loader))K=!0;else{let T=l.hydrationData?l.hydrationData.loaderData:null,_=l.hydrationData?l.hydrationData.errors:null;if(_){let L=U.findIndex(Q=>_[Q.route.id]!==void 0);K=U.slice(0,L+1).every(Q=>!yo(Q.route,T,_))}else K=U.every(L=>!yo(L.route,T,_))}else{K=!1,U=[];let T=Pt(null,s,l.history.location.pathname);T.active&&T.matches&&(U=T.matches)}let le,x={historyAction:l.history.action,location:l.history.location,matches:U,initialized:K,navigation:Pf,restoreScrollPosition:l.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:l.hydrationData&&l.hydrationData.loaderData||{},actionData:l.hydrationData&&l.hydrationData.actionData||null,errors:l.hydrationData&&l.hydrationData.errors||Z,fetchers:new Map,blockers:new Map},P="POP",he=!1,oe,$=!1,ie=new Map,He=null,ut=!1,Je=!1,dt=new Set,Me=new Map,k=0,se=-1,W=new Map,Te=new Set,R=new Map,G=new Map,te=new Set,I=new Map,J,ve=null;function pe(){if(M=l.history.listen(({action:T,location:_,delta:L})=>{if(J){J(),J=void 0;return}bt(I.size===0||L!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Q=Ot({currentLocation:x.location,nextLocation:_,historyAction:T});if(Q&&L!=null){let ee=new Promise(ce=>{J=ce});l.history.go(L*-1),Gt(Q,{state:"blocked",location:_,proceed(){Gt(Q,{state:"proceeding",proceed:void 0,reset:void 0,location:_}),ee.then(()=>l.history.go(L))},reset(){let ce=new Map(x.blockers);ce.set(Q,Zl),Se({blockers:ce})}});return}return et(T,_)}),c){x0(u,ie);let T=()=>O0(u,ie);u.addEventListener("pagehide",T),He=()=>u.removeEventListener("pagehide",T)}return x.initialized||et("POP",x.location,{initialHydration:!0}),le}function Ie(){M&&M(),He&&He(),S.clear(),oe&&oe.abort(),x.fetchers.forEach((T,_)=>mn(_)),x.blockers.forEach((T,_)=>ai(_))}function _e(T){return S.add(T),()=>S.delete(T)}function Se(T,_={}){x={...x,...T};let L=[],Q=[];x.fetchers.forEach((ee,ce)=>{ee.state==="idle"&&(te.has(ce)?L.push(ce):Q.push(ce))}),te.forEach(ee=>{!x.fetchers.has(ee)&&!Me.has(ee)&&L.push(ee)}),[...S].forEach(ee=>ee(x,{deletedFetchers:L,viewTransitionOpts:_.viewTransitionOpts,flushSync:_.flushSync===!0})),L.forEach(ee=>mn(ee)),Q.forEach(ee=>x.fetchers.delete(ee))}function De(T,_,{flushSync:L}={}){var F,me;let Q=x.actionData!=null&&x.navigation.formMethod!=null&&Tn(x.navigation.formMethod)&&x.navigation.state==="loading"&&((F=T.state)==null?void 0:F._isRedirect)!==!0,ee;_.actionData?Object.keys(_.actionData).length>0?ee=_.actionData:ee=null:Q?ee=x.actionData:ee=null;let ce=_.loaderData?Xm(x.loaderData,_.loaderData,_.matches||[],_.errors):x.loaderData,ge=x.blockers;ge.size>0&&(ge=new Map(ge),ge.forEach((de,xe)=>ge.set(xe,Zl)));let ne=he===!0||x.navigation.formMethod!=null&&Tn(x.navigation.formMethod)&&((me=T.state)==null?void 0:me._isRedirect)!==!0;h&&(s=h,h=void 0),ut||P==="POP"||(P==="PUSH"?l.history.push(T,T.state):P==="REPLACE"&&l.history.replace(T,T.state));let ue;if(P==="POP"){let de=ie.get(x.location.pathname);de&&de.has(T.pathname)?ue={currentLocation:x.location,nextLocation:T}:ie.has(T.pathname)&&(ue={currentLocation:T,nextLocation:x.location})}else if($){let de=ie.get(x.location.pathname);de?de.add(T.pathname):(de=new Set([T.pathname]),ie.set(x.location.pathname,de)),ue={currentLocation:x.location,nextLocation:T}}Se({..._,actionData:ee,loaderData:ce,historyAction:P,location:T,initialized:!0,navigation:Pf,revalidation:"idle",restoreScrollPosition:za(T,_.matches||x.matches),preventScrollReset:ne,blockers:ge},{viewTransitionOpts:ue,flushSync:L===!0}),P="POP",he=!1,$=!1,ut=!1,Je=!1,ve==null||ve.resolve(),ve=null}async function yt(T,_){if(typeof T=="number"){l.history.go(T);return}let L=mo(x.location,x.matches,y,T,_==null?void 0:_.fromRouteId,_==null?void 0:_.relative),{path:Q,submission:ee,error:ce}=Um(!1,L,_),ge=x.location,ne=Fu(x.location,Q,_&&_.state);ne={...ne,...l.history.encodeLocation(ne)};let ue=_&&_.replace!=null?_.replace:void 0,F="PUSH";ue===!0?F="REPLACE":ue===!1||ee!=null&&Tn(ee.formMethod)&&ee.formAction===x.location.pathname+x.location.search&&(F="REPLACE");let me=_&&"preventScrollReset"in _?_.preventScrollReset===!0:void 0,de=(_&&_.flushSync)===!0,xe=Ot({currentLocation:ge,nextLocation:ne,historyAction:F});if(xe){Gt(xe,{state:"blocked",location:ne,proceed(){Gt(xe,{state:"proceeding",proceed:void 0,reset:void 0,location:ne}),yt(T,_)},reset(){let ke=new Map(x.blockers);ke.set(xe,Zl),Se({blockers:ke})}});return}await et(F,ne,{submission:ee,pendingError:ce,preventScrollReset:me,replace:_&&_.replace,enableViewTransition:_&&_.viewTransition,flushSync:de})}function Nt(){ve||(ve=D0()),St(),Se({revalidation:"loading"});let T=ve.promise;return x.navigation.state==="submitting"?T:x.navigation.state==="idle"?(et(x.historyAction,x.location,{startUninterruptedRevalidation:!0}),T):(et(P||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation,enableViewTransition:$===!0}),T)}async function et(T,_,L){oe&&oe.abort(),oe=null,P=T,ut=(L&&L.startUninterruptedRevalidation)===!0,fl(x.location,x.matches),he=(L&&L.preventScrollReset)===!0,$=(L&&L.enableViewTransition)===!0;let Q=h||s,ee=L&&L.overrideNavigation,ce=Ma(Q,_,y),ge=(L&&L.flushSync)===!0,ne=Pt(ce,Q,_.pathname);if(ne.active&&ne.matches&&(ce=ne.matches),!ce){let{error:Xe,notFoundMatches:Ve,route:it}=Jl(_.pathname);De(_,{matches:Ve,loaderData:{},errors:{[it.id]:Xe}},{flushSync:ge});return}if(x.initialized&&!Je&&E0(x.location,_)&&!(L&&L.submission&&Tn(L.submission.formMethod))){De(_,{matches:ce},{flushSync:ge});return}oe=new AbortController;let ue=Gl(l.history,_,oe.signal,L&&L.submission),F;if(L&&L.pendingError)F=[nl(ce).route.id,{type:"error",error:L.pendingError}];else if(L&&L.submission&&Tn(L.submission.formMethod)){let Xe=await qt(ue,_,L.submission,ce,ne.active,{replace:L.replace,flushSync:ge});if(Xe.shortCircuited)return;if(Xe.pendingActionResult){let[Ve,it]=Xe.pendingActionResult;if($t(it)&&_r(it.error)&&it.error.status===404){oe=null,De(_,{matches:Xe.matches,loaderData:{},errors:{[Ve]:it.error}});return}}ce=Xe.matches||ce,F=Xe.pendingActionResult,ee=If(_,L.submission),ge=!1,ne.active=!1,ue=Gl(l.history,ue.url,ue.signal)}let{shortCircuited:me,matches:de,loaderData:xe,errors:ke}=await Le(ue,_,ce,ne.active,ee,L&&L.submission,L&&L.fetcherSubmission,L&&L.replace,L&&L.initialHydration===!0,ge,F);me||(oe=null,De(_,{matches:de||ce,...Vm(F),loaderData:xe,errors:ke}))}async function qt(T,_,L,Q,ee,ce={}){St();let ge=R0(_,L);if(Se({navigation:ge},{flushSync:ce.flushSync===!0}),ee){let F=await Un(Q,_.pathname,T.signal);if(F.type==="aborted")return{shortCircuited:!0};if(F.type==="error"){let me=nl(F.partialMatches).route.id;return{matches:F.partialMatches,pendingActionResult:[me,{type:"error",error:F.error}]}}else if(F.matches)Q=F.matches;else{let{notFoundMatches:me,error:de,route:xe}=Jl(_.pathname);return{matches:me,pendingActionResult:[xe.id,{type:"error",error:de}]}}}let ne,ue=$u(Q,_);if(!ue.route.action&&!ue.route.lazy)ne={type:"error",error:dn(405,{method:T.method,pathname:_.pathname,routeId:ue.route.id})};else if(ne=(await zn("action",x,T,[ue],Q,null))[ue.route.id],T.signal.aborted)return{shortCircuited:!0};if(ul(ne)){let F;return ce&&ce.replace!=null?F=ce.replace:F=qm(ne.response.headers.get("Location"),new URL(T.url),y)===x.location.pathname+x.location.search,await Yt(T,ne,!0,{submission:L,replace:F}),{shortCircuited:!0}}if($t(ne)){let F=nl(Q,ue.route.id);return(ce&&ce.replace)!==!0&&(P="PUSH"),{matches:Q,pendingActionResult:[F.route.id,ne]}}return{matches:Q,pendingActionResult:[ue.route.id,ne]}}async function Le(T,_,L,Q,ee,ce,ge,ne,ue,F,me){let de=ee||If(_,ce),xe=ce||ge||Km(de),ke=!ut&&!ue;if(Q){if(ke){let $e=zt(me);Se({navigation:de,...$e!==void 0?{actionData:$e}:{}},{flushSync:F})}let Be=await Un(L,_.pathname,T.signal);if(Be.type==="aborted")return{shortCircuited:!0};if(Be.type==="error"){let $e=nl(Be.partialMatches).route.id;return{matches:Be.partialMatches,loaderData:{},errors:{[$e]:Be.error}}}else if(Be.matches)L=Be.matches;else{let{error:$e,notFoundMatches:pn,route:At}=Jl(_.pathname);return{matches:pn,loaderData:{},errors:{[At.id]:$e}}}}let Xe=h||s,[Ve,it]=Lm(l.history,x,L,xe,_,ue===!0,Je,dt,te,R,Te,Xe,y,me);if(se=++k,Ve.length===0&&it.length===0){let Be=ni();return De(_,{matches:L,loaderData:{},errors:me&&$t(me[1])?{[me[0]]:me[1].error}:null,...Vm(me),...Be?{fetchers:new Map(x.fetchers)}:{}},{flushSync:F}),{shortCircuited:!0}}if(ke){let Be={};if(!Q){Be.navigation=de;let $e=zt(me);$e!==void 0&&(Be.actionData=$e)}it.length>0&&(Be.fetchers=hn(it)),Se(Be,{flushSync:F})}it.forEach(Be=>{yn(Be.key),Be.controller&&Me.set(Be.key,Be.controller)});let jn=()=>it.forEach(Be=>yn(Be.key));oe&&oe.signal.addEventListener("abort",jn);let{loaderResults:vn,fetcherResults:Xt}=await cl(x,L,Ve,it,T);if(T.signal.aborted)return{shortCircuited:!0};oe&&oe.signal.removeEventListener("abort",jn),it.forEach(Be=>Me.delete(Be.key));let vt=dr(vn);if(vt)return await Yt(T,vt.result,!0,{replace:ne}),{shortCircuited:!0};if(vt=dr(Xt),vt)return Te.add(vt.key),await Yt(T,vt.result,!0,{replace:ne}),{shortCircuited:!0};let{loaderData:On,errors:gn}=Gm(x,L,vn,me,it,Xt);ue&&x.errors&&(gn={...x.errors,...gn});let Ut=ni(),Fe=la(se),ja=Ut||Fe||it.length>0;return{matches:L,loaderData:On,errors:gn,...ja?{fetchers:new Map(x.fetchers)}:{}}}function zt(T){if(T&&!$t(T[1]))return{[T[0]]:T[1].data};if(x.actionData)return Object.keys(x.actionData).length===0?null:x.actionData}function hn(T){return T.forEach(_=>{let L=x.fetchers.get(_.key),Q=Zu(void 0,L?L.data:void 0);x.fetchers.set(_.key,Q)}),new Map(x.fetchers)}async function aa(T,_,L,Q){yn(T);let ee=(Q&&Q.flushSync)===!0,ce=h||s,ge=mo(x.location,x.matches,y,L,_,Q==null?void 0:Q.relative),ne=Ma(ce,ge,y),ue=Pt(ne,ce,ge);if(ue.active&&ue.matches&&(ne=ue.matches),!ne){be(T,_,dn(404,{pathname:ge}),{flushSync:ee});return}let{path:F,submission:me,error:de}=Um(!0,ge,Q);if(de){be(T,_,de,{flushSync:ee});return}let xe=$u(ne,F),ke=(Q&&Q.preventScrollReset)===!0;if(me&&Tn(me.formMethod)){await wa(T,_,F,xe,ne,ue.active,ee,ke,me);return}R.set(T,{routeId:_,path:F}),await Na(T,_,F,xe,ne,ue.active,ee,ke,me)}async function wa(T,_,L,Q,ee,ce,ge,ne,ue){St(),R.delete(T);function F(tt){if(!tt.route.action&&!tt.route.lazy){let Ln=dn(405,{method:ue.formMethod,pathname:L,routeId:_});return be(T,_,Ln,{flushSync:ge}),!0}return!1}if(!ce&&F(Q))return;let me=x.fetchers.get(T);Ft(T,T0(ue,me),{flushSync:ge});let de=new AbortController,xe=Gl(l.history,L,de.signal,ue);if(ce){let tt=await Un(ee,L,xe.signal);if(tt.type==="aborted")return;if(tt.type==="error"){be(T,_,tt.error,{flushSync:ge});return}else if(tt.matches){if(ee=tt.matches,Q=$u(ee,L),F(Q))return}else{be(T,_,dn(404,{pathname:L}),{flushSync:ge});return}}Me.set(T,de);let ke=k,Ve=(await zn("action",x,xe,[Q],ee,T))[Q.route.id];if(xe.signal.aborted){Me.get(T)===de&&Me.delete(T);return}if(te.has(T)){if(ul(Ve)||$t(Ve)){Ft(T,Da(void 0));return}}else{if(ul(Ve))if(Me.delete(T),se>ke){Ft(T,Da(void 0));return}else return Te.add(T),Ft(T,Zu(ue)),Yt(xe,Ve,!1,{fetcherSubmission:ue,preventScrollReset:ne});if($t(Ve)){be(T,_,Ve.error);return}}let it=x.navigation.location||x.location,jn=Gl(l.history,it,de.signal),vn=h||s,Xt=x.navigation.state!=="idle"?Ma(vn,x.navigation.location,y):x.matches;Ne(Xt,"Didn't find any matches after fetcher action");let vt=++k;W.set(T,vt);let On=Zu(ue,Ve.data);x.fetchers.set(T,On);let[gn,Ut]=Lm(l.history,x,Xt,ue,it,!1,Je,dt,te,R,Te,vn,y,[Q.route.id,Ve]);Ut.filter(tt=>tt.key!==T).forEach(tt=>{let Ln=tt.key,Fl=x.fetchers.get(Ln),qr=Zu(void 0,Fl?Fl.data:void 0);x.fetchers.set(Ln,qr),yn(Ln),tt.controller&&Me.set(Ln,tt.controller)}),Se({fetchers:new Map(x.fetchers)});let Fe=()=>Ut.forEach(tt=>yn(tt.key));de.signal.addEventListener("abort",Fe);let{loaderResults:ja,fetcherResults:Be}=await cl(x,Xt,gn,Ut,jn);if(de.signal.aborted)return;de.signal.removeEventListener("abort",Fe),W.delete(T),Me.delete(T),Ut.forEach(tt=>Me.delete(tt.key));let $e=dr(ja);if($e)return Yt(jn,$e.result,!1,{preventScrollReset:ne});if($e=dr(Be),$e)return Te.add($e.key),Yt(jn,$e.result,!1,{preventScrollReset:ne});let{loaderData:pn,errors:At}=Gm(x,Xt,ja,void 0,Ut,Be);if(x.fetchers.has(T)){let tt=Da(Ve.data);x.fetchers.set(T,tt)}la(vt),x.navigation.state==="loading"&&vt>se?(Ne(P,"Expected pending action"),oe&&oe.abort(),De(x.navigation.location,{matches:Xt,loaderData:pn,errors:At,fetchers:new Map(x.fetchers)})):(Se({errors:At,loaderData:Xm(x.loaderData,pn,Xt,At),fetchers:new Map(x.fetchers)}),Je=!1)}async function Na(T,_,L,Q,ee,ce,ge,ne,ue){let F=x.fetchers.get(T);Ft(T,Zu(ue,F?F.data:void 0),{flushSync:ge});let me=new AbortController,de=Gl(l.history,L,me.signal);if(ce){let Ve=await Un(ee,L,de.signal);if(Ve.type==="aborted")return;if(Ve.type==="error"){be(T,_,Ve.error,{flushSync:ge});return}else if(Ve.matches)ee=Ve.matches,Q=$u(ee,L);else{be(T,_,dn(404,{pathname:L}),{flushSync:ge});return}}Me.set(T,me);let xe=k,Xe=(await zn("loader",x,de,[Q],ee,T))[Q.route.id];if(Me.get(T)===me&&Me.delete(T),!de.signal.aborted){if(te.has(T)){Ft(T,Da(void 0));return}if(ul(Xe))if(se>xe){Ft(T,Da(void 0));return}else{Te.add(T),await Yt(de,Xe,!1,{preventScrollReset:ne});return}if($t(Xe)){be(T,_,Xe.error);return}Ft(T,Da(Xe.data))}}async function Yt(T,_,L,{submission:Q,fetcherSubmission:ee,preventScrollReset:ce,replace:ge}={}){_.response.headers.has("X-Remix-Revalidate")&&(Je=!0);let ne=_.response.headers.get("Location");Ne(ne,"Expected a Location header on the redirect Response"),ne=qm(ne,new URL(T.url),y);let ue=Fu(x.location,ne,{_isRedirect:!0});if(c){let Xe=!1;if(_.response.headers.has("X-Remix-Reload-Document"))Xe=!0;else if(Mo.test(ne)){const Ve=l.history.createURL(ne);Xe=Ve.origin!==u.location.origin||Jt(Ve.pathname,y)==null}if(Xe){ge?u.location.replace(ne):u.location.assign(ne);return}}oe=null;let F=ge===!0||_.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:me,formAction:de,formEncType:xe}=x.navigation;!Q&&!ee&&me&&de&&xe&&(Q=Km(x.navigation));let ke=Q||ee;if(u0.has(_.response.status)&&ke&&Tn(ke.formMethod))await et(F,ue,{submission:{...ke,formAction:ne},preventScrollReset:ce||he,enableViewTransition:L?$:void 0});else{let Xe=If(ue,Q);await et(F,ue,{overrideNavigation:Xe,fetcherSubmission:ee,preventScrollReset:ce||he,enableViewTransition:L?$:void 0})}}async function zn(T,_,L,Q,ee,ce){let ge,ne={};try{ge=await m0(v,T,_,L,Q,ee,ce,o,f)}catch(ue){return Q.forEach(F=>{ne[F.route.id]={type:"error",error:ue}}),ne}for(let[ue,F]of Object.entries(ge))if(b0(F)){let me=F.result;ne[ue]={type:"redirect",response:g0(me,L,ue,ee,y)}}else ne[ue]=await v0(F);return ne}async function cl(T,_,L,Q,ee){let ce=zn("loader",T,ee,L,_,null),ge=Promise.all(Q.map(async F=>{if(F.matches&&F.match&&F.controller){let de=(await zn("loader",T,Gl(l.history,F.path,F.controller.signal),[F.match],F.matches,F.key))[F.match.route.id];return{[F.key]:de}}else return Promise.resolve({[F.key]:{type:"error",error:dn(404,{pathname:F.path})}})})),ne=await ce,ue=(await ge).reduce((F,me)=>Object.assign(F,me),{});return{loaderResults:ne,fetcherResults:ue}}function St(){Je=!0,R.forEach((T,_)=>{Me.has(_)&&dt.add(_),yn(_)})}function Ft(T,_,L={}){x.fetchers.set(T,_),Se({fetchers:new Map(x.fetchers)},{flushSync:(L&&L.flushSync)===!0})}function be(T,_,L,Q={}){let ee=nl(x.matches,_);mn(T),Se({errors:{[ee.route.id]:L},fetchers:new Map(x.fetchers)},{flushSync:(Q&&Q.flushSync)===!0})}function Wt(T){return G.set(T,(G.get(T)||0)+1),te.has(T)&&te.delete(T),x.fetchers.get(T)||i0}function mn(T){let _=x.fetchers.get(T);Me.has(T)&&!(_&&_.state==="loading"&&W.has(T))&&yn(T),R.delete(T),W.delete(T),Te.delete(T),te.delete(T),dt.delete(T),x.fetchers.delete(T)}function Lr(T){let _=(G.get(T)||0)-1;_<=0?(G.delete(T),te.add(T)):G.set(T,_),Se({fetchers:new Map(x.fetchers)})}function yn(T){let _=Me.get(T);_&&(_.abort(),Me.delete(T))}function ti(T){for(let _ of T){let L=Wt(_),Q=Da(L.data);x.fetchers.set(_,Q)}}function ni(){let T=[],_=!1;for(let L of Te){let Q=x.fetchers.get(L);Ne(Q,`Expected fetcher: ${L}`),Q.state==="loading"&&(Te.delete(L),T.push(L),_=!0)}return ti(T),_}function la(T){let _=[];for(let[L,Q]of W)if(Q<T){let ee=x.fetchers.get(L);Ne(ee,`Expected fetcher: ${L}`),ee.state==="loading"&&(yn(L),W.delete(L),_.push(L))}return ti(_),_.length>0}function Mt(T,_){let L=x.blockers.get(T)||Zl;return I.get(T)!==_&&I.set(T,_),L}function ai(T){x.blockers.delete(T),I.delete(T)}function Gt(T,_){let L=x.blockers.get(T)||Zl;Ne(L.state==="unblocked"&&_.state==="blocked"||L.state==="blocked"&&_.state==="blocked"||L.state==="blocked"&&_.state==="proceeding"||L.state==="blocked"&&_.state==="unblocked"||L.state==="proceeding"&&_.state==="unblocked",`Invalid blocker state transition: ${L.state} -> ${_.state}`);let Q=new Map(x.blockers);Q.set(T,_),Se({blockers:Q})}function Ot({currentLocation:T,nextLocation:_,historyAction:L}){if(I.size===0)return;I.size>1&&bt(!1,"A router only supports one blocker at a time");let Q=Array.from(I.entries()),[ee,ce]=Q[Q.length-1],ge=x.blockers.get(ee);if(!(ge&&ge.state==="proceeding")&&ce({currentLocation:T,nextLocation:_,historyAction:L}))return ee}function Jl(T){let _=dn(404,{pathname:T}),L=h||s,{matches:Q,route:ee}=Qm(L);return{notFoundMatches:Q,route:ee,error:_}}function Hr(T,_,L){if(D=T,q=_,N=L||null,!V&&x.navigation===Pf){V=!0;let Q=za(x.location,x.matches);Q!=null&&Se({restoreScrollPosition:Q})}return()=>{D=null,q=null,N=null}}function li(T,_){return N&&N(T,_.map(Q=>Hp(Q,x.loaderData)))||T.key}function fl(T,_){if(D&&q){let L=li(T,_);D[L]=q()}}function za(T,_){if(D){let L=li(T,_),Q=D[L];if(typeof Q=="number")return Q}return null}function Pt(T,_,L){if(m)if(T){if(Object.keys(T[0].params).length>0)return{active:!0,matches:gr(_,L,y,!0)}}else return{active:!0,matches:gr(_,L,y,!0)||[]};return{active:!1,matches:null}}async function Un(T,_,L){if(!m)return{type:"success",matches:T};let Q=T;for(;;){let ee=h==null,ce=h||s,ge=o;try{await m({path:_,matches:Q,patch:(F,me)=>{L.aborted||Bm(F,me,ce,ge,f)}})}catch(F){return{type:"error",error:F,partialMatches:Q}}finally{ee&&!L.aborted&&(s=[...s])}if(L.aborted)return{type:"aborted"};let ne=Ma(ce,_,y);if(ne)return{type:"success",matches:ne};let ue=gr(ce,_,y,!0);if(!ue||Q.length===ue.length&&Q.every((F,me)=>F.route.id===ue[me].route.id))return{type:"success",matches:null};Q=ue}}function Ua(T){o={},h=br(T,f,void 0,o)}function Br(T,_){let L=h==null;Bm(T,_,h||s,o,f),L&&(s=[...s],Se({}))}return le={get basename(){return y},get future(){return b},get state(){return x},get routes(){return s},get window(){return u},initialize:pe,subscribe:_e,enableScrollRestoration:Hr,navigate:yt,fetch:aa,revalidate:Nt,createHref:T=>l.history.createHref(T),encodeLocation:T=>l.history.encodeLocation(T),getFetcher:Wt,deleteFetcher:Lr,dispose:Ie,getBlocker:Mt,deleteBlocker:ai,patchRoutes:Br,_internalFetchControllers:Me,_internalSetRoutes:Ua},le}function f0(l){return l!=null&&("formData"in l&&l.formData!=null||"body"in l&&l.body!==void 0)}function mo(l,u,c,f,o,s){let h,y;if(o){h=[];for(let m of u)if(h.push(m),m.route.id===o){y=m;break}}else h=u,y=u[u.length-1];let v=Co(f||".",Do(h),Jt(l.pathname,c)||l.pathname,s==="path");if(f==null&&(v.search=l.search,v.hash=l.hash),(f==null||f===""||f===".")&&y){let m=Ao(v.search);if(y.route.index&&!m)v.search=v.search?v.search.replace(/^\?/,"?index&"):"?index";else if(!y.route.index&&m){let b=new URLSearchParams(v.search),M=b.getAll("index");b.delete("index"),M.filter(D=>D).forEach(D=>b.append("index",D));let S=b.toString();v.search=S?`?${S}`:""}}return c!=="/"&&(v.pathname=v.pathname==="/"?c:wn([c,v.pathname])),Aa(v)}function Um(l,u,c){if(!c||!f0(c))return{path:u};if(c.formMethod&&!S0(c.formMethod))return{path:u,error:dn(405,{method:c.formMethod})};let f=()=>({path:u,error:dn(400,{type:"invalid-body"})}),s=(c.formMethod||"get").toUpperCase(),h=Ry(u);if(c.body!==void 0){if(c.formEncType==="text/plain"){if(!Tn(s))return f();let M=typeof c.body=="string"?c.body:c.body instanceof FormData||c.body instanceof URLSearchParams?Array.from(c.body.entries()).reduce((S,[D,N])=>`${S}${D}=${N} -`,""):String(c.body);return{path:u,submission:{formMethod:s,formAction:h,formEncType:c.formEncType,formData:void 0,json:void 0,text:M}}}else if(c.formEncType==="application/json"){if(!Tn(s))return f();try{let M=typeof c.body=="string"?JSON.parse(c.body):c.body;return{path:u,submission:{formMethod:s,formAction:h,formEncType:c.formEncType,formData:void 0,json:M,text:void 0}}}catch{return f()}}}Ne(typeof FormData=="function","FormData is not available in this environment");let y,v;if(c.formData)y=vo(c.formData),v=c.formData;else if(c.body instanceof FormData)y=vo(c.body),v=c.body;else if(c.body instanceof URLSearchParams)y=c.body,v=Ym(y);else if(c.body==null)y=new URLSearchParams,v=new FormData;else try{y=new URLSearchParams(c.body),v=Ym(y)}catch{return f()}let m={formMethod:s,formAction:h,formEncType:c&&c.formEncType||"application/x-www-form-urlencoded",formData:v,json:void 0,text:void 0};if(Tn(m.formMethod))return{path:u,submission:m};let b=_a(u);return l&&b.search&&Ao(b.search)&&y.append("index",""),b.search=`?${y}`,{path:Aa(b),submission:m}}function jm(l,u,c=!1){let f=l.findIndex(o=>o.route.id===u);return f>=0?l.slice(0,c?f+1:f):l}function Lm(l,u,c,f,o,s,h,y,v,m,b,M,S,D){let N=D?$t(D[1])?D[1].error:D[1].data:void 0,q=l.createURL(u.location),V=l.createURL(o),U=c;s&&u.errors?U=jm(c,Object.keys(u.errors)[0],!0):D&&$t(D[1])&&(U=jm(c,D[0]));let Z=D?D[1].statusCode:void 0,K=Z&&Z>=400,le=U.filter((P,he)=>{let{route:oe}=P;if(oe.lazy)return!0;if(oe.loader==null)return!1;if(s)return yo(oe,u.loaderData,u.errors);if(o0(u.loaderData,u.matches[he],P))return!0;let $=u.matches[he],ie=P;return Hm(P,{currentUrl:q,currentParams:$.params,nextUrl:V,nextParams:ie.params,...f,actionResult:N,actionStatus:Z,defaultShouldRevalidate:K?!1:h||q.pathname+q.search===V.pathname+V.search||q.search!==V.search||s0($,ie)})}),x=[];return m.forEach((P,he)=>{if(s||!c.some(ut=>ut.route.id===P.routeId)||v.has(he))return;let oe=Ma(M,P.path,S);if(!oe){x.push({key:he,routeId:P.routeId,path:P.path,matches:null,match:null,controller:null});return}let $=u.fetchers.get(he),ie=$u(oe,P.path),He=!1;b.has(he)?He=!1:y.has(he)?(y.delete(he),He=!0):$&&$.state!=="idle"&&$.data===void 0?He=h:He=Hm(ie,{currentUrl:q,currentParams:u.matches[u.matches.length-1].params,nextUrl:V,nextParams:c[c.length-1].params,...f,actionResult:N,actionStatus:Z,defaultShouldRevalidate:K?!1:h}),He&&x.push({key:he,routeId:P.routeId,path:P.path,matches:oe,match:ie,controller:new AbortController})}),[le,x]}function yo(l,u,c){if(l.lazy)return!0;if(!l.loader)return!1;let f=u!=null&&u[l.id]!==void 0,o=c!=null&&c[l.id]!==void 0;return!f&&o?!1:typeof l.loader=="function"&&l.loader.hydrate===!0?!0:!f&&!o}function o0(l,u,c){let f=!u||c.route.id!==u.route.id,o=!l.hasOwnProperty(c.route.id);return f||o}function s0(l,u){let c=l.route.path;return l.pathname!==u.pathname||c!=null&&c.endsWith("*")&&l.params["*"]!==u.params["*"]}function Hm(l,u){if(l.route.shouldRevalidate){let c=l.route.shouldRevalidate(u);if(typeof c=="boolean")return c}return u.defaultShouldRevalidate}function Bm(l,u,c,f,o){let s;if(l){let v=f[l];Ne(v,`No route found to patch children into: routeId = ${l}`),v.children||(v.children=[]),s=v.children}else s=c;let h=u.filter(v=>!s.some(m=>Sy(v,m))),y=br(h,o,[l||"_","patch",String((s==null?void 0:s.length)||"0")],f);s.push(...y)}function Sy(l,u){return"id"in l&&"id"in u&&l.id===u.id?!0:l.index===u.index&&l.path===u.path&&l.caseSensitive===u.caseSensitive?(!l.children||l.children.length===0)&&(!u.children||u.children.length===0)?!0:l.children.every((c,f)=>{var o;return(o=u.children)==null?void 0:o.some(s=>Sy(c,s))}):!1}async function d0(l,u,c){if(!l.lazy)return;let f=await l.lazy();if(!l.lazy)return;let o=c[l.id];Ne(o,"No route found in manifest");let s={};for(let h in f){let v=o[h]!==void 0&&h!=="hasErrorBoundary";bt(!v,`Route "${o.id}" has a static property "${h}" defined but its lazy function is also returning a value for this property. The lazy route property "${h}" will be ignored.`),!v&&!jp.has(h)&&(s[h]=f[h])}Object.assign(o,s),Object.assign(o,{...u(o),lazy:void 0})}async function h0({matches:l}){let u=l.filter(f=>f.shouldLoad);return(await Promise.all(u.map(f=>f.resolve()))).reduce((f,o,s)=>Object.assign(f,{[u[s].route.id]:o}),{})}async function m0(l,u,c,f,o,s,h,y,v,m){let b=s.map(D=>D.route.lazy?d0(D.route,v,y):void 0),M=s.map((D,N)=>{let q=b[N],V=o.some(Z=>Z.route.id===D.route.id);return{...D,shouldLoad:V,resolve:async Z=>(Z&&f.method==="GET"&&(D.route.lazy||D.route.loader)&&(V=!0),V?y0(u,f,D,q,Z,m):Promise.resolve({type:"data",result:void 0}))}}),S=await l({matches:M,request:f,params:s[0].params,fetcherKey:h,context:m});try{await Promise.all(b)}catch{}return S}async function y0(l,u,c,f,o,s){let h,y,v=m=>{let b,M=new Promise((N,q)=>b=q);y=()=>b(),u.signal.addEventListener("abort",y);let S=N=>typeof m!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${l}" [routeId: ${c.route.id}]`)):m({request:u,params:c.params,context:s},...N!==void 0?[N]:[]),D=(async()=>{try{return{type:"data",result:await(o?o(q=>S(q)):S())}}catch(N){return{type:"error",result:N}}})();return Promise.race([D,M])};try{let m=c.route[l];if(f)if(m){let b,[M]=await Promise.all([v(m).catch(S=>{b=S}),f]);if(b!==void 0)throw b;h=M}else if(await f,m=c.route[l],m)h=await v(m);else if(l==="action"){let b=new URL(u.url),M=b.pathname+b.search;throw dn(405,{method:u.method,pathname:M,routeId:c.route.id})}else return{type:"data",result:void 0};else if(m)h=await v(m);else{let b=new URL(u.url),M=b.pathname+b.search;throw dn(404,{pathname:M})}}catch(m){return{type:"error",result:m}}finally{y&&u.signal.removeEventListener("abort",y)}return h}async function v0(l){var f,o,s,h;let{result:u,type:c}=l;if(Ty(u)){let y;try{let v=u.headers.get("Content-Type");v&&/\bapplication\/json\b/.test(v)?u.body==null?y=null:y=await u.json():y=await u.text()}catch(v){return{type:"error",error:v}}return c==="error"?{type:"error",error:new Rr(u.status,u.statusText,y),statusCode:u.status,headers:u.headers}:{type:"data",data:y,statusCode:u.status,headers:u.headers}}if(c==="error"){if(Zm(u)){if(u.data instanceof Error)return{type:"error",error:u.data,statusCode:(f=u.init)==null?void 0:f.status};u=new Rr(((o=u.init)==null?void 0:o.status)||500,void 0,u.data)}return{type:"error",error:u,statusCode:_r(u)?u.status:void 0}}return Zm(u)?{type:"data",data:u.data,statusCode:(s=u.init)==null?void 0:s.status,headers:(h=u.init)!=null&&h.headers?new Headers(u.init.headers):void 0}:{type:"data",data:u}}function g0(l,u,c,f,o){let s=l.headers.get("Location");if(Ne(s,"Redirects returned/thrown from loaders/actions must have a Location header"),!Mo.test(s)){let h=f.slice(0,f.findIndex(y=>y.route.id===c)+1);s=mo(new URL(u.url),h,o,s),l.headers.set("Location",s)}return l}function qm(l,u,c){if(Mo.test(l)){let f=l,o=f.startsWith("//")?new URL(u.protocol+f):new URL(f),s=Jt(o.pathname,c)!=null;if(o.origin===u.origin&&s)return o.pathname+o.search+o.hash}return l}function Gl(l,u,c,f){let o=l.createURL(Ry(u)).toString(),s={signal:c};if(f&&Tn(f.formMethod)){let{formMethod:h,formEncType:y}=f;s.method=h.toUpperCase(),y==="application/json"?(s.headers=new Headers({"Content-Type":y}),s.body=JSON.stringify(f.json)):y==="text/plain"?s.body=f.text:y==="application/x-www-form-urlencoded"&&f.formData?s.body=vo(f.formData):s.body=f.formData}return new Request(o,s)}function vo(l){let u=new URLSearchParams;for(let[c,f]of l.entries())u.append(c,typeof f=="string"?f:f.name);return u}function Ym(l){let u=new FormData;for(let[c,f]of l.entries())u.append(c,f);return u}function p0(l,u,c,f=!1,o=!1){let s={},h=null,y,v=!1,m={},b=c&&$t(c[1])?c[1].error:void 0;return l.forEach(M=>{if(!(M.route.id in u))return;let S=M.route.id,D=u[S];if(Ne(!ul(D),"Cannot handle redirect results in processLoaderData"),$t(D)){let N=D.error;if(b!==void 0&&(N=b,b=void 0),h=h||{},o)h[S]=N;else{let q=nl(l,S);h[q.route.id]==null&&(h[q.route.id]=N)}f||(s[S]=by),v||(v=!0,y=_r(D.error)?D.error.status:500),D.headers&&(m[S]=D.headers)}else s[S]=D.data,D.statusCode&&D.statusCode!==200&&!v&&(y=D.statusCode),D.headers&&(m[S]=D.headers)}),b!==void 0&&c&&(h={[c[0]]:b},s[c[0]]=void 0),{loaderData:s,errors:h,statusCode:y||200,loaderHeaders:m}}function Gm(l,u,c,f,o,s){let{loaderData:h,errors:y}=p0(u,c,f);return o.forEach(v=>{let{key:m,match:b,controller:M}=v,S=s[m];if(Ne(S,"Did not find corresponding fetcher result"),!(M&&M.signal.aborted))if($t(S)){let D=nl(l.matches,b==null?void 0:b.route.id);y&&y[D.route.id]||(y={...y,[D.route.id]:S.error}),l.fetchers.delete(m)}else if(ul(S))Ne(!1,"Unhandled fetcher revalidation redirect");else{let D=Da(S.data);l.fetchers.set(m,D)}}),{loaderData:h,errors:y}}function Xm(l,u,c,f){let o=Object.entries(u).filter(([,s])=>s!==by).reduce((s,[h,y])=>(s[h]=y,s),{});for(let s of c){let h=s.route.id;if(!u.hasOwnProperty(h)&&l.hasOwnProperty(h)&&s.route.loader&&(o[h]=l[h]),f&&f.hasOwnProperty(h))break}return o}function Vm(l){return l?$t(l[1])?{actionData:{}}:{actionData:{[l[0]]:l[1].data}}:{}}function nl(l,u){return(u?l.slice(0,l.findIndex(f=>f.route.id===u)+1):[...l]).reverse().find(f=>f.route.hasErrorBoundary===!0)||l[0]}function Qm(l){let u=l.length===1?l[0]:l.find(c=>c.index||!c.path||c.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:u}],route:u}}function dn(l,{pathname:u,routeId:c,method:f,type:o,message:s}={}){let h="Unknown Server Error",y="Unknown @remix-run/router error";return l===400?(h="Bad Request",f&&u&&c?y=`You made a ${f} request to "${u}" but did not provide a \`loader\` for route "${c}", so there is no way to handle the request.`:o==="invalid-body"&&(y="Unable to encode submission body")):l===403?(h="Forbidden",y=`Route "${c}" does not match URL "${u}"`):l===404?(h="Not Found",y=`No route matches URL "${u}"`):l===405&&(h="Method Not Allowed",f&&u&&c?y=`You made a ${f.toUpperCase()} request to "${u}" but did not provide an \`action\` for route "${c}", so there is no way to handle the request.`:f&&(y=`Invalid request method "${f.toUpperCase()}"`)),new Rr(l||500,h,new Error(y),!0)}function dr(l){let u=Object.entries(l);for(let c=u.length-1;c>=0;c--){let[f,o]=u[c];if(ul(o))return{key:f,result:o}}}function Ry(l){let u=typeof l=="string"?_a(l):l;return Aa({...u,hash:""})}function E0(l,u){return l.pathname!==u.pathname||l.search!==u.search?!1:l.hash===""?u.hash!=="":l.hash===u.hash?!0:u.hash!==""}function b0(l){return Ty(l.result)&&l0.has(l.result.status)}function $t(l){return l.type==="error"}function ul(l){return(l&&l.type)==="redirect"}function Zm(l){return typeof l=="object"&&l!=null&&"type"in l&&"data"in l&&"init"in l&&l.type==="DataWithResponseInit"}function Ty(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.headers=="object"&&typeof l.body<"u"}function S0(l){return a0.has(l.toUpperCase())}function Tn(l){return t0.has(l.toUpperCase())}function Ao(l){return new URLSearchParams(l).getAll("index").some(u=>u==="")}function $u(l,u){let c=typeof u=="string"?_a(u).search:u.search;if(l[l.length-1].route.index&&Ao(c||""))return l[l.length-1];let f=gy(l);return f[f.length-1]}function Km(l){let{formMethod:u,formAction:c,formEncType:f,text:o,formData:s,json:h}=l;if(!(!u||!c||!f)){if(o!=null)return{formMethod:u,formAction:c,formEncType:f,formData:void 0,json:void 0,text:o};if(s!=null)return{formMethod:u,formAction:c,formEncType:f,formData:s,json:void 0,text:void 0};if(h!==void 0)return{formMethod:u,formAction:c,formEncType:f,formData:void 0,json:h,text:void 0}}}function If(l,u){return u?{state:"loading",location:l,formMethod:u.formMethod,formAction:u.formAction,formEncType:u.formEncType,formData:u.formData,json:u.json,text:u.text}:{state:"loading",location:l,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function R0(l,u){return{state:"submitting",location:l,formMethod:u.formMethod,formAction:u.formAction,formEncType:u.formEncType,formData:u.formData,json:u.json,text:u.text}}function Zu(l,u){return l?{state:"loading",formMethod:l.formMethod,formAction:l.formAction,formEncType:l.formEncType,formData:l.formData,json:l.json,text:l.text,data:u}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:u}}function T0(l,u){return{state:"submitting",formMethod:l.formMethod,formAction:l.formAction,formEncType:l.formEncType,formData:l.formData,json:l.json,text:l.text,data:u?u.data:void 0}}function Da(l){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:l}}function x0(l,u){try{let c=l.sessionStorage.getItem(Ey);if(c){let f=JSON.parse(c);for(let[o,s]of Object.entries(f||{}))s&&Array.isArray(s)&&u.set(o,new Set(s||[]))}}catch{}}function O0(l,u){if(u.size>0){let c={};for(let[f,o]of u)c[f]=[...o];try{l.sessionStorage.setItem(Ey,JSON.stringify(c))}catch(f){bt(!1,`Failed to save applied view transitions in sessionStorage (${f}).`)}}}function D0(){let l,u,c=new Promise((f,o)=>{l=async s=>{f(s);try{await c}catch{}},u=async s=>{o(s);try{await c}catch{}}});return{promise:c,resolve:l,reject:u}}var rl=p.createContext(null);rl.displayName="DataRouter";var Pu=p.createContext(null);Pu.displayName="DataRouterState";var _o=p.createContext({isTransitioning:!1});_o.displayName="ViewTransition";var xy=p.createContext(new Map);xy.displayName="Fetchers";var C0=p.createContext(null);C0.displayName="Await";var Nn=p.createContext(null);Nn.displayName="Navigation";var wr=p.createContext(null);wr.displayName="Location";var xn=p.createContext({outlet:null,matches:[],isDataRoute:!1});xn.displayName="Route";var wo=p.createContext(null);wo.displayName="RouteError";function M0(l,{relative:u}={}){Ne(Iu(),"useHref() may be used only in the context of a <Router> component.");let{basename:c,navigator:f}=p.useContext(Nn),{hash:o,pathname:s,search:h}=ei(l,{relative:u}),y=s;return c!=="/"&&(y=s==="/"?c:wn([c,s])),f.createHref({pathname:y,search:h,hash:o})}function Iu(){return p.useContext(wr)!=null}function ta(){return Ne(Iu(),"useLocation() may be used only in the context of a <Router> component."),p.useContext(wr).location}var Oy="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Dy(l){p.useContext(Nn).static||p.useLayoutEffect(l)}function Cy(){let{isDataRoute:l}=p.useContext(xn);return l?X0():A0()}function A0(){Ne(Iu(),"useNavigate() may be used only in the context of a <Router> component.");let l=p.useContext(rl),{basename:u,navigator:c}=p.useContext(Nn),{matches:f}=p.useContext(xn),{pathname:o}=ta(),s=JSON.stringify(Do(f)),h=p.useRef(!1);return Dy(()=>{h.current=!0}),p.useCallback((v,m={})=>{if(bt(h.current,Oy),!h.current)return;if(typeof v=="number"){c.go(v);return}let b=Co(v,JSON.parse(s),o,m.relative==="path");l==null&&u!=="/"&&(b.pathname=b.pathname==="/"?u:wn([u,b.pathname])),(m.replace?c.replace:c.push)(b,m.state,m)},[u,c,s,o,l])}var _0=p.createContext(null);function w0(l){let u=p.useContext(xn).outlet;return u&&p.createElement(_0.Provider,{value:l},u)}function Vb(){let{matches:l}=p.useContext(xn),u=l[l.length-1];return u?u.params:{}}function ei(l,{relative:u}={}){let{matches:c}=p.useContext(xn),{pathname:f}=ta(),o=JSON.stringify(Do(c));return p.useMemo(()=>Co(l,JSON.parse(o),f,u==="path"),[l,o,f,u])}function N0(l,u,c,f){Ne(Iu(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=p.useContext(Nn),{matches:s}=p.useContext(xn),h=s[s.length-1],y=h?h.params:{},v=h?h.pathname:"/",m=h?h.pathnameBase:"/",b=h&&h.route;{let U=b&&b.path||"";_y(v,!b||U.endsWith("*")||U.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${v}" (under <Route path="${U}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. - -Please change the parent <Route path="${U}"> to <Route path="${U==="/"?"*":`${U}/*`}">.`)}let M=ta(),S;S=M;let D=S.pathname||"/",N=D;if(m!=="/"){let U=m.replace(/^\//,"").split("/");N="/"+D.replace(/^\//,"").split("/").slice(U.length).join("/")}let q=Ma(l,{pathname:N});return bt(b||q!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),bt(q==null||q[q.length-1].route.element!==void 0||q[q.length-1].route.Component!==void 0||q[q.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),H0(q&&q.map(U=>Object.assign({},U,{params:Object.assign({},y,U.params),pathname:wn([m,o.encodeLocation?o.encodeLocation(U.pathname).pathname:U.pathname]),pathnameBase:U.pathnameBase==="/"?m:wn([m,o.encodeLocation?o.encodeLocation(U.pathnameBase).pathname:U.pathnameBase])})),s,c,f)}function z0(){let l=Y0(),u=_r(l)?`${l.status} ${l.statusText}`:l instanceof Error?l.message:JSON.stringify(l),c=l instanceof Error?l.stack:null,f="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:f},s={padding:"2px 4px",backgroundColor:f},h=null;return console.error("Error handled by React Router default ErrorBoundary:",l),h=p.createElement(p.Fragment,null,p.createElement("p",null,"💿 Hey developer 👋"),p.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",p.createElement("code",{style:s},"ErrorBoundary")," or"," ",p.createElement("code",{style:s},"errorElement")," prop on your route.")),p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},u),c?p.createElement("pre",{style:o},c):null,h)}var U0=p.createElement(z0,null),j0=class extends p.Component{constructor(l){super(l),this.state={location:l.location,revalidation:l.revalidation,error:l.error}}static getDerivedStateFromError(l){return{error:l}}static getDerivedStateFromProps(l,u){return u.location!==l.location||u.revalidation!=="idle"&&l.revalidation==="idle"?{error:l.error,location:l.location,revalidation:l.revalidation}:{error:l.error!==void 0?l.error:u.error,location:u.location,revalidation:l.revalidation||u.revalidation}}componentDidCatch(l,u){console.error("React Router caught the following error during render",l,u)}render(){return this.state.error!==void 0?p.createElement(xn.Provider,{value:this.props.routeContext},p.createElement(wo.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function L0({routeContext:l,match:u,children:c}){let f=p.useContext(rl);return f&&f.static&&f.staticContext&&(u.route.errorElement||u.route.ErrorBoundary)&&(f.staticContext._deepestRenderedBoundaryId=u.route.id),p.createElement(xn.Provider,{value:l},c)}function H0(l,u=[],c=null,f=null){if(l==null){if(!c)return null;if(c.errors)l=c.matches;else if(u.length===0&&!c.initialized&&c.matches.length>0)l=c.matches;else return null}let o=l,s=c==null?void 0:c.errors;if(s!=null){let v=o.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id])!==void 0);Ne(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),o=o.slice(0,Math.min(o.length,v+1))}let h=!1,y=-1;if(c)for(let v=0;v<o.length;v++){let m=o[v];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(y=v),m.route.id){let{loaderData:b,errors:M}=c,S=m.route.loader&&!b.hasOwnProperty(m.route.id)&&(!M||M[m.route.id]===void 0);if(m.route.lazy||S){h=!0,y>=0?o=o.slice(0,y+1):o=[o[0]];break}}}return o.reduceRight((v,m,b)=>{let M,S=!1,D=null,N=null;c&&(M=s&&m.route.id?s[m.route.id]:void 0,D=m.route.errorElement||U0,h&&(y<0&&b===0?(_y("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,N=null):y===b&&(S=!0,N=m.route.hydrateFallbackElement||null)));let q=u.concat(o.slice(0,b+1)),V=()=>{let U;return M?U=D:S?U=N:m.route.Component?U=p.createElement(m.route.Component,null):m.route.element?U=m.route.element:U=v,p.createElement(L0,{match:m,routeContext:{outlet:v,matches:q,isDataRoute:c!=null},children:U})};return c&&(m.route.ErrorBoundary||m.route.errorElement||b===0)?p.createElement(j0,{location:c.location,revalidation:c.revalidation,component:D,error:M,children:V(),routeContext:{outlet:null,matches:q,isDataRoute:!0}}):V()},null)}function No(l){return`${l} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function My(l){let u=p.useContext(rl);return Ne(u,No(l)),u}function Ay(l){let u=p.useContext(Pu);return Ne(u,No(l)),u}function B0(l){let u=p.useContext(xn);return Ne(u,No(l)),u}function zo(l){let u=B0(l),c=u.matches[u.matches.length-1];return Ne(c.route.id,`${l} can only be used on routes that contain a unique "id"`),c.route.id}function q0(){return zo("useRouteId")}function Y0(){var f;let l=p.useContext(wo),u=Ay("useRouteError"),c=zo("useRouteError");return l!==void 0?l:(f=u.errors)==null?void 0:f[c]}var G0=0;function Qb(l){let{router:u,basename:c}=My("useBlocker"),f=Ay("useBlocker"),[o,s]=p.useState(""),h=p.useCallback(y=>{if(typeof l!="function")return!!l;if(c==="/")return l(y);let{currentLocation:v,nextLocation:m,historyAction:b}=y;return l({currentLocation:{...v,pathname:Jt(v.pathname,c)||v.pathname},nextLocation:{...m,pathname:Jt(m.pathname,c)||m.pathname},historyAction:b})},[c,l]);return p.useEffect(()=>{let y=String(++G0);return s(y),()=>u.deleteBlocker(y)},[u]),p.useEffect(()=>{o!==""&&u.getBlocker(o,h)},[u,o,h]),o&&f.blockers.has(o)?f.blockers.get(o):Zl}function X0(){let{router:l}=My("useNavigate"),u=zo("useNavigate"),c=p.useRef(!1);return Dy(()=>{c.current=!0}),p.useCallback(async(o,s={})=>{bt(c.current,Oy),c.current&&(typeof o=="number"?l.navigate(o):await l.navigate(o,{fromRouteId:u,...s}))},[l,u])}var km={};function _y(l,u,c){!u&&!km[l]&&(km[l]=!0,bt(!1,c))}var $m={};function Jm(l,u){!l&&!$m[u]&&($m[u]=!0,console.warn(u))}function V0(l){let u={hasErrorBoundary:l.hasErrorBoundary||l.ErrorBoundary!=null||l.errorElement!=null};return l.Component&&(l.element&&bt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(u,{element:p.createElement(l.Component),Component:void 0})),l.HydrateFallback&&(l.hydrateFallbackElement&&bt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(u,{hydrateFallbackElement:p.createElement(l.HydrateFallback),HydrateFallback:void 0})),l.ErrorBoundary&&(l.errorElement&&bt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(u,{errorElement:p.createElement(l.ErrorBoundary),ErrorBoundary:void 0})),u}var Q0=class{constructor(){this.status="pending",this.promise=new Promise((l,u)=>{this.resolve=c=>{this.status==="pending"&&(this.status="resolved",l(c))},this.reject=c=>{this.status==="pending"&&(this.status="rejected",u(c))}})}};function Z0({router:l,flushSync:u}){let[c,f]=p.useState(l.state),[o,s]=p.useState(),[h,y]=p.useState({isTransitioning:!1}),[v,m]=p.useState(),[b,M]=p.useState(),[S,D]=p.useState(),N=p.useRef(new Map),q=p.useCallback((K,{deletedFetchers:le,flushSync:x,viewTransitionOpts:P})=>{K.fetchers.forEach((oe,$)=>{oe.data!==void 0&&N.current.set($,oe.data)}),le.forEach(oe=>N.current.delete(oe)),Jm(x===!1||u!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let he=l.window!=null&&l.window.document!=null&&typeof l.window.document.startViewTransition=="function";if(Jm(P==null||he,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!P||!he){u&&x?u(()=>f(K)):p.startTransition(()=>f(K));return}if(u&&x){u(()=>{b&&(v&&v.resolve(),b.skipTransition()),y({isTransitioning:!0,flushSync:!0,currentLocation:P.currentLocation,nextLocation:P.nextLocation})});let oe=l.window.document.startViewTransition(()=>{u(()=>f(K))});oe.finished.finally(()=>{u(()=>{m(void 0),M(void 0),s(void 0),y({isTransitioning:!1})})}),u(()=>M(oe));return}b?(v&&v.resolve(),b.skipTransition(),D({state:K,currentLocation:P.currentLocation,nextLocation:P.nextLocation})):(s(K),y({isTransitioning:!0,flushSync:!1,currentLocation:P.currentLocation,nextLocation:P.nextLocation}))},[l.window,u,b,v]);p.useLayoutEffect(()=>l.subscribe(q),[l,q]),p.useEffect(()=>{h.isTransitioning&&!h.flushSync&&m(new Q0)},[h]),p.useEffect(()=>{if(v&&o&&l.window){let K=o,le=v.promise,x=l.window.document.startViewTransition(async()=>{p.startTransition(()=>f(K)),await le});x.finished.finally(()=>{m(void 0),M(void 0),s(void 0),y({isTransitioning:!1})}),M(x)}},[o,v,l.window]),p.useEffect(()=>{v&&o&&c.location.key===o.location.key&&v.resolve()},[v,b,c.location,o]),p.useEffect(()=>{!h.isTransitioning&&S&&(s(S.state),y({isTransitioning:!0,flushSync:!1,currentLocation:S.currentLocation,nextLocation:S.nextLocation}),D(void 0))},[h.isTransitioning,S]);let V=p.useMemo(()=>({createHref:l.createHref,encodeLocation:l.encodeLocation,go:K=>l.navigate(K),push:(K,le,x)=>l.navigate(K,{state:le,preventScrollReset:x==null?void 0:x.preventScrollReset}),replace:(K,le,x)=>l.navigate(K,{replace:!0,state:le,preventScrollReset:x==null?void 0:x.preventScrollReset})}),[l]),U=l.basename||"/",Z=p.useMemo(()=>({router:l,navigator:V,static:!1,basename:U}),[l,V,U]);return p.createElement(p.Fragment,null,p.createElement(rl.Provider,{value:Z},p.createElement(Pu.Provider,{value:c},p.createElement(xy.Provider,{value:N.current},p.createElement(_o.Provider,{value:h},p.createElement($0,{basename:U,location:c.location,navigationType:c.historyAction,navigator:V},p.createElement(K0,{routes:l.routes,future:l.future,state:c})))))),null)}var K0=p.memo(k0);function k0({routes:l,future:u,state:c}){return N0(l,void 0,c,u)}function Zb(l){return w0(l.context)}function $0({basename:l="/",children:u=null,location:c,navigationType:f="POP",navigator:o,static:s=!1}){Ne(!Iu(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=l.replace(/^\/*/,"/"),y=p.useMemo(()=>({basename:h,navigator:o,static:s,future:{}}),[h,o,s]);typeof c=="string"&&(c=_a(c));let{pathname:v="/",search:m="",hash:b="",state:M=null,key:S="default"}=c,D=p.useMemo(()=>{let N=Jt(v,h);return N==null?null:{location:{pathname:N,search:m,hash:b,state:M,key:S},navigationType:f}},[h,v,m,b,M,S,f]);return bt(D!=null,`<Router basename="${h}"> is not able to match the URL "${v}${m}${b}" because it does not start with the basename, so the <Router> won't render anything.`),D==null?null:p.createElement(Nn.Provider,{value:y},p.createElement(wr.Provider,{children:u,value:D}))}var pr="get",Er="application/x-www-form-urlencoded";function Nr(l){return l!=null&&typeof l.tagName=="string"}function J0(l){return Nr(l)&&l.tagName.toLowerCase()==="button"}function F0(l){return Nr(l)&&l.tagName.toLowerCase()==="form"}function W0(l){return Nr(l)&&l.tagName.toLowerCase()==="input"}function P0(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}function I0(l,u){return l.button===0&&(!u||u==="_self")&&!P0(l)}function go(l=""){return new URLSearchParams(typeof l=="string"||Array.isArray(l)||l instanceof URLSearchParams?l:Object.keys(l).reduce((u,c)=>{let f=l[c];return u.concat(Array.isArray(f)?f.map(o=>[c,o]):[[c,f]])},[]))}function e1(l,u){let c=go(l);return u&&u.forEach((f,o)=>{c.has(o)||u.getAll(o).forEach(s=>{c.append(o,s)})}),c}var hr=null;function t1(){if(hr===null)try{new FormData(document.createElement("form"),0),hr=!1}catch{hr=!0}return hr}var n1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function eo(l){return l!=null&&!n1.has(l)?(bt(!1,`"${l}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Er}"`),null):l}function a1(l,u){let c,f,o,s,h;if(F0(l)){let y=l.getAttribute("action");f=y?Jt(y,u):null,c=l.getAttribute("method")||pr,o=eo(l.getAttribute("enctype"))||Er,s=new FormData(l)}else if(J0(l)||W0(l)&&(l.type==="submit"||l.type==="image")){let y=l.form;if(y==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let v=l.getAttribute("formaction")||y.getAttribute("action");if(f=v?Jt(v,u):null,c=l.getAttribute("formmethod")||y.getAttribute("method")||pr,o=eo(l.getAttribute("formenctype"))||eo(y.getAttribute("enctype"))||Er,s=new FormData(y,l),!t1()){let{name:m,type:b,value:M}=l;if(b==="image"){let S=m?`${m}.`:"";s.append(`${S}x`,"0"),s.append(`${S}y`,"0")}else m&&s.append(m,M)}}else{if(Nr(l))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');c=pr,f=null,o=Er,h=l}return s&&o==="text/plain"&&(h=s,s=void 0),{action:f,method:c.toLowerCase(),encType:o,formData:s,body:h}}function Uo(l,u){if(l===!1||l===null||typeof l>"u")throw new Error(u)}async function l1(l,u){if(l.id in u)return u[l.id];try{let c=await import(l.module);return u[l.id]=c,c}catch(c){return console.error(`Error loading route module \`${l.module}\`, reloading page...`),console.error(c),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function u1(l){return l==null?!1:l.href==null?l.rel==="preload"&&typeof l.imageSrcSet=="string"&&typeof l.imageSizes=="string":typeof l.rel=="string"&&typeof l.href=="string"}async function i1(l,u,c){let f=await Promise.all(l.map(async o=>{let s=u.routes[o.route.id];if(s){let h=await l1(s,c);return h.links?h.links():[]}return[]}));return o1(f.flat(1).filter(u1).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Fm(l,u,c,f,o,s){let h=(v,m)=>c[m]?v.route.id!==c[m].route.id:!0,y=(v,m)=>{var b;return c[m].pathname!==v.pathname||((b=c[m].route.path)==null?void 0:b.endsWith("*"))&&c[m].params["*"]!==v.params["*"]};return s==="assets"?u.filter((v,m)=>h(v,m)||y(v,m)):s==="data"?u.filter((v,m)=>{var M;let b=f.routes[v.route.id];if(!b||!b.hasLoader)return!1;if(h(v,m)||y(v,m))return!0;if(v.route.shouldRevalidate){let S=v.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((M=c[0])==null?void 0:M.params)||{},nextUrl:new URL(l,window.origin),nextParams:v.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function r1(l,u){return c1(l.map(c=>{let f=u.routes[c.route.id];if(!f)return[];let o=[f.module];return f.imports&&(o=o.concat(f.imports)),o}).flat(1))}function c1(l){return[...new Set(l)]}function f1(l){let u={},c=Object.keys(l).sort();for(let f of c)u[f]=l[f];return u}function o1(l,u){let c=new Set;return new Set(u),l.reduce((f,o)=>{let s=JSON.stringify(f1(o));return c.has(s)||(c.add(s),f.push({key:s,link:o})),f},[])}function s1(l){let u=typeof l=="string"?new URL(l,typeof window>"u"?"server://singlefetch/":window.location.origin):l;return u.pathname==="/"?u.pathname="_root.data":u.pathname=`${u.pathname.replace(/\/$/,"")}.data`,u}function d1(){let l=p.useContext(rl);return Uo(l,"You must render this element inside a <DataRouterContext.Provider> element"),l}function h1(){let l=p.useContext(Pu);return Uo(l,"You must render this element inside a <DataRouterStateContext.Provider> element"),l}var jo=p.createContext(void 0);jo.displayName="FrameworkContext";function wy(){let l=p.useContext(jo);return Uo(l,"You must render this element inside a <HydratedRouter> element"),l}function m1(l,u){let c=p.useContext(jo),[f,o]=p.useState(!1),[s,h]=p.useState(!1),{onFocus:y,onBlur:v,onMouseEnter:m,onMouseLeave:b,onTouchStart:M}=u,S=p.useRef(null);p.useEffect(()=>{if(l==="render"&&h(!0),l==="viewport"){let q=U=>{U.forEach(Z=>{h(Z.isIntersecting)})},V=new IntersectionObserver(q,{threshold:.5});return S.current&&V.observe(S.current),()=>{V.disconnect()}}},[l]),p.useEffect(()=>{if(f){let q=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(q)}}},[f]);let D=()=>{o(!0)},N=()=>{o(!1),h(!1)};return c?l!=="intent"?[s,S,{}]:[s,S,{onFocus:Ku(y,D),onBlur:Ku(v,N),onMouseEnter:Ku(m,D),onMouseLeave:Ku(b,N),onTouchStart:Ku(M,D)}]:[!1,S,{}]}function Ku(l,u){return c=>{l&&l(c),c.defaultPrevented||u(c)}}function y1({page:l,...u}){let{router:c}=d1(),f=p.useMemo(()=>Ma(c.routes,l,c.basename),[c.routes,l,c.basename]);return f?p.createElement(g1,{page:l,matches:f,...u}):null}function v1(l){let{manifest:u,routeModules:c}=wy(),[f,o]=p.useState([]);return p.useEffect(()=>{let s=!1;return i1(l,u,c).then(h=>{s||o(h)}),()=>{s=!0}},[l,u,c]),f}function g1({page:l,matches:u,...c}){let f=ta(),{manifest:o,routeModules:s}=wy(),{loaderData:h,matches:y}=h1(),v=p.useMemo(()=>Fm(l,u,y,o,f,"data"),[l,u,y,o,f]),m=p.useMemo(()=>Fm(l,u,y,o,f,"assets"),[l,u,y,o,f]),b=p.useMemo(()=>{if(l===f.pathname+f.search+f.hash)return[];let D=new Set,N=!1;if(u.forEach(V=>{var Z;let U=o.routes[V.route.id];!U||!U.hasLoader||(!v.some(K=>K.route.id===V.route.id)&&V.route.id in h&&((Z=s[V.route.id])!=null&&Z.shouldRevalidate)||U.hasClientLoader?N=!0:D.add(V.route.id))}),D.size===0)return[];let q=s1(l);return N&&D.size>0&&q.searchParams.set("_routes",u.filter(V=>D.has(V.route.id)).map(V=>V.route.id).join(",")),[q.pathname+q.search]},[h,f,o,v,u,l,s]),M=p.useMemo(()=>r1(m,o),[m,o]),S=v1(m);return p.createElement(p.Fragment,null,b.map(D=>p.createElement("link",{key:D,rel:"prefetch",as:"fetch",href:D,...c})),M.map(D=>p.createElement("link",{key:D,rel:"modulepreload",href:D,...c})),S.map(({key:D,link:N})=>p.createElement("link",{key:D,...N})))}function p1(...l){return u=>{l.forEach(c=>{typeof c=="function"?c(u):c!=null&&(c.current=u)})}}var Ny=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ny&&(window.__reactRouterVersion="7.1.3")}catch{}function Kb(l,u){return c0({basename:u==null?void 0:u.basename,future:u==null?void 0:u.future,history:Np({window:u==null?void 0:u.window}),hydrationData:E1(),routes:l,mapRouteProperties:V0,dataStrategy:u==null?void 0:u.dataStrategy,patchRoutesOnNavigation:u==null?void 0:u.patchRoutesOnNavigation,window:u==null?void 0:u.window}).initialize()}function E1(){let l=window==null?void 0:window.__staticRouterHydrationData;return l&&l.errors&&(l={...l,errors:b1(l.errors)}),l}function b1(l){if(!l)return null;let u=Object.entries(l),c={};for(let[f,o]of u)if(o&&o.__type==="RouteErrorResponse")c[f]=new Rr(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let s=window[o.__subType];if(typeof s=="function")try{let h=new s(o.message);h.stack="",c[f]=h}catch{}}if(c[f]==null){let s=new Error(o.message);s.stack="",c[f]=s}}else c[f]=o;return c}var zy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tr=p.forwardRef(function({onClick:u,discover:c="render",prefetch:f="none",relative:o,reloadDocument:s,replace:h,state:y,target:v,to:m,preventScrollReset:b,viewTransition:M,...S},D){let{basename:N}=p.useContext(Nn),q=typeof m=="string"&&zy.test(m),V,U=!1;if(typeof m=="string"&&q&&(V=m,Ny))try{let $=new URL(window.location.href),ie=m.startsWith("//")?new URL($.protocol+m):new URL(m),He=Jt(ie.pathname,N);ie.origin===$.origin&&He!=null?m=He+ie.search+ie.hash:U=!0}catch{bt(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let Z=M0(m,{relative:o}),[K,le,x]=m1(f,S),P=x1(m,{replace:h,state:y,target:v,preventScrollReset:b,relative:o,viewTransition:M});function he($){u&&u($),$.defaultPrevented||P($)}let oe=p.createElement("a",{...S,...x,href:V||Z,onClick:U||s?u:he,ref:p1(D,le),target:v,"data-discover":!q&&c==="render"?"true":void 0});return K&&!q?p.createElement(p.Fragment,null,oe,p.createElement(y1,{page:Z})):oe});Tr.displayName="Link";var S1=p.forwardRef(function({"aria-current":u="page",caseSensitive:c=!1,className:f="",end:o=!1,style:s,to:h,viewTransition:y,children:v,...m},b){let M=ei(h,{relative:m.relative}),S=ta(),D=p.useContext(Pu),{navigator:N,basename:q}=p.useContext(Nn),V=D!=null&&A1(M)&&y===!0,U=N.encodeLocation?N.encodeLocation(M).pathname:M.pathname,Z=S.pathname,K=D&&D.navigation&&D.navigation.location?D.navigation.location.pathname:null;c||(Z=Z.toLowerCase(),K=K?K.toLowerCase():null,U=U.toLowerCase()),K&&q&&(K=Jt(K,q)||K);const le=U!=="/"&&U.endsWith("/")?U.length-1:U.length;let x=Z===U||!o&&Z.startsWith(U)&&Z.charAt(le)==="/",P=K!=null&&(K===U||!o&&K.startsWith(U)&&K.charAt(U.length)==="/"),he={isActive:x,isPending:P,isTransitioning:V},oe=x?u:void 0,$;typeof f=="function"?$=f(he):$=[f,x?"active":null,P?"pending":null,V?"transitioning":null].filter(Boolean).join(" ");let ie=typeof s=="function"?s(he):s;return p.createElement(Tr,{...m,"aria-current":oe,className:$,ref:b,style:ie,to:h,viewTransition:y},typeof v=="function"?v(he):v)});S1.displayName="NavLink";var R1=p.forwardRef(({discover:l="render",fetcherKey:u,navigate:c,reloadDocument:f,replace:o,state:s,method:h=pr,action:y,onSubmit:v,relative:m,preventScrollReset:b,viewTransition:M,...S},D)=>{let N=C1(),q=M1(y,{relative:m}),V=h.toLowerCase()==="get"?"get":"post",U=typeof y=="string"&&zy.test(y),Z=K=>{if(v&&v(K),K.defaultPrevented)return;K.preventDefault();let le=K.nativeEvent.submitter,x=(le==null?void 0:le.getAttribute("formmethod"))||h;N(le||K.currentTarget,{fetcherKey:u,method:x,navigate:c,replace:o,state:s,relative:m,preventScrollReset:b,viewTransition:M})};return p.createElement("form",{ref:D,method:V,action:q,onSubmit:f?v:Z,...S,"data-discover":!U&&l==="render"?"true":void 0})});R1.displayName="Form";function T1(l){return`${l} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Uy(l){let u=p.useContext(rl);return Ne(u,T1(l)),u}function x1(l,{target:u,replace:c,state:f,preventScrollReset:o,relative:s,viewTransition:h}={}){let y=Cy(),v=ta(),m=ei(l,{relative:s});return p.useCallback(b=>{if(I0(b,u)){b.preventDefault();let M=c!==void 0?c:Aa(v)===Aa(m);y(l,{replace:M,state:f,preventScrollReset:o,relative:s,viewTransition:h})}},[v,y,m,c,f,u,l,o,s,h])}function kb(l){bt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let u=p.useRef(go(l)),c=p.useRef(!1),f=ta(),o=p.useMemo(()=>e1(f.search,c.current?null:u.current),[f.search]),s=Cy(),h=p.useCallback((y,v)=>{const m=go(typeof y=="function"?y(o):y);c.current=!0,s("?"+m,v)},[s,o]);return[o,h]}var O1=0,D1=()=>`__${String(++O1)}__`;function C1(){let{router:l}=Uy("useSubmit"),{basename:u}=p.useContext(Nn),c=q0();return p.useCallback(async(f,o={})=>{let{action:s,method:h,encType:y,formData:v,body:m}=a1(f,u);if(o.navigate===!1){let b=o.fetcherKey||D1();await l.fetch(b,c,o.action||s,{preventScrollReset:o.preventScrollReset,formData:v,body:m,formMethod:o.method||h,formEncType:o.encType||y,flushSync:o.flushSync})}else await l.navigate(o.action||s,{preventScrollReset:o.preventScrollReset,formData:v,body:m,formMethod:o.method||h,formEncType:o.encType||y,replace:o.replace,state:o.state,fromRouteId:c,flushSync:o.flushSync,viewTransition:o.viewTransition})},[l,u,c])}function M1(l,{relative:u}={}){let{basename:c}=p.useContext(Nn),f=p.useContext(xn);Ne(f,"useFormAction must be used inside a RouteContext");let[o]=f.matches.slice(-1),s={...ei(l||".",{relative:u})},h=ta();if(l==null){s.search=h.search;let y=new URLSearchParams(s.search),v=y.getAll("index");if(v.some(b=>b==="")){y.delete("index"),v.filter(M=>M).forEach(M=>y.append("index",M));let b=y.toString();s.search=b?`?${b}`:""}}return(!l||l===".")&&o.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),c!=="/"&&(s.pathname=s.pathname==="/"?c:wn([c,s.pathname])),Aa(s)}function A1(l,u={}){let c=p.useContext(_o);Ne(c!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:f}=Uy("useViewTransitionState"),o=ei(l,{relative:u.relative});if(!c.isTransitioning)return!1;let s=Jt(c.currentLocation.pathname,f)||c.currentLocation.pathname,h=Jt(c.nextLocation.pathname,f)||c.nextLocation.pathname;return Sr(o.pathname,h)!=null||Sr(o.pathname,s)!=null}new TextEncoder;var jy=my();const Kl=Wu(jy);/** - * react-router v7.1.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function $b(l){return p.createElement(Z0,{flushSync:jy.flushSync,...l})}const _1=p.createContext({show:!1,toggle:()=>{}}),w1=l=>{const u=Bt.c(8),{children:c}=l,[f,o]=p.useState(!1);let s;u[0]!==f?(s=()=>{o(!f)},u[0]=f,u[1]=s):s=u[1];const h=s;let y;u[2]!==f||u[3]!==h?(y={show:f,toggle:h},u[2]=f,u[3]=h,u[4]=y):y=u[4];let v;return u[5]!==c||u[6]!==y?(v=j.jsx(_1.Provider,{value:y,children:c}),u[5]=c,u[6]=y,u[7]=v):v=u[7],v};async function N1(){return await(await fetch("/api/user/")).json()}const po={name:"",email:"",permissions:{admin:!1,active:!1},id:"",nrens:[],oidc_sub:"",role:""},Ly=p.createContext({user:po,logout:()=>{},setUser:()=>{}}),z1=l=>{const u=Bt.c(8),{children:c}=l,[f,o]=p.useState(po);let s;u[0]===Symbol.for("react.memo_cache_sentinel")?(s=async function(){await fetch("/logout"),o(po)},u[0]=s):s=u[0];const h=s;let y,v;u[1]===Symbol.for("react.memo_cache_sentinel")?(y=()=>{N1().then(M=>{o(M)})},v=[],u[1]=y,u[2]=v):(y=u[1],v=u[2]),p.useEffect(y,v);let m;u[3]!==f?(m={user:f,logout:h,setUser:o},u[3]=f,u[4]=m):m=u[4];let b;return u[5]!==c||u[6]!==m?(b=j.jsx(Ly.Provider,{value:m,children:c}),u[5]=c,u[6]=m,u[7]=b):b=u[7],b},U1=p.createContext({filterSelection:{selectedYears:[],selectedNrens:[]},setFilterSelection:()=>{}}),j1=l=>{const u=Bt.c(6),{children:c}=l;let f;u[0]===Symbol.for("react.memo_cache_sentinel")?(f={selectedYears:[],selectedNrens:[]},u[0]=f):f=u[0];const[o,s]=p.useState(f);let h;u[1]!==o?(h={filterSelection:o,setFilterSelection:s},u[1]=o,u[2]=h):h=u[2];let y;return u[3]!==c||u[4]!==h?(y=j.jsx(U1.Provider,{value:h,children:c}),u[3]=c,u[4]=h,u[5]=y):y=u[5],y},L1=p.createContext(null),H1=l=>{const u=Bt.c(2),{children:c}=l,f=p.useRef(null);let o;return u[0]!==c?(o=j.jsx(L1.Provider,{value:f,children:c}),u[0]=c,u[1]=o):o=u[1],o},B1=p.createContext({preview:!1,setPreview:()=>{}}),q1=l=>{const u=Bt.c(5),{children:c}=l,[f,o]=p.useState(!1);let s;u[0]!==f?(s={preview:f,setPreview:o},u[0]=f,u[1]=s):s=u[1];let h;return u[2]!==c||u[3]!==s?(h=j.jsx(B1.Provider,{value:s,children:c}),u[2]=c,u[3]=s,u[4]=h):h=u[4],h};async function Y1(){try{return await(await fetch("/api/nren/list")).json()}catch{return[]}}const G1=p.createContext({nrens:[],setNrens:()=>{}}),X1=l=>{const u=Bt.c(8),{children:c}=l;let f;u[0]===Symbol.for("react.memo_cache_sentinel")?(f=[],u[0]=f):f=u[0];const[o,s]=p.useState(f);let h,y;u[1]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{Y1().then(b=>s(b))},y=[],u[1]=h,u[2]=y):(h=u[1],y=u[2]),p.useEffect(h,y);let v;u[3]!==o?(v={nrens:o,setNrens:s},u[3]=o,u[4]=v):v=u[4];let m;return u[5]!==c||u[6]!==v?(m=j.jsx(G1.Provider,{value:v,children:c}),u[5]=c,u[6]=v,u[7]=m):m=u[7],m},to={TRACK_EVENT:"trackEvent",TRACK_LINK:"trackLink",TRACK_VIEW:"trackPageView"};class V1{constructor(u){vm(this,"mutationObserver");if(!u.urlBase)throw new Error("Matomo urlBase is required.");if(!u.siteId)throw new Error("Matomo siteId is required.");this.initialize(u)}initialize({urlBase:u,siteId:c,userId:f,trackerUrl:o,srcUrl:s,disabled:h,heartBeat:y,requireConsent:v=!1,configurations:m={}}){const b=u[u.length-1]!=="/"?`${u}/`:u;if(typeof window>"u"||(window._paq=window._paq||[],window._paq.length!==0)||h)return;v&&this.pushInstruction("requireConsent"),this.pushInstruction("setTrackerUrl",o??`${b}matomo.php`),this.pushInstruction("setSiteId",c),f&&this.pushInstruction("setUserId",f),Object.entries(m).forEach(([N,q])=>{q instanceof Array?this.pushInstruction(N,...q):this.pushInstruction(N,q)}),(!y||y&&y.active)&&this.enableHeartBeatTimer((y&&y.seconds)??15);const M=document,S=M.createElement("script"),D=M.getElementsByTagName("script")[0];S.type="text/javascript",S.async=!0,S.defer=!0,S.src=s||`${b}matomo.js`,D&&D.parentNode&&D.parentNode.insertBefore(S,D)}enableHeartBeatTimer(u){this.pushInstruction("enableHeartBeatTimer",u)}trackEventsForElements(u){u.length&&u.forEach(c=>{c.addEventListener("click",()=>{const{matomoCategory:f,matomoAction:o,matomoName:s,matomoValue:h}=c.dataset;if(f&&o)this.trackEvent({category:f,action:o,name:s,value:Number(h)});else throw new Error("Error: data-matomo-category and data-matomo-action are required.")})})}trackEvents(){const u='[data-matomo-event="click"]';let c=!1;if(this.mutationObserver||(c=!0,this.mutationObserver=new MutationObserver(f=>{f.forEach(o=>{o.addedNodes.forEach(s=>{if(!(s instanceof HTMLElement))return;s.matches(u)&&this.trackEventsForElements([s]);const h=Array.from(s.querySelectorAll(u));this.trackEventsForElements(h)})})})),this.mutationObserver.observe(document,{childList:!0,subtree:!0}),c){const f=Array.from(document.querySelectorAll(u));this.trackEventsForElements(f)}}stopObserving(){this.mutationObserver&&this.mutationObserver.disconnect()}trackEvent({category:u,action:c,name:f,value:o,...s}){if(u&&c)this.track({data:[to.TRACK_EVENT,u,c,f,o],...s});else throw new Error("Error: category and action are required.")}giveConsent(){this.pushInstruction("setConsentGiven")}trackLink({href:u,linkType:c="link"}){this.pushInstruction(to.TRACK_LINK,u,c)}trackPageView(u){this.track({data:[to.TRACK_VIEW],...u})}track({data:u=[],documentTitle:c=window.document.title,href:f,customDimensions:o=!1}){u.length&&(o&&Array.isArray(o)&&o.length&&o.map(s=>this.pushInstruction("setCustomDimension",s.id,s.value)),this.pushInstruction("setCustomUrl",f??window.location.href),this.pushInstruction("setDocumentTitle",c),this.pushInstruction(...u))}pushInstruction(u,...c){return typeof window<"u"&&window._paq.push([u,...c]),this}}function Q1(l){return window.location.hostname==="localhost"&&(console.log("Matomo tracking disabled in development mode."),l.disabled=!0),new V1(l)}const Lo=p.createContext({consent:null,setConsent:()=>{}}),Z1=l=>{const u=Bt.c(7),{children:c}=l,f=K1;let o;u[0]===Symbol.for("react.memo_cache_sentinel")?(o=f(),u[0]=o):o=u[0];const[s,h]=p.useState(o);let y;u[1]===Symbol.for("react.memo_cache_sentinel")?(y=b=>h(b),u[1]=y):y=u[1];let v;u[2]!==s?(v={setConsent:y,consent:s},u[2]=s,u[3]=v):v=u[3];let m;return u[4]!==c||u[5]!==v?(m=j.jsx(Lo.Provider,{value:v,children:c}),u[4]=c,u[5]=v,u[6]=m):m=u[6],m};function K1(){const l=localStorage.getItem("matomo_consent");if(l){const u=JSON.parse(l);if(new Date(u.expiry)>new Date)return u.consent}return null}const Hy=p.createContext(null),k1=function(l){const u=Bt.c(5),{children:c}=l,o=!p.useContext(Lo).consent;let s;u[0]!==o?(s=Q1({urlBase:"https://prod-swd-webanalytics01.geant.org/",siteId:1,disabled:o}),u[0]=o,u[1]=s):s=u[1];const h=s;let y;return u[2]!==c||u[3]!==h?(y=j.jsx(Hy.Provider,{value:h,children:c}),u[2]=c,u[3]=h,u[4]=y):y=u[4],y},$1=()=>{const l=JSON.parse(localStorage.getItem("config")??"{}"),u={};for(const c in l){const f=l[c];f.expireTime&&f.expireTime<Date.now()||f&&(u[c]=f)}return u},no=l=>{localStorage.setItem("config",JSON.stringify(l))},J1=p.createContext({getConfig:()=>{},setConfig:()=>{}}),F1=l=>{const u=Bt.c(12),{children:c}=l;let f;u[0]===Symbol.for("react.memo_cache_sentinel")?(f=$1(),u[0]=f):f=u[0];const[o,s]=p.useState(f);let h;u[1]!==o?(h=(S,D,N)=>{var Z;if(!S)throw new Error("Valid config key must be provided");if(D==null){const K={...o};delete K[S],s(K),no(K);return}const q=JSON.stringify(D),V=JSON.stringify((Z=o[S])==null?void 0:Z.value);if(q===V)return;const U=N?N.getTime():null;if(U&&U<Date.now())throw new Error("Timeout must be in the future");U?(s({...o,[S]:{value:D,expireTime:U}}),no({...o,[S]:{value:D,expireTime:U}})):(s({...o,[S]:{value:D}}),no({...o,[S]:{value:D}}))},u[1]=o,u[2]=h):h=u[2];const y=h;let v;u[3]!==o||u[4]!==y?(v=S=>{const D=o[S];if(D!=null&&D.expireTime&&D.expireTime<Date.now()){y(S);return}if(D!=null)return D.value},u[3]=o,u[4]=y,u[5]=v):v=u[5];const m=v;let b;u[6]!==m||u[7]!==y?(b={getConfig:m,setConfig:y},u[6]=m,u[7]=y,u[8]=b):b=u[8];let M;return u[9]!==c||u[10]!==b?(M=j.jsx(J1.Provider,{value:b,children:c}),u[9]=c,u[10]=b,u[11]=M):M=u[11],M};function Jb(l){const u=Bt.c(2),{children:c}=l;let f;return u[0]!==c?(f=j.jsx(F1,{children:j.jsx(Z1,{children:j.jsx(k1,{children:j.jsx(w1,{children:j.jsx(z1,{children:j.jsx(j1,{children:j.jsx(H1,{children:j.jsx(q1,{children:j.jsx(X1,{children:c})})})})})})})})}),u[0]=c,u[1]=f):f=u[1],f}var ao={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/var Wm;function W1(){return Wm||(Wm=1,function(l){(function(){var u={}.hasOwnProperty;function c(){for(var s="",h=0;h<arguments.length;h++){var y=arguments[h];y&&(s=o(s,f(y)))}return s}function f(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return c.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var h="";for(var y in s)u.call(s,y)&&s[y]&&(h=o(h,y));return h}function o(s,h){return h?s?s+" "+h:s+h:s}l.exports?(c.default=c,l.exports=c):window.classNames=c})()}(ao)),ao.exports}var P1=W1();const Ge=Wu(P1);function I1(l,u){if(l==null)return{};var c={};for(var f in l)if({}.hasOwnProperty.call(l,f)){if(u.includes(f))continue;c[f]=l[f]}return c}function Eo(l,u){return Eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},Eo(l,u)}function eE(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,Eo(l,u)}const tE=["xxl","xl","lg","md","sm","xs"],nE="xs",zr=p.createContext({prefixes:{},breakpoints:tE,minBreakpoint:nE});function ct(l,u){const{prefixes:c}=p.useContext(zr);return l||c[u]||u}function By(){const{breakpoints:l}=p.useContext(zr);return l}function qy(){const{minBreakpoint:l}=p.useContext(zr);return l}function aE(){const{dir:l}=p.useContext(zr);return l==="rtl"}function Ur(l){return l&&l.ownerDocument||document}function lE(l){var u=Ur(l);return u&&u.defaultView||window}function uE(l,u){return lE(l).getComputedStyle(l,u)}var iE=/([A-Z])/g;function rE(l){return l.replace(iE,"-$1").toLowerCase()}var cE=/^ms-/;function mr(l){return rE(l).replace(cE,"-ms-")}var fE=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function oE(l){return!!(l&&fE.test(l))}function il(l,u){var c="",f="";if(typeof u=="string")return l.style.getPropertyValue(mr(u))||uE(l).getPropertyValue(mr(u));Object.keys(u).forEach(function(o){var s=u[o];!s&&s!==0?l.style.removeProperty(mr(o)):oE(o)?f+=o+"("+s+") ":c+=mr(o)+": "+s+";"}),f&&(c+="transform: "+f+";"),l.style.cssText+=";"+c}var lo={exports:{}},uo,Pm;function sE(){if(Pm)return uo;Pm=1;var l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return uo=l,uo}var io,Im;function dE(){if(Im)return io;Im=1;var l=sE();function u(){}function c(){}return c.resetWarningCache=u,io=function(){function f(h,y,v,m,b,M){if(M!==l){var S=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw S.name="Invariant Violation",S}}f.isRequired=f;function o(){return f}var s={array:f,bigint:f,bool:f,func:f,number:f,object:f,string:f,symbol:f,any:f,arrayOf:o,element:f,elementType:f,instanceOf:o,node:f,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:c,resetWarningCache:u};return s.PropTypes=s,s},io}var ey;function hE(){return ey||(ey=1,lo.exports=dE()()),lo.exports}var mE=hE();const In=Wu(mE),ty={disabled:!1},Yy=Ht.createContext(null);var yE=function(u){return u.scrollTop},Ju="unmounted",tl="exited",Ca="entering",al="entered",bo="exiting",na=function(l){eE(u,l);function u(f,o){var s;s=l.call(this,f,o)||this;var h=o,y=h&&!h.isMounting?f.enter:f.appear,v;return s.appearStatus=null,f.in?y?(v=tl,s.appearStatus=Ca):v=al:f.unmountOnExit||f.mountOnEnter?v=Ju:v=tl,s.state={status:v},s.nextCallback=null,s}u.getDerivedStateFromProps=function(o,s){var h=o.in;return h&&s.status===Ju?{status:tl}:null};var c=u.prototype;return c.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},c.componentDidUpdate=function(o){var s=null;if(o!==this.props){var h=this.state.status;this.props.in?h!==Ca&&h!==al&&(s=Ca):(h===Ca||h===al)&&(s=bo)}this.updateStatus(!1,s)},c.componentWillUnmount=function(){this.cancelNextCallback()},c.getTimeouts=function(){var o=this.props.timeout,s,h,y;return s=h=y=o,o!=null&&typeof o!="number"&&(s=o.exit,h=o.enter,y=o.appear!==void 0?o.appear:h),{exit:s,enter:h,appear:y}},c.updateStatus=function(o,s){if(o===void 0&&(o=!1),s!==null)if(this.cancelNextCallback(),s===Ca){if(this.props.unmountOnExit||this.props.mountOnEnter){var h=this.props.nodeRef?this.props.nodeRef.current:Kl.findDOMNode(this);h&&yE(h)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===tl&&this.setState({status:Ju})},c.performEnter=function(o){var s=this,h=this.props.enter,y=this.context?this.context.isMounting:o,v=this.props.nodeRef?[y]:[Kl.findDOMNode(this),y],m=v[0],b=v[1],M=this.getTimeouts(),S=y?M.appear:M.enter;if(!o&&!h||ty.disabled){this.safeSetState({status:al},function(){s.props.onEntered(m)});return}this.props.onEnter(m,b),this.safeSetState({status:Ca},function(){s.props.onEntering(m,b),s.onTransitionEnd(S,function(){s.safeSetState({status:al},function(){s.props.onEntered(m,b)})})})},c.performExit=function(){var o=this,s=this.props.exit,h=this.getTimeouts(),y=this.props.nodeRef?void 0:Kl.findDOMNode(this);if(!s||ty.disabled){this.safeSetState({status:tl},function(){o.props.onExited(y)});return}this.props.onExit(y),this.safeSetState({status:bo},function(){o.props.onExiting(y),o.onTransitionEnd(h.exit,function(){o.safeSetState({status:tl},function(){o.props.onExited(y)})})})},c.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},c.safeSetState=function(o,s){s=this.setNextCallback(s),this.setState(o,s)},c.setNextCallback=function(o){var s=this,h=!0;return this.nextCallback=function(y){h&&(h=!1,s.nextCallback=null,o(y))},this.nextCallback.cancel=function(){h=!1},this.nextCallback},c.onTransitionEnd=function(o,s){this.setNextCallback(s);var h=this.props.nodeRef?this.props.nodeRef.current:Kl.findDOMNode(this),y=o==null&&!this.props.addEndListener;if(!h||y){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var v=this.props.nodeRef?[this.nextCallback]:[h,this.nextCallback],m=v[0],b=v[1];this.props.addEndListener(m,b)}o!=null&&setTimeout(this.nextCallback,o)},c.render=function(){var o=this.state.status;if(o===Ju)return null;var s=this.props,h=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var y=I1(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ht.createElement(Yy.Provider,{value:null},typeof h=="function"?h(o,y):Ht.cloneElement(Ht.Children.only(h),y))},u}(Ht.Component);na.contextType=Yy;na.propTypes={};function Xl(){}na.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Xl,onEntering:Xl,onEntered:Xl,onExit:Xl,onExiting:Xl,onExited:Xl};na.UNMOUNTED=Ju;na.EXITED=tl;na.ENTERING=Ca;na.ENTERED=al;na.EXITING=bo;function vE(l){return l.code==="Escape"||l.keyCode===27}function gE(){const l=p.version.split(".");return{major:+l[0],minor:+l[1],patch:+l[2]}}function Gy(l){if(!l||typeof l=="function")return null;const{major:u}=gE();return u>=19?l.props.ref:l.ref}const $l=!!(typeof window<"u"&&window.document&&window.document.createElement);var So=!1,Ro=!1;try{var ro={get passive(){return So=!0},get once(){return Ro=So=!0}};$l&&(window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,!0))}catch{}function Xy(l,u,c,f){if(f&&typeof f!="boolean"&&!Ro){var o=f.once,s=f.capture,h=c;!Ro&&o&&(h=c.__once||function y(v){this.removeEventListener(u,y,s),c.call(this,v)},c.__once=h),l.addEventListener(u,h,So?f:s)}l.addEventListener(u,c,f)}function To(l,u,c,f){var o=f&&typeof f!="boolean"?f.capture:f;l.removeEventListener(u,c,o),c.__once&&l.removeEventListener(u,c.__once,o)}function xr(l,u,c,f){return Xy(l,u,c,f),function(){To(l,u,c,f)}}function pE(l,u,c,f){if(f===void 0&&(f=!0),l){var o=document.createEvent("HTMLEvents");o.initEvent(u,c,f),l.dispatchEvent(o)}}function EE(l){var u=il(l,"transitionDuration")||"",c=u.indexOf("ms")===-1?1e3:1;return parseFloat(u)*c}function bE(l,u,c){c===void 0&&(c=5);var f=!1,o=setTimeout(function(){f||pE(l,"transitionend",!0)},u+c),s=xr(l,"transitionend",function(){f=!0},{once:!0});return function(){clearTimeout(o),s()}}function Vy(l,u,c,f){c==null&&(c=EE(l)||0);var o=bE(l,c,f),s=xr(l,"transitionend",u);return function(){o(),s()}}function ny(l,u){const c=il(l,u)||"",f=c.indexOf("ms")===-1?1e3:1;return parseFloat(c)*f}function SE(l,u){const c=ny(l,"transitionDuration"),f=ny(l,"transitionDelay"),o=Vy(l,s=>{s.target===l&&(o(),u(s))},c+f)}function RE(l){l.offsetHeight}const ay=l=>!l||typeof l=="function"?l:u=>{l.current=u};function TE(l,u){const c=ay(l),f=ay(u);return o=>{c&&c(o),f&&f(o)}}function Qy(l,u){return p.useMemo(()=>TE(l,u),[l,u])}function xE(l){return l&&"setState"in l?Kl.findDOMNode(l):l??null}const OE=Ht.forwardRef(({onEnter:l,onEntering:u,onEntered:c,onExit:f,onExiting:o,onExited:s,addEndListener:h,children:y,childRef:v,...m},b)=>{const M=p.useRef(null),S=Qy(M,v),D=P=>{S(xE(P))},N=P=>he=>{P&&M.current&&P(M.current,he)},q=p.useCallback(N(l),[l]),V=p.useCallback(N(u),[u]),U=p.useCallback(N(c),[c]),Z=p.useCallback(N(f),[f]),K=p.useCallback(N(o),[o]),le=p.useCallback(N(s),[s]),x=p.useCallback(N(h),[h]);return j.jsx(na,{ref:b,...m,onEnter:q,onEntered:U,onEntering:V,onExit:Z,onExited:le,onExiting:K,addEndListener:x,nodeRef:M,children:typeof y=="function"?(P,he)=>y(P,{...he,ref:D}):Ht.cloneElement(y,{ref:D})})});function DE(l){const u=p.useRef(l);return p.useEffect(()=>{u.current=l},[l]),u}function xo(l){const u=DE(l);return p.useCallback(function(...c){return u.current&&u.current(...c)},[u])}const CE=l=>p.forwardRef((u,c)=>j.jsx("div",{...u,ref:c,className:Ge(u.className,l)}));function ME(l){const u=p.useRef(l);return p.useEffect(()=>{u.current=l},[l]),u}function ll(l){const u=ME(l);return p.useCallback(function(...c){return u.current&&u.current(...c)},[u])}function AE(){const l=p.useRef(!0),u=p.useRef(()=>l.current);return p.useEffect(()=>(l.current=!0,()=>{l.current=!1}),[]),u.current}function _E(l){const u=p.useRef(null);return p.useEffect(()=>{u.current=l}),u.current}const wE=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",NE=typeof document<"u",ly=NE||wE?p.useLayoutEffect:p.useEffect,zE=["as","disabled"];function UE(l,u){if(l==null)return{};var c={};for(var f in l)if({}.hasOwnProperty.call(l,f)){if(u.indexOf(f)>=0)continue;c[f]=l[f]}return c}function jE(l){return!l||l.trim()==="#"}function Zy({tagName:l,disabled:u,href:c,target:f,rel:o,role:s,onClick:h,tabIndex:y=0,type:v}){l||(c!=null||f!=null||o!=null?l="a":l="button");const m={tagName:l};if(l==="button")return[{type:v||"button",disabled:u},m];const b=S=>{if((u||l==="a"&&jE(c))&&S.preventDefault(),u){S.stopPropagation();return}h==null||h(S)},M=S=>{S.key===" "&&(S.preventDefault(),b(S))};return l==="a"&&(c||(c="#"),u&&(c=void 0)),[{role:s??"button",disabled:void 0,tabIndex:u?void 0:y,href:c,target:l==="a"?f:void 0,"aria-disabled":u||void 0,rel:l==="a"?o:void 0,onClick:b,onKeyDown:M},m]}const LE=p.forwardRef((l,u)=>{let{as:c,disabled:f}=l,o=UE(l,zE);const[s,{tagName:h}]=Zy(Object.assign({tagName:c,disabled:f},o));return j.jsx(h,Object.assign({},o,s,{ref:u}))});LE.displayName="Button";const HE={[Ca]:"show",[al]:"show"},Ho=p.forwardRef(({className:l,children:u,transitionClasses:c={},onEnter:f,...o},s)=>{const h={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},y=p.useCallback((v,m)=>{RE(v),f==null||f(v,m)},[f]);return j.jsx(OE,{ref:s,addEndListener:SE,...h,onEnter:y,childRef:Gy(u),children:(v,m)=>p.cloneElement(u,{...m,className:Ge("fade",l,u.props.className,HE[v],c[v])})})});Ho.displayName="Fade";const BE={"aria-label":In.string,onClick:In.func,variant:In.oneOf(["white"])},Bo=p.forwardRef(({className:l,variant:u,"aria-label":c="Close",...f},o)=>j.jsx("button",{ref:o,type:"button",className:Ge("btn-close",u&&`btn-close-${u}`,l),"aria-label":c,...f}));Bo.displayName="CloseButton";Bo.propTypes=BE;const Oo=p.forwardRef(({as:l,bsPrefix:u,variant:c="primary",size:f,active:o=!1,disabled:s=!1,className:h,...y},v)=>{const m=ct(u,"btn"),[b,{tagName:M}]=Zy({tagName:l,disabled:s,...y}),S=M;return j.jsx(S,{...b,...y,ref:v,disabled:s,className:Ge(h,m,o&&"active",c&&`${m}-${c}`,f&&`${m}-${f}`,y.href&&s&&"disabled")})});Oo.displayName="Button";function qE(l){const u=p.useRef(l);return u.current=l,u}function YE(l){const u=qE(l);p.useEffect(()=>()=>u.current(),[])}function GE(l,u){return p.Children.toArray(l).some(c=>p.isValidElement(c)&&c.type===u)}function XE({as:l,bsPrefix:u,className:c,...f}){u=ct(u,"col");const o=By(),s=qy(),h=[],y=[];return o.forEach(v=>{const m=f[v];delete f[v];let b,M,S;typeof m=="object"&&m!=null?{span:b,offset:M,order:S}=m:b=m;const D=v!==s?`-${v}`:"";b&&h.push(b===!0?`${u}${D}`:`${u}${D}-${b}`),S!=null&&y.push(`order${D}-${S}`),M!=null&&y.push(`offset${D}-${M}`)}),[{...f,className:Ge(c,...h,...y)},{as:l,bsPrefix:u,spans:h}]}const kl=p.forwardRef((l,u)=>{const[{className:c,...f},{as:o="div",bsPrefix:s,spans:h}]=XE(l);return j.jsx(o,{...f,ref:u,className:Ge(c,!h.length&&s)})});kl.displayName="Col";const qo=p.forwardRef(({bsPrefix:l,fluid:u=!1,as:c="div",className:f,...o},s)=>{const h=ct(l,"container"),y=typeof u=="string"?`-${u}`:"-fluid";return j.jsx(c,{ref:s,...o,className:Ge(f,u?`${h}${y}`:h)})});qo.displayName="Container";var VE=Function.prototype.bind.call(Function.prototype.call,[].slice);function Vl(l,u){return VE(l.querySelectorAll(u))}function uy(l,u){if(l.contains)return l.contains(u);if(l.compareDocumentPosition)return l===u||!!(l.compareDocumentPosition(u)&16)}var co,iy;function QE(){if(iy)return co;iy=1;var l=function(){};return co=l,co}var ZE=QE();const Fb=Wu(ZE),KE="data-rr-ui-";function kE(l){return`${KE}${l}`}const Ky=p.createContext($l?window:void 0);Ky.Provider;function Yo(){return p.useContext(Ky)}const $E={type:In.string,tooltip:In.bool,as:In.elementType},jr=p.forwardRef(({as:l="div",className:u,type:c="valid",tooltip:f=!1,...o},s)=>j.jsx(l,{...o,ref:s,className:Ge(u,`${c}-${f?"tooltip":"feedback"}`)}));jr.displayName="Feedback";jr.propTypes=$E;const ea=p.createContext({}),Go=p.forwardRef(({id:l,bsPrefix:u,className:c,type:f="checkbox",isValid:o=!1,isInvalid:s=!1,as:h="input",...y},v)=>{const{controlId:m}=p.useContext(ea);return u=ct(u,"form-check-input"),j.jsx(h,{...y,ref:v,type:f,id:l||m,className:Ge(c,u,o&&"is-valid",s&&"is-invalid")})});Go.displayName="FormCheckInput";const Or=p.forwardRef(({bsPrefix:l,className:u,htmlFor:c,...f},o)=>{const{controlId:s}=p.useContext(ea);return l=ct(l,"form-check-label"),j.jsx("label",{...f,ref:o,htmlFor:c||s,className:Ge(u,l)})});Or.displayName="FormCheckLabel";const ky=p.forwardRef(({id:l,bsPrefix:u,bsSwitchPrefix:c,inline:f=!1,reverse:o=!1,disabled:s=!1,isValid:h=!1,isInvalid:y=!1,feedbackTooltip:v=!1,feedback:m,feedbackType:b,className:M,style:S,title:D="",type:N="checkbox",label:q,children:V,as:U="input",...Z},K)=>{u=ct(u,"form-check"),c=ct(c,"form-switch");const{controlId:le}=p.useContext(ea),x=p.useMemo(()=>({controlId:l||le}),[le,l]),P=!V&&q!=null&&q!==!1||GE(V,Or),he=j.jsx(Go,{...Z,type:N==="switch"?"checkbox":N,ref:K,isValid:h,isInvalid:y,disabled:s,as:U});return j.jsx(ea.Provider,{value:x,children:j.jsx("div",{style:S,className:Ge(M,P&&u,f&&`${u}-inline`,o&&`${u}-reverse`,N==="switch"&&c),children:V||j.jsxs(j.Fragment,{children:[he,P&&j.jsx(Or,{title:D,children:q}),m&&j.jsx(jr,{type:b,tooltip:v,children:m})]})})})});ky.displayName="FormCheck";const Dr=Object.assign(ky,{Input:Go,Label:Or}),$y=p.forwardRef(({bsPrefix:l,type:u,size:c,htmlSize:f,id:o,className:s,isValid:h=!1,isInvalid:y=!1,plaintext:v,readOnly:m,as:b="input",...M},S)=>{const{controlId:D}=p.useContext(ea);return l=ct(l,"form-control"),j.jsx(b,{...M,type:u,size:f,ref:S,readOnly:m,id:o||D,className:Ge(s,v?`${l}-plaintext`:l,c&&`${l}-${c}`,u==="color"&&`${l}-color`,h&&"is-valid",y&&"is-invalid")})});$y.displayName="FormControl";const JE=Object.assign($y,{Feedback:jr}),Jy=p.forwardRef(({className:l,bsPrefix:u,as:c="div",...f},o)=>(u=ct(u,"form-floating"),j.jsx(c,{ref:o,className:Ge(l,u),...f})));Jy.displayName="FormFloating";const Xo=p.forwardRef(({controlId:l,as:u="div",...c},f)=>{const o=p.useMemo(()=>({controlId:l}),[l]);return j.jsx(ea.Provider,{value:o,children:j.jsx(u,{...c,ref:f})})});Xo.displayName="FormGroup";const Fy=p.forwardRef(({as:l="label",bsPrefix:u,column:c=!1,visuallyHidden:f=!1,className:o,htmlFor:s,...h},y)=>{const{controlId:v}=p.useContext(ea);u=ct(u,"form-label");let m="col-form-label";typeof c=="string"&&(m=`${m} ${m}-${c}`);const b=Ge(o,u,f&&"visually-hidden",c&&m);return s=s||v,c?j.jsx(kl,{ref:y,as:"label",className:b,htmlFor:s,...h}):j.jsx(l,{ref:y,className:b,htmlFor:s,...h})});Fy.displayName="FormLabel";const Wy=p.forwardRef(({bsPrefix:l,className:u,id:c,...f},o)=>{const{controlId:s}=p.useContext(ea);return l=ct(l,"form-range"),j.jsx("input",{...f,type:"range",ref:o,className:Ge(u,l),id:c||s})});Wy.displayName="FormRange";const Py=p.forwardRef(({bsPrefix:l,size:u,htmlSize:c,className:f,isValid:o=!1,isInvalid:s=!1,id:h,...y},v)=>{const{controlId:m}=p.useContext(ea);return l=ct(l,"form-select"),j.jsx("select",{...y,size:c,ref:v,className:Ge(f,l,u&&`${l}-${u}`,o&&"is-valid",s&&"is-invalid"),id:h||m})});Py.displayName="FormSelect";const Iy=p.forwardRef(({bsPrefix:l,className:u,as:c="small",muted:f,...o},s)=>(l=ct(l,"form-text"),j.jsx(c,{...o,ref:s,className:Ge(u,l,f&&"text-muted")})));Iy.displayName="FormText";const ev=p.forwardRef((l,u)=>j.jsx(Dr,{...l,ref:u,type:"switch"}));ev.displayName="Switch";const FE=Object.assign(ev,{Input:Dr.Input,Label:Dr.Label}),tv=p.forwardRef(({bsPrefix:l,className:u,children:c,controlId:f,label:o,...s},h)=>(l=ct(l,"form-floating"),j.jsxs(Xo,{ref:h,className:Ge(u,l),controlId:f,...s,children:[c,j.jsx("label",{htmlFor:f,children:o})]})));tv.displayName="FloatingLabel";const WE={_ref:In.any,validated:In.bool,as:In.elementType},Vo=p.forwardRef(({className:l,validated:u,as:c="form",...f},o)=>j.jsx(c,{...f,ref:o,className:Ge(l,u&&"was-validated")}));Vo.displayName="Form";Vo.propTypes=WE;const yr=Object.assign(Vo,{Group:Xo,Control:JE,Floating:Jy,Check:Dr,Switch:FE,Label:Fy,Text:Iy,Range:Wy,Select:Py,FloatingLabel:tv}),ry=l=>!l||typeof l=="function"?l:u=>{l.current=u};function PE(l,u){const c=ry(l),f=ry(u);return o=>{c&&c(o),f&&f(o)}}function Qo(l,u){return p.useMemo(()=>PE(l,u),[l,u])}var vr;function cy(l){if((!vr&&vr!==0||l)&&$l){var u=document.createElement("div");u.style.position="absolute",u.style.top="-9999px",u.style.width="50px",u.style.height="50px",u.style.overflow="scroll",document.body.appendChild(u),vr=u.offsetWidth-u.clientWidth,document.body.removeChild(u)}return vr}function IE(){return p.useState(null)}function fo(l){l===void 0&&(l=Ur());try{var u=l.activeElement;return!u||!u.nodeName?null:u}catch{return l.body}}function eb(l){const u=p.useRef(l);return u.current=l,u}function tb(l){const u=eb(l);p.useEffect(()=>()=>u.current(),[])}function nb(l=document){const u=l.defaultView;return Math.abs(u.innerWidth-l.documentElement.clientWidth)}const fy=kE("modal-open");class Zo{constructor({ownerDocument:u,handleContainerOverflow:c=!0,isRTL:f=!1}={}){this.handleContainerOverflow=c,this.isRTL=f,this.modals=[],this.ownerDocument=u}getScrollbarWidth(){return nb(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(u){}removeModalAttributes(u){}setContainerStyle(u){const c={overflow:"hidden"},f=this.isRTL?"paddingLeft":"paddingRight",o=this.getElement();u.style={overflow:o.style.overflow,[f]:o.style[f]},u.scrollBarWidth&&(c[f]=`${parseInt(il(o,f)||"0",10)+u.scrollBarWidth}px`),o.setAttribute(fy,""),il(o,c)}reset(){[...this.modals].forEach(u=>this.remove(u))}removeContainerStyle(u){const c=this.getElement();c.removeAttribute(fy),Object.assign(c.style,u.style)}add(u){let c=this.modals.indexOf(u);return c!==-1||(c=this.modals.length,this.modals.push(u),this.setModalAttributes(u),c!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),c}remove(u){const c=this.modals.indexOf(u);c!==-1&&(this.modals.splice(c,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(u))}isTopModal(u){return!!this.modals.length&&this.modals[this.modals.length-1]===u}}const oo=(l,u)=>$l?l==null?(u||Ur()).body:(typeof l=="function"&&(l=l()),l&&"current"in l&&(l=l.current),l&&("nodeType"in l||l.getBoundingClientRect)?l:null):null;function ab(l,u){const c=Yo(),[f,o]=p.useState(()=>oo(l,c==null?void 0:c.document));if(!f){const s=oo(l);s&&o(s)}return p.useEffect(()=>{},[u,f]),p.useEffect(()=>{const s=oo(l);s!==f&&o(s)},[l,f]),f}function lb({children:l,in:u,onExited:c,mountOnEnter:f,unmountOnExit:o}){const s=p.useRef(null),h=p.useRef(u),y=ll(c);p.useEffect(()=>{u?h.current=!0:y(s.current)},[u,y]);const v=Qo(s,l.ref),m=p.cloneElement(l,{ref:v});return u?m:o||!h.current&&f?null:m}const ub=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function ib(l,u){if(l==null)return{};var c={};for(var f in l)if({}.hasOwnProperty.call(l,f)){if(u.indexOf(f)>=0)continue;c[f]=l[f]}return c}function rb(l){let{onEnter:u,onEntering:c,onEntered:f,onExit:o,onExiting:s,onExited:h,addEndListener:y,children:v}=l,m=ib(l,ub);const b=p.useRef(null),M=Qo(b,Gy(v)),S=le=>x=>{le&&b.current&&le(b.current,x)},D=p.useCallback(S(u),[u]),N=p.useCallback(S(c),[c]),q=p.useCallback(S(f),[f]),V=p.useCallback(S(o),[o]),U=p.useCallback(S(s),[s]),Z=p.useCallback(S(h),[h]),K=p.useCallback(S(y),[y]);return Object.assign({},m,{nodeRef:b},u&&{onEnter:D},c&&{onEntering:N},f&&{onEntered:q},o&&{onExit:V},s&&{onExiting:U},h&&{onExited:Z},y&&{addEndListener:K},{children:typeof v=="function"?(le,x)=>v(le,Object.assign({},x,{ref:M})):p.cloneElement(v,{ref:M})})}const cb=["component"];function fb(l,u){if(l==null)return{};var c={};for(var f in l)if({}.hasOwnProperty.call(l,f)){if(u.indexOf(f)>=0)continue;c[f]=l[f]}return c}const ob=p.forwardRef((l,u)=>{let{component:c}=l,f=fb(l,cb);const o=rb(f);return j.jsx(c,Object.assign({ref:u},o))});function sb({in:l,onTransition:u}){const c=p.useRef(null),f=p.useRef(!0),o=ll(u);return ly(()=>{if(!c.current)return;let s=!1;return o({in:l,element:c.current,initial:f.current,isStale:()=>s}),()=>{s=!0}},[l,o]),ly(()=>(f.current=!1,()=>{f.current=!0}),[]),c}function db({children:l,in:u,onExited:c,onEntered:f,transition:o}){const[s,h]=p.useState(!u);u&&s&&h(!1);const y=sb({in:!!u,onTransition:m=>{const b=()=>{m.isStale()||(m.in?f==null||f(m.element,m.initial):(h(!0),c==null||c(m.element)))};Promise.resolve(o(m)).then(b,M=>{throw m.in||h(!0),M})}}),v=Qo(y,l.ref);return s&&!u?null:p.cloneElement(l,{ref:v})}function oy(l,u,c){return l?j.jsx(ob,Object.assign({},c,{component:l})):u?j.jsx(db,Object.assign({},c,{transition:u})):j.jsx(lb,Object.assign({},c))}const hb=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function mb(l,u){if(l==null)return{};var c={};for(var f in l)if({}.hasOwnProperty.call(l,f)){if(u.indexOf(f)>=0)continue;c[f]=l[f]}return c}let so;function yb(l){return so||(so=new Zo({ownerDocument:l==null?void 0:l.document})),so}function vb(l){const u=Yo(),c=l||yb(u),f=p.useRef({dialog:null,backdrop:null});return Object.assign(f.current,{add:()=>c.add(f.current),remove:()=>c.remove(f.current),isTopModal:()=>c.isTopModal(f.current),setDialogRef:p.useCallback(o=>{f.current.dialog=o},[]),setBackdropRef:p.useCallback(o=>{f.current.backdrop=o},[])})}const nv=p.forwardRef((l,u)=>{let{show:c=!1,role:f="dialog",className:o,style:s,children:h,backdrop:y=!0,keyboard:v=!0,onBackdropClick:m,onEscapeKeyDown:b,transition:M,runTransition:S,backdropTransition:D,runBackdropTransition:N,autoFocus:q=!0,enforceFocus:V=!0,restoreFocus:U=!0,restoreFocusOptions:Z,renderDialog:K,renderBackdrop:le=Le=>j.jsx("div",Object.assign({},Le)),manager:x,container:P,onShow:he,onHide:oe=()=>{},onExit:$,onExited:ie,onExiting:He,onEnter:ut,onEntering:Je,onEntered:dt}=l,Me=mb(l,hb);const k=Yo(),se=ab(P),W=vb(x),Te=AE(),R=_E(c),[G,te]=p.useState(!c),I=p.useRef(null);p.useImperativeHandle(u,()=>W,[W]),$l&&!R&&c&&(I.current=fo(k==null?void 0:k.document)),c&&G&&te(!1);const J=ll(()=>{if(W.add(),De.current=xr(document,"keydown",_e),Se.current=xr(document,"focus",()=>setTimeout(pe),!0),he&&he(),q){var Le,zt;const hn=fo((Le=(zt=W.dialog)==null?void 0:zt.ownerDocument)!=null?Le:k==null?void 0:k.document);W.dialog&&hn&&!uy(W.dialog,hn)&&(I.current=hn,W.dialog.focus())}}),ve=ll(()=>{if(W.remove(),De.current==null||De.current(),Se.current==null||Se.current(),U){var Le;(Le=I.current)==null||Le.focus==null||Le.focus(Z),I.current=null}});p.useEffect(()=>{!c||!se||J()},[c,se,J]),p.useEffect(()=>{G&&ve()},[G,ve]),tb(()=>{ve()});const pe=ll(()=>{if(!V||!Te()||!W.isTopModal())return;const Le=fo(k==null?void 0:k.document);W.dialog&&Le&&!uy(W.dialog,Le)&&W.dialog.focus()}),Ie=ll(Le=>{Le.target===Le.currentTarget&&(m==null||m(Le),y===!0&&oe())}),_e=ll(Le=>{v&&vE(Le)&&W.isTopModal()&&(b==null||b(Le),Le.defaultPrevented||oe())}),Se=p.useRef(),De=p.useRef(),yt=(...Le)=>{te(!0),ie==null||ie(...Le)};if(!se)return null;const Nt=Object.assign({role:f,ref:W.setDialogRef,"aria-modal":f==="dialog"?!0:void 0},Me,{style:s,className:o,tabIndex:-1});let et=K?K(Nt):j.jsx("div",Object.assign({},Nt,{children:p.cloneElement(h,{role:"document"})}));et=oy(M,S,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!c,onExit:$,onExiting:He,onExited:yt,onEnter:ut,onEntering:Je,onEntered:dt,children:et});let qt=null;return y&&(qt=le({ref:W.setBackdropRef,onClick:Ie}),qt=oy(D,N,{in:!!c,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:qt})),j.jsx(j.Fragment,{children:Kl.createPortal(j.jsxs(j.Fragment,{children:[qt,et]}),se)})});nv.displayName="Modal";const gb=Object.assign(nv,{Manager:Zo});function pb(l,u){return l.classList?l.classList.contains(u):(" "+(l.className.baseVal||l.className)+" ").indexOf(" "+u+" ")!==-1}function Eb(l,u){l.classList?l.classList.add(u):pb(l,u)||(typeof l.className=="string"?l.className=l.className+" "+u:l.setAttribute("class",(l.className&&l.className.baseVal||"")+" "+u))}function sy(l,u){return l.replace(new RegExp("(^|\\s)"+u+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function bb(l,u){l.classList?l.classList.remove(u):typeof l.className=="string"?l.className=sy(l.className,u):l.setAttribute("class",sy(l.className&&l.className.baseVal||"",u))}const Ql={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Sb extends Zo{adjustAndStore(u,c,f){const o=c.style[u];c.dataset[u]=o,il(c,{[u]:`${parseFloat(il(c,u))+f}px`})}restore(u,c){const f=c.dataset[u];f!==void 0&&(delete c.dataset[u],il(c,{[u]:f}))}setContainerStyle(u){super.setContainerStyle(u);const c=this.getElement();if(Eb(c,"modal-open"),!u.scrollBarWidth)return;const f=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";Vl(c,Ql.FIXED_CONTENT).forEach(s=>this.adjustAndStore(f,s,u.scrollBarWidth)),Vl(c,Ql.STICKY_CONTENT).forEach(s=>this.adjustAndStore(o,s,-u.scrollBarWidth)),Vl(c,Ql.NAVBAR_TOGGLER).forEach(s=>this.adjustAndStore(o,s,u.scrollBarWidth))}removeContainerStyle(u){super.removeContainerStyle(u);const c=this.getElement();bb(c,"modal-open");const f=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";Vl(c,Ql.FIXED_CONTENT).forEach(s=>this.restore(f,s)),Vl(c,Ql.STICKY_CONTENT).forEach(s=>this.restore(o,s)),Vl(c,Ql.NAVBAR_TOGGLER).forEach(s=>this.restore(o,s))}}let ho;function Rb(l){return ho||(ho=new Sb(l)),ho}const av=p.forwardRef(({className:l,bsPrefix:u,as:c="div",...f},o)=>(u=ct(u,"modal-body"),j.jsx(c,{ref:o,className:Ge(l,u),...f})));av.displayName="ModalBody";const lv=p.createContext({onHide(){}}),Ko=p.forwardRef(({bsPrefix:l,className:u,contentClassName:c,centered:f,size:o,fullscreen:s,children:h,scrollable:y,...v},m)=>{l=ct(l,"modal");const b=`${l}-dialog`,M=typeof s=="string"?`${l}-fullscreen-${s}`:`${l}-fullscreen`;return j.jsx("div",{...v,ref:m,className:Ge(b,u,o&&`${l}-${o}`,f&&`${b}-centered`,y&&`${b}-scrollable`,s&&M),children:j.jsx("div",{className:Ge(`${l}-content`,c),children:h})})});Ko.displayName="ModalDialog";const uv=p.forwardRef(({className:l,bsPrefix:u,as:c="div",...f},o)=>(u=ct(u,"modal-footer"),j.jsx(c,{ref:o,className:Ge(l,u),...f})));uv.displayName="ModalFooter";const Tb=p.forwardRef(({closeLabel:l="Close",closeVariant:u,closeButton:c=!1,onHide:f,children:o,...s},h)=>{const y=p.useContext(lv),v=xo(()=>{y==null||y.onHide(),f==null||f()});return j.jsxs("div",{ref:h,...s,children:[o,c&&j.jsx(Bo,{"aria-label":l,variant:u,onClick:v})]})}),iv=p.forwardRef(({bsPrefix:l,className:u,closeLabel:c="Close",closeButton:f=!1,...o},s)=>(l=ct(l,"modal-header"),j.jsx(Tb,{ref:s,...o,className:Ge(u,l),closeLabel:c,closeButton:f})));iv.displayName="ModalHeader";const xb=CE("h4"),rv=p.forwardRef(({className:l,bsPrefix:u,as:c=xb,...f},o)=>(u=ct(u,"modal-title"),j.jsx(c,{ref:o,className:Ge(l,u),...f})));rv.displayName="ModalTitle";function Ob(l){return j.jsx(Ho,{...l,timeout:null})}function Db(l){return j.jsx(Ho,{...l,timeout:null})}const cv=p.forwardRef(({bsPrefix:l,className:u,style:c,dialogClassName:f,contentClassName:o,children:s,dialogAs:h=Ko,"data-bs-theme":y,"aria-labelledby":v,"aria-describedby":m,"aria-label":b,show:M=!1,animation:S=!0,backdrop:D=!0,keyboard:N=!0,onEscapeKeyDown:q,onShow:V,onHide:U,container:Z,autoFocus:K=!0,enforceFocus:le=!0,restoreFocus:x=!0,restoreFocusOptions:P,onEntered:he,onExit:oe,onExiting:$,onEnter:ie,onEntering:He,onExited:ut,backdropClassName:Je,manager:dt,...Me},k)=>{const[se,W]=p.useState({}),[Te,R]=p.useState(!1),G=p.useRef(!1),te=p.useRef(!1),I=p.useRef(null),[J,ve]=IE(),pe=Qy(k,ve),Ie=xo(U),_e=aE();l=ct(l,"modal");const Se=p.useMemo(()=>({onHide:Ie}),[Ie]);function De(){return dt||Rb({isRTL:_e})}function yt(be){if(!$l)return;const Wt=De().getScrollbarWidth()>0,mn=be.scrollHeight>Ur(be).documentElement.clientHeight;W({paddingRight:Wt&&!mn?cy():void 0,paddingLeft:!Wt&&mn?cy():void 0})}const Nt=xo(()=>{J&&yt(J.dialog)});YE(()=>{To(window,"resize",Nt),I.current==null||I.current()});const et=()=>{G.current=!0},qt=be=>{G.current&&J&&be.target===J.dialog&&(te.current=!0),G.current=!1},Le=()=>{R(!0),I.current=Vy(J.dialog,()=>{R(!1)})},zt=be=>{be.target===be.currentTarget&&Le()},hn=be=>{if(D==="static"){zt(be);return}if(te.current||be.target!==be.currentTarget){te.current=!1;return}U==null||U()},aa=be=>{N?q==null||q(be):(be.preventDefault(),D==="static"&&Le())},wa=(be,Wt)=>{be&&yt(be),ie==null||ie(be,Wt)},Na=be=>{I.current==null||I.current(),oe==null||oe(be)},Yt=(be,Wt)=>{He==null||He(be,Wt),Xy(window,"resize",Nt)},zn=be=>{be&&(be.style.display=""),ut==null||ut(be),To(window,"resize",Nt)},cl=p.useCallback(be=>j.jsx("div",{...be,className:Ge(`${l}-backdrop`,Je,!S&&"show")}),[S,Je,l]),St={...c,...se};St.display="block";const Ft=be=>j.jsx("div",{role:"dialog",...be,style:St,className:Ge(u,l,Te&&`${l}-static`,!S&&"show"),onClick:D?hn:void 0,onMouseUp:qt,"data-bs-theme":y,"aria-label":b,"aria-labelledby":v,"aria-describedby":m,children:j.jsx(h,{...Me,onMouseDown:et,className:f,contentClassName:o,children:s})});return j.jsx(lv.Provider,{value:Se,children:j.jsx(gb,{show:M,ref:pe,backdrop:D,container:Z,keyboard:!0,autoFocus:K,enforceFocus:le,restoreFocus:x,restoreFocusOptions:P,onEscapeKeyDown:aa,onShow:V,onHide:U,onEnter:wa,onEntering:Yt,onEntered:he,onExit:Na,onExiting:$,onExited:zn,manager:De(),transition:S?Ob:void 0,backdropTransition:S?Db:void 0,renderBackdrop:cl,renderDialog:Ft})})});cv.displayName="Modal";const ku=Object.assign(cv,{Body:av,Header:iv,Title:rv,Footer:uv,Dialog:Ko,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),ko=p.forwardRef(({bsPrefix:l,className:u,as:c="div",...f},o)=>{const s=ct(l,"row"),h=By(),y=qy(),v=`${s}-cols`,m=[];return h.forEach(b=>{const M=f[b];delete f[b];let S;M!=null&&typeof M=="object"?{cols:S}=M:S=M;const D=b!==y?`-${b}`:"";S!=null&&m.push(`${v}${D}-${S}`)}),j.jsx(c,{ref:o,...f,className:Ge(u,s,...m)})});ko.displayName="Row";const Cb="/static/DY3vaYXT.svg";function Wb(){const l=Bt.c(6),{user:u}=p.useContext(Ly),{pathname:c}=ta();let f;l[0]===Symbol.for("react.memo_cache_sentinel")?(f=j.jsx(kl,{xs:10,children:j.jsx("div",{className:"nav-wrapper",children:j.jsxs("nav",{className:"header-nav",children:[j.jsx("a",{href:"https://geant.org/",children:j.jsx("img",{src:Cb})}),j.jsxs("ul",{children:[j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://network.geant.org/",children:"NETWORK"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://geant.org/services/",children:"SERVICES"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://community.geant.org/",children:"COMMUNITY"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://tnc23.geant.org/",children:"TNC"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://geant.org/projects/",children:"PROJECTS"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://connect.geant.org/",children:"CONNECT"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://impact.geant.org/",children:"IMPACT"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://careers.geant.org/",children:"CAREERS"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://about.geant.org/",children:"ABOUT"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://connect.geant.org/community-news",children:"NEWS"})}),j.jsx("li",{children:j.jsx("a",{className:"nav-link-entry",href:"https://resources.geant.org/",children:"RESOURCES"})}),j.jsx("li",{children:j.jsx(Tr,{className:"nav-link-entry",to:"/",children:"COMPENDIUM"})})]})]})})}),l[0]=f):f=l[0];let o;l[1]!==c||l[2]!==u.permissions.admin?(o=u.permissions.admin&&!c.includes("survey")&&j.jsx("div",{className:"nav-link",style:{float:"right"},children:j.jsx(Tr,{className:"nav-link-entry",to:"/survey",children:j.jsx("span",{children:"Go to Survey"})})}),l[1]=c,l[2]=u.permissions.admin,l[3]=o):o=l[3];let s;return l[4]!==o?(s=j.jsx("div",{className:"external-page-nav-bar",children:j.jsx(qo,{children:j.jsxs(ko,{children:[f,j.jsx(kl,{xs:2,children:o})]})})}),l[4]=o,l[5]=s):s=l[5],s}const Mb="/static/A3T3A-a_.svg",Ab="/static/DOOiIGTs.png";function Pb(){const l=Bt.c(9);let u;l[0]===Symbol.for("react.memo_cache_sentinel")?(u=j.jsx("a",{href:"https://geant.org",children:j.jsx("img",{src:Mb,className:"m-3",style:{maxWidth:"100px"}})}),l[0]=u):u=l[0];let c;l[1]===Symbol.for("react.memo_cache_sentinel")?(c=j.jsxs(kl,{children:[u,j.jsx("img",{src:Ab,className:"m-3",style:{maxWidth:"200px"}})]}),l[1]=c):c=l[1];let f,o;l[2]===Symbol.for("react.memo_cache_sentinel")?(f=j.jsx("a",{className:"mx-3 footer-link",href:"https://geant.org/Disclaimer/",children:"Disclaimer"}),o=j.jsx("wbr",{}),l[2]=f,l[3]=o):(f=l[2],o=l[3]);let s,h;l[4]===Symbol.for("react.memo_cache_sentinel")?(s=j.jsx("a",{className:"mx-3 footer-link",href:"https://geant.org/geant-anti-slavery-policy/",children:"GEANT Anti‑Slavery Policy"}),h=j.jsx("wbr",{}),l[4]=s,l[5]=h):(s=l[4],h=l[5]);let y,v;l[6]===Symbol.for("react.memo_cache_sentinel")?(y=j.jsx("a",{className:"mx-3 footer-link",href:"https://geant.org/Privacy-Notice/",children:"Privacy Policy"}),v=j.jsx("wbr",{}),l[6]=y,l[7]=v):(y=l[6],v=l[7]);let m;return l[8]===Symbol.for("react.memo_cache_sentinel")?(m=j.jsx("footer",{className:"page-footer pt-3",children:j.jsx(qo,{children:j.jsxs(ko,{children:[c,j.jsx(kl,{className:"mt-4 text-end",children:j.jsxs("span",{children:[f,o,"|",s,h,"|",y,v,"|",j.jsx("a",{className:"mx-3 footer-link",style:{cursor:"pointer"},onClick:_b,children:"Analytics Consent"})]})})]})})}),l[8]=m):m=l[8],m}function _b(){localStorage.removeItem("matomo_consent"),window.location.reload()}function Ib(){const l=Bt.c(16),u=p.useContext(Hy);let c;l[0]!==u?(c=N=>u==null?void 0:u.trackPageView(N),l[0]=u,l[1]=c):c=l[1];const f=c;let o;l[2]!==u?(o=N=>u==null?void 0:u.trackEvent(N),l[2]=u,l[3]=o):o=l[3];const s=o;let h;l[4]!==u?(h=()=>u==null?void 0:u.trackEvents(),l[4]=u,l[5]=h):h=l[5];const y=h;let v;l[6]!==u?(v=N=>u==null?void 0:u.trackLink(N),l[6]=u,l[7]=v):v=l[7];const m=v,b=wb;let M;l[8]!==u?(M=(N,...q)=>{const V=q;u==null||u.pushInstruction(N,...V)},l[8]=u,l[9]=M):M=l[9];const S=M;let D;return l[10]!==S||l[11]!==s||l[12]!==y||l[13]!==m||l[14]!==f?(D={trackEvent:s,trackEvents:y,trackPageView:f,trackLink:m,enableLinkTracking:b,pushInstruction:S},l[10]=S,l[11]=s,l[12]=y,l[13]=m,l[14]=f,l[15]=D):D=l[15],D}function wb(){}var fv={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},dy=Ht.createContext&&Ht.createContext(fv),Nb=["attr","size","title"];function zb(l,u){if(l==null)return{};var c=Ub(l,u),f,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(l);for(o=0;o<s.length;o++)f=s[o],!(u.indexOf(f)>=0)&&Object.prototype.propertyIsEnumerable.call(l,f)&&(c[f]=l[f])}return c}function Ub(l,u){if(l==null)return{};var c={};for(var f in l)if(Object.prototype.hasOwnProperty.call(l,f)){if(u.indexOf(f)>=0)continue;c[f]=l[f]}return c}function Cr(){return Cr=Object.assign?Object.assign.bind():function(l){for(var u=1;u<arguments.length;u++){var c=arguments[u];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(l[f]=c[f])}return l},Cr.apply(this,arguments)}function hy(l,u){var c=Object.keys(l);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(l);u&&(f=f.filter(function(o){return Object.getOwnPropertyDescriptor(l,o).enumerable})),c.push.apply(c,f)}return c}function Mr(l){for(var u=1;u<arguments.length;u++){var c=arguments[u]!=null?arguments[u]:{};u%2?hy(Object(c),!0).forEach(function(f){jb(l,f,c[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(c)):hy(Object(c)).forEach(function(f){Object.defineProperty(l,f,Object.getOwnPropertyDescriptor(c,f))})}return l}function jb(l,u,c){return u=Lb(u),u in l?Object.defineProperty(l,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[u]=c,l}function Lb(l){var u=Hb(l,"string");return typeof u=="symbol"?u:u+""}function Hb(l,u){if(typeof l!="object"||!l)return l;var c=l[Symbol.toPrimitive];if(c!==void 0){var f=c.call(l,u||"default");if(typeof f!="object")return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(l)}function ov(l){return l&&l.map((u,c)=>Ht.createElement(u.tag,Mr({key:c},u.attr),ov(u.child)))}function sv(l){return u=>Ht.createElement(Bb,Cr({attr:Mr({},l.attr)},u),ov(l.child))}function Bb(l){var u=c=>{var{attr:f,size:o,title:s}=l,h=zb(l,Nb),y=o||c.size||"1em",v;return c.className&&(v=c.className),l.className&&(v=(v?v+" ":"")+l.className),Ht.createElement("svg",Cr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},c.attr,f,h,{className:v,style:Mr(Mr({color:l.color||c.color},c.style),l.style),height:y,width:y,xmlns:"http://www.w3.org/2000/svg"}),s&&Ht.createElement("title",null,s),l.children)};return dy!==void 0?Ht.createElement(dy.Consumer,null,c=>u(c)):u(fv)}function eS(l){return sv({tag:"svg",attr:{viewBox:"0 0 1024 1024",fill:"currentColor",fillRule:"evenodd"},child:[{tag:"path",attr:{d:"M799.855 166.312c.023.007.043.018.084.059l57.69 57.69c.041.041.052.06.059.084a.118.118 0 0 1 0 .069c-.007.023-.018.042-.059.083L569.926 512l287.703 287.703c.041.04.052.06.059.083a.118.118 0 0 1 0 .07c-.007.022-.018.042-.059.083l-57.69 57.69c-.041.041-.06.052-.084.059a.118.118 0 0 1-.069 0c-.023-.007-.042-.018-.083-.059L512 569.926 224.297 857.629c-.04.041-.06.052-.083.059a.118.118 0 0 1-.07 0c-.022-.007-.042-.018-.083-.059l-57.69-57.69c-.041-.041-.052-.06-.059-.084a.118.118 0 0 1 0-.069c.007-.023.018-.042.059-.083L454.073 512 166.371 224.297c-.041-.04-.052-.06-.059-.083a.118.118 0 0 1 0-.07c.007-.022.018-.042.059-.083l57.69-57.69c.041-.041.06-.052.084-.059a.118.118 0 0 1 .069 0c.023.007.042.018.083.059L512 454.073l287.703-287.702c.04-.041.06-.052.083-.059a.118.118 0 0 1 .07 0Z"},child:[]}]})(l)}function tS(l){return sv({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8Z"},child:[]},{tag:"path",attr:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8Z"},child:[]}]})(l)}const nS=()=>{const l=Bt.c(26),{consent:u,setConsent:c}=p.useContext(Lo),[f,o]=p.useState(u===null);let s;l[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{o(!1),window.location.reload()},l[0]=s):s=l[0];const h=s,[y,v]=p.useState(!0);let m;l[1]!==c?(m=P=>{const he=new Date;he.setDate(he.getDate()+30),localStorage.setItem("matomo_consent",JSON.stringify({consent:P,expiry:he})),c(P)},l[1]=c,l[2]=m):m=l[2];const b=m;let M;l[3]===Symbol.for("react.memo_cache_sentinel")?(M=j.jsx(ku.Header,{closeButton:!0,children:j.jsx(ku.Title,{children:"Privacy on this site"})}),l[3]=M):M=l[3];let S;l[4]===Symbol.for("react.memo_cache_sentinel")?(S=j.jsx("a",{href:"https://geant.org/Privacy-Notice/",children:"Privacy Policy"}),l[4]=S):S=l[4];let D;l[5]===Symbol.for("react.memo_cache_sentinel")?(D=j.jsxs("p",{children:["On our site we use Matomo to collect and process data about your visit to better understand how it is used. For more information, see our ",S,".",j.jsx("br",{}),"Below, you can choose to accept or decline to have this data collected."]}),l[5]=D):D=l[5];let N;l[6]!==y?(N=()=>v(!y),l[6]=y,l[7]=N):N=l[7];let q;l[8]!==y||l[9]!==N?(q=j.jsx(yr.Check,{type:"checkbox",label:"Analytics",checked:y,onChange:N}),l[8]=y,l[9]=N,l[10]=q):q=l[10];let V;l[11]===Symbol.for("react.memo_cache_sentinel")?(V=j.jsx(yr.Text,{className:"text-muted",children:"We collect information about your visit on the compendium site — this helps us understand how the site is used, and how we can improve it."}),l[11]=V):V=l[11];let U;l[12]!==q?(U=j.jsxs(ku.Body,{children:[D,j.jsx(yr,{children:j.jsxs(yr.Group,{className:"mb-3",children:[q,V]})})]}),l[12]=q,l[13]=U):U=l[13];let Z;l[14]!==b?(Z=j.jsx(Oo,{variant:"secondary",onClick:()=>{b(!1),h()},children:"Decline all"}),l[14]=b,l[15]=Z):Z=l[15];let K;l[16]!==y||l[17]!==b?(K=j.jsx(Oo,{variant:"primary",onClick:()=>{b(y),h()},children:"Save consent for 30 days"}),l[16]=y,l[17]=b,l[18]=K):K=l[18];let le;l[19]!==K||l[20]!==Z?(le=j.jsxs(ku.Footer,{children:[Z,K]}),l[19]=K,l[20]=Z,l[21]=le):le=l[21];let x;return l[22]!==f||l[23]!==le||l[24]!==U?(x=j.jsxs(ku,{show:f,centered:!0,children:[M,U,le]}),l[22]=f,l[23]=le,l[24]=U,l[25]=x):x=l[25],x};export{Qb as $,tS as A,kE as B,kl as C,LE as D,Wb as E,U1 as F,Pb as G,Yo as H,_E as I,Vl as J,Xy as K,Tr as L,Qy as M,Oo as N,Zb as O,B1 as P,aE as Q,ko as R,xo as S,L1 as T,G1 as U,yr as V,I1 as W,sv as X,Ar as Y,my as Z,Xb as _,Bt as a,Vb as a0,OE as a1,SE as a2,Gy as a3,il as a4,tl as a5,bo as a6,Ca as a7,al as a8,RE as a9,Yb as aa,Go as ab,J1 as ac,Ib as b,Ge as c,CE as d,qo as e,eS as f,Ly as g,kb as h,Ht as i,j,Kb as k,ta as l,nS as m,Jb as n,$b as o,Gb as p,Cy as q,p as r,ll as s,Zy as t,ct as u,AE as v,Fb as w,uy as x,Ur as y,xr as z}; diff --git a/compendium_v2/static/report.js b/compendium_v2/static/report.js deleted file mode 100644 index 9643bd22..00000000 --- a/compendium_v2/static/report.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["Budget-BaNd2jtG.js","main-BIBsTO5W.js","main.css","index-BBrAyDR9.js","useData-BDYwoQEh.js","xlsx-CxqzP9DR.js","index-D6hre9Be.js","hook-DmuGcAOd.js","charthelpers-CCaYPWnR.js","ChargingStructure-UaYN2mUD.js","PillTable-5pkcg2T9.js","ColorPill-CqT_mR3a.js","Table-HH9WOnMU.js","ECProjects-C-HN1lwo.js","NrenYearTable-BuqomkXK.js","FundingSource-DRHIT4Ra.js","chartjs-plugin-datalabels.esm-D8EJYoxA.js","ParentOrganisation-DJLeH6g7.js","StaffGraph-CRnD7Dbf.js","HTMLLegendPlugin-BO0IHS_R.js","StaffGraphAbsolute-1_iTYcqR.js","SubOrganisation-D8wGO2zm.js","Audits-z541eU6T.js","BusinessContinuity-BhppOK3E.js","CentralProcurement-BK_KYdQw.js","CorporateStrategy-Doz2JleE.js","CrisisExercises-DIq1DMCc.js","CrisisManagement-B-4V900E.js","EOSCListings-DkHlXFjZ.js","Policy-rfVVQ2MG.js","SecurityControls-Ct-pN0fH.js","ServiceLevelTargets-DkcKRrX5.js","ServiceManagementFramework-0pFJ2GJW.js","ServicesOffered-DAgKmLaL.js","ScrollableMatrix-Cdgj4J9X.js","ConnectedInstitutionsURLs-BSMQXsFI.js","ConnectedUser-BEMGNK1Q.js","RemoteCampuses-B7LZiN42.js","AlienWave-BToV9QLE.js","AlienWaveInternal-CYmkCEA6.js","Automation-CrHhcUVx.js","CapacityCoreIP-BzYm9HBi.js","CapacityLargestLink-CchKWKUR.js","CertificateProvider-B2MBeNfh.js","DarkFibreLease-DpIHorYZ.js","DarkFibreInstalled-BG9k0mWY.js","ExternalConnections-CYJLiQ46.js","FibreLight-4Mgdokfs.js","IRUDuration-D50DEG35.js","MonitoringTools-BuTC_DRa.js","NetworkFunctionVirtualisation-DMaSWRo0.js","NetworkMapUrls-YVUXOiQm.js","NonRAndEPeer-BvFWiPrM.js","OPsAutomation-mleIxb9-.js","PassiveMonitoring-BQaZqq7o.js","PertTeam-Dk6-ebg9.js","SiemVendors-AspEWRsK.js","TrafficRatio-CEE7weoG.js","TrafficUrl-DFoUKOws.js","TrafficVolume-5iEpLgxK.js","WeatherMap-CR-KiYaJ.js","Services-TWQx7C9G.js"])))=>i.map(i=>d[i]); -import{r as s,u as S,j as t,c as k,d as Je,a as R,b as Ye,C as O,L as a,e as z,R as L,A as ht,f as ft,P as _t,g as pt,h as ut,i as Qe,_ as c,k as xt,l as Ze,E as yt,O as jt,m as Nt,n as gt,G as vt,o as Et,p as bt}from"./main-BIBsTO5W.js";var j=(e=>(e.ConnectedProportion="proportion",e.ConnectivityLevel="level",e.ConnectionCarrier="carrier",e.ConnectivityLoad="load",e.ConnectivityGrowth="growth",e.CommercialConnectivity="commercial",e.CommercialChargingLevel="charging",e))(j||{}),y=(e=>(e.network_services="network_services",e.isp_support="isp_support",e.security="security",e.identity="identity",e.collaboration="collaboration",e.multimedia="multimedia",e.storage_and_hosting="storage_and_hosting",e.professional_services="professional_services",e))(y||{});const He=s.forwardRef(({className:e,bsPrefix:n,as:l="div",...i},r)=>(n=S(n,"card-body"),t.jsx(l,{ref:r,className:k(e,n),...i})));He.displayName="CardBody";const et=s.forwardRef(({className:e,bsPrefix:n,as:l="div",...i},r)=>(n=S(n,"card-footer"),t.jsx(l,{ref:r,className:k(e,n),...i})));et.displayName="CardFooter";const tt=s.createContext(null);tt.displayName="CardHeaderContext";const nt=s.forwardRef(({bsPrefix:e,className:n,as:l="div",...i},r)=>{const m=S(e,"card-header"),o=s.useMemo(()=>({cardHeaderBsPrefix:m}),[m]);return t.jsx(tt.Provider,{value:o,children:t.jsx(l,{ref:r,...i,className:k(n,m)})})});nt.displayName="CardHeader";const st=s.forwardRef(({bsPrefix:e,className:n,variant:l,as:i="img",...r},m)=>{const o=S(e,"card-img");return t.jsx(i,{ref:m,className:k(l?`${o}-${l}`:o,n),...r})});st.displayName="CardImg";const it=s.forwardRef(({className:e,bsPrefix:n,as:l="div",...i},r)=>(n=S(n,"card-img-overlay"),t.jsx(l,{ref:r,className:k(e,n),...i})));it.displayName="CardImgOverlay";const rt=s.forwardRef(({className:e,bsPrefix:n,as:l="a",...i},r)=>(n=S(n,"card-link"),t.jsx(l,{ref:r,className:k(e,n),...i})));rt.displayName="CardLink";const Ct=Je("h6"),at=s.forwardRef(({className:e,bsPrefix:n,as:l=Ct,...i},r)=>(n=S(n,"card-subtitle"),t.jsx(l,{ref:r,className:k(e,n),...i})));at.displayName="CardSubtitle";const lt=s.forwardRef(({className:e,bsPrefix:n,as:l="p",...i},r)=>(n=S(n,"card-text"),t.jsx(l,{ref:r,className:k(e,n),...i})));lt.displayName="CardText";const St=Je("h5"),ot=s.forwardRef(({className:e,bsPrefix:n,as:l=St,...i},r)=>(n=S(n,"card-title"),t.jsx(l,{ref:r,className:k(e,n),...i})));ot.displayName="CardTitle";const ct=s.forwardRef(({bsPrefix:e,className:n,bg:l,text:i,border:r,body:m=!1,children:o,as:d="div",...h},f)=>{const _=S(e,"card");return t.jsx(d,{ref:f,...h,className:k(n,_,l&&`bg-${l}`,i&&`text-${i}`,r&&`border-${r}`),children:m?t.jsx(He,{children:o}):o})});ct.displayName="Card";const C=Object.assign(ct,{Img:st,Title:ot,Subtitle:at,Body:He,Link:rt,Text:lt,Header:nt,Footer:et,ImgOverlay:it}),mt="/static/C4lsyu6A.svg",dt="/static/DhA-EmEc.svg";function Ke(){const e=R.c(13),{trackPageView:n}=Ye();let l,i;e[0]!==n?(l=()=>{n({documentTitle:"GEANT Compendium Landing Page"})},i=[n],e[0]=n,e[1]=l,e[2]=i):(l=e[1],i=e[2]),s.useEffect(l,i);let r;e[3]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("h1",{className:"geant-header",children:"THE GÉANT COMPENDIUM OF NRENS"}),e[3]=r):r=e[3];let m;e[4]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx(L,{children:t.jsxs("div",{className:"center-text",children:[r,t.jsxs("div",{className:"wordwrap pt-4",children:[t.jsx("p",{style:{textAlign:"left",fontSize:"20px"},children:"Each year GÉANT invites European National Research and Eduction Networks to fill in a questionnaire asking about their network, their organisation, standards and policies, connected users, and the services they offer their users. This Compendium of responses is an authoritative reference source for anyone with an interest in the development of research and education networking in Europe and beyond. No two NRENs are identical, with great diversity in their structures, funding, size, and focus."}),t.jsx("p",{style:{textAlign:"left",fontSize:"20px"},children:"The GÉANT Compendium of NRENs Report is published annually, using both data from the Compendium from other sources, including surveys and studies carried out within different teams within GÉANT and the NREN community. The Report gives a broad overview of the European NREN landscape, identifying developments and trends."}),t.jsx("p",{style:{textAlign:"left",fontSize:"20px"},children:"Compendium Data, the responses from the NRENs, are made available to be viewed and downloaded. Graphs, charts, and tables can be customised to show as many or few NRENs as required, across different years. These can be downloaded as images or in PDF form."})]})]})}),e[4]=m):m=e[4];let o;e[5]===Symbol.for("react.memo_cache_sentinel")?(o={backgroundColor:"white"},e[5]=o):o=e[5];let d;e[6]===Symbol.for("react.memo_cache_sentinel")?(d={width:"18rem"},e[6]=d):d=e[6];let h;e[7]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx(C.Img,{src:mt}),e[7]=h):h=e[7];let f;e[8]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(C.Title,{children:"Compendium Data"}),e[8]=f):f=e[8];let _;e[9]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx(O,{align:"center",children:t.jsx(C,{border:"light",style:d,children:t.jsxs(a,{to:"/data",className:"link-text",children:[h,t.jsxs(C.Body,{children:[f,t.jsx(C.Text,{children:t.jsx("span",{children:"Statistical representation of the annual Compendium Survey data is available here"})})]})]})})}),e[9]=_):_=e[9];let u;e[10]===Symbol.for("react.memo_cache_sentinel")?(u={width:"18rem"},e[10]=u):u=e[10];let p;e[11]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx(C.Img,{src:dt}),e[11]=p):p=e[11];let x;return e[12]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsxs(z,{className:"py-5 grey-container",children:[m,t.jsx(L,{children:t.jsx(O,{children:t.jsx(z,{style:o,className:"rounded-border",children:t.jsxs(L,{className:"justify-content-md-center",children:[_,t.jsx(O,{align:"center",children:t.jsx(C,{border:"light",style:u,children:t.jsxs("a",{href:"https://resources.geant.org/geant-compendia/",className:"link-text",target:"_blank",rel:"noreferrer",children:[p,t.jsxs(C.Body,{children:[t.jsx(C.Title,{children:"Compendium Reports"}),t.jsx(C.Text,{children:"A GÉANT Compendium Report is published annually, drawing on data from the Compendium Survey filled in by NRENs, complemented by information from other surveys"})]})]})})})]})})})})]}),e[12]=x):x=e[12],x}const V=e=>{const n=R.c(23),{title:l,children:i,startCollapsed:r,theme:m}=e,o=m===void 0?"":m,[d,h]=s.useState(!!r);let f;n[0]===Symbol.for("react.memo_cache_sentinel")?(f={color:"white",paddingBottom:"3px",marginTop:"3px",marginLeft:"3px",scale:"1.3"},n[0]=f):f=n[0];let _=f;if(o){let w;n[1]===Symbol.for("react.memo_cache_sentinel")?(w={..._,color:"black",fontWeight:"bold"},n[1]=w):w=n[1],_=w}const u=`collapsible-box${o} p-0`;let p;n[2]!==l?(p=t.jsx(O,{children:t.jsx("h1",{className:"bold-caps-16pt dark-teal pt-3 ps-3",children:l})}),n[2]=l,n[3]=p):p=n[3];const x=`toggle-btn${o} p-${o?3:2}`;let N;n[4]!==d?(N=()=>h(!d),n[4]=d,n[5]=N):N=n[5];let g;n[6]!==d||n[7]!==_?(g=d?t.jsx(ht,{style:_}):t.jsx(ft,{style:_}),n[6]=d,n[7]=_,n[8]=g):g=n[8];let v;n[9]!==x||n[10]!==N||n[11]!==g?(v=t.jsx(O,{className:"flex-grow-0 flex-shrink-1",children:t.jsx("div",{className:x,onClick:N,children:g})}),n[9]=x,n[10]=N,n[11]=g,n[12]=v):v=n[12];let E;n[13]!==p||n[14]!==v?(E=t.jsxs(L,{children:[p,v]}),n[13]=p,n[14]=v,n[15]=E):E=n[15];const T=`collapsible-content${d?" collapsed":""}`;let b;n[16]!==i||n[17]!==T?(b=t.jsx("div",{className:T,children:i}),n[16]=i,n[17]=T,n[18]=b):b=n[18];let P;return n[19]!==b||n[20]!==u||n[21]!==E?(P=t.jsxs("div",{className:u,children:[E,b]}),n[19]=b,n[20]=u,n[21]=E,n[22]=P):P=n[22],P};function kt(e){const n=R.c(8),{section:l}=e;let i;n[0]===Symbol.for("react.memo_cache_sentinel")?(i={display:"flex",alignSelf:"right",lineHeight:"1.5rem",marginTop:"0.5rem"},n[0]=i):i=n[0];let r,m;n[1]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("br",{}),m={float:"right"},n[1]=r,n[2]=m):(r=n[1],m=n[2]);let o;n[3]!==l?(o=t.jsx("div",{style:i,children:t.jsxs("span",{children:["Compendium ",r,t.jsx("span",{style:m,children:l})]})}),n[3]=l,n[4]=o):o=n[4];let d;n[5]===Symbol.for("react.memo_cache_sentinel")?(d=t.jsx("img",{src:dt,style:{maxWidth:"4rem"}}),n[5]=d):d=n[5];let h;return n[6]!==o?(h=t.jsxs("div",{className:"bold-caps-17pt section-container",children:[o,d]}),n[6]=o,n[7]=h):h=n[7],h}function Rt(e){const n=R.c(14),{type:l}=e;let i="";l=="data"?i=" compendium-data-header":l=="reports"&&(i=" compendium-reports-header");let r;n[0]===Symbol.for("react.memo_cache_sentinel")?(r={marginTop:"0.5rem"},n[0]=r):r=n[0];const m=l==="data"?"/data":"/";let o;n[1]===Symbol.for("react.memo_cache_sentinel")?(o={textDecoration:"none",color:"white"},n[1]=o):o=n[1];const d=l==="data"?"Data":"Reports";let h;n[2]!==d?(h=t.jsxs("span",{children:["Compendium ",d]}),n[2]=d,n[3]=h):h=n[3];let f;n[4]!==m||n[5]!==h?(f=t.jsx(O,{sm:8,children:t.jsx("h1",{className:"bold-caps-30pt",style:r,children:t.jsx(a,{to:m,style:o,children:h})})}),n[4]=m,n[5]=h,n[6]=f):f=n[6];let _;n[7]===Symbol.for("react.memo_cache_sentinel")?(_={color:"inherit"},n[7]=_):_=n[7];let u;n[8]===Symbol.for("react.memo_cache_sentinel")?(u=t.jsx(O,{sm:4,children:t.jsx("a",{style:_,href:"https://resources.geant.org/geant-compendia/",target:"_blank",rel:"noreferrer",children:t.jsx(kt,{section:"Reports"})})}),n[8]=u):u=n[8];let p;n[9]!==f?(p=t.jsx(z,{children:t.jsxs(L,{children:[f,u]})}),n[9]=f,n[10]=p):p=n[10];let x;return n[11]!==i||n[12]!==p?(x=t.jsx("div",{className:i,children:p}),n[11]=i,n[12]=p,n[13]=x):x=n[13],x}function Pt(e){const n=R.c(8),{children:l,type:i}=e;let r="";i=="data"?r=" compendium-data-banner":i=="reports"&&(r=" compendium-reports-banner");let m,o;n[0]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx("img",{src:mt,style:{maxWidth:"7rem",marginBottom:"1rem"}}),o={display:"flex",alignSelf:"right"},n[0]=m,n[1]=o):(m=n[0],o=n[1]);let d;n[2]===Symbol.for("react.memo_cache_sentinel")?(d={paddingTop:"1rem"},n[2]=d):d=n[2];let h;n[3]!==l?(h=t.jsx(z,{children:t.jsx(L,{children:t.jsx(L,{children:t.jsxs("div",{className:"section-container",children:[m,t.jsx("div",{style:o,children:t.jsx("div",{className:"center-text",style:d,children:l})})]})})})}),n[3]=l,n[4]=h):h=n[4];let f;return n[5]!==r||n[6]!==h?(f=t.jsx("div",{className:r,children:h}),n[5]=r,n[6]=h,n[7]=f):f=n[7],f}var D=(e=>(e.Organisation="ORGANISATION",e.Policy="STANDARDS AND POLICIES",e.ConnectedUsers="CONNECTED USERS",e.Network="NETWORK",e.Services="SERVICES",e))(D||{}),wt=(e=>(e.CSV="CSV",e.EXCEL="EXCEL",e))(wt||{}),Tt=(e=>(e.PNG="png",e.JPEG="jpeg",e.SVG="svg",e))(Tt||{});const Tn={universities:"Universities & Other (ISCED 6-8)",further_education:"Further education (ISCED 4-5)",secondary_schools:"Secondary schools (ISCED 2-3)",primary_schools:"Primary schools (ISCED 1)",institutes:"Research Institutes",cultural:"Libraries, Museums, Archives, Cultural institutions",hospitals:"Non-university public Hospitals",government:"Government departments (national, regional, local)",iros:"International (virtual) research organisations",for_profit_orgs:"For-profit organisations"},In={commercial_r_and_e:"Commercial R&E traffic only",commercial_general:"Commercial general",commercial_collaboration:"Commercial for collaboration only (project/time limited)",commercial_service_provider:"Commercial Service Provider",university_spin_off:"University Spin Off/Incubator"},Ln={collaboration:"Connection to your network for collaboration with R&E users",service_supplier:"Connection to your network for supplying services for R&E",direct_peering:"Direct peering (e.g. direct peering or cloud peering)"};function It(){const e=R.c(7),{preview:n,setPreview:l}=s.useContext(_t),{user:i}=s.useContext(pt),[r]=ut();let m;e[0]!==r?(m=r.get("preview"),e[0]=r,e[1]=m):m=e[1];const o=m;let d,h;return e[2]!==o||e[3]!==l||e[4]!==i?(d=()=>{o!==null&&(i.permissions.admin||i.role=="observer")&&l(!0)},h=[o,l,i],e[2]=o,e[3]=l,e[4]=i,e[5]=d,e[6]=h):(d=e[5],h=e[6]),s.useEffect(d,h),n}function Lt(){const e=R.c(82);It();const{trackPageView:n}=Ye();let l,i;e[0]!==n?(l=()=>{n({documentTitle:"Compendium Data"})},i=[n],e[0]=n,e[1]=l,e[2]=i):(l=e[1],i=e[2]),Qe.useEffect(l,i);let r;e[3]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(Rt,{type:"data"}),e[3]=r):r=e[3];let m;e[4]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx(Pt,{type:"data",children:t.jsx("p",{className:"wordwrap",children:"The GÉANT Compendium provides an authoritative reference source for anyone with an interest in the development of research and education networking in Europe and beyond. Published since 2001, the Compendium provides information on key areas such as users, services, traffic, budget and staffing."})}),e[4]=m):m=e[4];let o;e[5]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx("h6",{className:"section-title",children:"Budget, Income and Billing"}),e[5]=o):o=e[5];let d;e[6]===Symbol.for("react.memo_cache_sentinel")?(d=t.jsx(a,{to:"/budget",className:"link-text-underline",children:t.jsx("span",{children:"Budget of NRENs per Year"})}),e[6]=d):d=e[6];let h;e[7]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx(a,{to:"/funding",className:"link-text-underline",children:t.jsx("span",{children:"Income Source of NRENs"})}),e[7]=h):h=e[7];let f,_,u;e[8]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(a,{to:"/charging",className:"link-text-underline",children:t.jsx("span",{children:"Charging Mechanism of NRENs"})}),_=t.jsx("hr",{className:"fake-divider"}),u=t.jsx("h6",{className:"section-title",children:"Staff and Projects"}),e[8]=f,e[9]=_,e[10]=u):(f=e[8],_=e[9],u=e[10]);let p;e[11]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx(a,{to:"/employee-count",className:"link-text-underline",children:t.jsx("span",{children:"Number of NREN Employees"})}),e[11]=p):p=e[11];let x;e[12]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(a,{to:"/roles",className:"link-text-underline",children:t.jsx("span",{children:"Roles of NREN employees (Technical v. Non-Technical)"})}),e[12]=x):x=e[12];let N;e[13]===Symbol.for("react.memo_cache_sentinel")?(N=t.jsx(a,{to:"/employment",className:"link-text-underline",children:t.jsx("span",{children:"Types of Employment within NRENs"})}),e[13]=N):N=e[13];let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx(a,{to:"/suborganisations",className:"link-text-underline",children:t.jsx("span",{children:"NREN Sub-Organisations"})}),e[14]=g):g=e[14];let v;e[15]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsx(a,{to:"/parentorganisation",className:"link-text-underline",children:t.jsx("span",{children:"NREN Parent Organisations"})}),e[15]=v):v=e[15];let E;e[16]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsxs(V,{title:D.Organisation,children:[o,d,h,f,_,u,p,x,N,g,v,t.jsx(a,{to:"/ec-projects",className:"link-text-underline",children:t.jsx("span",{children:"NREN Involvement in European Commission Projects"})})]}),e[16]=E):E=e[16];let T,b;e[17]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx(a,{to:"/policy",className:"link-text-underline",children:t.jsx("span",{children:"NREN Policies"})}),b=t.jsx("h6",{className:"section-title",children:"Standards"}),e[17]=T,e[18]=b):(T=e[17],b=e[18]);let P;e[19]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx(a,{to:"/audits",className:"link-text-underline",children:t.jsx("span",{children:"External and Internal Audits of Information Security Management Systems"})}),e[19]=P):P=e[19];let w;e[20]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx(a,{to:"/business-continuity",className:"link-text-underline",children:t.jsx("span",{children:"NREN Business Continuity Planning"})}),e[20]=w):w=e[20];let M;e[21]===Symbol.for("react.memo_cache_sentinel")?(M=t.jsx(a,{to:"/central-procurement",className:"link-text-underline",children:t.jsx("span",{children:"Central Procurement of Software"})}),e[21]=M):M=e[21];let F;e[22]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsx(a,{to:"/crisis-management",className:"link-text-underline",children:t.jsx("span",{children:"Crisis Management Procedures"})}),e[22]=F):F=e[22];let G;e[23]===Symbol.for("react.memo_cache_sentinel")?(G=t.jsx(a,{to:"/crisis-exercise",className:"link-text-underline",children:t.jsx("span",{children:"Crisis Exercises - NREN Operation and Participation"})}),e[23]=G):G=e[23];let U;e[24]===Symbol.for("react.memo_cache_sentinel")?(U=t.jsx(a,{to:"/security-control",className:"link-text-underline",children:t.jsx("span",{children:"Security Controls Used by NRENs"})}),e[24]=U):U=e[24];let $;e[25]===Symbol.for("react.memo_cache_sentinel")?($=t.jsx(a,{to:"/services-offered",className:"link-text-underline",children:t.jsx("span",{children:"Services Offered by NRENs by Types of Users"})}),e[25]=$):$=e[25];let B;e[26]===Symbol.for("react.memo_cache_sentinel")?(B=t.jsx(a,{to:"/corporate-strategy",className:"link-text-underline",children:t.jsx("span",{children:"NREN Corporate Strategies "})}),e[26]=B):B=e[26];let W;e[27]===Symbol.for("react.memo_cache_sentinel")?(W=t.jsx(a,{to:"/service-level-targets",className:"link-text-underline",children:t.jsx("span",{children:"NRENs Offering Service Level Targets"})}),e[27]=W):W=e[27];let H;e[28]===Symbol.for("react.memo_cache_sentinel")?(H=t.jsxs(V,{title:D.Policy,startCollapsed:!0,children:[T,b,P,w,M,F,G,U,$,B,W,t.jsx(a,{to:"/service-management-framework",className:"link-text-underline",children:t.jsx("span",{children:"NRENs Operating a Formal Service Management Framework"})})]}),e[28]=H):H=e[28];let K;e[29]===Symbol.for("react.memo_cache_sentinel")?(K=t.jsx("h6",{className:"section-title",children:"Connected Users"}),e[29]=K):K=e[29];let q;e[30]===Symbol.for("react.memo_cache_sentinel")?(q=t.jsx(a,{to:"/institutions-urls",className:"link-text-underline",children:t.jsx("span",{children:"Webpages Listing Institutions and Organisations Connected to NREN Networks"})}),e[30]=q):q=e[30];let X;e[31]===Symbol.for("react.memo_cache_sentinel")?(X=t.jsx(a,{to:"/connected-proportion",className:"link-text-underline",children:t.jsx("span",{children:"Proportion of Different Categories of Institutions Served by NRENs"})}),e[31]=X):X=e[31];let J;e[32]===Symbol.for("react.memo_cache_sentinel")?(J=t.jsx(a,{to:"/connectivity-level",className:"link-text-underline",children:t.jsx("span",{children:"Level of IP Connectivity by Institution Type"})}),e[32]=J):J=e[32];let Y;e[33]===Symbol.for("react.memo_cache_sentinel")?(Y=t.jsx(a,{to:"/connection-carrier",className:"link-text-underline",children:t.jsx("span",{children:"Methods of Carrying IP Traffic to Users"})}),e[33]=Y):Y=e[33];let Q;e[34]===Symbol.for("react.memo_cache_sentinel")?(Q=t.jsx(a,{to:"/connectivity-load",className:"link-text-underline",children:t.jsx("span",{children:"Connectivity Load"})}),e[34]=Q):Q=e[34];let Z;e[35]===Symbol.for("react.memo_cache_sentinel")?(Z=t.jsx(a,{to:"/connectivity-growth",className:"link-text-underline",children:t.jsx("span",{children:"Connectivity Growth"})}),e[35]=Z):Z=e[35];let ee,te,ne;e[36]===Symbol.for("react.memo_cache_sentinel")?(ee=t.jsx(a,{to:"/remote-campuses",className:"link-text-underline",children:t.jsx("span",{children:"NREN Connectivity to Remote Campuses in Other Countries"})}),te=t.jsx("hr",{className:"fake-divider"}),ne=t.jsx("h6",{className:"section-title",children:"Connected Users - Commercial"}),e[36]=ee,e[37]=te,e[38]=ne):(ee=e[36],te=e[37],ne=e[38]);let se;e[39]===Symbol.for("react.memo_cache_sentinel")?(se=t.jsx(a,{to:"/commercial-charging-level",className:"link-text-underline",children:t.jsx("span",{children:"Commercial Charging Level"})}),e[39]=se):se=e[39];let ie;e[40]===Symbol.for("react.memo_cache_sentinel")?(ie=t.jsxs(V,{title:D.ConnectedUsers,startCollapsed:!0,children:[K,q,X,J,Y,Q,Z,ee,te,ne,se,t.jsx(a,{to:"/commercial-connectivity",className:"link-text-underline",children:t.jsx("span",{children:"Commercial Connectivity"})})]}),e[40]=ie):ie=e[40];let re;e[41]===Symbol.for("react.memo_cache_sentinel")?(re=t.jsx("h6",{className:"section-title",children:"Connectivity"}),e[41]=re):re=e[41];let ae;e[42]===Symbol.for("react.memo_cache_sentinel")?(ae=t.jsx(a,{to:"/traffic-volume",className:"link-text-underline",children:t.jsx("span",{children:"NREN Traffic - NREN Customers & External Networks"})}),e[42]=ae):ae=e[42];let le;e[43]===Symbol.for("react.memo_cache_sentinel")?(le=t.jsx(a,{to:"/iru-duration",className:"link-text-underline",children:t.jsx("span",{children:"Average Duration of IRU leases of Fibre by NRENs"})}),e[43]=le):le=e[43];let oe;e[44]===Symbol.for("react.memo_cache_sentinel")?(oe=t.jsx(a,{to:"/fibre-light",className:"link-text-underline",children:t.jsx("span",{children:"Approaches to lighting NREN fibre networks"})}),e[44]=oe):oe=e[44];let ce;e[45]===Symbol.for("react.memo_cache_sentinel")?(ce=t.jsx(a,{to:"/dark-fibre-lease",className:"link-text-underline",children:t.jsx("span",{children:"Kilometres of Leased Dark Fibre (National)"})}),e[45]=ce):ce=e[45];let me;e[46]===Symbol.for("react.memo_cache_sentinel")?(me=t.jsx(a,{to:"/dark-fibre-lease-international",className:"link-text-underline",children:t.jsx("span",{children:"Kilometres of Leased Dark Fibre (International)"})}),e[46]=me):me=e[46];let de;e[47]===Symbol.for("react.memo_cache_sentinel")?(de=t.jsx(a,{to:"/dark-fibre-installed",className:"link-text-underline",children:t.jsx("span",{children:"Kilometres of Installed Dark Fibre"})}),e[47]=de):de=e[47];let he,fe,_e;e[48]===Symbol.for("react.memo_cache_sentinel")?(he=t.jsx(a,{to:"/network-map",className:"link-text-underline",children:t.jsx("span",{children:"NREN Network Maps"})}),fe=t.jsx("hr",{className:"fake-divider"}),_e=t.jsx("h6",{className:"section-title",children:"Performance Monitoring & Management"}),e[48]=he,e[49]=fe,e[50]=_e):(he=e[48],fe=e[49],_e=e[50]);let pe;e[51]===Symbol.for("react.memo_cache_sentinel")?(pe=t.jsx(a,{to:"/monitoring-tools",className:"link-text-underline",children:t.jsx("span",{children:"Tools for Monitoring or Troubleshooting the Network - Offered to Client Institutions"})}),e[51]=pe):pe=e[51];let ue;e[52]===Symbol.for("react.memo_cache_sentinel")?(ue=t.jsx(a,{to:"/pert-team",className:"link-text-underline",children:t.jsx("span",{children:"NRENs with Performance Enhancement Response Teams"})}),e[52]=ue):ue=e[52];let xe;e[53]===Symbol.for("react.memo_cache_sentinel")?(xe=t.jsx(a,{to:"/passive-monitoring",className:"link-text-underline",children:t.jsx("span",{children:"Methods for Passively Monitoring International Traffic"})}),e[53]=xe):xe=e[53];let ye;e[54]===Symbol.for("react.memo_cache_sentinel")?(ye=t.jsx(a,{to:"/traffic-stats",className:"link-text-underline",children:t.jsx("span",{children:"Traffic Statistics "})}),e[54]=ye):ye=e[54];let je;e[55]===Symbol.for("react.memo_cache_sentinel")?(je=t.jsx(a,{to:"/weather-map",className:"link-text-underline",children:t.jsx("span",{children:"NREN Online Network Weather Maps "})}),e[55]=je):je=e[55];let Ne;e[56]===Symbol.for("react.memo_cache_sentinel")?(Ne=t.jsx(a,{to:"/certificate-provider",className:"link-text-underline",children:t.jsx("span",{children:"Certification Services used by NRENs"})}),e[56]=Ne):Ne=e[56];let ge,ve,Ee;e[57]===Symbol.for("react.memo_cache_sentinel")?(ge=t.jsx(a,{to:"/siem-vendors",className:"link-text-underline",children:t.jsx("span",{children:"Vendors of SIEM/SOC systems used by NRENs"})}),ve=t.jsx("hr",{className:"fake-divider"}),Ee=t.jsx("h6",{className:"section-title",children:"Alienwave"}),e[57]=ge,e[58]=ve,e[59]=Ee):(ge=e[57],ve=e[58],Ee=e[59]);let be;e[60]===Symbol.for("react.memo_cache_sentinel")?(be=t.jsx(a,{to:"/alien-wave",className:"link-text-underline",children:t.jsx("span",{children:"NREN Use of 3rd Party Alienwave/Lightpath Services"})}),e[60]=be):be=e[60];let Ce,Se,ke;e[61]===Symbol.for("react.memo_cache_sentinel")?(Ce=t.jsx(a,{to:"/alien-wave-internal",className:"link-text-underline",children:t.jsx("span",{children:"Internal NREN Use of Alien Waves"})}),Se=t.jsx("hr",{className:"fake-divider"}),ke=t.jsx("h6",{className:"section-title",children:"Capacity"}),e[61]=Ce,e[62]=Se,e[63]=ke):(Ce=e[61],Se=e[62],ke=e[63]);let Re;e[64]===Symbol.for("react.memo_cache_sentinel")?(Re=t.jsx(a,{to:"/capacity-largest-link",className:"link-text-underline",children:t.jsx("span",{children:"Capacity of the Largest Link in an NREN Network"})}),e[64]=Re):Re=e[64];let Pe;e[65]===Symbol.for("react.memo_cache_sentinel")?(Pe=t.jsx(a,{to:"/external-connections",className:"link-text-underline",children:t.jsx("span",{children:"NREN External IP Connections"})}),e[65]=Pe):Pe=e[65];let we;e[66]===Symbol.for("react.memo_cache_sentinel")?(we=t.jsx(a,{to:"/capacity-core-ip",className:"link-text-underline",children:t.jsx("span",{children:"NREN Core IP Capacity"})}),e[66]=we):we=e[66];let Te;e[67]===Symbol.for("react.memo_cache_sentinel")?(Te=t.jsx(a,{to:"/non-rne-peers",className:"link-text-underline",children:t.jsx("span",{children:"Number of Non-R&E Networks NRENs Peer With"})}),e[67]=Te):Te=e[67];let Ie,Le,Ae;e[68]===Symbol.for("react.memo_cache_sentinel")?(Ie=t.jsx(a,{to:"/traffic-ratio",className:"link-text-underline",children:t.jsx("span",{children:"Types of traffic in NREN networks"})}),Le=t.jsx("hr",{className:"fake-divider"}),Ae=t.jsx("h6",{className:"section-title",children:"Software-Defined Networking (SDN) & Network Function Virtualisation(NFV)"}),e[68]=Ie,e[69]=Le,e[70]=Ae):(Ie=e[68],Le=e[69],Ae=e[70]);let Oe;e[71]===Symbol.for("react.memo_cache_sentinel")?(Oe=t.jsx(a,{to:"/ops-automation",className:"link-text-underline",children:t.jsx("span",{children:"NREN Automation of Operational Processes"})}),e[71]=Oe):Oe=e[71];let De;e[72]===Symbol.for("react.memo_cache_sentinel")?(De=t.jsx(a,{to:"/network-automation",className:"link-text-underline",children:t.jsx("span",{children:"Network Tasks for which NRENs Use Automation "})}),e[72]=De):De=e[72];let Ve;e[73]===Symbol.for("react.memo_cache_sentinel")?(Ve=t.jsxs(V,{title:D.Network,startCollapsed:!0,children:[re,ae,le,oe,ce,me,de,he,fe,_e,pe,ue,xe,ye,je,Ne,ge,ve,Ee,be,Ce,Se,ke,Re,Pe,we,Te,Ie,Le,Ae,Oe,De,t.jsx(a,{to:"/nfv",className:"link-text-underline",children:t.jsx("span",{children:"Kinds of Network Function Virtualisation used by NRENs"})})]}),e[73]=Ve):Ve=e[73];let ze;e[74]===Symbol.for("react.memo_cache_sentinel")?(ze=t.jsx(a,{to:"/network-services",className:"link-text-underline",children:t.jsx("span",{children:"Network services"})}),e[74]=ze):ze=e[74];let Me;e[75]===Symbol.for("react.memo_cache_sentinel")?(Me=t.jsx(a,{to:"/isp-support-services",className:"link-text-underline",children:t.jsx("span",{children:"ISP support services"})}),e[75]=Me):Me=e[75];let Fe;e[76]===Symbol.for("react.memo_cache_sentinel")?(Fe=t.jsx(a,{to:"/security-services",className:"link-text-underline",children:t.jsx("span",{children:"Security services"})}),e[76]=Fe):Fe=e[76];let Ge;e[77]===Symbol.for("react.memo_cache_sentinel")?(Ge=t.jsx(a,{to:"/identity-services",className:"link-text-underline",children:t.jsx("span",{children:"Identity services"})}),e[77]=Ge):Ge=e[77];let Ue;e[78]===Symbol.for("react.memo_cache_sentinel")?(Ue=t.jsx(a,{to:"/collaboration-services",className:"link-text-underline",children:t.jsx("span",{children:"Collaboration services"})}),e[78]=Ue):Ue=e[78];let $e;e[79]===Symbol.for("react.memo_cache_sentinel")?($e=t.jsx(a,{to:"/multimedia-services",className:"link-text-underline",children:t.jsx("span",{children:"Multimedia services"})}),e[79]=$e):$e=e[79];let Be;e[80]===Symbol.for("react.memo_cache_sentinel")?(Be=t.jsx(a,{to:"/storage-and-hosting-services",className:"link-text-underline",children:t.jsx("span",{children:"Storage and hosting services"})}),e[80]=Be):Be=e[80];let We;return e[81]===Symbol.for("react.memo_cache_sentinel")?(We=t.jsxs(t.Fragment,{children:[r,m,t.jsx(z,{className:"mt-5 mb-5",children:t.jsxs(L,{children:[E,H,ie,Ve,t.jsxs(V,{title:D.Services,startCollapsed:!0,children:[ze,Me,Fe,Ge,Ue,$e,Be,t.jsx(a,{to:"/professional-services",className:"link-text-underline",children:t.jsx("span",{children:"Professional services"})})]})]})})]}),e[81]=We):We=e[81],We}const At=s.lazy(()=>c(()=>import("./Budget-BaNd2jtG.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),Ot=s.lazy(()=>c(()=>import("./ChargingStructure-UaYN2mUD.js"),__vite__mapDeps([9,1,2,4,5,6,7,10,11,12]))),Dt=s.lazy(()=>c(()=>import("./ECProjects-C-HN1lwo.js"),__vite__mapDeps([13,1,2,4,5,6,7,14,12]))),Vt=s.lazy(()=>c(()=>import("./FundingSource-DRHIT4Ra.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,16]))),zt=s.lazy(()=>c(()=>import("./ParentOrganisation-DJLeH6g7.js"),__vite__mapDeps([17,1,2,4,5,6,7,14,12]))),qe=s.lazy(()=>c(()=>import("./StaffGraph-CRnD7Dbf.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,19]))),Mt=s.lazy(()=>c(()=>import("./StaffGraphAbsolute-1_iTYcqR.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,16,8]))),Ft=s.lazy(()=>c(()=>import("./SubOrganisation-D8wGO2zm.js"),__vite__mapDeps([21,1,2,4,5,6,7,14,12]))),Gt=s.lazy(()=>c(()=>import("./Audits-z541eU6T.js"),__vite__mapDeps([22,1,2,4,5,6,7,10,11,12]))),Ut=s.lazy(()=>c(()=>import("./BusinessContinuity-BhppOK3E.js"),__vite__mapDeps([23,1,2,4,5,6,7,10,11,12]))),$t=s.lazy(()=>c(()=>import("./CentralProcurement-BK_KYdQw.js"),__vite__mapDeps([24,1,2,4,5,6,7,16,3,8]))),Bt=s.lazy(()=>c(()=>import("./CorporateStrategy-Doz2JleE.js"),__vite__mapDeps([25,1,2,4,5,6,7,14,12]))),Wt=s.lazy(()=>c(()=>import("./CrisisExercises-DIq1DMCc.js"),__vite__mapDeps([26,1,2,4,5,6,7,10,11,12]))),Ht=s.lazy(()=>c(()=>import("./CrisisManagement-B-4V900E.js"),__vite__mapDeps([27,1,2,4,5,6,7,10,11,12]))),Kt=s.lazy(()=>c(()=>import("./EOSCListings-DkHlXFjZ.js"),__vite__mapDeps([28,1,2,4,5,6,7,14,12]))),qt=s.lazy(()=>c(()=>import("./Policy-rfVVQ2MG.js"),__vite__mapDeps([29,1,2,4,5,6,7,14,12]))),Xt=s.lazy(()=>c(()=>import("./SecurityControls-Ct-pN0fH.js"),__vite__mapDeps([30,1,2,4,5,6,7,10,11,12]))),Jt=s.lazy(()=>c(()=>import("./ServiceLevelTargets-DkcKRrX5.js"),__vite__mapDeps([31,1,2,4,5,6,7,10,11,12]))),Yt=s.lazy(()=>c(()=>import("./ServiceManagementFramework-0pFJ2GJW.js"),__vite__mapDeps([32,1,2,4,5,6,7,10,11,12]))),Qt=s.lazy(()=>c(()=>import("./ServicesOffered-DAgKmLaL.js"),__vite__mapDeps([33,1,2,4,5,6,7,34,12]))),Zt=s.lazy(()=>c(()=>import("./ConnectedInstitutionsURLs-BSMQXsFI.js"),__vite__mapDeps([35,1,2,4,5,6,7,14,12]))),A=s.lazy(()=>c(()=>import("./ConnectedUser-BEMGNK1Q.js"),__vite__mapDeps([36,1,2,4,5,6,7,34,12]))),en=s.lazy(()=>c(()=>import("./RemoteCampuses-B7LZiN42.js"),__vite__mapDeps([37,1,2,4,5,6,7,12]))),tn=s.lazy(()=>c(()=>import("./AlienWave-BToV9QLE.js"),__vite__mapDeps([38,1,2,4,5,6,7,10,11,12]))),nn=s.lazy(()=>c(()=>import("./AlienWaveInternal-CYmkCEA6.js"),__vite__mapDeps([39,1,2,4,5,6,7,10,11,12]))),sn=s.lazy(()=>c(()=>import("./Automation-CrHhcUVx.js"),__vite__mapDeps([40,1,2,4,5,6,7,11,12]))),rn=s.lazy(()=>c(()=>import("./CapacityCoreIP-BzYm9HBi.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,16,8]))),an=s.lazy(()=>c(()=>import("./CapacityLargestLink-CchKWKUR.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,16,8]))),ln=s.lazy(()=>c(()=>import("./CertificateProvider-B2MBeNfh.js"),__vite__mapDeps([43,1,2,4,5,6,7,10,11,12]))),Xe=s.lazy(()=>c(()=>import("./DarkFibreLease-DpIHorYZ.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8]))),on=s.lazy(()=>c(()=>import("./DarkFibreInstalled-BG9k0mWY.js"),__vite__mapDeps([45,1,2,3,4,5,6,7,8]))),cn=s.lazy(()=>c(()=>import("./ExternalConnections-CYJLiQ46.js"),__vite__mapDeps([46,1,2,4,5,6,7,12]))),mn=s.lazy(()=>c(()=>import("./FibreLight-4Mgdokfs.js"),__vite__mapDeps([47,1,2,4,5,6,7,10,11,12]))),dn=s.lazy(()=>c(()=>import("./IRUDuration-D50DEG35.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8]))),hn=s.lazy(()=>c(()=>import("./MonitoringTools-BuTC_DRa.js"),__vite__mapDeps([49,1,2,4,5,6,7,10,11,12]))),fn=s.lazy(()=>c(()=>import("./NetworkFunctionVirtualisation-DMaSWRo0.js"),__vite__mapDeps([50,1,2,4,5,6,7,11,12]))),_n=s.lazy(()=>c(()=>import("./NetworkMapUrls-YVUXOiQm.js"),__vite__mapDeps([51,1,2,4,5,6,7,14,12]))),pn=s.lazy(()=>c(()=>import("./NonRAndEPeer-BvFWiPrM.js"),__vite__mapDeps([52,1,2,3,4,5,6,7,16,8]))),un=s.lazy(()=>c(()=>import("./OPsAutomation-mleIxb9-.js"),__vite__mapDeps([53,1,2,4,5,6,7,10,11,12]))),xn=s.lazy(()=>c(()=>import("./PassiveMonitoring-BQaZqq7o.js"),__vite__mapDeps([54,1,2,4,5,6,7,10,11,12]))),yn=s.lazy(()=>c(()=>import("./PertTeam-Dk6-ebg9.js"),__vite__mapDeps([55,1,2,4,5,6,7,10,11,12]))),jn=s.lazy(()=>c(()=>import("./SiemVendors-AspEWRsK.js"),__vite__mapDeps([56,1,2,4,5,6,7,10,11,12]))),Nn=s.lazy(()=>c(()=>import("./TrafficRatio-CEE7weoG.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,19]))),gn=s.lazy(()=>c(()=>import("./TrafficUrl-DFoUKOws.js"),__vite__mapDeps([58,1,2,4,5,6,7,14,12]))),vn=s.lazy(()=>c(()=>import("./TrafficVolume-5iEpLgxK.js"),__vite__mapDeps([59,1,2,3,4,5,6,7,8]))),En=s.lazy(()=>c(()=>import("./WeatherMap-CR-KiYaJ.js"),__vite__mapDeps([60,1,2,4,5,6,7,14,12]))),I=s.lazy(()=>c(()=>import("./Services-TWQx7C9G.js"),__vite__mapDeps([61,1,2,4,5,6,7,12]))),bn=()=>{const e=R.c(9),{pathname:n}=Ze(),l=n!=="/";let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(yt,{}),e[0]=i):i=e[0];let r;e[1]!==l?(r=t.jsx("main",{className:"grow",children:l?t.jsx(jt,{}):t.jsx(Ke,{})}),e[1]=l,e[2]=r):r=e[2];let m;e[3]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsx(Nt,{}),e[3]=m):m=e[3];let o;e[4]!==r?(o=t.jsxs(gt,{children:[i,r,m]}),e[4]=r,e[5]=o):o=e[5];let d;e[6]===Symbol.for("react.memo_cache_sentinel")?(d=t.jsx(vt,{}),e[6]=d):d=e[6];let h;return e[7]!==o?(h=t.jsxs(t.Fragment,{children:[o,d]}),e[7]=o,e[8]=h):h=e[8],h},Cn=()=>{const e=R.c(4),{pathname:n}=Ze();let l,i;e[0]!==n?(l=()=>{n.startsWith("/survey")?window.location.replace(n):window.location.replace(`/survey${n}`)},i=[n],e[0]=n,e[1]=l,e[2]=i):(l=e[1],i=e[2]),s.useEffect(l,i);let r;return e[3]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(Ke,{}),e[3]=r):r=e[3],r},Sn=xt([{path:"",element:t.jsx(bn,{}),children:[{path:"/budget",element:t.jsx(At,{})},{path:"/funding",element:t.jsx(Vt,{})},{path:"/employment",element:t.jsx(qe,{},"staffgraph")},{path:"/traffic-ratio",element:t.jsx(Nn,{})},{path:"/roles",element:t.jsx(qe,{roles:!0},"staffgraphroles")},{path:"/employee-count",element:t.jsx(Mt,{})},{path:"/charging",element:t.jsx(Ot,{})},{path:"/suborganisations",element:t.jsx(Ft,{})},{path:"/parentorganisation",element:t.jsx(zt,{})},{path:"/ec-projects",element:t.jsx(Dt,{})},{path:"/policy",element:t.jsx(qt,{})},{path:"/traffic-volume",element:t.jsx(vn,{})},{path:"/data",element:t.jsx(Lt,{})},{path:"/institutions-urls",element:t.jsx(Zt,{})},{path:"/connected-proportion",element:t.jsx(A,{page:j.ConnectedProportion},j.ConnectedProportion)},{path:"/connectivity-level",element:t.jsx(A,{page:j.ConnectivityLevel},j.ConnectivityLevel)},{path:"/connectivity-growth",element:t.jsx(A,{page:j.ConnectivityGrowth},j.ConnectivityGrowth)},{path:"/connection-carrier",element:t.jsx(A,{page:j.ConnectionCarrier},j.ConnectionCarrier)},{path:"/connectivity-load",element:t.jsx(A,{page:j.ConnectivityLoad},j.ConnectivityLoad)},{path:"/commercial-charging-level",element:t.jsx(A,{page:j.CommercialChargingLevel},j.CommercialChargingLevel)},{path:"/commercial-connectivity",element:t.jsx(A,{page:j.CommercialConnectivity},j.CommercialConnectivity)},{path:"/network-services",element:t.jsx(I,{category:y.network_services},y.network_services)},{path:"/isp-support-services",element:t.jsx(I,{category:y.isp_support},y.isp_support)},{path:"/security-services",element:t.jsx(I,{category:y.security},y.security)},{path:"/identity-services",element:t.jsx(I,{category:y.identity},y.identity)},{path:"/collaboration-services",element:t.jsx(I,{category:y.collaboration},y.collaboration)},{path:"/multimedia-services",element:t.jsx(I,{category:y.multimedia},y.multimedia)},{path:"/storage-and-hosting-services",element:t.jsx(I,{category:y.storage_and_hosting},y.storage_and_hosting)},{path:"/professional-services",element:t.jsx(I,{category:y.professional_services},y.professional_services)},{path:"/dark-fibre-lease",element:t.jsx(Xe,{national:!0},"darkfibrenational")},{path:"/dark-fibre-lease-international",element:t.jsx(Xe,{},"darkfibreinternational")},{path:"/dark-fibre-installed",element:t.jsx(on,{})},{path:"/remote-campuses",element:t.jsx(en,{})},{path:"/eosc-listings",element:t.jsx(Kt,{})},{path:"/fibre-light",element:t.jsx(mn,{})},{path:"/monitoring-tools",element:t.jsx(hn,{})},{path:"/pert-team",element:t.jsx(yn,{})},{path:"/passive-monitoring",element:t.jsx(xn,{})},{path:"/alien-wave",element:t.jsx(tn,{})},{path:"/alien-wave-internal",element:t.jsx(nn,{})},{path:"/external-connections",element:t.jsx(cn,{})},{path:"/ops-automation",element:t.jsx(un,{})},{path:"/network-automation",element:t.jsx(sn,{})},{path:"/traffic-stats",element:t.jsx(gn,{})},{path:"/weather-map",element:t.jsx(En,{})},{path:"/network-map",element:t.jsx(_n,{})},{path:"/nfv",element:t.jsx(fn,{})},{path:"/certificate-providers",element:t.jsx(ln,{})},{path:"/siem-vendors",element:t.jsx(jn,{})},{path:"/capacity-largest-link",element:t.jsx(an,{})},{path:"/capacity-core-ip",element:t.jsx(rn,{})},{path:"/non-rne-peers",element:t.jsx(pn,{})},{path:"/iru-duration",element:t.jsx(dn,{})},{path:"/audits",element:t.jsx(Gt,{})},{path:"/business-continuity",element:t.jsx(Ut,{})},{path:"/crisis-management",element:t.jsx(Ht,{})},{path:"/crisis-exercise",element:t.jsx(Wt,{})},{path:"/central-procurement",element:t.jsx($t,{})},{path:"/security-control",element:t.jsx(Xt,{})},{path:"/services-offered",element:t.jsx(Qt,{})},{path:"/service-management-framework",element:t.jsx(Yt,{})},{path:"/service-level-targets",element:t.jsx(Jt,{})},{path:"/corporate-strategy",element:t.jsx(Bt,{})},{path:"/survey/*",element:t.jsx(Cn,{})},{path:"*",element:t.jsx(Ke,{})}]}]);function kn(){const e=R.c(1);let n;return e[0]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx("div",{className:"app",children:t.jsx(Et,{router:Sn})}),e[0]=n):n=e[0],n}const Rn=document.getElementById("root"),Pn=bt.createRoot(Rn);Pn.render(t.jsx(Qe.StrictMode,{children:t.jsx(kn,{})}));export{j as C,wt as E,Tt as I,D as S,Tn as U,In as a,Ln as b,V as c,Rt as d,y as e,It as u}; diff --git a/compendium_v2/static/survey-3meXCY6T.js b/compendium_v2/static/survey-3meXCY6T.js new file mode 100644 index 00000000..459a5bed --- /dev/null +++ b/compendium_v2/static/survey-3meXCY6T.js @@ -0,0 +1 @@ +async function a(){try{return await(await fetch("/api/survey/list")).json()}catch{return[]}}async function s(){try{const r=await(await fetch("/api/survey/active/year")).json();return"year"in r?r.year.toString():(console.log("Invalid response format: Failed fetching active survey year."),"")}catch(e){return console.error("Failed fetching active survey year:",e),""}}export{a,s as f}; diff --git a/compendium_v2/static/survey.html b/compendium_v2/static/survey.html deleted file mode 100644 index 97c5d671..00000000 --- a/compendium_v2/static/survey.html +++ /dev/null @@ -1,15 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="utf-8"/> - <title>Compendium Survey</title> - <script type="module" crossorigin src="/static/survey.js"></script> - <link rel="modulepreload" crossorigin href="/static/main-BIBsTO5W.js"> - <link rel="modulepreload" crossorigin href="/static/xlsx-CxqzP9DR.js"> - <link rel="modulepreload" crossorigin href="/static/Table-HH9WOnMU.js"> - <link rel="stylesheet" crossorigin href="/static/main.css"> -</head> -<body> - <div id="root"></div> -</body> -</html> \ No newline at end of file diff --git a/compendium_v2/static/survey.js b/compendium_v2/static/survey.js deleted file mode 100644 index 4fc87fd5..00000000 --- a/compendium_v2/static/survey.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["SurveyContainerComponent-D59B1_HE.js","main-BIBsTO5W.js","main.css","index-CuSQpLoM.js","Schema-BuKG9dA7.js","xlsx-CxqzP9DR.js","Table-HH9WOnMU.js","Bx5HfHBo.css","SurveyManagementComponent-DMYN1lq-.js","lodash-BjwYmmCl.js","hook-DmuGcAOd.js","UserManagementComponent-CiWfGwDf.js","index-D6hre9Be.js"])))=>i.map(i=>d[i]); -import{a as S,j as t,b as Z,r as f,g as ee,q as te,L as H,e as ne,R as re,_ as q,k as se,l as oe,o as ae,E as le,O as ie,m as ce,n as de,G as me,p as he,i as ue}from"./main-BIBsTO5W.js";import{L as W,S as fe,u as b,w as ye}from"./xlsx-CxqzP9DR.js";import{T as pe}from"./Table-HH9WOnMU.js";async function xe(){try{return await(await fetch("/api/survey/list")).json()}catch{return[]}}async function je(){try{const n=await(await fetch("/api/survey/active/year")).json();return"year"in n?n.year.toString():(console.log("Invalid response format: Failed fetching active survey year."),"")}catch(e){return console.error("Failed fetching active survey year:",e),""}}const ve=()=>{const e=S.c(4);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx("h5",{className:"section-title",children:"Management Links"}),e[0]=n):n=e[0];let o;e[1]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx(W,{to:"/survey",children:t.jsx("span",{children:"Survey Home"})}),e[1]=o):o=e[1];let s;e[2]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(W,{to:"/survey/admin/users",children:t.jsx("span",{children:"Compendium User Management"})}),e[2]=s):s=e[2];let r;return e[3]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsxs(fe,{survey:!0,children:[n,o,s,t.jsx(W,{to:"/survey/admin/surveys",children:t.jsx("span",{children:"Compendium Survey Management"})})]}),e[3]=r):r=e[3],r},_e=()=>{const e=S.c(7),[n,o]=f.useState();let s,r;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{xe().then(a=>{o(a[0])})},r=[],e[0]=s,e[1]=r):(s=e[0],r=e[1]),f.useEffect(s,r);let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{children:"(N)REN"}),t.jsx("th",{children:"Link"}),t.jsx("th",{children:"Survey Status"})]})}),e[2]=c):c=e[2];let d;e[3]!==n?(d=n&&n.responses.map(a=>t.jsxs("tr",{children:[t.jsx("td",{children:a.nren.name}),t.jsx("td",{children:t.jsx(H,{to:`/survey/response/${n.year}/${a.nren.name}`,children:t.jsx("span",{children:"Navigate to survey"})})}),t.jsx("td",{children:a.status})]},a.nren.id)),e[3]=n,e[4]=d):d=e[4];let l;return e[5]!==d?(l=t.jsxs(pe,{striped:!0,bordered:!0,responsive:!0,children:[c,t.jsx("tbody",{children:d})]}),e[5]=d,e[6]=l):l=e[6],l};function K(){const e=S.c(37),{trackPageView:n}=Z(),{user:o}=f.useContext(ee),s=te(),r=!!o.id,c=r?!!o.nrens.length:!1,d=c?o.nrens[0]:"",l=r?o.permissions.admin:!1,a=r?o.role==="observer":!1,[m,Q]=f.useState(null);let E,C;e[0]!==n?(E=()=>{(async()=>{const G=await je();Q(G)})(),n({documentTitle:"GEANT Survey Landing Page"})},C=[n],e[0]=n,e[1]=E,e[2]=C):(E=e[1],C=e[2]),f.useEffect(E,C);let N;e[3]!==d||e[4]!==m||e[5]!==s?(N=()=>{try{return s(`/survey/response/${m}/${d}`),t.jsx("li",{children:"Redirecting to survey..."})}catch(U){return console.error("Error navigating:",U),null}},e[3]=d,e[4]=m,e[5]=s,e[6]=N):N=e[6];const B=N;let R;if(e[7]===Symbol.for("react.memo_cache_sentinel")){const U=function(u,x,h){const y=b.decode_range(u["!ref"]??"");let w=-1;for(let i=y.s.c;i<=y.e.c;i++){const p=b.encode_cell({r:y.s.r,c:i}),V=u[p];if(V&&typeof V.v=="string"&&V.v===x){w=i;break}}if(w===-1){console.error(`Column '${x}' not found.`);return}for(let i=y.s.r+1;i<=y.e.r;++i){const p=b.encode_cell({r:i,c:w});u[p]&&u[p].t==="n"&&(u[p].z=h)}},G=function(u){const x=b.book_new();u.forEach(i=>{const p=b.json_to_sheet(i.data);i.meta&&U(p,i.meta.columnName,i.meta.format),b.book_append_sheet(x,p,i.name)});const h=ye(x,{bookType:"xlsx",type:"binary"}),y=new ArrayBuffer(h.length),w=new Uint8Array(y);for(let i=0;i<h.length;i++)w[i]=h.charCodeAt(i)&255;return new Blob([y],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"})};R=function(){fetch("/api/data-download").then(be).then(u=>{const x=G(u),h=document.createElement("a");h.href=URL.createObjectURL(x),h.download="data.xlsx",document.body.appendChild(h),h.click(),document.body.removeChild(h)}).catch(ge)},e[7]=R}else R=e[7];const X=R;let j;e[8]!==l?(j=l&&t.jsx(ve,{}),e[8]=l,e[9]=j):j=e[9];let k;e[10]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("h1",{className:"geant-header",children:"THE GÉANT COMPENDIUM OF NRENS SURVEY"}),e[10]=k):k=e[10];let T,A;e[11]===Symbol.for("react.memo_cache_sentinel")?(T={maxWidth:"75rem"},A={textAlign:"left"},e[11]=T,e[12]=A):(T=e[11],A=e[12]);let L;e[13]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsx("br",{}),e[13]=L):L=e[13];let O;e[14]===Symbol.for("react.memo_cache_sentinel")?(O=t.jsx("a",{href:"/login",children:"here"}),e[14]=O):O=e[14];let F;e[15]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsx("br",{}),e[15]=F):F=e[15];let P;e[16]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx("br",{}),e[16]=P):P=e[16];let $,M,I,Y;e[17]===Symbol.for("react.memo_cache_sentinel")?($=t.jsxs("p",{style:A,children:["Hello,",L,"Welcome to the GÉANT Compendium Survey. (N)REN Compendium administrators can login via Single Sign On (SSO) ",O,", which will complete their registration to fill in the latest Compendium survey. This will send a notification to the Compendium administration team and they will assign you to your (N)REN.",F,"Once this step has been completed, you will receive an email from the administration team. We aim to get back to you the same working day, but sometimes may take a little longer.",P,"If you are not sure whether you are a Compendium Administrator for your (N)REN, please contact your GÉANT Partner Relations relationship manager.",t.jsx("br",{}),"Thank you."]}),M=t.jsx("span",{children:"Current registration status:"}),I=t.jsx("br",{}),Y=t.jsx("br",{}),e[17]=$,e[18]=M,e[19]=I,e[20]=Y):($=e[17],M=e[18],I=e[19],Y=e[20]);let v;e[21]!==m||e[22]!==c||e[23]!==l||e[24]!==a||e[25]!==r||e[26]!==B?(v=l?t.jsxs("ul",{children:[t.jsx("li",{children:t.jsx("span",{children:"You are logged in as a Compendium Administrator"})}),t.jsx("li",{children:t.jsxs("span",{children:["Click ",t.jsx(H,{to:"/survey/admin/surveys",children:"here"})," to access the survey management page."]})}),t.jsx("li",{children:t.jsxs("span",{children:["Click ",t.jsx(H,{to:"/survey/admin/users",children:"here"})," to access the user management page."]})}),t.jsx("li",{children:t.jsxs("span",{children:["Click ",t.jsx("a",{href:"#",onClick:X,children:"here"})," to do the full data download."]})})]}):t.jsxs("ul",{children:[m&&!l&&!a&&c&&B(),r?t.jsx("li",{children:t.jsx("span",{children:"You are logged in"})}):t.jsx("li",{children:t.jsx("span",{children:"You are not logged in"})}),r&&!a&&!c&&t.jsx("li",{children:t.jsx("span",{children:"Your access to the survey has not yet been approved"})}),r&&!a&&!c&&t.jsx("li",{children:t.jsx("span",{children:"Once you have been approved, you will immediately be directed to the relevant survey upon visiting this page"})}),r&&a&&t.jsx("li",{children:t.jsx("span",{children:"You have read-only access to the following surveys:"})})]}),e[21]=m,e[22]=c,e[23]=l,e[24]=a,e[25]=r,e[26]=B,e[27]=v):v=e[27];let _;e[28]!==a||e[29]!==r?(_=r&&a&&t.jsx(_e,{}),e[28]=a,e[29]=r,e[30]=_):_=e[30];let g;e[31]!==v||e[32]!==_?(g=t.jsx(ne,{className:"py-5 grey-container",children:t.jsx(re,{children:t.jsxs("div",{className:"center-text",children:[k,t.jsxs("div",{className:"wordwrap pt-4",style:T,children:[$,M,I,Y,v,_]})]})})}),e[31]=v,e[32]=_,e[33]=g):g=e[33];let D;return e[34]!==g||e[35]!==j?(D=t.jsxs(t.Fragment,{children:[j,g]}),e[34]=g,e[35]=j,e[36]=D):D=e[36],D}function ge(e){console.error("Error fetching data:",e),alert("An error occurred while creating the data download Excel file.")}function be(e){if(!e.ok)throw new Error("Network response was not ok");return e.json()}const z=f.lazy(()=>q(()=>import("./SurveyContainerComponent-D59B1_HE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]))),Se=f.lazy(()=>q(()=>import("./SurveyManagementComponent-DMYN1lq-.js"),__vite__mapDeps([8,1,2,9,10,6,3,4,5]))),we=f.lazy(()=>q(()=>import("./UserManagementComponent-CiWfGwDf.js"),__vite__mapDeps([11,1,2,3,12,9,10,6,5]))),Ee=e=>{const n=S.c(3),{pathname:o}=e;let s,r;return n[0]!==o?(s=()=>{console.log(o),o.startsWith("/survey")||window.location.replace(`${o}`)},r=[o],n[0]=o,n[1]=s,n[2]=r):(s=n[1],r=n[2]),f.useEffect(s,r),null},Ce=()=>{const e=S.c(12),{pathname:n}=oe(),o=n!=="/survey";let s;e[0]!==n?(s=t.jsx(Ee,{pathname:n}),e[0]=n,e[1]=s):s=e[1];let r;e[2]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(le,{}),e[2]=r):r=e[2];let c;e[3]!==o?(c=t.jsx("main",{className:"grow",children:o?t.jsx(ie,{}):t.jsx(K,{})}),e[3]=o,e[4]=c):c=e[4];let d;e[5]===Symbol.for("react.memo_cache_sentinel")?(d=t.jsx(ce,{}),e[5]=d):d=e[5];let l;e[6]!==s||e[7]!==c?(l=t.jsxs(de,{children:[s,r,c,d]}),e[6]=s,e[7]=c,e[8]=l):l=e[8];let a;e[9]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(me,{}),e[9]=a):a=e[9];let m;return e[10]!==l?(m=t.jsxs(t.Fragment,{children:[l,a]}),e[10]=l,e[11]=m):m=e[11],m},Ne=se([{path:"",element:t.jsx(Ce,{}),children:[{path:"/survey/admin/surveys",element:t.jsx(Se,{})},{path:"/survey/admin/users",element:t.jsx(we,{})},{path:"/survey/admin/inspect/:year",element:t.jsx(z,{loadFrom:"/api/response/inspect/"})},{path:"/survey/admin/try/:year",element:t.jsx(z,{loadFrom:"/api/response/try/"})},{path:"/survey/response/:year/:nren",element:t.jsx(z,{loadFrom:"/api/response/load/"})},{path:"*",element:t.jsx(K,{})}]}]);function Re(){const e=S.c(1);let n;return e[0]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx("div",{className:"app",children:t.jsx(ae,{router:Ne})}),e[0]=n):n=e[0],n}const ke=document.getElementById("root"),Te=he.createRoot(ke);Te.render(t.jsx(ue.StrictMode,{children:t.jsx(Re,{})}));export{ve as S,xe as f}; diff --git a/compendium_v2/static/third-party-licenses.txt b/compendium_v2/static/third-party-licenses.txt index ac72a240..d6719b15 100644 --- a/compendium_v2/static/third-party-licenses.txt +++ b/compendium_v2/static/third-party-licenses.txt @@ -1,38 +1,3 @@ -Name: react-bootstrap -Version: 2.10.8 -License: MIT -Private: false -Description: Bootstrap 5 components built with React -Repository: git+https://github.com/react-bootstrap/react-bootstrap.git -Homepage: https://react-bootstrap.github.io/ -Author: Stephen J. Collings <stevoland@gmail.com> -License Copyright: -=== - -The MIT License (MIT) - -Copyright (c) 2014-present Stephen J. Collings, Matthew Honnibal, Pieter Vanderwerff - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ---- - Name: react Version: 19.0.0 License: MIT @@ -279,6 +244,41 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- +Name: react-bootstrap +Version: 2.10.8 +License: MIT +Private: false +Description: Bootstrap 5 components built with React +Repository: git+https://github.com/react-bootstrap/react-bootstrap.git +Homepage: https://react-bootstrap.github.io/ +Author: Stephen J. Collings <stevoland@gmail.com> +License Copyright: +=== + +The MIT License (MIT) + +Copyright (c) 2014-present Stephen J. Collings, Matthew Honnibal, Pieter Vanderwerff + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +--- + Name: dom-helpers Version: 5.2.1 License: MIT @@ -614,14 +614,135 @@ License: MIT https://github.com/icons8/line-awesome/blob/master/LICENSE.md --- -Name: xlsx -Version: 0.18.5 +Name: react-chartjs-2 +Version: 5.3.0 +License: MIT +Private: false +Description: React components for Chart.js +Repository: https://github.com/reactchartjs/react-chartjs-2.git +Homepage: https://github.com/reactchartjs/react-chartjs-2 +Author: Jeremy Ayerst +License Copyright: +=== + +Copyright 2020 Jeremy Ayerst + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Name: uncontrollable +Version: 8.0.4 +License: MIT +Private: false +Description: Wrap a controlled react component, to allow specific prop/handler pairs to be uncontrolled +Repository: git+https://github.com/jquense/uncontrollable.git +Homepage: https://github.com/jquense/uncontrollable#readme +Author: Jason Quense <monastic.panic@gmail.com> +License Copyright: +=== + +The MIT License (MIT) + +Copyright (c) 2015 Jason Quense + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Name: dequal +Version: 2.0.3 +License: MIT +Private: false +Description: A tiny (304B to 489B) utility for check for deep equality +Repository: undefined +Author: Luke Edwards <luke.edwards05@gmail.com> (https://lukeed.com) +License Copyright: +=== + +The MIT License (MIT) + +Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +--- + +Name: @popperjs/core +Version: 2.11.8 +License: MIT +Private: false +Description: Tooltip and Popover Positioning Engine +Repository: undefined +Author: Federico Zivolo <federico.zivolo@gmail.com> +License Copyright: +=== + +The MIT License (MIT) + +Copyright (c) 2019 Federico Zivolo + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Name: @react-aria/ssr +Version: 3.9.7 License: Apache-2.0 Private: false -Description: SheetJS Spreadsheet data parser and writer -Repository: git://github.com/SheetJS/sheetjs.git -Homepage: https://sheetjs.com/ -Author: sheetjs +Description: Spectrum UI components in React +Repository: https://github.com/adobe/react-spectrum License Copyright: === @@ -805,7 +926,7 @@ License Copyright: APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" + boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a @@ -813,7 +934,7 @@ License Copyright: same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright (C) 2012-present SheetJS LLC + Copyright 2019 Adobe Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -829,18 +950,20 @@ License Copyright: --- -Name: react-chartjs-2 -Version: 5.3.0 +Name: @kurkle/color +Version: 0.3.2 License: MIT Private: false -Description: React components for Chart.js -Repository: https://github.com/reactchartjs/react-chartjs-2.git -Homepage: https://github.com/reactchartjs/react-chartjs-2 -Author: Jeremy Ayerst +Description: css color parsing, manupulation and conversion +Repository: git+https://github.com/kurkle/color.git +Homepage: https://github.com/kurkle/color#readme +Author: Jukka Kurkela License Copyright: === -Copyright 2020 Jeremy Ayerst +The MIT License (MIT) + +Copyright (c) 2018-2021 Jukka Kurkela Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: @@ -850,54 +973,53 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI --- -Name: uncontrollable -Version: 8.0.4 +Name: chart.js +Version: 4.4.7 License: MIT Private: false -Description: Wrap a controlled react component, to allow specific prop/handler pairs to be uncontrolled -Repository: git+https://github.com/jquense/uncontrollable.git -Homepage: https://github.com/jquense/uncontrollable#readme -Author: Jason Quense <monastic.panic@gmail.com> +Description: Simple HTML5 charts using the canvas element. +Repository: https://github.com/chartjs/Chart.js.git +Homepage: https://www.chartjs.org License Copyright: === The MIT License (MIT) -Copyright (c) 2015 Jason Quense +Copyright (c) 2014-2024 Chart.js Contributors -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- -Name: dequal -Version: 2.0.3 +Name: cartesian-product-multiple-arrays +Version: 1.0.9 +License: ISC +Private: false +Description: Find the cartesian product of multiple arrays. +Repository: git@github.com-luizomf:luizomf/cartesianproduct.git +Homepage: https://github.com/luizomf/cartesianproduct +Author: Luiz Otavio Miranda + +--- + +Name: html-to-image +Version: 1.11.11 License: MIT Private: false -Description: A tiny (304B to 489B) utility for check for deep equality -Repository: undefined -Author: Luke Edwards <luke.edwards05@gmail.com> (https://lukeed.com) +Description: Generates an image from a DOM node using HTML5 canvas and SVG. +Repository: git+https://github.com/bubkoo/html-to-image.git +Homepage: https://github.com/bubkoo/html-to-image#readme +Author: bubkooo <bubkoo.wy@gmail.com> License Copyright: === -The MIT License (MIT) +MIT License -Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com) +Copyright (c) 2017-2023 W.Y. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -906,58 +1028,27 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ---- - -Name: @popperjs/core -Version: 2.11.8 -License: MIT -Private: false -Description: Tooltip and Popover Positioning Engine -Repository: undefined -Author: Federico Zivolo <federico.zivolo@gmail.com> -License Copyright: -=== - -The MIT License (MIT) - -Copyright (c) 2019 Federico Zivolo - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. --- -Name: @react-aria/ssr -Version: 3.9.7 +Name: xlsx +Version: 0.18.5 License: Apache-2.0 Private: false -Description: Spectrum UI components in React -Repository: https://github.com/adobe/react-spectrum +Description: SheetJS Spreadsheet data parser and writer +Repository: git://github.com/SheetJS/sheetjs.git +Homepage: https://sheetjs.com/ +Author: sheetjs License Copyright: === @@ -1141,7 +1232,7 @@ License Copyright: APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" + boilerplate notice, with the fields enclosed by brackets "{}" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a @@ -1149,7 +1240,7 @@ License Copyright: same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2019 Adobe + Copyright (C) 2012-present SheetJS LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -1165,97 +1256,6 @@ License Copyright: --- -Name: @kurkle/color -Version: 0.3.2 -License: MIT -Private: false -Description: css color parsing, manupulation and conversion -Repository: git+https://github.com/kurkle/color.git -Homepage: https://github.com/kurkle/color#readme -Author: Jukka Kurkela -License Copyright: -=== - -The MIT License (MIT) - -Copyright (c) 2018-2021 Jukka Kurkela - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ---- - -Name: chart.js -Version: 4.4.7 -License: MIT -Private: false -Description: Simple HTML5 charts using the canvas element. -Repository: https://github.com/chartjs/Chart.js.git -Homepage: https://www.chartjs.org -License Copyright: -=== - -The MIT License (MIT) - -Copyright (c) 2014-2024 Chart.js Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ---- - -Name: cartesian-product-multiple-arrays -Version: 1.0.9 -License: ISC -Private: false -Description: Find the cartesian product of multiple arrays. -Repository: git@github.com-luizomf:luizomf/cartesianproduct.git -Homepage: https://github.com/luizomf/cartesianproduct -Author: Luiz Otavio Miranda - ---- - -Name: html-to-image -Version: 1.11.11 -License: MIT -Private: false -Description: Generates an image from a DOM node using HTML5 canvas and SVG. -Repository: git+https://github.com/bubkoo/html-to-image.git -Homepage: https://github.com/bubkoo/html-to-image#readme -Author: bubkooo <bubkoo.wy@gmail.com> -License Copyright: -=== - -MIT License - -Copyright (c) 2017-2023 W.Y. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ---- - Name: chartjs-plugin-datalabels Version: 2.2.0 License: MIT diff --git a/compendium_v2/static/useData-BDYwoQEh.js b/compendium_v2/static/useData-C0vA-Ut8.js similarity index 85% rename from compendium_v2/static/useData-BDYwoQEh.js rename to compendium_v2/static/useData-C0vA-Ut8.js index a7e852ef..2e9f8af4 100644 --- a/compendium_v2/static/useData-BDYwoQEh.js +++ b/compendium_v2/static/useData-C0vA-Ut8.js @@ -1,4 +1,4 @@ -var za=Object.defineProperty;var Ba=(e,t,n)=>t in e?za(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var j=(e,t,n)=>Ba(e,typeof t!="symbol"?t+"":t,n);import{r as D,s as Yt,t as Wa,j as x,u as qt,c as Gt,v as Ha,w as Va,x as bs,y as Ya,z as fn,i as fe,B as lr,D as Ua,H as Xa,I as Ka,J as xs,K as qa,M as cr,N as Nt,Q as Ga,S as Ja,a as St,q as Za,e as hr,R as oe,T as dr,P as Qa,b as tl,L as el,U as nl,C as ys,V as Zn}from"./main-BIBsTO5W.js";import{L as T,S as on,u as Qn,w as il}from"./xlsx-CxqzP9DR.js";import{S as J,E as ye,I as me,d as sl,u as ol}from"./report.js";import{c as fr,F as ur}from"./index-D6hre9Be.js";import{u as rl}from"./hook-DmuGcAOd.js";function al(){return D.useState(null)}function ll(e,t,n,i=!1){const s=Yt(n);D.useEffect(()=>{const o=typeof e=="function"?e():e;return o.addEventListener(t,s,i),()=>o.removeEventListener(t,s,i)},[e])}const cl=["onKeyDown"];function hl(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function dl(e){return!e||e.trim()==="#"}const pr=D.forwardRef((e,t)=>{let{onKeyDown:n}=e,i=hl(e,cl);const[s]=Wa(Object.assign({tagName:"a"},i)),o=Yt(r=>{s.onKeyDown(r),n==null||n(r)});return dl(i.href)||i.role==="button"?x.jsx("a",Object.assign({ref:t},i,s,{onKeyDown:o})):x.jsx("a",Object.assign({ref:t},i,{onKeyDown:n}))});pr.displayName="Anchor";const Ai=D.forwardRef(({bsPrefix:e,className:t,role:n="toolbar",...i},s)=>{const o=qt(e,"btn-toolbar");return x.jsx("div",{...i,ref:s,className:Gt(t,o),role:n})});Ai.displayName="ButtonToolbar";function fl(e,t,n){const i=D.useRef(e!==void 0),[s,o]=D.useState(t),r=e!==void 0,a=i.current;return i.current=r,!r&&a&&s!==t&&o(t),[r?e:s,D.useCallback((...l)=>{const[c,...h]=l;let d=n==null?void 0:n(c,...h);return o(c),d},[n])]}function ul(){const[,e]=D.useReducer(t=>t+1,0);return e}const Un=D.createContext(null);var _s=Object.prototype.hasOwnProperty;function vs(e,t,n){for(n of e.keys())if(We(n,t))return n}function We(e,t){var n,i,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((i=e.length)===t.length)for(;i--&&We(e[i],t[i]););return i===-1}if(n===Set){if(e.size!==t.size)return!1;for(i of e)if(s=i,s&&typeof s=="object"&&(s=vs(t,s),!s)||!t.has(s))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(i of e)if(s=i[0],s&&typeof s=="object"&&(s=vs(t,s),!s)||!We(i[1],t.get(s)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((i=e.byteLength)===t.byteLength)for(;i--&&e.getInt8(i)===t.getInt8(i););return i===-1}if(ArrayBuffer.isView(e)){if((i=e.byteLength)===t.byteLength)for(;i--&&e[i]===t[i];);return i===-1}if(!n||typeof e=="object"){i=0;for(n in e)if(_s.call(e,n)&&++i&&!_s.call(t,n)||!(n in t)||!We(e[n],t[n]))return!1;return Object.keys(t).length===i}}return e!==e&&t!==t}function pl(e){const t=Ha();return[e[0],D.useCallback(n=>{if(t())return e[1](n)},[t,e[1]])]}var ft="top",yt="bottom",_t="right",ut="left",ji="auto",rn=[ft,yt,_t,ut],Se="start",qe="end",gl="clippingParents",gr="viewport",Ae="popper",ml="reference",ws=rn.reduce(function(e,t){return e.concat([t+"-"+Se,t+"-"+qe])},[]),mr=[].concat(rn,[ji]).reduce(function(e,t){return e.concat([t,t+"-"+Se,t+"-"+qe])},[]),bl="beforeRead",xl="read",yl="afterRead",_l="beforeMain",vl="main",wl="afterMain",Sl="beforeWrite",kl="write",Ml="afterWrite",Cl=[bl,xl,yl,_l,vl,wl,Sl,kl,Ml];function Ot(e){return e.split("-")[0]}function mt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ue(e){var t=mt(e).Element;return e instanceof t||e instanceof Element}function Et(e){var t=mt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Li(e){if(typeof ShadowRoot>"u")return!1;var t=mt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var he=Math.max,Ln=Math.min,ke=Math.round;function _i(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function br(){return!/^((?!chrome|android).)*safari/i.test(_i())}function Me(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&Et(e)&&(s=e.offsetWidth>0&&ke(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ke(i.height)/e.offsetHeight||1);var r=ue(e)?mt(e):window,a=r.visualViewport,l=!br()&&n,c=(i.left+(l&&a?a.offsetLeft:0))/s,h=(i.top+(l&&a?a.offsetTop:0))/o,d=i.width/s,f=i.height/o;return{width:d,height:f,top:h,right:c+d,bottom:h+f,left:c,x:c,y:h}}function Ni(e){var t=Me(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function xr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Li(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Xt(e){return e?(e.nodeName||"").toLowerCase():null}function Ft(e){return mt(e).getComputedStyle(e)}function Pl(e){return["table","td","th"].indexOf(Xt(e))>=0}function Jt(e){return((ue(e)?e.ownerDocument:e.document)||window.document).documentElement}function Xn(e){return Xt(e)==="html"?e:e.assignedSlot||e.parentNode||(Li(e)?e.host:null)||Jt(e)}function Ss(e){return!Et(e)||Ft(e).position==="fixed"?null:e.offsetParent}function Ol(e){var t=/firefox/i.test(_i()),n=/Trident/i.test(_i());if(n&&Et(e)){var i=Ft(e);if(i.position==="fixed")return null}var s=Xn(e);for(Li(s)&&(s=s.host);Et(s)&&["html","body"].indexOf(Xt(s))<0;){var o=Ft(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function an(e){for(var t=mt(e),n=Ss(e);n&&Pl(n)&&Ft(n).position==="static";)n=Ss(n);return n&&(Xt(n)==="html"||Xt(n)==="body"&&Ft(n).position==="static")?t:n||Ol(e)||t}function Ii(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function He(e,t,n){return he(e,Ln(t,n))}function El(e,t,n){var i=He(e,t,n);return i>n?n:i}function yr(){return{top:0,right:0,bottom:0,left:0}}function _r(e){return Object.assign({},yr(),e)}function vr(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var Dl=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,_r(typeof t!="number"?t:vr(t,rn))};function Rl(e){var t,n=e.state,i=e.name,s=e.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,a=Ot(n.placement),l=Ii(a),c=[ut,_t].indexOf(a)>=0,h=c?"height":"width";if(!(!o||!r)){var d=Dl(s.padding,n),f=Ni(o),u=l==="y"?ft:ut,g=l==="y"?yt:_t,m=n.rects.reference[h]+n.rects.reference[l]-r[l]-n.rects.popper[h],p=r[l]-n.rects.reference[l],b=an(o),y=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,v=m/2-p/2,w=d[u],_=y-f[h]-d[g],S=y/2-f[h]/2+v,M=He(w,S,_),k=l;n.modifiersData[i]=(t={},t[k]=M,t.centerOffset=M-S,t)}}function Tl(e){var t=e.state,n=e.options,i=n.element,s=i===void 0?"[data-popper-arrow]":i;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||xr(t.elements.popper,s)&&(t.elements.arrow=s))}const Al={name:"arrow",enabled:!0,phase:"main",fn:Rl,effect:Tl,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ce(e){return e.split("-")[1]}var jl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ll(e,t){var n=e.x,i=e.y,s=t.devicePixelRatio||1;return{x:ke(n*s)/s||0,y:ke(i*s)/s||0}}function ks(e){var t,n=e.popper,i=e.popperRect,s=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,h=e.roundOffsets,d=e.isFixed,f=r.x,u=f===void 0?0:f,g=r.y,m=g===void 0?0:g,p=typeof h=="function"?h({x:u,y:m}):{x:u,y:m};u=p.x,m=p.y;var b=r.hasOwnProperty("x"),y=r.hasOwnProperty("y"),v=ut,w=ft,_=window;if(c){var S=an(n),M="clientHeight",k="clientWidth";if(S===mt(n)&&(S=Jt(n),Ft(S).position!=="static"&&a==="absolute"&&(M="scrollHeight",k="scrollWidth")),S=S,s===ft||(s===ut||s===_t)&&o===qe){w=yt;var P=d&&S===_&&_.visualViewport?_.visualViewport.height:S[M];m-=P-i.height,m*=l?1:-1}if(s===ut||(s===ft||s===yt)&&o===qe){v=_t;var E=d&&S===_&&_.visualViewport?_.visualViewport.width:S[k];u-=E-i.width,u*=l?1:-1}}var C=Object.assign({position:a},c&&jl),O=h===!0?Ll({x:u,y:m},mt(n)):{x:u,y:m};if(u=O.x,m=O.y,l){var R;return Object.assign({},C,(R={},R[w]=y?"0":"",R[v]=b?"0":"",R.transform=(_.devicePixelRatio||1)<=1?"translate("+u+"px, "+m+"px)":"translate3d("+u+"px, "+m+"px, 0)",R))}return Object.assign({},C,(t={},t[w]=y?m+"px":"",t[v]=b?u+"px":"",t.transform="",t))}function Nl(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=i===void 0?!0:i,o=n.adaptive,r=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Ot(t.placement),variation:Ce(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ks(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ks(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Il={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nl,data:{}};var un={passive:!0};function Fl(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,o=s===void 0?!0:s,r=i.resize,a=r===void 0?!0:r,l=mt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(h){h.addEventListener("scroll",n.update,un)}),a&&l.addEventListener("resize",n.update,un),function(){o&&c.forEach(function(h){h.removeEventListener("scroll",n.update,un)}),a&&l.removeEventListener("resize",n.update,un)}}const $l={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Fl,data:{}};var zl={left:"right",right:"left",bottom:"top",top:"bottom"};function Tn(e){return e.replace(/left|right|bottom|top/g,function(t){return zl[t]})}var Bl={start:"end",end:"start"};function Ms(e){return e.replace(/start|end/g,function(t){return Bl[t]})}function Fi(e){var t=mt(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function $i(e){return Me(Jt(e)).left+Fi(e).scrollLeft}function Wl(e,t){var n=mt(e),i=Jt(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=br();(c||!c&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+$i(e),y:l}}function Hl(e){var t,n=Jt(e),i=Fi(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=he(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=he(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+$i(e),l=-i.scrollTop;return Ft(s||n).direction==="rtl"&&(a+=he(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}function zi(e){var t=Ft(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function wr(e){return["html","body","#document"].indexOf(Xt(e))>=0?e.ownerDocument.body:Et(e)&&zi(e)?e:wr(Xn(e))}function Ve(e,t){var n;t===void 0&&(t=[]);var i=wr(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),o=mt(i),r=s?[o].concat(o.visualViewport||[],zi(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(Ve(Xn(r)))}function vi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vl(e,t){var n=Me(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Cs(e,t,n){return t===gr?vi(Wl(e,n)):ue(t)?Vl(t,n):vi(Hl(Jt(e)))}function Yl(e){var t=Ve(Xn(e)),n=["absolute","fixed"].indexOf(Ft(e).position)>=0,i=n&&Et(e)?an(e):e;return ue(i)?t.filter(function(s){return ue(s)&&xr(s,i)&&Xt(s)!=="body"}):[]}function Ul(e,t,n,i){var s=t==="clippingParents"?Yl(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce(function(l,c){var h=Cs(e,c,i);return l.top=he(h.top,l.top),l.right=Ln(h.right,l.right),l.bottom=Ln(h.bottom,l.bottom),l.left=he(h.left,l.left),l},Cs(e,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Sr(e){var t=e.reference,n=e.element,i=e.placement,s=i?Ot(i):null,o=i?Ce(i):null,r=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case ft:l={x:r,y:t.y-n.height};break;case yt:l={x:r,y:t.y+t.height};break;case _t:l={x:t.x+t.width,y:a};break;case ut:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=s?Ii(s):null;if(c!=null){var h=c==="y"?"height":"width";switch(o){case Se:l[c]=l[c]-(t[h]/2-n[h]/2);break;case qe:l[c]=l[c]+(t[h]/2-n[h]/2);break}}return l}function Ge(e,t){t===void 0&&(t={});var n=t,i=n.placement,s=i===void 0?e.placement:i,o=n.strategy,r=o===void 0?e.strategy:o,a=n.boundary,l=a===void 0?gl:a,c=n.rootBoundary,h=c===void 0?gr:c,d=n.elementContext,f=d===void 0?Ae:d,u=n.altBoundary,g=u===void 0?!1:u,m=n.padding,p=m===void 0?0:m,b=_r(typeof p!="number"?p:vr(p,rn)),y=f===Ae?ml:Ae,v=e.rects.popper,w=e.elements[g?y:f],_=Ul(ue(w)?w:w.contextElement||Jt(e.elements.popper),l,h,r),S=Me(e.elements.reference),M=Sr({reference:S,element:v,strategy:"absolute",placement:s}),k=vi(Object.assign({},v,M)),P=f===Ae?k:S,E={top:_.top-P.top+b.top,bottom:P.bottom-_.bottom+b.bottom,left:_.left-P.left+b.left,right:P.right-_.right+b.right},C=e.modifiersData.offset;if(f===Ae&&C){var O=C[s];Object.keys(E).forEach(function(R){var N=[_t,yt].indexOf(R)>=0?1:-1,A=[ft,yt].indexOf(R)>=0?"y":"x";E[R]+=O[A]*N})}return E}function Xl(e,t){t===void 0&&(t={});var n=t,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?mr:l,h=Ce(i),d=h?a?ws:ws.filter(function(g){return Ce(g)===h}):rn,f=d.filter(function(g){return c.indexOf(g)>=0});f.length===0&&(f=d);var u=f.reduce(function(g,m){return g[m]=Ge(e,{placement:m,boundary:s,rootBoundary:o,padding:r})[Ot(m)],g},{});return Object.keys(u).sort(function(g,m){return u[g]-u[m]})}function Kl(e){if(Ot(e)===ji)return[];var t=Tn(e);return[Ms(e),t,Ms(t)]}function ql(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,r=n.altAxis,a=r===void 0?!0:r,l=n.fallbackPlacements,c=n.padding,h=n.boundary,d=n.rootBoundary,f=n.altBoundary,u=n.flipVariations,g=u===void 0?!0:u,m=n.allowedAutoPlacements,p=t.options.placement,b=Ot(p),y=b===p,v=l||(y||!g?[Tn(p)]:Kl(p)),w=[p].concat(v).reduce(function(X,K){return X.concat(Ot(K)===ji?Xl(t,{placement:K,boundary:h,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:m}):K)},[]),_=t.rects.reference,S=t.rects.popper,M=new Map,k=!0,P=w[0],E=0;E<w.length;E++){var C=w[E],O=Ot(C),R=Ce(C)===Se,N=[ft,yt].indexOf(O)>=0,A=N?"width":"height",L=Ge(t,{placement:C,boundary:h,rootBoundary:d,altBoundary:f,padding:c}),I=N?R?_t:ut:R?yt:ft;_[A]>S[A]&&(I=Tn(I));var W=Tn(I),$=[];if(o&&$.push(L[O]<=0),a&&$.push(L[I]<=0,L[W]<=0),$.every(function(X){return X})){P=C,k=!1;break}M.set(C,$)}if(k)for(var B=g?3:1,et=function(K){var G=w.find(function(Rt){var H=M.get(Rt);if(H)return H.slice(0,K).every(function(nt){return nt})});if(G)return P=G,"break"},tt=B;tt>0;tt--){var it=et(tt);if(it==="break")break}t.placement!==P&&(t.modifiersData[i]._skip=!0,t.placement=P,t.reset=!0)}}const Gl={name:"flip",enabled:!0,phase:"main",fn:ql,requiresIfExists:["offset"],data:{_skip:!1}};function Ps(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Os(e){return[ft,_t,yt,ut].some(function(t){return e[t]>=0})}function Jl(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=Ge(t,{elementContext:"reference"}),a=Ge(t,{altBoundary:!0}),l=Ps(r,i),c=Ps(a,s,o),h=Os(l),d=Os(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}const Zl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Jl};function Ql(e,t,n){var i=Ot(e),s=[ut,ft].indexOf(i)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[ut,_t].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}function tc(e){var t=e.state,n=e.options,i=e.name,s=n.offset,o=s===void 0?[0,0]:s,r=mr.reduce(function(h,d){return h[d]=Ql(d,t.rects,o),h},{}),a=r[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=r}const ec={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tc};function nc(e){var t=e.state,n=e.name;t.modifiersData[n]=Sr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ic={name:"popperOffsets",enabled:!0,phase:"read",fn:nc,data:{}};function sc(e){return e==="x"?"y":"x"}function oc(e){var t=e.state,n=e.options,i=e.name,s=n.mainAxis,o=s===void 0?!0:s,r=n.altAxis,a=r===void 0?!1:r,l=n.boundary,c=n.rootBoundary,h=n.altBoundary,d=n.padding,f=n.tether,u=f===void 0?!0:f,g=n.tetherOffset,m=g===void 0?0:g,p=Ge(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),b=Ot(t.placement),y=Ce(t.placement),v=!y,w=Ii(b),_=sc(w),S=t.modifiersData.popperOffsets,M=t.rects.reference,k=t.rects.popper,P=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,E=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(o){var R,N=w==="y"?ft:ut,A=w==="y"?yt:_t,L=w==="y"?"height":"width",I=S[w],W=I+p[N],$=I-p[A],B=u?-k[L]/2:0,et=y===Se?M[L]:k[L],tt=y===Se?-k[L]:-M[L],it=t.elements.arrow,X=u&&it?Ni(it):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:yr(),G=K[N],Rt=K[A],H=He(0,M[L],X[L]),nt=v?M[L]/2-B-H-G-E.mainAxis:et-H-G-E.mainAxis,Te=v?-M[L]/2+B+H+Rt+E.mainAxis:tt+H+Rt+E.mainAxis,zt=t.elements.arrow&&an(t.elements.arrow),Zt=zt?w==="y"?zt.clientTop||0:zt.clientLeft||0:0,Qt=(R=C==null?void 0:C[w])!=null?R:0,ct=I+nt-Qt-Zt,Ia=I+Te-Qt,cs=He(u?Ln(W,ct):W,I,u?he($,Ia):$);S[w]=cs,O[w]=cs-I}if(a){var hs,Fa=w==="x"?ft:ut,$a=w==="x"?yt:_t,te=S[_],dn=_==="y"?"height":"width",ds=te+p[Fa],fs=te-p[$a],Jn=[ft,ut].indexOf(b)!==-1,us=(hs=C==null?void 0:C[_])!=null?hs:0,ps=Jn?ds:te-M[dn]-k[dn]-us+E.altAxis,gs=Jn?te+M[dn]+k[dn]-us-E.altAxis:fs,ms=u&&Jn?El(ps,te,gs):He(u?ps:ds,te,u?gs:fs);S[_]=ms,O[_]=ms-te}t.modifiersData[i]=O}}const rc={name:"preventOverflow",enabled:!0,phase:"main",fn:oc,requiresIfExists:["offset"]};function ac(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function lc(e){return e===mt(e)||!Et(e)?Fi(e):ac(e)}function cc(e){var t=e.getBoundingClientRect(),n=ke(t.width)/e.offsetWidth||1,i=ke(t.height)/e.offsetHeight||1;return n!==1||i!==1}function hc(e,t,n){n===void 0&&(n=!1);var i=Et(t),s=Et(t)&&cc(t),o=Jt(t),r=Me(e,s,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&((Xt(t)!=="body"||zi(o))&&(a=lc(t)),Et(t)?(l=Me(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=$i(o))),{x:r.left+a.scrollLeft-l.x,y:r.top+a.scrollTop-l.y,width:r.width,height:r.height}}function dc(e){var t=new Map,n=new Set,i=[];e.forEach(function(o){t.set(o.name,o)});function s(o){n.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&s(l)}}),i.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),i}function fc(e){var t=dc(e);return Cl.reduce(function(n,i){return n.concat(t.filter(function(s){return s.phase===i}))},[])}function uc(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function pc(e){var t=e.reduce(function(n,i){var s=n[i.name];return n[i.name]=s?Object.assign({},s,i,{options:Object.assign({},s.options,i.options),data:Object.assign({},s.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var Es={placement:"bottom",modifiers:[],strategy:"absolute"};function Ds(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function gc(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,s=t.defaultOptions,o=s===void 0?Es:s;return function(a,l,c){c===void 0&&(c=o);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},Es,o),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],f=!1,u={state:h,setOptions:function(b){var y=typeof b=="function"?b(h.options):b;m(),h.options=Object.assign({},o,h.options,y),h.scrollParents={reference:ue(a)?Ve(a):a.contextElement?Ve(a.contextElement):[],popper:Ve(l)};var v=fc(pc([].concat(i,h.options.modifiers)));return h.orderedModifiers=v.filter(function(w){return w.enabled}),g(),u.update()},forceUpdate:function(){if(!f){var b=h.elements,y=b.reference,v=b.popper;if(Ds(y,v)){h.rects={reference:hc(y,an(v),h.options.strategy==="fixed"),popper:Ni(v)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(E){return h.modifiersData[E.name]=Object.assign({},E.data)});for(var w=0;w<h.orderedModifiers.length;w++){if(h.reset===!0){h.reset=!1,w=-1;continue}var _=h.orderedModifiers[w],S=_.fn,M=_.options,k=M===void 0?{}:M,P=_.name;typeof S=="function"&&(h=S({state:h,options:k,name:P,instance:u})||h)}}}},update:uc(function(){return new Promise(function(p){u.forceUpdate(),p(h)})}),destroy:function(){m(),f=!0}};if(!Ds(a,l))return u;u.setOptions(c).then(function(p){!f&&c.onFirstUpdate&&c.onFirstUpdate(p)});function g(){h.orderedModifiers.forEach(function(p){var b=p.name,y=p.options,v=y===void 0?{}:y,w=p.effect;if(typeof w=="function"){var _=w({state:h,name:b,instance:u,options:v}),S=function(){};d.push(_||S)}})}function m(){d.forEach(function(p){return p()}),d=[]}return u}}const mc=gc({defaultModifiers:[Zl,ic,Il,$l,ec,Gl,rc,Al]}),bc=["enabled","placement","strategy","modifiers"];function xc(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}const yc={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},_c={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const i=(t.getAttribute("aria-describedby")||"").split(",").filter(s=>s.trim()!==n.id);i.length?t.setAttribute("aria-describedby",i.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:i}=e.elements,s=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();if(n.id&&s==="tooltip"&&"setAttribute"in i){const o=i.getAttribute("aria-describedby");if(o&&o.split(",").indexOf(n.id)!==-1)return;i.setAttribute("aria-describedby",o?`${o},${n.id}`:n.id)}}},vc=[];function wc(e,t,n={}){let{enabled:i=!0,placement:s="bottom",strategy:o="absolute",modifiers:r=vc}=n,a=xc(n,bc);const l=D.useRef(r),c=D.useRef(),h=D.useCallback(()=>{var p;(p=c.current)==null||p.update()},[]),d=D.useCallback(()=>{var p;(p=c.current)==null||p.forceUpdate()},[]),[f,u]=pl(D.useState({placement:s,update:h,forceUpdate:d,attributes:{},styles:{popper:{},arrow:{}}})),g=D.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:p})=>{const b={},y={};Object.keys(p.elements).forEach(v=>{b[v]=p.styles[v],y[v]=p.attributes[v]}),u({state:p,styles:b,attributes:y,update:h,forceUpdate:d,placement:p.placement})}}),[h,d,u]),m=D.useMemo(()=>(We(l.current,r)||(l.current=r),l.current),[r]);return D.useEffect(()=>{!c.current||!i||c.current.setOptions({placement:s,strategy:o,modifiers:[...m,g,yc]})},[o,s,g,i,m]),D.useEffect(()=>{if(!(!i||e==null||t==null))return c.current=mc(e,t,Object.assign({},a,{placement:s,strategy:o,modifiers:[...m,_c,g]})),()=>{c.current!=null&&(c.current.destroy(),c.current=void 0,u(p=>Object.assign({},p,{attributes:{},styles:{popper:{}}})))}},[i,e,t]),f}const Rs=()=>{};function Sc(e){return e.button===0}function kc(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const ti=e=>e&&("current"in e?e.current:e),Ts={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Mc(e,t=Rs,{disabled:n,clickTrigger:i="click"}={}){const s=D.useRef(!1),o=D.useRef(!1),r=D.useCallback(c=>{const h=ti(e);Va(!!h,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),s.current=!h||kc(c)||!Sc(c)||!!bs(h,c.target)||o.current,o.current=!1},[e]),a=Yt(c=>{const h=ti(e);h&&bs(h,c.target)?o.current=!0:o.current=!1}),l=Yt(c=>{s.current||t(c)});D.useEffect(()=>{var c,h;if(n||e==null)return;const d=Ya(ti(e)),f=d.defaultView||window;let u=(c=f.event)!=null?c:(h=f.parent)==null?void 0:h.event,g=null;Ts[i]&&(g=fn(d,Ts[i],a,!0));const m=fn(d,i,r,!0),p=fn(d,i,y=>{if(y===u){u=void 0;return}l(y)});let b=[];return"ontouchstart"in d.documentElement&&(b=[].slice.call(d.body.children).map(y=>fn(y,"mousemove",Rs))),()=>{g==null||g(),m(),p(),b.forEach(y=>y())}},[e,n,i,r,a,l])}function Cc(e){const t={};return Array.isArray(e)?(e==null||e.forEach(n=>{t[n.name]=n}),t):e||t}function Pc(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Oc({enabled:e,enableEvents:t,placement:n,flip:i,offset:s,fixed:o,containerPadding:r,arrowElement:a,popperConfig:l={}}){var c,h,d,f,u;const g=Cc(l.modifiers);return Object.assign({},l,{placement:n,enabled:e,strategy:o?"fixed":l.strategy,modifiers:Pc(Object.assign({},g,{eventListeners:{enabled:t,options:(c=g.eventListeners)==null?void 0:c.options},preventOverflow:Object.assign({},g.preventOverflow,{options:r?Object.assign({padding:r},(h=g.preventOverflow)==null?void 0:h.options):(d=g.preventOverflow)==null?void 0:d.options}),offset:{options:Object.assign({offset:s},(f=g.offset)==null?void 0:f.options)},arrow:Object.assign({},g.arrow,{enabled:!!a,options:Object.assign({},(u=g.arrow)==null?void 0:u.options,{element:a})}),flip:Object.assign({enabled:!!i},g.flip)}))})}const Ec=["children","usePopper"];function Dc(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}const Rc=()=>{};function kr(e={}){const t=D.useContext(Un),[n,i]=al(),s=D.useRef(!1),{flip:o,offset:r,rootCloseEvent:a,fixed:l=!1,placement:c,popperConfig:h={},enableEventListeners:d=!0,usePopper:f=!!t}=e,u=(t==null?void 0:t.show)==null?!!e.show:t.show;u&&!s.current&&(s.current=!0);const g=S=>{t==null||t.toggle(!1,S)},{placement:m,setMenu:p,menuElement:b,toggleElement:y}=t||{},v=wc(y,b,Oc({placement:c||m||"bottom-start",enabled:f,enableEvents:d??u,offset:r,flip:o,fixed:l,arrowElement:n,popperConfig:h})),w=Object.assign({ref:p||Rc,"aria-labelledby":y==null?void 0:y.id},v.attributes.popper,{style:v.styles.popper}),_={show:u,placement:m,hasShown:s.current,toggle:t==null?void 0:t.toggle,popper:f?v:null,arrowProps:f?Object.assign({ref:i},v.attributes.arrow,{style:v.styles.arrow}):{}};return Mc(b,g,{clickTrigger:a,disabled:!u}),[w,_]}function Mr(e){let{children:t,usePopper:n=!0}=e,i=Dc(e,Ec);const[s,o]=kr(Object.assign({},i,{usePopper:n}));return x.jsx(x.Fragment,{children:t(s,o)})}Mr.displayName="DropdownMenu";const Bi={prefix:String(Math.round(Math.random()*1e10)),current:0},Cr=fe.createContext(Bi),Tc=fe.createContext(!1);let Ac=!!(typeof window<"u"&&window.document&&window.document.createElement),ei=new WeakMap;function jc(e=!1){let t=D.useContext(Cr),n=D.useRef(null);if(n.current===null&&!e){var i,s;let o=(s=fe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||s===void 0||(i=s.ReactCurrentOwner)===null||i===void 0?void 0:i.current;if(o){let r=ei.get(o);r==null?ei.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==r.state&&(t.current=r.id,ei.delete(o))}n.current=++t.current}return n.current}function Lc(e){let t=D.useContext(Cr);t===Bi&&!Ac&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=jc(!!e),i=`react-aria${t.prefix}`;return e||`${i}-${n}`}function Nc(e){let t=fe.useId(),[n]=D.useState(Bc()),i=n?"react-aria":`react-aria${Bi.prefix}`;return e||`${i}-${t}`}const Ic=typeof fe.useId=="function"?Nc:Lc;function Fc(){return!1}function $c(){return!0}function zc(e){return()=>{}}function Bc(){return typeof fe.useSyncExternalStore=="function"?fe.useSyncExternalStore(zc,Fc,$c):D.useContext(Tc)}const Pr=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},As=()=>{};function Or(){const e=Ic(),{show:t=!1,toggle:n=As,setToggle:i,menuElement:s}=D.useContext(Un)||{},o=D.useCallback(a=>{n(!t,a)},[t,n]),r={id:e,ref:i||As,onClick:o,"aria-expanded":!!t};return s&&Pr(s)&&(r["aria-haspopup"]=!0),[r,{show:t,toggle:n}]}function Er({children:e}){const[t,n]=Or();return x.jsx(x.Fragment,{children:e(t,n)})}Er.displayName="DropdownToggle";const wi=D.createContext(null),js=(e,t=null)=>e!=null?String(e):t||null,Dr=D.createContext(null);Dr.displayName="NavContext";const Wc=["eventKey","disabled","onClick","active","as"];function Hc(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function Rr({key:e,href:t,active:n,disabled:i,onClick:s}){const o=D.useContext(wi),r=D.useContext(Dr),{activeKey:a}=r||{},l=js(e,t),c=n==null&&e!=null?js(a)===l:n;return[{onClick:Yt(d=>{i||(s==null||s(d),o&&!d.isPropagationStopped()&&o(l,d))}),"aria-disabled":i||void 0,"aria-selected":c,[lr("dropdown-item")]:""},{isActive:c}]}const Tr=D.forwardRef((e,t)=>{let{eventKey:n,disabled:i,onClick:s,active:o,as:r=Ua}=e,a=Hc(e,Wc);const[l]=Rr({key:n,href:a.href,disabled:i,onClick:s,active:o});return x.jsx(r,Object.assign({},a,{ref:t},l))});Tr.displayName="DropdownItem";function Ls(){const e=ul(),t=D.useRef(null),n=D.useCallback(i=>{t.current=i,e()},[e]);return[t,n]}function ln({defaultShow:e,show:t,onSelect:n,onToggle:i,itemSelector:s=`* [${lr("dropdown-item")}]`,focusFirstItemOnShow:o,placement:r="bottom-start",children:a}){const l=Xa(),[c,h]=fl(t,e,i),[d,f]=Ls(),u=d.current,[g,m]=Ls(),p=g.current,b=Ka(c),y=D.useRef(null),v=D.useRef(!1),w=D.useContext(wi),_=D.useCallback((C,O,R=O==null?void 0:O.type)=>{h(C,{originalEvent:O,source:R})},[h]),S=Yt((C,O)=>{n==null||n(C,O),_(!1,O,"select"),O.isPropagationStopped()||w==null||w(C,O)}),M=D.useMemo(()=>({toggle:_,placement:r,show:c,menuElement:u,toggleElement:p,setMenu:f,setToggle:m}),[_,r,c,u,p,f,m]);u&&b&&!c&&(v.current=u.contains(u.ownerDocument.activeElement));const k=Yt(()=>{p&&p.focus&&p.focus()}),P=Yt(()=>{const C=y.current;let O=o;if(O==null&&(O=d.current&&Pr(d.current)?"keyboard":!1),O===!1||O==="keyboard"&&!/^key.+$/.test(C))return;const R=xs(d.current,s)[0];R&&R.focus&&R.focus()});D.useEffect(()=>{c?P():v.current&&(v.current=!1,k())},[c,v,k,P]),D.useEffect(()=>{y.current=null});const E=(C,O)=>{if(!d.current)return null;const R=xs(d.current,s);let N=R.indexOf(C)+O;return N=Math.max(0,Math.min(N,R.length)),R[N]};return ll(D.useCallback(()=>l.document,[l]),"keydown",C=>{var O,R;const{key:N}=C,A=C.target,L=(O=d.current)==null?void 0:O.contains(A),I=(R=g.current)==null?void 0:R.contains(A);if(/input|textarea/i.test(A.tagName)&&(N===" "||N!=="Escape"&&L||N==="Escape"&&A.type==="search")||!L&&!I||N==="Tab"&&(!d.current||!c))return;y.current=C.type;const $={originalEvent:C,source:C.type};switch(N){case"ArrowUp":{const B=E(A,-1);B&&B.focus&&B.focus(),C.preventDefault();return}case"ArrowDown":if(C.preventDefault(),!c)h(!0,$);else{const B=E(A,1);B&&B.focus&&B.focus()}return;case"Tab":qa(A.ownerDocument,"keyup",B=>{var et;(B.key==="Tab"&&!B.target||!((et=d.current)!=null&&et.contains(B.target)))&&h(!1,$)},{once:!0});break;case"Escape":N==="Escape"&&(C.preventDefault(),C.stopPropagation()),h(!1,$);break}}),x.jsx(wi.Provider,{value:S,children:x.jsx(Un.Provider,{value:M,children:a})})}ln.displayName="Dropdown";ln.Menu=Mr;ln.Toggle=Er;ln.Item=Tr;const Wi=D.createContext({});Wi.displayName="DropdownContext";const Ar=D.forwardRef(({className:e,bsPrefix:t,as:n="hr",role:i="separator",...s},o)=>(t=qt(t,"dropdown-divider"),x.jsx(n,{ref:o,className:Gt(e,t),role:i,...s})));Ar.displayName="DropdownDivider";const jr=D.forwardRef(({className:e,bsPrefix:t,as:n="div",role:i="heading",...s},o)=>(t=qt(t,"dropdown-header"),x.jsx(n,{ref:o,className:Gt(e,t),role:i,...s})));jr.displayName="DropdownHeader";const Lr=D.forwardRef(({bsPrefix:e,className:t,eventKey:n,disabled:i=!1,onClick:s,active:o,as:r=pr,...a},l)=>{const c=qt(e,"dropdown-item"),[h,d]=Rr({key:n,href:a.href,disabled:i,onClick:s,active:o});return x.jsx(r,{...a,...h,ref:l,className:Gt(t,c,d.isActive&&"active",i&&"disabled")})});Lr.displayName="DropdownItem";const Nr=D.forwardRef(({className:e,bsPrefix:t,as:n="span",...i},s)=>(t=qt(t,"dropdown-item-text"),x.jsx(n,{ref:s,className:Gt(e,t),...i})));Nr.displayName="DropdownItemText";const Vc=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",Yc=typeof document<"u",Uc=Yc||Vc?D.useLayoutEffect:D.useEffect,Ir=D.createContext(null);Ir.displayName="NavbarContext";function Fr(e,t){return e}function $r(e,t,n){const i=n?"top-end":"top-start",s=n?"top-start":"top-end",o=n?"bottom-end":"bottom-start",r=n?"bottom-start":"bottom-end",a=n?"right-start":"left-start",l=n?"right-end":"left-end",c=n?"left-start":"right-start",h=n?"left-end":"right-end";let d=e?r:o;return t==="up"?d=e?s:i:t==="end"?d=e?h:c:t==="start"?d=e?l:a:t==="down-centered"?d="bottom":t==="up-centered"&&(d="top"),d}const zr=D.forwardRef(({bsPrefix:e,className:t,align:n,rootCloseEvent:i,flip:s=!0,show:o,renderOnMount:r,as:a="div",popperConfig:l,variant:c,...h},d)=>{let f=!1;const u=D.useContext(Ir),g=qt(e,"dropdown-menu"),{align:m,drop:p,isRTL:b}=D.useContext(Wi);n=n||m;const y=D.useContext(fr),v=[];if(n)if(typeof n=="object"){const C=Object.keys(n);if(C.length){const O=C[0],R=n[O];f=R==="start",v.push(`${g}-${O}-${R}`)}}else n==="end"&&(f=!0);const w=$r(f,p,b),[_,{hasShown:S,popper:M,show:k,toggle:P}]=kr({flip:s,rootCloseEvent:i,show:o,usePopper:!u&&v.length===0,offset:[0,2],popperConfig:l,placement:w});if(_.ref=cr(Fr(d),_.ref),Uc(()=>{k&&(M==null||M.update())},[k]),!S&&!r&&!y)return null;typeof a!="string"&&(_.show=k,_.close=()=>P==null?void 0:P(!1),_.align=n);let E=h.style;return M!=null&&M.placement&&(E={...h.style,..._.style},h["x-placement"]=M.placement),x.jsx(a,{...h,..._,style:E,...(v.length||u)&&{"data-bs-popper":"static"},className:Gt(t,g,k&&"show",f&&`${g}-end`,c&&`${g}-${c}`,...v)})});zr.displayName="DropdownMenu";const Br=D.forwardRef(({bsPrefix:e,split:t,className:n,childBsPrefix:i,as:s=Nt,...o},r)=>{const a=qt(e,"dropdown-toggle"),l=D.useContext(Un);i!==void 0&&(o.bsPrefix=i);const[c]=Or();return c.ref=cr(c.ref,Fr(r)),x.jsx(s,{className:Gt(n,a,t&&`${a}-split`,(l==null?void 0:l.show)&&"show"),...c,...o})});Br.displayName="DropdownToggle";const Wr=D.forwardRef((e,t)=>{const{bsPrefix:n,drop:i="down",show:s,className:o,align:r="start",onSelect:a,onToggle:l,focusFirstItemOnShow:c,as:h="div",navbar:d,autoClose:f=!0,...u}=rl(e,{show:"onToggle"}),g=D.useContext(fr),m=qt(n,"dropdown"),p=Ga(),b=M=>f===!1?M==="click":f==="inside"?M!=="rootClose":f==="outside"?M!=="select":!0,y=Ja((M,k)=>{var P;!((P=k.originalEvent)==null||(P=P.target)==null)&&P.classList.contains("dropdown-toggle")&&k.source==="mousedown"||(k.originalEvent.currentTarget===document&&(k.source!=="keydown"||k.originalEvent.key==="Escape")&&(k.source="rootClose"),b(k.source)&&(l==null||l(M,k)))}),w=$r(r==="end",i,p),_=D.useMemo(()=>({align:r,drop:i,isRTL:p}),[r,i,p]),S={down:m,"down-centered":`${m}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return x.jsx(Wi.Provider,{value:_,children:x.jsx(ln,{placement:w,show:s,onSelect:a,onToggle:y,focusFirstItemOnShow:c,itemSelector:`.${m}-item:not(.disabled):not(:disabled)`,children:g?u.children:x.jsx(h,{...u,ref:t,className:Gt(o,s&&"show",S[i])})})})});Wr.displayName="Dropdown";const ni=Object.assign(Wr,{Toggle:Br,Menu:zr,Item:Lr,ItemText:Nr,Divider:Ar,Header:jr});/*! +var za=Object.defineProperty;var Ba=(e,t,n)=>t in e?za(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var j=(e,t,n)=>Ba(e,typeof t!="symbol"?t+"":t,n);import{r as D,u as Yt,g as Wa,j as x,h as qt,i as Gt,k as Ha,w as Va,l as bs,o as Ya,m as fn,f as fe,n as lr,B as Ua,p as Xa,q as Ka,s as xs,t as qa,v as cr,x as Nt,y as Ga,z as Ja,c as St,A as Za,S as J,D as hr,R as oe,E as ye,G as dr,I as me,P as Qa,H as tl,J as el,L as nl,N as il,C as ys,K as Zn,M as sl}from"./index.js";import{L as T,S as on}from"./SideBar-Bzc5cONd.js";import{u as Qn,w as ol}from"./xlsx-BHRztzV8.js";import{c as fr,F as ur}from"./index-DW4SYwQF.js";import{u as rl}from"./hook-GVc5uk5F.js";function al(){return D.useState(null)}function ll(e,t,n,i=!1){const s=Yt(n);D.useEffect(()=>{const o=typeof e=="function"?e():e;return o.addEventListener(t,s,i),()=>o.removeEventListener(t,s,i)},[e])}const cl=["onKeyDown"];function hl(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function dl(e){return!e||e.trim()==="#"}const pr=D.forwardRef((e,t)=>{let{onKeyDown:n}=e,i=hl(e,cl);const[s]=Wa(Object.assign({tagName:"a"},i)),o=Yt(r=>{s.onKeyDown(r),n==null||n(r)});return dl(i.href)||i.role==="button"?x.jsx("a",Object.assign({ref:t},i,s,{onKeyDown:o})):x.jsx("a",Object.assign({ref:t},i,{onKeyDown:n}))});pr.displayName="Anchor";const Ai=D.forwardRef(({bsPrefix:e,className:t,role:n="toolbar",...i},s)=>{const o=qt(e,"btn-toolbar");return x.jsx("div",{...i,ref:s,className:Gt(t,o),role:n})});Ai.displayName="ButtonToolbar";function fl(e,t,n){const i=D.useRef(e!==void 0),[s,o]=D.useState(t),r=e!==void 0,a=i.current;return i.current=r,!r&&a&&s!==t&&o(t),[r?e:s,D.useCallback((...l)=>{const[c,...h]=l;let d=n==null?void 0:n(c,...h);return o(c),d},[n])]}function ul(){const[,e]=D.useReducer(t=>t+1,0);return e}const Un=D.createContext(null);var _s=Object.prototype.hasOwnProperty;function vs(e,t,n){for(n of e.keys())if(We(n,t))return n}function We(e,t){var n,i,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((i=e.length)===t.length)for(;i--&&We(e[i],t[i]););return i===-1}if(n===Set){if(e.size!==t.size)return!1;for(i of e)if(s=i,s&&typeof s=="object"&&(s=vs(t,s),!s)||!t.has(s))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(i of e)if(s=i[0],s&&typeof s=="object"&&(s=vs(t,s),!s)||!We(i[1],t.get(s)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((i=e.byteLength)===t.byteLength)for(;i--&&e.getInt8(i)===t.getInt8(i););return i===-1}if(ArrayBuffer.isView(e)){if((i=e.byteLength)===t.byteLength)for(;i--&&e[i]===t[i];);return i===-1}if(!n||typeof e=="object"){i=0;for(n in e)if(_s.call(e,n)&&++i&&!_s.call(t,n)||!(n in t)||!We(e[n],t[n]))return!1;return Object.keys(t).length===i}}return e!==e&&t!==t}function pl(e){const t=Ha();return[e[0],D.useCallback(n=>{if(t())return e[1](n)},[t,e[1]])]}var ft="top",yt="bottom",_t="right",ut="left",ji="auto",rn=[ft,yt,_t,ut],Se="start",qe="end",gl="clippingParents",gr="viewport",Ae="popper",ml="reference",ws=rn.reduce(function(e,t){return e.concat([t+"-"+Se,t+"-"+qe])},[]),mr=[].concat(rn,[ji]).reduce(function(e,t){return e.concat([t,t+"-"+Se,t+"-"+qe])},[]),bl="beforeRead",xl="read",yl="afterRead",_l="beforeMain",vl="main",wl="afterMain",Sl="beforeWrite",kl="write",Ml="afterWrite",Cl=[bl,xl,yl,_l,vl,wl,Sl,kl,Ml];function Ot(e){return e.split("-")[0]}function mt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ue(e){var t=mt(e).Element;return e instanceof t||e instanceof Element}function Et(e){var t=mt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Li(e){if(typeof ShadowRoot>"u")return!1;var t=mt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var he=Math.max,Ln=Math.min,ke=Math.round;function _i(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function br(){return!/^((?!chrome|android).)*safari/i.test(_i())}function Me(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),s=1,o=1;t&&Et(e)&&(s=e.offsetWidth>0&&ke(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ke(i.height)/e.offsetHeight||1);var r=ue(e)?mt(e):window,a=r.visualViewport,l=!br()&&n,c=(i.left+(l&&a?a.offsetLeft:0))/s,h=(i.top+(l&&a?a.offsetTop:0))/o,d=i.width/s,f=i.height/o;return{width:d,height:f,top:h,right:c+d,bottom:h+f,left:c,x:c,y:h}}function Ni(e){var t=Me(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function xr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Li(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Xt(e){return e?(e.nodeName||"").toLowerCase():null}function Ft(e){return mt(e).getComputedStyle(e)}function Pl(e){return["table","td","th"].indexOf(Xt(e))>=0}function Jt(e){return((ue(e)?e.ownerDocument:e.document)||window.document).documentElement}function Xn(e){return Xt(e)==="html"?e:e.assignedSlot||e.parentNode||(Li(e)?e.host:null)||Jt(e)}function Ss(e){return!Et(e)||Ft(e).position==="fixed"?null:e.offsetParent}function Ol(e){var t=/firefox/i.test(_i()),n=/Trident/i.test(_i());if(n&&Et(e)){var i=Ft(e);if(i.position==="fixed")return null}var s=Xn(e);for(Li(s)&&(s=s.host);Et(s)&&["html","body"].indexOf(Xt(s))<0;){var o=Ft(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function an(e){for(var t=mt(e),n=Ss(e);n&&Pl(n)&&Ft(n).position==="static";)n=Ss(n);return n&&(Xt(n)==="html"||Xt(n)==="body"&&Ft(n).position==="static")?t:n||Ol(e)||t}function Ii(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function He(e,t,n){return he(e,Ln(t,n))}function El(e,t,n){var i=He(e,t,n);return i>n?n:i}function yr(){return{top:0,right:0,bottom:0,left:0}}function _r(e){return Object.assign({},yr(),e)}function vr(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var Dl=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,_r(typeof t!="number"?t:vr(t,rn))};function Rl(e){var t,n=e.state,i=e.name,s=e.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,a=Ot(n.placement),l=Ii(a),c=[ut,_t].indexOf(a)>=0,h=c?"height":"width";if(!(!o||!r)){var d=Dl(s.padding,n),f=Ni(o),u=l==="y"?ft:ut,g=l==="y"?yt:_t,m=n.rects.reference[h]+n.rects.reference[l]-r[l]-n.rects.popper[h],p=r[l]-n.rects.reference[l],b=an(o),y=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,v=m/2-p/2,w=d[u],_=y-f[h]-d[g],S=y/2-f[h]/2+v,M=He(w,S,_),k=l;n.modifiersData[i]=(t={},t[k]=M,t.centerOffset=M-S,t)}}function Tl(e){var t=e.state,n=e.options,i=n.element,s=i===void 0?"[data-popper-arrow]":i;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||xr(t.elements.popper,s)&&(t.elements.arrow=s))}const Al={name:"arrow",enabled:!0,phase:"main",fn:Rl,effect:Tl,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ce(e){return e.split("-")[1]}var jl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ll(e,t){var n=e.x,i=e.y,s=t.devicePixelRatio||1;return{x:ke(n*s)/s||0,y:ke(i*s)/s||0}}function ks(e){var t,n=e.popper,i=e.popperRect,s=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,h=e.roundOffsets,d=e.isFixed,f=r.x,u=f===void 0?0:f,g=r.y,m=g===void 0?0:g,p=typeof h=="function"?h({x:u,y:m}):{x:u,y:m};u=p.x,m=p.y;var b=r.hasOwnProperty("x"),y=r.hasOwnProperty("y"),v=ut,w=ft,_=window;if(c){var S=an(n),M="clientHeight",k="clientWidth";if(S===mt(n)&&(S=Jt(n),Ft(S).position!=="static"&&a==="absolute"&&(M="scrollHeight",k="scrollWidth")),S=S,s===ft||(s===ut||s===_t)&&o===qe){w=yt;var P=d&&S===_&&_.visualViewport?_.visualViewport.height:S[M];m-=P-i.height,m*=l?1:-1}if(s===ut||(s===ft||s===yt)&&o===qe){v=_t;var E=d&&S===_&&_.visualViewport?_.visualViewport.width:S[k];u-=E-i.width,u*=l?1:-1}}var C=Object.assign({position:a},c&&jl),O=h===!0?Ll({x:u,y:m},mt(n)):{x:u,y:m};if(u=O.x,m=O.y,l){var R;return Object.assign({},C,(R={},R[w]=y?"0":"",R[v]=b?"0":"",R.transform=(_.devicePixelRatio||1)<=1?"translate("+u+"px, "+m+"px)":"translate3d("+u+"px, "+m+"px, 0)",R))}return Object.assign({},C,(t={},t[w]=y?m+"px":"",t[v]=b?u+"px":"",t.transform="",t))}function Nl(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=i===void 0?!0:i,o=n.adaptive,r=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Ot(t.placement),variation:Ce(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ks(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ks(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Il={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nl,data:{}};var un={passive:!0};function Fl(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,o=s===void 0?!0:s,r=i.resize,a=r===void 0?!0:r,l=mt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(h){h.addEventListener("scroll",n.update,un)}),a&&l.addEventListener("resize",n.update,un),function(){o&&c.forEach(function(h){h.removeEventListener("scroll",n.update,un)}),a&&l.removeEventListener("resize",n.update,un)}}const $l={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Fl,data:{}};var zl={left:"right",right:"left",bottom:"top",top:"bottom"};function Tn(e){return e.replace(/left|right|bottom|top/g,function(t){return zl[t]})}var Bl={start:"end",end:"start"};function Ms(e){return e.replace(/start|end/g,function(t){return Bl[t]})}function Fi(e){var t=mt(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function $i(e){return Me(Jt(e)).left+Fi(e).scrollLeft}function Wl(e,t){var n=mt(e),i=Jt(e),s=n.visualViewport,o=i.clientWidth,r=i.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=br();(c||!c&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+$i(e),y:l}}function Hl(e){var t,n=Jt(e),i=Fi(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=he(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=he(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-i.scrollLeft+$i(e),l=-i.scrollTop;return Ft(s||n).direction==="rtl"&&(a+=he(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}function zi(e){var t=Ft(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function wr(e){return["html","body","#document"].indexOf(Xt(e))>=0?e.ownerDocument.body:Et(e)&&zi(e)?e:wr(Xn(e))}function Ve(e,t){var n;t===void 0&&(t=[]);var i=wr(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),o=mt(i),r=s?[o].concat(o.visualViewport||[],zi(i)?i:[]):i,a=t.concat(r);return s?a:a.concat(Ve(Xn(r)))}function vi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vl(e,t){var n=Me(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Cs(e,t,n){return t===gr?vi(Wl(e,n)):ue(t)?Vl(t,n):vi(Hl(Jt(e)))}function Yl(e){var t=Ve(Xn(e)),n=["absolute","fixed"].indexOf(Ft(e).position)>=0,i=n&&Et(e)?an(e):e;return ue(i)?t.filter(function(s){return ue(s)&&xr(s,i)&&Xt(s)!=="body"}):[]}function Ul(e,t,n,i){var s=t==="clippingParents"?Yl(e):[].concat(t),o=[].concat(s,[n]),r=o[0],a=o.reduce(function(l,c){var h=Cs(e,c,i);return l.top=he(h.top,l.top),l.right=Ln(h.right,l.right),l.bottom=Ln(h.bottom,l.bottom),l.left=he(h.left,l.left),l},Cs(e,r,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Sr(e){var t=e.reference,n=e.element,i=e.placement,s=i?Ot(i):null,o=i?Ce(i):null,r=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case ft:l={x:r,y:t.y-n.height};break;case yt:l={x:r,y:t.y+t.height};break;case _t:l={x:t.x+t.width,y:a};break;case ut:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=s?Ii(s):null;if(c!=null){var h=c==="y"?"height":"width";switch(o){case Se:l[c]=l[c]-(t[h]/2-n[h]/2);break;case qe:l[c]=l[c]+(t[h]/2-n[h]/2);break}}return l}function Ge(e,t){t===void 0&&(t={});var n=t,i=n.placement,s=i===void 0?e.placement:i,o=n.strategy,r=o===void 0?e.strategy:o,a=n.boundary,l=a===void 0?gl:a,c=n.rootBoundary,h=c===void 0?gr:c,d=n.elementContext,f=d===void 0?Ae:d,u=n.altBoundary,g=u===void 0?!1:u,m=n.padding,p=m===void 0?0:m,b=_r(typeof p!="number"?p:vr(p,rn)),y=f===Ae?ml:Ae,v=e.rects.popper,w=e.elements[g?y:f],_=Ul(ue(w)?w:w.contextElement||Jt(e.elements.popper),l,h,r),S=Me(e.elements.reference),M=Sr({reference:S,element:v,strategy:"absolute",placement:s}),k=vi(Object.assign({},v,M)),P=f===Ae?k:S,E={top:_.top-P.top+b.top,bottom:P.bottom-_.bottom+b.bottom,left:_.left-P.left+b.left,right:P.right-_.right+b.right},C=e.modifiersData.offset;if(f===Ae&&C){var O=C[s];Object.keys(E).forEach(function(R){var N=[_t,yt].indexOf(R)>=0?1:-1,A=[ft,yt].indexOf(R)>=0?"y":"x";E[R]+=O[A]*N})}return E}function Xl(e,t){t===void 0&&(t={});var n=t,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?mr:l,h=Ce(i),d=h?a?ws:ws.filter(function(g){return Ce(g)===h}):rn,f=d.filter(function(g){return c.indexOf(g)>=0});f.length===0&&(f=d);var u=f.reduce(function(g,m){return g[m]=Ge(e,{placement:m,boundary:s,rootBoundary:o,padding:r})[Ot(m)],g},{});return Object.keys(u).sort(function(g,m){return u[g]-u[m]})}function Kl(e){if(Ot(e)===ji)return[];var t=Tn(e);return[Ms(e),t,Ms(t)]}function ql(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,r=n.altAxis,a=r===void 0?!0:r,l=n.fallbackPlacements,c=n.padding,h=n.boundary,d=n.rootBoundary,f=n.altBoundary,u=n.flipVariations,g=u===void 0?!0:u,m=n.allowedAutoPlacements,p=t.options.placement,b=Ot(p),y=b===p,v=l||(y||!g?[Tn(p)]:Kl(p)),w=[p].concat(v).reduce(function(X,K){return X.concat(Ot(K)===ji?Xl(t,{placement:K,boundary:h,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:m}):K)},[]),_=t.rects.reference,S=t.rects.popper,M=new Map,k=!0,P=w[0],E=0;E<w.length;E++){var C=w[E],O=Ot(C),R=Ce(C)===Se,N=[ft,yt].indexOf(O)>=0,A=N?"width":"height",L=Ge(t,{placement:C,boundary:h,rootBoundary:d,altBoundary:f,padding:c}),I=N?R?_t:ut:R?yt:ft;_[A]>S[A]&&(I=Tn(I));var W=Tn(I),$=[];if(o&&$.push(L[O]<=0),a&&$.push(L[I]<=0,L[W]<=0),$.every(function(X){return X})){P=C,k=!1;break}M.set(C,$)}if(k)for(var B=g?3:1,et=function(K){var G=w.find(function(Rt){var H=M.get(Rt);if(H)return H.slice(0,K).every(function(nt){return nt})});if(G)return P=G,"break"},tt=B;tt>0;tt--){var it=et(tt);if(it==="break")break}t.placement!==P&&(t.modifiersData[i]._skip=!0,t.placement=P,t.reset=!0)}}const Gl={name:"flip",enabled:!0,phase:"main",fn:ql,requiresIfExists:["offset"],data:{_skip:!1}};function Ps(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Os(e){return[ft,_t,yt,ut].some(function(t){return e[t]>=0})}function Jl(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=Ge(t,{elementContext:"reference"}),a=Ge(t,{altBoundary:!0}),l=Ps(r,i),c=Ps(a,s,o),h=Os(l),d=Os(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}const Zl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Jl};function Ql(e,t,n){var i=Ot(e),s=[ut,ft].indexOf(i)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[ut,_t].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}function tc(e){var t=e.state,n=e.options,i=e.name,s=n.offset,o=s===void 0?[0,0]:s,r=mr.reduce(function(h,d){return h[d]=Ql(d,t.rects,o),h},{}),a=r[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=r}const ec={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tc};function nc(e){var t=e.state,n=e.name;t.modifiersData[n]=Sr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ic={name:"popperOffsets",enabled:!0,phase:"read",fn:nc,data:{}};function sc(e){return e==="x"?"y":"x"}function oc(e){var t=e.state,n=e.options,i=e.name,s=n.mainAxis,o=s===void 0?!0:s,r=n.altAxis,a=r===void 0?!1:r,l=n.boundary,c=n.rootBoundary,h=n.altBoundary,d=n.padding,f=n.tether,u=f===void 0?!0:f,g=n.tetherOffset,m=g===void 0?0:g,p=Ge(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),b=Ot(t.placement),y=Ce(t.placement),v=!y,w=Ii(b),_=sc(w),S=t.modifiersData.popperOffsets,M=t.rects.reference,k=t.rects.popper,P=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,E=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(o){var R,N=w==="y"?ft:ut,A=w==="y"?yt:_t,L=w==="y"?"height":"width",I=S[w],W=I+p[N],$=I-p[A],B=u?-k[L]/2:0,et=y===Se?M[L]:k[L],tt=y===Se?-k[L]:-M[L],it=t.elements.arrow,X=u&&it?Ni(it):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:yr(),G=K[N],Rt=K[A],H=He(0,M[L],X[L]),nt=v?M[L]/2-B-H-G-E.mainAxis:et-H-G-E.mainAxis,Te=v?-M[L]/2+B+H+Rt+E.mainAxis:tt+H+Rt+E.mainAxis,zt=t.elements.arrow&&an(t.elements.arrow),Zt=zt?w==="y"?zt.clientTop||0:zt.clientLeft||0:0,Qt=(R=C==null?void 0:C[w])!=null?R:0,ct=I+nt-Qt-Zt,Ia=I+Te-Qt,cs=He(u?Ln(W,ct):W,I,u?he($,Ia):$);S[w]=cs,O[w]=cs-I}if(a){var hs,Fa=w==="x"?ft:ut,$a=w==="x"?yt:_t,te=S[_],dn=_==="y"?"height":"width",ds=te+p[Fa],fs=te-p[$a],Jn=[ft,ut].indexOf(b)!==-1,us=(hs=C==null?void 0:C[_])!=null?hs:0,ps=Jn?ds:te-M[dn]-k[dn]-us+E.altAxis,gs=Jn?te+M[dn]+k[dn]-us-E.altAxis:fs,ms=u&&Jn?El(ps,te,gs):He(u?ps:ds,te,u?gs:fs);S[_]=ms,O[_]=ms-te}t.modifiersData[i]=O}}const rc={name:"preventOverflow",enabled:!0,phase:"main",fn:oc,requiresIfExists:["offset"]};function ac(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function lc(e){return e===mt(e)||!Et(e)?Fi(e):ac(e)}function cc(e){var t=e.getBoundingClientRect(),n=ke(t.width)/e.offsetWidth||1,i=ke(t.height)/e.offsetHeight||1;return n!==1||i!==1}function hc(e,t,n){n===void 0&&(n=!1);var i=Et(t),s=Et(t)&&cc(t),o=Jt(t),r=Me(e,s,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&((Xt(t)!=="body"||zi(o))&&(a=lc(t)),Et(t)?(l=Me(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=$i(o))),{x:r.left+a.scrollLeft-l.x,y:r.top+a.scrollTop-l.y,width:r.width,height:r.height}}function dc(e){var t=new Map,n=new Set,i=[];e.forEach(function(o){t.set(o.name,o)});function s(o){n.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&s(l)}}),i.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),i}function fc(e){var t=dc(e);return Cl.reduce(function(n,i){return n.concat(t.filter(function(s){return s.phase===i}))},[])}function uc(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function pc(e){var t=e.reduce(function(n,i){var s=n[i.name];return n[i.name]=s?Object.assign({},s,i,{options:Object.assign({},s.options,i.options),data:Object.assign({},s.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var Es={placement:"bottom",modifiers:[],strategy:"absolute"};function Ds(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function gc(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,s=t.defaultOptions,o=s===void 0?Es:s;return function(a,l,c){c===void 0&&(c=o);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},Es,o),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],f=!1,u={state:h,setOptions:function(b){var y=typeof b=="function"?b(h.options):b;m(),h.options=Object.assign({},o,h.options,y),h.scrollParents={reference:ue(a)?Ve(a):a.contextElement?Ve(a.contextElement):[],popper:Ve(l)};var v=fc(pc([].concat(i,h.options.modifiers)));return h.orderedModifiers=v.filter(function(w){return w.enabled}),g(),u.update()},forceUpdate:function(){if(!f){var b=h.elements,y=b.reference,v=b.popper;if(Ds(y,v)){h.rects={reference:hc(y,an(v),h.options.strategy==="fixed"),popper:Ni(v)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(E){return h.modifiersData[E.name]=Object.assign({},E.data)});for(var w=0;w<h.orderedModifiers.length;w++){if(h.reset===!0){h.reset=!1,w=-1;continue}var _=h.orderedModifiers[w],S=_.fn,M=_.options,k=M===void 0?{}:M,P=_.name;typeof S=="function"&&(h=S({state:h,options:k,name:P,instance:u})||h)}}}},update:uc(function(){return new Promise(function(p){u.forceUpdate(),p(h)})}),destroy:function(){m(),f=!0}};if(!Ds(a,l))return u;u.setOptions(c).then(function(p){!f&&c.onFirstUpdate&&c.onFirstUpdate(p)});function g(){h.orderedModifiers.forEach(function(p){var b=p.name,y=p.options,v=y===void 0?{}:y,w=p.effect;if(typeof w=="function"){var _=w({state:h,name:b,instance:u,options:v}),S=function(){};d.push(_||S)}})}function m(){d.forEach(function(p){return p()}),d=[]}return u}}const mc=gc({defaultModifiers:[Zl,ic,Il,$l,ec,Gl,rc,Al]}),bc=["enabled","placement","strategy","modifiers"];function xc(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}const yc={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},_c={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const i=(t.getAttribute("aria-describedby")||"").split(",").filter(s=>s.trim()!==n.id);i.length?t.setAttribute("aria-describedby",i.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:i}=e.elements,s=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();if(n.id&&s==="tooltip"&&"setAttribute"in i){const o=i.getAttribute("aria-describedby");if(o&&o.split(",").indexOf(n.id)!==-1)return;i.setAttribute("aria-describedby",o?`${o},${n.id}`:n.id)}}},vc=[];function wc(e,t,n={}){let{enabled:i=!0,placement:s="bottom",strategy:o="absolute",modifiers:r=vc}=n,a=xc(n,bc);const l=D.useRef(r),c=D.useRef(),h=D.useCallback(()=>{var p;(p=c.current)==null||p.update()},[]),d=D.useCallback(()=>{var p;(p=c.current)==null||p.forceUpdate()},[]),[f,u]=pl(D.useState({placement:s,update:h,forceUpdate:d,attributes:{},styles:{popper:{},arrow:{}}})),g=D.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:p})=>{const b={},y={};Object.keys(p.elements).forEach(v=>{b[v]=p.styles[v],y[v]=p.attributes[v]}),u({state:p,styles:b,attributes:y,update:h,forceUpdate:d,placement:p.placement})}}),[h,d,u]),m=D.useMemo(()=>(We(l.current,r)||(l.current=r),l.current),[r]);return D.useEffect(()=>{!c.current||!i||c.current.setOptions({placement:s,strategy:o,modifiers:[...m,g,yc]})},[o,s,g,i,m]),D.useEffect(()=>{if(!(!i||e==null||t==null))return c.current=mc(e,t,Object.assign({},a,{placement:s,strategy:o,modifiers:[...m,_c,g]})),()=>{c.current!=null&&(c.current.destroy(),c.current=void 0,u(p=>Object.assign({},p,{attributes:{},styles:{popper:{}}})))}},[i,e,t]),f}const Rs=()=>{};function Sc(e){return e.button===0}function kc(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const ti=e=>e&&("current"in e?e.current:e),Ts={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Mc(e,t=Rs,{disabled:n,clickTrigger:i="click"}={}){const s=D.useRef(!1),o=D.useRef(!1),r=D.useCallback(c=>{const h=ti(e);Va(!!h,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),s.current=!h||kc(c)||!Sc(c)||!!bs(h,c.target)||o.current,o.current=!1},[e]),a=Yt(c=>{const h=ti(e);h&&bs(h,c.target)?o.current=!0:o.current=!1}),l=Yt(c=>{s.current||t(c)});D.useEffect(()=>{var c,h;if(n||e==null)return;const d=Ya(ti(e)),f=d.defaultView||window;let u=(c=f.event)!=null?c:(h=f.parent)==null?void 0:h.event,g=null;Ts[i]&&(g=fn(d,Ts[i],a,!0));const m=fn(d,i,r,!0),p=fn(d,i,y=>{if(y===u){u=void 0;return}l(y)});let b=[];return"ontouchstart"in d.documentElement&&(b=[].slice.call(d.body.children).map(y=>fn(y,"mousemove",Rs))),()=>{g==null||g(),m(),p(),b.forEach(y=>y())}},[e,n,i,r,a,l])}function Cc(e){const t={};return Array.isArray(e)?(e==null||e.forEach(n=>{t[n.name]=n}),t):e||t}function Pc(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Oc({enabled:e,enableEvents:t,placement:n,flip:i,offset:s,fixed:o,containerPadding:r,arrowElement:a,popperConfig:l={}}){var c,h,d,f,u;const g=Cc(l.modifiers);return Object.assign({},l,{placement:n,enabled:e,strategy:o?"fixed":l.strategy,modifiers:Pc(Object.assign({},g,{eventListeners:{enabled:t,options:(c=g.eventListeners)==null?void 0:c.options},preventOverflow:Object.assign({},g.preventOverflow,{options:r?Object.assign({padding:r},(h=g.preventOverflow)==null?void 0:h.options):(d=g.preventOverflow)==null?void 0:d.options}),offset:{options:Object.assign({offset:s},(f=g.offset)==null?void 0:f.options)},arrow:Object.assign({},g.arrow,{enabled:!!a,options:Object.assign({},(u=g.arrow)==null?void 0:u.options,{element:a})}),flip:Object.assign({enabled:!!i},g.flip)}))})}const Ec=["children","usePopper"];function Dc(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}const Rc=()=>{};function kr(e={}){const t=D.useContext(Un),[n,i]=al(),s=D.useRef(!1),{flip:o,offset:r,rootCloseEvent:a,fixed:l=!1,placement:c,popperConfig:h={},enableEventListeners:d=!0,usePopper:f=!!t}=e,u=(t==null?void 0:t.show)==null?!!e.show:t.show;u&&!s.current&&(s.current=!0);const g=S=>{t==null||t.toggle(!1,S)},{placement:m,setMenu:p,menuElement:b,toggleElement:y}=t||{},v=wc(y,b,Oc({placement:c||m||"bottom-start",enabled:f,enableEvents:d??u,offset:r,flip:o,fixed:l,arrowElement:n,popperConfig:h})),w=Object.assign({ref:p||Rc,"aria-labelledby":y==null?void 0:y.id},v.attributes.popper,{style:v.styles.popper}),_={show:u,placement:m,hasShown:s.current,toggle:t==null?void 0:t.toggle,popper:f?v:null,arrowProps:f?Object.assign({ref:i},v.attributes.arrow,{style:v.styles.arrow}):{}};return Mc(b,g,{clickTrigger:a,disabled:!u}),[w,_]}function Mr(e){let{children:t,usePopper:n=!0}=e,i=Dc(e,Ec);const[s,o]=kr(Object.assign({},i,{usePopper:n}));return x.jsx(x.Fragment,{children:t(s,o)})}Mr.displayName="DropdownMenu";const Bi={prefix:String(Math.round(Math.random()*1e10)),current:0},Cr=fe.createContext(Bi),Tc=fe.createContext(!1);let Ac=!!(typeof window<"u"&&window.document&&window.document.createElement),ei=new WeakMap;function jc(e=!1){let t=D.useContext(Cr),n=D.useRef(null);if(n.current===null&&!e){var i,s;let o=(s=fe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||s===void 0||(i=s.ReactCurrentOwner)===null||i===void 0?void 0:i.current;if(o){let r=ei.get(o);r==null?ei.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==r.state&&(t.current=r.id,ei.delete(o))}n.current=++t.current}return n.current}function Lc(e){let t=D.useContext(Cr);t===Bi&&!Ac&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=jc(!!e),i=`react-aria${t.prefix}`;return e||`${i}-${n}`}function Nc(e){let t=fe.useId(),[n]=D.useState(Bc()),i=n?"react-aria":`react-aria${Bi.prefix}`;return e||`${i}-${t}`}const Ic=typeof fe.useId=="function"?Nc:Lc;function Fc(){return!1}function $c(){return!0}function zc(e){return()=>{}}function Bc(){return typeof fe.useSyncExternalStore=="function"?fe.useSyncExternalStore(zc,Fc,$c):D.useContext(Tc)}const Pr=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},As=()=>{};function Or(){const e=Ic(),{show:t=!1,toggle:n=As,setToggle:i,menuElement:s}=D.useContext(Un)||{},o=D.useCallback(a=>{n(!t,a)},[t,n]),r={id:e,ref:i||As,onClick:o,"aria-expanded":!!t};return s&&Pr(s)&&(r["aria-haspopup"]=!0),[r,{show:t,toggle:n}]}function Er({children:e}){const[t,n]=Or();return x.jsx(x.Fragment,{children:e(t,n)})}Er.displayName="DropdownToggle";const wi=D.createContext(null),js=(e,t=null)=>e!=null?String(e):t||null,Dr=D.createContext(null);Dr.displayName="NavContext";const Wc=["eventKey","disabled","onClick","active","as"];function Hc(e,t){if(e==null)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function Rr({key:e,href:t,active:n,disabled:i,onClick:s}){const o=D.useContext(wi),r=D.useContext(Dr),{activeKey:a}=r||{},l=js(e,t),c=n==null&&e!=null?js(a)===l:n;return[{onClick:Yt(d=>{i||(s==null||s(d),o&&!d.isPropagationStopped()&&o(l,d))}),"aria-disabled":i||void 0,"aria-selected":c,[lr("dropdown-item")]:""},{isActive:c}]}const Tr=D.forwardRef((e,t)=>{let{eventKey:n,disabled:i,onClick:s,active:o,as:r=Ua}=e,a=Hc(e,Wc);const[l]=Rr({key:n,href:a.href,disabled:i,onClick:s,active:o});return x.jsx(r,Object.assign({},a,{ref:t},l))});Tr.displayName="DropdownItem";function Ls(){const e=ul(),t=D.useRef(null),n=D.useCallback(i=>{t.current=i,e()},[e]);return[t,n]}function ln({defaultShow:e,show:t,onSelect:n,onToggle:i,itemSelector:s=`* [${lr("dropdown-item")}]`,focusFirstItemOnShow:o,placement:r="bottom-start",children:a}){const l=Xa(),[c,h]=fl(t,e,i),[d,f]=Ls(),u=d.current,[g,m]=Ls(),p=g.current,b=Ka(c),y=D.useRef(null),v=D.useRef(!1),w=D.useContext(wi),_=D.useCallback((C,O,R=O==null?void 0:O.type)=>{h(C,{originalEvent:O,source:R})},[h]),S=Yt((C,O)=>{n==null||n(C,O),_(!1,O,"select"),O.isPropagationStopped()||w==null||w(C,O)}),M=D.useMemo(()=>({toggle:_,placement:r,show:c,menuElement:u,toggleElement:p,setMenu:f,setToggle:m}),[_,r,c,u,p,f,m]);u&&b&&!c&&(v.current=u.contains(u.ownerDocument.activeElement));const k=Yt(()=>{p&&p.focus&&p.focus()}),P=Yt(()=>{const C=y.current;let O=o;if(O==null&&(O=d.current&&Pr(d.current)?"keyboard":!1),O===!1||O==="keyboard"&&!/^key.+$/.test(C))return;const R=xs(d.current,s)[0];R&&R.focus&&R.focus()});D.useEffect(()=>{c?P():v.current&&(v.current=!1,k())},[c,v,k,P]),D.useEffect(()=>{y.current=null});const E=(C,O)=>{if(!d.current)return null;const R=xs(d.current,s);let N=R.indexOf(C)+O;return N=Math.max(0,Math.min(N,R.length)),R[N]};return ll(D.useCallback(()=>l.document,[l]),"keydown",C=>{var O,R;const{key:N}=C,A=C.target,L=(O=d.current)==null?void 0:O.contains(A),I=(R=g.current)==null?void 0:R.contains(A);if(/input|textarea/i.test(A.tagName)&&(N===" "||N!=="Escape"&&L||N==="Escape"&&A.type==="search")||!L&&!I||N==="Tab"&&(!d.current||!c))return;y.current=C.type;const $={originalEvent:C,source:C.type};switch(N){case"ArrowUp":{const B=E(A,-1);B&&B.focus&&B.focus(),C.preventDefault();return}case"ArrowDown":if(C.preventDefault(),!c)h(!0,$);else{const B=E(A,1);B&&B.focus&&B.focus()}return;case"Tab":qa(A.ownerDocument,"keyup",B=>{var et;(B.key==="Tab"&&!B.target||!((et=d.current)!=null&&et.contains(B.target)))&&h(!1,$)},{once:!0});break;case"Escape":N==="Escape"&&(C.preventDefault(),C.stopPropagation()),h(!1,$);break}}),x.jsx(wi.Provider,{value:S,children:x.jsx(Un.Provider,{value:M,children:a})})}ln.displayName="Dropdown";ln.Menu=Mr;ln.Toggle=Er;ln.Item=Tr;const Wi=D.createContext({});Wi.displayName="DropdownContext";const Ar=D.forwardRef(({className:e,bsPrefix:t,as:n="hr",role:i="separator",...s},o)=>(t=qt(t,"dropdown-divider"),x.jsx(n,{ref:o,className:Gt(e,t),role:i,...s})));Ar.displayName="DropdownDivider";const jr=D.forwardRef(({className:e,bsPrefix:t,as:n="div",role:i="heading",...s},o)=>(t=qt(t,"dropdown-header"),x.jsx(n,{ref:o,className:Gt(e,t),role:i,...s})));jr.displayName="DropdownHeader";const Lr=D.forwardRef(({bsPrefix:e,className:t,eventKey:n,disabled:i=!1,onClick:s,active:o,as:r=pr,...a},l)=>{const c=qt(e,"dropdown-item"),[h,d]=Rr({key:n,href:a.href,disabled:i,onClick:s,active:o});return x.jsx(r,{...a,...h,ref:l,className:Gt(t,c,d.isActive&&"active",i&&"disabled")})});Lr.displayName="DropdownItem";const Nr=D.forwardRef(({className:e,bsPrefix:t,as:n="span",...i},s)=>(t=qt(t,"dropdown-item-text"),x.jsx(n,{ref:s,className:Gt(e,t),...i})));Nr.displayName="DropdownItemText";const Vc=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",Yc=typeof document<"u",Uc=Yc||Vc?D.useLayoutEffect:D.useEffect,Ir=D.createContext(null);Ir.displayName="NavbarContext";function Fr(e,t){return e}function $r(e,t,n){const i=n?"top-end":"top-start",s=n?"top-start":"top-end",o=n?"bottom-end":"bottom-start",r=n?"bottom-start":"bottom-end",a=n?"right-start":"left-start",l=n?"right-end":"left-end",c=n?"left-start":"right-start",h=n?"left-end":"right-end";let d=e?r:o;return t==="up"?d=e?s:i:t==="end"?d=e?h:c:t==="start"?d=e?l:a:t==="down-centered"?d="bottom":t==="up-centered"&&(d="top"),d}const zr=D.forwardRef(({bsPrefix:e,className:t,align:n,rootCloseEvent:i,flip:s=!0,show:o,renderOnMount:r,as:a="div",popperConfig:l,variant:c,...h},d)=>{let f=!1;const u=D.useContext(Ir),g=qt(e,"dropdown-menu"),{align:m,drop:p,isRTL:b}=D.useContext(Wi);n=n||m;const y=D.useContext(fr),v=[];if(n)if(typeof n=="object"){const C=Object.keys(n);if(C.length){const O=C[0],R=n[O];f=R==="start",v.push(`${g}-${O}-${R}`)}}else n==="end"&&(f=!0);const w=$r(f,p,b),[_,{hasShown:S,popper:M,show:k,toggle:P}]=kr({flip:s,rootCloseEvent:i,show:o,usePopper:!u&&v.length===0,offset:[0,2],popperConfig:l,placement:w});if(_.ref=cr(Fr(d),_.ref),Uc(()=>{k&&(M==null||M.update())},[k]),!S&&!r&&!y)return null;typeof a!="string"&&(_.show=k,_.close=()=>P==null?void 0:P(!1),_.align=n);let E=h.style;return M!=null&&M.placement&&(E={...h.style,..._.style},h["x-placement"]=M.placement),x.jsx(a,{...h,..._,style:E,...(v.length||u)&&{"data-bs-popper":"static"},className:Gt(t,g,k&&"show",f&&`${g}-end`,c&&`${g}-${c}`,...v)})});zr.displayName="DropdownMenu";const Br=D.forwardRef(({bsPrefix:e,split:t,className:n,childBsPrefix:i,as:s=Nt,...o},r)=>{const a=qt(e,"dropdown-toggle"),l=D.useContext(Un);i!==void 0&&(o.bsPrefix=i);const[c]=Or();return c.ref=cr(c.ref,Fr(r)),x.jsx(s,{className:Gt(n,a,t&&`${a}-split`,(l==null?void 0:l.show)&&"show"),...c,...o})});Br.displayName="DropdownToggle";const Wr=D.forwardRef((e,t)=>{const{bsPrefix:n,drop:i="down",show:s,className:o,align:r="start",onSelect:a,onToggle:l,focusFirstItemOnShow:c,as:h="div",navbar:d,autoClose:f=!0,...u}=rl(e,{show:"onToggle"}),g=D.useContext(fr),m=qt(n,"dropdown"),p=Ga(),b=M=>f===!1?M==="click":f==="inside"?M!=="rootClose":f==="outside"?M!=="select":!0,y=Ja((M,k)=>{var P;!((P=k.originalEvent)==null||(P=P.target)==null)&&P.classList.contains("dropdown-toggle")&&k.source==="mousedown"||(k.originalEvent.currentTarget===document&&(k.source!=="keydown"||k.originalEvent.key==="Escape")&&(k.source="rootClose"),b(k.source)&&(l==null||l(M,k)))}),w=$r(r==="end",i,p),_=D.useMemo(()=>({align:r,drop:i,isRTL:p}),[r,i,p]),S={down:m,"down-centered":`${m}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return x.jsx(Wi.Provider,{value:_,children:x.jsx(ln,{placement:w,show:s,onSelect:a,onToggle:y,focusFirstItemOnShow:c,itemSelector:`.${m}-item:not(.disabled):not(:disabled)`,children:g?u.children:x.jsx(h,{...u,ref:t,className:Gt(o,s&&"show",S[i])})})})});Wr.displayName="Dropdown";const ni=Object.assign(Wr,{Toggle:Br,Menu:zr,Item:Lr,ItemText:Nr,Divider:Ar,Header:jr});/*! * @kurkle/color v0.3.2 * https://github.com/kurkle/color#readme * (c) 2023 Jukka Kurkela @@ -16,5 +16,5 @@ var za=Object.defineProperty;var Ba=(e,t,n)=>t in e?za(e,t,{enumerable:!0,config */class Id{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,i,s){const o=n.listeners[s],r=n.duration;o.forEach(a=>a({chart:t,initial:n.initial,numSteps:r,currentStep:Math.min(i-n.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=Gr.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((i,s)=>{if(!i.running||!i.items.length)return;const o=i.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(t),a=!0):(o[r]=o[o.length-1],o.pop());a&&(s.draw(),this._notify(s,i,t,"progress")),o.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),n+=o.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let i=n.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,i)),i}listen(t,n,i){this._getAnims(t).listeners[n].push(i)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,s)=>Math.max(i,s._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const i=n.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var At=new Id;const oo="transparent",Fd={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=Ks(e||oo),s=i.valid&&Ks(t||oo);return s&&s.valid?s.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class $d{constructor(t,n,i,s){const o=n[i];s=xn([t.to,s,o,t.from]);const r=xn([t.from,o,s]);this._active=!0,this._fn=t.fn||Fd[t.type||typeof r],this._easing=Xe[t.easing]||Xe.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=i,this._from=r,this._to=s,this._promises=void 0}active(){return this._active}update(t,n,i){if(this._active){this._notify(!1);const s=this._target[this._prop],o=i-this._start,r=this._duration-o;this._start=i,this._duration=Math.floor(Math.max(r,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=xn([t.to,n,s,t.from]),this._from=xn([t.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,i=this._duration,s=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||n<i),!this._active){this._target[s]=a,this._notify(!0);return}if(n<0){this._target[s]=o;return}l=n/i%2,l=r&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[s]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,i)=>{t.push({res:n,rej:i})})}_notify(t){const n=t?"res":"rej",i=this._promises||[];for(let s=0;s<i.length;s++)i[s][n]()}}class da{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!z(t))return;const n=Object.keys(q.animation),i=this._properties;Object.getOwnPropertyNames(t).forEach(s=>{const o=t[s];if(!z(o))return;const r={};for(const a of n)r[a]=o[a];(Z(o.properties)&&o.properties||[s]).forEach(a=>{(a===s||!i.has(a))&&i.set(a,r)})})}_animateOptions(t,n){const i=n.options,s=Bd(t,i);if(!s)return[];const o=this._createAnimations(s,i);return i.$shared&&zd(t.options.$animations,i).then(()=>{t.options=i},()=>{}),o}_createAnimations(t,n){const i=this._properties,s=[],o=t.$animations||(t.$animations={}),r=Object.keys(n),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){s.push(...this._animateOptions(t,n));continue}const h=n[c];let d=o[c];const f=i.get(c);if(d)if(f&&d.active()){d.update(f,h,a);continue}else d.cancel();if(!f||!f.duration){t[c]=h;continue}o[c]=d=new $d(f,t,c,h),s.push(d)}return s}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const i=this._createAnimations(t,n);if(i.length)return At.add(this._chart,i),!0}}function zd(e,t){const n=[],i=Object.keys(t);for(let s=0;s<i.length;s++){const o=e[i[s]];o&&o.active()&&n.push(o.wait())}return Promise.all(n)}function Bd(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function ro(e,t){const n=e&&e.options||{},i=n.reverse,s=n.min===void 0?t:0,o=n.max===void 0?t:0;return{start:i?o:s,end:i?s:o}}function Wd(e,t,n){if(n===!1)return!1;const i=ro(e,n),s=ro(t,n);return{top:s.end,right:i.end,bottom:s.start,left:i.start}}function Hd(e){let t,n,i,s;return z(e)?(t=e.top,n=e.right,i=e.bottom,s=e.left):t=n=i=s=e,{top:t,right:n,bottom:i,left:s,disabled:e===!1}}function fa(e,t){const n=[],i=e._getSortedDatasetMetas(t);let s,o;for(s=0,o=i.length;s<o;++s)n.push(i[s].index);return n}function ao(e,t,n,i={}){const s=e.keys,o=i.mode==="single";let r,a,l,c;if(t===null)return;let h=!1;for(r=0,a=s.length;r<a;++r){if(l=+s[r],l===n){if(h=!0,i.all)continue;break}c=e.values[l],vt(c)&&(o||t===0||Dt(t)===Dt(c))&&(t+=c)}return!h&&!i.all?0:t}function Vd(e,t){const{iScale:n,vScale:i}=t,s=n.axis==="x"?"x":"y",o=i.axis==="x"?"x":"y",r=Object.keys(e),a=new Array(r.length);let l,c,h;for(l=0,c=r.length;l<c;++l)h=r[l],a[l]={[s]:h,[o]:e[h]};return a}function ri(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function Yd(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function Ud(e){const{min:t,max:n,minDefined:i,maxDefined:s}=e.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:s?n:Number.POSITIVE_INFINITY}}function Xd(e,t,n){const i=e[t]||(e[t]={});return i[n]||(i[n]={})}function lo(e,t,n,i){for(const s of t.getMatchingVisibleMetas(i).reverse()){const o=e[s.index];if(n&&o>0||!n&&o<0)return s.index}return null}function co(e,t){const{chart:n,_cachedMeta:i}=e,s=n._stacks||(n._stacks={}),{iScale:o,vScale:r,index:a}=i,l=o.axis,c=r.axis,h=Yd(o,r,i),d=t.length;let f;for(let u=0;u<d;++u){const g=t[u],{[l]:m,[c]:p}=g,b=g._stacks||(g._stacks={});f=b[c]=Xd(s,h,m),f[a]=p,f._top=lo(f,r,!0,i.type),f._bottom=lo(f,r,!1,i.type);const y=f._visualValues||(f._visualValues={});y[a]=p}}function ai(e,t){const n=e.scales;return Object.keys(n).filter(i=>n[i].axis===t).shift()}function Kd(e,t){return ge(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function qd(e,t,n){return ge(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function je(e,t){const n=e.controller.index,i=e.vScale&&e.vScale.axis;if(i){t=t||e._parsed;for(const s of t){const o=s._stacks;if(!o||o[i]===void 0||o[i][n]===void 0)return;delete o[i][n],o[i]._visualValues!==void 0&&o[i]._visualValues[n]!==void 0&&delete o[i]._visualValues[n]}}}const li=e=>e==="reset"||e==="none",ho=(e,t)=>t?e:Object.assign({},e),Gd=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:fa(n,!0),values:null};class we{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=ri(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&je(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,i=this.getDataset(),s=(d,f,u,g)=>d==="x"?f:d==="r"?g:u,o=n.xAxisID=F(i.xAxisID,ai(t,"x")),r=n.yAxisID=F(i.yAxisID,ai(t,"y")),a=n.rAxisID=F(i.rAxisID,ai(t,"r")),l=n.indexAxis,c=n.iAxisID=s(l,o,r,a),h=n.vAxisID=s(l,r,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(r),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Ys(this._data,this),t._stacked&&je(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),i=this._data;if(z(n)){const s=this._cachedMeta;this._data=Vd(n,s)}else if(i!==n){if(i){Ys(i,this);const s=this._cachedMeta;je(s),s._parsed=[]}n&&Object.isExtensible(n)&&Th(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const o=n._stacked;n._stacked=ri(n.vScale,n),n.stack!==i.stack&&(s=!0,je(n),n.stack=i.stack),this._resyncElements(t),(s||o!==n._stacked)&&(co(this,n._parsed),n._stacked=ri(n.vScale,n))}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:i,_data:s}=this,{iScale:o,_stacked:r}=i,a=o.axis;let l=t===0&&n===s.length?!0:i._sorted,c=t>0&&i._parsed[t-1],h,d,f;if(this._parsing===!1)i._parsed=s,i._sorted=!0,f=s;else{Z(s[t])?f=this.parseArrayData(i,s,t,n):z(s[t])?f=this.parseObjectData(i,s,t,n):f=this.parsePrimitiveData(i,s,t,n);const u=()=>d[a]===null||c&&d[a]<c[a];for(h=0;h<n;++h)i._parsed[h+t]=d=f[h],l&&(u()&&(l=!1),c=d);i._sorted=l}r&&co(this,f)}parsePrimitiveData(t,n,i,s){const{iScale:o,vScale:r}=t,a=o.axis,l=r.axis,c=o.getLabels(),h=o===r,d=new Array(s);let f,u,g;for(f=0,u=s;f<u;++f)g=f+i,d[f]={[a]:h||o.parse(c[g],g),[l]:r.parse(n[g],g)};return d}parseArrayData(t,n,i,s){const{xScale:o,yScale:r}=t,a=new Array(s);let l,c,h,d;for(l=0,c=s;l<c;++l)h=l+i,d=n[h],a[l]={x:o.parse(d[0],h),y:r.parse(d[1],h)};return a}parseObjectData(t,n,i,s){const{xScale:o,yScale:r}=t,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c=new Array(s);let h,d,f,u;for(h=0,d=s;h<d;++h)f=h+i,u=n[f],c[h]={x:o.parse(Pe(u,a),f),y:r.parse(Pe(u,l),f)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,i){const s=this.chart,o=this._cachedMeta,r=n[t.axis],a={keys:fa(s,!0),values:n._stacks[t.axis]._visualValues};return ao(a,r,o.index,{mode:i})}updateRangeFromParsed(t,n,i,s){const o=i[n.axis];let r=o===null?NaN:o;const a=s&&i._stacks[n.axis];s&&a&&(s.values=a,r=ao(s,o,this._cachedMeta.index)),t.min=Math.min(t.min,r),t.max=Math.max(t.max,r)}getMinMax(t,n){const i=this._cachedMeta,s=i._parsed,o=i._sorted&&t===i.iScale,r=s.length,a=this._getOtherScale(t),l=Gd(n,i,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:d}=Ud(a);let f,u;function g(){u=s[f];const m=u[a.axis];return!vt(u[t.axis])||h>m||d<m}for(f=0;f<r&&!(!g()&&(this.updateRangeFromParsed(c,t,u,l),o));++f);if(o){for(f=r-1;f>=0;--f)if(!g()){this.updateRangeFromParsed(c,t,u,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,i=[];let s,o,r;for(s=0,o=n.length;s<o;++s)r=n[s][t.axis],vt(r)&&i.push(r);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,i=n.iScale,s=n.vScale,o=this.getParsed(t);return{label:i?""+i.getLabelForValue(o[i.axis]):"",value:s?""+s.getLabelForValue(o[s.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=Hd(F(this.options.clip,Wd(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,i=this._cachedMeta,s=i.data||[],o=n.chartArea,r=[],a=this._drawStart||0,l=this._drawCount||s.length-a,c=this.options.drawActiveElementsOnTop;let h;for(i.dataset&&i.dataset.draw(t,o,a,l),h=a;h<a+l;++h){const d=s[h];d.hidden||(d.active&&c?r.push(d):d.draw(t,o))}for(h=0;h<r.length;++h)r[h].draw(t,o)}getStyle(t,n){const i=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,n,i){const s=this.getDataset();let o;if(t>=0&&t<this._cachedMeta.data.length){const r=this._cachedMeta.data[t];o=r.$context||(r.$context=qd(this.getContext(),t,r)),o.parsed=this.getParsed(t),o.raw=s.data[t],o.index=o.dataIndex=t}else o=this.$context||(this.$context=Kd(this.chart.getContext(),this.index)),o.dataset=s,o.index=o.datasetIndex=this.index;return o.active=!!n,o.mode=i,o}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",i){const s=n==="active",o=this._cachedDataOpts,r=t+"-"+n,a=o[r],l=this.enableOptionSharing&&Qe(i);if(a)return ho(a,l);const c=this.chart.config,h=c.datasetElementScopeKeys(this._type,t),d=s?[`${t}Hover`,"hover",t,""]:[t,""],f=c.getOptionScopes(this.getDataset(),h),u=Object.keys(q.elements[t]),g=()=>this.getContext(i,s,n),m=c.resolveNamedOptions(f,u,g,d);return m.$shared&&(m.$shared=l,o[r]=Object.freeze(ho(m,l))),m}_resolveAnimations(t,n,i){const s=this.chart,o=this._cachedDataOpts,r=`animation-${n}`,a=o[r];if(a)return a;let l;if(s.options.animation!==!1){const h=this.chart.config,d=h.datasetAnimationScopeKeys(this._type,n),f=h.getOptionScopes(this.getDataset(),d);l=h.createResolver(f,this.getContext(t,i,n))}const c=new da(s,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||li(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const i=this.resolveDataElementOptions(t,n),s=this._sharedOptions,o=this.getSharedOptions(i),r=this.includeOptions(n,o)||o!==s;return this.updateSharedOptions(o,n,i),{sharedOptions:o,includeOptions:r}}updateElement(t,n,i,s){li(s)?Object.assign(t,i):this._resolveAnimations(n,s).update(t,i)}updateSharedOptions(t,n,i){t&&!li(n)&&this._resolveAnimations(void 0,n).update(t,i)}_setStyle(t,n,i,s){t.active=s;const o=this.getStyle(n,s);this._resolveAnimations(n,i,s).update(t,{options:!s&&this.getSharedOptions(o)||o})}removeHoverStyle(t,n,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,n,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,i=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const s=i.length,o=n.length,r=Math.min(o,s);r&&this.parse(0,r),o>s?this._insertElements(s,o-s,t):o<s&&this._removeElements(o,s-o)}_insertElements(t,n,i=!0){const s=this._cachedMeta,o=s.data,r=t+n;let a;const l=c=>{for(c.length+=n,a=c.length-1;a>=r;a--)c[a]=c[a-n]};for(l(o),a=t;a<r;++a)o[a]=new this.dataElementType;this._parsing&&l(s._parsed),this.parse(t,n),i&&this.updateElements(o,t,n,"reset")}updateElements(t,n,i,s){}_removeElements(t,n){const i=this._cachedMeta;if(this._parsing){const s=i._parsed.splice(t,n);i._stacked&&je(i,s)}i.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,i,s]=t;this[n](i,s)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}j(we,"defaults",{}),j(we,"datasetElementType",null),j(we,"dataElementType",null);function Jd(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let i=[];for(let s=0,o=n.length;s<o;s++)i=i.concat(n[s].controller.getAllParsedValues(e));e._cache.$bar=qr(i.sort((s,o)=>s-o))}return e._cache.$bar}function Zd(e){const t=e.iScale,n=Jd(t,e.type);let i=t._length,s,o,r,a;const l=()=>{r===32767||r===-32768||(Qe(a)&&(i=Math.min(i,Math.abs(r-a)||i)),a=r)};for(s=0,o=n.length;s<o;++s)r=t.getPixelForValue(n[s]),l();for(a=void 0,s=0,o=t.ticks.length;s<o;++s)r=t.getPixelForTick(s),l();return i}function Qd(e,t,n,i){const s=n.barThickness;let o,r;return Y(s)?(o=t.min*n.categoryPercentage,r=n.barPercentage):(o=s*i,r=1),{chunk:o/i,ratio:r,start:t.pixels[e]-o/2}}function tf(e,t,n,i){const s=t.pixels,o=s[e];let r=e>0?s[e-1]:null,a=e<s.length-1?s[e+1]:null;const l=n.categoryPercentage;r===null&&(r=o-(a===null?t.end-t.start:a-o)),a===null&&(a=o+o-r);const c=o-(o-Math.min(r,a))/2*l;return{chunk:Math.abs(a-r)/2*l/i,ratio:n.barPercentage,start:c}}function ef(e,t,n,i){const s=n.parse(e[0],i),o=n.parse(e[1],i),r=Math.min(s,o),a=Math.max(s,o);let l=r,c=a;Math.abs(r)>Math.abs(a)&&(l=a,c=r),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:s,end:o,min:r,max:a}}function ua(e,t,n,i){return Z(e)?ef(e,t,n,i):t[n.axis]=n.parse(e,i),t}function fo(e,t,n,i){const s=e.iScale,o=e.vScale,r=s.getLabels(),a=s===o,l=[];let c,h,d,f;for(c=n,h=n+i;c<h;++c)f=t[c],d={},d[s.axis]=a||s.parse(r[c],c),l.push(ua(f,d,o,c));return l}function ci(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function nf(e,t,n){return e!==0?Dt(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function sf(e){let t,n,i,s,o;return e.horizontal?(t=e.base>e.x,n="left",i="right"):(t=e.base<e.y,n="bottom",i="top"),t?(s="end",o="start"):(s="start",o="end"),{start:n,end:i,reverse:t,top:s,bottom:o}}function of(e,t,n,i){let s=t.borderSkipped;const o={};if(!s){e.borderSkipped=o;return}if(s===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:r,end:a,reverse:l,top:c,bottom:h}=sf(e);s==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===i?s=c:(n._bottom||0)===i?s=h:(o[uo(h,r,a,l)]=!0,s=c)),o[uo(s,r,a,l)]=!0,e.borderSkipped=o}function uo(e,t,n,i){return i?(e=rf(e,t,n),e=po(e,n,t)):e=po(e,t,n),e}function rf(e,t,n){return e===t?n:e===n?t:e}function po(e,t,n){return e==="start"?t:e==="end"?n:e}function af(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class hi extends we{parsePrimitiveData(t,n,i,s){return fo(t,n,i,s)}parseArrayData(t,n,i,s){return fo(t,n,i,s)}parseObjectData(t,n,i,s){const{iScale:o,vScale:r}=t,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c=o.axis==="x"?a:l,h=r.axis==="x"?a:l,d=[];let f,u,g,m;for(f=i,u=i+s;f<u;++f)m=n[f],g={},g[o.axis]=o.parse(Pe(m,c),f),d.push(ua(Pe(m,h),g,r,f));return d}updateRangeFromParsed(t,n,i,s){super.updateRangeFromParsed(t,n,i,s);const o=i._custom;o&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,o.min),t.max=Math.max(t.max,o.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:i,vScale:s}=n,o=this.getParsed(t),r=o._custom,a=ci(r)?"["+r.start+", "+r.end+"]":""+s.getLabelForValue(o[s.axis]);return{label:""+i.getLabelForValue(o[i.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,i,s){const o=s==="reset",{index:r,_cachedMeta:{vScale:a}}=this,l=a.getBasePixel(),c=a.isHorizontal(),h=this._getRuler(),{sharedOptions:d,includeOptions:f}=this._getSharedOptions(n,s);for(let u=n;u<n+i;u++){const g=this.getParsed(u),m=o||Y(g[a.axis])?{base:l,head:l}:this._calculateBarValuePixels(u),p=this._calculateBarIndexPixels(u,h),b=(g._stacks||{})[a.axis],y={horizontal:c,base:m.base,enableBorderRadius:!b||ci(g._custom)||r===b._top||r===b._bottom,x:c?m.head:p.center,y:c?p.center:m.head,height:c?p.size:Math.abs(m.size),width:c?Math.abs(m.size):p.size};f&&(y.options=d||this.resolveDataElementOptions(u,t[u].active?"active":s));const v=y.options||t[u].options;of(y,v,b,r),af(y,v,h.ratio),this.updateElement(t[u],u,y,s)}}_getStacks(t,n){const{iScale:i}=this._cachedMeta,s=i.getMatchingVisibleMetas(this._type).filter(h=>h.controller.options.grouped),o=i.options.stacked,r=[],a=this._cachedMeta.controller.getParsed(n),l=a&&a[i.axis],c=h=>{const d=h._parsed.find(u=>u[i.axis]===l),f=d&&d[h.vScale.axis];if(Y(f)||isNaN(f))return!0};for(const h of s)if(!(n!==void 0&&c(h))&&((o===!1||r.indexOf(h.stack)===-1||o===void 0&&h.stack===void 0)&&r.push(h.stack),h.index===t))break;return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,i){const s=this._getStacks(t,i),o=n!==void 0?s.indexOf(n):-1;return o===-1?s.length-1:o}_getRuler(){const t=this.options,n=this._cachedMeta,i=n.iScale,s=[];let o,r;for(o=0,r=n.data.length;o<r;++o)s.push(i.getPixelForValue(this.getParsed(o)[i.axis],o));const a=t.barThickness;return{min:a||Zd(n),pixels:s,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:i,index:s},options:{base:o,minBarLength:r}}=this,a=o||0,l=this.getParsed(t),c=l._custom,h=ci(c);let d=l[n.axis],f=0,u=i?this.applyStack(n,l,i):d,g,m;u!==d&&(f=u-d,u=d),h&&(d=c.barStart,u=c.barEnd-c.barStart,d!==0&&Dt(d)!==Dt(c.barEnd)&&(f=0),f+=d);const p=!Y(o)&&!h?o:f;let b=n.getPixelForValue(p);if(this.chart.getDataVisibility(t)?g=n.getPixelForValue(f+u):g=b,m=g-b,Math.abs(m)<r){m=nf(m,n,a)*r,d===a&&(b-=m/2);const y=n.getPixelForDecimal(0),v=n.getPixelForDecimal(1),w=Math.min(y,v),_=Math.max(y,v);b=Math.max(Math.min(b,_),w),g=b+m,i&&!h&&(l._stacks[n.axis]._visualValues[s]=n.getValueForPixel(g)-n.getValueForPixel(b))}if(b===n.getPixelForValue(a)){const y=Dt(m)*n.getLineWidthForValue(a)/2;b+=y,m-=y}return{size:m,base:b,head:g,center:g+m/2}}_calculateBarIndexPixels(t,n){const i=n.scale,s=this.options,o=s.skipNull,r=F(s.maxBarThickness,1/0);let a,l;if(n.grouped){const c=o?this._getStackCount(t):n.stackCount,h=s.barThickness==="flex"?tf(t,n,s,c):Qd(t,n,s,c),d=this._getStackIndex(this.index,this._cachedMeta.stack,o?t:void 0);a=h.start+h.chunk*d+h.chunk/2,l=Math.min(r,h.chunk*h.ratio)}else a=i.getPixelForValue(this.getParsed(t)[i.axis],t),l=Math.min(r,n.min*n.ratio);return{base:a-l/2,head:a+l/2,center:a,size:l}}draw(){const t=this._cachedMeta,n=t.vScale,i=t.data,s=i.length;let o=0;for(;o<s;++o)this.getParsed(o)[n.axis]!==null&&!i[o].hidden&&i[o].draw(this._ctx)}}j(hi,"id","bar"),j(hi,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),j(hi,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class di extends we{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:i,data:s=[],_dataset:o}=n,r=this.chart._animationsDisabled;let{start:a,count:l}=Lh(n,s,r);this._drawStart=a,this._drawCount=l,Nh(n)&&(a=0,l=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!o._decimated,i.points=s;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(i,void 0,{animated:!r,options:c},t),this.updateElements(s,a,l,t)}updateElements(t,n,i,s){const o=s==="reset",{iScale:r,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:h,includeOptions:d}=this._getSharedOptions(n,s),f=r.axis,u=a.axis,{spanGaps:g,segment:m}=this.options,p=tn(g)?g:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||o||s==="none",y=n+i,v=t.length;let w=n>0&&this.getParsed(n-1);for(let _=0;_<v;++_){const S=t[_],M=b?S:{};if(_<n||_>=y){M.skip=!0;continue}const k=this.getParsed(_),P=Y(k[u]),E=M[f]=r.getPixelForValue(k[f],_),C=M[u]=o||P?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,k,l):k[u],_);M.skip=isNaN(E)||isNaN(C)||P,M.stop=_>0&&Math.abs(k[f]-w[f])>p,m&&(M.parsed=k,M.raw=c.data[_]),d&&(M.options=h||this.resolveDataElementOptions(_,S.active?"active":s)),b||this.updateElement(S,_,M,s),w=k}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,i=n.options&&n.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const o=s[0].size(this.resolveDataElementOptions(0)),r=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,o,r)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}j(di,"id","line"),j(di,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),j(di,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function ie(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class os{constructor(t){j(this,"options");this.options=t||{}}static override(t){Object.assign(os.prototype,t)}init(){}formats(){return ie()}parse(){return ie()}format(){return ie()}add(){return ie()}diff(){return ie()}startOf(){return ie()}endOf(){return ie()}}var lf={_date:os};function cf(e,t,n,i){const{controller:s,data:o,_sorted:r}=e,a=s._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&r&&o.length){const l=a._reversePixels?Dh:ce;if(i){if(s._sharedOptions){const c=o[0],h=typeof c.getRange=="function"&&c.getRange(t);if(h){const d=l(o,t,n-h),f=l(o,t,n+h);return{lo:d.lo,hi:f.hi}}}}else return l(o,t,n)}return{lo:0,hi:o.length-1}}function hn(e,t,n,i,s){const o=e.getSortedVisibleDatasetMetas(),r=n[t];for(let a=0,l=o.length;a<l;++a){const{index:c,data:h}=o[a],{lo:d,hi:f}=cf(o[a],t,r,s);for(let u=d;u<=f;++u){const g=h[u];g.skip||i(g,c,u)}}}function hf(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(i,s){const o=t?Math.abs(i.x-s.x):0,r=n?Math.abs(i.y-s.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(r,2))}}function fi(e,t,n,i,s){const o=[];return!s&&!e.isPointInArea(t)||hn(e,n,t,function(a,l,c){!s&&!en(a,e.chartArea,0)||a.inRange(t.x,t.y,i)&&o.push({element:a,datasetIndex:l,index:c})},!0),o}function df(e,t,n,i){let s=[];function o(r,a,l){const{startAngle:c,endAngle:h}=r.getProps(["startAngle","endAngle"],i),{angle:d}=Xr(r,{x:t.x,y:t.y});Xi(d,c,h)&&s.push({element:r,datasetIndex:a,index:l})}return hn(e,n,t,o),s}function ff(e,t,n,i,s,o){let r=[];const a=hf(n);let l=Number.POSITIVE_INFINITY;function c(h,d,f){const u=h.inRange(t.x,t.y,s);if(i&&!u)return;const g=h.getCenterPoint(s);if(!(!!o||e.isPointInArea(g))&&!u)return;const p=a(t,g);p<l?(r=[{element:h,datasetIndex:d,index:f}],l=p):p===l&&r.push({element:h,datasetIndex:d,index:f})}return hn(e,n,t,c),r}function ui(e,t,n,i,s,o){return!o&&!e.isPointInArea(t)?[]:n==="r"&&!i?df(e,t,n,s):ff(e,t,n,i,s,o)}function go(e,t,n,i,s){const o=[],r=n==="x"?"inXRange":"inYRange";let a=!1;return hn(e,n,t,(l,c,h)=>{l[r]&&l[r](t[n],s)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(t.x,t.y,s))}),i&&!a?[]:o}var uf={evaluateInteractionItems:hn,modes:{index(e,t,n,i){const s=re(t,e),o=n.axis||"x",r=n.includeInvisible||!1,a=n.intersect?fi(e,s,o,i,r):ui(e,s,o,!1,i,r),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const h=a[0].index,d=c.data[h];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:h})}),l):[]},dataset(e,t,n,i){const s=re(t,e),o=n.axis||"xy",r=n.includeInvisible||!1;let a=n.intersect?fi(e,s,o,i,r):ui(e,s,o,!1,i,r);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let h=0;h<c.length;++h)a.push({element:c[h],datasetIndex:l,index:h})}return a},point(e,t,n,i){const s=re(t,e),o=n.axis||"xy",r=n.includeInvisible||!1;return fi(e,s,o,i,r)},nearest(e,t,n,i){const s=re(t,e),o=n.axis||"xy",r=n.includeInvisible||!1;return ui(e,s,o,n.intersect,i,r)},x(e,t,n,i){const s=re(t,e);return go(e,s,"x",n.intersect,i)},y(e,t,n,i){const s=re(t,e);return go(e,s,"y",n.intersect,i)}}};const pa=["left","top","right","bottom"];function Le(e,t){return e.filter(n=>n.pos===t)}function mo(e,t){return e.filter(n=>pa.indexOf(n.pos)===-1&&n.box.axis===t)}function Ne(e,t){return e.sort((n,i)=>{const s=t?i:n,o=t?n:i;return s.weight===o.weight?s.index-o.index:s.weight-o.weight})}function pf(e){const t=[];let n,i,s,o,r,a;for(n=0,i=(e||[]).length;n<i;++n)s=e[n],{position:o,options:{stack:r,stackWeight:a=1}}=s,t.push({index:n,box:s,pos:o,horizontal:s.isHorizontal(),weight:s.weight,stack:r&&o+r,stackWeight:a});return t}function gf(e){const t={};for(const n of e){const{stack:i,pos:s,stackWeight:o}=n;if(!i||!pa.includes(s))continue;const r=t[i]||(t[i]={count:0,placed:0,weight:0,size:0});r.count++,r.weight+=o}return t}function mf(e,t){const n=gf(e),{vBoxMaxWidth:i,hBoxMaxHeight:s}=t;let o,r,a;for(o=0,r=e.length;o<r;++o){a=e[o];const{fullSize:l}=a.box,c=n[a.stack],h=c&&a.stackWeight/c.weight;a.horizontal?(a.width=h?h*i:l&&t.availableWidth,a.height=s):(a.width=i,a.height=h?h*s:l&&t.availableHeight)}return n}function bf(e){const t=pf(e),n=Ne(t.filter(c=>c.box.fullSize),!0),i=Ne(Le(t,"left"),!0),s=Ne(Le(t,"right")),o=Ne(Le(t,"top"),!0),r=Ne(Le(t,"bottom")),a=mo(t,"x"),l=mo(t,"y");return{fullSize:n,leftAndTop:i.concat(o),rightAndBottom:s.concat(l).concat(r).concat(a),chartArea:Le(t,"chartArea"),vertical:i.concat(s).concat(l),horizontal:o.concat(r).concat(a)}}function bo(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function ga(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function xf(e,t,n,i){const{pos:s,box:o}=n,r=e.maxPadding;if(!z(s)){n.size&&(e[s]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,e[s]+=n.size}o.getPadding&&ga(r,o.getPadding());const a=Math.max(0,t.outerWidth-bo(r,e,"left","right")),l=Math.max(0,t.outerHeight-bo(r,e,"top","bottom")),c=a!==e.w,h=l!==e.h;return e.w=a,e.h=l,n.horizontal?{same:c,other:h}:{same:h,other:c}}function yf(e){const t=e.maxPadding;function n(i){const s=Math.max(t[i]-e[i],0);return e[i]+=s,s}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function _f(e,t){const n=t.maxPadding;function i(s){const o={left:0,top:0,right:0,bottom:0};return s.forEach(r=>{o[r]=Math.max(t[r],n[r])}),o}return i(e?["left","right"]:["top","bottom"])}function ze(e,t,n,i){const s=[];let o,r,a,l,c,h;for(o=0,r=e.length,c=0;o<r;++o){a=e[o],l=a.box,l.update(a.width||t.w,a.height||t.h,_f(a.horizontal,t));const{same:d,other:f}=xf(t,n,a,i);c|=d&&s.length,h=h||f,l.fullSize||s.push(a)}return c&&ze(s,t,n,i)||h}function vn(e,t,n,i,s){e.top=n,e.left=t,e.right=t+i,e.bottom=n+s,e.width=i,e.height=s}function xo(e,t,n,i){const s=n.padding;let{x:o,y:r}=t;for(const a of e){const l=a.box,c=i[a.stack]||{count:1,placed:0,weight:1},h=a.stackWeight/c.weight||1;if(a.horizontal){const d=t.w*h,f=c.size||l.height;Qe(c.start)&&(r=c.start),l.fullSize?vn(l,s.left,r,n.outerWidth-s.right-s.left,f):vn(l,t.left+c.placed,r,d,f),c.start=r,c.placed+=d,r=l.bottom}else{const d=t.h*h,f=c.size||l.width;Qe(c.start)&&(o=c.start),l.fullSize?vn(l,o,s.top,f,n.outerHeight-s.bottom-s.top):vn(l,o,t.top+c.placed,f,d),c.start=o,c.placed+=d,o=l.right}}t.x=o,t.y=r}var xt={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,i){if(!e)return;const s=wt(e.options.layout.padding),o=Math.max(t-s.width,0),r=Math.max(n-s.height,0),a=bf(e.boxes),l=a.vertical,c=a.horizontal;V(e.boxes,m=>{typeof m.beforeLayout=="function"&&m.beforeLayout()});const h=l.reduce((m,p)=>p.box.options&&p.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:s,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),f=Object.assign({},s);ga(f,wt(i));const u=Object.assign({maxPadding:f,w:o,h:r,x:s.left,y:s.top},s),g=mf(l.concat(c),d);ze(a.fullSize,u,d,g),ze(l,u,d,g),ze(c,u,d,g)&&ze(l,u,d,g),yf(u),xo(a.leftAndTop,u,d,g),u.x+=u.w,u.y+=u.h,xo(a.rightAndBottom,u,d,g),e.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},V(a.chartArea,m=>{const p=m.box;Object.assign(p,e.chartArea),p.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}};class ma{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,i){}removeEventListener(t,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,i,s){return n=Math.max(0,n||t.width),i=i||t.height,{width:n,height:Math.max(0,s?Math.floor(n/s):i)}}isAttached(t){return!0}updateConfig(t){}}class vf extends ma{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const An="$chartjs",wf={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},yo=e=>e===null||e==="";function Sf(e,t){const n=e.style,i=e.getAttribute("height"),s=e.getAttribute("width");if(e[An]={initial:{height:i,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",yo(s)){const o=eo(e,"width");o!==void 0&&(e.width=o)}if(yo(i))if(e.style.height==="")e.height=e.width/(t||2);else{const o=eo(e,"height");o!==void 0&&(e.height=o)}return e}const ba=kd?{passive:!0}:!1;function kf(e,t,n){e&&e.addEventListener(t,n,ba)}function Mf(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,ba)}function Cf(e,t){const n=wf[e.type]||e.type,{x:i,y:s}=re(e,t);return{type:n,chart:t,native:e,x:i!==void 0?i:null,y:s!==void 0?s:null}}function Bn(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function Pf(e,t,n){const i=e.canvas,s=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Bn(a.addedNodes,i),r=r&&!Bn(a.removedNodes,i);r&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function Of(e,t,n){const i=e.canvas,s=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Bn(a.removedNodes,i),r=r&&!Bn(a.addedNodes,i);r&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const sn=new Map;let _o=0;function xa(){const e=window.devicePixelRatio;e!==_o&&(_o=e,sn.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Ef(e,t){sn.size||window.addEventListener("resize",xa),sn.set(e,t)}function Df(e){sn.delete(e),sn.size||window.removeEventListener("resize",xa)}function Rf(e,t,n){const i=e.canvas,s=i&&ss(i);if(!s)return;const o=Jr((a,l)=>{const c=s.clientWidth;n(a,l),c<s.clientWidth&&n()},window),r=new ResizeObserver(a=>{const l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(s),Ef(e,o),r}function pi(e,t,n){n&&n.disconnect(),t==="resize"&&Df(e)}function Tf(e,t,n){const i=e.canvas,s=Jr(o=>{e.ctx!==null&&n(Cf(o,e))},e);return kf(i,t,s),s}class Af extends ma{acquireContext(t,n){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(Sf(t,n),i):null}releaseContext(t){const n=t.canvas;if(!n[An])return!1;const i=n[An].initial;["height","width"].forEach(o=>{const r=i[o];Y(r)?n.removeAttribute(o):n.setAttribute(o,r)});const s=i.style||{};return Object.keys(s).forEach(o=>{n.style[o]=s[o]}),n.width=n.width,delete n[An],!0}addEventListener(t,n,i){this.removeEventListener(t,n);const s=t.$proxies||(t.$proxies={}),r={attach:Pf,detach:Of,resize:Rf}[n]||Tf;s[n]=r(t,n,i)}removeEventListener(t,n){const i=t.$proxies||(t.$proxies={}),s=i[n];if(!s)return;({attach:pi,detach:pi,resize:pi}[n]||Mf)(t,n,s),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,i,s){return Sd(t,n,i,s)}isAttached(t){const n=t&&ss(t);return!!(n&&n.isConnected)}}function jf(e){return!is()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?vf:Af}var Rn;let $t=(Rn=class{constructor(){j(this,"x");j(this,"y");j(this,"active",!1);j(this,"options");j(this,"$animations")}tooltipPosition(t){const{x:n,y:i}=this.getProps(["x","y"],t);return{x:n,y:i}}hasValue(){return tn(this.x)&&tn(this.y)}getProps(t,n){const i=this.$animations;if(!n||!i)return this;const s={};return t.forEach(o=>{s[o]=i[o]&&i[o].active()?i[o]._to:this[o]}),s}},j(Rn,"defaults",{}),j(Rn,"defaultRoutes"),Rn);function Lf(e,t){const n=e.options.ticks,i=Nf(e),s=Math.min(n.maxTicksLimit||i,i),o=n.major.enabled?Ff(t):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>s)return $f(t,c,o,r/s),c;const h=If(o,t,s);if(r>0){let d,f;const u=r>1?Math.round((l-a)/(r-1)):null;for(wn(t,c,h,Y(u)?0:a-u,a),d=0,f=r-1;d<f;d++)wn(t,c,h,o[d],o[d+1]);return wn(t,c,h,l,Y(u)?t.length:l+u),c}return wn(t,c,h),c}function Nf(e){const t=e.options.offset,n=e._tickSize(),i=e._length/n+(t?0:1),s=e._maxLength/n;return Math.floor(Math.min(i,s))}function If(e,t,n){const i=zf(e),s=t.length/n;if(!i)return Math.max(s,1);const o=kh(i);for(let r=0,a=o.length-1;r<a;r++){const l=o[r];if(l>s)return l}return Math.max(s,1)}function Ff(e){const t=[];let n,i;for(n=0,i=e.length;n<i;n++)e[n].major&&t.push(n);return t}function $f(e,t,n,i){let s=0,o=n[0],r;for(i=Math.ceil(i),r=0;r<e.length;r++)r===o&&(t.push(e[r]),s++,o=n[s*i])}function wn(e,t,n,i,s){const o=F(i,0),r=Math.min(F(s,e.length),e.length);let a=0,l,c,h;for(n=Math.ceil(n),s&&(l=s-i,n=l/Math.floor(l/n)),h=o;h<0;)a++,h=Math.round(o+a*n);for(c=Math.max(o,0);c<r;c++)c===h&&(t.push(e[c]),a++,h=Math.round(o+a*n))}function zf(e){const t=e.length;let n,i;if(t<2)return!1;for(i=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==i)return!1;return i}const Bf=e=>e==="left"?"right":e==="right"?"left":e,vo=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,wo=(e,t)=>Math.min(t||e,e);function So(e,t){const n=[],i=e.length/t,s=e.length;let o=0;for(;o<s;o+=i)n.push(e[Math.floor(o)]);return n}function Wf(e,t,n){const i=e.ticks.length,s=Math.min(t,i-1),o=e._startPixel,r=e._endPixel,a=1e-6;let l=e.getPixelForTick(s),c;if(!(n&&(i===1?c=Math.max(l-o,r-l):t===0?c=(e.getPixelForTick(1)-l)/2:c=(l-e.getPixelForTick(s-1))/2,l+=s<t?c:-c,l<o-a||l>r+a)))return l}function Hf(e,t){V(e,n=>{const i=n.gc,s=i.length/2;let o;if(s>t){for(o=0;o<s;++o)delete n.data[i[o]];i.splice(0,s)}})}function Ie(e){return e.drawTicks?e.tickLength:0}function ko(e,t){if(!e.display)return 0;const n=lt(e.font,t),i=wt(e.padding);return(Z(e.text)?e.text.length:1)*n.lineHeight+i.height}function Vf(e,t){return ge(e,{scale:t,type:"scale"})}function Yf(e,t,n){return ge(e,{tick:n,index:t,type:"tick"})}function Uf(e,t,n){let i=qi(e);return(n&&t!=="right"||!n&&t==="right")&&(i=Bf(i)),i}function Xf(e,t,n,i){const{top:s,left:o,bottom:r,right:a,chart:l}=e,{chartArea:c,scales:h}=l;let d=0,f,u,g;const m=r-s,p=a-o;if(e.isHorizontal()){if(u=rt(i,o,a),z(n)){const b=Object.keys(n)[0],y=n[b];g=h[b].getPixelForValue(y)+m-t}else n==="center"?g=(c.bottom+c.top)/2+m-t:g=vo(e,n,t);f=a-o}else{if(z(n)){const b=Object.keys(n)[0],y=n[b];u=h[b].getPixelForValue(y)-p+t}else n==="center"?u=(c.left+c.right)/2-p+t:u=vo(e,n,t);g=rt(i,r,s),d=n==="left"?-st:st}return{titleX:u,titleY:g,maxWidth:f,rotation:d}}class De extends $t{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:i,_suggestedMax:s}=this;return t=kt(t,Number.POSITIVE_INFINITY),n=kt(n,Number.NEGATIVE_INFINITY),i=kt(i,Number.POSITIVE_INFINITY),s=kt(s,Number.NEGATIVE_INFINITY),{min:kt(t,i),max:kt(n,s),minDefined:vt(t),maxDefined:vt(n)}}getMinMax(t){let{min:n,max:i,minDefined:s,maxDefined:o}=this.getUserBounds(),r;if(s&&o)return{min:n,max:i};const a=this.getMatchingVisibleMetas();for(let l=0,c=a.length;l<c;++l)r=a[l].controller.getMinMax(this,t),s||(n=Math.min(n,r.min)),o||(i=Math.max(i,r.max));return n=o&&n>i?i:n,i=s&&n>i?n:i,{min:kt(n,kt(i,n)),max:kt(i,kt(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){U(this.options.beforeUpdate,[this])}update(t,n,i){const{beginAtZero:s,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=ed(this,o,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a<this.ticks.length;this._convertTicksToLabels(l?So(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),r.display&&(r.autoSkip||r.source==="auto")&&(this.ticks=Lf(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,i;this.isHorizontal()?(n=this.left,i=this.right):(n=this.top,i=this.bottom,t=!t),this._startPixel=n,this._endPixel=i,this._reversePixels=t,this._length=i-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){U(this.options.afterUpdate,[this])}beforeSetDimensions(){U(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){U(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),U(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){U(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let i,s,o;for(i=0,s=t.length;i<s;i++)o=t[i],o.label=U(n.callback,[o.value,i,t],this)}afterTickToLabelConversion(){U(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){U(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,i=wo(this.ticks.length,t.ticks.maxTicksLimit),s=n.minRotation||0,o=n.maxRotation;let r=s,a,l,c;if(!this._isVisible()||!n.display||s>=o||i<=1||!this.isHorizontal()){this.labelRotation=s;return}const h=this._getLabelSizes(),d=h.widest.width,f=h.highest.height,u=at(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/i:u/(i-1),d+6>a&&(a=u/(i-(t.offset?.5:1)),l=this.maxHeight-Ie(t.grid)-n.padding-ko(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=Ph(Math.min(Math.asin(at((h.highest.height+6)/a,-1,1)),Math.asin(at(l/c,-1,1))-Math.asin(at(f/c,-1,1)))),r=Math.max(s,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){U(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){U(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:i,title:s,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=ko(s,n.options.font);if(a?(t.width=this.maxWidth,t.height=Ie(o)+l):(t.height=this.maxHeight,t.width=Ie(o)+l),i.display&&this.ticks.length){const{first:c,last:h,widest:d,highest:f}=this._getLabelSizes(),u=i.padding*2,g=le(this.labelRotation),m=Math.cos(g),p=Math.sin(g);if(a){const b=i.mirror?0:p*d.width+m*f.height;t.height=Math.min(this.maxHeight,t.height+b+u)}else{const b=i.mirror?0:m*d.width+p*f.height;t.width=Math.min(this.maxWidth,t.width+b+u)}this._calculatePadding(c,h,p,m)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,i,s){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,u=0;l?c?(f=s*t.width,u=i*n.height):(f=i*t.height,u=s*n.width):o==="start"?u=n.width:o==="end"?f=t.width:o!=="inner"&&(f=t.width/2,u=n.width/2),this.paddingLeft=Math.max((f-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-d+r)*this.width/(this.width-d),0)}else{let h=n.height/2,d=t.height/2;o==="start"?(h=0,d=t.height):o==="end"&&(h=n.height,d=0),this.paddingTop=h+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){U(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,i;for(n=0,i=t.length;n<i;n++)Y(t[n].label)&&(t.splice(n,1),i--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let i=this.ticks;n<i.length&&(i=So(i,n)),this._labelSizes=t=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,i){const{ctx:s,_longestTextCache:o}=this,r=[],a=[],l=Math.floor(n/wo(n,i));let c=0,h=0,d,f,u,g,m,p,b,y,v,w,_;for(d=0;d<n;d+=l){if(g=t[d].label,m=this._resolveTickFontOptions(d),s.font=p=m.string,b=o[p]=o[p]||{data:{},gc:[]},y=m.lineHeight,v=w=0,!Y(g)&&!Z(g))v=Gs(s,b.data,b.gc,v,g),w=y;else if(Z(g))for(f=0,u=g.length;f<u;++f)_=g[f],!Y(_)&&!Z(_)&&(v=Gs(s,b.data,b.gc,v,_),w+=y);r.push(v),a.push(w),c=Math.max(v,c),h=Math.max(w,h)}Hf(o,n);const S=r.indexOf(c),M=a.indexOf(h),k=P=>({width:r[P]||0,height:a[P]||0});return{first:k(0),last:k(n-1),widest:k(S),highest:k(M),widths:r,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return Eh(this._alignToPixels?ne(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const i=n[t];return i.$context||(i.$context=Yf(this.getContext(),t,i))}return this.$context||(this.$context=Vf(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=le(this.labelRotation),i=Math.abs(Math.cos(n)),s=Math.abs(Math.sin(n)),o=this._getLabelSizes(),r=t.autoSkipPadding||0,a=o?o.widest.width+r:0,l=o?o.highest.height+r:0;return this.isHorizontal()?l*i>a*s?a/i:l/s:l*s<a*i?l/i:a/s}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,i=this.chart,s=this.options,{grid:o,position:r,border:a}=s,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=Ie(o),u=[],g=a.setContext(this.getContext()),m=g.display?g.width:0,p=m/2,b=function(L){return ne(i,L,m)};let y,v,w,_,S,M,k,P,E,C,O,R;if(r==="top")y=b(this.bottom),M=this.bottom-f,P=y-p,C=b(t.top)+p,R=t.bottom;else if(r==="bottom")y=b(this.top),C=t.top,R=b(t.bottom)-p,M=y+p,P=this.top+f;else if(r==="left")y=b(this.right),S=this.right-f,k=y-p,E=b(t.left)+p,O=t.right;else if(r==="right")y=b(this.left),E=t.left,O=b(t.right)-p,S=y+p,k=this.left+f;else if(n==="x"){if(r==="center")y=b((t.top+t.bottom)/2+.5);else if(z(r)){const L=Object.keys(r)[0],I=r[L];y=b(this.chart.scales[L].getPixelForValue(I))}C=t.top,R=t.bottom,M=y+p,P=M+f}else if(n==="y"){if(r==="center")y=b((t.left+t.right)/2);else if(z(r)){const L=Object.keys(r)[0],I=r[L];y=b(this.chart.scales[L].getPixelForValue(I))}S=y-p,k=S-f,E=t.left,O=t.right}const N=F(s.ticks.maxTicksLimit,d),A=Math.max(1,Math.ceil(d/N));for(v=0;v<d;v+=A){const L=this.getContext(v),I=o.setContext(L),W=a.setContext(L),$=I.lineWidth,B=I.color,et=W.dash||[],tt=W.dashOffset,it=I.tickWidth,X=I.tickColor,K=I.tickBorderDash||[],G=I.tickBorderDashOffset;w=Wf(this,v,l),w!==void 0&&(_=ne(i,w,$),c?S=k=E=O=_:M=P=C=R=_,u.push({tx1:S,ty1:M,tx2:k,ty2:P,x1:E,y1:C,x2:O,y2:R,width:$,color:B,borderDash:et,borderDashOffset:tt,tickWidth:it,tickColor:X,tickBorderDash:K,tickBorderDashOffset:G}))}return this._ticksLength=d,this._borderValue=y,u}_computeLabelItems(t){const n=this.axis,i=this.options,{position:s,ticks:o}=i,r=this.isHorizontal(),a=this.ticks,{align:l,crossAlign:c,padding:h,mirror:d}=o,f=Ie(i.grid),u=f+h,g=d?-h:u,m=-le(this.labelRotation),p=[];let b,y,v,w,_,S,M,k,P,E,C,O,R="middle";if(s==="top")S=this.bottom-g,M=this._getXAxisLabelAlignment();else if(s==="bottom")S=this.top+g,M=this._getXAxisLabelAlignment();else if(s==="left"){const A=this._getYAxisLabelAlignment(f);M=A.textAlign,_=A.x}else if(s==="right"){const A=this._getYAxisLabelAlignment(f);M=A.textAlign,_=A.x}else if(n==="x"){if(s==="center")S=(t.top+t.bottom)/2+u;else if(z(s)){const A=Object.keys(s)[0],L=s[A];S=this.chart.scales[A].getPixelForValue(L)+u}M=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")_=(t.left+t.right)/2-u;else if(z(s)){const A=Object.keys(s)[0],L=s[A];_=this.chart.scales[A].getPixelForValue(L)}M=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(l==="start"?R="top":l==="end"&&(R="bottom"));const N=this._getLabelSizes();for(b=0,y=a.length;b<y;++b){v=a[b],w=v.label;const A=o.setContext(this.getContext(b));k=this.getPixelForTick(b)+o.labelOffset,P=this._resolveTickFontOptions(b),E=P.lineHeight,C=Z(w)?w.length:1;const L=C/2,I=A.color,W=A.textStrokeColor,$=A.textStrokeWidth;let B=M;r?(_=k,M==="inner"&&(b===y-1?B=this.options.reverse?"left":"right":b===0?B=this.options.reverse?"right":"left":B="center"),s==="top"?c==="near"||m!==0?O=-C*E+E/2:c==="center"?O=-N.highest.height/2-L*E+E:O=-N.highest.height+E/2:c==="near"||m!==0?O=E/2:c==="center"?O=N.highest.height/2-L*E:O=N.highest.height-C*E,d&&(O*=-1),m!==0&&!A.showLabelBackdrop&&(_+=E/2*Math.sin(m))):(S=k,O=(1-C)*E/2);let et;if(A.showLabelBackdrop){const tt=wt(A.backdropPadding),it=N.heights[b],X=N.widths[b];let K=O-tt.top,G=0-tt.left;switch(R){case"middle":K-=it/2;break;case"bottom":K-=it;break}switch(M){case"center":G-=X/2;break;case"right":G-=X;break;case"inner":b===y-1?G-=X:b>0&&(G-=X/2);break}et={left:G,top:K,width:X+tt.width,height:it+tt.height,color:A.backdropColor}}p.push({label:w,font:P,textOffset:O,options:{rotation:m,color:I,strokeColor:W,strokeWidth:$,textAlign:B,textBaseline:R,translation:[_,S],backdrop:et}})}return p}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-le(this.labelRotation))return t==="top"?"left":"right";let s="center";return n.align==="start"?s="left":n.align==="end"?s="right":n.align==="inner"&&(s="inner"),s}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:i,mirror:s,padding:o}}=this.options,r=this._getLabelSizes(),a=t+o,l=r.widest.width;let c,h;return n==="left"?s?(h=this.right+o,i==="near"?c="left":i==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,i==="near"?c="right":i==="center"?(c="center",h-=l/2):(c="left",h=this.left)):n==="right"?s?(h=this.left+o,i==="near"?c="right":i==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,i==="near"?c="left":i==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:i,top:s,width:o,height:r}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(i,s,o,r),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const s=this.ticks.findIndex(o=>o.value===t);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(t){const n=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const a=(l,c,h)=>{!h.width||!h.color||(i.save(),i.lineWidth=h.width,i.strokeStyle=h.color,i.setLineDash(h.borderDash||[]),i.lineDashOffset=h.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(n.display)for(o=0,r=s.length;o<r;++o){const l=s[o];n.drawOnChartArea&&a({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),n.drawTicks&&a({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:i,grid:s}}=this,o=i.setContext(this.getContext()),r=i.display?o.width:0;if(!r)return;const a=s.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let c,h,d,f;this.isHorizontal()?(c=ne(t,this.left,r)-r/2,h=ne(t,this.right,a)+a/2,d=f=l):(d=ne(t,this.top,r)-r/2,f=ne(t,this.bottom,a)+a/2,c=h=l),n.save(),n.lineWidth=o.width,n.strokeStyle=o.color,n.beginPath(),n.moveTo(c,d),n.lineTo(h,f),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const i=this.ctx,s=this._computeLabelArea();s&&Ji(i,s);const o=this.getLabelItems(t);for(const r of o){const a=r.options,l=r.font,c=r.label,h=r.textOffset;nn(i,c,0,h,l,a)}s&&Zi(i)}drawTitle(){const{ctx:t,options:{position:n,title:i,reverse:s}}=this;if(!i.display)return;const o=lt(i.font),r=wt(i.padding),a=i.align;let l=o.lineHeight/2;n==="bottom"||n==="center"||z(n)?(l+=r.bottom,Z(i.text)&&(l+=o.lineHeight*(i.text.length-1))):l+=r.top;const{titleX:c,titleY:h,maxWidth:d,rotation:f}=Xf(this,l,n,a);nn(t,i.text,0,0,o,{color:i.color,maxWidth:d,rotation:f,textAlign:Uf(a,n,s),textBaseline:"middle",translation:[c,h]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,i=F(t.grid&&t.grid.z,-1),s=F(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==De.prototype.draw?[{z:n,draw:o=>{this.draw(o)}}]:[{z:i,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let o,r;for(o=0,r=n.length;o<r;++o){const a=n[o];a[i]===this.id&&(!t||a.type===t)&&s.push(a)}return s}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return lt(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Sn{constructor(t,n,i){this.type=t,this.scope=n,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let i;Gf(n)&&(i=this.register(n));const s=this.items,o=t.id,r=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+t);return o in s||(s[o]=t,Kf(t,r,i),this.override&&q.override(t.id,t.overrides)),r}get(t){return this.items[t]}unregister(t){const n=this.items,i=t.id,s=this.scope;i in n&&delete n[i],s&&i in q[s]&&(delete q[s][i],this.override&&delete pe[i])}}function Kf(e,t,n){const i=Ze(Object.create(null),[n?q.get(n):{},q.get(t),e.defaults]);q.set(t,i),e.defaultRoutes&&qf(t,e.defaultRoutes),e.descriptors&&q.describe(t,e.descriptors)}function qf(e,t){Object.keys(t).forEach(n=>{const i=n.split("."),s=i.pop(),o=[e].concat(i).join("."),r=t[n].split("."),a=r.pop(),l=r.join(".");q.route(o,s,l,a)})}function Gf(e){return"id"in e&&"defaults"in e}class Jf{constructor(){this.controllers=new Sn(we,"datasets",!0),this.elements=new Sn($t,"elements"),this.plugins=new Sn(Object,"plugins"),this.scales=new Sn(De,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,i){[...n].forEach(s=>{const o=i||this._getRegistryForType(s);i||o.isForType(s)||o===this.plugins&&s.id?this._exec(t,o,s):V(s,r=>{const a=i||this._getRegistryForType(r);this._exec(t,a,r)})})}_exec(t,n,i){const s=Ui(t);U(i["before"+s],[],i),n[t](i),U(i["after"+s],[],i)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const i=this._typedRegistries[n];if(i.isForType(t))return i}return this.plugins}_get(t,n,i){const s=n.get(t);if(s===void 0)throw new Error('"'+t+'" is not a registered '+i+".");return s}}var Ct=new Jf;class Zf{constructor(){this._init=[]}notify(t,n,i,s){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const o=s?this._descriptors(t).filter(s):this._descriptors(t),r=this._notify(o,t,n,i);return n==="afterDestroy"&&(this._notify(o,t,"stop"),this._notify(this._init,t,"uninstall")),r}_notify(t,n,i,s){s=s||{};for(const o of t){const r=o.plugin,a=r[i],l=[n,s,o.options];if(U(a,l,r)===!1&&s.cancelable)return!1}return!0}invalidate(){Y(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const i=t&&t.config,s=F(i.options&&i.options.plugins,{}),o=Qf(i);return s===!1&&!n?[]:eu(t,o,s,n)}_notifyStateChanges(t){const n=this._oldCache||[],i=this._cache,s=(o,r)=>o.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(s(n,i),t,"stop"),this._notify(s(i,n),t,"start")}}function Qf(e){const t={},n=[],i=Object.keys(Ct.plugins.items);for(let o=0;o<i.length;o++)n.push(Ct.getPlugin(i[o]));const s=e.plugins||[];for(let o=0;o<s.length;o++){const r=s[o];n.indexOf(r)===-1&&(n.push(r),t[r.id]=!0)}return{plugins:n,localIds:t}}function tu(e,t){return!t&&e===!1?null:e===!0?{}:e}function eu(e,{plugins:t,localIds:n},i,s){const o=[],r=e.getContext();for(const a of t){const l=a.id,c=tu(i[l],s);c!==null&&o.push({plugin:a,options:nu(e.config,{plugin:a,local:n[l]},c,r)})}return o}function nu(e,{plugin:t,local:n},i,s){const o=e.pluginScopeKeys(t),r=e.getOptionScopes(i,o);return n&&t.defaults&&r.push(t.defaults),e.createResolver(r,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Oi(e,t){const n=q.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function iu(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function su(e,t){return e===t?"_index_":"_value_"}function Mo(e){if(e==="x"||e==="y"||e==="r")return e}function ou(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function Ei(e,...t){if(Mo(e))return e;for(const n of t){const i=n.axis||ou(n.position)||e.length>1&&Mo(e[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Co(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function ru(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(i=>i.xAxisID===e||i.yAxisID===e);if(n.length)return Co(e,"x",n[0])||Co(e,"y",n[0])}return{}}function au(e,t){const n=pe[e.type]||{scales:{}},i=t.scales||{},s=Oi(e.type,t),o=Object.create(null);return Object.keys(i).forEach(r=>{const a=i[r];if(!z(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=Ei(r,a,ru(r,e),q.scales[a.type]),c=su(l,s),h=n.scales||{};o[r]=Ye(Object.create(null),[{axis:l},a,h[l],h[c]])}),e.data.datasets.forEach(r=>{const a=r.type||e.type,l=r.indexAxis||Oi(a,t),h=(pe[a]||{}).scales||{};Object.keys(h).forEach(d=>{const f=iu(d,l),u=r[f+"AxisID"]||f;o[u]=o[u]||Object.create(null),Ye(o[u],[{axis:f},i[u],h[d]])})}),Object.keys(o).forEach(r=>{const a=o[r];Ye(a,[q.scales[a.type],q.scale])}),o}function ya(e){const t=e.options||(e.options={});t.plugins=F(t.plugins,{}),t.scales=au(e,t)}function _a(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function lu(e){return e=e||{},e.data=_a(e.data),ya(e),e}const Po=new Map,va=new Set;function kn(e,t){let n=Po.get(e);return n||(n=t(),Po.set(e,n),va.add(n)),n}const Fe=(e,t,n)=>{const i=Pe(t,n);i!==void 0&&e.add(i)};class cu{constructor(t){this._config=lu(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=_a(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),ya(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return kn(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return kn(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return kn(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,i=this.type;return kn(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const i=this._scopeCache;let s=i.get(t);return(!s||n)&&(s=new Map,i.set(t,s)),s}getOptionScopes(t,n,i){const{options:s,type:o}=this,r=this._cachedScopes(t,i),a=r.get(n);if(a)return a;const l=new Set;n.forEach(h=>{t&&(l.add(t),h.forEach(d=>Fe(l,t,d))),h.forEach(d=>Fe(l,s,d)),h.forEach(d=>Fe(l,pe[o]||{},d)),h.forEach(d=>Fe(l,q,d)),h.forEach(d=>Fe(l,Ci,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),va.has(n)&&r.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,pe[n]||{},q.datasets[n]||{},{type:n},q,Ci]}resolveNamedOptions(t,n,i,s=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=Oo(this._resolverCache,t,s);let l=r;if(du(r,n)){o.$shared=!1,i=Kt(i)?i():i;const c=this.createResolver(t,i,a);l=Oe(r,i,c)}for(const c of n)o[c]=l[c];return o}createResolver(t,n,i=[""],s){const{resolver:o}=Oo(this._resolverCache,t,i);return z(n)?Oe(o,n,void 0,s):o}}function Oo(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const s=n.join();let o=i.get(s);return o||(o={resolver:ts(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(s,o)),o}const hu=e=>z(e)&&Object.getOwnPropertyNames(e).some(t=>Kt(e[t]));function du(e,t){const{isScriptable:n,isIndexable:i}=ia(e);for(const s of t){const o=n(s),r=i(s),a=(r||o)&&e[s];if(o&&(Kt(a)||hu(a))||r&&Z(a))return!0}return!1}var fu="4.4.7";const uu=["top","bottom","left","right","chartArea"];function Eo(e,t){return e==="top"||e==="bottom"||uu.indexOf(e)===-1&&t==="x"}function Do(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function Ro(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),U(n&&n.onComplete,[e],t)}function pu(e){const t=e.chart,n=t.options.animation;U(n&&n.onProgress,[e],t)}function wa(e){return is()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const jn={},To=e=>{const t=wa(e);return Object.values(jn).filter(n=>n.canvas===t).pop()};function gu(e,t,n){const i=Object.keys(e);for(const s of i){const o=+s;if(o>=t){const r=e[s];delete e[s],(n>0||o>t)&&(e[o+n]=r)}}}function mu(e,t,n,i){return!n||e.type==="mouseout"?null:i?t:e}function Mn(e,t,n){return e.options.clip?e[n]:t[n]}function bu(e,t){const{xScale:n,yScale:i}=e;return n&&i?{left:Mn(n,t,"left"),right:Mn(n,t,"right"),top:Mn(i,t,"top"),bottom:Mn(i,t,"bottom")}:t}class Pt{static register(...t){Ct.add(...t),Ao()}static unregister(...t){Ct.remove(...t),Ao()}constructor(t,n){const i=this.config=new cu(n),s=wa(t),o=To(s);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||jf(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,h=l&&l.width;if(this.id=gh(),this.ctx=a,this.canvas=l,this.width=h,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Zf,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Ah(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],jn[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}At.listen(this,"complete",Ro),At.listen(this,"progress",pu),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:i,height:s,_aspectRatio:o}=this;return Y(t)?n&&o?o:s?i/s:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Ct}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():to(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Js(this.canvas,this.ctx),this}stop(){return At.stop(this),this}resize(t,n){At.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const i=this.options,s=this.canvas,o=i.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(s,t,n,o),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,to(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),U(i.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};V(n,(i,s)=>{i.id=s})}buildOrUpdateScales(){const t=this.options,n=t.scales,i=this.scales,s=Object.keys(i).reduce((r,a)=>(r[a]=!1,r),{});let o=[];n&&(o=o.concat(Object.keys(n).map(r=>{const a=n[r],l=Ei(r,a),c=l==="r",h=l==="x";return{options:a,dposition:c?"chartArea":h?"bottom":"left",dtype:c?"radialLinear":h?"category":"linear"}}))),V(o,r=>{const a=r.options,l=a.id,c=Ei(l,a),h=F(a.type,r.dtype);(a.position===void 0||Eo(a.position,c)!==Eo(r.dposition))&&(a.position=r.dposition),s[l]=!0;let d=null;if(l in i&&i[l].type===h)d=i[l];else{const f=Ct.getScale(h);d=new f({id:l,type:h,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(a,t)}),V(s,(r,a)=>{r||delete i[a]}),V(i,r=>{xt.configure(this,r,r.options),xt.addBox(this,r)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,i=t.length;if(t.sort((s,o)=>s.index-o.index),i>n){for(let s=n;s<i;++s)this._destroyDatasetMeta(s);t.splice(n,i-n)}this._sortedMetasets=t.slice(0).sort(Do("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((i,s)=>{n.filter(o=>o===i._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=n.length;i<s;i++){const o=n[i];let r=this.getDatasetMeta(i);const a=o.type||this.config.type;if(r.type&&r.type!==a&&(this._destroyDatasetMeta(i),r=this.getDatasetMeta(i)),r.type=a,r.indexAxis=o.indexAxis||Oi(a,this.options),r.order=o.order||0,r.index=i,r.label=""+o.label,r.visible=this.isDatasetVisible(i),r.controller)r.controller.updateIndex(i),r.controller.linkScales();else{const l=Ct.getController(a),{datasetElementType:c,dataElementType:h}=q.datasets[a];Object.assign(l,{dataElementType:Ct.getElement(h),datasetElementType:c&&Ct.getElement(c)}),r.controller=new l(this,i),t.push(r.controller)}}return this._updateMetasets(),t}_resetElements(){V(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,h=this.data.datasets.length;c<h;c++){const{controller:d}=this.getDatasetMeta(c),f=!s&&o.indexOf(d)===-1;d.buildOrUpdateElements(f),r=Math.max(+d.getMaxOverflow(),r)}r=this._minPadding=i.layout.autoPadding?r:0,this._updateLayout(r),s||V(o,c=>{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Do("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){V(this.scales,t=>{xt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!Bs(n,i)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:o}of n){const r=i==="_removeElements"?-o:o;gu(t,s,r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=o=>new Set(t.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),s=i(0);for(let o=1;o<n;o++)if(!Bs(s,i(o)))return;return Array.from(s).map(o=>o.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;xt.update(this,this.width,this.height,t);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],V(this.boxes,s=>{i&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,o)=>{s._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n<i;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,i=this.data.datasets.length;n<i;++n)this._updateDataset(n,Kt(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const i=this.getDatasetMeta(t),s={meta:i,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",s)!==!1&&(i.controller._update(n),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(At.has(this)?this.attached&&!At.running(this)&&At.start(this):(this.draw(),Ro({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:i,height:s}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(i,s)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,i=[];let s,o;for(s=0,o=n.length;s<o;++s){const r=n[s];(!t||r.visible)&&i.push(r)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,i=t._clip,s=!i.disabled,o=bu(t,this.chartArea),r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(s&&Ji(n,{left:i.left===!1?0:o.left-i.left,right:i.right===!1?this.width:o.right+i.right,top:i.top===!1?0:o.top-i.top,bottom:i.bottom===!1?this.height:o.bottom+i.bottom}),t.controller.draw(),s&&Zi(n),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return en(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,i,s){const o=uf.modes[n];return typeof o=="function"?o(this,t,i,s):[]}getDatasetMeta(t){const n=this.data.datasets[t],i=this._metasets;let s=i.filter(o=>o&&o._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=ge(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const i=this.getDatasetMeta(t);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(t,n){const i=this.getDatasetMeta(t);i.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,i){const s=i?"show":"hide",o=this.getDatasetMeta(t),r=o.controller._resolveAnimations(void 0,s);Qe(n)?(o.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),r.update(o,{visible:i}),this.update(a=>a.datasetIndex===t?s:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),At.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Js(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete jn[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,i=(o,r)=>{n.addEventListener(this,o,r),t[o]=r},s=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};V(this.options.events,o=>i(o,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,i=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},s=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",o),i("detach",r)};r=()=>{this.attached=!1,s("resize",o),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():r()}unbindEvents(){V(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},V(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,i){const s=i?"set":"remove";let o,r,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+s+"DatasetHoverStyle"]()),a=0,l=t.length;a<l;++a){r=t[a];const c=r&&this.getDatasetMeta(r.datasetIndex).controller;c&&c[s+"HoverStyle"](r.element,r.datasetIndex,r.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],i=t.map(({datasetIndex:o,index:r})=>{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!Nn(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(t,n,i){return this._plugins.notify(this,t,n,i)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,i){const s=this.options.hover,o=(l,c)=>l.filter(h=>!c.some(d=>h.datasetIndex===d.datasetIndex&&h.index===d.index)),r=o(n,t),a=i?t:o(t,n);r.length&&this.updateHoverStyle(r,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,n){const i={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},s=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",i,s)===!1)return;const o=this._handleEvent(t,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(o||i.changed)&&this.render(),this}_handleEvent(t,n,i){const{_active:s=[],options:o}=this,r=n,a=this._getActiveElements(t,s,i,r),l=vh(t),c=mu(t,this._lastEvent,i,l);i&&(this._lastEvent=null,U(o.onHover,[t,a,this],this),l&&U(o.onClick,[t,a,this],this));const h=!Nn(a,s);return(h||n)&&(this._active=a,this._updateHoverStyles(a,s,n)),this._lastEvent=c,h}_getActiveElements(t,n,i,s){if(t.type==="mouseout")return[];if(!i)return n;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,s)}}j(Pt,"defaults",q),j(Pt,"instances",jn),j(Pt,"overrides",pe),j(Pt,"registry",Ct),j(Pt,"version",fu),j(Pt,"getChart",To);function Ao(){return V(Pt.instances,e=>e._plugins.invalidate())}function xu(e,t,n){const{startAngle:i,pixelMargin:s,x:o,y:r,outerRadius:a,innerRadius:l}=t;let c=s/a;e.beginPath(),e.arc(o,r,a,i-c,n+c),l>s?(c=s/l,e.arc(o,r,l,n+c,i-c,!0)):e.arc(o,r,s,n+st,i-st),e.closePath(),e.clip()}function yu(e){return Qi(e,["outerStart","outerEnd","innerStart","innerEnd"])}function _u(e,t,n,i){const s=yu(e.options.borderRadius),o=(n-t)/2,r=Math.min(o,i*t/2),a=l=>{const c=(n-Math.min(o,l))*i/2;return at(l,0,Math.min(o,c))};return{outerStart:a(s.outerStart),outerEnd:a(s.outerEnd),innerStart:at(s.innerStart,0,r),innerEnd:at(s.innerEnd,0,r)}}function xe(e,t,n,i){return{x:n+e*Math.cos(t),y:i+e*Math.sin(t)}}function Wn(e,t,n,i,s,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=t,d=Math.max(t.outerRadius+i+n-c,0),f=h>0?h+i+n+c:0;let u=0;const g=s-l;if(i){const A=h>0?h-i:0,L=d>0?d-i:0,I=(A+L)/2,W=I!==0?g*I/(I+i):g;u=(g-W)/2}const m=Math.max(.001,g*d-n/Q)/d,p=(g-m)/2,b=l+p+u,y=s-p-u,{outerStart:v,outerEnd:w,innerStart:_,innerEnd:S}=_u(t,f,d,y-b),M=d-v,k=d-w,P=b+v/M,E=y-w/k,C=f+_,O=f+S,R=b+_/C,N=y-S/O;if(e.beginPath(),o){const A=(P+E)/2;if(e.arc(r,a,d,P,A),e.arc(r,a,d,A,E),w>0){const $=xe(k,E,r,a);e.arc($.x,$.y,w,E,y+st)}const L=xe(O,y,r,a);if(e.lineTo(L.x,L.y),S>0){const $=xe(O,N,r,a);e.arc($.x,$.y,S,y+st,N+Math.PI)}const I=(y-S/f+(b+_/f))/2;if(e.arc(r,a,f,y-S/f,I,!0),e.arc(r,a,f,I,b+_/f,!0),_>0){const $=xe(C,R,r,a);e.arc($.x,$.y,_,R+Math.PI,b-st)}const W=xe(M,b,r,a);if(e.lineTo(W.x,W.y),v>0){const $=xe(M,P,r,a);e.arc($.x,$.y,v,b-st,P)}}else{e.moveTo(r,a);const A=Math.cos(P)*d+r,L=Math.sin(P)*d+a;e.lineTo(A,L);const I=Math.cos(E)*d+r,W=Math.sin(E)*d+a;e.lineTo(I,W)}e.closePath()}function vu(e,t,n,i,s){const{fullCircles:o,startAngle:r,circumference:a}=t;let l=t.endAngle;if(o){Wn(e,t,n,i,l,s);for(let c=0;c<o;++c)e.fill();isNaN(a)||(l=r+(a%ot||ot))}return Wn(e,t,n,i,l,s),e.fill(),l}function wu(e,t,n,i,s){const{fullCircles:o,startAngle:r,circumference:a,options:l}=t,{borderWidth:c,borderJoinStyle:h,borderDash:d,borderDashOffset:f}=l,u=l.borderAlign==="inner";if(!c)return;e.setLineDash(d||[]),e.lineDashOffset=f,u?(e.lineWidth=c*2,e.lineJoin=h||"round"):(e.lineWidth=c,e.lineJoin=h||"bevel");let g=t.endAngle;if(o){Wn(e,t,n,i,g,s);for(let m=0;m<o;++m)e.stroke();isNaN(a)||(g=r+(a%ot||ot))}u&&xu(e,t,g),o||(Wn(e,t,n,i,g,s),e.stroke())}class Cn extends $t{constructor(n){super();j(this,"circumference");j(this,"endAngle");j(this,"fullCircles");j(this,"innerRadius");j(this,"outerRadius");j(this,"pixelMargin");j(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,i,s){const o=this.getProps(["x","y"],s),{angle:r,distance:a}=Xr(o,{x:n,y:i}),{startAngle:l,endAngle:c,innerRadius:h,outerRadius:d,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),u=(this.options.spacing+this.options.borderWidth)/2,g=F(f,c-l),m=Xi(r,l,c)&&l!==c,p=g>=ot||m,b=Ht(a,h+u,d+u);return p&&b}getCenterPoint(n){const{x:i,y:s,startAngle:o,endAngle:r,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:c,spacing:h}=this.options,d=(o+r)/2,f=(a+l+h+c)/2;return{x:i+Math.cos(d)*f,y:s+Math.sin(d)*f}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:i,circumference:s}=this,o=(i.offset||0)/4,r=(i.spacing||0)/2,a=i.circular;if(this.pixelMargin=i.borderAlign==="inner"?.33:0,this.fullCircles=s>ot?Math.floor(s/ot):0,s===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const l=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min(Q,s||0)),h=o*c;n.fillStyle=i.backgroundColor,n.strokeStyle=i.borderColor,vu(n,this,h,r,a),wu(n,this,h,r,a),n.restore()}}j(Cn,"id","arc"),j(Cn,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),j(Cn,"defaultRoutes",{backgroundColor:"backgroundColor"}),j(Cn,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function Sa(e,t,n=t){e.lineCap=F(n.borderCapStyle,t.borderCapStyle),e.setLineDash(F(n.borderDash,t.borderDash)),e.lineDashOffset=F(n.borderDashOffset,t.borderDashOffset),e.lineJoin=F(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=F(n.borderWidth,t.borderWidth),e.strokeStyle=F(n.borderColor,t.borderColor)}function Su(e,t,n){e.lineTo(n.x,n.y)}function ku(e){return e.stepped?Uh:e.tension||e.cubicInterpolationMode==="monotone"?Xh:Su}function ka(e,t,n={}){const i=e.length,{start:s=0,end:o=i-1}=n,{start:r,end:a}=t,l=Math.max(s,r),c=Math.min(o,a),h=s<r&&o<r||s>a&&o>a;return{count:i,start:l,loop:t.loop,ilen:c<l&&!h?i+c-l:c-l}}function Mu(e,t,n,i){const{points:s,options:o}=t,{count:r,start:a,loop:l,ilen:c}=ka(s,n,i),h=ku(o);let{move:d=!0,reverse:f}=i||{},u,g,m;for(u=0;u<=c;++u)g=s[(a+(f?c-u:u))%r],!g.skip&&(d?(e.moveTo(g.x,g.y),d=!1):h(e,m,g,f,o.stepped),m=g);return l&&(g=s[(a+(f?c:0))%r],h(e,m,g,f,o.stepped)),!!l}function Cu(e,t,n,i){const s=t.points,{count:o,start:r,ilen:a}=ka(s,n,i),{move:l=!0,reverse:c}=i||{};let h=0,d=0,f,u,g,m,p,b;const y=w=>(r+(c?a-w:w))%o,v=()=>{m!==p&&(e.lineTo(h,p),e.lineTo(h,m),e.lineTo(h,b))};for(l&&(u=s[y(0)],e.moveTo(u.x,u.y)),f=0;f<=a;++f){if(u=s[y(f)],u.skip)continue;const w=u.x,_=u.y,S=w|0;S===g?(_<m?m=_:_>p&&(p=_),h=(d*h+w)/++d):(v(),e.lineTo(w,_),g=S,d=0,m=p=_),b=_}v()}function Di(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?Cu:Mu}function Pu(e){return e.stepped?Md:e.tension||e.cubicInterpolationMode==="monotone"?Cd:ae}function Ou(e,t,n,i){let s=t._path;s||(s=t._path=new Path2D,t.path(s,n,i)&&s.closePath()),Sa(e,t.options),e.stroke(s)}function Eu(e,t,n,i){const{segments:s,options:o}=t,r=Di(t);for(const a of s)Sa(e,o,a.style),e.beginPath(),r(e,t,a,{start:n,end:n+i-1})&&e.closePath(),e.stroke()}const Du=typeof Path2D=="function";function Ru(e,t,n,i){Du&&!t.options.segment?Ou(e,t,n,i):Eu(e,t,n,i)}class Pn extends $t{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;bd(this._points,i,t,s,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=jd(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,i=t.length;return i&&n[t[i-1].end]}interpolate(t,n){const i=this.options,s=t[n],o=this.points,r=Rd(this,{property:n,start:s,end:s});if(!r.length)return;const a=[],l=Pu(i);let c,h;for(c=0,h=r.length;c<h;++c){const{start:d,end:f}=r[c],u=o[d],g=o[f];if(u===g){a.push(u);continue}const m=Math.abs((s-u[n])/(g[n]-u[n])),p=l(u,g,m,i.stepped);p[n]=t[n],a.push(p)}return a.length===1?a[0]:a}pathSegment(t,n,i){return Di(this)(t,this,n,i)}path(t,n,i){const s=this.segments,o=Di(this);let r=this._loop;n=n||0,i=i||this.points.length-n;for(const a of s)r&=o(t,this,a,{start:n,end:n+i-1});return!!r}draw(t,n,i,s){const o=this.options||{};(this.points||[]).length&&o.borderWidth&&(t.save(),Ru(t,this,i,s),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}j(Pn,"id","line"),j(Pn,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),j(Pn,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),j(Pn,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"});function jo(e,t,n,i){const s=e.options,{[n]:o}=e.getProps([n],i);return Math.abs(t-o)<s.radius+s.hitRadius}class gi extends $t{constructor(n){super();j(this,"parsed");j(this,"skip");j(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,i,s){const o=this.options,{x:r,y:a}=this.getProps(["x","y"],s);return Math.pow(n-r,2)+Math.pow(i-a,2)<Math.pow(o.hitRadius+o.radius,2)}inXRange(n,i){return jo(this,n,"x",i)}inYRange(n,i){return jo(this,n,"y",i)}getCenterPoint(n){const{x:i,y:s}=this.getProps(["x","y"],n);return{x:i,y:s}}size(n){n=n||this.options||{};let i=n.radius||0;i=Math.max(i,i&&n.hoverRadius||0);const s=i&&n.borderWidth||0;return(i+s)*2}draw(n,i){const s=this.options;this.skip||s.radius<.1||!en(this,i,this.size(s)/2)||(n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.fillStyle=s.backgroundColor,Pi(n,s,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}j(gi,"id","point"),j(gi,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),j(gi,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Ma(e,t){const{x:n,y:i,base:s,width:o,height:r}=e.getProps(["x","y","base","width","height"],t);let a,l,c,h,d;return e.horizontal?(d=r/2,a=Math.min(n,s),l=Math.max(n,s),c=i-d,h=i+d):(d=o/2,a=n-d,l=n+d,c=Math.min(i,s),h=Math.max(i,s)),{left:a,top:c,right:l,bottom:h}}function Vt(e,t,n,i){return e?0:at(t,n,i)}function Tu(e,t,n){const i=e.options.borderWidth,s=e.borderSkipped,o=na(i);return{t:Vt(s.top,o.top,0,n),r:Vt(s.right,o.right,0,t),b:Vt(s.bottom,o.bottom,0,n),l:Vt(s.left,o.left,0,t)}}function Au(e,t,n){const{enableBorderRadius:i}=e.getProps(["enableBorderRadius"]),s=e.options.borderRadius,o=_e(s),r=Math.min(t,n),a=e.borderSkipped,l=i||z(s);return{topLeft:Vt(!l||a.top||a.left,o.topLeft,0,r),topRight:Vt(!l||a.top||a.right,o.topRight,0,r),bottomLeft:Vt(!l||a.bottom||a.left,o.bottomLeft,0,r),bottomRight:Vt(!l||a.bottom||a.right,o.bottomRight,0,r)}}function ju(e){const t=Ma(e),n=t.right-t.left,i=t.bottom-t.top,s=Tu(e,n/2,i/2),o=Au(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i,radius:o},inner:{x:t.left+s.l,y:t.top+s.t,w:n-s.l-s.r,h:i-s.t-s.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(s.t,s.l)),topRight:Math.max(0,o.topRight-Math.max(s.t,s.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(s.b,s.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(s.b,s.r))}}}}function mi(e,t,n,i){const s=t===null,o=n===null,a=e&&!(s&&o)&&Ma(e,i);return a&&(s||Ht(t,a.left,a.right))&&(o||Ht(n,a.top,a.bottom))}function Lu(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function Nu(e,t){e.rect(t.x,t.y,t.w,t.h)}function bi(e,t,n={}){const i=e.x!==n.x?-t:0,s=e.y!==n.y?-t:0,o=(e.x+e.w!==n.x+n.w?t:0)-i,r=(e.y+e.h!==n.y+n.h?t:0)-s;return{x:e.x+i,y:e.y+s,w:e.w+o,h:e.h+r,radius:e.radius}}class xi extends $t{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:i,backgroundColor:s}}=this,{inner:o,outer:r}=ju(this),a=Lu(r.radius)?$n:Nu;t.save(),(r.w!==o.w||r.h!==o.h)&&(t.beginPath(),a(t,bi(r,n,o)),t.clip(),a(t,bi(o,-n,r)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),a(t,bi(o,n)),t.fillStyle=s,t.fill(),t.restore()}inRange(t,n,i){return mi(this,t,n,i)}inXRange(t,n){return mi(this,t,null,n)}inYRange(t,n){return mi(this,null,t,n)}getCenterPoint(t){const{x:n,y:i,base:s,horizontal:o}=this.getProps(["x","y","base","horizontal"],t);return{x:o?(n+s)/2:n,y:o?i:(i+s)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}j(xi,"id","bar"),j(xi,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),j(xi,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});const Lo=(e,t)=>{let{boxHeight:n=t,boxWidth:i=t}=e;return e.usePointStyle&&(n=Math.min(n,t),i=e.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(t,n)}},Iu=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class No extends $t{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,i){this.maxWidth=t,this.maxHeight=n,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=U(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(i=>t.filter(i,this.chart.data))),t.sort&&(n=n.sort((i,s)=>t.sort(i,s,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const i=t.labels,s=lt(i.font),o=s.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=Lo(i,o);let c,h;n.font=s.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,s,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,n,i,s){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=s+a;let d=t;o.textAlign="left",o.textBaseline="middle";let f=-1,u=-h;return this.legendItems.forEach((g,m)=>{const p=i+n/2+o.measureText(g.text).width;(m===0||c[c.length-1]+p+2*a>r)&&(d+=h,c[c.length-(m>0?0:1)]=0,u+=h,f++),l[m]={left:0,top:u,row:f,width:p,height:s},c[c.length-1]+=p+a}),d}_fitCols(t,n,i,s){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-t;let d=a,f=0,u=0,g=0,m=0;return this.legendItems.forEach((p,b)=>{const{itemWidth:y,itemHeight:v}=Fu(i,n,o,p,s);b>0&&u+v+2*a>h&&(d+=f+a,c.push({width:f,height:u}),g+=f+a,m++,f=u=0),l[b]={left:g,top:u,col:m,width:y,height:v},f=Math.max(f,y),u+=v+a}),d+=f,c.push({width:f,height:u}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:i,labels:{padding:s},rtl:o}}=this,r=ve(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=rt(i,this.left+s,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=rt(i,this.left+s,this.right-this.lineWidths[a])),c.top+=this.top+t+s,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+s}else{let a=0,l=rt(i,this.top+t+s,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=rt(i,this.top+t+s,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+s,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+s}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Ji(t,this),this._draw(),Zi(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:i,ctx:s}=this,{align:o,labels:r}=t,a=q.color,l=ve(t.rtl,this.left,this.width),c=lt(r.font),{padding:h}=r,d=c.size,f=d/2;let u;this.drawTitle(),s.textAlign=l.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=c.string;const{boxWidth:g,boxHeight:m,itemHeight:p}=Lo(r,d),b=function(S,M,k){if(isNaN(g)||g<=0||isNaN(m)||m<0)return;s.save();const P=F(k.lineWidth,1);if(s.fillStyle=F(k.fillStyle,a),s.lineCap=F(k.lineCap,"butt"),s.lineDashOffset=F(k.lineDashOffset,0),s.lineJoin=F(k.lineJoin,"miter"),s.lineWidth=P,s.strokeStyle=F(k.strokeStyle,a),s.setLineDash(F(k.lineDash,[])),r.usePointStyle){const E={radius:m*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:P},C=l.xPlus(S,g/2),O=M+f;ea(s,E,C,O,r.pointStyleWidth&&g)}else{const E=M+Math.max((d-m)/2,0),C=l.leftForLtr(S,g),O=_e(k.borderRadius);s.beginPath(),Object.values(O).some(R=>R!==0)?$n(s,{x:C,y:E,w:g,h:m,radius:O}):s.rect(C,E,g,m),s.fill(),P!==0&&s.stroke()}s.restore()},y=function(S,M,k){nn(s,k.text,S,M+p/2,c,{strikethrough:k.hidden,textAlign:l.textAlign(k.textAlign)})},v=this.isHorizontal(),w=this._computeTitleHeight();v?u={x:rt(o,this.left+h,this.right-i[0]),y:this.top+h+w,line:0}:u={x:this.left+h,y:rt(o,this.top+w+h,this.bottom-n[0].height),line:0},la(this.ctx,t.textDirection);const _=p+h;this.legendItems.forEach((S,M)=>{s.strokeStyle=S.fontColor,s.fillStyle=S.fontColor;const k=s.measureText(S.text).width,P=l.textAlign(S.textAlign||(S.textAlign=r.textAlign)),E=g+f+k;let C=u.x,O=u.y;l.setWidth(this.width),v?M>0&&C+E+h>this.right&&(O=u.y+=_,u.line++,C=u.x=rt(o,this.left+h,this.right-i[u.line])):M>0&&O+_>this.bottom&&(C=u.x=C+n[u.line].width+h,u.line++,O=u.y=rt(o,this.top+w+h,this.bottom-n[u.line].height));const R=l.x(C);if(b(R,O,S),C=jh(P,C+g+f,v?C+E:this.right,t.rtl),y(l.x(C),O,S),v)u.x+=E+h;else if(typeof S.text!="string"){const N=c.lineHeight;u.y+=Ca(S,N)+h}else u.y+=_}),ca(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,i=lt(n.font),s=wt(n.padding);if(!n.display)return;const o=ve(t.rtl,this.left,this.width),r=this.ctx,a=n.position,l=i.size/2,c=s.top+l;let h,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),h=this.top+c,d=rt(t.align,d,this.right-f);else{const g=this.columnSizes.reduce((m,p)=>Math.max(m,p.height),0);h=c+rt(t.align,this.top,this.bottom-g-t.labels.padding-this._computeTitleHeight())}const u=rt(a,d,d+f);r.textAlign=o.textAlign(qi(a)),r.textBaseline="middle",r.strokeStyle=n.color,r.fillStyle=n.color,r.font=i.string,nn(r,n.text,u,h,i)}_computeTitleHeight(){const t=this.options.title,n=lt(t.font),i=wt(t.padding);return t.display?n.lineHeight+i.height:0}_getLegendItemAt(t,n){let i,s,o;if(Ht(t,this.left,this.right)&&Ht(n,this.top,this.bottom)){for(o=this.legendHitBoxes,i=0;i<o.length;++i)if(s=o[i],Ht(t,s.left,s.left+s.width)&&Ht(n,s.top,s.top+s.height))return this.legendItems[i]}return null}handleEvent(t){const n=this.options;if(!Bu(t.type,n))return;const i=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const s=this._hoveredItem,o=Iu(s,i);s&&!o&&U(n.onLeave,[t,s,this],this),this._hoveredItem=i,i&&!o&&U(n.onHover,[t,i,this],this)}else i&&U(n.onClick,[t,i,this],this)}}function Fu(e,t,n,i,s){const o=$u(i,e,t,n),r=zu(s,i,t.lineHeight);return{itemWidth:o,itemHeight:r}}function $u(e,t,n,i){let s=e.text;return s&&typeof s!="string"&&(s=s.reduce((o,r)=>o.length>r.length?o:r)),t+n.size/2+i.measureText(s).width}function zu(e,t,n){let i=e;return typeof t.text!="string"&&(i=Ca(t,n)),i}function Ca(e,t){const n=e.text?e.text.length:0;return t*n}function Bu(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var _g={id:"legend",_element:No,start(e,t,n){const i=e.legend=new No({ctx:e.ctx,options:n,chart:e});xt.configure(e,i,n),xt.addBox(e,i)},stop(e){xt.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const i=e.legend;xt.configure(e,i,n),i.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const i=t.datasetIndex,s=n.chart;s.isDatasetVisible(i)?(s.hide(i),t.hidden=!0):(s.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:s,color:o,useBorderRadius:r,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),h=wt(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:s||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Pa extends $t{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const s=Z(i.text)?i.text.length:1;this._padding=wt(i.padding);const o=s*lt(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:i,bottom:s,right:o,options:r}=this,a=r.align;let l=0,c,h,d;return this.isHorizontal()?(h=rt(a,i,o),d=n+t,c=o-i):(r.position==="left"?(h=i+t,d=rt(a,s,n),l=Q*-.5):(h=o-t,d=rt(a,n,s),l=Q*.5),c=s-n),{titleX:h,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const i=lt(n.font),o=i.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);nn(t,n.text,0,0,i,{color:n.color,maxWidth:l,rotation:c,textAlign:qi(n.align),textBaseline:"middle",translation:[r,a]})}}function Wu(e,t){const n=new Pa({ctx:e.ctx,options:t,chart:e});xt.configure(e,n,t),xt.addBox(e,n),e.titleBlock=n}var vg={id:"title",_element:Pa,start(e,t,n){Wu(e,n)},stop(e){const t=e.titleBlock;xt.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const i=e.titleBlock;xt.configure(e,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Be={average(e){if(!e.length)return!1;let t,n,i=new Set,s=0,o=0;for(t=0,n=e.length;t<n;++t){const a=e[t].element;if(a&&a.hasValue()){const l=a.tooltipPosition();i.add(l.x),s+=l.y,++o}}return o===0||i.size===0?!1:{x:[...i].reduce((a,l)=>a+l)/i.size,y:s/o}},nearest(e,t){if(!e.length)return!1;let n=t.x,i=t.y,s=Number.POSITIVE_INFINITY,o,r,a;for(o=0,r=e.length;o<r;++o){const l=e[o].element;if(l&&l.hasValue()){const c=l.getCenterPoint(),h=Mi(t,c);h<s&&(s=h,a=l)}}if(a){const l=a.tooltipPosition();n=l.x,i=l.y}return{x:n,y:i}}};function Mt(e,t){return t&&(Z(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function jt(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(` `)>-1?e.split(` `):e}function Hu(e,t){const{element:n,datasetIndex:i,index:s}=t,o=e.getDatasetMeta(i).controller,{label:r,value:a}=o.getLabelAndValue(s);return{chart:e,label:r,parsed:o.getParsed(s),raw:e.data.datasets[i].data[s],formattedValue:a,dataset:o.getDataset(),dataIndex:s,datasetIndex:i,element:n}}function Io(e,t){const n=e.chart.ctx,{body:i,footer:s,title:o}=e,{boxWidth:r,boxHeight:a}=t,l=lt(t.bodyFont),c=lt(t.titleFont),h=lt(t.footerFont),d=o.length,f=s.length,u=i.length,g=wt(t.padding);let m=g.height,p=0,b=i.reduce((w,_)=>w+_.before.length+_.lines.length+_.after.length,0);if(b+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b){const w=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=u*w+(b-u)*l.lineHeight+(b-1)*t.bodySpacing}f&&(m+=t.footerMarginTop+f*h.lineHeight+(f-1)*t.footerSpacing);let y=0;const v=function(w){p=Math.max(p,n.measureText(w).width+y)};return n.save(),n.font=c.string,V(e.title,v),n.font=l.string,V(e.beforeBody.concat(e.afterBody),v),y=t.displayColors?r+2+t.boxPadding:0,V(i,w=>{V(w.before,v),V(w.lines,v),V(w.after,v)}),y=0,n.font=h.string,V(e.footer,v),n.restore(),p+=g.width,{width:p,height:m}}function Vu(e,t){const{y:n,height:i}=t;return n<i/2?"top":n>e.height-i/2?"bottom":"center"}function Yu(e,t,n,i){const{x:s,width:o}=i,r=n.caretSize+n.caretPadding;if(e==="left"&&s+o+r>t.width||e==="right"&&s-o-r<0)return!0}function Uu(e,t,n,i){const{x:s,width:o}=n,{width:r,chartArea:{left:a,right:l}}=e;let c="center";return i==="center"?c=s<=(a+l)/2?"left":"right":s<=o/2?c="left":s>=r-o/2&&(c="right"),Yu(c,e,t,n)&&(c="center"),c}function Fo(e,t,n){const i=n.yAlign||t.yAlign||Vu(e,n);return{xAlign:n.xAlign||t.xAlign||Uu(e,t,n,i),yAlign:i}}function Xu(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function Ku(e,t,n){let{y:i,height:s}=e;return t==="top"?i+=n:t==="bottom"?i-=s+n:i-=s/2,i}function $o(e,t,n,i){const{caretSize:s,caretPadding:o,cornerRadius:r}=e,{xAlign:a,yAlign:l}=n,c=s+o,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:u}=_e(r);let g=Xu(t,a);const m=Ku(t,l,c);return l==="center"?a==="left"?g+=c:a==="right"&&(g-=c):a==="left"?g-=Math.max(h,f)+s:a==="right"&&(g+=Math.max(d,u)+s),{x:at(g,0,i.width-t.width),y:at(m,0,i.height-t.height)}}function On(e,t,n){const i=wt(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function zo(e){return Mt([],jt(e))}function qu(e,t,n){return ge(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Bo(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const Oa={beforeTitle:Tt,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return n[t.dataIndex]}return""},afterTitle:Tt,beforeBody:Tt,beforeLabel:Tt,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return Y(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:Tt,afterBody:Tt,beforeFooter:Tt,footer:Tt,afterFooter:Tt};function ht(e,t,n,i){const s=e[t].call(n,i);return typeof s>"u"?Oa[t].call(n,i):s}class Ri extends $t{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&n.options.animation&&i.animations,o=new da(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=qu(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,s=ht(i,"beforeTitle",this,t),o=ht(i,"title",this,t),r=ht(i,"afterTitle",this,t);let a=[];return a=Mt(a,jt(s)),a=Mt(a,jt(o)),a=Mt(a,jt(r)),a}getBeforeBody(t,n){return zo(ht(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:i}=n,s=[];return V(t,o=>{const r={before:[],lines:[],after:[]},a=Bo(i,o);Mt(r.before,jt(ht(a,"beforeLabel",this,o))),Mt(r.lines,ht(a,"label",this,o)),Mt(r.after,jt(ht(a,"afterLabel",this,o))),s.push(r)}),s}getAfterBody(t,n){return zo(ht(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:i}=n,s=ht(i,"beforeFooter",this,t),o=ht(i,"footer",this,t),r=ht(i,"afterFooter",this,t);let a=[];return a=Mt(a,jt(s)),a=Mt(a,jt(o)),a=Mt(a,jt(r)),a}_createItems(t){const n=this._active,i=this.chart.data,s=[],o=[],r=[];let a=[],l,c;for(l=0,c=n.length;l<c;++l)a.push(Hu(this.chart,n[l]));return t.filter&&(a=a.filter((h,d,f)=>t.filter(h,d,f,i))),t.itemSort&&(a=a.sort((h,d)=>t.itemSort(h,d,i))),V(a,h=>{const d=Bo(t.callbacks,h);s.push(ht(d,"labelColor",this,h)),o.push(ht(d,"labelPointStyle",this,h)),r.push(ht(d,"labelTextColor",this,h))}),this.labelColors=s,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(t,n){const i=this.options.setContext(this.getContext()),s=this._active;let o,r=[];if(!s.length)this.opacity!==0&&(o={opacity:0});else{const a=Be[i.position].call(this,s,this._eventPosition);r=this._createItems(i),this.title=this.getTitle(r,i),this.beforeBody=this.getBeforeBody(r,i),this.body=this.getBody(r,i),this.afterBody=this.getAfterBody(r,i),this.footer=this.getFooter(r,i);const l=this._size=Io(this,i),c=Object.assign({},a,l),h=Fo(this.chart,i,c),d=$o(i,c,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,i,s){const o=this.getCaretPosition(t,i,s);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(t,n,i){const{xAlign:s,yAlign:o}=this,{caretSize:r,cornerRadius:a}=i,{topLeft:l,topRight:c,bottomLeft:h,bottomRight:d}=_e(a),{x:f,y:u}=t,{width:g,height:m}=n;let p,b,y,v,w,_;return o==="center"?(w=u+m/2,s==="left"?(p=f,b=p-r,v=w+r,_=w-r):(p=f+g,b=p+r,v=w-r,_=w+r),y=p):(s==="left"?b=f+Math.max(l,h)+r:s==="right"?b=f+g-Math.max(c,d)-r:b=this.caretX,o==="top"?(v=u,w=v-r,p=b-r,y=b+r):(v=u+m,w=v+r,p=b+r,y=b-r),_=v),{x1:p,x2:b,x3:y,y1:v,y2:w,y3:_}}drawTitle(t,n,i){const s=this.title,o=s.length;let r,a,l;if(o){const c=ve(i.rtl,this.x,this.width);for(t.x=On(this,i.titleAlign,i),n.textAlign=c.textAlign(i.titleAlign),n.textBaseline="middle",r=lt(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=r.string,l=0;l<o;++l)n.fillText(s[l],c.x(t.x),t.y+r.lineHeight/2),t.y+=r.lineHeight+a,l+1===o&&(t.y+=i.titleMarginBottom-a)}}_drawColorBox(t,n,i,s,o){const r=this.labelColors[i],a=this.labelPointStyles[i],{boxHeight:l,boxWidth:c}=o,h=lt(o.bodyFont),d=On(this,"left",o),f=s.x(d),u=l<h.lineHeight?(h.lineHeight-l)/2:0,g=n.y+u;if(o.usePointStyle){const m={radius:Math.min(c,l)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},p=s.leftForLtr(f,c)+c/2,b=g+l/2;t.strokeStyle=o.multiKeyBackground,t.fillStyle=o.multiKeyBackground,Pi(t,m,p,b),t.strokeStyle=r.borderColor,t.fillStyle=r.backgroundColor,Pi(t,m,p,b)}else{t.lineWidth=z(r.borderWidth)?Math.max(...Object.values(r.borderWidth)):r.borderWidth||1,t.strokeStyle=r.borderColor,t.setLineDash(r.borderDash||[]),t.lineDashOffset=r.borderDashOffset||0;const m=s.leftForLtr(f,c),p=s.leftForLtr(s.xPlus(f,1),c-2),b=_e(r.borderRadius);Object.values(b).some(y=>y!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,$n(t,{x:m,y:g,w:c,h:l,radius:b}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),$n(t,{x:p,y:g+1,w:c-2,h:l-2,radius:b}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(m,g,c,l),t.strokeRect(m,g,c,l),t.fillStyle=r.backgroundColor,t.fillRect(p,g+1,c-2,l-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,n,i){const{body:s}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:h}=i,d=lt(i.bodyFont);let f=d.lineHeight,u=0;const g=ve(i.rtl,this.x,this.width),m=function(k){n.fillText(k,g.x(t.x+u),t.y+f/2),t.y+=f+o},p=g.textAlign(r);let b,y,v,w,_,S,M;for(n.textAlign=r,n.textBaseline="middle",n.font=d.string,t.x=On(this,p,i),n.fillStyle=i.bodyColor,V(this.beforeBody,m),u=a&&p!=="right"?r==="center"?c/2+h:c+2+h:0,w=0,S=s.length;w<S;++w){for(b=s[w],y=this.labelTextColors[w],n.fillStyle=y,V(b.before,m),v=b.lines,a&&v.length&&(this._drawColorBox(n,t,w,g,i),f=Math.max(d.lineHeight,l)),_=0,M=v.length;_<M;++_)m(v[_]),f=d.lineHeight;V(b.after,m)}u=0,f=d.lineHeight,V(this.afterBody,m),t.y-=o}drawFooter(t,n,i){const s=this.footer,o=s.length;let r,a;if(o){const l=ve(i.rtl,this.x,this.width);for(t.x=On(this,i.footerAlign,i),t.y+=i.footerMarginTop,n.textAlign=l.textAlign(i.footerAlign),n.textBaseline="middle",r=lt(i.footerFont),n.fillStyle=i.footerColor,n.font=r.string,a=0;a<o;++a)n.fillText(s[a],l.x(t.x),t.y+r.lineHeight/2),t.y+=r.lineHeight+i.footerSpacing}}drawBackground(t,n,i,s){const{xAlign:o,yAlign:r}=this,{x:a,y:l}=t,{width:c,height:h}=i,{topLeft:d,topRight:f,bottomLeft:u,bottomRight:g}=_e(s.cornerRadius);n.fillStyle=s.backgroundColor,n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.beginPath(),n.moveTo(a+d,l),r==="top"&&this.drawCaret(t,n,i,s),n.lineTo(a+c-f,l),n.quadraticCurveTo(a+c,l,a+c,l+f),r==="center"&&o==="right"&&this.drawCaret(t,n,i,s),n.lineTo(a+c,l+h-g),n.quadraticCurveTo(a+c,l+h,a+c-g,l+h),r==="bottom"&&this.drawCaret(t,n,i,s),n.lineTo(a+u,l+h),n.quadraticCurveTo(a,l+h,a,l+h-u),r==="center"&&o==="left"&&this.drawCaret(t,n,i,s),n.lineTo(a,l+d),n.quadraticCurveTo(a,l,a+d,l),n.closePath(),n.fill(),s.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,i=this.$animations,s=i&&i.x,o=i&&i.y;if(s||o){const r=Be[t.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=Io(this,t),l=Object.assign({},r,this._size),c=Fo(n,t,l),h=$o(t,l,c,n);(s._to!==h.x||o._to!==h.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},o={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const r=wt(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(o,t,s,n),la(t,n.textDirection),o.y+=r.top,this.drawTitle(o,t,n),this.drawBody(o,t,n),this.drawFooter(o,t,n),ca(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const i=this._active,s=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!Nn(i,s),r=this._positionChanged(s,n);(o||r)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,o=this._active||[],r=this._getActiveElements(t,o,n,i),a=this._positionChanged(r,t),l=n||!Nn(r,o)||a;return l&&(this._active=r,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,i,s){const o=this.options;if(t.type==="mouseout")return[];if(!s)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const r=this.chart.getElementsAtEventForMode(t,o.mode,o,i);return o.reverse&&r.reverse(),r}_positionChanged(t,n){const{caretX:i,caretY:s,options:o}=this,r=Be[o.position].call(this,t,n);return r!==!1&&(i!==r.x||s!==r.y)}}j(Ri,"positioners",Be);var wg={id:"tooltip",_element:Ri,positioners:Be,afterInit(e,t,n){n&&(e.tooltip=new Ri({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Oa},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Gu=(e,t,n,i)=>(typeof t=="string"?(n=e.push(t)-1,i.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Ju(e,t,n,i){const s=e.indexOf(t);if(s===-1)return Gu(e,t,n,i);const o=e.lastIndexOf(t);return s!==o?n:s}const Zu=(e,t)=>e===null?null:at(Math.round(e),0,t);function Wo(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Ho extends De{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:s,label:o}of n)i[s]===o&&i.splice(s,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(Y(t))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===t?n:Ju(i,t,F(n,t),this._addedLabels),Zu(n,i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(i=0),n||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,n=this.max,i=this.options.offset,s=[];let o=this.getLabels();o=t===0&&n===o.length-1?o:o.slice(t,n+1),this._valueRange=Math.max(o.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let r=t;r<=n;r++)s.push({value:r});return s}getLabelForValue(t){return Wo.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}j(Ho,"id","category"),j(Ho,"defaults",{ticks:{callback:Wo}});function Qu(e,t){const n=[],{bounds:s,step:o,min:r,max:a,precision:l,count:c,maxTicks:h,maxDigits:d,includeBounds:f}=e,u=o||1,g=h-1,{min:m,max:p}=t,b=!Y(r),y=!Y(a),v=!Y(c),w=(p-m)/(d+1);let _=Hs((p-m)/g/u)*u,S,M,k,P;if(_<1e-14&&!b&&!y)return[{value:m},{value:p}];P=Math.ceil(p/_)-Math.floor(m/_),P>g&&(_=Hs(P*_/g/u)*u),Y(l)||(S=Math.pow(10,l),_=Math.ceil(_*S)/S),s==="ticks"?(M=Math.floor(m/_)*_,k=Math.ceil(p/_)*_):(M=m,k=p),b&&y&&o&&Mh((a-r)/o,_/1e3)?(P=Math.round(Math.min((a-r)/_,h)),_=(a-r)/P,M=r,k=a):v?(M=b?r:M,k=y?a:k,P=c-1,_=(k-M)/P):(P=(k-M)/_,Ue(P,Math.round(P),_/1e3)?P=Math.round(P):P=Math.ceil(P));const E=Math.max(Vs(_),Vs(M));S=Math.pow(10,Y(l)?E:l),M=Math.round(M*S)/S,k=Math.round(k*S)/S;let C=0;for(b&&(f&&M!==r?(n.push({value:r}),M<r&&C++,Ue(Math.round((M+C*_)*S)/S,r,Vo(r,w,e))&&C++):M<r&&C++);C<P;++C){const O=Math.round((M+C*_)*S)/S;if(y&&O>a)break;n.push({value:O})}return y&&f&&k!==a?n.length&&Ue(n[n.length-1].value,a,Vo(a,w,e))?n[n.length-1].value=a:n.push({value:a}):(!y||k===a)&&n.push({value:k}),n}function Vo(e,t,{horizontal:n,minRotation:i}){const s=le(i),o=(n?Math.sin(s):Math.cos(s))||.001,r=.75*t*(""+e).length;return Math.min(t/o,r)}class tp extends De{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Y(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:i}=this.getUserBounds();let{min:s,max:o}=this;const r=l=>s=n?s:l,a=l=>o=i?o:l;if(t){const l=Dt(s),c=Dt(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(s===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||r(s-l)}this.min=s,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=t,s;return i?(s=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s={maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,r=Qu(s,o);return t.bounds==="ticks"&&Ch(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-n)/Math.max(t.length-1,1)/2;n-=s,i+=s}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(t){return Zr(t,this.chart.options.locale,this.options.ticks.format)}}class Yo extends tp{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=vt(t)?t:0,this.max=vt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,i=le(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/s))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}j(Yo,"id","linear"),j(Yo,"defaults",{ticks:{callback:ta.formatters.numeric}});const qn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},dt=Object.keys(qn);function Uo(e,t){return e-t}function Xo(e,t){if(Y(t))return null;const n=e._adapter,{parser:i,round:s,isoWeekday:o}=e._parseOpts;let r=t;return typeof i=="function"&&(r=i(r)),vt(r)||(r=typeof i=="string"?n.parse(r,i):n.parse(r)),r===null?null:(s&&(r=s==="week"&&(tn(o)||o===!0)?n.startOf(r,"isoWeek",o):n.startOf(r,s)),+r)}function Ko(e,t,n,i){const s=dt.length;for(let o=dt.indexOf(e);o<s-1;++o){const r=qn[dt[o]],a=r.steps?r.steps:Number.MAX_SAFE_INTEGER;if(r.common&&Math.ceil((n-t)/(a*r.size))<=i)return dt[o]}return dt[s-1]}function ep(e,t,n,i,s){for(let o=dt.length-1;o>=dt.indexOf(n);o--){const r=dt[o];if(qn[r].common&&e._adapter.diff(s,i,r)>=t-1)return r}return dt[n?dt.indexOf(n):0]}function np(e){for(let t=dt.indexOf(e)+1,n=dt.length;t<n;++t)if(qn[dt[t]].common)return dt[t]}function qo(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:i,hi:s}=Ki(n,t),o=n[i]>=t?n[i]:n[s];e[o]=!0}}function ip(e,t,n,i){const s=e._adapter,o=+s.startOf(t[0].value,i),r=t[t.length-1].value;let a,l;for(a=o;a<=r;a=+s.add(a,1,i))l=n[a],l>=0&&(t[l].major=!0);return t}function Go(e,t,n){const i=[],s={},o=t.length;let r,a;for(r=0;r<o;++r)a=t[r],s[a]=r,i.push({value:a,major:!1});return o===0||!n?i:ip(e,i,s,n)}class Hn extends De{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const i=t.time||(t.time={}),s=this._adapter=new lf._date(t.adapters.date);s.init(n),Ye(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:Xo(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,i=t.time.unit||"day";let{min:s,max:o,minDefined:r,maxDefined:a}=this.getUserBounds();function l(c){!r&&!isNaN(c.min)&&(s=Math.min(s,c.min)),!a&&!isNaN(c.max)&&(o=Math.max(o,c.max))}(!r||!a)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),s=vt(s)&&!isNaN(s)?s:+n.startOf(Date.now(),i),o=vt(o)&&!isNaN(o)?o:+n.endOf(Date.now(),i)+1,this.min=Math.min(s,o-1),this.max=Math.max(s+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],i=t[t.length-1]),{min:n,max:i}}buildTicks(){const t=this.options,n=t.time,i=t.ticks,s=i.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const o=this.min,r=this.max,a=Rh(s,o,r);return this._unit=n.unit||(i.autoSkip?Ko(n.minUnit,this.min,this.max,this._getLabelCapacity(o)):ep(this,a.length,n.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:np(this._unit),this.initOffsets(s),t.reverse&&a.reverse(),Go(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,i=0,s,o;this.options.offset&&t.length&&(s=this.getDecimalForValue(t[0]),t.length===1?n=1-s:n=(this.getDecimalForValue(t[1])-s)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?i=o:i=(o-this.getDecimalForValue(t[t.length-2]))/2);const r=t.length<3?.5:.25;n=at(n,0,r),i=at(i,0,r),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const t=this._adapter,n=this.min,i=this.max,s=this.options,o=s.time,r=o.unit||Ko(o.minUnit,n,i,this._getLabelCapacity(n)),a=F(s.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=tn(l)||l===!0,h={};let d=n,f,u;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":r),t.diff(i,n,r)>1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+r);const g=s.ticks.source==="data"&&this.getDataTimestamps();for(f=d,u=0;f<i;f=+t.add(f,a,r),u++)qo(h,f,g);return(f===i||s.bounds==="ticks"||u===1)&&qo(h,f,g),Object.keys(h).sort(Uo).map(m=>+m)}getLabelForValue(t){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(t,i.tooltipFormat):n.format(t,i.displayFormats.datetime)}format(t,n){const s=this.options.time.displayFormats,o=this._unit,r=n||s[o];return this._adapter.format(t,r)}_tickFormatFunction(t,n,i,s){const o=this.options,r=o.ticks.callback;if(r)return U(r,[t,n,i],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,h=l&&a[l],d=c&&a[c],f=i[n],u=c&&d&&f&&f.major;return this._adapter.format(t,s||(u?d:h))}generateTickLabels(t){let n,i,s;for(n=0,i=t.length;n<i;++n)s=t[n],s.label=this._tickFormatFunction(s.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+i)*n.factor)}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,i=this.ctx.measureText(t).width,s=le(this.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(s),r=Math.sin(s),a=this._resolveTickFontOptions(0).size;return{w:i*o+a*r,h:i*r+a*o}}_getLabelCapacity(t){const n=this.options.time,i=n.displayFormats,s=i[n.unit]||i.millisecond,o=this._tickFormatFunction(t,0,Go(this,[t],this._majorUnit),s),r=this._getLabelSize(o),a=Math.floor(this.isHorizontal()?this.width/r.w:this.height/r.h)-1;return a>0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,i;if(t.length)return t;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,i=s.length;n<i;++n)t=t.concat(s[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,i;if(t.length)return t;const s=this.getLabels();for(n=0,i=s.length;n<i;++n)t.push(Xo(this,s[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return qr(t.sort(Uo))}}j(Hn,"id","time"),j(Hn,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function En(e,t,n){let i=0,s=e.length-1,o,r,a,l;n?(t>=e[i].pos&&t<=e[s].pos&&({lo:i,hi:s}=ce(e,"pos",t)),{pos:o,time:a}=e[i],{pos:r,time:l}=e[s]):(t>=e[i].time&&t<=e[s].time&&({lo:i,hi:s}=ce(e,"time",t)),{time:o,pos:a}=e[i],{time:r,pos:l}=e[s]);const c=r-o;return c?a+(l-a)*(t-o)/c:a}class Jo extends Hn{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=En(n,this.min),this._tableRange=En(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:i}=this,s=[],o=[];let r,a,l,c,h;for(r=0,a=t.length;r<a;++r)c=t[r],c>=n&&c<=i&&s.push(c);if(s.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(r=0,a=s.length;r<a;++r)h=s[r+1],l=s[r-1],c=s[r],Math.round((h+l)/2)!==c&&o.push({time:c,pos:r/(a-1)});return o}_generate(){const t=this.min,n=this.max;let i=super.getDataTimestamps();return(!i.includes(t)||!i.length)&&i.splice(0,0,t),(!i.includes(n)||i.length===1)&&i.push(n),i.sort((s,o)=>s-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),i=this.getLabelTimestamps();return n.length&&i.length?t=this.normalize(n.concat(i)):t=n.length?n:i,t=this._cache.all=t,t}getDecimalForValue(t){return(En(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,i=this.getDecimalForPixel(t)/n.factor-n.end;return En(this._table,i*this._tableRange+this._minPos,!0)}}j(Jo,"id","timeseries"),j(Jo,"defaults",Hn.defaults);var se={},Zo;function sp(){if(Zo)return se;Zo=1,Object.defineProperty(se,"__esModule",{value:!0}),se.cartesianProductGenerator=se.cartesianProduct=void 0;function e(...i){if(!Array.isArray(i))throw new TypeError("Please, send an array.");const[s,o,...r]=i,a=n(s,o);return r.length?e(a,...r):a}se.cartesianProduct=e;function*t(...i){if(!Array.isArray(i))throw new TypeError("Please, send an array.");const[s,o,...r]=i,a=n(s,o);yield a,r.length&&(yield*t(a,...r))}se.cartesianProductGenerator=t;function n(i,s){const o=[];for(let r=0;r<i.length;r++){if(!s){o.push([i[r]]);continue}for(let a=0;a<s.length;a++)Array.isArray(i[r])?o.push([...i[r],s[a]]):o.push([i[r],s[a]])}return o}return se}var rs=sp();const op=function(e){let t=0;for(let i=0;i<e.length;i++)t=e.charCodeAt(i)+((t<<5)-t);let n="#";for(let i=0;i<3;i++){const o="00"+(t>>i*8&255).toString(16);n+=o.substring(o.length-2)}return n};function Sg(e,t=(n,i)=>{}){const n=new Map;for(const[i,s]of e){const o=new Map;for(const[r,a]of s){const l=new Map;for(const[c,h]of a){const d=t(r,h);if(d){l.set(c,{tooltip:d});continue}l.set(c,{})}o.set(r,l)}n.set(i,o)}return n}function kg(e){const t=new Map;return e.forEach(n=>{const i=t.get(n.nren);(!i||i.year<n.year)&&t.set(n.nren,n)}),Array.from(t.values())}function Mg(e){return e.match(/^[a-zA-Z]+:\/\//)?e:"https://"+e}const Cg=e=>{const t={};return!e.urls&&!e.url||(e.urls&&e.urls.forEach(n=>{t[n]=n}),e.url&&(t[e.url]=e.url)),t};function Pg(e){const t=new Map;return e.forEach(n=>{let i=t.get(n.nren);i||(i=new Map);let s=i.get(n.year);s||(s=[]),s.push(n),i.set(n.year,s),t.set(n.nren,i)}),t}function Re(e){const t=new Map;return e.forEach(n=>{let i=t.get(n.nren);i||(i=new Map),i.set(n.year,n),t.set(n.nren,i)}),t}function Og(e,t){const n=new Map;return e.forEach((i,s)=>{const o=new Map;Array.from(i.keys()).sort((a,l)=>l-a).forEach(a=>{const l=i.get(a),c=o.get(a)||{};t(c,l),Object.keys(c).length>0&&o.set(a,c)}),n.set(s,o)}),n}function Eg(e,t,n=!1){const i=new Map;return e.forEach(s=>{const o=a=>{let l=i.get(s.nren);l||(l=new Map);let c=l.get(a);c||(c=new Map),c.set(s.year,s),l.set(a,c),i.set(s.nren,l)};let r=s[t];typeof r=="boolean"&&(r=r?"True":"False"),n&&r==null&&(r=`${r}`),Array.isArray(r)?r.forEach(o):o(r)}),i}function Dg(e,t,n,i=!0,s){const o=new Map,r=(a,l,c)=>{a.forEach(h=>{let d=l?h[l]:c;typeof d=="boolean"&&(d=d?"True":"False");const f=h.nren,u=h.year,g=o.get(f)||new Map,m=g.get(u)||new Map,p=m.get(d)||{},b=h[c];if(b==null)return;const y=i?b:c,v=p[y]||{};v[`${b}`]=b,p[y]=v,m.set(d,p),g.set(u,m),o.set(f,g)})};if(n)for(const a of t)r(e,n,a);else for(const a of t)r(e,void 0,a);return o}const Rg=e=>{function t(){const d=(u,g,m)=>"#"+[u,g,m].map(p=>{const b=p.toString(16);return b.length===1?"0"+b:b}).join(""),f=new Map;return f.set("client_institutions",d(157,40,114)),f.set("commercial",d(241,224,79)),f.set("european_funding",d(219,42,76)),f.set("gov_public_bodies",d(237,141,24)),f.set("other",d(137,166,121)),f}const n=Re(e),i=t(),s=[...new Set(e.map(d=>d.year))].sort(),o=[...new Set(e.map(d=>d.nren))].sort(),r={client_institutions:"Client Institutions",commercial:"Commercial",european_funding:"European Funding",gov_public_bodies:"Government/Public Bodies",other:"Other"},a=Object.keys(r),l=rs.cartesianProduct(Object.keys(r),s).reduce((d,[f,u])=>{const g=`${f},${u}`;return d[g]={},d},{});return n.forEach((d,f)=>{d.forEach((u,g)=>{const m=a.map(b=>u[b]||0);if(m.reduce((b,y)=>b+y,0)!==0)for(const b of a){const y=`${b},${g}`,v=a.indexOf(b);l[y][f]=m[v]}})}),{datasets:Array.from(Object.entries(l)).map(([d,f])=>{const[u,g]=d.split(",");return{backgroundColor:i.get(u)||"black",label:r[u]+" ("+g+")",data:o.map(p=>f[p]),stack:g,borderSkipped:!0,barPercentage:.8,borderWidth:.5,categoryPercentage:.8,hidden:!1,datalabels:{display:u==a[0],formatter:function(p,b){return b.dataset.stack},font:{family:'"Open Sans", sans-serif',size:16,weight:"700"},anchor:"start",align:"end",offset:function(p){return p.chart.chartArea.width}}}}),labels:o.map(d=>d.toString())}};function Tg(e,t){const n=[...new Set(e.map(r=>r.year))].sort(),i=[...new Set(e.map(r=>r.nren))].sort(),s=Re(e);return{datasets:i.map(r=>{const a=op(r);return{backgroundColor:a,borderColor:a,data:n.map(l=>{const c=s.get(r);if(!c)return null;const h=c.get(l);return h?h[t]:null}),label:r,hidden:!1}}),labels:n.map(r=>r.toString())}}const Ag=(e,t,n)=>{let i;t?i=["Technical FTE","Non-technical FTE"]:i=["Permanent FTE","Subcontracted FTE"];const s={"Technical FTE":"technical_fte","Non-technical FTE":"non_technical_fte","Permanent FTE":"permanent_fte","Subcontracted FTE":"subcontracted_fte"},[o,r]=i,[a,l]=[s[o],s[r]];function c(p){const b=p[a],y=p[l],v=b+y,w=(b/v||0)*100,_=(y/v||0)*100,S={};return S[o]=Math.round(Math.floor(w*100))/100,S[r]=Math.round(Math.floor(_*100))/100,S}const h=Re(e),d=[n].sort(),f=[...new Set(e.map(p=>p.nren))].sort((p,b)=>p.localeCompare(b));return{datasets:rs.cartesianProduct(i,d).map(function([p,b]){let y="";return p==="Technical FTE"?y="rgba(40, 40, 250, 0.8)":p==="Permanent FTE"?y="rgba(159, 129, 235, 1)":p==="Subcontracted FTE"?y="rgba(173, 216, 229, 1)":p==="Non-technical FTE"&&(y="rgba(116, 216, 242, 0.54)"),{backgroundColor:y,label:`${p} (${b})`,data:f.map(v=>{const w=h.get(v).get(b);return w?c(w)[p]:0}),stack:b,borderRadius:10,borderSkipped:!0,barPercentage:.8,borderWidth:.5,categoryPercentage:.8,hidden:!1}}),labels:f}},jg=(e,t)=>{const n=["Research & Education","Commodity"],i={"Research & Education":"r_and_e_percentage",Commodity:"commodity_percentage"},s=Re(e),o=[t].sort(),r=[...new Set(e.map(h=>h.nren))].sort((h,d)=>h.localeCompare(d));return{datasets:rs.cartesianProduct(n,o).map(function([h,d]){let f="";return h==="Research & Education"?f="rgba(40, 40, 250, 0.8)":h==="Commodity"&&(f="rgba(116, 216, 242, 0.54)"),{backgroundColor:f,label:`${h} (${d})`,data:r.map(u=>{const g=s.get(u).get(d);return g?g[i[h]]:0}),stack:d,borderRadius:10,borderSkipped:!0,barPercentage:.8,borderWidth:.5,categoryPercentage:.8,hidden:!1}}),labels:r}},Lg=(e,t)=>{const n=["Permanent FTE","Subcontracted FTE"],i={"Technical FTE":"technical_fte","Non-technical FTE":"non_technical_fte","Permanent FTE":"permanent_fte","Subcontracted FTE":"subcontracted_fte"},[s,o]=n,[r,a]=[i[s],i[o]],l=Re(e),c=[...new Set(e.map(u=>u.nren))].sort((u,g)=>u.localeCompare(g));function h(u,g){return{backgroundColor:"rgba(219, 42, 76, 1)",label:`Number of FTEs (${u})`,data:c.map(p=>{const b=l.get(p).get(u);return b?(b[r]??0)+(b[a]??0):0}),stack:`${u}`,borderRadius:10,borderSkipped:!0,barPercentage:.8,borderWidth:.5,categoryPercentage:.8,hidden:!1,datalabels:{display:!0,formatter:function(p,b){return b.dataset.stack},font:{family:'"Open Sans", sans-serif',size:16,weight:"700"},anchor:"start",align:"end",offset:function(p){return p.chart.chartArea.width}}}}return{datasets:t.sort().map(h),labels:c}},Ng=(e,t,n)=>{const i=Re(e),s=[...new Set(e.map(l=>l.nren))].sort((l,c)=>l.localeCompare(c)),o=[...new Set(e.map(l=>l.year))].sort();function r(l,c){return{backgroundColor:"rgba(219, 42, 76, 1)",label:`${n} (${l})`,data:s.map(d=>{const f=i.get(d).get(l);return f?f[t]??0:0}),stack:`${l}`,borderRadius:10,borderSkipped:!0,barPercentage:.8,borderWidth:.5,categoryPercentage:.8,hidden:!1,datalabels:{display:!0,formatter:function(d,f){return f.dataset.stack},font:{family:'"Open Sans", sans-serif',size:16,weight:"700"},anchor:"start",align:"end",offset:function(d){return d.chart.chartArea.width}}}}return{datasets:o.sort().map(r),labels:s}},rp=()=>{const e=St.c(13);let t,n;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=x.jsx("h5",{children:"Organisation"}),n=x.jsx("h6",{className:"section-title",children:"Budget, Income and Billing"}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let i;e[2]===Symbol.for("react.memo_cache_sentinel")?(i=x.jsx(T,{to:"/budget",children:x.jsx("span",{children:"Budget of NRENs per Year"})}),e[2]=i):i=e[2];let s;e[3]===Symbol.for("react.memo_cache_sentinel")?(s=x.jsx(T,{to:"/funding",children:x.jsx("span",{children:"Income Source of NRENs"})}),e[3]=s):s=e[3];let o,r,a;e[4]===Symbol.for("react.memo_cache_sentinel")?(o=x.jsx(T,{to:"/charging",children:x.jsx("span",{children:"Charging Mechanism of NRENs"})}),r=x.jsx("hr",{className:"fake-divider"}),a=x.jsx("h6",{className:"section-title",children:"Staff and Projects"}),e[4]=o,e[5]=r,e[6]=a):(o=e[4],r=e[5],a=e[6]);let l;e[7]===Symbol.for("react.memo_cache_sentinel")?(l=x.jsx(T,{to:"/employee-count",children:x.jsx("span",{children:"Number of NREN Employees"})}),e[7]=l):l=e[7];let c;e[8]===Symbol.for("react.memo_cache_sentinel")?(c=x.jsx(T,{to:"/roles",children:x.jsx("span",{children:"Roles of NREN employees (Technical v. Non-Technical)"})}),e[8]=c):c=e[8];let h;e[9]===Symbol.for("react.memo_cache_sentinel")?(h=x.jsx(T,{to:"/employment",children:x.jsx("span",{children:"Types of Employment within NRENs"})}),e[9]=h):h=e[9];let d;e[10]===Symbol.for("react.memo_cache_sentinel")?(d=x.jsx(T,{to:"/suborganisations",children:x.jsx("span",{children:"NREN Sub-Organisations"})}),e[10]=d):d=e[10];let f;e[11]===Symbol.for("react.memo_cache_sentinel")?(f=x.jsx(T,{to:"/parentorganisation",children:x.jsx("span",{children:"NREN Parent Organisations"})}),e[11]=f):f=e[11];let u;return e[12]===Symbol.for("react.memo_cache_sentinel")?(u=x.jsxs(on,{children:[t,n,i,s,o,r,a,l,c,h,d,f,x.jsx(T,{to:"/ec-projects",children:x.jsx("span",{children:"NREN Involvement in European Commission Projects"})})]}),e[12]=u):u=e[12],u},ap=e=>{const t=St.c(41),{activeCategory:n}=e,i=Za();let s;t[0]!==n||t[1]!==i?(s=()=>i(n===J.Organisation?".":"/funding"),t[0]=n,t[1]=i,t[2]=s):s=t[2];const o=n===J.Organisation;let r;t[3]===Symbol.for("react.memo_cache_sentinel")?(r=x.jsx("span",{children:J.Organisation}),t[3]=r):r=t[3];let a;t[4]!==s||t[5]!==o?(a=x.jsx(Nt,{onClick:s,variant:"nav-box",active:o,children:r}),t[4]=s,t[5]=o,t[6]=a):a=t[6];let l;t[7]!==n||t[8]!==i?(l=()=>i(n===J.Policy?".":"/policy"),t[7]=n,t[8]=i,t[9]=l):l=t[9];const c=n===J.Policy;let h;t[10]===Symbol.for("react.memo_cache_sentinel")?(h=x.jsx("span",{children:J.Policy}),t[10]=h):h=t[10];let d;t[11]!==l||t[12]!==c?(d=x.jsx(Nt,{onClick:l,variant:"nav-box",active:c,children:h}),t[11]=l,t[12]=c,t[13]=d):d=t[13];let f;t[14]!==n||t[15]!==i?(f=()=>i(n===J.ConnectedUsers?".":"/institutions-urls"),t[14]=n,t[15]=i,t[16]=f):f=t[16];const u=n===J.ConnectedUsers;let g;t[17]===Symbol.for("react.memo_cache_sentinel")?(g=x.jsx("span",{children:J.ConnectedUsers}),t[17]=g):g=t[17];let m;t[18]!==u||t[19]!==f?(m=x.jsx(Nt,{onClick:f,variant:"nav-box",active:u,children:g}),t[18]=u,t[19]=f,t[20]=m):m=t[20];let p;t[21]!==n||t[22]!==i?(p=()=>i(n===J.Network?".":"/traffic-volume"),t[21]=n,t[22]=i,t[23]=p):p=t[23];const b=n===J.Network;let y;t[24]===Symbol.for("react.memo_cache_sentinel")?(y=x.jsx("span",{children:J.Network}),t[24]=y):y=t[24];let v;t[25]!==p||t[26]!==b?(v=x.jsx(Nt,{onClick:p,variant:"nav-box",active:b,children:y}),t[25]=p,t[26]=b,t[27]=v):v=t[27];let w;t[28]!==n||t[29]!==i?(w=()=>i(n===J.Services?".":"/network-services"),t[28]=n,t[29]=i,t[30]=w):w=t[30];const _=n===J.Services;let S;t[31]===Symbol.for("react.memo_cache_sentinel")?(S=x.jsx("span",{children:J.Services}),t[31]=S):S=t[31];let M;t[32]!==w||t[33]!==_?(M=x.jsx(Nt,{onClick:w,variant:"nav-box",active:_,children:S}),t[32]=w,t[33]=_,t[34]=M):M=t[34];let k;return t[35]!==m||t[36]!==v||t[37]!==M||t[38]!==a||t[39]!==d?(k=x.jsx(hr,{children:x.jsx(oe,{children:x.jsxs(Ai,{className:"navbox-bar gap-2 m-3",children:[a,d,m,v,M]})})}),t[35]=m,t[36]=v,t[37]=M,t[38]=a,t[39]=d,t[40]=k):k=t[40],k},lp=()=>{const e=St.c(13);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=x.jsx("h5",{children:"Standards and Policies"}),e[0]=t):t=e[0];let n,i;e[1]===Symbol.for("react.memo_cache_sentinel")?(n=x.jsx(T,{to:"/policy",children:x.jsx("span",{children:"NREN Policies"})}),i=x.jsx("h6",{className:"section-title",children:"Standards"}),e[1]=n,e[2]=i):(n=e[1],i=e[2]);let s;e[3]===Symbol.for("react.memo_cache_sentinel")?(s=x.jsx(T,{to:"/audits",children:x.jsx("span",{children:"External and Internal Audits of Information Security Management Systems"})}),e[3]=s):s=e[3];let o;e[4]===Symbol.for("react.memo_cache_sentinel")?(o=x.jsx(T,{to:"/business-continuity",children:x.jsx("span",{children:"NREN Business Continuity Planning"})}),e[4]=o):o=e[4];let r;e[5]===Symbol.for("react.memo_cache_sentinel")?(r=x.jsx(T,{to:"/central-procurement",children:x.jsx("span",{children:"Central Procurement of Software"})}),e[5]=r):r=e[5];let a;e[6]===Symbol.for("react.memo_cache_sentinel")?(a=x.jsx(T,{to:"/crisis-management",children:x.jsx("span",{children:"Crisis Management Procedures"})}),e[6]=a):a=e[6];let l;e[7]===Symbol.for("react.memo_cache_sentinel")?(l=x.jsx(T,{to:"/crisis-exercise",children:x.jsx("span",{children:"Crisis Exercises - NREN Operation and Participation"})}),e[7]=l):l=e[7];let c;e[8]===Symbol.for("react.memo_cache_sentinel")?(c=x.jsx(T,{to:"/security-control",children:x.jsx("span",{children:"Security Controls Used by NRENs"})}),e[8]=c):c=e[8];let h;e[9]===Symbol.for("react.memo_cache_sentinel")?(h=x.jsx(T,{to:"/services-offered",children:x.jsx("span",{children:"Services Offered by NRENs by Types of Users"})}),e[9]=h):h=e[9];let d;e[10]===Symbol.for("react.memo_cache_sentinel")?(d=x.jsx(T,{to:"/corporate-strategy",children:x.jsx("span",{children:"NREN Corporate Strategies "})}),e[10]=d):d=e[10];let f;e[11]===Symbol.for("react.memo_cache_sentinel")?(f=x.jsx(T,{to:"/service-level-targets",children:x.jsx("span",{children:"NRENs Offering Service Level Targets"})}),e[11]=f):f=e[11];let u;return e[12]===Symbol.for("react.memo_cache_sentinel")?(u=x.jsxs(on,{children:[t,n,i,s,o,r,a,l,c,h,d,f,x.jsx(T,{to:"/service-management-framework",children:x.jsx("span",{children:"NRENs Operating a Formal Service Management Framework"})})]}),e[12]=u):u=e[12],u},cp=()=>{const e=St.c(34);let t,n;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=x.jsx("h5",{children:"Network"}),n=x.jsx("h6",{className:"section-title",children:"Connectivity"}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let i;e[2]===Symbol.for("react.memo_cache_sentinel")?(i=x.jsx(T,{to:"/traffic-volume",children:x.jsx("span",{children:"NREN Traffic - NREN Customers & External Networks"})}),e[2]=i):i=e[2];let s;e[3]===Symbol.for("react.memo_cache_sentinel")?(s=x.jsx(T,{to:"/iru-duration",children:x.jsx("span",{children:"Average Duration of IRU leases of Fibre by NRENs"})}),e[3]=s):s=e[3];let o;e[4]===Symbol.for("react.memo_cache_sentinel")?(o=x.jsx(T,{to:"/fibre-light",children:x.jsx("span",{children:"Approaches to lighting NREN fibre networks"})}),e[4]=o):o=e[4];let r;e[5]===Symbol.for("react.memo_cache_sentinel")?(r=x.jsx(T,{to:"/dark-fibre-lease",children:x.jsx("span",{children:"Kilometres of Leased Dark Fibre (National)"})}),e[5]=r):r=e[5];let a;e[6]===Symbol.for("react.memo_cache_sentinel")?(a=x.jsx(T,{to:"/dark-fibre-lease-international",children:x.jsx("span",{children:"Kilometres of Leased Dark Fibre (International)"})}),e[6]=a):a=e[6];let l;e[7]===Symbol.for("react.memo_cache_sentinel")?(l=x.jsx(T,{to:"/dark-fibre-installed",children:x.jsx("span",{children:"Kilometres of Installed Dark Fibre"})}),e[7]=l):l=e[7];let c,h,d;e[8]===Symbol.for("react.memo_cache_sentinel")?(h=x.jsx(T,{to:"/network-map",children:x.jsx("span",{children:"NREN Network Maps"})}),d=x.jsx("hr",{className:"fake-divider"}),c=x.jsx("h6",{className:"section-title",children:"Performance Monitoring & Management"}),e[8]=c,e[9]=h,e[10]=d):(c=e[8],h=e[9],d=e[10]);let f;e[11]===Symbol.for("react.memo_cache_sentinel")?(f=x.jsx(T,{to:"/monitoring-tools",children:x.jsx("span",{children:"Tools for Monitoring or Troubleshooting the Network - Offered to Client Institutions"})}),e[11]=f):f=e[11];let u;e[12]===Symbol.for("react.memo_cache_sentinel")?(u=x.jsx(T,{to:"/pert-team",children:x.jsx("span",{children:"NRENs with Performance Enhancement Response Teams"})}),e[12]=u):u=e[12];let g;e[13]===Symbol.for("react.memo_cache_sentinel")?(g=x.jsx(T,{to:"/passive-monitoring",children:x.jsx("span",{children:"Methods for Passively Monitoring International Traffic"})}),e[13]=g):g=e[13];let m;e[14]===Symbol.for("react.memo_cache_sentinel")?(m=x.jsx(T,{to:"/traffic-stats",children:x.jsx("span",{children:"Traffic Statistics "})}),e[14]=m):m=e[14];let p;e[15]===Symbol.for("react.memo_cache_sentinel")?(p=x.jsx(T,{to:"/weather-map",children:x.jsx("span",{children:"NREN Online Network Weather Maps "})}),e[15]=p):p=e[15];let b;e[16]===Symbol.for("react.memo_cache_sentinel")?(b=x.jsx(T,{to:"/certificate-providers",children:x.jsx("span",{children:"Certification Services used by NRENs"})}),e[16]=b):b=e[16];let y,v,w;e[17]===Symbol.for("react.memo_cache_sentinel")?(y=x.jsx(T,{to:"/siem-vendors",children:x.jsx("span",{children:"Vendors of SIEM/SOC systems used by NRENs"})}),v=x.jsx("hr",{className:"fake-divider"}),w=x.jsx("h6",{className:"section-title",children:"Alienwave"}),e[17]=y,e[18]=v,e[19]=w):(y=e[17],v=e[18],w=e[19]);let _;e[20]===Symbol.for("react.memo_cache_sentinel")?(_=x.jsx(T,{to:"/alien-wave",children:x.jsx("span",{children:"NREN Use of 3rd Party Alienwave/Lightpath Services"})}),e[20]=_):_=e[20];let S,M,k;e[21]===Symbol.for("react.memo_cache_sentinel")?(S=x.jsx(T,{to:"/alien-wave-internal",children:x.jsx("span",{children:"Internal NREN Use of Alien Waves"})}),M=x.jsx("hr",{className:"fake-divider"}),k=x.jsx("h6",{className:"section-title",children:"Capacity"}),e[21]=S,e[22]=M,e[23]=k):(S=e[21],M=e[22],k=e[23]);let P;e[24]===Symbol.for("react.memo_cache_sentinel")?(P=x.jsx(T,{to:"/capacity-largest-link",children:x.jsx("span",{children:"Capacity of the Largest Link in an NREN Network"})}),e[24]=P):P=e[24];let E;e[25]===Symbol.for("react.memo_cache_sentinel")?(E=x.jsx(T,{to:"/external-connections",children:x.jsx("span",{children:"NREN External IP Connections"})}),e[25]=E):E=e[25];let C;e[26]===Symbol.for("react.memo_cache_sentinel")?(C=x.jsx(T,{to:"/capacity-core-ip",children:x.jsx("span",{children:"NREN Core IP Capacity"})}),e[26]=C):C=e[26];let O;e[27]===Symbol.for("react.memo_cache_sentinel")?(O=x.jsx(T,{to:"/non-rne-peers",children:x.jsx("span",{children:"Number of Non-R&E Networks NRENs Peer With"})}),e[27]=O):O=e[27];let R,N,A;e[28]===Symbol.for("react.memo_cache_sentinel")?(R=x.jsx(T,{to:"/traffic-ratio",children:x.jsx("span",{children:"Types of traffic in NREN networks"})}),N=x.jsx("hr",{className:"fake-divider"}),A=x.jsx("h6",{className:"section-title",children:"Software-Defined Networking (SDN) & Network Function Virtualisation(NFV)"}),e[28]=R,e[29]=N,e[30]=A):(R=e[28],N=e[29],A=e[30]);let L;e[31]===Symbol.for("react.memo_cache_sentinel")?(L=x.jsx(T,{to:"/ops-automation",children:x.jsx("span",{children:"NREN Automation of Operational Processes"})}),e[31]=L):L=e[31];let I;e[32]===Symbol.for("react.memo_cache_sentinel")?(I=x.jsx(T,{to:"/network-automation",children:x.jsx("span",{children:"Network Tasks for which NRENs Use Automation "})}),e[32]=I):I=e[32];let W;return e[33]===Symbol.for("react.memo_cache_sentinel")?(W=x.jsxs(on,{children:[t,n,i,s,o,r,a,l,h,d,c,f,u,g,m,p,b,y,v,w,_,S,M,k,P,E,C,O,R,N,A,L,I,x.jsx(T,{to:"/nfv",children:x.jsx("span",{children:"Kinds of Network Function Virtualisation used by NRENs"})})]}),e[33]=W):W=e[33],W},hp=()=>{const e=St.c(11);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=x.jsx("h6",{className:"section-title",children:"Connected Users"}),e[0]=t):t=e[0];let n;e[1]===Symbol.for("react.memo_cache_sentinel")?(n=x.jsx(T,{to:"/institutions-urls",children:x.jsx("span",{children:"Webpages Listing Institutions and Organisations Connected to NREN Networks"})}),e[1]=n):n=e[1];let i;e[2]===Symbol.for("react.memo_cache_sentinel")?(i=x.jsx(T,{to:"/connected-proportion",children:x.jsx("span",{children:"Proportion of Different Categories of Institutions Served by NRENs"})}),e[2]=i):i=e[2];let s;e[3]===Symbol.for("react.memo_cache_sentinel")?(s=x.jsx(T,{to:"/connectivity-level",children:x.jsx("span",{children:"Level of IP Connectivity by Institution Type"})}),e[3]=s):s=e[3];let o;e[4]===Symbol.for("react.memo_cache_sentinel")?(o=x.jsx(T,{to:"/connection-carrier",children:x.jsx("span",{children:"Methods of Carrying IP Traffic to Users"})}),e[4]=o):o=e[4];let r;e[5]===Symbol.for("react.memo_cache_sentinel")?(r=x.jsx(T,{to:"/connectivity-load",children:x.jsx("span",{children:"Connectivity Load"})}),e[5]=r):r=e[5];let a;e[6]===Symbol.for("react.memo_cache_sentinel")?(a=x.jsx(T,{to:"/connectivity-growth",children:x.jsx("span",{children:"Connectivity Growth"})}),e[6]=a):a=e[6];let l,c;e[7]===Symbol.for("react.memo_cache_sentinel")?(l=x.jsx(T,{to:"/remote-campuses",children:x.jsx("span",{children:"NREN Connectivity to Remote Campuses in Other Countries"})}),c=x.jsx("h6",{className:"section-title",children:"Connected Users - Commercial"}),e[7]=l,e[8]=c):(l=e[7],c=e[8]);let h;e[9]===Symbol.for("react.memo_cache_sentinel")?(h=x.jsx(T,{to:"/commercial-charging-level",children:x.jsx("span",{children:"Commercial Charging Level"})}),e[9]=h):h=e[9];let d;return e[10]===Symbol.for("react.memo_cache_sentinel")?(d=x.jsxs(on,{children:[t,n,i,s,o,r,a,l,c,h,x.jsx(T,{to:"/commercial-connectivity",children:x.jsx("span",{children:"Commercial Connectivity"})})]}),e[10]=d):d=e[10],d},dp=()=>{const e=St.c(9);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=x.jsx("h5",{children:"Services"}),e[0]=t):t=e[0];let n;e[1]===Symbol.for("react.memo_cache_sentinel")?(n=x.jsx(T,{to:"/network-services",children:x.jsx("span",{children:"Network services"})}),e[1]=n):n=e[1];let i;e[2]===Symbol.for("react.memo_cache_sentinel")?(i=x.jsx(T,{to:"/isp-support-services",children:x.jsx("span",{children:"ISP support services"})}),e[2]=i):i=e[2];let s;e[3]===Symbol.for("react.memo_cache_sentinel")?(s=x.jsx(T,{to:"/security-services",children:x.jsx("span",{children:"Security services"})}),e[3]=s):s=e[3];let o;e[4]===Symbol.for("react.memo_cache_sentinel")?(o=x.jsx(T,{to:"/identity-services",children:x.jsx("span",{children:"Identity services"})}),e[4]=o):o=e[4];let r;e[5]===Symbol.for("react.memo_cache_sentinel")?(r=x.jsx(T,{to:"/collaboration-services",children:x.jsx("span",{children:"Collaboration services"})}),e[5]=r):r=e[5];let a;e[6]===Symbol.for("react.memo_cache_sentinel")?(a=x.jsx(T,{to:"/multimedia-services",children:x.jsx("span",{children:"Multimedia services"})}),e[6]=a):a=e[6];let l;e[7]===Symbol.for("react.memo_cache_sentinel")?(l=x.jsx(T,{to:"/storage-and-hosting-services",children:x.jsx("span",{children:"Storage and hosting services"})}),e[7]=l):l=e[7];let c;return e[8]===Symbol.for("react.memo_cache_sentinel")?(c=x.jsxs(on,{children:[t,n,i,s,o,r,a,l,x.jsx(T,{to:"/professional-services",children:x.jsx("span",{children:"Professional services"})})]}),e[8]=c):c=e[8],c};function fp(e,t){return e.map(n=>t.map(i=>{const s=n[i];return s===null?"":typeof s=="string"?`"${s.replace(/"/g,'""')}"`:s}).join(","))}function up(e){if(!e.length)return"";const t=Object.keys(e[0]),n=fp(e,t);return[t.join(","),...n].join(`\r -`)}function pp(e,t="Sheet1"){const n=Qn.json_to_sheet(e),i=Qn.book_new();Qn.book_append_sheet(i,n,t);const s=il(i,{bookType:"xlsx",type:"binary"}),o=new ArrayBuffer(s.length),r=new Uint8Array(o);for(let a=0;a<s.length;a++)r[a]=s.charCodeAt(a)&255;return new Blob([o],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"})}const Qo=({data:e,filename:t,exportType:n})=>{const i=()=>{let o,r,a;switch(n){case ye.EXCEL:{o=pp(e),r="xlsx",a="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8";break}case ye.CSV:default:{o=up(e),r="csv",a="text/csv;charset=UTF-8";break}}const l=new Blob([o],{type:a});t=t.endsWith(r)?t:`${t}.${r}`;const c=document.createElement("a");c.href=URL.createObjectURL(l),c.download=t,document.body.appendChild(c),c.click(),document.body.removeChild(c)};let s="downloadbutton";return n===ye.CSV?s+=" downloadcsv":n===ye.EXCEL&&(s+=" downloadexcel"),x.jsxs("button",{className:s,onClick:i,children:[n," ",x.jsx(ur,{})]})};function gp(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),i=n.createElement("base"),s=n.createElement("a");return n.head.appendChild(i),n.body.appendChild(s),t&&(i.href=t),s.href=e,s.href}const mp=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function It(e){const t=[];for(let n=0,i=e.length;n<i;n++)t.push(e[n]);return t}function Vn(e,t){const i=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return i?parseFloat(i.replace("px","")):0}function bp(e){const t=Vn(e,"border-left-width"),n=Vn(e,"border-right-width");return e.clientWidth+t+n}function xp(e){const t=Vn(e,"border-top-width"),n=Vn(e,"border-bottom-width");return e.clientHeight+t+n}function Ea(e,t={}){const n=t.width||bp(e),i=t.height||xp(e);return{width:n,height:i}}function yp(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const gt=16384;function _p(e){(e.width>gt||e.height>gt)&&(e.width>gt&&e.height>gt?e.width>e.height?(e.height*=gt/e.width,e.width=gt):(e.width*=gt/e.height,e.height=gt):e.width>gt?(e.height*=gt/e.width,e.width=gt):(e.width*=gt/e.height,e.height=gt))}function Yn(e){return new Promise((t,n)=>{const i=new Image;i.decode=()=>t(i),i.onload=()=>t(i),i.onerror=n,i.crossOrigin="anonymous",i.decoding="async",i.src=e})}async function vp(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function wp(e,t,n){const i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return s.setAttribute("width",`${t}`),s.setAttribute("height",`${n}`),s.setAttribute("viewBox",`0 0 ${t} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),s.appendChild(o),o.appendChild(e),vp(s)}const pt=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||pt(n,t)};function Sp(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function kp(e){return It(e).map(t=>{const n=e.getPropertyValue(t),i=e.getPropertyPriority(t);return`${t}: ${n}${i?" !important":""};`}).join(" ")}function Mp(e,t,n){const i=`.${e}:${t}`,s=n.cssText?Sp(n):kp(n);return document.createTextNode(`${i}{${s}}`)}function tr(e,t,n){const i=window.getComputedStyle(e,n),s=i.getPropertyValue("content");if(s===""||s==="none")return;const o=mp();try{t.className=`${t.className} ${o}`}catch{return}const r=document.createElement("style");r.appendChild(Mp(o,n,i)),t.appendChild(r)}function Cp(e,t){tr(e,t,":before"),tr(e,t,":after")}const er="application/font-woff",nr="image/jpeg",Pp={woff:er,woff2:er,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:nr,jpeg:nr,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Op(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function as(e){const t=Op(e).toLowerCase();return Pp[t]||""}function Ep(e){return e.split(/,/)[1]}function Ti(e){return e.search(/^(data:)/)!==-1}function Dp(e,t){return`data:${t};base64,${e}`}async function Da(e,t,n){const i=await fetch(e,t);if(i.status===404)throw new Error(`Resource "${i.url}" not found`);const s=await i.blob();return new Promise((o,r)=>{const a=new FileReader;a.onerror=r,a.onloadend=()=>{try{o(n({res:i,result:a.result}))}catch(l){r(l)}},a.readAsDataURL(s)})}const yi={};function Rp(e,t,n){let i=e.replace(/\?.*/,"");return n&&(i=e),/ttf|otf|eot|woff2?/i.test(i)&&(i=i.replace(/.*\//,"")),t?`[${t}]${i}`:i}async function ls(e,t,n){const i=Rp(e,t,n.includeQueryParams);if(yi[i]!=null)return yi[i];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let s;try{const o=await Da(e,n.fetchRequestInit,({res:r,result:a})=>(t||(t=r.headers.get("Content-Type")||""),Ep(a)));s=Dp(o,t)}catch(o){s=n.imagePlaceholder||"";let r=`Failed to fetch resource: ${e}`;o&&(r=typeof o=="string"?o:o.message),r&&console.warn(r)}return yi[i]=s,s}async function Tp(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):Yn(t)}async function Ap(e,t){if(e.currentSrc){const o=document.createElement("canvas"),r=o.getContext("2d");o.width=e.clientWidth,o.height=e.clientHeight,r==null||r.drawImage(e,0,0,o.width,o.height);const a=o.toDataURL();return Yn(a)}const n=e.poster,i=as(n),s=await ls(n,i,t);return Yn(s)}async function jp(e){var t;try{if(!((t=e==null?void 0:e.contentDocument)===null||t===void 0)&&t.body)return await Gn(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function Lp(e,t){return pt(e,HTMLCanvasElement)?Tp(e):pt(e,HTMLVideoElement)?Ap(e,t):pt(e,HTMLIFrameElement)?jp(e):e.cloneNode(!1)}const Np=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function Ip(e,t,n){var i,s;let o=[];return Np(e)&&e.assignedNodes?o=It(e.assignedNodes()):pt(e,HTMLIFrameElement)&&(!((i=e.contentDocument)===null||i===void 0)&&i.body)?o=It(e.contentDocument.body.childNodes):o=It(((s=e.shadowRoot)!==null&&s!==void 0?s:e).childNodes),o.length===0||pt(e,HTMLVideoElement)||await o.reduce((r,a)=>r.then(()=>Gn(a,n)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()),t}function Fp(e,t){const n=t.style;if(!n)return;const i=window.getComputedStyle(e);i.cssText?(n.cssText=i.cssText,n.transformOrigin=i.transformOrigin):It(i).forEach(s=>{let o=i.getPropertyValue(s);s==="font-size"&&o.endsWith("px")&&(o=`${Math.floor(parseFloat(o.substring(0,o.length-2)))-.1}px`),pt(e,HTMLIFrameElement)&&s==="display"&&o==="inline"&&(o="block"),s==="d"&&t.getAttribute("d")&&(o=`path(${t.getAttribute("d")})`),n.setProperty(s,o,i.getPropertyPriority(s))})}function $p(e,t){pt(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),pt(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function zp(e,t){if(pt(e,HTMLSelectElement)){const n=t,i=Array.from(n.children).find(s=>e.value===s.getAttribute("value"));i&&i.setAttribute("selected","")}}function Bp(e,t){return pt(t,Element)&&(Fp(e,t),Cp(e,t),$p(e,t),zp(e,t)),t}async function Wp(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const i={};for(let o=0;o<n.length;o++){const a=n[o].getAttribute("xlink:href");if(a){const l=e.querySelector(a),c=document.querySelector(a);!l&&c&&!i[a]&&(i[a]=await Gn(c,t,!0))}}const s=Object.values(i);if(s.length){const o="http://www.w3.org/1999/xhtml",r=document.createElementNS(o,"svg");r.setAttribute("xmlns",o),r.style.position="absolute",r.style.width="0",r.style.height="0",r.style.overflow="hidden",r.style.display="none";const a=document.createElementNS(o,"defs");r.appendChild(a);for(let l=0;l<s.length;l++)a.appendChild(s[l]);e.appendChild(r)}return e}async function Gn(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(i=>Lp(i,t)).then(i=>Ip(e,i,t)).then(i=>Bp(e,i)).then(i=>Wp(i,t))}const Ra=/url\((['"]?)([^'"]+?)\1\)/g,Hp=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Vp=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Yp(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function Up(e){const t=[];return e.replace(Ra,(n,i,s)=>(t.push(s),n)),t.filter(n=>!Ti(n))}async function Xp(e,t,n,i,s){try{const o=n?gp(t,n):t,r=as(t);let a;return s||(a=await ls(o,r,i)),e.replace(Yp(t),`$1${a}$3`)}catch{}return e}function Kp(e,{preferredFontFormat:t}){return t?e.replace(Vp,n=>{for(;;){const[i,,s]=Hp.exec(n)||[];if(!s)return"";if(s===t)return`src: ${i};`}}):e}function Ta(e){return e.search(Ra)!==-1}async function Aa(e,t,n){if(!Ta(e))return e;const i=Kp(e,n);return Up(i).reduce((o,r)=>o.then(a=>Xp(a,r,t,n)),Promise.resolve(i))}async function Dn(e,t,n){var i;const s=(i=t.style)===null||i===void 0?void 0:i.getPropertyValue(e);if(s){const o=await Aa(s,null,n);return t.style.setProperty(e,o,t.style.getPropertyPriority(e)),!0}return!1}async function qp(e,t){await Dn("background",e,t)||await Dn("background-image",e,t),await Dn("mask",e,t)||await Dn("mask-image",e,t)}async function Gp(e,t){const n=pt(e,HTMLImageElement);if(!(n&&!Ti(e.src))&&!(pt(e,SVGImageElement)&&!Ti(e.href.baseVal)))return;const i=n?e.src:e.href.baseVal,s=await ls(i,as(i),t);await new Promise((o,r)=>{e.onload=o,e.onerror=r;const a=e;a.decode&&(a.decode=o),a.loading==="lazy"&&(a.loading="eager"),n?(e.srcset="",e.src=s):e.href.baseVal=s})}async function Jp(e,t){const i=It(e.childNodes).map(s=>ja(s,t));await Promise.all(i).then(()=>e)}async function ja(e,t){pt(e,Element)&&(await qp(e,t),await Gp(e,t),await Jp(e,t))}function Zp(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const i=t.style;return i!=null&&Object.keys(i).forEach(s=>{n[s]=i[s]}),e}const ir={};async function sr(e){let t=ir[e];if(t!=null)return t;const i=await(await fetch(e)).text();return t={url:e,cssText:i},ir[e]=t,t}async function or(e,t){let n=e.cssText;const i=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map(async r=>{let a=r.replace(i,"$1");return a.startsWith("https://")||(a=new URL(a,e.url).href),Da(a,t.fetchRequestInit,({result:l})=>(n=n.replace(r,`url(${l})`),[r,l]))});return Promise.all(o).then(()=>n)}function rr(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let i=e.replace(n,"");const s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=s.exec(i);if(l===null)break;t.push(l[0])}i=i.replace(s,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,r="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(r,"gi");for(;;){let l=o.exec(i);if(l===null){if(l=a.exec(i),l===null)break;o.lastIndex=a.lastIndex}else a.lastIndex=o.lastIndex;t.push(l[0])}return t}async function Qp(e,t){const n=[],i=[];return e.forEach(s=>{if("cssRules"in s)try{It(s.cssRules||[]).forEach((o,r)=>{if(o.type===CSSRule.IMPORT_RULE){let a=r+1;const l=o.href,c=sr(l).then(h=>or(h,t)).then(h=>rr(h).forEach(d=>{try{s.insertRule(d,d.startsWith("@import")?a+=1:s.cssRules.length)}catch(f){console.error("Error inserting rule from remote css",{rule:d,error:f})}})).catch(h=>{console.error("Error loading remote css",h.toString())});i.push(c)}})}catch(o){const r=e.find(a=>a.href==null)||document.styleSheets[0];s.href!=null&&i.push(sr(s.href).then(a=>or(a,t)).then(a=>rr(a).forEach(l=>{r.insertRule(l,s.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a)})),console.error("Error inlining remote css file",o)}}),Promise.all(i).then(()=>(e.forEach(s=>{if("cssRules"in s)try{It(s.cssRules||[]).forEach(o=>{n.push(o)})}catch(o){console.error(`Error while reading CSS rules from ${s.href}`,o)}}),n))}function tg(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>Ta(t.style.getPropertyValue("src")))}async function eg(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=It(e.ownerDocument.styleSheets),i=await Qp(n,t);return tg(i)}async function ng(e,t){const n=await eg(e,t);return(await Promise.all(n.map(s=>{const o=s.parentStyleSheet?s.parentStyleSheet.href:null;return Aa(s.cssText,o,t)}))).join(` -`)}async function ig(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await ng(e,t);if(n){const i=document.createElement("style"),s=document.createTextNode(n);i.appendChild(s),e.firstChild?e.insertBefore(i,e.firstChild):e.appendChild(i)}}async function La(e,t={}){const{width:n,height:i}=Ea(e,t),s=await Gn(e,t,!0);return await ig(s,t),await ja(s,t),Zp(s,t),await wp(s,n,i)}async function Na(e,t={}){const{width:n,height:i}=Ea(e,t),s=await La(e,t),o=await Yn(s),r=document.createElement("canvas"),a=r.getContext("2d"),l=t.pixelRatio||yp(),c=t.canvasWidth||n,h=t.canvasHeight||i;return r.width=c*l,r.height=h*l,t.skipAutoScale||_p(r),r.style.width=`${c}`,r.style.height=`${h}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,r.width,r.height)),a.drawImage(o,0,0,r.width,r.height),r}async function sg(e,t={}){return(await Na(e,t)).toDataURL()}async function og(e,t={}){return(await Na(e,t)).toDataURL("image/jpeg",t.quality||1)}const rg=e=>{const t=St.c(17),{filename:n}=e,i=D.useContext(dr),[s,o]=D.useState(!1),r=D.useRef(null);let a;t[0]!==i||t[1]!==n?(a=async v=>{if(i!=null&&i.current){o(!1);const w={transform:"scale(1)","transform-origin":"top left",background:"white"};let _;t:switch(v){case me.JPEG:{_=await og(i.current,{quality:.95,style:w});break t}case me.SVG:{_=await La(i.current,{style:w});break t}case me.PNG:default:_=await sg(i.current,{style:w})}const S=document.createElement("a");S.href=typeof _=="string"?_:URL.createObjectURL(_),S.download=`${n}.${v}`,document.body.appendChild(S),S.click(),document.body.removeChild(S)}},t[0]=i,t[1]=n,t[2]=a):a=t[2];const l=a;let c;t[3]!==s?(c=()=>{o(!s)},t[3]=s,t[4]=c):c=t[4];const h=c;let d;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=v=>{r.current&&!r.current.contains(v.target)&&o(!1)},t[5]=d):d=t[5];const f=d;let u,g;t[6]===Symbol.for("react.memo_cache_sentinel")?(u=()=>(document.addEventListener("mousedown",f),()=>{document.removeEventListener("mousedown",f)}),g=[],t[6]=u,t[7]=g):(u=t[6],g=t[7]),D.useEffect(u,g);let m;t[8]===Symbol.for("react.memo_cache_sentinel")?(m=x.jsx(ur,{}),t[8]=m):m=t[8];let p;t[9]!==h?(p=x.jsxs("button",{className:"downloadbutton downloadimage",onClick:h,children:["IMAGE ",m]}),t[9]=h,t[10]=p):p=t[10];let b;t[11]!==l||t[12]!==s?(b=s&&x.jsxs("div",{className:"image-options",children:[x.jsx("div",{className:"imageoption downloadpng",onClick:()=>l(me.PNG),children:x.jsx("span",{children:"PNG"})}),x.jsx("div",{className:"imageoption downloadjpeg",onClick:()=>l(me.JPEG),children:x.jsx("span",{children:"JPEG"})}),x.jsx("div",{className:"imageoption downloadsvg",onClick:()=>l(me.SVG),children:x.jsx("span",{children:"SVG"})})]}),t[11]=l,t[12]=s,t[13]=b):b=t[13];let y;return t[14]!==p||t[15]!==b?(y=x.jsxs("div",{className:"image-dropdown",ref:r,children:[p,b]}),t[14]=p,t[15]=b,t[16]=y):y=t[16],y},ag=e=>{const t=St.c(12),{data:n,filename:i}=e,s=`${i}.csv`;let o;t[0]!==n||t[1]!==s?(o=x.jsx(Qo,{data:n,filename:s,exportType:ye.CSV}),t[0]=n,t[1]=s,t[2]=o):o=t[2];const r=`${i}.xlsx`;let a;t[3]!==n||t[4]!==r?(a=x.jsx(Qo,{data:n,filename:r,exportType:ye.EXCEL}),t[3]=n,t[4]=r,t[5]=a):a=t[5];let l;t[6]!==i?(l=x.jsx(rg,{filename:i}),t[6]=i,t[7]=l):l=t[7];let c;return t[8]!==o||t[9]!==a||t[10]!==l?(c=x.jsxs("div",{className:"downloadcontainer",children:[o,a,l]}),t[8]=o,t[9]=a,t[10]=l,t[11]=c):c=t[11],c};Pt.defaults.font.size=16;Pt.defaults.font.family="Open Sans";Pt.defaults.font.weight=700;function Ig(e){const t=St.c(47),{title:n,description:i,filter:s,children:o,category:r,data:a,filename:l}=e,{preview:c,setPreview:h}=D.useContext(Qa),d=window.location.origin+window.location.pathname,{trackPageView:f}=tl();let u,g;t[0]!==n||t[1]!==f?(u=()=>{f({documentTitle:n})},g=[f,n],t[0]=n,t[1]=f,t[2]=u,t[3]=g):(u=t[2],g=t[3]),D.useEffect(u,g);let m;t[4]!==r?(m=r===J.Organisation&&x.jsx(rp,{}),t[4]=r,t[5]=m):m=t[5];let p;t[6]!==r?(p=r===J.Policy&&x.jsx(lp,{}),t[6]=r,t[7]=p):p=t[7];let b;t[8]!==r?(b=r===J.Network&&x.jsx(cp,{}),t[8]=r,t[9]=b):b=t[9];let y;t[10]!==r?(y=r===J.ConnectedUsers&&x.jsx(hp,{}),t[10]=r,t[11]=y):y=t[11];let v;t[12]!==r?(v=r===J.Services&&x.jsx(dp,{}),t[12]=r,t[13]=v):v=t[13];let w;t[14]===Symbol.for("react.memo_cache_sentinel")?(w=x.jsx(sl,{type:"data"}),t[14]=w):w=t[14];let _;t[15]!==c||t[16]!==h?(_=c&&x.jsx(oe,{className:"preview-banner",children:x.jsxs("span",{children:["You are viewing a preview of the website which includes pre-published survey data. ",x.jsx(el,{to:d,onClick:()=>h(!1),children:"Click here"})," to deactivate preview mode."]})}),t[15]=c,t[16]=h,t[17]=_):_=t[17];let S;t[18]!==r?(S=x.jsx(ap,{activeCategory:r}),t[18]=r,t[19]=S):S=t[19];let M;t[20]!==n?(M=x.jsx(oe,{children:x.jsx("h3",{className:"m-1",children:n})}),t[20]=n,t[21]=M):M=t[21];let k;t[22]!==i?(k=x.jsx(oe,{children:x.jsx("p",{className:"p-md-4",children:i})}),t[22]=i,t[23]=k):k=t[23];let P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P={position:"relative"},t[24]=P):P=t[24];let E;t[25]!==a||t[26]!==l?(E=x.jsx(oe,{align:"right",style:P,children:x.jsx(ag,{data:a,filename:l})}),t[25]=a,t[26]=l,t[27]=E):E=t[27];let C;t[28]!==s?(C=x.jsx(oe,{children:s}),t[28]=s,t[29]=C):C=t[29];let O;t[30]!==o?(O=x.jsx(oe,{children:o}),t[30]=o,t[31]=O):O=t[31];let R;t[32]!==M||t[33]!==k||t[34]!==E||t[35]!==C||t[36]!==O?(R=x.jsxs(hr,{className:"mb-5 grow",children:[M,k,E,C,O]}),t[32]=M,t[33]=k,t[34]=E,t[35]=C,t[36]=O,t[37]=R):R=t[37];let N;return t[38]!==S||t[39]!==R||t[40]!==m||t[41]!==p||t[42]!==b||t[43]!==y||t[44]!==v||t[45]!==_?(N=x.jsxs(x.Fragment,{children:[m,p,b,y,v,w,_,S,R]}),t[38]=S,t[39]=R,t[40]=m,t[41]=p,t[42]=b,t[43]=y,t[44]=v,t[45]=_,t[46]=N):N=t[46],N}function Fg(e){const t=St.c(81),{filterOptions:n,filterSelection:i,setFilterSelection:s,max1year:o,coloredYears:r}=e,a=o===void 0?!1:o,l=r===void 0?!1:r,[c,h]=D.useState(!0),{nrens:d}=D.useContext(nl);let f,u;if(t[0]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{const H=()=>h(window.innerWidth>=992);return window.addEventListener("resize",H),()=>{window.removeEventListener("resize",H)}},u=[],t[0]=f,t[1]=u):(f=t[0],u=t[1]),D.useEffect(f,u),a&&i.selectedYears.length>1){const H=Math.max(...i.selectedYears);s({selectedYears:[H],selectedNrens:[...i.selectedNrens]})}let g;t[2]!==i.selectedNrens||t[3]!==i.selectedYears||t[4]!==s?(g=H=>{i.selectedNrens.includes(H)?s({selectedYears:[...i.selectedYears],selectedNrens:i.selectedNrens.filter(nt=>nt!==H)}):s({selectedYears:[...i.selectedYears],selectedNrens:[...i.selectedNrens,H]})},t[2]=i.selectedNrens,t[3]=i.selectedYears,t[4]=s,t[5]=g):g=t[5];const m=g;let p;t[6]!==i.selectedNrens||t[7]!==i.selectedYears||t[8]!==a||t[9]!==s?(p=H=>{i.selectedYears.includes(H)?s({selectedYears:i.selectedYears.filter(nt=>nt!==H),selectedNrens:[...i.selectedNrens]}):s({selectedYears:a?[H]:[...i.selectedYears,H],selectedNrens:[...i.selectedNrens]})},t[6]=i.selectedNrens,t[7]=i.selectedYears,t[8]=a,t[9]=s,t[10]=p):p=t[10];const b=p;let y;t[11]!==n.availableNrens||t[12]!==i.selectedYears||t[13]!==s?(y=()=>{s({selectedYears:[...i.selectedYears],selectedNrens:n.availableNrens.map(hg)})},t[11]=n.availableNrens,t[12]=i.selectedYears,t[13]=s,t[14]=y):y=t[14];const v=y;let w;t[15]!==i.selectedYears||t[16]!==s?(w=()=>{s({selectedYears:[...i.selectedYears],selectedNrens:[]})},t[15]=i.selectedYears,t[16]=s,t[17]=w):w=t[17];const _=w,S=c?3:2,M=Math.ceil(d.length/S);let k,P,E,C,O,R,N,A,L,I;if(t[18]!==n.availableNrens||t[19]!==i.selectedNrens||t[20]!==m||t[21]!==S||t[22]!==M||t[23]!==d){const H=Array.from(Array(S),cg);d.sort(lg).forEach((Zt,Qt)=>{const ct=Math.floor(Qt/M);H[ct].push(Zt)});let nt;t[34]!==n.availableNrens?(nt=Zt=>n.availableNrens.find(ct=>ct.name===Zt.name)!==void 0,t[34]=n.availableNrens,t[35]=nt):nt=t[35];const Te=nt;E=ys,L=3,P=ni,R="outside",N="m-3",t[36]===Symbol.for("react.memo_cache_sentinel")?(A=x.jsx(ni.Toggle,{id:"nren-dropdown-toggle",variant:"compendium",children:"Select NRENs "}),t[36]=A):A=t[36],k=ni.Menu,t[37]===Symbol.for("react.memo_cache_sentinel")?(O={borderRadius:0},t[37]=O):O=t[37],I="d-flex fit-max-content mt-4 mx-3";let zt;t[38]!==i.selectedNrens||t[39]!==m||t[40]!==Te?(zt=(Zt,Qt)=>x.jsx("div",{className:"flex-fill",children:Zt.map(ct=>x.jsx("div",{className:"filter-dropdown-item flex-fill py-1 px-3",children:x.jsxs(Zn.Check,{type:"checkbox",children:[x.jsx(Zn.Check.Input,{id:ct.name,readOnly:!0,type:"checkbox",onClick:()=>m(ct.name),checked:i.selectedNrens.includes(ct.name),className:"nren-checkbox",disabled:!Te(ct)}),x.jsxs(Zn.Check.Label,{htmlFor:ct.name,className:"nren-checkbox-label",children:[ct.name," ",x.jsxs("span",{style:{fontWeight:"lighter"},children:["(",ct.country,")"]})]})]})},ct.name))},Qt),t[38]=i.selectedNrens,t[39]=m,t[40]=Te,t[41]=zt):zt=t[41],C=H.map(zt),t[18]=n.availableNrens,t[19]=i.selectedNrens,t[20]=m,t[21]=S,t[22]=M,t[23]=d,t[24]=k,t[25]=P,t[26]=E,t[27]=C,t[28]=O,t[29]=R,t[30]=N,t[31]=A,t[32]=L,t[33]=I}else k=t[24],P=t[25],E=t[26],C=t[27],O=t[28],R=t[29],N=t[30],A=t[31],L=t[32],I=t[33];let W;t[42]!==C||t[43]!==I?(W=x.jsx("div",{className:I,children:C}),t[42]=C,t[43]=I,t[44]=W):W=t[44];let $;t[45]!==v?($=x.jsx(Nt,{variant:"compendium",className:"flex-fill",onClick:v,children:"Select all NRENs"}),t[45]=v,t[46]=$):$=t[46];let B;t[47]!==_?(B=x.jsx(Nt,{variant:"compendium",className:"flex-fill",onClick:_,children:"Unselect all NRENs"}),t[47]=_,t[48]=B):B=t[48];let et;t[49]!==$||t[50]!==B?(et=x.jsxs("div",{className:"d-flex fit-max-content gap-2 mx-4 my-3",children:[$,B]}),t[49]=$,t[50]=B,t[51]=et):et=t[51];let tt;t[52]!==k||t[53]!==O||t[54]!==W||t[55]!==et?(tt=x.jsxs(k,{style:O,children:[W,et]}),t[52]=k,t[53]=O,t[54]=W,t[55]=et,t[56]=tt):tt=t[56];let it;t[57]!==P||t[58]!==R||t[59]!==N||t[60]!==A||t[61]!==tt?(it=x.jsxs(P,{autoClose:R,className:N,children:[A,tt]}),t[57]=P,t[58]=R,t[59]=N,t[60]=A,t[61]=tt,t[62]=it):it=t[62];let X;t[63]!==E||t[64]!==L||t[65]!==it?(X=x.jsx(E,{xs:L,children:it}),t[63]=E,t[64]=L,t[65]=it,t[66]=X):X=t[66];let K;if(t[67]!==l||t[68]!==n.availableYears||t[69]!==i.selectedYears||t[70]!==b){let H;t[72]!==l||t[73]!==i.selectedYears||t[74]!==b?(H=nt=>x.jsx(Nt,{variant:l?"compendium-year-"+nt%9:"compendium-year",active:i.selectedYears.includes(nt),onClick:()=>b(nt),children:nt},nt),t[72]=l,t[73]=i.selectedYears,t[74]=b,t[75]=H):H=t[75],K=n.availableYears.sort().map(H),t[67]=l,t[68]=n.availableYears,t[69]=i.selectedYears,t[70]=b,t[71]=K}else K=t[71];let G;t[76]!==K?(G=x.jsx(ys,{children:x.jsx(Ai,{className:"d-flex justify-content-end gap-2 m-3",children:K})}),t[76]=K,t[77]=G):G=t[77];let Rt;return t[78]!==X||t[79]!==G?(Rt=x.jsxs(x.Fragment,{children:[X,G]}),t[78]=X,t[79]=G,t[80]=Rt):Rt=t[80],Rt}function lg(e,t){return e.name.localeCompare(t.name)}function cg(){return[]}function hg(e){return e.name}const $g=e=>{const t=St.c(3),{children:n}=e,i=D.useContext(dr);let s;return t[0]!==n||t[1]!==i?(s=x.jsx("div",{ref:i,children:n}),t[0]=n,t[1]=i,t[2]=s):s=t[2],s};function ar(e){const t=new Set,n=new Map;return e.forEach(i=>{t.add(i.year),n.set(i.nren,{name:i.nren,country:i.nren_country})}),{years:t,nrens:n}}function zg(e,t,n){const i=St.c(14),s=n===void 0?fg:n;let o;i[0]===Symbol.for("react.memo_cache_sentinel")?(o=[],i[0]=o):o=i[0];const[r,a]=D.useState(o),l=ol(),c=e+(l?"?preview":"");let h;i[1]!==c||i[2]!==t||i[3]!==s?(h=()=>{fetch(c).then(dg).then(b=>{const y=b.filter(s);a(y);const{years:v,nrens:w}=ar(y);t(_=>{const M=_.selectedYears.filter(E=>v.has(E)).length?_.selectedYears:[Math.max(...v)],P=_.selectedNrens.filter(E=>w.has(E)).length?_.selectedNrens:[...w.keys()];return{selectedYears:M,selectedNrens:P}})})},i[1]=c,i[2]=t,i[3]=s,i[4]=h):h=i[4];let d;i[5]!==c||i[6]!==t?(d=[c,t],i[5]=c,i[6]=t,i[7]=d):d=i[7],D.useEffect(h,d);let f,u;i[8]!==r?(u=ar(r),i[8]=r,i[9]=u):u=i[9],f=u;const{years:g,nrens:m}=f;let p;return i[10]!==r||i[11]!==m||i[12]!==g?(p={data:r,years:g,nrens:m},i[10]=r,i[11]=m,i[12]=g,i[13]=p):p=i[13],p}function dg(e){return e.json()}function fg(){return!0}export{q as A,xi as B,Pt as C,Ig as D,wt as E,Fg as F,F as G,U as H,Y as I,Cn as J,V as K,Yo as L,z as M,jg as N,gi as P,Ho as a,Pn as b,wg as c,_g as d,Tg as e,$g as f,Eg as g,Pg as h,Og as i,Rg as j,Re as k,Ag as l,Lg as m,Sg as n,Ng as o,vg as p,kg as q,Dg as r,Cg as s,di as t,zg as u,hi as v,Mg as w,Ze as x,lt as y,xn as z}; +`)}function pp(e,t="Sheet1"){const n=Qn.json_to_sheet(e),i=Qn.book_new();Qn.book_append_sheet(i,n,t);const s=ol(i,{bookType:"xlsx",type:"binary"}),o=new ArrayBuffer(s.length),r=new Uint8Array(o);for(let a=0;a<s.length;a++)r[a]=s.charCodeAt(a)&255;return new Blob([o],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"})}const Qo=({data:e,filename:t,exportType:n})=>{const i=()=>{let o,r,a;switch(n){case ye.EXCEL:{o=pp(e),r="xlsx",a="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8";break}case ye.CSV:default:{o=up(e),r="csv",a="text/csv;charset=UTF-8";break}}const l=new Blob([o],{type:a});t=t.endsWith(r)?t:`${t}.${r}`;const c=document.createElement("a");c.href=URL.createObjectURL(l),c.download=t,document.body.appendChild(c),c.click(),document.body.removeChild(c)};let s="downloadbutton";return n===ye.CSV?s+=" downloadcsv":n===ye.EXCEL&&(s+=" downloadexcel"),x.jsxs("button",{className:s,onClick:i,children:[n," ",x.jsx(ur,{})]})};function gp(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),i=n.createElement("base"),s=n.createElement("a");return n.head.appendChild(i),n.body.appendChild(s),t&&(i.href=t),s.href=e,s.href}const mp=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function It(e){const t=[];for(let n=0,i=e.length;n<i;n++)t.push(e[n]);return t}function Vn(e,t){const i=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return i?parseFloat(i.replace("px","")):0}function bp(e){const t=Vn(e,"border-left-width"),n=Vn(e,"border-right-width");return e.clientWidth+t+n}function xp(e){const t=Vn(e,"border-top-width"),n=Vn(e,"border-bottom-width");return e.clientHeight+t+n}function Ea(e,t={}){const n=t.width||bp(e),i=t.height||xp(e);return{width:n,height:i}}function yp(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const gt=16384;function _p(e){(e.width>gt||e.height>gt)&&(e.width>gt&&e.height>gt?e.width>e.height?(e.height*=gt/e.width,e.width=gt):(e.width*=gt/e.height,e.height=gt):e.width>gt?(e.height*=gt/e.width,e.width=gt):(e.width*=gt/e.height,e.height=gt))}function Yn(e){return new Promise((t,n)=>{const i=new Image;i.decode=()=>t(i),i.onload=()=>t(i),i.onerror=n,i.crossOrigin="anonymous",i.decoding="async",i.src=e})}async function vp(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function wp(e,t,n){const i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return s.setAttribute("width",`${t}`),s.setAttribute("height",`${n}`),s.setAttribute("viewBox",`0 0 ${t} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),s.appendChild(o),o.appendChild(e),vp(s)}const pt=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||pt(n,t)};function Sp(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function kp(e){return It(e).map(t=>{const n=e.getPropertyValue(t),i=e.getPropertyPriority(t);return`${t}: ${n}${i?" !important":""};`}).join(" ")}function Mp(e,t,n){const i=`.${e}:${t}`,s=n.cssText?Sp(n):kp(n);return document.createTextNode(`${i}{${s}}`)}function tr(e,t,n){const i=window.getComputedStyle(e,n),s=i.getPropertyValue("content");if(s===""||s==="none")return;const o=mp();try{t.className=`${t.className} ${o}`}catch{return}const r=document.createElement("style");r.appendChild(Mp(o,n,i)),t.appendChild(r)}function Cp(e,t){tr(e,t,":before"),tr(e,t,":after")}const er="application/font-woff",nr="image/jpeg",Pp={woff:er,woff2:er,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:nr,jpeg:nr,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Op(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function as(e){const t=Op(e).toLowerCase();return Pp[t]||""}function Ep(e){return e.split(/,/)[1]}function Ti(e){return e.search(/^(data:)/)!==-1}function Dp(e,t){return`data:${t};base64,${e}`}async function Da(e,t,n){const i=await fetch(e,t);if(i.status===404)throw new Error(`Resource "${i.url}" not found`);const s=await i.blob();return new Promise((o,r)=>{const a=new FileReader;a.onerror=r,a.onloadend=()=>{try{o(n({res:i,result:a.result}))}catch(l){r(l)}},a.readAsDataURL(s)})}const yi={};function Rp(e,t,n){let i=e.replace(/\?.*/,"");return n&&(i=e),/ttf|otf|eot|woff2?/i.test(i)&&(i=i.replace(/.*\//,"")),t?`[${t}]${i}`:i}async function ls(e,t,n){const i=Rp(e,t,n.includeQueryParams);if(yi[i]!=null)return yi[i];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let s;try{const o=await Da(e,n.fetchRequestInit,({res:r,result:a})=>(t||(t=r.headers.get("Content-Type")||""),Ep(a)));s=Dp(o,t)}catch(o){s=n.imagePlaceholder||"";let r=`Failed to fetch resource: ${e}`;o&&(r=typeof o=="string"?o:o.message),r&&console.warn(r)}return yi[i]=s,s}async function Tp(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):Yn(t)}async function Ap(e,t){if(e.currentSrc){const o=document.createElement("canvas"),r=o.getContext("2d");o.width=e.clientWidth,o.height=e.clientHeight,r==null||r.drawImage(e,0,0,o.width,o.height);const a=o.toDataURL();return Yn(a)}const n=e.poster,i=as(n),s=await ls(n,i,t);return Yn(s)}async function jp(e){var t;try{if(!((t=e==null?void 0:e.contentDocument)===null||t===void 0)&&t.body)return await Gn(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function Lp(e,t){return pt(e,HTMLCanvasElement)?Tp(e):pt(e,HTMLVideoElement)?Ap(e,t):pt(e,HTMLIFrameElement)?jp(e):e.cloneNode(!1)}const Np=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function Ip(e,t,n){var i,s;let o=[];return Np(e)&&e.assignedNodes?o=It(e.assignedNodes()):pt(e,HTMLIFrameElement)&&(!((i=e.contentDocument)===null||i===void 0)&&i.body)?o=It(e.contentDocument.body.childNodes):o=It(((s=e.shadowRoot)!==null&&s!==void 0?s:e).childNodes),o.length===0||pt(e,HTMLVideoElement)||await o.reduce((r,a)=>r.then(()=>Gn(a,n)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()),t}function Fp(e,t){const n=t.style;if(!n)return;const i=window.getComputedStyle(e);i.cssText?(n.cssText=i.cssText,n.transformOrigin=i.transformOrigin):It(i).forEach(s=>{let o=i.getPropertyValue(s);s==="font-size"&&o.endsWith("px")&&(o=`${Math.floor(parseFloat(o.substring(0,o.length-2)))-.1}px`),pt(e,HTMLIFrameElement)&&s==="display"&&o==="inline"&&(o="block"),s==="d"&&t.getAttribute("d")&&(o=`path(${t.getAttribute("d")})`),n.setProperty(s,o,i.getPropertyPriority(s))})}function $p(e,t){pt(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),pt(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function zp(e,t){if(pt(e,HTMLSelectElement)){const n=t,i=Array.from(n.children).find(s=>e.value===s.getAttribute("value"));i&&i.setAttribute("selected","")}}function Bp(e,t){return pt(t,Element)&&(Fp(e,t),Cp(e,t),$p(e,t),zp(e,t)),t}async function Wp(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const i={};for(let o=0;o<n.length;o++){const a=n[o].getAttribute("xlink:href");if(a){const l=e.querySelector(a),c=document.querySelector(a);!l&&c&&!i[a]&&(i[a]=await Gn(c,t,!0))}}const s=Object.values(i);if(s.length){const o="http://www.w3.org/1999/xhtml",r=document.createElementNS(o,"svg");r.setAttribute("xmlns",o),r.style.position="absolute",r.style.width="0",r.style.height="0",r.style.overflow="hidden",r.style.display="none";const a=document.createElementNS(o,"defs");r.appendChild(a);for(let l=0;l<s.length;l++)a.appendChild(s[l]);e.appendChild(r)}return e}async function Gn(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(i=>Lp(i,t)).then(i=>Ip(e,i,t)).then(i=>Bp(e,i)).then(i=>Wp(i,t))}const Ra=/url\((['"]?)([^'"]+?)\1\)/g,Hp=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Vp=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Yp(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function Up(e){const t=[];return e.replace(Ra,(n,i,s)=>(t.push(s),n)),t.filter(n=>!Ti(n))}async function Xp(e,t,n,i,s){try{const o=n?gp(t,n):t,r=as(t);let a;return s||(a=await ls(o,r,i)),e.replace(Yp(t),`$1${a}$3`)}catch{}return e}function Kp(e,{preferredFontFormat:t}){return t?e.replace(Vp,n=>{for(;;){const[i,,s]=Hp.exec(n)||[];if(!s)return"";if(s===t)return`src: ${i};`}}):e}function Ta(e){return e.search(Ra)!==-1}async function Aa(e,t,n){if(!Ta(e))return e;const i=Kp(e,n);return Up(i).reduce((o,r)=>o.then(a=>Xp(a,r,t,n)),Promise.resolve(i))}async function Dn(e,t,n){var i;const s=(i=t.style)===null||i===void 0?void 0:i.getPropertyValue(e);if(s){const o=await Aa(s,null,n);return t.style.setProperty(e,o,t.style.getPropertyPriority(e)),!0}return!1}async function qp(e,t){await Dn("background",e,t)||await Dn("background-image",e,t),await Dn("mask",e,t)||await Dn("mask-image",e,t)}async function Gp(e,t){const n=pt(e,HTMLImageElement);if(!(n&&!Ti(e.src))&&!(pt(e,SVGImageElement)&&!Ti(e.href.baseVal)))return;const i=n?e.src:e.href.baseVal,s=await ls(i,as(i),t);await new Promise((o,r)=>{e.onload=o,e.onerror=r;const a=e;a.decode&&(a.decode=o),a.loading==="lazy"&&(a.loading="eager"),n?(e.srcset="",e.src=s):e.href.baseVal=s})}async function Jp(e,t){const i=It(e.childNodes).map(s=>ja(s,t));await Promise.all(i).then(()=>e)}async function ja(e,t){pt(e,Element)&&(await qp(e,t),await Gp(e,t),await Jp(e,t))}function Zp(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const i=t.style;return i!=null&&Object.keys(i).forEach(s=>{n[s]=i[s]}),e}const ir={};async function sr(e){let t=ir[e];if(t!=null)return t;const i=await(await fetch(e)).text();return t={url:e,cssText:i},ir[e]=t,t}async function or(e,t){let n=e.cssText;const i=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map(async r=>{let a=r.replace(i,"$1");return a.startsWith("https://")||(a=new URL(a,e.url).href),Da(a,t.fetchRequestInit,({result:l})=>(n=n.replace(r,`url(${l})`),[r,l]))});return Promise.all(o).then(()=>n)}function rr(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let i=e.replace(n,"");const s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=s.exec(i);if(l===null)break;t.push(l[0])}i=i.replace(s,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,r="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(r,"gi");for(;;){let l=o.exec(i);if(l===null){if(l=a.exec(i),l===null)break;o.lastIndex=a.lastIndex}else a.lastIndex=o.lastIndex;t.push(l[0])}return t}async function Qp(e,t){const n=[],i=[];return e.forEach(s=>{if("cssRules"in s)try{It(s.cssRules||[]).forEach((o,r)=>{if(o.type===CSSRule.IMPORT_RULE){let a=r+1;const l=o.href,c=sr(l).then(h=>or(h,t)).then(h=>rr(h).forEach(d=>{try{s.insertRule(d,d.startsWith("@import")?a+=1:s.cssRules.length)}catch(f){console.error("Error inserting rule from remote css",{rule:d,error:f})}})).catch(h=>{console.error("Error loading remote css",h.toString())});i.push(c)}})}catch(o){const r=e.find(a=>a.href==null)||document.styleSheets[0];s.href!=null&&i.push(sr(s.href).then(a=>or(a,t)).then(a=>rr(a).forEach(l=>{r.insertRule(l,s.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a)})),console.error("Error inlining remote css file",o)}}),Promise.all(i).then(()=>(e.forEach(s=>{if("cssRules"in s)try{It(s.cssRules||[]).forEach(o=>{n.push(o)})}catch(o){console.error(`Error while reading CSS rules from ${s.href}`,o)}}),n))}function tg(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>Ta(t.style.getPropertyValue("src")))}async function eg(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=It(e.ownerDocument.styleSheets),i=await Qp(n,t);return tg(i)}async function ng(e,t){const n=await eg(e,t);return(await Promise.all(n.map(s=>{const o=s.parentStyleSheet?s.parentStyleSheet.href:null;return Aa(s.cssText,o,t)}))).join(` +`)}async function ig(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await ng(e,t);if(n){const i=document.createElement("style"),s=document.createTextNode(n);i.appendChild(s),e.firstChild?e.insertBefore(i,e.firstChild):e.appendChild(i)}}async function La(e,t={}){const{width:n,height:i}=Ea(e,t),s=await Gn(e,t,!0);return await ig(s,t),await ja(s,t),Zp(s,t),await wp(s,n,i)}async function Na(e,t={}){const{width:n,height:i}=Ea(e,t),s=await La(e,t),o=await Yn(s),r=document.createElement("canvas"),a=r.getContext("2d"),l=t.pixelRatio||yp(),c=t.canvasWidth||n,h=t.canvasHeight||i;return r.width=c*l,r.height=h*l,t.skipAutoScale||_p(r),r.style.width=`${c}`,r.style.height=`${h}`,t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,r.width,r.height)),a.drawImage(o,0,0,r.width,r.height),r}async function sg(e,t={}){return(await Na(e,t)).toDataURL()}async function og(e,t={}){return(await Na(e,t)).toDataURL("image/jpeg",t.quality||1)}const rg=e=>{const t=St.c(17),{filename:n}=e,i=D.useContext(dr),[s,o]=D.useState(!1),r=D.useRef(null);let a;t[0]!==i||t[1]!==n?(a=async v=>{if(i!=null&&i.current){o(!1);const w={transform:"scale(1)","transform-origin":"top left",background:"white"};let _;t:switch(v){case me.JPEG:{_=await og(i.current,{quality:.95,style:w});break t}case me.SVG:{_=await La(i.current,{style:w});break t}case me.PNG:default:_=await sg(i.current,{style:w})}const S=document.createElement("a");S.href=typeof _=="string"?_:URL.createObjectURL(_),S.download=`${n}.${v}`,document.body.appendChild(S),S.click(),document.body.removeChild(S)}},t[0]=i,t[1]=n,t[2]=a):a=t[2];const l=a;let c;t[3]!==s?(c=()=>{o(!s)},t[3]=s,t[4]=c):c=t[4];const h=c;let d;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=v=>{r.current&&!r.current.contains(v.target)&&o(!1)},t[5]=d):d=t[5];const f=d;let u,g;t[6]===Symbol.for("react.memo_cache_sentinel")?(u=()=>(document.addEventListener("mousedown",f),()=>{document.removeEventListener("mousedown",f)}),g=[],t[6]=u,t[7]=g):(u=t[6],g=t[7]),D.useEffect(u,g);let m;t[8]===Symbol.for("react.memo_cache_sentinel")?(m=x.jsx(ur,{}),t[8]=m):m=t[8];let p;t[9]!==h?(p=x.jsxs("button",{className:"downloadbutton downloadimage",onClick:h,children:["IMAGE ",m]}),t[9]=h,t[10]=p):p=t[10];let b;t[11]!==l||t[12]!==s?(b=s&&x.jsxs("div",{className:"image-options",children:[x.jsx("div",{className:"imageoption downloadpng",onClick:()=>l(me.PNG),children:x.jsx("span",{children:"PNG"})}),x.jsx("div",{className:"imageoption downloadjpeg",onClick:()=>l(me.JPEG),children:x.jsx("span",{children:"JPEG"})}),x.jsx("div",{className:"imageoption downloadsvg",onClick:()=>l(me.SVG),children:x.jsx("span",{children:"SVG"})})]}),t[11]=l,t[12]=s,t[13]=b):b=t[13];let y;return t[14]!==p||t[15]!==b?(y=x.jsxs("div",{className:"image-dropdown",ref:r,children:[p,b]}),t[14]=p,t[15]=b,t[16]=y):y=t[16],y},ag=e=>{const t=St.c(12),{data:n,filename:i}=e,s=`${i}.csv`;let o;t[0]!==n||t[1]!==s?(o=x.jsx(Qo,{data:n,filename:s,exportType:ye.CSV}),t[0]=n,t[1]=s,t[2]=o):o=t[2];const r=`${i}.xlsx`;let a;t[3]!==n||t[4]!==r?(a=x.jsx(Qo,{data:n,filename:r,exportType:ye.EXCEL}),t[3]=n,t[4]=r,t[5]=a):a=t[5];let l;t[6]!==i?(l=x.jsx(rg,{filename:i}),t[6]=i,t[7]=l):l=t[7];let c;return t[8]!==o||t[9]!==a||t[10]!==l?(c=x.jsxs("div",{className:"downloadcontainer",children:[o,a,l]}),t[8]=o,t[9]=a,t[10]=l,t[11]=c):c=t[11],c};Pt.defaults.font.size=16;Pt.defaults.font.family="Open Sans";Pt.defaults.font.weight=700;function Ig(e){const t=St.c(47),{title:n,description:i,filter:s,children:o,category:r,data:a,filename:l}=e,{preview:c,setPreview:h}=D.useContext(Qa),d=window.location.origin+window.location.pathname,{trackPageView:f}=tl();let u,g;t[0]!==n||t[1]!==f?(u=()=>{f({documentTitle:n})},g=[f,n],t[0]=n,t[1]=f,t[2]=u,t[3]=g):(u=t[2],g=t[3]),D.useEffect(u,g);let m;t[4]!==r?(m=r===J.Organisation&&x.jsx(rp,{}),t[4]=r,t[5]=m):m=t[5];let p;t[6]!==r?(p=r===J.Policy&&x.jsx(lp,{}),t[6]=r,t[7]=p):p=t[7];let b;t[8]!==r?(b=r===J.Network&&x.jsx(cp,{}),t[8]=r,t[9]=b):b=t[9];let y;t[10]!==r?(y=r===J.ConnectedUsers&&x.jsx(hp,{}),t[10]=r,t[11]=y):y=t[11];let v;t[12]!==r?(v=r===J.Services&&x.jsx(dp,{}),t[12]=r,t[13]=v):v=t[13];let w;t[14]===Symbol.for("react.memo_cache_sentinel")?(w=x.jsx(el,{type:"data"}),t[14]=w):w=t[14];let _;t[15]!==c||t[16]!==h?(_=c&&x.jsx(oe,{className:"preview-banner",children:x.jsxs("span",{children:["You are viewing a preview of the website which includes pre-published survey data. ",x.jsx(nl,{to:d,onClick:()=>h(!1),children:"Click here"})," to deactivate preview mode."]})}),t[15]=c,t[16]=h,t[17]=_):_=t[17];let S;t[18]!==r?(S=x.jsx(ap,{activeCategory:r}),t[18]=r,t[19]=S):S=t[19];let M;t[20]!==n?(M=x.jsx(oe,{children:x.jsx("h3",{className:"m-1",children:n})}),t[20]=n,t[21]=M):M=t[21];let k;t[22]!==i?(k=x.jsx(oe,{children:x.jsx("p",{className:"p-md-4",children:i})}),t[22]=i,t[23]=k):k=t[23];let P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P={position:"relative"},t[24]=P):P=t[24];let E;t[25]!==a||t[26]!==l?(E=x.jsx(oe,{align:"right",style:P,children:x.jsx(ag,{data:a,filename:l})}),t[25]=a,t[26]=l,t[27]=E):E=t[27];let C;t[28]!==s?(C=x.jsx(oe,{children:s}),t[28]=s,t[29]=C):C=t[29];let O;t[30]!==o?(O=x.jsx(oe,{children:o}),t[30]=o,t[31]=O):O=t[31];let R;t[32]!==M||t[33]!==k||t[34]!==E||t[35]!==C||t[36]!==O?(R=x.jsxs(hr,{className:"mb-5 grow",children:[M,k,E,C,O]}),t[32]=M,t[33]=k,t[34]=E,t[35]=C,t[36]=O,t[37]=R):R=t[37];let N;return t[38]!==S||t[39]!==R||t[40]!==m||t[41]!==p||t[42]!==b||t[43]!==y||t[44]!==v||t[45]!==_?(N=x.jsxs(x.Fragment,{children:[m,p,b,y,v,w,_,S,R]}),t[38]=S,t[39]=R,t[40]=m,t[41]=p,t[42]=b,t[43]=y,t[44]=v,t[45]=_,t[46]=N):N=t[46],N}function Fg(e){const t=St.c(81),{filterOptions:n,filterSelection:i,setFilterSelection:s,max1year:o,coloredYears:r}=e,a=o===void 0?!1:o,l=r===void 0?!1:r,[c,h]=D.useState(!0),{nrens:d}=D.useContext(il);let f,u;if(t[0]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{const H=()=>h(window.innerWidth>=992);return window.addEventListener("resize",H),()=>{window.removeEventListener("resize",H)}},u=[],t[0]=f,t[1]=u):(f=t[0],u=t[1]),D.useEffect(f,u),a&&i.selectedYears.length>1){const H=Math.max(...i.selectedYears);s({selectedYears:[H],selectedNrens:[...i.selectedNrens]})}let g;t[2]!==i.selectedNrens||t[3]!==i.selectedYears||t[4]!==s?(g=H=>{i.selectedNrens.includes(H)?s({selectedYears:[...i.selectedYears],selectedNrens:i.selectedNrens.filter(nt=>nt!==H)}):s({selectedYears:[...i.selectedYears],selectedNrens:[...i.selectedNrens,H]})},t[2]=i.selectedNrens,t[3]=i.selectedYears,t[4]=s,t[5]=g):g=t[5];const m=g;let p;t[6]!==i.selectedNrens||t[7]!==i.selectedYears||t[8]!==a||t[9]!==s?(p=H=>{i.selectedYears.includes(H)?s({selectedYears:i.selectedYears.filter(nt=>nt!==H),selectedNrens:[...i.selectedNrens]}):s({selectedYears:a?[H]:[...i.selectedYears,H],selectedNrens:[...i.selectedNrens]})},t[6]=i.selectedNrens,t[7]=i.selectedYears,t[8]=a,t[9]=s,t[10]=p):p=t[10];const b=p;let y;t[11]!==n.availableNrens||t[12]!==i.selectedYears||t[13]!==s?(y=()=>{s({selectedYears:[...i.selectedYears],selectedNrens:n.availableNrens.map(hg)})},t[11]=n.availableNrens,t[12]=i.selectedYears,t[13]=s,t[14]=y):y=t[14];const v=y;let w;t[15]!==i.selectedYears||t[16]!==s?(w=()=>{s({selectedYears:[...i.selectedYears],selectedNrens:[]})},t[15]=i.selectedYears,t[16]=s,t[17]=w):w=t[17];const _=w,S=c?3:2,M=Math.ceil(d.length/S);let k,P,E,C,O,R,N,A,L,I;if(t[18]!==n.availableNrens||t[19]!==i.selectedNrens||t[20]!==m||t[21]!==S||t[22]!==M||t[23]!==d){const H=Array.from(Array(S),cg);d.sort(lg).forEach((Zt,Qt)=>{const ct=Math.floor(Qt/M);H[ct].push(Zt)});let nt;t[34]!==n.availableNrens?(nt=Zt=>n.availableNrens.find(ct=>ct.name===Zt.name)!==void 0,t[34]=n.availableNrens,t[35]=nt):nt=t[35];const Te=nt;E=ys,L=3,P=ni,R="outside",N="m-3",t[36]===Symbol.for("react.memo_cache_sentinel")?(A=x.jsx(ni.Toggle,{id:"nren-dropdown-toggle",variant:"compendium",children:"Select NRENs "}),t[36]=A):A=t[36],k=ni.Menu,t[37]===Symbol.for("react.memo_cache_sentinel")?(O={borderRadius:0},t[37]=O):O=t[37],I="d-flex fit-max-content mt-4 mx-3";let zt;t[38]!==i.selectedNrens||t[39]!==m||t[40]!==Te?(zt=(Zt,Qt)=>x.jsx("div",{className:"flex-fill",children:Zt.map(ct=>x.jsx("div",{className:"filter-dropdown-item flex-fill py-1 px-3",children:x.jsxs(Zn.Check,{type:"checkbox",children:[x.jsx(Zn.Check.Input,{id:ct.name,readOnly:!0,type:"checkbox",onClick:()=>m(ct.name),checked:i.selectedNrens.includes(ct.name),className:"nren-checkbox",disabled:!Te(ct)}),x.jsxs(Zn.Check.Label,{htmlFor:ct.name,className:"nren-checkbox-label",children:[ct.name," ",x.jsxs("span",{style:{fontWeight:"lighter"},children:["(",ct.country,")"]})]})]})},ct.name))},Qt),t[38]=i.selectedNrens,t[39]=m,t[40]=Te,t[41]=zt):zt=t[41],C=H.map(zt),t[18]=n.availableNrens,t[19]=i.selectedNrens,t[20]=m,t[21]=S,t[22]=M,t[23]=d,t[24]=k,t[25]=P,t[26]=E,t[27]=C,t[28]=O,t[29]=R,t[30]=N,t[31]=A,t[32]=L,t[33]=I}else k=t[24],P=t[25],E=t[26],C=t[27],O=t[28],R=t[29],N=t[30],A=t[31],L=t[32],I=t[33];let W;t[42]!==C||t[43]!==I?(W=x.jsx("div",{className:I,children:C}),t[42]=C,t[43]=I,t[44]=W):W=t[44];let $;t[45]!==v?($=x.jsx(Nt,{variant:"compendium",className:"flex-fill",onClick:v,children:"Select all NRENs"}),t[45]=v,t[46]=$):$=t[46];let B;t[47]!==_?(B=x.jsx(Nt,{variant:"compendium",className:"flex-fill",onClick:_,children:"Unselect all NRENs"}),t[47]=_,t[48]=B):B=t[48];let et;t[49]!==$||t[50]!==B?(et=x.jsxs("div",{className:"d-flex fit-max-content gap-2 mx-4 my-3",children:[$,B]}),t[49]=$,t[50]=B,t[51]=et):et=t[51];let tt;t[52]!==k||t[53]!==O||t[54]!==W||t[55]!==et?(tt=x.jsxs(k,{style:O,children:[W,et]}),t[52]=k,t[53]=O,t[54]=W,t[55]=et,t[56]=tt):tt=t[56];let it;t[57]!==P||t[58]!==R||t[59]!==N||t[60]!==A||t[61]!==tt?(it=x.jsxs(P,{autoClose:R,className:N,children:[A,tt]}),t[57]=P,t[58]=R,t[59]=N,t[60]=A,t[61]=tt,t[62]=it):it=t[62];let X;t[63]!==E||t[64]!==L||t[65]!==it?(X=x.jsx(E,{xs:L,children:it}),t[63]=E,t[64]=L,t[65]=it,t[66]=X):X=t[66];let K;if(t[67]!==l||t[68]!==n.availableYears||t[69]!==i.selectedYears||t[70]!==b){let H;t[72]!==l||t[73]!==i.selectedYears||t[74]!==b?(H=nt=>x.jsx(Nt,{variant:l?"compendium-year-"+nt%9:"compendium-year",active:i.selectedYears.includes(nt),onClick:()=>b(nt),children:nt},nt),t[72]=l,t[73]=i.selectedYears,t[74]=b,t[75]=H):H=t[75],K=n.availableYears.sort().map(H),t[67]=l,t[68]=n.availableYears,t[69]=i.selectedYears,t[70]=b,t[71]=K}else K=t[71];let G;t[76]!==K?(G=x.jsx(ys,{children:x.jsx(Ai,{className:"d-flex justify-content-end gap-2 m-3",children:K})}),t[76]=K,t[77]=G):G=t[77];let Rt;return t[78]!==X||t[79]!==G?(Rt=x.jsxs(x.Fragment,{children:[X,G]}),t[78]=X,t[79]=G,t[80]=Rt):Rt=t[80],Rt}function lg(e,t){return e.name.localeCompare(t.name)}function cg(){return[]}function hg(e){return e.name}const $g=e=>{const t=St.c(3),{children:n}=e,i=D.useContext(dr);let s;return t[0]!==n||t[1]!==i?(s=x.jsx("div",{ref:i,children:n}),t[0]=n,t[1]=i,t[2]=s):s=t[2],s};function ar(e){const t=new Set,n=new Map;return e.forEach(i=>{t.add(i.year),n.set(i.nren,{name:i.nren,country:i.nren_country})}),{years:t,nrens:n}}function zg(e,t,n){const i=St.c(14),s=n===void 0?fg:n;let o;i[0]===Symbol.for("react.memo_cache_sentinel")?(o=[],i[0]=o):o=i[0];const[r,a]=D.useState(o),l=sl(),c=e+(l?"?preview":"");let h;i[1]!==c||i[2]!==t||i[3]!==s?(h=()=>{fetch(c).then(dg).then(b=>{const y=b.filter(s);a(y);const{years:v,nrens:w}=ar(y);t(_=>{const M=_.selectedYears.filter(E=>v.has(E)).length?_.selectedYears:[Math.max(...v)],P=_.selectedNrens.filter(E=>w.has(E)).length?_.selectedNrens:[...w.keys()];return{selectedYears:M,selectedNrens:P}})})},i[1]=c,i[2]=t,i[3]=s,i[4]=h):h=i[4];let d;i[5]!==c||i[6]!==t?(d=[c,t],i[5]=c,i[6]=t,i[7]=d):d=i[7],D.useEffect(h,d);let f,u;i[8]!==r?(u=ar(r),i[8]=r,i[9]=u):u=i[9],f=u;const{years:g,nrens:m}=f;let p;return i[10]!==r||i[11]!==m||i[12]!==g?(p={data:r,years:g,nrens:m},i[10]=r,i[11]=m,i[12]=g,i[13]=p):p=i[13],p}function dg(e){return e.json()}function fg(){return!0}export{q as A,xi as B,Pt as C,Ig as D,wt as E,Fg as F,F as G,U as H,Y as I,Cn as J,V as K,Yo as L,z as M,jg as N,gi as P,Ho as a,Pn as b,wg as c,_g as d,Tg as e,$g as f,Eg as g,Pg as h,Og as i,Rg as j,Re as k,Ag as l,Lg as m,Sg as n,Ng as o,vg as p,kg as q,Dg as r,Cg as s,di as t,zg as u,hi as v,Mg as w,Ze as x,lt as y,xn as z}; diff --git a/compendium_v2/static/xlsx-BHRztzV8.js b/compendium_v2/static/xlsx-BHRztzV8.js new file mode 100644 index 00000000..b478d965 --- /dev/null +++ b/compendium_v2/static/xlsx-BHRztzV8.js @@ -0,0 +1,95 @@ +/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Xt={};Xt.version="0.18.5";var $n=1252,Vi=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],jn=function(e){Vi.indexOf(e)!=-1&&($n=e)};function Xi(){jn(1252)}var Et=function(e){jn(e)};function Ki(){Et(1200),Xi()}var Mt=function(t){return String.fromCharCode(t)},fn=function(t){return String.fromCharCode(t)},ln,Rr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function wt(e){for(var t="",r=0,n=0,a=0,i=0,s=0,f=0,o=0,l=0;l<e.length;)r=e.charCodeAt(l++),i=r>>2,n=e.charCodeAt(l++),s=(r&3)<<4|n>>4,a=e.charCodeAt(l++),f=(n&15)<<2|a>>6,o=a&63,isNaN(n)?f=o=64:isNaN(a)&&(o=64),t+=Rr.charAt(i)+Rr.charAt(s)+Rr.charAt(f)+Rr.charAt(o);return t}function yr(e){var t="",r=0,n=0,a=0,i=0,s=0,f=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l<e.length;)i=Rr.indexOf(e.charAt(l++)),s=Rr.indexOf(e.charAt(l++)),r=i<<2|s>>4,t+=String.fromCharCode(r),f=Rr.indexOf(e.charAt(l++)),n=(s&15)<<4|f>>2,f!==64&&(t+=String.fromCharCode(n)),o=Rr.indexOf(e.charAt(l++)),a=(f&3)<<6|o,o!==64&&(t+=String.fromCharCode(a));return t}var ue=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),Or=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function Hr(e){return ue?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function on(e){return ue?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var xr=function(t){return ue?Or(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function a0(e){if(typeof ArrayBuffer>"u")return xr(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=e.charCodeAt(n)&255;return t}function Ot(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function zi(e){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(e)}var be=ue?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:Or(t)}))}:function(e){if(typeof Uint8Array<"u"){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if(typeof e[t]=="string")throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map(function(i){return Array.isArray(i)?i:[].slice.call(i)}))};function Yi(e){for(var t=[],r=0,n=e.length+250,a=Hr(e.length+255),i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s<128)a[r++]=s;else if(s<2048)a[r++]=192|s>>6&31,a[r++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;a[r++]=240|s>>8&7,a[r++]=128|s>>2&63,a[r++]=128|f>>6&15|(s&3)<<4,a[r++]=128|f&63}else a[r++]=224|s>>12&15,a[r++]=128|s>>6&63,a[r++]=128|s&63;r>n&&(t.push(a.slice(0,r)),r=0,a=Hr(65535),n=65530)}return t.push(a.slice(0,r)),be(t)}var pt=/\u0000/g,Bt=/[\u0001-\u0006]/g;function rt(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function vr(e,t){var r=""+e;return r.length>=t?r:Fe("0",t-r.length)+r}function D0(e,t){var r=""+e;return r.length>=t?r:Fe(" ",t-r.length)+r}function Kt(e,t){var r=""+e;return r.length>=t?r:r+Fe(" ",t-r.length)}function $i(e,t){var r=""+Math.round(e);return r.length>=t?r:Fe("0",t-r.length)+r}function ji(e,t){var r=""+e;return r.length>=t?r:Fe("0",t-r.length)+r}var cn=Math.pow(2,32);function Jr(e,t){if(e>cn||e<-cn)return $i(e,t);var r=Math.round(e);return ji(r,t)}function zt(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var hn=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],m0=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function Ji(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var ye={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},un={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},Zi={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Yt(e,t,r){for(var n=e<0?-1:1,a=e*n,i=0,s=1,f=0,o=1,l=0,c=0,p=Math.floor(a);l<t&&(p=Math.floor(a),f=p*s+i,c=p*l+o,!(a-p<5e-8));)a=1/(a-p),i=s,s=f,o=l,l=c;if(c>t&&(l>t?(c=o,f=i):(c=l,f=s)),!r)return[0,n*f,c];var x=Math.floor(n*f/c);return[x,n*f-x*c,c]}function Ut(e,t,r){if(e>2958465||e<0)return null;var n=e|0,a=Math.floor(86400*(e-n)),i=0,s=[],f={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6&&(f.u=0),t&&t.date1904&&(n+=1462),f.u>.9999&&(f.u=0,++a==86400&&(f.T=a=0,++n,++f.D)),n===60)s=r?[1317,10,29]:[1900,2,29],i=3;else if(n===0)s=r?[1317,8,29]:[1900,1,0],i=6;else{n>60&&--n;var o=new Date(1900,0,1);o.setDate(o.getDate()+n-1),s=[o.getFullYear(),o.getMonth()+1,o.getDate()],i=o.getDay(),n<60&&(i=(i+6)%7),r&&(i=as(o,s))}return f.y=s[0],f.m=s[1],f.d=s[2],f.S=a%60,a=Math.floor(a/60),f.M=a%60,a=Math.floor(a/60),f.H=a,f.q=i,f}var Jn=new Date(1899,11,31,0,0,0),qi=Jn.getTime(),Qi=new Date(1900,2,1,0,0,0);function Zn(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=Qi&&(r+=24*60*60*1e3),(r-(qi+(e.getTimezoneOffset()-Jn.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function R0(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function es(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function rs(e){var t=e<0?12:11,r=R0(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function ts(e){var t=R0(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function ns(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=rs(e):t===10?r=e.toFixed(10).substr(0,12):r=ts(e),R0(es(r.toUpperCase()))}function F0(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):ns(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Nr(14,Zn(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function as(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function is(e,t,r,n){var a="",i=0,s=0,f=r.y,o,l=0;switch(e){case 98:f=r.y+543;case 121:switch(t.length){case 1:case 2:o=f%100,l=2;break;default:o=f%1e4,l=4;break}break;case 109:switch(t.length){case 1:case 2:o=r.m,l=t.length;break;case 3:return m0[r.m-1][1];case 5:return m0[r.m-1][0];default:return m0[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:o=r.d,l=t.length;break;case 3:return hn[r.q][0];default:return hn[r.q][1]}break;case 104:switch(t.length){case 1:case 2:o=1+(r.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:o=r.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:o=r.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?vr(r.S,t.length):(n>=2?s=n===3?1e3:100:s=n===1?10:1,i=Math.round(s*(r.S+r.u)),i>=60*s&&(i=0),t==="s"?i===0?"0":""+i/s:(a=vr(i,2+n),t==="ss"?a.substr(0,2):"."+a.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":o=r.D*24+r.H;break;case"[m]":case"[mm]":o=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":o=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}l=t.length===3?1:2;break;case 101:o=f,l=1;break}var c=l>0?vr(o,l):"";return c}function Ir(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var qn=/%/g;function ss(e,t,r){var n=t.replace(qn,""),a=t.length-n.length;return Sr(e,n,r*Math.pow(10,2*a))+Fe("%",a)}function fs(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Sr(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function Qn(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+Qn(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),r.indexOf("e")===-1){var s=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,o,l,c){return o+l+c.substr(0,(a+i)%a)+"."+c.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var ea=/# (\?+)( ?)\/( ?)(\d+)/;function ls(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),i=Math.floor(a/n),s=a-i*n,f=n;return r+(i===0?"":""+i)+" "+(s===0?Fe(" ",e[1].length+1+e[4].length):D0(s,e[1].length)+e[2]+"/"+e[3]+vr(f,e[4].length))}function os(e,t,r){return r+(t===0?"":""+t)+Fe(" ",e[1].length+2+e[4].length)}var ra=/^#*0*\.([0#]+)/,ta=/\).*[0#]/,na=/\(###\) ###\\?-####/;function Ye(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function xn(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function vn(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function cs(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function hs(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function fr(e,t,r){if(e.charCodeAt(0)===40&&!t.match(ta)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?fr("n",n,r):"("+fr("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return fs(e,t,r);if(t.indexOf("%")!==-1)return ss(e,t,r);if(t.indexOf("E")!==-1)return Qn(t,r);if(t.charCodeAt(0)===36)return"$"+fr(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,f,o=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+Jr(o,t.length);if(t.match(/^[#?]+$/))return a=Jr(r,0),a==="0"&&(a=""),a.length>t.length?a:Ye(t.substr(0,t.length-a.length))+a;if(i=t.match(ea))return ls(i,o,l);if(t.match(/^#+0+$/))return l+Jr(o,t.length-t.indexOf("0"));if(i=t.match(ra))return a=xn(r,i[1].length).replace(/^([^\.]+)$/,"$1."+Ye(i[1])).replace(/\.$/,"."+Ye(i[1])).replace(/\.(\d*)$/,function(E,u){return"."+u+Fe("0",Ye(i[1]).length-u.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return l+xn(o,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return l+Ir(Jr(o,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+fr(e,t,-r):Ir(""+(Math.floor(r)+cs(r,i[1].length)))+"."+vr(vn(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return fr(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=rt(fr(e,t.replace(/[\\-]/g,""),r)),s=0,rt(rt(t.replace(/\\/g,"")).replace(/[0#]/g,function(E){return s<a.length?a.charAt(s++):E==="0"?"0":""}));if(t.match(na))return a=fr(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var c="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(i[4].length,7),f=Yt(o,Math.pow(10,s)-1,!1),a=""+l,c=Sr("n",i[1],f[1]),c.charAt(c.length-1)==" "&&(c=c.substr(0,c.length-1)+"0"),a+=c+i[2]+"/"+i[3],c=Kt(f[2],s),c.length<i[4].length&&(c=Ye(i[4].substr(i[4].length-c.length))+c),a+=c,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(i[1].length,i[4].length),7),f=Yt(o,Math.pow(10,s)-1,!0),l+(f[0]||(f[1]?"":"0"))+" "+(f[1]?D0(f[1],s)+i[2]+"/"+i[3]+Kt(f[2],s):Fe(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=Jr(r,0),t.length<=a.length?a:Ye(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),s=a.indexOf(".");var p=t.indexOf(".")-s,x=t.length-a.length-p;return Ye(t.substr(0,p)+a+t.substr(t.length-x))}if(i=t.match(/^00,000\.([#0]*0)$/))return s=vn(r,i[1].length),r<0?"-"+fr(e,t,-r):Ir(hs(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(E){return"00,"+(E.length<3?vr(0,3-E.length):"")+E})+"."+vr(s,i[1].length);switch(t){case"###,##0.00":return fr(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var v=Ir(Jr(o,0));return v!=="0"?l+v:"";case"###,###.00":return fr(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return fr(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function us(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Sr(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function xs(e,t,r){var n=t.replace(qn,""),a=t.length-n.length;return Sr(e,n,r*Math.pow(10,2*a))+Fe("%",a)}function aa(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+aa(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),!r.match(/[Ee]/)){var s=Math.floor(Math.log(t)*Math.LOG10E);r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,o,l,c){return o+l+c.substr(0,(a+i)%a)+"."+c.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function mr(e,t,r){if(e.charCodeAt(0)===40&&!t.match(ta)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?mr("n",n,r):"("+mr("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return us(e,t,r);if(t.indexOf("%")!==-1)return xs(e,t,r);if(t.indexOf("E")!==-1)return aa(t,r);if(t.charCodeAt(0)===36)return"$"+mr(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,f,o=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+vr(o,t.length);if(t.match(/^[#?]+$/))return a=""+r,r===0&&(a=""),a.length>t.length?a:Ye(t.substr(0,t.length-a.length))+a;if(i=t.match(ea))return os(i,o,l);if(t.match(/^#+0+$/))return l+vr(o,t.length-t.indexOf("0"));if(i=t.match(ra))return a=(""+r).replace(/^([^\.]+)$/,"$1."+Ye(i[1])).replace(/\.$/,"."+Ye(i[1])),a=a.replace(/\.(\d*)$/,function(E,u){return"."+u+Fe("0",Ye(i[1]).length-u.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return l+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return l+Ir(""+o);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+mr(e,t,-r):Ir(""+r)+"."+Fe("0",i[1].length);if(i=t.match(/^#,#*,#0/))return mr(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=rt(mr(e,t.replace(/[\\-]/g,""),r)),s=0,rt(rt(t.replace(/\\/g,"")).replace(/[0#]/g,function(E){return s<a.length?a.charAt(s++):E==="0"?"0":""}));if(t.match(na))return a=mr(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var c="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(i[4].length,7),f=Yt(o,Math.pow(10,s)-1,!1),a=""+l,c=Sr("n",i[1],f[1]),c.charAt(c.length-1)==" "&&(c=c.substr(0,c.length-1)+"0"),a+=c+i[2]+"/"+i[3],c=Kt(f[2],s),c.length<i[4].length&&(c=Ye(i[4].substr(i[4].length-c.length))+c),a+=c,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(i[1].length,i[4].length),7),f=Yt(o,Math.pow(10,s)-1,!0),l+(f[0]||(f[1]?"":"0"))+" "+(f[1]?D0(f[1],s)+i[2]+"/"+i[3]+Kt(f[2],s):Fe(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:Ye(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),s=a.indexOf(".");var p=t.indexOf(".")-s,x=t.length-a.length-p;return Ye(t.substr(0,p)+a+t.substr(t.length-x))}if(i=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+mr(e,t,-r):Ir(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(E){return"00,"+(E.length<3?vr(0,3-E.length):"")+E})+"."+vr(0,i[1].length);switch(t){case"###,###":case"##,###":case"#,###":var v=Ir(""+o);return v!=="0"?l+v:"";default:if(t.match(/\.[0#?]*$/))return mr(e,t.slice(0,t.lastIndexOf(".")),r)+Ye(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Sr(e,t,r){return(r|0)===r?mr(e,t,r):fr(e,t,r)}function vs(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),r===!0)throw new Error("Format |"+e+"| unterminated string ");return t}var ia=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function sa(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":zt(e,t)&&(t+=6),t++;break;case'"':for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if(e.charAt(t+1)==="1"||e.charAt(t+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(e.substr(t,3).toUpperCase()==="A/P"||e.substr(t,5).toUpperCase()==="AM/PM"||e.substr(t,5).toUpperCase()==="上午/下午")return!0;++t;break;case"[":for(n=r;e.charAt(t++)!=="]"&&t<e.length;)n+=e.charAt(t);if(n.match(ia))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":++t;break;default:++t;break}return!1}function ps(e,t,r,n){for(var a=[],i="",s=0,f="",o="t",l,c,p,x="H";s<e.length;)switch(f=e.charAt(s)){case"G":if(!zt(e,s))throw new Error("unrecognized character "+f+" in "+e);a[a.length]={t:"G",v:"General"},s+=7;break;case'"':for(i="";(p=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(p);a[a.length]={t:"t",v:i},++s;break;case"\\":var v=e.charAt(++s),E=v==="("||v===")"?v:"t";a[a.length]={t:E,v},++s;break;case"_":a[a.length]={t:"t",v:" "},s+=2;break;case"@":a[a.length]={t:"T",v:t},++s;break;case"B":case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(l==null&&(l=Ut(t,r,e.charAt(s+1)==="2"),l==null))return"";a[a.length]={t:"X",v:e.substr(s,2)},o=f,s+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0||l==null&&(l=Ut(t,r),l==null))return"";for(i=f;++s<e.length&&e.charAt(s).toLowerCase()===f;)i+=f;f==="m"&&o.toLowerCase()==="h"&&(f="M"),f==="h"&&(f=x),a[a.length]={t:f,v:i},o=f;break;case"A":case"a":case"上":var u={t:f,v:f};if(l==null&&(l=Ut(t,r)),e.substr(s,3).toUpperCase()==="A/P"?(l!=null&&(u.v=l.H>=12?"P":"A"),u.t="T",x="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(l!=null&&(u.v=l.H>=12?"PM":"AM"),u.t="T",s+=5,x="h"):e.substr(s,5).toUpperCase()==="上午/下午"?(l!=null&&(u.v=l.H>=12?"下午":"上午"),u.t="T",s+=5,x="h"):(u.t="t",++s),l==null&&u.t==="T")return"";a[a.length]=u,o=f;break;case"[":for(i=f;e.charAt(s++)!=="]"&&s<e.length;)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(ia)){if(l==null&&(l=Ut(t,r),l==null))return"";a[a.length]={t:"Z",v:i.toLowerCase()},o=i.charAt(1)}else i.indexOf("$")>-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",sa(e)||(a[a.length]={t:"t",v:i}));break;case".":if(l!=null){for(i=f;++s<e.length&&(f=e.charAt(s))==="0";)i+=f;a[a.length]={t:"s",v:i};break}case"0":case"#":for(i=f;++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(s))>-1;)i+=f;a[a.length]={t:"n",v:i};break;case"?":for(i=f;e.charAt(++s)===f;)i+=f;a[a.length]={t:f,v:i},o=f;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":a[a.length]={t:n===1?"t":f,v:f},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=f;s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1;)i+=e.charAt(s);a[a.length]={t:"D",v:i};break;case" ":a[a.length]={t:f,v:f},++s;break;case"$":a[a.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);a[a.length]={t:"t",v:f},++s;break}var _=0,O=0,R;for(s=a.length-1,o="t";s>=0;--s)switch(a[s].t){case"h":case"H":a[s].t=x,o="h",_<1&&(_=1);break;case"s":(R=a[s].v.match(/\.0+$/))&&(O=Math.max(O,R[0].length-1)),_<3&&(_=3);case"d":case"y":case"M":case"e":o=a[s].t;break;case"m":o==="s"&&(a[s].t="M",_<2&&(_=2));break;case"X":break;case"Z":_<1&&a[s].v.match(/[Hh]/)&&(_=1),_<2&&a[s].v.match(/[Mm]/)&&(_=2),_<3&&a[s].v.match(/[Ss]/)&&(_=3)}switch(_){case 0:break;case 1:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H);break;case 2:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M);break}var y="",M;for(s=0;s<a.length;++s)switch(a[s].t){case"t":case"T":case" ":case"D":break;case"X":a[s].v="",a[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":a[s].v=is(a[s].t.charCodeAt(0),a[s].v,l,O),a[s].t="t";break;case"n":case"?":for(M=s+1;a[M]!=null&&((f=a[M].t)==="?"||f==="D"||(f===" "||f==="t")&&a[M+1]!=null&&(a[M+1].t==="?"||a[M+1].t==="t"&&a[M+1].v==="/")||a[s].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(a[M].v==="/"||a[M].v===" "&&a[M+1]!=null&&a[M+1].t=="?"));)a[s].v+=a[M].v,a[M]={v:"",t:";"},++M;y+=a[s].v,s=M-1;break;case"G":a[s].t="t",a[s].v=F0(t,r);break}var j="",ee,C;if(y.length>0){y.charCodeAt(0)==40?(ee=t<0&&y.charCodeAt(0)===45?-t:t,C=Sr("n",y,ee)):(ee=t<0&&n>1?-t:t,C=Sr("n",y,ee),ee<0&&a[0]&&a[0].t=="t"&&(C=C.substr(1),a[0].v="-"+a[0].v)),M=C.length-1;var b=a.length;for(s=0;s<a.length;++s)if(a[s]!=null&&a[s].t!="t"&&a[s].v.indexOf(".")>-1){b=s;break}var L=a.length;if(b===a.length&&C.indexOf("E")===-1){for(s=a.length-1;s>=0;--s)a[s]==null||"n?".indexOf(a[s].t)===-1||(M>=a[s].v.length-1?(M-=a[s].v.length,a[s].v=C.substr(M+1,a[s].v.length)):M<0?a[s].v="":(a[s].v=C.substr(0,M+1),M=-1),a[s].t="t",L=s);M>=0&&L<a.length&&(a[L].v=C.substr(0,M+1)+a[L].v)}else if(b!==a.length&&C.indexOf("E")===-1){for(M=C.indexOf(".")-1,s=b;s>=0;--s)if(!(a[s]==null||"n?".indexOf(a[s].t)===-1)){for(c=a[s].v.indexOf(".")>-1&&s===b?a[s].v.indexOf(".")-1:a[s].v.length-1,j=a[s].v.substr(c+1);c>=0;--c)M>=0&&(a[s].v.charAt(c)==="0"||a[s].v.charAt(c)==="#")&&(j=C.charAt(M--)+j);a[s].v=j,a[s].t="t",L=s}for(M>=0&&L<a.length&&(a[L].v=C.substr(0,M+1)+a[L].v),M=C.indexOf(".")+1,s=b;s<a.length;++s)if(!(a[s]==null||"n?(".indexOf(a[s].t)===-1&&s!==b)){for(c=a[s].v.indexOf(".")>-1&&s===b?a[s].v.indexOf(".")+1:0,j=a[s].v.substr(0,c);c<a[s].v.length;++c)M<C.length&&(j+=C.charAt(M++));a[s].v=j,a[s].t="t",L=s}}}for(s=0;s<a.length;++s)a[s]!=null&&"n?".indexOf(a[s].t)>-1&&(ee=n>1&&t<0&&s>0&&a[s-1].v==="-"?-t:t,a[s].v=Sr(a[s].t,a[s].v,ee),a[s].t="t");var G="";for(s=0;s!==a.length;++s)a[s]!=null&&(G+=a[s].v);return G}var pn=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function dn(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function ds(e,t){var r=vs(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var s=r[0].match(pn),f=r[1].match(pn);return dn(t,s)?[n,r[0]]:dn(t,f)?[n,r[1]]:[n,r[s!=null&&f!=null?2:1]]}return[n,i]}function Nr(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:ye)[e],n==null&&(n=r.table&&r.table[un[e]]||ye[un[e]]),n==null&&(n=Zi[e]||"General");break}if(zt(n,0))return F0(t,r);t instanceof Date&&(t=Zn(t,r.date1904));var a=ds(n,t);if(zt(a[1]))return F0(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return ps(a[1],t,r,a[0])}function fa(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(ye[r]==null){t<0&&(t=r);continue}if(ye[r]==e){t=r;break}}t<0&&(t=391)}return ye[t]=e,t}function i0(e){for(var t=0;t!=392;++t)e[t]!==void 0&&fa(e[t],t)}function s0(){ye=Ji()}var la=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function ms(e){var t=typeof e=="number"?ye[e]:e;return t=t.replace(la,"(\\d+)"),new RegExp("^"+t+"$")}function gs(e,t,r){var n=-1,a=-1,i=-1,s=-1,f=-1,o=-1;(t.match(la)||[]).forEach(function(p,x){var v=parseInt(r[x+1],10);switch(p.toLowerCase().charAt(0)){case"y":n=v;break;case"d":i=v;break;case"h":s=v;break;case"s":o=v;break;case"m":s>=0?f=v:a=v;break}}),o>=0&&f==-1&&a>=0&&(f=a,a=-1);var l=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);l.length==7&&(l="0"+l),l.length==8&&(l="20"+l);var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);return s==-1&&f==-1&&o==-1?l:n==-1&&a==-1&&i==-1?c:l+"T"+c}var _s=function(){var e={};e.version="1.2.0";function t(){for(var C=0,b=new Array(256),L=0;L!=256;++L)C=L,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,b[L]=C;return typeof Int32Array<"u"?new Int32Array(b):b}var r=t();function n(C){var b=0,L=0,G=0,V=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(G=0;G!=256;++G)V[G]=C[G];for(G=0;G!=256;++G)for(L=C[G],b=256+G;b<4096;b+=256)L=V[b]=L>>>8^C[L&255];var K=[];for(G=1;G!=16;++G)K[G-1]=typeof Int32Array<"u"?V.subarray(G*256,G*256+256):V.slice(G*256,G*256+256);return K}var a=n(r),i=a[0],s=a[1],f=a[2],o=a[3],l=a[4],c=a[5],p=a[6],x=a[7],v=a[8],E=a[9],u=a[10],_=a[11],O=a[12],R=a[13],y=a[14];function M(C,b){for(var L=b^-1,G=0,V=C.length;G<V;)L=L>>>8^r[(L^C.charCodeAt(G++))&255];return~L}function j(C,b){for(var L=b^-1,G=C.length-15,V=0;V<G;)L=y[C[V++]^L&255]^R[C[V++]^L>>8&255]^O[C[V++]^L>>16&255]^_[C[V++]^L>>>24]^u[C[V++]]^E[C[V++]]^v[C[V++]]^x[C[V++]]^p[C[V++]]^c[C[V++]]^l[C[V++]]^o[C[V++]]^f[C[V++]]^s[C[V++]]^i[C[V++]]^r[C[V++]];for(G+=15;V<G;)L=L>>>8^r[(L^C[V++])&255];return~L}function ee(C,b){for(var L=b^-1,G=0,V=C.length,K=0,re=0;G<V;)K=C.charCodeAt(G++),K<128?L=L>>>8^r[(L^K)&255]:K<2048?(L=L>>>8^r[(L^(192|K>>6&31))&255],L=L>>>8^r[(L^(128|K&63))&255]):K>=55296&&K<57344?(K=(K&1023)+64,re=C.charCodeAt(G++)&1023,L=L>>>8^r[(L^(240|K>>8&7))&255],L=L>>>8^r[(L^(128|K>>2&63))&255],L=L>>>8^r[(L^(128|re>>6&15|(K&3)<<4))&255],L=L>>>8^r[(L^(128|re&63))&255]):(L=L>>>8^r[(L^(224|K>>12&15))&255],L=L>>>8^r[(L^(128|K>>6&63))&255],L=L>>>8^r[(L^(128|K&63))&255]);return~L}return e.table=r,e.bstr=M,e.buf=j,e.str=ee,e}(),_e=function(){var t={};t.version="1.2.1";function r(h,g){for(var d=h.split("/"),m=g.split("/"),T=0,w=0,I=Math.min(d.length,m.length);T<I;++T){if(w=d[T].length-m[T].length)return w;if(d[T]!=m[T])return d[T]<m[T]?-1:1}return d.length-m.length}function n(h){if(h.charAt(h.length-1)=="/")return h.slice(0,-1).indexOf("/")===-1?h:n(h.slice(0,-1));var g=h.lastIndexOf("/");return g===-1?h:h.slice(0,g+1)}function a(h){if(h.charAt(h.length-1)=="/")return a(h.slice(0,-1));var g=h.lastIndexOf("/");return g===-1?h:h.slice(g+1)}function i(h,g){typeof g=="string"&&(g=new Date(g));var d=g.getHours();d=d<<6|g.getMinutes(),d=d<<5|g.getSeconds()>>>1,h.write_shift(2,d);var m=g.getFullYear()-1980;m=m<<4|g.getMonth()+1,m=m<<5|g.getDate(),h.write_shift(2,m)}function s(h){var g=h.read_shift(2)&65535,d=h.read_shift(2)&65535,m=new Date,T=d&31;d>>>=5;var w=d&15;d>>>=4,m.setMilliseconds(0),m.setFullYear(d+1980),m.setMonth(w-1),m.setDate(T);var I=g&31;g>>>=5;var U=g&63;return g>>>=6,m.setHours(g),m.setMinutes(U),m.setSeconds(I<<1),m}function f(h){rr(h,0);for(var g={},d=0;h.l<=h.length-4;){var m=h.read_shift(2),T=h.read_shift(2),w=h.l+T,I={};switch(m){case 21589:d=h.read_shift(1),d&1&&(I.mtime=h.read_shift(4)),T>5&&(d&2&&(I.atime=h.read_shift(4)),d&4&&(I.ctime=h.read_shift(4))),I.mtime&&(I.mt=new Date(I.mtime*1e3));break}h.l=w,g[m]=I}return g}var o;function l(){return o||(o={})}function c(h,g){if(h[0]==80&&h[1]==75)return sn(h,g);if((h[0]|32)==109&&(h[1]|32)==105)return Bi(h,g);if(h.length<512)throw new Error("CFB file size "+h.length+" < 512");var d=3,m=512,T=0,w=0,I=0,U=0,D=0,N=[],k=h.slice(0,512);rr(k,0);var X=p(k);switch(d=X[0],d){case 3:m=512;break;case 4:m=4096;break;case 0:if(X[1]==0)return sn(h,g);default:throw new Error("Major Version: Expected 3 or 4 saw "+d)}m!==512&&(k=h.slice(0,m),rr(k,28));var Z=h.slice(0,m);x(k,d);var te=k.read_shift(4,"i");if(d===3&&te!==0)throw new Error("# Directory Sectors: Expected 0 saw "+te);k.l+=4,I=k.read_shift(4,"i"),k.l+=4,k.chk("00100000","Mini Stream Cutoff Size: "),U=k.read_shift(4,"i"),T=k.read_shift(4,"i"),D=k.read_shift(4,"i"),w=k.read_shift(4,"i");for(var z=-1,Q=0;Q<109&&(z=k.read_shift(4,"i"),!(z<0));++Q)N[Q]=z;var fe=v(h,m);_(D,w,fe,m,N);var we=R(fe,I,N,m);we[I].name="!Directory",T>0&&U!==re&&(we[U].name="!MiniFAT"),we[N[0]].name="!FAT",we.fat_addrs=N,we.ssz=m;var Se={},Ve=[],ct=[],ht=[];y(I,we,fe,Ve,T,Se,ct,U),E(ct,ht,Ve),Ve.shift();var ut={FileIndex:ct,FullPaths:ht};return g&&g.raw&&(ut.raw={header:Z,sectors:fe}),ut}function p(h){if(h[h.l]==80&&h[h.l+1]==75)return[0,0];h.chk(ge,"Header Signature: "),h.l+=16;var g=h.read_shift(2,"u");return[h.read_shift(2,"u"),g]}function x(h,g){var d=9;switch(h.l+=2,d=h.read_shift(2)){case 9:if(g!=3)throw new Error("Sector Shift: Expected 9 saw "+d);break;case 12:if(g!=4)throw new Error("Sector Shift: Expected 12 saw "+d);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+d)}h.chk("0600","Mini Sector Shift: "),h.chk("000000000000","Reserved: ")}function v(h,g){for(var d=Math.ceil(h.length/g)-1,m=[],T=1;T<d;++T)m[T-1]=h.slice(T*g,(T+1)*g);return m[d-1]=h.slice(d*g),m}function E(h,g,d){for(var m=0,T=0,w=0,I=0,U=0,D=d.length,N=[],k=[];m<D;++m)N[m]=k[m]=m,g[m]=d[m];for(;U<k.length;++U)m=k[U],T=h[m].L,w=h[m].R,I=h[m].C,N[m]===m&&(T!==-1&&N[T]!==T&&(N[m]=N[T]),w!==-1&&N[w]!==w&&(N[m]=N[w])),I!==-1&&(N[I]=m),T!==-1&&m!=N[m]&&(N[T]=N[m],k.lastIndexOf(T)<U&&k.push(T)),w!==-1&&m!=N[m]&&(N[w]=N[m],k.lastIndexOf(w)<U&&k.push(w));for(m=1;m<D;++m)N[m]===m&&(w!==-1&&N[w]!==w?N[m]=N[w]:T!==-1&&N[T]!==T&&(N[m]=N[T]));for(m=1;m<D;++m)if(h[m].type!==0){if(U=m,U!=N[U])do U=N[U],g[m]=g[U]+"/"+g[m];while(U!==0&&N[U]!==-1&&U!=N[U]);N[m]=-1}for(g[0]+="/",m=1;m<D;++m)h[m].type!==2&&(g[m]+="/")}function u(h,g,d){for(var m=h.start,T=h.size,w=[],I=m;d&&T>0&&I>=0;)w.push(g.slice(I*K,I*K+K)),T-=K,I=br(d,I*4);return w.length===0?B(0):be(w).slice(0,h.size)}function _(h,g,d,m,T){var w=re;if(h===re){if(g!==0)throw new Error("DIFAT chain shorter than expected")}else if(h!==-1){var I=d[h],U=(m>>>2)-1;if(!I)return;for(var D=0;D<U&&(w=br(I,D*4))!==re;++D)T.push(w);_(br(I,m-4),g-1,d,m,T)}}function O(h,g,d,m,T){var w=[],I=[];T||(T=[]);var U=m-1,D=0,N=0;for(D=g;D>=0;){T[D]=!0,w[w.length]=D,I.push(h[D]);var k=d[Math.floor(D*4/m)];if(N=D*4&U,m<4+N)throw new Error("FAT boundary crossed: "+D+" 4 "+m);if(!h[k])break;D=br(h[k],N)}return{nodes:w,data:An([I])}}function R(h,g,d,m){var T=h.length,w=[],I=[],U=[],D=[],N=m-1,k=0,X=0,Z=0,te=0;for(k=0;k<T;++k)if(U=[],Z=k+g,Z>=T&&(Z-=T),!I[Z]){D=[];var z=[];for(X=Z;X>=0;){z[X]=!0,I[X]=!0,U[U.length]=X,D.push(h[X]);var Q=d[Math.floor(X*4/m)];if(te=X*4&N,m<4+te)throw new Error("FAT boundary crossed: "+X+" 4 "+m);if(!h[Q]||(X=br(h[Q],te),z[X]))break}w[Z]={nodes:U,data:An([D])}}return w}function y(h,g,d,m,T,w,I,U){for(var D=0,N=m.length?2:0,k=g[h].data,X=0,Z=0,te;X<k.length;X+=128){var z=k.slice(X,X+128);rr(z,64),Z=z.read_shift(2),te=L0(z,0,Z-N),m.push(te);var Q={name:te,type:z.read_shift(1),color:z.read_shift(1),L:z.read_shift(4,"i"),R:z.read_shift(4,"i"),C:z.read_shift(4,"i"),clsid:z.read_shift(16),state:z.read_shift(4,"i"),start:0,size:0},fe=z.read_shift(2)+z.read_shift(2)+z.read_shift(2)+z.read_shift(2);fe!==0&&(Q.ct=M(z,z.l-8));var we=z.read_shift(2)+z.read_shift(2)+z.read_shift(2)+z.read_shift(2);we!==0&&(Q.mt=M(z,z.l-8)),Q.start=z.read_shift(4,"i"),Q.size=z.read_shift(4,"i"),Q.size<0&&Q.start<0&&(Q.size=Q.type=0,Q.start=re,Q.name=""),Q.type===5?(D=Q.start,T>0&&D!==re&&(g[D].name="!StreamData")):Q.size>=4096?(Q.storage="fat",g[Q.start]===void 0&&(g[Q.start]=O(d,Q.start,g.fat_addrs,g.ssz)),g[Q.start].name=Q.name,Q.content=g[Q.start].data.slice(0,Q.size)):(Q.storage="minifat",Q.size<0?Q.size=0:D!==re&&Q.start!==re&&g[D]&&(Q.content=u(Q,g[D].data,(g[U]||{}).data))),Q.content&&rr(Q.content,0),w[te]=Q,I.push(Q)}}function M(h,g){return new Date((nr(h,g+4)/1e7*Math.pow(2,32)+nr(h,g)/1e7-11644473600)*1e3)}function j(h,g){return l(),c(o.readFileSync(h),g)}function ee(h,g){var d=g&&g.type;switch(d||ue&&Buffer.isBuffer(h)&&(d="buffer"),d||"base64"){case"file":return j(h,g);case"base64":return c(xr(yr(h)),g);case"binary":return c(xr(h),g)}return c(h,g)}function C(h,g){var d=g||{},m=d.root||"Root Entry";if(h.FullPaths||(h.FullPaths=[]),h.FileIndex||(h.FileIndex=[]),h.FullPaths.length!==h.FileIndex.length)throw new Error("inconsistent CFB structure");h.FullPaths.length===0&&(h.FullPaths[0]=m+"/",h.FileIndex[0]={name:m,type:5}),d.CLSID&&(h.FileIndex[0].clsid=d.CLSID),b(h)}function b(h){var g="Sh33tJ5";if(!_e.find(h,"/"+g)){var d=B(4);d[0]=55,d[1]=d[3]=50,d[2]=54,h.FileIndex.push({name:g,type:2,content:d,size:4,L:69,R:69,C:69}),h.FullPaths.push(h.FullPaths[0]+g),L(h)}}function L(h,g){C(h);for(var d=!1,m=!1,T=h.FullPaths.length-1;T>=0;--T){var w=h.FileIndex[T];switch(w.type){case 0:m?d=!0:(h.FileIndex.pop(),h.FullPaths.pop());break;case 1:case 2:case 5:m=!0,isNaN(w.R*w.L*w.C)&&(d=!0),w.R>-1&&w.L>-1&&w.R==w.L&&(d=!0);break;default:d=!0;break}}if(!(!d&&!g)){var I=new Date(1987,1,19),U=0,D=Object.create?Object.create(null):{},N=[];for(T=0;T<h.FullPaths.length;++T)D[h.FullPaths[T]]=!0,h.FileIndex[T].type!==0&&N.push([h.FullPaths[T],h.FileIndex[T]]);for(T=0;T<N.length;++T){var k=n(N[T][0]);m=D[k],m||(N.push([k,{name:a(k).replace("/",""),type:1,clsid:Me,ct:I,mt:I,content:null}]),D[k]=!0)}for(N.sort(function(te,z){return r(te[0],z[0])}),h.FullPaths=[],h.FileIndex=[],T=0;T<N.length;++T)h.FullPaths[T]=N[T][0],h.FileIndex[T]=N[T][1];for(T=0;T<N.length;++T){var X=h.FileIndex[T],Z=h.FullPaths[T];if(X.name=a(Z).replace("/",""),X.L=X.R=X.C=-(X.color=1),X.size=X.content?X.content.length:0,X.start=0,X.clsid=X.clsid||Me,T===0)X.C=N.length>1?1:-1,X.size=0,X.type=5;else if(Z.slice(-1)=="/"){for(U=T+1;U<N.length&&n(h.FullPaths[U])!=Z;++U);for(X.C=U>=N.length?-1:U,U=T+1;U<N.length&&n(h.FullPaths[U])!=n(Z);++U);X.R=U>=N.length?-1:U,X.type=1}else n(h.FullPaths[T+1]||"")==n(Z)&&(X.R=T+1),X.type=2}}}function G(h,g){var d=g||{};if(d.fileType=="mad")return Ui(h,d);switch(L(h),d.fileType){case"zip":return Ii(h,d)}var m=function(te){for(var z=0,Q=0,fe=0;fe<te.FileIndex.length;++fe){var we=te.FileIndex[fe];if(we.content){var Se=we.content.length;Se>0&&(Se<4096?z+=Se+63>>6:Q+=Se+511>>9)}}for(var Ve=te.FullPaths.length+3>>2,ct=z+7>>3,ht=z+127>>7,ut=ct+Q+Ve+ht,Ur=ut+127>>7,d0=Ur<=109?0:Math.ceil((Ur-109)/127);ut+Ur+d0+127>>7>Ur;)d0=++Ur<=109?0:Math.ceil((Ur-109)/127);var wr=[1,d0,Ur,ht,Ve,Q,z,0];return te.FileIndex[0].size=z<<6,wr[7]=(te.FileIndex[0].start=wr[0]+wr[1]+wr[2]+wr[3]+wr[4]+wr[5])+(wr[6]+7>>3),wr}(h),T=B(m[7]<<9),w=0,I=0;{for(w=0;w<8;++w)T.write_shift(1,le[w]);for(w=0;w<8;++w)T.write_shift(2,0);for(T.write_shift(2,62),T.write_shift(2,3),T.write_shift(2,65534),T.write_shift(2,9),T.write_shift(2,6),w=0;w<3;++w)T.write_shift(2,0);for(T.write_shift(4,0),T.write_shift(4,m[2]),T.write_shift(4,m[0]+m[1]+m[2]+m[3]-1),T.write_shift(4,0),T.write_shift(4,4096),T.write_shift(4,m[3]?m[0]+m[1]+m[2]-1:re),T.write_shift(4,m[3]),T.write_shift(-4,m[1]?m[0]-1:re),T.write_shift(4,m[1]),w=0;w<109;++w)T.write_shift(-4,w<m[2]?m[1]+w:-1)}if(m[1])for(I=0;I<m[1];++I){for(;w<236+I*127;++w)T.write_shift(-4,w<m[2]?m[1]+w:-1);T.write_shift(-4,I===m[1]-1?re:I+1)}var U=function(te){for(I+=te;w<I-1;++w)T.write_shift(-4,w+1);te&&(++w,T.write_shift(-4,re))};for(I=w=0,I+=m[1];w<I;++w)T.write_shift(-4,Ce.DIFSECT);for(I+=m[2];w<I;++w)T.write_shift(-4,Ce.FATSECT);U(m[3]),U(m[4]);for(var D=0,N=0,k=h.FileIndex[0];D<h.FileIndex.length;++D)k=h.FileIndex[D],k.content&&(N=k.content.length,!(N<4096)&&(k.start=I,U(N+511>>9)));for(U(m[6]+7>>3);T.l&511;)T.write_shift(-4,Ce.ENDOFCHAIN);for(I=w=0,D=0;D<h.FileIndex.length;++D)k=h.FileIndex[D],k.content&&(N=k.content.length,!(!N||N>=4096)&&(k.start=I,U(N+63>>6)));for(;T.l&511;)T.write_shift(-4,Ce.ENDOFCHAIN);for(w=0;w<m[4]<<2;++w){var X=h.FullPaths[w];if(!X||X.length===0){for(D=0;D<17;++D)T.write_shift(4,0);for(D=0;D<3;++D)T.write_shift(4,-1);for(D=0;D<12;++D)T.write_shift(4,0);continue}k=h.FileIndex[w],w===0&&(k.start=k.size?k.start-1:re);var Z=w===0&&d.root||k.name;if(N=2*(Z.length+1),T.write_shift(64,Z,"utf16le"),T.write_shift(2,N),T.write_shift(1,k.type),T.write_shift(1,k.color),T.write_shift(-4,k.L),T.write_shift(-4,k.R),T.write_shift(-4,k.C),k.clsid)T.write_shift(16,k.clsid,"hex");else for(D=0;D<4;++D)T.write_shift(4,0);T.write_shift(4,k.state||0),T.write_shift(4,0),T.write_shift(4,0),T.write_shift(4,0),T.write_shift(4,0),T.write_shift(4,k.start),T.write_shift(4,k.size),T.write_shift(4,0)}for(w=1;w<h.FileIndex.length;++w)if(k=h.FileIndex[w],k.size>=4096)if(T.l=k.start+1<<9,ue&&Buffer.isBuffer(k.content))k.content.copy(T,T.l,0,k.size),T.l+=k.size+511&-512;else{for(D=0;D<k.size;++D)T.write_shift(1,k.content[D]);for(;D&511;++D)T.write_shift(1,0)}for(w=1;w<h.FileIndex.length;++w)if(k=h.FileIndex[w],k.size>0&&k.size<4096)if(ue&&Buffer.isBuffer(k.content))k.content.copy(T,T.l,0,k.size),T.l+=k.size+63&-64;else{for(D=0;D<k.size;++D)T.write_shift(1,k.content[D]);for(;D&63;++D)T.write_shift(1,0)}if(ue)T.l=T.length;else for(;T.l<T.length;)T.write_shift(1,0);return T}function V(h,g){var d=h.FullPaths.map(function(D){return D.toUpperCase()}),m=d.map(function(D){var N=D.split("/");return N[N.length-(D.slice(-1)=="/"?2:1)]}),T=!1;g.charCodeAt(0)===47?(T=!0,g=d[0].slice(0,-1)+g):T=g.indexOf("/")!==-1;var w=g.toUpperCase(),I=T===!0?d.indexOf(w):m.indexOf(w);if(I!==-1)return h.FileIndex[I];var U=!w.match(Bt);for(w=w.replace(pt,""),U&&(w=w.replace(Bt,"!")),I=0;I<d.length;++I)if((U?d[I].replace(Bt,"!"):d[I]).replace(pt,"")==w||(U?m[I].replace(Bt,"!"):m[I]).replace(pt,"")==w)return h.FileIndex[I];return null}var K=64,re=-2,ge="d0cf11e0a1b11ae1",le=[208,207,17,224,161,177,26,225],Me="00000000000000000000000000000000",Ce={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:re,FREESECT:-1,HEADER_SIGNATURE:ge,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:Me,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function cr(h,g,d){l();var m=G(h,d);o.writeFileSync(g,m)}function Ne(h){for(var g=new Array(h.length),d=0;d<h.length;++d)g[d]=String.fromCharCode(h[d]);return g.join("")}function ir(h,g){var d=G(h,g);switch(g&&g.type||"buffer"){case"file":return l(),o.writeFileSync(g.filename,d),d;case"binary":return typeof d=="string"?d:Ne(d);case"base64":return wt(typeof d=="string"?d:Ne(d));case"buffer":if(ue)return Buffer.isBuffer(d)?d:Or(d);case"array":return typeof d=="string"?xr(d):d}return d}var Qe;function S(h){try{var g=h.InflateRaw,d=new g;if(d._processChunk(new Uint8Array([3,0]),d._finishFlushFlag),d.bytesRead)Qe=h;else throw new Error("zlib does not expose bytesRead")}catch(m){console.error("cannot use native zlib: "+(m.message||m))}}function P(h,g){if(!Qe)return nn(h,g);var d=Qe.InflateRaw,m=new d,T=m._processChunk(h.slice(h.l),m._finishFlushFlag);return h.l+=m.bytesRead,T}function F(h){return Qe?Qe.deflateRawSync(h):Z0(h)}var A=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],H=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],ie=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function se(h){var g=(h<<1|h<<11)&139536|(h<<5|h<<15)&558144;return(g>>16|g>>8|g)&255}for(var ae=typeof Uint8Array<"u",q=ae?new Uint8Array(256):[],Te=0;Te<256;++Te)q[Te]=se(Te);function ce(h,g){var d=q[h&255];return g<=8?d>>>8-g:(d=d<<8|q[h>>8&255],g<=16?d>>>16-g:(d=d<<8|q[h>>16&255],d>>>24-g))}function ze(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=6?0:h[m+1]<<8))>>>d&3}function xe(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=5?0:h[m+1]<<8))>>>d&7}function Tr(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=4?0:h[m+1]<<8))>>>d&15}function Ae(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=3?0:h[m+1]<<8))>>>d&31}function ne(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=1?0:h[m+1]<<8))>>>d&127}function sr(h,g,d){var m=g&7,T=g>>>3,w=(1<<d)-1,I=h[T]>>>m;return d<8-m||(I|=h[T+1]<<8-m,d<16-m)||(I|=h[T+2]<<16-m,d<24-m)||(I|=h[T+3]<<24-m),I&w}function Er(h,g,d){var m=g&7,T=g>>>3;return m<=5?h[T]|=(d&7)<<m:(h[T]|=d<<m&255,h[T+1]=(d&7)>>8-m),g+3}function Mr(h,g,d){var m=g&7,T=g>>>3;return d=(d&1)<<m,h[T]|=d,g+1}function jr(h,g,d){var m=g&7,T=g>>>3;return d<<=m,h[T]|=d&255,d>>>=8,h[T+1]=d,g+8}function J0(h,g,d){var m=g&7,T=g>>>3;return d<<=m,h[T]|=d&255,d>>>=8,h[T+1]=d&255,h[T+2]=d>>>8,g+16}function u0(h,g){var d=h.length,m=2*d>g?2*d:g+5,T=0;if(d>=g)return h;if(ue){var w=on(m);if(h.copy)h.copy(w);else for(;T<h.length;++T)w[T]=h[T];return w}else if(ae){var I=new Uint8Array(m);if(I.set)I.set(h);else for(;T<d;++T)I[T]=h[T];return I}return h.length=m,h}function dr(h){for(var g=new Array(h),d=0;d<h;++d)g[d]=0;return g}function Pt(h,g,d){var m=1,T=0,w=0,I=0,U=0,D=h.length,N=ae?new Uint16Array(32):dr(32);for(w=0;w<32;++w)N[w]=0;for(w=D;w<d;++w)h[w]=0;D=h.length;var k=ae?new Uint16Array(D):dr(D);for(w=0;w<D;++w)N[T=h[w]]++,m<T&&(m=T),k[w]=0;for(N[0]=0,w=1;w<=m;++w)N[w+16]=U=U+N[w-1]<<1;for(w=0;w<D;++w)U=h[w],U!=0&&(k[w]=N[U+16]++);var X=0;for(w=0;w<D;++w)if(X=h[w],X!=0)for(U=ce(k[w],m)>>m-X,I=(1<<m+4-X)-1;I>=0;--I)g[U|I<<X]=X&15|w<<4;return m}var x0=ae?new Uint16Array(512):dr(512),v0=ae?new Uint16Array(32):dr(32);if(!ae){for(var Br=0;Br<512;++Br)x0[Br]=0;for(Br=0;Br<32;++Br)v0[Br]=0}(function(){for(var h=[],g=0;g<32;g++)h.push(5);Pt(h,v0,32);var d=[];for(g=0;g<=143;g++)d.push(8);for(;g<=255;g++)d.push(9);for(;g<=279;g++)d.push(7);for(;g<=287;g++)d.push(8);Pt(d,x0,288)})();var Ci=function(){for(var g=ae?new Uint8Array(32768):[],d=0,m=0;d<ie.length-1;++d)for(;m<ie[d+1];++m)g[m]=d;for(;m<32768;++m)g[m]=29;var T=ae?new Uint8Array(259):[];for(d=0,m=0;d<H.length-1;++d)for(;m<H[d+1];++m)T[m]=d;function w(U,D){for(var N=0;N<U.length;){var k=Math.min(65535,U.length-N),X=N+k==U.length;for(D.write_shift(1,+X),D.write_shift(2,k),D.write_shift(2,~k&65535);k-- >0;)D[D.l++]=U[N++]}return D.l}function I(U,D){for(var N=0,k=0,X=ae?new Uint16Array(32768):[];k<U.length;){var Z=Math.min(65535,U.length-k);if(Z<10){for(N=Er(D,N,+(k+Z==U.length)),N&7&&(N+=8-(N&7)),D.l=N/8|0,D.write_shift(2,Z),D.write_shift(2,~Z&65535);Z-- >0;)D[D.l++]=U[k++];N=D.l*8;continue}N=Er(D,N,+(k+Z==U.length)+2);for(var te=0;Z-- >0;){var z=U[k];te=(te<<5^z)&32767;var Q=-1,fe=0;if((Q=X[te])&&(Q|=k&-32768,Q>k&&(Q-=32768),Q<k))for(;U[Q+fe]==U[k+fe]&&fe<250;)++fe;if(fe>2){z=T[fe],z<=22?N=jr(D,N,q[z+1]>>1)-1:(jr(D,N,3),N+=5,jr(D,N,q[z-23]>>5),N+=3);var we=z<8?0:z-4>>2;we>0&&(J0(D,N,fe-H[z]),N+=we),z=g[k-Q],N=jr(D,N,q[z]>>3),N-=3;var Se=z<4?0:z-2>>1;Se>0&&(J0(D,N,k-Q-ie[z]),N+=Se);for(var Ve=0;Ve<fe;++Ve)X[te]=k&32767,te=(te<<5^U[k])&32767,++k;Z-=fe-1}else z<=143?z=z+48:N=Mr(D,N,1),N=jr(D,N,q[z]),X[te]=k&32767,++k}N=jr(D,N,0)-1}return D.l=(N+7)/8|0,D.l}return function(D,N){return D.length<8?w(D,N):I(D,N)}}();function Z0(h){var g=B(50+Math.floor(h.length*1.1)),d=Ci(h,g);return g.slice(0,d)}var q0=ae?new Uint16Array(32768):dr(32768),Q0=ae?new Uint16Array(32768):dr(32768),en=ae?new Uint16Array(128):dr(128),rn=1,tn=1;function Oi(h,g){var d=Ae(h,g)+257;g+=5;var m=Ae(h,g)+1;g+=5;var T=Tr(h,g)+4;g+=4;for(var w=0,I=ae?new Uint8Array(19):dr(19),U=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],D=1,N=ae?new Uint8Array(8):dr(8),k=ae?new Uint8Array(8):dr(8),X=I.length,Z=0;Z<T;++Z)I[A[Z]]=w=xe(h,g),D<w&&(D=w),N[w]++,g+=3;var te=0;for(N[0]=0,Z=1;Z<=D;++Z)k[Z]=te=te+N[Z-1]<<1;for(Z=0;Z<X;++Z)(te=I[Z])!=0&&(U[Z]=k[te]++);var z=0;for(Z=0;Z<X;++Z)if(z=I[Z],z!=0){te=q[U[Z]]>>8-z;for(var Q=(1<<7-z)-1;Q>=0;--Q)en[te|Q<<z]=z&7|Z<<3}var fe=[];for(D=1;fe.length<d+m;)switch(te=en[ne(h,g)],g+=te&7,te>>>=3){case 16:for(w=3+ze(h,g),g+=2,te=fe[fe.length-1];w-- >0;)fe.push(te);break;case 17:for(w=3+xe(h,g),g+=3;w-- >0;)fe.push(0);break;case 18:for(w=11+ne(h,g),g+=7;w-- >0;)fe.push(0);break;default:fe.push(te),D<te&&(D=te);break}var we=fe.slice(0,d),Se=fe.slice(d);for(Z=d;Z<286;++Z)we[Z]=0;for(Z=m;Z<30;++Z)Se[Z]=0;return rn=Pt(we,q0,286),tn=Pt(Se,Q0,30),g}function Di(h,g){if(h[0]==3&&!(h[1]&3))return[Hr(g),2];for(var d=0,m=0,T=on(g||1<<18),w=0,I=T.length>>>0,U=0,D=0;!(m&1);){if(m=xe(h,d),d+=3,m>>>1)m>>1==1?(U=9,D=5):(d=Oi(h,d),U=rn,D=tn);else{d&7&&(d+=8-(d&7));var N=h[d>>>3]|h[(d>>>3)+1]<<8;if(d+=32,N>0)for(!g&&I<w+N&&(T=u0(T,w+N),I=T.length);N-- >0;)T[w++]=h[d>>>3],d+=8;continue}for(;;){!g&&I<w+32767&&(T=u0(T,w+32767),I=T.length);var k=sr(h,d,U),X=m>>>1==1?x0[k]:q0[k];if(d+=X&15,X>>>=4,!(X>>>8&255))T[w++]=X;else{if(X==256)break;X-=257;var Z=X<8?0:X-4>>2;Z>5&&(Z=0);var te=w+H[X];Z>0&&(te+=sr(h,d,Z),d+=Z),k=sr(h,d,D),X=m>>>1==1?v0[k]:Q0[k],d+=X&15,X>>>=4;var z=X<4?0:X-2>>1,Q=ie[X];for(z>0&&(Q+=sr(h,d,z),d+=z),!g&&I<te&&(T=u0(T,te+100),I=T.length);w<te;)T[w]=T[w-Q],++w}}}return g?[T,d+7>>>3]:[T.slice(0,w),d+7>>>3]}function nn(h,g){var d=h.slice(h.l||0),m=Di(d,g);return h.l+=m[1],m[0]}function an(h,g){if(h)typeof console<"u"&&console.error(g);else throw new Error(g)}function sn(h,g){var d=h;rr(d,0);var m=[],T=[],w={FileIndex:m,FullPaths:T};C(w,{root:g.root});for(var I=d.length-4;(d[I]!=80||d[I+1]!=75||d[I+2]!=5||d[I+3]!=6)&&I>=0;)--I;d.l=I+4,d.l+=4;var U=d.read_shift(2);d.l+=6;var D=d.read_shift(4);for(d.l=D,I=0;I<U;++I){d.l+=20;var N=d.read_shift(4),k=d.read_shift(4),X=d.read_shift(2),Z=d.read_shift(2),te=d.read_shift(2);d.l+=8;var z=d.read_shift(4),Q=f(d.slice(d.l+X,d.l+X+Z));d.l+=X+Z+te;var fe=d.l;d.l=z+4,Ri(d,N,k,w,Q),d.l=fe}return w}function Ri(h,g,d,m,T){h.l+=2;var w=h.read_shift(2),I=h.read_shift(2),U=s(h);if(w&8257)throw new Error("Unsupported ZIP encryption");for(var D=h.read_shift(4),N=h.read_shift(4),k=h.read_shift(4),X=h.read_shift(2),Z=h.read_shift(2),te="",z=0;z<X;++z)te+=String.fromCharCode(h[h.l++]);if(Z){var Q=f(h.slice(h.l,h.l+Z));(Q[21589]||{}).mt&&(U=Q[21589].mt),((T||{})[21589]||{}).mt&&(U=T[21589].mt)}h.l+=Z;var fe=h.slice(h.l,h.l+N);switch(I){case 8:fe=P(h,k);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+I)}var we=!1;w&8&&(D=h.read_shift(4),D==134695760&&(D=h.read_shift(4),we=!0),N=h.read_shift(4),k=h.read_shift(4)),N!=g&&an(we,"Bad compressed size: "+g+" != "+N),k!=d&&an(we,"Bad uncompressed size: "+d+" != "+k),p0(m,te,fe,{unsafe:!0,mt:U})}function Ii(h,g){var d=g||{},m=[],T=[],w=B(1),I=d.compression?8:0,U=0,D=0,N=0,k=0,X=0,Z=h.FullPaths[0],te=Z,z=h.FileIndex[0],Q=[],fe=0;for(D=1;D<h.FullPaths.length;++D)if(te=h.FullPaths[D].slice(Z.length),z=h.FileIndex[D],!(!z.size||!z.content||te=="Sh33tJ5")){var we=k,Se=B(te.length);for(N=0;N<te.length;++N)Se.write_shift(1,te.charCodeAt(N)&127);Se=Se.slice(0,Se.l),Q[X]=_s.buf(z.content,0);var Ve=z.content;I==8&&(Ve=F(Ve)),w=B(30),w.write_shift(4,67324752),w.write_shift(2,20),w.write_shift(2,U),w.write_shift(2,I),z.mt?i(w,z.mt):w.write_shift(4,0),w.write_shift(-4,Q[X]),w.write_shift(4,Ve.length),w.write_shift(4,z.content.length),w.write_shift(2,Se.length),w.write_shift(2,0),k+=w.length,m.push(w),k+=Se.length,m.push(Se),k+=Ve.length,m.push(Ve),w=B(46),w.write_shift(4,33639248),w.write_shift(2,0),w.write_shift(2,20),w.write_shift(2,U),w.write_shift(2,I),w.write_shift(4,0),w.write_shift(-4,Q[X]),w.write_shift(4,Ve.length),w.write_shift(4,z.content.length),w.write_shift(2,Se.length),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(4,0),w.write_shift(4,we),fe+=w.l,T.push(w),fe+=Se.length,T.push(Se),++X}return w=B(22),w.write_shift(4,101010256),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,X),w.write_shift(2,X),w.write_shift(4,fe),w.write_shift(4,k),w.write_shift(2,0),be([be(m),be(T),w])}var Lt={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Ni(h,g){if(h.ctype)return h.ctype;var d=h.name||"",m=d.match(/\.([^\.]+)$/);return m&&Lt[m[1]]||g&&(m=(d=g).match(/[\.\\]([^\.\\])+$/),m&&Lt[m[1]])?Lt[m[1]]:"application/octet-stream"}function ki(h){for(var g=wt(h),d=[],m=0;m<g.length;m+=76)d.push(g.slice(m,m+76));return d.join(`\r +`)+`\r +`}function Pi(h){var g=h.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(N){var k=N.charCodeAt(0).toString(16).toUpperCase();return"="+(k.length==1?"0"+k:k)});g=g.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),g.charAt(0)==` +`&&(g="=0D"+g.slice(1)),g=g.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,` +=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var d=[],m=g.split(`\r +`),T=0;T<m.length;++T){var w=m[T];if(w.length==0){d.push("");continue}for(var I=0;I<w.length;){var U=76,D=w.slice(I,I+U);D.charAt(U-1)=="="?U--:D.charAt(U-2)=="="?U-=2:D.charAt(U-3)=="="&&(U-=3),D=w.slice(I,I+U),I+=U,I<w.length&&(D+="="),d.push(D)}}return d.join(`\r +`)}function Li(h){for(var g=[],d=0;d<h.length;++d){for(var m=h[d];d<=h.length&&m.charAt(m.length-1)=="=";)m=m.slice(0,m.length-1)+h[++d];g.push(m)}for(var T=0;T<g.length;++T)g[T]=g[T].replace(/[=][0-9A-Fa-f]{2}/g,function(w){return String.fromCharCode(parseInt(w.slice(1),16))});return xr(g.join(`\r +`))}function Mi(h,g,d){for(var m="",T="",w="",I,U=0;U<10;++U){var D=g[U];if(!D||D.match(/^\s*$/))break;var N=D.match(/^(.*?):\s*([^\s].*)$/);if(N)switch(N[1].toLowerCase()){case"content-location":m=N[2].trim();break;case"content-type":w=N[2].trim();break;case"content-transfer-encoding":T=N[2].trim();break}}switch(++U,T.toLowerCase()){case"base64":I=xr(yr(g.slice(U).join("")));break;case"quoted-printable":I=Li(g.slice(U));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+T)}var k=p0(h,m.slice(d.length),I,{unsafe:!0});w&&(k.ctype=w)}function Bi(h,g){if(Ne(h.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var d=g&&g.root||"",m=(ue&&Buffer.isBuffer(h)?h.toString("binary"):Ne(h)).split(`\r +`),T=0,w="";for(T=0;T<m.length;++T)if(w=m[T],!!/^Content-Location:/i.test(w)&&(w=w.slice(w.indexOf("file")),d||(d=w.slice(0,w.lastIndexOf("/")+1)),w.slice(0,d.length)!=d))for(;d.length>0&&(d=d.slice(0,d.length-1),d=d.slice(0,d.lastIndexOf("/")+1),w.slice(0,d.length)!=d););var I=(m[1]||"").match(/boundary="(.*?)"/);if(!I)throw new Error("MAD cannot find boundary");var U="--"+(I[1]||""),D=[],N=[],k={FileIndex:D,FullPaths:N};C(k);var X,Z=0;for(T=0;T<m.length;++T){var te=m[T];te!==U&&te!==U+"--"||(Z++&&Mi(k,m.slice(X,T),d),X=T)}return k}function Ui(h,g){var d=g||{},m=d.boundary||"SheetJS";m="------="+m;for(var T=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+m.slice(2)+'"',"","",""],w=h.FullPaths[0],I=w,U=h.FileIndex[0],D=1;D<h.FullPaths.length;++D)if(I=h.FullPaths[D].slice(w.length),U=h.FileIndex[D],!(!U.size||!U.content||I=="Sh33tJ5")){I=I.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(fe){return"_x"+fe.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(fe){return"_u"+fe.charCodeAt(0).toString(16)+"_"});for(var N=U.content,k=ue&&Buffer.isBuffer(N)?N.toString("binary"):Ne(N),X=0,Z=Math.min(1024,k.length),te=0,z=0;z<=Z;++z)(te=k.charCodeAt(z))>=32&&te<128&&++X;var Q=X>=Z*4/5;T.push(m),T.push("Content-Location: "+(d.root||"file:///C:/SheetJS/")+I),T.push("Content-Transfer-Encoding: "+(Q?"quoted-printable":"base64")),T.push("Content-Type: "+Ni(U,I)),T.push(""),T.push(Q?Pi(k):ki(k))}return T.push(m+`--\r +`),T.join(`\r +`)}function bi(h){var g={};return C(g,h),g}function p0(h,g,d,m){var T=m&&m.unsafe;T||C(h);var w=!T&&_e.find(h,g);if(!w){var I=h.FullPaths[0];g.slice(0,I.length)==I?I=g:(I.slice(-1)!="/"&&(I+="/"),I=(I+g).replace("//","/")),w={name:a(g),type:2},h.FileIndex.push(w),h.FullPaths.push(I),T||_e.utils.cfb_gc(h)}return w.content=d,w.size=d?d.length:0,m&&(m.CLSID&&(w.clsid=m.CLSID),m.mt&&(w.mt=m.mt),m.ct&&(w.ct=m.ct)),w}function Wi(h,g){C(h);var d=_e.find(h,g);if(d){for(var m=0;m<h.FileIndex.length;++m)if(h.FileIndex[m]==d)return h.FileIndex.splice(m,1),h.FullPaths.splice(m,1),!0}return!1}function Hi(h,g,d){C(h);var m=_e.find(h,g);if(m){for(var T=0;T<h.FileIndex.length;++T)if(h.FileIndex[T]==m)return h.FileIndex[T].name=a(d),h.FullPaths[T]=d,!0}return!1}function Gi(h){L(h,!0)}return t.find=V,t.read=ee,t.parse=c,t.write=ir,t.writeFile=cr,t.utils={cfb_new:bi,cfb_add:p0,cfb_del:Wi,cfb_mov:Hi,cfb_gc:Gi,ReadShift:mt,CheckField:ya,prep_blob:rr,bconcat:be,use_zlib:S,_deflateRaw:Z0,_inflateRaw:nn,consts:Ce},t}();function Ts(e){return typeof e=="string"?a0(e):Array.isArray(e)?zi(e):e}function Dt(e,t,r){if(typeof Deno<"u"){if(r&&typeof t=="string")switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=a0(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n=r=="utf8"?At(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var a=new Blob([Ts(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(typeof saveAs<"u")return saveAs(a,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(a);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});var s=document.createElement("a");if(s.download!=null)return s.download=e,s.href=i,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var f=File(e);return f.open("w"),f.encoding="binary",Array.isArray(t)&&(t=Ot(t)),f.write(t),f.close(),t}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error("cannot save file "+e)}function Ge(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function mn(e,t){for(var r=[],n=Ge(e),a=0;a!==n.length;++a)r[e[n[a]][t]]==null&&(r[e[n[a]][t]]=n[a]);return r}function I0(e){for(var t=[],r=Ge(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function f0(e){for(var t=[],r=Ge(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function Es(e){for(var t=[],r=Ge(e),n=0;n!==r.length;++n)t[e[r[n]]]==null&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}var $t=new Date(1899,11,30,0,0,0);function Ze(e,t){var r=e.getTime(),n=$t.getTime()+(e.getTimezoneOffset()-$t.getTimezoneOffset())*6e4;return(r-n)/(24*60*60*1e3)}var oa=new Date,ws=$t.getTime()+(oa.getTimezoneOffset()-$t.getTimezoneOffset())*6e4,gn=oa.getTimezoneOffset();function ca(e){var t=new Date;return t.setTime(e*24*60*60*1e3+ws),t.getTimezoneOffset()!==gn&&t.setTime(t.getTime()+(t.getTimezoneOffset()-gn)*6e4),t}var _n=new Date("2017-02-19T19:06:09.000Z"),ha=isNaN(_n.getFullYear())?new Date("2/19/17"):_n,Ss=ha.getFullYear()==2017;function je(e,t){var r=new Date(e);if(Ss)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(ha.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function l0(e,t){if(ue&&Buffer.isBuffer(e))return e.toString("binary");if(typeof TextDecoder<"u")try{var r={"€":"","‚":"",ƒ:"","„":"","…":" ","†":"","‡":"","ˆ":"","‰":"",Š:"","‹":"",Œ:"",Ž:"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"",š:"","›":"",œ:"",ž:"",Ÿ:""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(i){return r[i]||i})}catch{}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function qe(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=qe(e[r]));return t}function Fe(e,t){for(var r="";r.length<t;)r+=e;return r}function Ar(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return!isNaN(t=Number(n))||(n=n.replace(/[(](.*)[)]/,function(a,i){return r=-r,i}),!isNaN(t=Number(n)))?t/r:t}var As=["january","february","march","april","may","june","july","august","september","october","november","december"];function St(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),i=t.getDate();if(isNaN(i))return r;var s=e.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),s.length>3&&As.indexOf(s)==-1)return r}else if(s.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||i>1)&&n!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}function oe(e,t,r){if(e.FullPaths){if(typeof r=="string"){var n;return ue?n=Or(r):n=Yi(r),_e.utils.cfb_add(e,t,n)}_e.utils.cfb_add(e,t,r)}else e.file(t,r)}function N0(){return _e.utils.cfb_new()}var Re=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r +`,Fs={""":'"',"'":"'",">":">","<":"<","&":"&"},k0=I0(Fs),P0=/[&<>'"]/g,ys=/[\u0000-\u0008\u000b-\u001f]/g;function de(e){var t=e+"";return t.replace(P0,function(r){return k0[r]}).replace(ys,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Tn(e){return de(e).replace(/ /g,"_x0020_")}var ua=/[\u0000-\u001f]/g;function Cs(e){var t=e+"";return t.replace(P0,function(r){return k0[r]}).replace(/\n/g,"<br/>").replace(ua,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function Os(e){var t=e+"";return t.replace(P0,function(r){return k0[r]}).replace(ua,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}function Ds(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Rs(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function g0(e){for(var t="",r=0,n=0,a=0,i=0,s=0,f=0;r<e.length;){if(n=e.charCodeAt(r++),n<128){t+=String.fromCharCode(n);continue}if(a=e.charCodeAt(r++),n>191&&n<224){s=(n&31)<<6,s|=a&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(a&63)<<6|i&63);continue}s=e.charCodeAt(r++),f=((n&7)<<18|(a&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(f>>>10&1023)),t+=String.fromCharCode(56320+(f&1023))}return t}function En(e){var t=Hr(2*e.length),r,n,a=1,i=0,s=0,f;for(n=0;n<e.length;n+=a)a=1,(f=e.charCodeAt(n))<128?r=f:f<224?(r=(f&31)*64+(e.charCodeAt(n+1)&63),a=2):f<240?(r=(f&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),a=3):(a=4,r=(f&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),r-=65536,s=55296+(r>>>10&1023),r=56320+(r&1023)),s!==0&&(t[i++]=s&255,t[i++]=s>>>8,s=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function wn(e){return Or(e,"binary").toString("utf8")}var bt="foo bar bazâð£",dt=ue&&(wn(bt)==g0(bt)&&wn||En(bt)==g0(bt)&&En)||g0,At=ue?function(e){return Or(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},Is=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,` +`).replace(/<[^>]*>/g,""),a=0;a<e.length;++a)n=n.replace(e[a][0],e[a][1]);return n}}(),xa=/(^\s|\s$|\n)/;function We(e,t){return"<"+e+(t.match(xa)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Ft(e){return Ge(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function Y(e,t,r){return"<"+e+(r!=null?Ft(r):"")+(t!=null?(t.match(xa)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function y0(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function Ns(e,t){switch(typeof e){case"string":var r=Y("vt:lpwstr",de(e));return r=r.replace(/"/g,"_x0022_"),r;case"number":return Y((e|0)==e?"vt:i4":"vt:r8",de(String(e)));case"boolean":return Y("vt:bool",e?"true":"false")}if(e instanceof Date)return Y("vt:filetime",y0(e));throw new Error("Unable to serialize "+e)}var ke={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},st=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],tr={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function ks(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),a=e[t+6]&15,i=5;i>=0;--i)a=a*256+e[t+i];return n==2047?a==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function Ps(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,s=n?-t:t;isFinite(s)?s==0?a=i=0:(a=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i<Math.pow(2,52))?a=-1022:(i-=Math.pow(2,52),a+=1023)):(a=2047,i=isNaN(t)?26985:0);for(var f=0;f<=5;++f,i/=256)e[r+f]=i&255;e[r+6]=(a&15)<<4|i&15,e[r+7]=a>>4|n}var Sn=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var a=0,i=e[0][n].length;a<i;a+=r)t.push.apply(t,e[0][n].slice(a,a+r));return t},An=ue?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:Or(t)})):Sn(e)}:Sn,Fn=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(vt(e,a)));return n.join("").replace(pt,"")},L0=ue?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(pt,""):Fn(e,t,r)}:Fn,yn=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},va=ue?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):yn(e,t,r)}:yn,Cn=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(Qr(e,a)));return n.join("")},Rt=ue?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):Cn(t,r,n)}:Cn,pa=function(e,t){var r=nr(e,t);return r>0?Rt(e,t+4,t+4+r-1):""},da=pa,ma=function(e,t){var r=nr(e,t);return r>0?Rt(e,t+4,t+4+r-1):""},ga=ma,_a=function(e,t){var r=2*nr(e,t);return r>0?Rt(e,t+4,t+4+r-1):""},Ta=_a,Ea=function(t,r){var n=nr(t,r);return n>0?L0(t,r+4,r+4+n):""},wa=Ea,Sa=function(e,t){var r=nr(e,t);return r>0?Rt(e,t+4,t+4+r):""},Aa=Sa,Fa=function(e,t){return ks(e,t)},jt=Fa,M0=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};ue&&(da=function(t,r){if(!Buffer.isBuffer(t))return pa(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},ga=function(t,r){if(!Buffer.isBuffer(t))return ma(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Ta=function(t,r){if(!Buffer.isBuffer(t))return _a(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},wa=function(t,r){if(!Buffer.isBuffer(t))return Ea(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},Aa=function(t,r){if(!Buffer.isBuffer(t))return Sa(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},jt=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):Fa(t,r)},M0=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var Qr=function(e,t){return e[t]},vt=function(e,t){return e[t+1]*256+e[t]},Ls=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},nr=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},br=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Ms=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function mt(e,t){var r="",n,a,i=[],s,f,o,l;switch(t){case"dbcs":if(l=this.l,ue&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o)r+=String.fromCharCode(vt(this,l)),l+=2;e*=2;break;case"utf8":r=Rt(this,this.l,this.l+e);break;case"utf16le":e*=2,r=L0(this,this.l,this.l+e);break;case"wstr":return mt.call(this,e,"dbcs");case"lpstr-ansi":r=da(this,this.l),e=4+nr(this,this.l);break;case"lpstr-cp":r=ga(this,this.l),e=4+nr(this,this.l);break;case"lpwstr":r=Ta(this,this.l),e=4+2*nr(this,this.l);break;case"lpp4":e=4+nr(this,this.l),r=wa(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+nr(this,this.l),r=Aa(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,r="";(s=Qr(this,this.l+e++))!==0;)i.push(Mt(s));r=i.join("");break;case"_wstr":for(e=0,r="";(s=vt(this,this.l+e))!==0;)i.push(Mt(s)),e+=2;e+=2,r=i.join("");break;case"dbcs-cont":for(r="",l=this.l,o=0;o<e;++o){if(this.lens&&this.lens.indexOf(l)!==-1)return s=Qr(this,l),this.l=l+1,f=mt.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),i.join("")+f;i.push(Mt(vt(this,l))),l+=2}r=i.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(r="",l=this.l,o=0;o!=e;++o){if(this.lens&&this.lens.indexOf(l)!==-1)return s=Qr(this,l),this.l=l+1,f=mt.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),i.join("")+f;i.push(Mt(Qr(this,l))),l+=1}r=i.join("");break;default:switch(e){case 1:return n=Qr(this,this.l),this.l++,n;case 2:return n=(t==="i"?Ls:vt)(this,this.l),this.l+=2,n;case 4:case-4:return t==="i"||!(this[this.l+3]&128)?(n=(e>0?br:Ms)(this,this.l),this.l+=4,n):(a=nr(this,this.l),this.l+=4,a);case 8:case-8:if(t==="f")return e==8?a=jt(this,this.l):a=jt([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,a;e=8;case 16:r=va(this,this.l,e);break}}return this.l+=e,r}var Bs=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Us=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},bs=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function Ws(e,t,r){var n=0,a=0;if(r==="dbcs"){for(a=0;a!=t.length;++a)bs(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=t.charCodeAt(a)&255;n=t.length}else if(r==="hex"){for(;a<e;++a)this[this.l++]=parseInt(t.slice(2*a,2*a+2),16)||0;return this}else if(r==="utf16le"){var i=Math.min(this.l+e,this.length);for(a=0;a<Math.min(t.length,e);++a){var s=t.charCodeAt(a);this[this.l++]=s&255,this[this.l++]=s>>8}for(;this.l<i;)this[this.l++]=0;return this}else switch(e){case 1:n=1,this[this.l]=t&255;break;case 2:n=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,Bs(this,t,this.l);break;case 8:if(n=8,r==="f"){Ps(this,t,this.l);break}case 16:break;case-4:n=4,Us(this,t,this.l);break}return this.l+=n,this}function ya(e,t){var r=va(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function rr(e,t){e.l=t,e.read_shift=mt,e.chk=ya,e.write_shift=Ws}function _r(e,t){e.l+=t}function B(e){var t=Hr(e);return rr(t,0),t}function Je(){var e=[],t=ue?256:2048,r=function(l){var c=B(l);return rr(c,0),c},n=r(t),a=function(){n&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},i=function(l){return n&&l<n.length-n.l?n:(a(),n=r(Math.max(l+1,t)))},s=function(){return a(),be(e)},f=function(l){a(),n=l,n.l==null&&(n.l=n.length),i(t)};return{next:i,push:f,end:s,_bufs:e}}function W(e,t,r,n){var a=+t,i;if(!isNaN(a)){n||(n=Lh[a].p||(r||[]).length||0),i=1+(a>=128?1:0)+1,n>=128&&++i,n>=16384&&++i,n>=2097152&&++i;var s=e.next(i);a<=127?s.write_shift(1,a):(s.write_shift(1,(a&127)+128),s.write_shift(1,a>>7));for(var f=0;f!=4;++f)if(n>=128)s.write_shift(1,(n&127)+128),n>>=7;else{s.write_shift(1,n);break}n>0&&M0(r)&&e.push(r)}}function gt(e,t,r){var n=qe(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function On(e,t,r){var n=qe(e);return n.s=gt(n.s,t.s,r),n.e=gt(n.e,t.s,r),n}function _t(e,t){if(e.cRel&&e.c<0)for(e=qe(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=qe(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=me(e);return!e.cRel&&e.cRel!=null&&(r=Vs(r)),!e.rRel&&e.rRel!=null&&(r=Hs(r)),r}function _0(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+Xe(e.s.c)+":"+(e.e.cRel?"":"$")+Xe(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+He(e.s.r)+":"+(e.e.rRel?"":"$")+He(e.e.r):_t(e.s,t.biff)+":"+_t(e.e,t.biff)}function B0(e){return parseInt(Gs(e),10)-1}function He(e){return""+(e+1)}function Hs(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Gs(e){return e.replace(/\$(\d+)$/,"$1")}function U0(e){for(var t=Xs(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Xe(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Vs(e){return e.replace(/^([A-Z])/,"$$$1")}function Xs(e){return e.replace(/^\$([A-Z])/,"$1")}function Ks(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Pe(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function me(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function ar(e){var t=e.indexOf(":");return t==-1?{s:Pe(e),e:Pe(e)}:{s:Pe(e.slice(0,t)),e:Pe(e.slice(t+1))}}function De(e,t){return typeof t>"u"||typeof t=="number"?De(e.s,e.e):(typeof e!="string"&&(e=me(e)),typeof t!="string"&&(t=me(t)),e==t?e:e+":"+t)}function Ee(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,i=e.length;for(r=0;n<i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===i||a!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function Dn(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=Nr(e.z,r?Ze(t):t)}catch{}try{return e.w=Nr((e.XF||{}).numFmtId||(r?14:0),r?Ze(t):t)}catch{return""+t}}function Cr(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?It[e.v]||e.v:t==null?Dn(e,e.v):Dn(e,t))}function Xr(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Ca(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense,i=e||(a?[]:{}),s=0,f=0;if(i&&n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Pe(n.origin):n.origin;s=o.r,f=o.c}i["!ref"]||(i["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=Ee(i["!ref"]);l.s.c=c.s.c,l.s.r=c.s.r,l.e.c=Math.max(l.e.c,c.e.c),l.e.r=Math.max(l.e.r,c.e.r),s==-1&&(l.e.r=s=c.e.r+1)}for(var p=0;p!=t.length;++p)if(t[p]){if(!Array.isArray(t[p]))throw new Error("aoa_to_sheet expects an array of arrays");for(var x=0;x!=t[p].length;++x)if(!(typeof t[p][x]>"u")){var v={v:t[p][x]},E=s+p,u=f+x;if(l.s.r>E&&(l.s.r=E),l.s.c>u&&(l.s.c=u),l.e.r<E&&(l.e.r=E),l.e.c<u&&(l.e.c=u),t[p][x]&&typeof t[p][x]=="object"&&!Array.isArray(t[p][x])&&!(t[p][x]instanceof Date))v=t[p][x];else if(Array.isArray(v.v)&&(v.f=t[p][x][1],v.v=v.v[0]),v.v===null)if(v.f)v.t="n";else if(n.nullError)v.t="e",v.v=0;else if(n.sheetStubs)v.t="z";else continue;else typeof v.v=="number"?v.t="n":typeof v.v=="boolean"?v.t="b":v.v instanceof Date?(v.z=n.dateNF||ye[14],n.cellDates?(v.t="d",v.w=Nr(v.z,Ze(v.v))):(v.t="n",v.v=Ze(v.v),v.w=Nr(v.z,v.v))):v.t="s";if(a)i[E]||(i[E]=[]),i[E][u]&&i[E][u].z&&(v.z=i[E][u].z),i[E][u]=v;else{var _=me({c:u,r:E});i[_]&&i[_].z&&(v.z=i[_].z),i[_]=v}}}return l.s.c<1e7&&(i["!ref"]=De(l)),i}function ft(e,t){return Ca(null,e,t)}function zs(e){return e.read_shift(4,"i")}function pr(e,t){return t||(t=B(4)),t.write_shift(4,e),t}function Ke(e){var t=e.read_shift(4);return t===0?"":e.read_shift(t,"dbcs")}function Le(e,t){var r=!1;return t==null&&(r=!0,t=B(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function Ys(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function $s(e,t){return t||(t=B(4)),t.write_shift(2,0),t.write_shift(2,0),t}function b0(e,t){var r=e.l,n=e.read_shift(1),a=Ke(e),i=[],s={t:a,h:a};if(n&1){for(var f=e.read_shift(4),o=0;o!=f;++o)i.push(Ys(e));s.r=i}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}function js(e,t){var r=!1;return t==null&&(r=!0,t=B(15+4*e.t.length)),t.write_shift(1,0),Le(e.t,t),r?t.slice(0,t.l):t}var Js=b0;function Zs(e,t){var r=!1;return t==null&&(r=!0,t=B(23+4*e.t.length)),t.write_shift(1,1),Le(e.t,t),t.write_shift(4,1),$s({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function or(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function Kr(e,t){return t==null&&(t=B(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function zr(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function Yr(e,t){return t==null&&(t=B(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var qs=Ke,Oa=Le;function W0(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function Jt(e,t){var r=!1;return t==null&&(r=!0,t=B(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var Qs=Ke,C0=W0,H0=Jt;function Da(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,n=t[0]&2;e.l+=4;var a=n===0?jt([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):br(t,0)>>2;return r?a/100:a}function Ra(e,t){t==null&&(t=B(4));var r=0,n=0,a=e*100;if(e==(e|0)&&e>=-536870912&&e<1<<29?n=1:a==(a|0)&&a>=-536870912&&a<1<<29&&(n=1,r=1),n)t.write_shift(-4,((r?a:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function Ia(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function ef(e,t){return t||(t=B(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var $r=Ia,lt=ef;function ot(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Gr(e,t){return(t||B(8)).write_shift(8,e,"f")}function rf(e){var t={},r=e.read_shift(1),n=r>>>1,a=e.read_shift(1),i=e.read_shift(2,"i"),s=e.read_shift(1),f=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var l=hf[a];l&&(t.rgb=Wn(l));break;case 2:t.rgb=Wn([s,f,o]);break;case 3:t.theme=a;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function Zt(e,t){if(t||(t=B(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}return t}function tf(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function nf(e,t){t||(t=B(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}var Na=2,er=3,Wt=11,qt=19,Ht=64,af=65,sf=71,ff=4108,lf=4126,Ue=80,Rn={1:{n:"CodePage",t:Na},2:{n:"Category",t:Ue},3:{n:"PresentationFormat",t:Ue},4:{n:"ByteCount",t:er},5:{n:"LineCount",t:er},6:{n:"ParagraphCount",t:er},7:{n:"SlideCount",t:er},8:{n:"NoteCount",t:er},9:{n:"HiddenCount",t:er},10:{n:"MultimediaClipCount",t:er},11:{n:"ScaleCrop",t:Wt},12:{n:"HeadingPairs",t:ff},13:{n:"TitlesOfParts",t:lf},14:{n:"Manager",t:Ue},15:{n:"Company",t:Ue},16:{n:"LinksUpToDate",t:Wt},17:{n:"CharacterCount",t:er},19:{n:"SharedDoc",t:Wt},22:{n:"HyperlinksChanged",t:Wt},23:{n:"AppVersion",t:er,p:"version"},24:{n:"DigSig",t:af},26:{n:"ContentType",t:Ue},27:{n:"ContentStatus",t:Ue},28:{n:"Language",t:Ue},29:{n:"Version",t:Ue},255:{},2147483648:{n:"Locale",t:qt},2147483651:{n:"Behavior",t:qt},1919054434:{}},In={1:{n:"CodePage",t:Na},2:{n:"Title",t:Ue},3:{n:"Subject",t:Ue},4:{n:"Author",t:Ue},5:{n:"Keywords",t:Ue},6:{n:"Comments",t:Ue},7:{n:"Template",t:Ue},8:{n:"LastAuthor",t:Ue},9:{n:"RevNumber",t:Ue},10:{n:"EditTime",t:Ht},11:{n:"LastPrinted",t:Ht},12:{n:"CreatedDate",t:Ht},13:{n:"ModifiedDate",t:Ht},14:{n:"PageCount",t:er},15:{n:"WordCount",t:er},16:{n:"CharCount",t:er},17:{n:"Thumbnail",t:sf},18:{n:"Application",t:Ue},19:{n:"DocSecurity",t:er},255:{},2147483648:{n:"Locale",t:qt},2147483651:{n:"Behavior",t:qt},1919054434:{}};function of(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var cf=of([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),hf=qe(cf),It={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},uf={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Gt={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function ka(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Pa(e,t){var r=Es(uf),n=[],a;n[n.length]=Re,n[n.length]=Y("Types",null,{xmlns:ke.CT,"xmlns:xsd":ke.xsd,"xmlns:xsi":ke.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(o){return Y("Default",null,{Extension:o[0],ContentType:o[1]})}));var i=function(o){e[o]&&e[o].length>0&&(a=e[o][0],n[n.length]=Y("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:Gt[o][t.bookType]||Gt[o].xlsx}))},s=function(o){(e[o]||[]).forEach(function(l){n[n.length]=Y("Override",null,{PartName:(l[0]=="/"?"":"/")+l,ContentType:Gt[o][t.bookType]||Gt[o].xlsx})})},f=function(o){(e[o]||[]).forEach(function(l){n[n.length]=Y("Override",null,{PartName:(l[0]=="/"?"":"/")+l,ContentType:r[o][0]})})};return i("workbooks"),s("sheets"),s("charts"),f("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(f),f("vba"),f("comments"),f("threadedcomments"),f("drawings"),s("metadata"),f("people"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var he={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function La(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function tt(e){var t=[Re,Y("Relationships",null,{xmlns:ke.RELS})];return Ge(e["!id"]).forEach(function(r){t[t.length]=Y("Relationship",null,e["!id"][r])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function pe(e,t,r,n,a,i){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,[he.HLINK,he.XPATH,he.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function xf(e){var t=[Re];t.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2"> +`),t.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/> +`);for(var r=0;r<e.length;++r)t.push(' <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+`"/> +`);return t.push("</manifest:manifest>"),t.join("")}function Nn(e,t,r){return[' <rdf:Description rdf:about="'+e+`"> +`,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+`"/> +`,` </rdf:Description> +`].join("")}function vf(e,t){return[' <rdf:Description rdf:about="'+e+`"> +`,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+`"/> +`,` </rdf:Description> +`].join("")}function pf(e){var t=[Re];t.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> +`);for(var r=0;r!=e.length;++r)t.push(Nn(e[r][0],e[r][1])),t.push(vf("",e[r][0]));return t.push(Nn("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function Ma(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+Xt.version+"</meta:generator></office:meta></office:document-meta>"}var Wr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function T0(e,t,r,n,a){a[e]!=null||t==null||t===""||(a[e]=t,t=de(t),n[n.length]=r?Y(e,t,r):We(e,t))}function Ba(e,t){var r=t||{},n=[Re,Y("cp:coreProperties",null,{"xmlns:cp":ke.CORE_PROPS,"xmlns:dc":ke.dc,"xmlns:dcterms":ke.dcterms,"xmlns:dcmitype":ke.dcmitype,"xmlns:xsi":ke.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&T0("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:y0(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),e.ModifiedDate!=null&&T0("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:y0(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var i=0;i!=Wr.length;++i){var s=Wr[i],f=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:e?e[s[1]]:null;f===!0?f="1":f===!1?f="0":typeof f=="number"&&(f=String(f)),f!=null&&T0(s[0],f,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var nt=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],Ua=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ba(e){var t=[],r=Y;return e||(e={}),e.Application="SheetJS",t[t.length]=Re,t[t.length]=Y("Properties",null,{xmlns:ke.EXT_PROPS,"xmlns:vt":ke.vt}),nt.forEach(function(n){if(e[n[1]]!==void 0){var a;switch(n[2]){case"string":a=de(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false";break}a!==void 0&&(t[t.length]=r(n[0],a))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(n){return"<vt:lpstr>"+de(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function Wa(e){var t=[Re,Y("Properties",null,{xmlns:ke.CUST_PROPS,"xmlns:vt":ke.vt})];if(!e)return t.join("");var r=1;return Ge(e).forEach(function(a){++r,t[t.length]=Y("property",Ns(e[a]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:de(a)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var kn={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function df(e,t){var r=[];return Ge(kn).map(function(n){for(var a=0;a<Wr.length;++a)if(Wr[a][1]==n)return Wr[a];for(a=0;a<nt.length;++a)if(nt[a][1]==n)return nt[a];throw n}).forEach(function(n){if(e[n[1]]!=null){var a=t&&t.Props&&t.Props[n[1]]!=null?t.Props[n[1]]:e[n[1]];switch(n[2]){case"date":a=new Date(a).toISOString().replace(/\.\d*Z/,"Z");break}typeof a=="number"?a=String(a):a===!0||a===!1?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(We(kn[n[1]]||n[1],a))}}),Y("DocumentProperties",r.join(""),{xmlns:tr.o})}function mf(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&Ge(e).forEach(function(i){if(Object.prototype.hasOwnProperty.call(e,i)){for(var s=0;s<Wr.length;++s)if(i==Wr[s][1])return;for(s=0;s<nt.length;++s)if(i==nt[s][1])return;for(s=0;s<r.length;++s)if(i==r[s])return;var f=e[i],o="string";typeof f=="number"?(o="float",f=String(f)):f===!0||f===!1?(o="boolean",f=f?"1":"0"):f=String(f),a.push(Y(Tn(i),f,{"dt:dt":o}))}}),t&&Ge(t).forEach(function(i){if(Object.prototype.hasOwnProperty.call(t,i)&&!(e&&Object.prototype.hasOwnProperty.call(e,i))){var s=t[i],f="string";typeof s=="number"?(f="float",s=String(s)):s===!0||s===!1?(f="boolean",s=s?"1":"0"):s instanceof Date?(f="dateTime.tz",s=s.toISOString()):s=String(s),a.push(Y(Tn(i),s,{"dt:dt":f}))}}),"<"+n+' xmlns="'+tr.o+'">'+a.join("")+"</"+n+">"}function gf(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),a=(r-n)/Math.pow(2,32);n*=1e7,a*=1e7;var i=n/Math.pow(2,32)|0;i>0&&(n=n%Math.pow(2,32),a+=i);var s=B(8);return s.write_shift(4,n),s.write_shift(4,a),s}function Pn(e,t){var r=B(4),n=B(4);switch(r.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=B(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=gf(t);break;case 31:case 80:for(n=B(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return be([r,n])}var Ha=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function _f(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function Ln(e,t,r){var n=B(8),a=[],i=[],s=8,f=0,o=B(8),l=B(8);if(o.write_shift(4,2),o.write_shift(4,1200),l.write_shift(4,1),i.push(o),a.push(l),s+=8+o.length,!t){l=B(8),l.write_shift(4,0),a.unshift(l);var c=[B(4)];for(c[0].write_shift(4,e.length),f=0;f<e.length;++f){var p=e[f][0];for(o=B(8+2*(p.length+1)+(p.length%2?0:2)),o.write_shift(4,f+2),o.write_shift(4,p.length+1),o.write_shift(0,p,"dbcs");o.l!=o.length;)o.write_shift(1,0);c.push(o)}o=be(c),i.unshift(o),s+=8+o.length}for(f=0;f<e.length;++f)if(!(t&&!t[e[f][0]])&&!(Ha.indexOf(e[f][0])>-1||Ua.indexOf(e[f][0])>-1)&&e[f][1]!=null){var x=e[f][1],v=0;if(t){v=+t[e[f][0]];var E=r[v];if(E.p=="version"&&typeof x=="string"){var u=x.split(".");x=(+u[0]<<16)+(+u[1]||0)}o=Pn(E.t,x)}else{var _=_f(x);_==-1&&(_=31,x=String(x)),o=Pn(_,x)}i.push(o),l=B(8),l.write_shift(4,t?v:2+f),a.push(l),s+=8+o.length}var O=8*(i.length+1);for(f=0;f<i.length;++f)a[f].write_shift(4,O),O+=i[f].length;return n.write_shift(4,s),n.write_shift(4,i.length),be([n].concat(a).concat(i))}function Mn(e,t,r,n,a,i){var s=B(a?68:48),f=[s];s.write_shift(2,65534),s.write_shift(2,0),s.write_shift(4,842412599),s.write_shift(16,_e.utils.consts.HEADER_CLSID,"hex"),s.write_shift(4,a?2:1),s.write_shift(16,t,"hex"),s.write_shift(4,a?68:48);var o=Ln(e,r,n);if(f.push(o),a){var l=Ln(a,null,null);s.write_shift(16,i,"hex"),s.write_shift(4,68+o.length),f.push(l)}return be(f)}function Tf(e,t){t||(t=B(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function Ef(e,t){return e.read_shift(t)===1}function $e(e,t){return t||(t=B(2)),t.write_shift(2,+!!e),t}function Ga(e){return e.read_shift(2,"u")}function lr(e,t){return t||(t=B(2)),t.write_shift(2,e),t}function Va(e,t,r){return r||(r=B(2)),r.write_shift(1,t=="e"?+e:+!!e),r.write_shift(1,t=="e"?1:0),r}function Xa(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),a="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var i=e.read_shift(1);i&&(a="dbcs-cont")}else r.biff==12&&(a="wstr");r.biff>=2&&r.biff<=5&&(a="cpstr");var s=n?e.read_shift(n,a):"";return s}function wf(e){var t=e.t||"",r=B(3);r.write_shift(2,t.length),r.write_shift(1,1);var n=B(2*t.length);n.write_shift(2*t.length,t,"utf16le");var a=[r,n];return be(a)}function Sf(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var a=e.read_shift(1);return a===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function Af(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):Sf(e,n,r)}function Ff(e,t,r){if(r.biff>5)return Af(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Ka(e,t,r){return r||(r=B(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Bn(e,t){t||(t=B(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r<e.length;++r)t.write_shift(2,e.charCodeAt(r));return t.write_shift(2,0),t}function yf(e){var t=B(512),r=0,n=e.Target;n.slice(0,7)=="file://"&&(n=n.slice(7));var a=n.indexOf("#"),i=a>-1?31:23;switch(n.charAt(0)){case"#":i=28;break;case".":i&=-3;break}t.write_shift(4,2),t.write_shift(4,i);var s=[8,6815827,6619237,4849780,83];for(r=0;r<s.length;++r)t.write_shift(4,s[r]);if(i==28)n=n.slice(1),Bn(n,t);else if(i&2){for(s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<s.length;++r)t.write_shift(1,parseInt(s[r],16));var f=a>-1?n.slice(0,a):n;for(t.write_shift(4,2*(f.length+1)),r=0;r<f.length;++r)t.write_shift(2,f.charCodeAt(r));t.write_shift(2,0),i&8&&Bn(a>-1?n.slice(a+1):"",t)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<s.length;++r)t.write_shift(1,parseInt(s[r],16));for(var o=0;n.slice(o*3,o*3+3)=="../"||n.slice(o*3,o*3+3)=="..\\";)++o;for(t.write_shift(2,o),t.write_shift(4,n.length-3*o+1),r=0;r<n.length-3*o;++r)t.write_shift(1,n.charCodeAt(r+3*o)&255);for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),r=0;r<6;++r)t.write_shift(4,0)}return t.slice(0,t.l)}function Vr(e,t,r,n){return n||(n=B(6)),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r||0),n}function Cf(e,t,r){var n=r.biff>8?4:2,a=e.read_shift(n),i=e.read_shift(n,"i"),s=e.read_shift(n,"i");return[a,i,s]}function Of(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2);return{s:{c:n,r:t},e:{c:a,r}}}function za(e,t){return t||(t=B(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function G0(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=B(a);return i.write_shift(2,n),i.write_shift(2,t),a>4&&i.write_shift(2,29282),a>6&&i.write_shift(2,1997),a>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function Df(e,t){var r=!t||t.biff==8,n=B(r?112:54);for(n.write_shift(t.biff==8?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l<n.length;)n.write_shift(1,r?0:32);return n}function Rf(e,t){var r=!t||t.biff>=8?2:1,n=B(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function If(e,t){var r=B(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var n=[],a=0;a<e.length;++a)n[a]=wf(e[a]);var i=be([r].concat(n));return i.parts=[r.length].concat(n.map(function(s){return s.length})),i}function Nf(){var e=B(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function kf(e){var t=B(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function Pf(e,t){var r=e.name||"Arial",n=t.biff==5,a=n?15+r.length:16+2*r.length,i=B(a);return i.write_shift(2,(e.sz||12)*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,r.length),n||i.write_shift(1,1),i.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),i}function Lf(e,t,r,n){var a=B(10);return Vr(e,t,n,a),a.write_shift(4,r),a}function Mf(e,t,r,n,a){var i=!a||a.biff==8,s=B(8+ +i+(1+i)*r.length);return Vr(e,t,n,s),s.write_shift(2,r.length),i&&s.write_shift(1,1),s.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),s}function Bf(e,t,r,n){var a=r.biff==5;n||(n=B(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var i=n.length>n.l?n.slice(0,n.l):n;return i.l==null&&(i.l=i.length),i}function Uf(e,t){var r=t.biff==8||!t.biff?4:2,n=B(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function Un(e,t,r,n){var a=r.biff==5;n||(n=B(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&a&&(i|=1024),n.write_shift(4,i),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function bf(e){var t=B(8);return t.write_shift(4,0),t.write_shift(2,0),t.write_shift(2,0),t}function Wf(e,t,r,n,a,i){var s=B(8);return Vr(e,t,n,s),Va(r,i,s),s}function Hf(e,t,r,n){var a=B(14);return Vr(e,t,n,a),Gr(r,a),a}function Gf(e,t,r){if(r.biff<8)return Vf(e,t,r);for(var n=[],a=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)n.push(Cf(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function Vf(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=Xa(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function Xf(e){var t=B(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)za(e[r],t);return t}function Kf(e){var t=B(24),r=Pe(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return be([t,yf(e[1])])}function zf(e){var t=e[1].Tooltip,r=B(10+2*(t.length+1));r.write_shift(2,2048);var n=Pe(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a<t.length;++a)r.write_shift(2,t.charCodeAt(a));return r.write_shift(2,0),r}function Yf(e){return e||(e=B(4)),e.write_shift(2,1),e.write_shift(2,1),e}function $f(e,t,r){if(!r.cellStyles)return _r(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),i=e.read_shift(n),s=e.read_shift(n),f=e.read_shift(n),o=e.read_shift(2);n==2&&(e.l+=2);var l={s:a,e:i,w:s,ixfe:f,flags:o};return(r.biff>=5||!r.biff)&&(l.level=o>>8&7),l}function jf(e,t){var r=B(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function Jf(e){for(var t=B(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}function Zf(e,t,r){var n=B(15);return kt(n,e,t),n.write_shift(8,r,"f"),n}function qf(e,t,r){var n=B(9);return kt(n,e,t),n.write_shift(2,r),n}var Qf=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=I0({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(f,o){var l=[],c=Hr(1);switch(o.type){case"base64":c=xr(yr(f));break;case"binary":c=xr(f);break;case"buffer":case"array":c=f;break}rr(c,0);var p=c.read_shift(1),x=!!(p&136),v=!1,E=!1;switch(p){case 2:break;case 3:break;case 48:v=!0,x=!0;break;case 49:v=!0,x=!0;break;case 131:break;case 139:break;case 140:E=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+p.toString(16))}var u=0,_=521;p==2&&(u=c.read_shift(2)),c.l+=3,p!=2&&(u=c.read_shift(4)),u>1048576&&(u=1e6),p!=2&&(_=c.read_shift(2));var O=c.read_shift(2),R=o.codepage||1252;p!=2&&(c.l+=16,c.read_shift(1),c[c.l]!==0&&(R=e[c[c.l]]),c.l+=1,c.l+=2),E&&(c.l+=36);for(var y=[],M={},j=Math.min(c.length,p==2?521:_-10-(v?264:0)),ee=E?32:11;c.l<j&&c[c.l]!=13;)switch(M={},M.name=ln.utils.decode(R,c.slice(c.l,c.l+ee)).replace(/[\u0000\r\n].*$/g,""),c.l+=ee,M.type=String.fromCharCode(c.read_shift(1)),p!=2&&!E&&(M.offset=c.read_shift(4)),M.len=c.read_shift(1),p==2&&(M.offset=c.read_shift(2)),M.dec=c.read_shift(1),M.name.length&&y.push(M),p!=2&&(c.l+=E?13:14),M.type){case"B":(!v||M.len!=8)&&o.WTF&&console.log("Skipping "+M.name+":"+M.type);break;case"G":case"P":o.WTF&&console.log("Skipping "+M.name+":"+M.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+M.type)}if(c[c.l]!==13&&(c.l=_-1),c.read_shift(1)!==13)throw new Error("DBF Terminator not found "+c.l+" "+c[c.l]);c.l=_;var C=0,b=0;for(l[0]=[],b=0;b!=y.length;++b)l[0][b]=y[b].name;for(;u-- >0;){if(c[c.l]===42){c.l+=O;continue}for(++c.l,l[++C]=[],b=0,b=0;b!=y.length;++b){var L=c.slice(c.l,c.l+y[b].len);c.l+=y[b].len,rr(L,0);var G=ln.utils.decode(R,L);switch(y[b].type){case"C":G.trim().length&&(l[C][b]=G.replace(/\s+$/,""));break;case"D":G.length===8?l[C][b]=new Date(+G.slice(0,4),+G.slice(4,6)-1,+G.slice(6,8)):l[C][b]=G;break;case"F":l[C][b]=parseFloat(G.trim());break;case"+":case"I":l[C][b]=E?L.read_shift(-4,"i")^2147483648:L.read_shift(4,"i");break;case"L":switch(G.trim().toUpperCase()){case"Y":case"T":l[C][b]=!0;break;case"N":case"F":l[C][b]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+G+"|")}break;case"M":if(!x)throw new Error("DBF Unexpected MEMO for type "+p.toString(16));l[C][b]="##MEMO##"+(E?parseInt(G.trim(),10):L.read_shift(4));break;case"N":G=G.replace(/\u0000/g,"").trim(),G&&G!="."&&(l[C][b]=+G||0);break;case"@":l[C][b]=new Date(L.read_shift(-8,"f")-621356832e5);break;case"T":l[C][b]=new Date((L.read_shift(4)-2440588)*864e5+L.read_shift(4));break;case"Y":l[C][b]=L.read_shift(4,"i")/1e4+L.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":l[C][b]=-L.read_shift(-8,"f");break;case"B":if(v&&y[b].len==8){l[C][b]=L.read_shift(8,"f");break}case"G":case"P":L.l+=y[b].len;break;case"0":if(y[b].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+y[b].type)}}}if(p!=2&&c.l<c.length&&c[c.l++]!=26)throw new Error("DBF EOF Marker missing "+(c.l-1)+" of "+c.length+" "+c[c.l-1].toString(16));return o.sheetRows&&(l=l.slice(0,o.sheetRows)),o.DBF=y,l}function n(f,o){var l=o||{};l.dateNF||(l.dateNF="yyyymmdd");var c=ft(r(f,l),l);return c["!cols"]=l.DBF.map(function(p){return{wch:p.len,DBF:p}}),delete l.DBF,c}function a(f,o){try{return Xr(n(f,o),o)}catch(l){if(o&&o.WTF)throw l}return{SheetNames:[],Sheets:{}}}var i={B:8,C:250,L:1,D:8,"?":0,"":0};function s(f,o){var l=o||{};if(+l.codepage>=0&&Et(+l.codepage),l.type=="string")throw new Error("Cannot write DBF to JS string");var c=Je(),p=n0(f,{header:1,raw:!0,cellDates:!0}),x=p[0],v=p.slice(1),E=f["!cols"]||[],u=0,_=0,O=0,R=1;for(u=0;u<x.length;++u){if(((E[u]||{}).DBF||{}).name){x[u]=E[u].DBF.name,++O;continue}if(x[u]!=null){if(++O,typeof x[u]=="number"&&(x[u]=x[u].toString(10)),typeof x[u]!="string")throw new Error("DBF Invalid column name "+x[u]+" |"+typeof x[u]+"|");if(x.indexOf(x[u])!==u){for(_=0;_<1024;++_)if(x.indexOf(x[u]+"_"+_)==-1){x[u]+="_"+_;break}}}}var y=Ee(f["!ref"]),M=[],j=[],ee=[];for(u=0;u<=y.e.c-y.s.c;++u){var C="",b="",L=0,G=[];for(_=0;_<v.length;++_)v[_][u]!=null&&G.push(v[_][u]);if(G.length==0||x[u]==null){M[u]="?";continue}for(_=0;_<G.length;++_){switch(typeof G[_]){case"number":b="B";break;case"string":b="C";break;case"boolean":b="L";break;case"object":b=G[_]instanceof Date?"D":"C";break;default:b="C"}L=Math.max(L,String(G[_]).length),C=C&&C!=b?"C":b}L>250&&(L=250),b=((E[u]||{}).DBF||{}).type,b=="C"&&E[u].DBF.len>L&&(L=E[u].DBF.len),C=="B"&&b=="N"&&(C="N",ee[u]=E[u].DBF.dec,L=E[u].DBF.len),j[u]=C=="C"||b=="N"?L:i[C]||0,R+=j[u],M[u]=C}var V=c.next(32);for(V.write_shift(4,318902576),V.write_shift(4,v.length),V.write_shift(2,296+32*O),V.write_shift(2,R),u=0;u<4;++u)V.write_shift(4,0);for(V.write_shift(4,0|(+t[$n]||3)<<8),u=0,_=0;u<x.length;++u)if(x[u]!=null){var K=c.next(32),re=(x[u].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);K.write_shift(1,re,"sbcs"),K.write_shift(1,M[u]=="?"?"C":M[u],"sbcs"),K.write_shift(4,_),K.write_shift(1,j[u]||i[M[u]]||0),K.write_shift(1,ee[u]||0),K.write_shift(1,2),K.write_shift(4,0),K.write_shift(1,0),K.write_shift(4,0),K.write_shift(4,0),_+=j[u]||i[M[u]]||0}var ge=c.next(264);for(ge.write_shift(4,13),u=0;u<65;++u)ge.write_shift(4,0);for(u=0;u<v.length;++u){var le=c.next(R);for(le.write_shift(1,0),_=0;_<x.length;++_)if(x[_]!=null)switch(M[_]){case"L":le.write_shift(1,v[u][_]==null?63:v[u][_]?84:70);break;case"B":le.write_shift(8,v[u][_]||0,"f");break;case"N":var Me="0";for(typeof v[u][_]=="number"&&(Me=v[u][_].toFixed(ee[_]||0)),O=0;O<j[_]-Me.length;++O)le.write_shift(1,32);le.write_shift(1,Me,"sbcs");break;case"D":v[u][_]?(le.write_shift(4,("0000"+v[u][_].getFullYear()).slice(-4),"sbcs"),le.write_shift(2,("00"+(v[u][_].getMonth()+1)).slice(-2),"sbcs"),le.write_shift(2,("00"+v[u][_].getDate()).slice(-2),"sbcs")):le.write_shift(8,"00000000","sbcs");break;case"C":var Ce=String(v[u][_]!=null?v[u][_]:"").slice(0,j[_]);for(le.write_shift(1,Ce,"sbcs"),O=0;O<j[_]-Ce.length;++O)le.write_shift(1,32);break}}return c.next(1).write_shift(1,26),c.end()}return{to_workbook:a,to_sheet:n,from_sheet:s}}(),el=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("\x1BN("+Ge(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(x,v){var E=e[v];return typeof E=="number"?fn(E):E},n=function(x,v,E){var u=v.charCodeAt(0)-32<<4|E.charCodeAt(0)-48;return u==59?x:fn(u)};e["|"]=254;function a(x,v){switch(v.type){case"base64":return i(yr(x),v);case"binary":return i(x,v);case"buffer":return i(ue&&Buffer.isBuffer(x)?x.toString("binary"):Ot(x),v);case"array":return i(l0(x),v)}throw new Error("Unrecognized type "+v.type)}function i(x,v){var E=x.split(/[\n\r]+/),u=-1,_=-1,O=0,R=0,y=[],M=[],j=null,ee={},C=[],b=[],L=[],G=0,V;for(+v.codepage>=0&&Et(+v.codepage);O!==E.length;++O){G=0;var K=E[O].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),re=K.replace(/;;/g,"\0").split(";").map(function(A){return A.replace(/\u0000/g,";")}),ge=re[0],le;if(K.length>0)switch(ge){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":re[1].charAt(0)=="P"&&M.push(K.slice(3).replace(/;;/g,";"));break;case"C":var Me=!1,Ce=!1,cr=!1,Ne=!1,ir=-1,Qe=-1;for(R=1;R<re.length;++R)switch(re[R].charAt(0)){case"A":break;case"X":_=parseInt(re[R].slice(1))-1,Ce=!0;break;case"Y":for(u=parseInt(re[R].slice(1))-1,Ce||(_=0),V=y.length;V<=u;++V)y[V]=[];break;case"K":le=re[R].slice(1),le.charAt(0)==='"'?le=le.slice(1,le.length-1):le==="TRUE"?le=!0:le==="FALSE"?le=!1:isNaN(Ar(le))?isNaN(St(le).getDate())||(le=je(le)):(le=Ar(le),j!==null&&sa(j)&&(le=ca(le))),Me=!0;break;case"E":Ne=!0;var S=ql(re[R].slice(1),{r:u,c:_});y[u][_]=[y[u][_],S];break;case"S":cr=!0,y[u][_]=[y[u][_],"S5S"];break;case"G":break;case"R":ir=parseInt(re[R].slice(1))-1;break;case"C":Qe=parseInt(re[R].slice(1))-1;break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+K)}if(Me&&(y[u][_]&&y[u][_].length==2?y[u][_][0]=le:y[u][_]=le,j=null),cr){if(Ne)throw new Error("SYLK shared formula cannot have own formula");var P=ir>-1&&y[ir][Qe];if(!P||!P[1])throw new Error("SYLK shared formula cannot find base");y[u][_][1]=Ql(P[1],{r:u-ir,c:_-Qe})}break;case"F":var F=0;for(R=1;R<re.length;++R)switch(re[R].charAt(0)){case"X":_=parseInt(re[R].slice(1))-1,++F;break;case"Y":for(u=parseInt(re[R].slice(1))-1,V=y.length;V<=u;++V)y[V]=[];break;case"M":G=parseInt(re[R].slice(1))/20;break;case"F":break;case"G":break;case"P":j=M[parseInt(re[R].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(L=re[R].slice(1).split(" "),V=parseInt(L[0],10);V<=parseInt(L[1],10);++V)G=parseInt(L[2],10),b[V-1]=G===0?{hidden:!0}:{wch:G},V0(b[V-1]);break;case"C":_=parseInt(re[R].slice(1))-1,b[_]||(b[_]={});break;case"R":u=parseInt(re[R].slice(1))-1,C[u]||(C[u]={}),G>0?(C[u].hpt=G,C[u].hpx=Za(G)):G===0&&(C[u].hidden=!0);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+K)}F<1&&(j=null);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+K)}}return C.length>0&&(ee["!rows"]=C),b.length>0&&(ee["!cols"]=b),v&&v.sheetRows&&(y=y.slice(0,v.sheetRows)),[y,ee]}function s(x,v){var E=a(x,v),u=E[0],_=E[1],O=ft(u,v);return Ge(_).forEach(function(R){O[R]=_[R]}),O}function f(x,v){return Xr(s(x,v),v)}function o(x,v,E,u){var _="C;Y"+(E+1)+";X"+(u+1)+";K";switch(x.t){case"n":_+=x.v||0,x.f&&!x.F&&(_+=";E"+K0(x.f,{r:E,c:u}));break;case"b":_+=x.v?"TRUE":"FALSE";break;case"e":_+=x.w||x.v;break;case"d":_+='"'+(x.w||x.v)+'"';break;case"s":_+='"'+x.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return _}function l(x,v){v.forEach(function(E,u){var _="F;W"+(u+1)+" "+(u+1)+" ";E.hidden?_+="0":(typeof E.width=="number"&&!E.wpx&&(E.wpx=Qt(E.width)),typeof E.wpx=="number"&&!E.wch&&(E.wch=e0(E.wpx)),typeof E.wch=="number"&&(_+=Math.round(E.wch))),_.charAt(_.length-1)!=" "&&x.push(_)})}function c(x,v){v.forEach(function(E,u){var _="F;";E.hidden?_+="M0;":E.hpt?_+="M"+20*E.hpt+";":E.hpx&&(_+="M"+20*r0(E.hpx)+";"),_.length>2&&x.push(_+"R"+(u+1))})}function p(x,v){var E=["ID;PWXL;N;E"],u=[],_=Ee(x["!ref"]),O,R=Array.isArray(x),y=`\r +`;E.push("P;PGeneral"),E.push("F;P0;DG0G8;M255"),x["!cols"]&&l(E,x["!cols"]),x["!rows"]&&c(E,x["!rows"]),E.push("B;Y"+(_.e.r-_.s.r+1)+";X"+(_.e.c-_.s.c+1)+";D"+[_.s.c,_.s.r,_.e.c,_.e.r].join(" "));for(var M=_.s.r;M<=_.e.r;++M)for(var j=_.s.c;j<=_.e.c;++j){var ee=me({r:M,c:j});O=R?(x[M]||[])[j]:x[ee],!(!O||O.v==null&&(!O.f||O.F))&&u.push(o(O,x,M,j))}return E.join(y)+y+u.join(y)+y+"E"+y}return{to_workbook:f,to_sheet:s,from_sheet:p}}(),rl=function(){function e(i,s){switch(s.type){case"base64":return t(yr(i),s);case"binary":return t(i,s);case"buffer":return t(ue&&Buffer.isBuffer(i)?i.toString("binary"):Ot(i),s);case"array":return t(l0(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var f=i.split(` +`),o=-1,l=-1,c=0,p=[];c!==f.length;++c){if(f[c].trim()==="BOT"){p[++o]=[],l=0;continue}if(!(o<0)){var x=f[c].trim().split(","),v=x[0],E=x[1];++c;for(var u=f[c]||"";(u.match(/["]/g)||[]).length&1&&c<f.length-1;)u+=` +`+f[++c];switch(u=u.trim(),+v){case-1:if(u==="BOT"){p[++o]=[],l=0;continue}else if(u!=="EOD")throw new Error("Unrecognized DIF special command "+u);break;case 0:u==="TRUE"?p[o][l]=!0:u==="FALSE"?p[o][l]=!1:isNaN(Ar(E))?isNaN(St(E).getDate())?p[o][l]=E:p[o][l]=je(E):p[o][l]=Ar(E),++l;break;case 1:u=u.slice(1,u.length-1),u=u.replace(/""/g,'"'),u&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),p[o][l++]=u!==""?u:null;break}if(u==="EOD")break}}return s&&s.sheetRows&&(p=p.slice(0,s.sheetRows)),p}function r(i,s){return ft(e(i,s),s)}function n(i,s){return Xr(r(i,s),s)}var a=function(){var i=function(o,l,c,p,x){o.push(l),o.push(c+","+p),o.push('"'+x.replace(/"/g,'""')+'"')},s=function(o,l,c,p){o.push(l+","+c),o.push(l==1?'"'+p.replace(/"/g,'""')+'"':p)};return function(o){var l=[],c=Ee(o["!ref"]),p,x=Array.isArray(o);i(l,"TABLE",0,1,"sheetjs"),i(l,"VECTORS",0,c.e.r-c.s.r+1,""),i(l,"TUPLES",0,c.e.c-c.s.c+1,""),i(l,"DATA",0,0,"");for(var v=c.s.r;v<=c.e.r;++v){s(l,-1,0,"BOT");for(var E=c.s.c;E<=c.e.c;++E){var u=me({r:v,c:E});if(p=x?(o[v]||[])[E]:o[u],!p){s(l,1,0,"");continue}switch(p.t){case"n":var _=p.w;!_&&p.v!=null&&(_=p.v),_==null?p.f&&!p.F?s(l,1,0,"="+p.f):s(l,1,0,""):s(l,0,_,"V");break;case"b":s(l,0,p.v?1:0,p.v?"TRUE":"FALSE");break;case"s":s(l,1,0,isNaN(p.v)?p.v:'="'+p.v+'"');break;case"d":p.w||(p.w=Nr(p.z||ye[14],Ze(je(p.v)))),s(l,0,p.w,"V");break;default:s(l,1,0,"")}}}s(l,-1,0,"EOD");var O=`\r +`,R=l.join(O);return R}}();return{to_workbook:n,to_sheet:r,from_sheet:a}}(),Ya=function(){function e(p){return p.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,` +`)}function t(p){return p.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(p,x){for(var v=p.split(` +`),E=-1,u=-1,_=0,O=[];_!==v.length;++_){var R=v[_].trim().split(":");if(R[0]==="cell"){var y=Pe(R[1]);if(O.length<=y.r)for(E=O.length;E<=y.r;++E)O[E]||(O[E]=[]);switch(E=y.r,u=y.c,R[2]){case"t":O[E][u]=e(R[3]);break;case"v":O[E][u]=+R[3];break;case"vtf":var M=R[R.length-1];case"vtc":switch(R[3]){case"nl":O[E][u]=!!+R[4];break;default:O[E][u]=+R[4];break}R[2]=="vtf"&&(O[E][u]=[O[E][u],M])}}}return x&&x.sheetRows&&(O=O.slice(0,x.sheetRows)),O}function n(p,x){return ft(r(p,x),x)}function a(p,x){return Xr(n(p,x),x)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(` +`),s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(` +`)+` +`,f=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(` +`),o="--SocialCalcSpreadsheetControlSave--";function l(p){if(!p||!p["!ref"])return"";for(var x=[],v=[],E,u="",_=ar(p["!ref"]),O=Array.isArray(p),R=_.s.r;R<=_.e.r;++R)for(var y=_.s.c;y<=_.e.c;++y)if(u=me({r:R,c:y}),E=O?(p[R]||[])[y]:p[u],!(!E||E.v==null||E.t==="z")){switch(v=["cell",u,"t"],E.t){case"s":case"str":v.push(t(E.v));break;case"n":E.f?(v[2]="vtf",v[3]="n",v[4]=E.v,v[5]=t(E.f)):(v[2]="v",v[3]=E.v);break;case"b":v[2]="vt"+(E.f?"f":"c"),v[3]="nl",v[4]=E.v?"1":"0",v[5]=t(E.f||(E.v?"TRUE":"FALSE"));break;case"d":var M=Ze(je(E.v));v[2]="vtc",v[3]="nd",v[4]=""+M,v[5]=E.w||Nr(E.z||ye[14],M);break;case"e":continue}x.push(v.join(":"))}return x.push("sheet:c:"+(_.e.c-_.s.c+1)+":r:"+(_.e.r-_.s.r+1)+":tvf:1"),x.push("valueformat:1:text-wiki"),x.join(` +`)}function c(p){return[i,s,f,s,l(p),o].join(` +`)}return{to_workbook:a,to_sheet:n,from_sheet:c}}(),tl=function(){function e(c,p,x,v,E){E.raw?p[x][v]=c:c===""||(c==="TRUE"?p[x][v]=!0:c==="FALSE"?p[x][v]=!1:isNaN(Ar(c))?isNaN(St(c).getDate())?p[x][v]=c:p[x][v]=je(c):p[x][v]=Ar(c))}function t(c,p){var x=p||{},v=[];if(!c||c.length===0)return v;for(var E=c.split(/[\r\n]/),u=E.length-1;u>=0&&E[u].length===0;)--u;for(var _=10,O=0,R=0;R<=u;++R)O=E[R].indexOf(" "),O==-1?O=E[R].length:O++,_=Math.max(_,O);for(R=0;R<=u;++R){v[R]=[];var y=0;for(e(E[R].slice(0,_).trim(),v,R,y,x),y=1;y<=(E[R].length-_)/10+1;++y)e(E[R].slice(_+(y-1)*10,_+y*10).trim(),v,R,y,x)}return x.sheetRows&&(v=v.slice(0,x.sheetRows)),v}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(c){for(var p={},x=!1,v=0,E=0;v<c.length;++v)(E=c.charCodeAt(v))==34?x=!x:!x&&E in r&&(p[E]=(p[E]||0)+1);E=[];for(v in p)Object.prototype.hasOwnProperty.call(p,v)&&E.push([p[v],v]);if(!E.length){p=n;for(v in p)Object.prototype.hasOwnProperty.call(p,v)&&E.push([p[v],v])}return E.sort(function(u,_){return u[0]-_[0]||n[u[1]]-n[_[1]]}),r[E.pop()[1]]||44}function i(c,p){var x=p||{},v="",E=x.dense?[]:{},u={s:{c:0,r:0},e:{c:0,r:0}};c.slice(0,4)=="sep="?c.charCodeAt(5)==13&&c.charCodeAt(6)==10?(v=c.charAt(4),c=c.slice(7)):c.charCodeAt(5)==13||c.charCodeAt(5)==10?(v=c.charAt(4),c=c.slice(6)):v=a(c.slice(0,1024)):x.FS?v=x.FS:v=a(c.slice(0,1024));var _=0,O=0,R=0,y=0,M=0,j=v.charCodeAt(0),ee=!1,C=0,b=c.charCodeAt(0);c=c.replace(/\r\n/mg,` +`);var L=x.dateNF!=null?ms(x.dateNF):null;function G(){var V=c.slice(y,M),K={};if(V.charAt(0)=='"'&&V.charAt(V.length-1)=='"'&&(V=V.slice(1,-1).replace(/""/g,'"')),V.length===0)K.t="z";else if(x.raw)K.t="s",K.v=V;else if(V.trim().length===0)K.t="s",K.v=V;else if(V.charCodeAt(0)==61)V.charCodeAt(1)==34&&V.charCodeAt(V.length-1)==34?(K.t="s",K.v=V.slice(2,-1).replace(/""/g,'"')):eo(V)?(K.t="n",K.f=V.slice(1)):(K.t="s",K.v=V);else if(V=="TRUE")K.t="b",K.v=!0;else if(V=="FALSE")K.t="b",K.v=!1;else if(!isNaN(R=Ar(V)))K.t="n",x.cellText!==!1&&(K.w=V),K.v=R;else if(!isNaN(St(V).getDate())||L&&V.match(L)){K.z=x.dateNF||ye[14];var re=0;L&&V.match(L)&&(V=gs(V,x.dateNF,V.match(L)||[]),re=1),x.cellDates?(K.t="d",K.v=je(V,re)):(K.t="n",K.v=Ze(je(V,re))),x.cellText!==!1&&(K.w=Nr(K.z,K.v instanceof Date?Ze(K.v):K.v)),x.cellNF||delete K.z}else K.t="s",K.v=V;if(K.t=="z"||(x.dense?(E[_]||(E[_]=[]),E[_][O]=K):E[me({c:O,r:_})]=K),y=M+1,b=c.charCodeAt(y),u.e.c<O&&(u.e.c=O),u.e.r<_&&(u.e.r=_),C==j)++O;else if(O=0,++_,x.sheetRows&&x.sheetRows<=_)return!0}e:for(;M<c.length;++M)switch(C=c.charCodeAt(M)){case 34:b===34&&(ee=!ee);break;case j:case 10:case 13:if(!ee&&G())break e;break}return M-y>0&&G(),E["!ref"]=De(u),E}function s(c,p){return!(p&&p.PRN)||p.FS||c.slice(0,4)=="sep="||c.indexOf(" ")>=0||c.indexOf(",")>=0||c.indexOf(";")>=0?i(c,p):ft(t(c,p),p)}function f(c,p){var x="",v=p.type=="string"?[0,0,0,0]:pu(c,p);switch(p.type){case"base64":x=yr(c);break;case"binary":x=c;break;case"buffer":p.codepage==65001?x=c.toString("utf8"):(p.codepage,x=ue&&Buffer.isBuffer(c)?c.toString("binary"):Ot(c));break;case"array":x=l0(c);break;case"string":x=c;break;default:throw new Error("Unrecognized type "+p.type)}return v[0]==239&&v[1]==187&&v[2]==191?x=dt(x.slice(3)):p.type!="string"&&p.type!="buffer"&&p.codepage==65001?x=dt(x):p.type=="binary",x.slice(0,19)=="socialcalc:version:"?Ya.to_sheet(p.type=="string"?x:dt(x),p):s(x,p)}function o(c,p){return Xr(f(c,p),p)}function l(c){for(var p=[],x=Ee(c["!ref"]),v,E=Array.isArray(c),u=x.s.r;u<=x.e.r;++u){for(var _=[],O=x.s.c;O<=x.e.c;++O){var R=me({r:u,c:O});if(v=E?(c[u]||[])[O]:c[R],!v||v.v==null){_.push(" ");continue}for(var y=(v.w||(Cr(v),v.w)||"").slice(0,10);y.length<10;)y+=" ";_.push(y+(O===0?" ":""))}p.push(_.join(""))}return p.join(` +`)}return{to_workbook:o,to_sheet:f,from_sheet:l}}(),bn=function(){function e(S,P,F){if(S){rr(S,S.l||0);for(var A=F.Enum||ir;S.l<S.length;){var H=S.read_shift(2),ie=A[H]||A[65535],se=S.read_shift(2),ae=S.l+se,q=ie.f&&ie.f(S,se,F);if(S.l=ae,P(q,ie,H))return}}}function t(S,P){switch(P.type){case"base64":return r(xr(yr(S)),P);case"binary":return r(xr(S),P);case"buffer":case"array":return r(S,P)}throw"Unsupported type "+P.type}function r(S,P){if(!S)return S;var F=P||{},A=F.dense?[]:{},H="Sheet1",ie="",se=0,ae={},q=[],Te=[],ce={s:{r:0,c:0},e:{r:0,c:0}},ze=F.sheetRows||0;if(S[2]==0&&(S[3]==8||S[3]==9)&&S.length>=16&&S[14]==5&&S[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(S[2]==2)F.Enum=ir,e(S,function(ne,sr,Er){switch(Er){case 0:F.vers=ne,ne>=4096&&(F.qpro=!0);break;case 6:ce=ne;break;case 204:ne&&(ie=ne);break;case 222:ie=ne;break;case 15:case 51:F.qpro||(ne[1].v=ne[1].v.slice(1));case 13:case 14:case 16:Er==14&&(ne[2]&112)==112&&(ne[2]&15)>1&&(ne[2]&15)<15&&(ne[1].z=F.dateNF||ye[14],F.cellDates&&(ne[1].t="d",ne[1].v=ca(ne[1].v))),F.qpro&&ne[3]>se&&(A["!ref"]=De(ce),ae[H]=A,q.push(H),A=F.dense?[]:{},ce={s:{r:0,c:0},e:{r:0,c:0}},se=ne[3],H=ie||"Sheet"+(se+1),ie="");var Mr=F.dense?(A[ne[0].r]||[])[ne[0].c]:A[me(ne[0])];if(Mr){Mr.t=ne[1].t,Mr.v=ne[1].v,ne[1].z!=null&&(Mr.z=ne[1].z),ne[1].f!=null&&(Mr.f=ne[1].f);break}F.dense?(A[ne[0].r]||(A[ne[0].r]=[]),A[ne[0].r][ne[0].c]=ne[1]):A[me(ne[0])]=ne[1];break}},F);else if(S[2]==26||S[2]==14)F.Enum=Qe,S[2]==14&&(F.qpro=!0,S.l=0),e(S,function(ne,sr,Er){switch(Er){case 204:H=ne;break;case 22:ne[1].v=ne[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(ne[3]>se&&(A["!ref"]=De(ce),ae[H]=A,q.push(H),A=F.dense?[]:{},ce={s:{r:0,c:0},e:{r:0,c:0}},se=ne[3],H="Sheet"+(se+1)),ze>0&&ne[0].r>=ze)break;F.dense?(A[ne[0].r]||(A[ne[0].r]=[]),A[ne[0].r][ne[0].c]=ne[1]):A[me(ne[0])]=ne[1],ce.e.c<ne[0].c&&(ce.e.c=ne[0].c),ce.e.r<ne[0].r&&(ce.e.r=ne[0].r);break;case 27:ne[14e3]&&(Te[ne[14e3][0]]=ne[14e3][1]);break;case 1537:Te[ne[0]]=ne[1],ne[0]==se&&(H=ne[1]);break}},F);else throw new Error("Unrecognized LOTUS BOF "+S[2]);if(A["!ref"]=De(ce),ae[ie||H]=A,q.push(ie||H),!Te.length)return{SheetNames:q,Sheets:ae};for(var xe={},Tr=[],Ae=0;Ae<Te.length;++Ae)ae[q[Ae]]?(Tr.push(Te[Ae]||q[Ae]),xe[Te[Ae]]=ae[Te[Ae]]||ae[q[Ae]]):(Tr.push(Te[Ae]),xe[Te[Ae]]={"!ref":"A1"});return{SheetNames:Tr,Sheets:xe}}function n(S,P){var F=P||{};if(+F.codepage>=0&&Et(+F.codepage),F.type=="string")throw new Error("Cannot write WK1 to JS string");var A=Je(),H=Ee(S["!ref"]),ie=Array.isArray(S),se=[];J(A,0,i(1030)),J(A,6,o(H));for(var ae=Math.min(H.e.r,8191),q=H.s.r;q<=ae;++q)for(var Te=He(q),ce=H.s.c;ce<=H.e.c;++ce){q===H.s.r&&(se[ce]=Xe(ce));var ze=se[ce]+Te,xe=ie?(S[q]||[])[ce]:S[ze];if(!(!xe||xe.t=="z"))if(xe.t=="n")(xe.v|0)==xe.v&&xe.v>=-32768&&xe.v<=32767?J(A,13,v(q,ce,xe.v)):J(A,14,u(q,ce,xe.v));else{var Tr=Cr(xe);J(A,15,p(q,ce,Tr.slice(0,239)))}}return J(A,1),A.end()}function a(S,P){var F=P||{};if(+F.codepage>=0&&Et(+F.codepage),F.type=="string")throw new Error("Cannot write WK3 to JS string");var A=Je();J(A,0,s(S));for(var H=0,ie=0;H<S.SheetNames.length;++H)(S.Sheets[S.SheetNames[H]]||{})["!ref"]&&J(A,27,Ne(S.SheetNames[H],ie++));var se=0;for(H=0;H<S.SheetNames.length;++H){var ae=S.Sheets[S.SheetNames[H]];if(!(!ae||!ae["!ref"])){for(var q=Ee(ae["!ref"]),Te=Array.isArray(ae),ce=[],ze=Math.min(q.e.r,8191),xe=q.s.r;xe<=ze;++xe)for(var Tr=He(xe),Ae=q.s.c;Ae<=q.e.c;++Ae){xe===q.s.r&&(ce[Ae]=Xe(Ae));var ne=ce[Ae]+Tr,sr=Te?(ae[xe]||[])[Ae]:ae[ne];if(!(!sr||sr.t=="z"))if(sr.t=="n")J(A,23,G(xe,Ae,se,sr.v));else{var Er=Cr(sr);J(A,22,C(xe,Ae,se,Er.slice(0,239)))}}++se}}return J(A,1),A.end()}function i(S){var P=B(2);return P.write_shift(2,S),P}function s(S){var P=B(26);P.write_shift(2,4096),P.write_shift(2,4),P.write_shift(4,0);for(var F=0,A=0,H=0,ie=0;ie<S.SheetNames.length;++ie){var se=S.SheetNames[ie],ae=S.Sheets[se];if(!(!ae||!ae["!ref"])){++H;var q=ar(ae["!ref"]);F<q.e.r&&(F=q.e.r),A<q.e.c&&(A=q.e.c)}}return F>8191&&(F=8191),P.write_shift(2,F),P.write_shift(1,H),P.write_shift(1,A),P.write_shift(2,0),P.write_shift(2,0),P.write_shift(1,1),P.write_shift(1,2),P.write_shift(4,0),P.write_shift(4,0),P}function f(S,P,F){var A={s:{c:0,r:0},e:{c:0,r:0}};return P==8&&F.qpro?(A.s.c=S.read_shift(1),S.l++,A.s.r=S.read_shift(2),A.e.c=S.read_shift(1),S.l++,A.e.r=S.read_shift(2),A):(A.s.c=S.read_shift(2),A.s.r=S.read_shift(2),P==12&&F.qpro&&(S.l+=2),A.e.c=S.read_shift(2),A.e.r=S.read_shift(2),P==12&&F.qpro&&(S.l+=2),A.s.c==65535&&(A.s.c=A.e.c=A.s.r=A.e.r=0),A)}function o(S){var P=B(8);return P.write_shift(2,S.s.c),P.write_shift(2,S.s.r),P.write_shift(2,S.e.c),P.write_shift(2,S.e.r),P}function l(S,P,F){var A=[{c:0,r:0},{t:"n",v:0},0,0];return F.qpro&&F.vers!=20768?(A[0].c=S.read_shift(1),A[3]=S.read_shift(1),A[0].r=S.read_shift(2),S.l+=2):(A[2]=S.read_shift(1),A[0].c=S.read_shift(2),A[0].r=S.read_shift(2)),A}function c(S,P,F){var A=S.l+P,H=l(S,P,F);if(H[1].t="s",F.vers==20768){S.l++;var ie=S.read_shift(1);return H[1].v=S.read_shift(ie,"utf8"),H}return F.qpro&&S.l++,H[1].v=S.read_shift(A-S.l,"cstr"),H}function p(S,P,F){var A=B(7+F.length);A.write_shift(1,255),A.write_shift(2,P),A.write_shift(2,S),A.write_shift(1,39);for(var H=0;H<A.length;++H){var ie=F.charCodeAt(H);A.write_shift(1,ie>=128?95:ie)}return A.write_shift(1,0),A}function x(S,P,F){var A=l(S,P,F);return A[1].v=S.read_shift(2,"i"),A}function v(S,P,F){var A=B(7);return A.write_shift(1,255),A.write_shift(2,P),A.write_shift(2,S),A.write_shift(2,F,"i"),A}function E(S,P,F){var A=l(S,P,F);return A[1].v=S.read_shift(8,"f"),A}function u(S,P,F){var A=B(13);return A.write_shift(1,255),A.write_shift(2,P),A.write_shift(2,S),A.write_shift(8,F,"f"),A}function _(S,P,F){var A=S.l+P,H=l(S,P,F);if(H[1].v=S.read_shift(8,"f"),F.qpro)S.l=A;else{var ie=S.read_shift(2);M(S.slice(S.l,S.l+ie),H),S.l+=ie}return H}function O(S,P,F){var A=P&32768;return P&=-32769,P=(A?S:0)+(P>=8192?P-16384:P),(A?"":"$")+(F?Xe(P):He(P))}var R={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},y=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function M(S,P){rr(S,0);for(var F=[],A=0,H="",ie="",se="",ae="";S.l<S.length;){var q=S[S.l++];switch(q){case 0:F.push(S.read_shift(8,"f"));break;case 1:ie=O(P[0].c,S.read_shift(2),!0),H=O(P[0].r,S.read_shift(2),!1),F.push(ie+H);break;case 2:{var Te=O(P[0].c,S.read_shift(2),!0),ce=O(P[0].r,S.read_shift(2),!1);ie=O(P[0].c,S.read_shift(2),!0),H=O(P[0].r,S.read_shift(2),!1),F.push(Te+ce+":"+ie+H)}break;case 3:if(S.l<S.length){console.error("WK1 premature formula end");return}break;case 4:F.push("("+F.pop()+")");break;case 5:F.push(S.read_shift(2));break;case 6:{for(var ze="";q=S[S.l++];)ze+=String.fromCharCode(q);F.push('"'+ze.replace(/"/g,'""')+'"')}break;case 8:F.push("-"+F.pop());break;case 23:F.push("+"+F.pop());break;case 22:F.push("NOT("+F.pop()+")");break;case 20:case 21:ae=F.pop(),se=F.pop(),F.push(["AND","OR"][q-20]+"("+se+","+ae+")");break;default:if(q<32&&y[q])ae=F.pop(),se=F.pop(),F.push(se+y[q]+ae);else if(R[q]){if(A=R[q][1],A==69&&(A=S[S.l++]),A>F.length){console.error("WK1 bad formula parse 0x"+q.toString(16)+":|"+F.join("|")+"|");return}var xe=F.slice(-A);F.length-=A,F.push(R[q][0]+"("+xe.join(",")+")")}else return q<=7?console.error("WK1 invalid opcode "+q.toString(16)):q<=24?console.error("WK1 unsupported op "+q.toString(16)):q<=30?console.error("WK1 invalid opcode "+q.toString(16)):q<=115?console.error("WK1 unsupported function opcode "+q.toString(16)):console.error("WK1 unrecognized opcode "+q.toString(16))}}F.length==1?P[1].f=""+F[0]:console.error("WK1 bad formula parse |"+F.join("|")+"|")}function j(S){var P=[{c:0,r:0},{t:"n",v:0},0];return P[0].r=S.read_shift(2),P[3]=S[S.l++],P[0].c=S[S.l++],P}function ee(S,P){var F=j(S);return F[1].t="s",F[1].v=S.read_shift(P-4,"cstr"),F}function C(S,P,F,A){var H=B(6+A.length);H.write_shift(2,S),H.write_shift(1,F),H.write_shift(1,P),H.write_shift(1,39);for(var ie=0;ie<A.length;++ie){var se=A.charCodeAt(ie);H.write_shift(1,se>=128?95:se)}return H.write_shift(1,0),H}function b(S,P){var F=j(S);F[1].v=S.read_shift(2);var A=F[1].v>>1;if(F[1].v&1)switch(A&7){case 0:A=(A>>3)*5e3;break;case 1:A=(A>>3)*500;break;case 2:A=(A>>3)/20;break;case 3:A=(A>>3)/200;break;case 4:A=(A>>3)/2e3;break;case 5:A=(A>>3)/2e4;break;case 6:A=(A>>3)/16;break;case 7:A=(A>>3)/64;break}return F[1].v=A,F}function L(S,P){var F=j(S),A=S.read_shift(4),H=S.read_shift(4),ie=S.read_shift(2);if(ie==65535)return A===0&&H===3221225472?(F[1].t="e",F[1].v=15):A===0&&H===3489660928?(F[1].t="e",F[1].v=42):F[1].v=0,F;var se=ie&32768;return ie=(ie&32767)-16446,F[1].v=(1-se*2)*(H*Math.pow(2,ie+32)+A*Math.pow(2,ie)),F}function G(S,P,F,A){var H=B(14);if(H.write_shift(2,S),H.write_shift(1,F),H.write_shift(1,P),A==0)return H.write_shift(4,0),H.write_shift(4,0),H.write_shift(2,65535),H;var ie=0,se=0,ae=0,q=0;return A<0&&(ie=1,A=-A),se=Math.log2(A)|0,A/=Math.pow(2,se-31),q=A>>>0,q&2147483648||(A/=2,++se,q=A>>>0),A-=q,q|=2147483648,q>>>=0,A*=Math.pow(2,32),ae=A>>>0,H.write_shift(4,ae),H.write_shift(4,q),se+=16383+(ie?32768:0),H.write_shift(2,se),H}function V(S,P){var F=L(S);return S.l+=P-14,F}function K(S,P){var F=j(S),A=S.read_shift(4);return F[1].v=A>>6,F}function re(S,P){var F=j(S),A=S.read_shift(8,"f");return F[1].v=A,F}function ge(S,P){var F=re(S);return S.l+=P-10,F}function le(S,P){return S[S.l+P-1]==0?S.read_shift(P,"cstr"):""}function Me(S,P){var F=S[S.l++];F>P-1&&(F=P-1);for(var A="";A.length<F;)A+=String.fromCharCode(S[S.l++]);return A}function Ce(S,P,F){if(!(!F.qpro||P<21)){var A=S.read_shift(1);S.l+=17,S.l+=1,S.l+=2;var H=S.read_shift(P-21,"cstr");return[A,H]}}function cr(S,P){for(var F={},A=S.l+P;S.l<A;){var H=S.read_shift(2);if(H==14e3){for(F[H]=[0,""],F[H][0]=S.read_shift(2);S[S.l];)F[H][1]+=String.fromCharCode(S[S.l]),S.l++;S.l++}}return F}function Ne(S,P){var F=B(5+S.length);F.write_shift(2,14e3),F.write_shift(2,P);for(var A=0;A<S.length;++A){var H=S.charCodeAt(A);F[F.l++]=H>127?95:H}return F[F.l++]=0,F}var ir={0:{n:"BOF",f:Ga},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:x},14:{n:"NUMBER",f:E},15:{n:"LABEL",f:c},16:{n:"FORMULA",f:_},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:c},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:le},222:{n:"SHEETNAMELP",f:Me},65535:{n:""}},Qe={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:ee},23:{n:"NUMBER17",f:L},24:{n:"NUMBER18",f:b},25:{n:"FORMULA19",f:V},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:cr},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:K},38:{n:"??"},39:{n:"NUMBER27",f:re},40:{n:"FORMULA28",f:ge},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:le},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:Ce},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:a,to_workbook:t}}(),nl=/^\s|\s$|[\t\n\r]/;function $a(e,t){if(!t.bookSST)return"";var r=[Re];r[r.length]=Y("sst",null,{xmlns:st[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var a=e[n],i="<si>";a.r?i+=a.r:(i+="<t",a.t||(a.t=""),a.t.match(nl)&&(i+=' xml:space="preserve"'),i+=">"+de(a.t)+"</t>"),i+="</si>",r[r.length]=i}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function al(e){return[e.read_shift(4),e.read_shift(4)]}function il(e,t){return t||(t=B(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var sl=js;function fl(e){var t=Je();W(t,159,il(e));for(var r=0;r<e.length;++r)W(t,19,sl(e[r]));return W(t,160),t.end()}function ll(e){for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function ja(e){var t=0,r,n=ll(e),a=n.length+1,i,s,f,o,l;for(r=Hr(a),r[0]=n.length,i=1;i!=a;++i)r[i]=n[i-1];for(i=a-1;i>=0;--i)s=r[i],f=t&16384?1:0,o=t<<1&32767,l=f|o,t=l^s;return t^52811}var ol=function(){function e(a,i){switch(i.type){case"base64":return t(yr(a),i);case"binary":return t(a,i);case"buffer":return t(ue&&Buffer.isBuffer(a)?a.toString("binary"):Ot(a),i);case"array":return t(l0(a),i)}throw new Error("Unrecognized type "+i.type)}function t(a,i){var s=i||{},f=s.dense?[]:{},o=a.match(/\\trowd.*?\\row\b/g);if(!o.length)throw new Error("RTF missing table");var l={s:{c:0,r:0},e:{c:0,r:o.length-1}};return o.forEach(function(c,p){Array.isArray(f)&&(f[p]=[]);for(var x=/\\\w+\b/g,v=0,E,u=-1;E=x.exec(c);){switch(E[0]){case"\\cell":var _=c.slice(v,x.lastIndex-E[0].length);if(_[0]==" "&&(_=_.slice(1)),++u,_.length){var O={v:_,t:"s"};Array.isArray(f)?f[p][u]=O:f[me({r:p,c:u})]=O}break}v=x.lastIndex}u>l.e.c&&(l.e.c=u)}),f["!ref"]=De(l),f}function r(a,i){return Xr(e(a,i),i)}function n(a){for(var i=["{\\rtf1\\ansi"],s=Ee(a["!ref"]),f,o=Array.isArray(a),l=s.s.r;l<=s.e.r;++l){i.push("\\trowd\\trautofit1");for(var c=s.s.c;c<=s.e.c;++c)i.push("\\cellx"+(c+1));for(i.push("\\pard\\intbl"),c=s.s.c;c<=s.e.c;++c){var p=me({r:l,c});f=o?(a[l]||[])[c]:a[p],!(!f||f.v==null&&(!f.f||f.F))&&(i.push(" "+(f.w||(Cr(f),f.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}}();function Wn(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}var cl=6,Fr=cl;function Qt(e){return Math.floor((e+Math.round(128/Fr)/256)*Fr)}function e0(e){return Math.floor((e-5)/Fr*100+.5)/100}function O0(e){return Math.round((e*Fr+5)/Fr*256)/256}function V0(e){e.width?(e.wpx=Qt(e.width),e.wch=e0(e.wpx),e.MDW=Fr):e.wpx?(e.wch=e0(e.wpx),e.width=O0(e.wch),e.MDW=Fr):typeof e.wch=="number"&&(e.width=O0(e.wch),e.wpx=Qt(e.width),e.MDW=Fr),e.customWidth&&delete e.customWidth}var hl=96,Ja=hl;function r0(e){return e*96/Ja}function Za(e){return e*Ja/96}function ul(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)e[n]!=null&&(t[t.length]=Y("numFmt",null,{numFmtId:n,formatCode:de(e[n])}))}),t.length===1?"":(t[t.length]="</numFmts>",t[0]=Y("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function xl(e){var t=[];return t[t.length]=Y("cellXfs",null),e.forEach(function(r){t[t.length]=Y("xf",null,r)}),t[t.length]="</cellXfs>",t.length===2?"":(t[0]=Y("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function qa(e,t){var r=[Re,Y("styleSheet",null,{xmlns:st[0],"xmlns:vt":ke.vt})],n;return e.SSF&&(n=ul(e.SSF))!=null&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=xl(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function vl(e,t){var r=e.read_shift(2),n=Ke(e);return[r,n]}function pl(e,t,r){r||(r=B(6+4*t.length)),r.write_shift(2,e),Le(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function dl(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=tf(e);a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1);var i=e.read_shift(2);switch(i===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var s=e.read_shift(1);s!=0&&(n.underline=s);var f=e.read_shift(1);f>0&&(n.family=f);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=rf(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=Ke(e),n}function ml(e,t){t||(t=B(25+4*32)),t.write_shift(2,e.sz*20),nf(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),Zt(e.color,t);var n=0;return e.scheme=="major"&&(n=1),e.scheme=="minor"&&(n=2),t.write_shift(1,n),Le(e.name,t),t.length>t.l?t.slice(0,t.l):t}var gl=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],E0,_l=_r;function Hn(e,t){t||(t=B(4*3+8*7+16*1)),E0||(E0=I0(gl));var r=E0[e.patternType];r==null&&(r=40),t.write_shift(4,r);var n=0;if(r!=40)for(Zt({auto:1},t),Zt({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Tl(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}function Qa(e,t,r){r||(r=B(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function xt(e,t){return t||(t=B(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var El=_r;function wl(e,t){return t||(t=B(51)),t.write_shift(1,0),xt(null,t),xt(null,t),xt(null,t),xt(null,t),xt(null,t),t.length>t.l?t.slice(0,t.l):t}function Sl(e,t){return t||(t=B(12+4*10)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,0),t.write_shift(1,0),Jt(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function Al(e,t,r){var n=B(2052);return n.write_shift(4,e),Jt(t,n),Jt(r,n),n.length>n.l?n.slice(0,n.l):n}function Fl(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&++r}),r!=0&&(W(e,615,pr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&W(e,44,pl(a,t[a]))}),W(e,616))}}function yl(e){var t=1;W(e,611,pr(t)),W(e,43,ml({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),W(e,612)}function Cl(e){var t=2;W(e,603,pr(t)),W(e,45,Hn({patternType:"none"})),W(e,45,Hn({patternType:"gray125"})),W(e,604)}function Ol(e){var t=1;W(e,613,pr(t)),W(e,46,wl()),W(e,614)}function Dl(e){var t=1;W(e,626,pr(t)),W(e,47,Qa({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),W(e,627)}function Rl(e,t){W(e,617,pr(t.length)),t.forEach(function(r){W(e,47,Qa(r,0))}),W(e,618)}function Il(e){var t=1;W(e,619,pr(t)),W(e,48,Sl({xfId:0,builtinId:0,name:"Normal"})),W(e,620)}function Nl(e){var t=0;W(e,505,pr(t)),W(e,506)}function kl(e){var t=0;W(e,508,Al(t,"TableStyleMedium9","PivotStyleMedium4")),W(e,509)}function Pl(e,t){var r=Je();return W(r,278),Fl(r,e.SSF),yl(r),Cl(r),Ol(r),Dl(r),Rl(r,t.cellXfs),Il(r),Nl(r),kl(r),W(r,279),r.end()}function ei(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[Re];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function Ll(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Ke(e)}}function Ml(e){var t=B(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),Le(e.name,t),t.slice(0,t.l)}function Bl(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function Ul(e){var t=B(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r<e.length;++r)t.write_shift(4,e[r][0]),t.write_shift(4,e[r][1]);return t}function bl(e,t){var r=B(8+2*t.length);return r.write_shift(4,e),Le(t,r),r.slice(0,r.l)}function Wl(e){return e.l+=4,e.read_shift(4)!=0}function Hl(e,t){var r=B(8);return r.write_shift(4,e),r.write_shift(4,1),r}function Gl(){var e=Je();return W(e,332),W(e,334,pr(1)),W(e,335,Ml({name:"XLDAPR",version:12e4,flags:3496657072})),W(e,336),W(e,339,bl(1,"XLDAPR")),W(e,52),W(e,35,pr(514)),W(e,4096,pr(0)),W(e,4097,lr(1)),W(e,36),W(e,53),W(e,340),W(e,337,Hl(1)),W(e,51,Ul([[1,0]])),W(e,338),W(e,333),e.end()}function ri(){var e=[Re];return e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray"> + <metadataTypes count="1"> + <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/> + </metadataTypes> + <futureMetadata name="XLDAPR" count="1"> + <bk> + <extLst> + <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}"> + <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/> + </ext> + </extLst> + </bk> + </futureMetadata> + <cellMetadata count="1"> + <bk> + <rc t="1" v="0"/> + </bk> + </cellMetadata> +</metadata>`),e.join("")}function Vl(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=me(r);var n=e.read_shift(1);return n&2&&(t.l="1"),n&8&&(t.a="1"),t}var et=1024;function ti(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[Y("xml",null,{"xmlns:v":tr.v,"xmlns:o":tr.o,"xmlns:x":tr.x,"xmlns:mv":tr.mv}).replace(/\/>/,">"),Y("o:shapelayout",Y("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Y("v:shapetype",[Y("v:stroke",null,{joinstyle:"miter"}),Y("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];et<e*1e3;)et+=1e3;return t.forEach(function(i){var s=Pe(i[0]),f={color2:"#BEFF82",type:"gradient"};f.type=="gradient"&&(f.angle="-180");var o=f.type=="gradient"?Y("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,l=Y("v:fill",o,f),c={on:"t",obscured:"t"};++et,a=a.concat(["<v:shape"+Ft({id:"_x0000_s"+et,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(i[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",l,Y("v:shadow",null,c),Y("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",We("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),We("x:AutoFill","False"),We("x:Row",String(s.r)),We("x:Column",String(s.c)),i[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}function ni(e){var t=[Re,Y("comments",null,{xmlns:st[0]})],r=[];return t.push("<authors>"),e.forEach(function(n){n[1].forEach(function(a){var i=de(a.a);r.indexOf(i)==-1&&(r.push(i),t.push("<author>"+i+"</author>")),a.T&&a.ID&&r.indexOf("tc="+a.ID)==-1&&(r.push("tc="+a.ID),t.push("<author>tc="+a.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(n){var a=0,i=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?a=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(o){o.a&&(a=r.indexOf(de(o.a))),i.push(o.t||"")}),t.push('<comment ref="'+n[0]+'" authorId="'+a+'"><text>'),i.length<=1)t.push(We("t",de(i[0]||"")));else{for(var s=`Comment: + `+i[0]+` +`,f=1;f<i.length;++f)s+=`Reply: + `+i[f]+` +`;t.push(We("t",de(s)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function Xl(e,t,r){var n=[Re,Y("ThreadedComments",null,{xmlns:ke.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(a){var i="";(a[1]||[]).forEach(function(s,f){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var o={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};f==0?i=o.id:o.parentId=i,s.ID=o.id,s.a&&(o.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(Y("threadedComment",We("text",s.t||""),o))})}),n.push("</ThreadedComments>"),n.join("")}function Kl(e){var t=[Re,Y("personList",null,{xmlns:ke.TCMNT,"xmlns:x":st[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(Y("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}function zl(e){var t={};t.iauthor=e.read_shift(4);var r=$r(e);return t.rfx=r.s,t.ref=me(r.s),e.l+=16,t}function Yl(e,t){return t==null&&(t=B(36)),t.write_shift(4,e[1].iauthor),lt(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var $l=Ke;function jl(e){return Le(e.slice(0,54))}function Jl(e){var t=Je(),r=[];return W(t,628),W(t,630),e.forEach(function(n){n[1].forEach(function(a){r.indexOf(a.a)>-1||(r.push(a.a.slice(0,54)),W(t,632,jl(a.a)))})}),W(t,631),W(t,633),e.forEach(function(n){n[1].forEach(function(a){a.iauthor=r.indexOf(a.a);var i={s:Pe(n[0]),e:Pe(n[0])};W(t,635,Yl([i,a])),a.t&&a.t.length>0&&W(t,637,Zs(a)),W(t,636),delete a.iauthor})}),W(t,634),W(t,629),t.end()}function Zl(e,t){t.FullPaths.forEach(function(r,n){if(n!=0){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");a.slice(-1)!=="/"&&_e.utils.cfb_add(e,a,t.FileIndex[n].content)}})}var ai=["xlsb","xlsm","xlam","biff8","xla"],ql=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(n,a,i,s){var f=!1,o=!1;i.length==0?o=!0:i.charAt(0)=="["&&(o=!0,i=i.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var l=i.length>0?parseInt(i,10)|0:0,c=s.length>0?parseInt(s,10)|0:0;return f?c+=t.c:--c,o?l+=t.r:--l,a+(f?"":"$")+Xe(c)+(o?"":"$")+He(l)}return function(a,i){return t=i,a.replace(e,r)}}(),X0=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,K0=function(){return function(t,r){return t.replace(X0,function(n,a,i,s,f,o){var l=U0(s)-(i?0:r.c),c=B0(o)-(f?0:r.r),p=c==0?"":f?c+1:"["+c+"]",x=l==0?"":i?l+1:"["+l+"]";return a+"R"+p+"C"+x})}}();function Ql(e,t){return e.replace(X0,function(r,n,a,i,s,f){return n+(a=="$"?a+i:Xe(U0(i)+t.c))+(s=="$"?s+f:He(B0(f)+t.r))})}function eo(e){return e.length!=1}function Oe(e){e.l+=1}function kr(e,t){var r=e.read_shift(2);return[r&16383,r>>14&1,r>>15&1]}function ii(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return si(e);r.biff==12&&(n=4)}var a=e.read_shift(n),i=e.read_shift(n),s=kr(e),f=kr(e);return{s:{r:a,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function si(e){var t=kr(e),r=kr(e),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function ro(e,t,r){if(r.biff<8)return si(e);var n=e.read_shift(r.biff==12?4:2),a=e.read_shift(r.biff==12?4:2),i=kr(e),s=kr(e);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function fi(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return to(e);var n=e.read_shift(r&&r.biff==12?4:2),a=kr(e);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function to(e){var t=kr(e),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function no(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function ao(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return io(e);var a=e.read_shift(n>=12?4:2),i=e.read_shift(2),s=(i&16384)>>14,f=(i&32768)>>15;if(i&=16383,f==1)for(;a>524287;)a-=1048576;if(s==1)for(;i>8191;)i=i-16384;return{r:a,c:i,cRel:s,rRel:f}}function io(e){var t=e.read_shift(2),r=e.read_shift(1),n=(t&32768)>>15,a=(t&16384)>>14;return t&=16383,n==1&&t>=8192&&(t=t-16384),a==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:a,rRel:n}}function so(e,t,r){var n=(e[e.l++]&96)>>5,a=ii(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,a]}function fo(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2,"i"),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var s=ii(e,i,r);return[n,a,s]}function lo(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function oo(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[n,a]}function co(e,t,r){var n=(e[e.l++]&96)>>5,a=ro(e,t-1,r);return[n,a]}function ho(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function Gn(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function uo(e,t,r){e.l+=2;for(var n=e.read_shift(r&&r.biff==2?1:2),a=[],i=0;i<=n;++i)a.push(e.read_shift(r&&r.biff==2?1:2));return a}function xo(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function vo(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function po(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function mo(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function li(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function go(e){return e.read_shift(2),li(e)}function _o(e){return e.read_shift(2),li(e)}function To(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=fi(e,0,r);return[n,a]}function Eo(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=ao(e,0,r);return[n,a]}function wo(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(2);r&&r.biff==5&&(e.l+=12);var i=fi(e,0,r);return[n,a,i]}function So(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[Sc[a],hi[a],n]}function Ao(e,t,r){var n=e[e.l++],a=e.read_shift(1),i=r&&r.biff<=3?[n==88?-1:0,e.read_shift(1)]:Fo(e);return[a,(i[0]===0?hi:wc)[i[1]]]}function Fo(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function yo(e,t,r){e.l+=r&&r.biff==2?3:4}function Co(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function Oo(e){return e.l++,It[e.read_shift(1)]}function Do(e){return e.l++,e.read_shift(2)}function Ro(e){return e.l++,e.read_shift(1)!==0}function Io(e){return e.l++,ot(e)}function No(e,t,r){return e.l++,Xa(e,t-1,r)}function ko(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=Ef(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=It[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=ot(e);break;case 2:r[1]=Ff(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Po(e,t,r){for(var n=e.read_shift(r.biff==12?4:2),a=[],i=0;i!=n;++i)a.push((r.biff==12?$r:Of)(e));return a}function Lo(e,t,r){var n=0,a=0;r.biff==12?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--a==0&&(a=256));for(var i=0,s=[];i!=n&&(s[i]=[]);++i)for(var f=0;f!=a;++f)s[i][f]=ko(e,r.biff);return s}function Mo(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,i=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,i]}function Bo(e,t,r){if(r.biff==5)return Uo(e);var n=e.read_shift(1)>>>5&3,a=e.read_shift(2),i=e.read_shift(4);return[n,a,i]}function Uo(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function bo(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function Wo(e,t,r){var n=e.read_shift(1)>>>5&3,a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function Ho(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[n]}function Go(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[n,a]}var Vo=_r,Xo=_r,Ko=_r;function Nt(e,t,r){return e.l+=2,[no(e)]}function z0(e){return e.l+=6,[]}var zo=Nt,Yo=z0,$o=z0,jo=Nt;function oi(e){return e.l+=2,[Ga(e),e.read_shift(2)&1]}var Jo=Nt,Zo=oi,qo=z0,Qo=Nt,ec=Nt,rc=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function tc(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),i=e.read_shift(2),s=rc[r>>2&31];return{ixti:t,coltype:r&3,rt:s,idx:n,c:a,C:i}}function nc(e){return e.l+=2,[e.read_shift(4)]}function ac(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function ic(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function sc(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function fc(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function lc(e){return e.l+=4,[0,0]}var Vn={1:{n:"PtgExp",f:Co},2:{n:"PtgTbl",f:Ko},3:{n:"PtgAdd",f:Oe},4:{n:"PtgSub",f:Oe},5:{n:"PtgMul",f:Oe},6:{n:"PtgDiv",f:Oe},7:{n:"PtgPower",f:Oe},8:{n:"PtgConcat",f:Oe},9:{n:"PtgLt",f:Oe},10:{n:"PtgLe",f:Oe},11:{n:"PtgEq",f:Oe},12:{n:"PtgGe",f:Oe},13:{n:"PtgGt",f:Oe},14:{n:"PtgNe",f:Oe},15:{n:"PtgIsect",f:Oe},16:{n:"PtgUnion",f:Oe},17:{n:"PtgRange",f:Oe},18:{n:"PtgUplus",f:Oe},19:{n:"PtgUminus",f:Oe},20:{n:"PtgPercent",f:Oe},21:{n:"PtgParen",f:Oe},22:{n:"PtgMissArg",f:Oe},23:{n:"PtgStr",f:No},26:{n:"PtgSheet",f:ac},27:{n:"PtgEndSheet",f:ic},28:{n:"PtgErr",f:Oo},29:{n:"PtgBool",f:Ro},30:{n:"PtgInt",f:Do},31:{n:"PtgNum",f:Io},32:{n:"PtgArray",f:ho},33:{n:"PtgFunc",f:So},34:{n:"PtgFuncVar",f:Ao},35:{n:"PtgName",f:Mo},36:{n:"PtgRef",f:To},37:{n:"PtgArea",f:so},38:{n:"PtgMemArea",f:bo},39:{n:"PtgMemErr",f:Vo},40:{n:"PtgMemNoMem",f:Xo},41:{n:"PtgMemFunc",f:Wo},42:{n:"PtgRefErr",f:Ho},43:{n:"PtgAreaErr",f:lo},44:{n:"PtgRefN",f:Eo},45:{n:"PtgAreaN",f:co},46:{n:"PtgMemAreaN",f:sc},47:{n:"PtgMemNoMemN",f:fc},57:{n:"PtgNameX",f:Bo},58:{n:"PtgRef3d",f:wo},59:{n:"PtgArea3d",f:fo},60:{n:"PtgRefErr3d",f:Go},61:{n:"PtgAreaErr3d",f:oo},255:{}},oc={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},cc={1:{n:"PtgElfLel",f:oi},2:{n:"PtgElfRw",f:Qo},3:{n:"PtgElfCol",f:zo},6:{n:"PtgElfRwV",f:ec},7:{n:"PtgElfColV",f:jo},10:{n:"PtgElfRadical",f:Jo},11:{n:"PtgElfRadicalS",f:qo},13:{n:"PtgElfColS",f:Yo},15:{n:"PtgElfColSV",f:$o},16:{n:"PtgElfRadicalLel",f:Zo},25:{n:"PtgList",f:tc},29:{n:"PtgSxName",f:nc},255:{}},hc={0:{n:"PtgAttrNoop",f:lc},1:{n:"PtgAttrSemi",f:mo},2:{n:"PtgAttrIf",f:vo},4:{n:"PtgAttrChoose",f:uo},8:{n:"PtgAttrGoto",f:xo},16:{n:"PtgAttrSum",f:yo},32:{n:"PtgAttrBaxcel",f:Gn},33:{n:"PtgAttrBaxcel",f:Gn},64:{n:"PtgAttrSpace",f:go},65:{n:"PtgAttrSpaceSemi",f:_o},128:{n:"PtgAttrIfError",f:po},255:{}};function uc(e,t,r,n){if(n.biff<8)return _r(e,t);for(var a=e.l+t,i=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=Lo(e,0,n),i.push(r[s][1]);break;case"PtgMemArea":r[s][2]=Po(e,r[s][1],n),i.push(r[s][2]);break;case"PtgExp":n&&n.biff==12&&(r[s][1][1]=e.read_shift(4),i.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return t=a-e.l,t!==0&&i.push(_r(e,t)),i}function xc(e,t,r){for(var n=e.l+t,a,i,s=[];n!=e.l;)t=n-e.l,i=e[e.l],a=Vn[i]||Vn[oc[i]],(i===24||i===25)&&(a=(i===24?cc:hc)[e[e.l+1]]),!a||!a.f?_r(e,t):s.push([a.n,a.f(e,t,r)]);return s}function vc(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],i=0;i<n.length;++i){var s=n[i];if(s)switch(s[0]){case 2:a.push('"'+s[1].replace(/"/g,'""')+'"');break;default:a.push(s[1])}else a.push("")}t.push(a.join(","))}return t.join(";")}var pc={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function dc(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function ci(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[n[0]][0][3]?(a=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Xn(e,t,r){var n=ci(e,t,r);return n=="#REF"?n:dc(n,r)}function it(e,t,r,n,a){var i=a&&a.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},f=[],o,l,c,p=0,x=0,v,E="";if(!e[0]||!e[0][0])return"";for(var u=-1,_="",O=0,R=e[0].length;O<R;++O){var y=e[0][O];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=f.pop(),l=f.pop(),u>=0){switch(e[0][u][1][0]){case 0:_=Fe(" ",e[0][u][1][1]);break;case 1:_=Fe("\r",e[0][u][1][1]);break;default:if(_="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][u][1][0])}l=l+_,u=-1}f.push(l+pc[y[0]]+o);break;case"PtgIsect":o=f.pop(),l=f.pop(),f.push(l+" "+o);break;case"PtgUnion":o=f.pop(),l=f.pop(),f.push(l+","+o);break;case"PtgRange":o=f.pop(),l=f.pop(),f.push(l+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=gt(y[1][1],s,a),f.push(_t(c,i));break;case"PtgRefN":c=r?gt(y[1][1],r,a):y[1][1],f.push(_t(c,i));break;case"PtgRef3d":p=y[1][1],c=gt(y[1][2],s,a),E=Xn(n,p,a),f.push(E+"!"+_t(c,i));break;case"PtgFunc":case"PtgFuncVar":var M=y[1][0],j=y[1][1];M||(M=0),M&=127;var ee=M==0?[]:f.slice(-M);f.length-=M,j==="User"&&(j=ee.shift()),f.push(j+"("+ee.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":v=On(y[1][1],r?{s:r}:s,a),f.push(_0(v,a));break;case"PtgArea":v=On(y[1][1],s,a),f.push(_0(v,a));break;case"PtgArea3d":p=y[1][1],v=y[1][2],E=Xn(n,p,a),f.push(E+"!"+_0(v,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":x=y[1][2];var C=(n.names||[])[x-1]||(n[0]||[])[x],b=C?C.Name:"SH33TJSNAME"+String(x);b&&b.slice(0,6)=="_xlfn."&&!a.xlfn&&(b=b.slice(6)),f.push(b);break;case"PtgNameX":var L=y[1][1];x=y[1][2];var G;if(a.biff<=5)L<0&&(L=-L),n[L]&&(G=n[L][x]);else{var V="";if(((n[L]||[])[0]||[])[0]==14849||(((n[L]||[])[0]||[])[0]==1025?n[L][x]&&n[L][x].itab>0&&(V=n.SheetNames[n[L][x].itab-1]+"!"):V=n.SheetNames[x-1]+"!"),n[L]&&n[L][x])V+=n[L][x].Name;else if(n[0]&&n[0][x])V+=n[0][x].Name;else{var K=(ci(n,L,a)||"").split(";;");K[x-1]?V=K[x-1]:V+="SH33TJSERRX"}f.push(V);break}G||(G={Name:"SH33TJSERRY"}),f.push(G.Name);break;case"PtgParen":var re="(",ge=")";if(u>=0){switch(_="",e[0][u][1][0]){case 2:re=Fe(" ",e[0][u][1][1])+re;break;case 3:re=Fe("\r",e[0][u][1][1])+re;break;case 4:ge=Fe(" ",e[0][u][1][1])+ge;break;case 5:ge=Fe("\r",e[0][u][1][1])+ge;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][u][1][0])}u=-1}f.push(re+f.pop()+ge);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:y[1][1],r:y[1][0]};var le={c:r.c,r:r.r};if(n.sharedf[me(c)]){var Me=n.sharedf[me(c)];f.push(it(Me,s,le,n,a))}else{var Ce=!1;for(o=0;o!=n.arrayf.length;++o)if(l=n.arrayf[o],!(c.c<l[0].s.c||c.c>l[0].e.c)&&!(c.r<l[0].s.r||c.r>l[0].e.r)){f.push(it(l[1],s,le,n,a)),Ce=!0;break}Ce||f.push(y[1])}break;case"PtgArray":f.push("{"+vc(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":u=O;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(y));default:throw new Error("Unrecognized Formula Token: "+String(y))}var cr=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(a.biff!=3&&u>=0&&cr.indexOf(e[0][O][0])==-1){y=e[0][u];var Ne=!0;switch(y[1][0]){case 4:Ne=!1;case 0:_=Fe(" ",y[1][1]);break;case 5:Ne=!1;case 1:_=Fe("\r",y[1][1]);break;default:if(_="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((Ne?_:"")+f.pop()+(Ne?"":_)),u=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function mc(e){if(e==null){var t=B(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return Gr(e);return Gr(0)}function gc(e,t,r,n,a){var i=Vr(t,r,a),s=mc(e.v),f=B(6),o=33;f.write_shift(2,o),f.write_shift(4,0);for(var l=B(e.bf.length),c=0;c<e.bf.length;++c)l[c]=e.bf[c];var p=be([i,s,f,l]);return p}function o0(e,t,r){var n=e.read_shift(4),a=xc(e,n,r),i=e.read_shift(4),s=i>0?uc(e,i,a,r):null;return[a,s]}var _c=o0,c0=o0,Tc=o0,Ec=o0,wc={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},hi={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Sc={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Ac(e){var t="of:="+e.replace(X0,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function Fc(e){return e.replace(/\./,"!")}var Tt=typeof Map<"u";function Y0(e,t,r){var n=0,a=e.length;if(r){if(Tt?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=Tt?r.get(t):r[t];n<i.length;++n)if(e[i[n]].t===t)return e.Count++,i[n]}}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t},e.Count++,e.Unique++,r&&(Tt?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function h0(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(Fr=t.MDW),t.width!=null?r.customWidth=1:t.wpx!=null?n=e0(t.wpx):t.wch!=null&&(n=t.wch),n>-1?(r.width=O0(n),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function ui(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Lr(e,t,r){var n=r.revssf[t.z!=null?t.z:"General"],a=60,i=e.length;if(n==null&&r.ssf){for(;a<392;++a)if(r.ssf[a]==null){fa(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}}for(a=0;a!=i;++a)if(e[a].numFmtId===n)return a;return e[i]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function yc(e,t,r){if(e&&e["!ref"]){var n=Ee(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function Cc(e){if(e.length===0)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+De(e[r])+'"/>';return t+"</mergeCells>"}function Oc(e,t,r,n,a){var i=!1,s={},f=null;if(n.bookType!=="xlsx"&&t.vbaraw){var o=t.SheetNames[r];try{t.Workbook&&(o=t.Workbook.Sheets[r].CodeName||o)}catch{}i=!0,s.codeName=At(de(o))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),f=(f||"")+Y("outlinePr",null,l)}!i&&!f||(a[a.length]=Y("sheetPr",f,s))}var Dc=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Rc=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Ic(e){var t={sheet:1};return Dc.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),Rc.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=ja(e.password).toString(16).toUpperCase()),Y("sheetProtection",null,t)}function Nc(e){return ui(e),Y("pageMargins",null,e)}function kc(e,t){for(var r=["<cols>"],n,a=0;a!=t.length;++a)(n=t[a])&&(r[r.length]=Y("col",null,h0(a,n)));return r[r.length]="</cols>",r.join("")}function Pc(e,t,r,n){var a=typeof e.ref=="string"?e.ref:De(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=ar(a);s.s.r==s.e.r&&(s.e.r=ar(t["!ref"]).e.r,a=De(s));for(var f=0;f<i.length;++f){var o=i[f];if(o.Name=="_xlnm._FilterDatabase"&&o.Sheet==n){o.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return f==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),Y("autoFilter",null,{ref:a})}function Lc(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),Y("sheetViews",Y("sheetView",null,a),{})}function Mc(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var a="",i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=It[e.v];break;case"d":n&&n.cellDates?a=je(e.v,-1).toISOString():(e=qe(e),e.t="n",a=""+(e.v=Ze(je(e.v)))),typeof e.z>"u"&&(e.z=ye[14]);break;default:a=e.v;break}var f=We("v",de(a)),o={r:t},l=Lr(n.cellXfs,e,n);switch(l!==0&&(o.s=l),e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){f=We("v",""+Y0(n.Strings,e.v,n.revStrings)),o.t="s";break}o.t="str";break}if(e.t!=i&&(e.t=i,e.v=s),typeof e.f=="string"&&e.f){var c=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;f=Y("f",de(e.f),c)+(e.v!=null?f:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(o.cm=1),Y("c",f,o)}function Bc(e,t,r,n){var a=[],i=[],s=Ee(e["!ref"]),f="",o,l="",c=[],p=0,x=0,v=e["!rows"],E=Array.isArray(e),u={r:l},_,O=-1;for(x=s.s.c;x<=s.e.c;++x)c[x]=Xe(x);for(p=s.s.r;p<=s.e.r;++p){for(i=[],l=He(p),x=s.s.c;x<=s.e.c;++x){o=c[x]+l;var R=E?(e[p]||[])[x]:e[o];R!==void 0&&(f=Mc(R,o,e,t))!=null&&i.push(f)}(i.length>0||v&&v[p])&&(u={r:l},v&&v[p]&&(_=v[p],_.hidden&&(u.hidden=1),O=-1,_.hpx?O=r0(_.hpx):_.hpt&&(O=_.hpt),O>-1&&(u.ht=O,u.customHeight=1),_.level&&(u.outlineLevel=_.level)),a[a.length]=Y("row",i.join(""),u))}if(v)for(;p<v.length;++p)v&&v[p]&&(u={r:p+1},_=v[p],_.hidden&&(u.hidden=1),O=-1,_.hpx?O=r0(_.hpx):_.hpt&&(O=_.hpt),O>-1&&(u.ht=O,u.customHeight=1),_.level&&(u.outlineLevel=_.level),a[a.length]=Y("row","",u));return a.join("")}function xi(e,t,r,n){var a=[Re,Y("worksheet",null,{xmlns:st[0],"xmlns:r":ke.r})],i=r.SheetNames[e],s=0,f="",o=r.Sheets[i];o==null&&(o={});var l=o["!ref"]||"A1",c=Ee(l);if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),l=De(c)}n||(n={}),o["!comments"]=[];var p=[];Oc(o,r,e,t,a),a[a.length]=Y("dimension",null,{ref:l}),a[a.length]=Lc(o,t,e,r),t.sheetFormat&&(a[a.length]=Y("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),o["!cols"]!=null&&o["!cols"].length>0&&(a[a.length]=kc(o,o["!cols"])),a[s=a.length]="<sheetData/>",o["!links"]=[],o["!ref"]!=null&&(f=Bc(o,t),f.length>0&&(a[a.length]=f)),a.length>s+1&&(a[a.length]="</sheetData>",a[s]=a[s].replace("/>",">")),o["!protect"]&&(a[a.length]=Ic(o["!protect"])),o["!autofilter"]!=null&&(a[a.length]=Pc(o["!autofilter"],o,r,e)),o["!merges"]!=null&&o["!merges"].length>0&&(a[a.length]=Cc(o["!merges"]));var x=-1,v,E=-1;return o["!links"].length>0&&(a[a.length]="<hyperlinks>",o["!links"].forEach(function(u){u[1].Target&&(v={ref:u[0]},u[1].Target.charAt(0)!="#"&&(E=pe(n,-1,de(u[1].Target).replace(/#.*$/,""),he.HLINK),v["r:id"]="rId"+E),(x=u[1].Target.indexOf("#"))>-1&&(v.location=de(u[1].Target.slice(x+1))),u[1].Tooltip&&(v.tooltip=de(u[1].Tooltip)),a[a.length]=Y("hyperlink",null,v))}),a[a.length]="</hyperlinks>"),delete o["!links"],o["!margins"]!=null&&(a[a.length]=Nc(o["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(a[a.length]=We("ignoredErrors",Y("ignoredError",null,{numberStoredAsText:1,sqref:l}))),p.length>0&&(E=pe(n,-1,"../drawings/drawing"+(e+1)+".xml",he.DRAW),a[a.length]=Y("drawing",null,{"r:id":"rId"+E}),o["!drawing"]=p),o["!comments"].length>0&&(E=pe(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",he.VML),a[a.length]=Y("legacyDrawing",null,{"r:id":"rId"+E}),o["!legacy"]=E),a.length>1&&(a[a.length]="</worksheet>",a[1]=a[1].replace("/>",">")),a.join("")}function Uc(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=n,i&7&&(r.level=i&7),i&16&&(r.hidden=!0),i&32&&(r.hpt=a/20),r}function bc(e,t,r){var n=B(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var i=320;a.hpx?i=r0(a.hpx)*20:a.hpt&&(i=a.hpt*20),n.write_shift(2,i),n.write_shift(1,0);var s=0;a.level&&(s|=a.level),a.hidden&&(s|=16),(a.hpx||a.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var f=0,o=n.l;n.l+=4;for(var l={r:e,c:0},c=0;c<16;++c)if(!(t.s.c>c+1<<10||t.e.c<c<<10)){for(var p=-1,x=-1,v=c<<10;v<c+1<<10;++v){l.c=v;var E=Array.isArray(r)?(r[l.r]||[])[l.c]:r[me(l)];E&&(p<0&&(p=v),x=v)}p<0||(++f,n.write_shift(4,p),n.write_shift(4,x))}var u=n.l;return n.l=o,n.write_shift(4,f),n.l=u,n.length>n.l?n.slice(0,n.l):n}function Wc(e,t,r,n){var a=bc(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&W(e,0,a)}var Hc=$r,Gc=lt;function Vc(){}function Xc(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=qs(e),r}function Kc(e,t,r){r==null&&(r=B(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return Zt({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),Oa(e,r),r.slice(0,r.l)}function zc(e){var t=or(e);return[t]}function Yc(e,t,r){return r==null&&(r=B(8)),Kr(t,r)}function $c(e){var t=zr(e);return[t]}function jc(e,t,r){return r==null&&(r=B(4)),Yr(t,r)}function Jc(e){var t=or(e),r=e.read_shift(1);return[t,r,"b"]}function Zc(e,t,r){return r==null&&(r=B(9)),Kr(t,r),r.write_shift(1,e.v?1:0),r}function qc(e){var t=zr(e),r=e.read_shift(1);return[t,r,"b"]}function Qc(e,t,r){return r==null&&(r=B(5)),Yr(t,r),r.write_shift(1,e.v?1:0),r}function e1(e){var t=or(e),r=e.read_shift(1);return[t,r,"e"]}function r1(e,t,r){return r==null&&(r=B(9)),Kr(t,r),r.write_shift(1,e.v),r}function t1(e){var t=zr(e),r=e.read_shift(1);return[t,r,"e"]}function n1(e,t,r){return r==null&&(r=B(8)),Yr(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function a1(e){var t=or(e),r=e.read_shift(4);return[t,r,"s"]}function i1(e,t,r){return r==null&&(r=B(12)),Kr(t,r),r.write_shift(4,t.v),r}function s1(e){var t=zr(e),r=e.read_shift(4);return[t,r,"s"]}function f1(e,t,r){return r==null&&(r=B(8)),Yr(t,r),r.write_shift(4,t.v),r}function l1(e){var t=or(e),r=ot(e);return[t,r,"n"]}function o1(e,t,r){return r==null&&(r=B(16)),Kr(t,r),Gr(e.v,r),r}function c1(e){var t=zr(e),r=ot(e);return[t,r,"n"]}function h1(e,t,r){return r==null&&(r=B(12)),Yr(t,r),Gr(e.v,r),r}function u1(e){var t=or(e),r=Da(e);return[t,r,"n"]}function x1(e,t,r){return r==null&&(r=B(12)),Kr(t,r),Ra(e.v,r),r}function v1(e){var t=zr(e),r=Da(e);return[t,r,"n"]}function p1(e,t,r){return r==null&&(r=B(8)),Yr(t,r),Ra(e.v,r),r}function d1(e){var t=or(e),r=b0(e);return[t,r,"is"]}function m1(e){var t=or(e),r=Ke(e);return[t,r,"str"]}function g1(e,t,r){return r==null&&(r=B(12+4*e.v.length)),Kr(t,r),Le(e.v,r),r.length>r.l?r.slice(0,r.l):r}function _1(e){var t=zr(e),r=Ke(e);return[t,r,"str"]}function T1(e,t,r){return r==null&&(r=B(8+4*e.v.length)),Yr(t,r),Le(e.v,r),r.length>r.l?r.slice(0,r.l):r}function E1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"b"];if(r.cellFormula){e.l+=2;var f=c0(e,n-e.l,r);s[3]=it(f,null,a,r.supbooks,r)}else e.l=n;return s}function w1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"e"];if(r.cellFormula){e.l+=2;var f=c0(e,n-e.l,r);s[3]=it(f,null,a,r.supbooks,r)}else e.l=n;return s}function S1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=ot(e),s=[a,i,"n"];if(r.cellFormula){e.l+=2;var f=c0(e,n-e.l,r);s[3]=it(f,null,a,r.supbooks,r)}else e.l=n;return s}function A1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=Ke(e),s=[a,i,"str"];if(r.cellFormula){e.l+=2;var f=c0(e,n-e.l,r);s[3]=it(f,null,a,r.supbooks,r)}else e.l=n;return s}var F1=$r,y1=lt;function C1(e,t){return t==null&&(t=B(4)),t.write_shift(4,e),t}function O1(e,t){var r=e.l+t,n=$r(e),a=W0(e),i=Ke(e),s=Ke(e),f=Ke(e);e.l=r;var o={rfx:n,relId:a,loc:i,display:f};return s&&(o.Tooltip=s),o}function D1(e,t){var r=B(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));lt({s:Pe(e[0]),e:Pe(e[0])},r),H0("rId"+t,r);var n=e[1].Target.indexOf("#"),a=n==-1?"":e[1].Target.slice(n+1);return Le(a||"",r),Le(e[1].Tooltip||"",r),Le("",r),r.slice(0,r.l)}function R1(){}function I1(e,t,r){var n=e.l+t,a=Ia(e),i=e.read_shift(1),s=[a];if(s[2]=i,r.cellFormula){var f=_c(e,n-e.l,r);s[1]=f}else e.l=n;return s}function N1(e,t,r){var n=e.l+t,a=$r(e),i=[a];if(r.cellFormula){var s=Ec(e,n-e.l,r);i[1]=s,e.l=n}else e.l=n;return i}function k1(e,t,r){r==null&&(r=B(18));var n=h0(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(n.width||10)*256),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),typeof n.width=="number"&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}var vi=["left","right","top","bottom","header","footer"];function P1(e){var t={};return vi.forEach(function(r){t[r]=ot(e)}),t}function L1(e,t){return t==null&&(t=B(6*8)),ui(e),vi.forEach(function(r){Gr(e[r],t)}),t}function M1(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function B1(e,t,r){r==null&&(r=B(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function U1(e){var t=B(24);return t.write_shift(4,4),t.write_shift(4,1),lt(e,t),t}function b1(e,t){return t==null&&(t=B(16*4+2)),t.write_shift(2,e.password?ja(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function W1(){}function H1(){}function G1(e,t,r,n,a,i,s){if(t.v===void 0)return!1;var f="";switch(t.t){case"b":f=t.v?"1":"0";break;case"d":t=qe(t),t.z=t.z||ye[14],t.v=Ze(je(t.v)),t.t="n";break;case"n":case"e":f=""+t.v;break;default:f=t.v;break}var o={r,c:n};switch(o.s=Lr(a.cellXfs,t,a),t.l&&i["!links"].push([me(o),t.l]),t.c&&i["!comments"].push([me(o),t.c]),t.t){case"s":case"str":return a.bookSST?(f=Y0(a.Strings,t.v,a.revStrings),o.t="s",o.v=f,s?W(e,18,f1(t,o)):W(e,7,i1(t,o))):(o.t="str",s?W(e,17,T1(t,o)):W(e,6,g1(t,o))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?s?W(e,13,p1(t,o)):W(e,2,x1(t,o)):s?W(e,16,h1(t,o)):W(e,5,o1(t,o)),!0;case"b":return o.t="b",s?W(e,15,Qc(t,o)):W(e,4,Zc(t,o)),!0;case"e":return o.t="e",s?W(e,14,n1(t,o)):W(e,3,r1(t,o)),!0}return s?W(e,12,jc(t,o)):W(e,1,Yc(t,o)),!0}function V1(e,t,r,n){var a=Ee(t["!ref"]||"A1"),i,s="",f=[];W(e,145);var o=Array.isArray(t),l=a.e.r;t["!rows"]&&(l=Math.max(a.e.r,t["!rows"].length-1));for(var c=a.s.r;c<=l;++c){s=He(c),Wc(e,t,a,c);var p=!1;if(c<=a.e.r)for(var x=a.s.c;x<=a.e.c;++x){c===a.s.r&&(f[x]=Xe(x)),i=f[x]+s;var v=o?(t[c]||[])[x]:t[i];if(!v){p=!1;continue}p=G1(e,v,c,x,n,t,p)}}W(e,146)}function X1(e,t){!t||!t["!merges"]||(W(e,177,C1(t["!merges"].length)),t["!merges"].forEach(function(r){W(e,176,y1(r))}),W(e,178))}function K1(e,t){!t||!t["!cols"]||(W(e,390),t["!cols"].forEach(function(r,n){r&&W(e,60,k1(n,r))}),W(e,391))}function z1(e,t){!t||!t["!ref"]||(W(e,648),W(e,649,U1(Ee(t["!ref"]))),W(e,650))}function Y1(e,t,r){t["!links"].forEach(function(n){if(n[1].Target){var a=pe(r,-1,n[1].Target.replace(/#.*$/,""),he.HLINK);W(e,494,D1(n,a))}}),delete t["!links"]}function $1(e,t,r,n){if(t["!comments"].length>0){var a=pe(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",he.VML);W(e,551,H0("rId"+a)),t["!legacy"]=a}}function j1(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],i=typeof a.ref=="string"?a.ref:De(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,f=ar(i);f.s.r==f.e.r&&(f.e.r=ar(t["!ref"]).e.r,i=De(f));for(var o=0;o<s.length;++o){var l=s[o];if(l.Name=="_xlnm._FilterDatabase"&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+i;break}}o==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+i}),W(e,161,lt(Ee(i))),W(e,162)}}function J1(e,t,r){W(e,133),W(e,137,B1(t,r)),W(e,138),W(e,134)}function Z1(e,t){t["!protect"]&&W(e,535,b1(t["!protect"]))}function q1(e,t,r,n){var a=Je(),i=r.SheetNames[e],s=r.Sheets[i]||{},f=i;try{r&&r.Workbook&&(f=r.Workbook.Sheets[e].CodeName||f)}catch{}var o=Ee(s["!ref"]||"A1");if(o.e.c>16383||o.e.r>1048575){if(t.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383),o.e.r=Math.min(o.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],W(a,129),(r.vbaraw||s["!outline"])&&W(a,147,Kc(f,s["!outline"])),W(a,148,Gc(o)),J1(a,s,r.Workbook),K1(a,s),V1(a,s,e,t),Z1(a,s),j1(a,s,r,e),X1(a,s),Y1(a,s,n),s["!margins"]&&W(a,476,L1(s["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&z1(a,s),$1(a,s,e,n),W(a,130),a.end()}function Q1(e,t){e.l+=10;var r=Ke(e);return{name:r}}var eh=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function rh(e){return!e.Workbook||!e.Workbook.WBProps?"false":Rs(e.Workbook.WBProps.date1904)?"true":"false"}var th="][*?/\\".split("");function pi(e,t){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");var r=!0;return th.forEach(function(n){if(e.indexOf(n)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),r}function nh(e,t,r){e.forEach(function(n,a){pi(n);for(var i=0;i<a;++i)if(n==e[i])throw new Error("Duplicate Sheet Name: "+n);if(r){var s=t[a]&&t[a].CodeName||n;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function ah(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];nh(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)yc(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}function di(e){var t=[Re];t[t.length]=Y("workbook",null,{xmlns:st[0],"xmlns:r":ke.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(eh.forEach(function(f){e.Workbook.WBProps[f[0]]!=null&&e.Workbook.WBProps[f[0]]!=f[1]&&(n[f[0]]=e.Workbook.WBProps[f[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=Y("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],i=0;if(a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",i=0;i!=e.SheetNames.length&&!(!a[i]||!a[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",i=0;i!=e.SheetNames.length;++i){var s={name:de(e.SheetNames[i].slice(0,31))};if(s.sheetId=""+(i+1),s["r:id"]="rId"+(i+1),a[i])switch(a[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}t[t.length]=Y("sheet",null,s)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(f){var o={name:f.Name};f.Comment&&(o.comment=f.Comment),f.Sheet!=null&&(o.localSheetId=""+f.Sheet),f.Hidden&&(o.hidden="1"),f.Ref&&(t[t.length]=Y("definedName",de(f.Ref),o))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function ih(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=C0(e),r.name=Ke(e),r}function sh(e,t){return t||(t=B(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),H0(e.strRelID,t),Le(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function fh(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?Ke(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function lh(e,t){t||(t=B(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),Oa(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function oh(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),i=Qs(e),s=Tc(e,0,r),f=W0(e);e.l=n;var o={Name:i,Ptg:s};return a<268435455&&(o.Sheet=a),f&&(o.Comment=f),o}function ch(e,t){W(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,a={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};W(e,156,sh(a))}W(e,144)}function hh(e,t){t||(t=B(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return Le("SheetJS",t),Le(Xt.version,t),Le(Xt.version,t),Le("7262",t),t.length>t.l?t.slice(0,t.l):t}function uh(e,t){t||(t=B(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function xh(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,n=0,a=-1,i=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&a==-1?a=n:r[n].Hidden==1&&i==-1&&(i=n);i>a||(W(e,135),W(e,158,uh(a)),W(e,136))}}function vh(e,t){var r=Je();return W(r,131),W(r,128,hh()),W(r,153,lh(e.Workbook&&e.Workbook.WBProps||null)),xh(r,e),ch(r,e),W(r,132),r.end()}function ph(e,t,r){return(t.slice(-4)===".bin"?vh:di)(e)}function dh(e,t,r,n,a){return(t.slice(-4)===".bin"?q1:xi)(e,r,n,a)}function mh(e,t,r){return(t.slice(-4)===".bin"?Pl:qa)(e,r)}function gh(e,t,r){return(t.slice(-4)===".bin"?fl:$a)(e,r)}function _h(e,t,r){return(t.slice(-4)===".bin"?Jl:ni)(e)}function Th(e){return(e.slice(-4)===".bin"?Gl:ri)()}function Eh(e,t){var r=[];return e.Props&&r.push(df(e.Props,t)),e.Custprops&&r.push(mf(e.Props,e.Custprops)),r.join("")}function wh(){return""}function Sh(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(n,a){var i=[];i.push(Y("NumberFormat",null,{"ss:Format":de(ye[n.numFmtId])}));var s={"ss:ID":"s"+(21+a)};r.push(Y("Style",i.join(""),s))}),Y("Styles",r.join(""))}function mi(e){return Y("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+K0(e.Ref,{r:0,c:0})})}function Ah(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];a.Sheet==null&&(a.Name.match(/^_xlfn\./)||r.push(mi(a)))}return Y("Names",r.join(""))}function Fh(e,t,r,n){if(!e||!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,i=[],s=0;s<a.length;++s){var f=a[s];f.Sheet==r&&(f.Name.match(/^_xlfn\./)||i.push(mi(f)))}return i.join("")}function yh(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(Y("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(Y("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(Y("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(Y("Visible",n.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<r&&!(n.Workbook.Sheets[i]&&!n.Workbook.Sheets[i].Hidden);++i);i==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(We("ProtectContents","True")),e["!protect"].objects&&a.push(We("ProtectObjects","True")),e["!protect"].scenarios&&a.push(We("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?a.push(We("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&a.push(We("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&a.push("<"+s[1]+"/>")})),a.length==0?"":Y("WorksheetOptions",a.join(""),{xmlns:tr.x})}function Ch(e){return e.map(function(t){var r=Ds(t.t||""),n=Y("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return Y("Comment",n,{"ss:Author":t.a})}).join("")}function Oh(e,t,r,n,a,i,s){if(!e||e.v==null&&e.f==null)return"";var f={};if(e.f&&(f["ss:Formula"]="="+de(K0(e.f,s))),e.F&&e.F.slice(0,t.length)==t){var o=Pe(e.F.slice(t.length+1));f["ss:ArrayRange"]="RC:R"+(o.r==s.r?"":"["+(o.r-s.r)+"]")+"C"+(o.c==s.c?"":"["+(o.c-s.c)+"]")}if(e.l&&e.l.Target&&(f["ss:HRef"]=de(e.l.Target),e.l.Tooltip&&(f["x:HRefScreenTip"]=de(e.l.Tooltip))),r["!merges"])for(var l=r["!merges"],c=0;c!=l.length;++c)l[c].s.c!=s.c||l[c].s.r!=s.r||(l[c].e.c>l[c].s.c&&(f["ss:MergeAcross"]=l[c].e.c-l[c].s.c),l[c].e.r>l[c].s.r&&(f["ss:MergeDown"]=l[c].e.r-l[c].s.r));var p="",x="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":p="Number",x=String(e.v);break;case"b":p="Boolean",x=e.v?"1":"0";break;case"e":p="Error",x=It[e.v];break;case"d":p="DateTime",x=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||ye[14]);break;case"s":p="String",x=Os(e.v||"");break}var v=Lr(n.cellXfs,e,n);f["ss:StyleID"]="s"+(21+v),f["ss:Index"]=s.c+1;var E=e.v!=null?x:"",u=e.t=="z"?"":'<Data ss:Type="'+p+'">'+E+"</Data>";return(e.c||[]).length>0&&(u+=Ch(e.c)),Y("Cell",u,f)}function Dh(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Za(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Rh(e,t,r,n){if(!e["!ref"])return"";var a=Ee(e["!ref"]),i=e["!merges"]||[],s=0,f=[];e["!cols"]&&e["!cols"].forEach(function(_,O){V0(_);var R=!!_.width,y=h0(O,_),M={"ss:Index":O+1};R&&(M["ss:Width"]=Qt(y.width)),_.hidden&&(M["ss:Hidden"]="1"),f.push(Y("Column",null,M))});for(var o=Array.isArray(e),l=a.s.r;l<=a.e.r;++l){for(var c=[Dh(l,(e["!rows"]||[])[l])],p=a.s.c;p<=a.e.c;++p){var x=!1;for(s=0;s!=i.length;++s)if(!(i[s].s.c>p)&&!(i[s].s.r>l)&&!(i[s].e.c<p)&&!(i[s].e.r<l)){(i[s].s.c!=p||i[s].s.r!=l)&&(x=!0);break}if(!x){var v={r:l,c:p},E=me(v),u=o?(e[l]||[])[p]:e[E];c.push(Oh(u,E,e,t,r,n,v))}}c.push("</Row>"),c.length>2&&f.push(c.join(""))}return f.join("")}function Ih(e,t,r){var n=[],a=r.SheetNames[e],i=r.Sheets[a],s=i?Fh(i,t,e,r):"";return s.length>0&&n.push("<Names>"+s+"</Names>"),s=i?Rh(i,t,e,r):"",s.length>0&&n.push("<Table>"+s+"</Table>"),n.push(yh(i,t,e,r)),n.join("")}function Nh(e,t){t||(t={}),e.SSF||(e.SSF=qe(ye)),e.SSF&&(s0(),i0(e.SSF),t.revssf=f0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Lr(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Eh(e,t)),r.push(wh()),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(Y("Worksheet",Ih(n,t,e),{"ss:Name":de(e.SheetNames[n])}));return r[2]=Sh(e,t),r[3]=Ah(e),Re+Y("Workbook",r.join(""),{xmlns:tr.ss,"xmlns:o":tr.o,"xmlns:x":tr.x,"xmlns:ss":tr.ss,"xmlns:dt":tr.dt,"xmlns:html":tr.html})}var w0={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function kh(e,t){var r=[],n=[],a=[],i=0,s,f=mn(Rn,"n"),o=mn(In,"n");if(e.Props)for(s=Ge(e.Props),i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(f,s[i])?r:Object.prototype.hasOwnProperty.call(o,s[i])?n:a).push([s[i],e.Props[s[i]]]);if(e.Custprops)for(s=Ge(e.Custprops),i=0;i<s.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},s[i])||(Object.prototype.hasOwnProperty.call(f,s[i])?r:Object.prototype.hasOwnProperty.call(o,s[i])?n:a).push([s[i],e.Custprops[s[i]]]);var l=[];for(i=0;i<a.length;++i)Ha.indexOf(a[i][0])>-1||Ua.indexOf(a[i][0])>-1||a[i][1]!=null&&l.push(a[i]);n.length&&_e.utils.cfb_add(t,"/SummaryInformation",Mn(n,w0.SI,o,In)),(r.length||l.length)&&_e.utils.cfb_add(t,"/DocumentSummaryInformation",Mn(r,w0.DSI,f,Rn,l.length?l:null,w0.UDI))}function Ph(e,t){var r=t,n=_e.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return _e.utils.cfb_add(n,a,gi(e,r)),r.biff==8&&(e.Props||e.Custprops)&&kh(e,n),r.biff==8&&e.vbaraw&&Zl(n,_e.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var Lh={0:{f:Uc},1:{f:zc},2:{f:u1},3:{f:e1},4:{f:Jc},5:{f:l1},6:{f:m1},7:{f:a1},8:{f:A1},9:{f:S1},10:{f:E1},11:{f:w1},12:{f:$c},13:{f:v1},14:{f:t1},15:{f:qc},16:{f:c1},17:{f:_1},18:{f:s1},19:{f:b0},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:oh},40:{},42:{},43:{f:dl},44:{f:vl},45:{f:_l},46:{f:El},47:{f:Tl},48:{},49:{f:zs},50:{},51:{f:Bl},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:$f},62:{f:d1},63:{f:Vl},64:{f:W1},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:_r,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:M1},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:Xc},148:{f:Hc,p:16},151:{f:R1},152:{},153:{f:fh},154:{},155:{},156:{f:ih},157:{},158:{},159:{T:1,f:al},160:{T:-1},161:{T:1,f:$r},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:F1},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:Ll},336:{T:-1},337:{f:Wl,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:C0},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Gf},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:I1},427:{f:N1},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:P1},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Vc},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:O1},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:C0},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:$l},633:{T:1},634:{T:-1},635:{T:1,f:zl},636:{T:-1},637:{f:Js},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Q1},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:H1},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function J(e,t,r,n){var a=t;if(!isNaN(a)){var i=n||(r||[]).length||0,s=e.next(4);s.write_shift(2,a),s.write_shift(2,i),i>0&&M0(r)&&e.push(r)}}function Mh(e,t,r,n){var a=(r||[]).length||0;if(a<=8224)return J(e,t,r,a);var i=t;if(!isNaN(i)){for(var s=r.parts||[],f=0,o=0,l=0;l+(s[f]||8224)<=8224;)l+=s[f]||8224,f++;var c=e.next(4);for(c.write_shift(2,i),c.write_shift(2,l),e.push(r.slice(o,o+l)),o+=l;o<a;){for(c=e.next(4),c.write_shift(2,60),l=0;l+(s[f]||8224)<=8224;)l+=s[f]||8224,f++;c.write_shift(2,l),e.push(r.slice(o,o+l)),o+=l}}}function kt(e,t,r){return e||(e=B(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function Bh(e,t,r,n){var a=B(9);return kt(a,e,t),Va(r,n||"b",a),a}function Uh(e,t,r){var n=B(8+2*r.length);return kt(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}function bh(e,t,r,n){if(t.v!=null)switch(t.t){case"d":case"n":var a=t.t=="d"?Ze(je(t.v)):t.v;a==(a|0)&&a>=0&&a<65536?J(e,2,qf(r,n,a)):J(e,3,Zf(r,n,a));return;case"b":case"e":J(e,5,Bh(r,n,t.v,t.t));return;case"s":case"str":J(e,4,Uh(r,n,(t.v||"").slice(0,255)));return}J(e,1,kt(null,r,n))}function Wh(e,t,r,n){var a=Array.isArray(t),i=Ee(t["!ref"]||"A1"),s,f="",o=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),s=De(i)}for(var l=i.s.r;l<=i.e.r;++l){f=He(l);for(var c=i.s.c;c<=i.e.c;++c){l===i.s.r&&(o[c]=Xe(c)),s=o[c]+f;var p=a?(t[l]||[])[c]:t[s];p&&bh(e,p,l,c)}}}function Hh(e,t){for(var r=t||{},n=Je(),a=0,i=0;i<e.SheetNames.length;++i)e.SheetNames[i]==r.sheet&&(a=i);if(a==0&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return J(n,r.biff==4?1033:r.biff==3?521:9,G0(e,16,r)),Wh(n,e.Sheets[e.SheetNames[a]],a,r),J(n,10),n.end()}function Gh(e,t,r){J(e,49,Pf({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function Vh(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&J(e,1054,Bf(a,t[a],r))})}function Xh(e,t){var r=B(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),J(e,2151,r),r=B(39),r.write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),za(Ee(t["!ref"]||"A1"),r),r.write_shift(4,4),J(e,2152,r)}function Kh(e,t){for(var r=0;r<16;++r)J(e,224,Un({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){J(e,224,Un(n,0,t))})}function zh(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];J(e,440,Kf(n)),n[1].Tooltip&&J(e,2048,zf(n))}delete t["!links"]}function Yh(e,t){if(t){var r=0;t.forEach(function(n,a){++r<=256&&n&&J(e,125,jf(h0(a,n),a))})}}function $h(e,t,r,n,a){var i=16+Lr(a.cellXfs,t,a);if(t.v==null&&!t.bf){J(e,513,Vr(r,n,i));return}if(t.bf)J(e,6,gc(t,r,n,a,i));else switch(t.t){case"d":case"n":var s=t.t=="d"?Ze(je(t.v)):t.v;J(e,515,Hf(r,n,s,i));break;case"b":case"e":J(e,517,Wf(r,n,t.v,i,a,t.t));break;case"s":case"str":if(a.bookSST){var f=Y0(a.Strings,t.v,a.revStrings);J(e,253,Lf(r,n,f,i))}else J(e,516,Mf(r,n,(t.v||"").slice(0,255),i,a));break;default:J(e,513,Vr(r,n,i))}}function jh(e,t,r){var n=Je(),a=r.SheetNames[e],i=r.Sheets[a]||{},s=(r||{}).Workbook||{},f=(s.Sheets||[])[e]||{},o=Array.isArray(i),l=t.biff==8,c,p="",x=[],v=Ee(i["!ref"]||"A1"),E=l?65536:16384;if(v.e.c>255||v.e.r>=E){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");v.e.c=Math.min(v.e.c,255),v.e.r=Math.min(v.e.c,E-1)}J(n,2057,G0(r,16,t)),J(n,13,lr(1)),J(n,12,lr(100)),J(n,15,$e(!0)),J(n,17,$e(!1)),J(n,16,Gr(.001)),J(n,95,$e(!0)),J(n,42,$e(!1)),J(n,43,$e(!1)),J(n,130,lr(1)),J(n,128,bf()),J(n,131,$e(!1)),J(n,132,$e(!1)),l&&Yh(n,i["!cols"]),J(n,512,Uf(v,t)),l&&(i["!links"]=[]);for(var u=v.s.r;u<=v.e.r;++u){p=He(u);for(var _=v.s.c;_<=v.e.c;++_){u===v.s.r&&(x[_]=Xe(_)),c=x[_]+p;var O=o?(i[u]||[])[_]:i[c];O&&($h(n,O,u,_,t),l&&O.l&&i["!links"].push([c,O.l]))}}var R=f.CodeName||f.name||a;return l&&J(n,574,kf((s.Views||[])[0])),l&&(i["!merges"]||[]).length&&J(n,229,Xf(i["!merges"])),l&&zh(n,i),J(n,442,Ka(R)),l&&Xh(n,i),J(n,10),n.end()}function Jh(e,t,r){var n=Je(),a=(e||{}).Workbook||{},i=a.Sheets||[],s=a.WBProps||{},f=r.biff==8,o=r.biff==5;if(J(n,2057,G0(e,5,r)),r.bookType=="xla"&&J(n,135),J(n,225,f?lr(1200):null),J(n,193,Tf(2)),o&&J(n,191),o&&J(n,192),J(n,226),J(n,92,Df("SheetJS",r)),J(n,66,lr(f?1200:1252)),f&&J(n,353,lr(0)),f&&J(n,448),J(n,317,Jf(e.SheetNames.length)),f&&e.vbaraw&&J(n,211),f&&e.vbaraw){var l=s.CodeName||"ThisWorkbook";J(n,442,Ka(l))}J(n,156,lr(17)),J(n,25,$e(!1)),J(n,18,$e(!1)),J(n,19,lr(0)),f&&J(n,431,$e(!1)),f&&J(n,444,lr(0)),J(n,61,Nf()),J(n,64,$e(!1)),J(n,141,lr(0)),J(n,34,$e(rh(e)=="true")),J(n,14,$e(!0)),f&&J(n,439,$e(!1)),J(n,218,lr(0)),Gh(n,e,r),Vh(n,e.SSF,r),Kh(n,r),f&&J(n,352,$e(!1));var c=n.end(),p=Je();f&&J(p,140,Yf()),f&&r.Strings&&Mh(p,252,If(r.Strings)),J(p,10);var x=p.end(),v=Je(),E=0,u=0;for(u=0;u<e.SheetNames.length;++u)E+=(f?12:11)+(f?2:1)*e.SheetNames[u].length;var _=c.length+E+x.length;for(u=0;u<e.SheetNames.length;++u){var O=i[u]||{};J(v,133,Rf({pos:_,hs:O.Hidden||0,dt:0,name:e.SheetNames[u]},r)),_+=t[u].length}var R=v.end();if(E!=R.length)throw new Error("BS8 "+E+" != "+R.length);var y=[];return c.length&&y.push(c),R.length&&y.push(R),x.length&&y.push(x),be(y)}function Zh(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=qe(ye)),e&&e.SSF&&(s0(),i0(e.SSF),r.revssf=f0(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,$0(r),r.cellXfs=[],Lr(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=jh(a,r,e);return n.unshift(Jh(e,n,r)),be(n)}function gi(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(!(!n||!n["!ref"])){var a=ar(n["!ref"]);a.e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var i=t||{};switch(i.biff||2){case 8:case 5:return Zh(e,t);case 4:case 3:case 2:return Hh(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function qh(e,t,r,n){for(var a=e["!merges"]||[],i=[],s=t.s.c;s<=t.e.c;++s){for(var f=0,o=0,l=0;l<a.length;++l)if(!(a[l].s.r>r||a[l].s.c>s)&&!(a[l].e.r<r||a[l].e.c<s)){if(a[l].s.r<r||a[l].s.c<s){f=-1;break}f=a[l].e.r-a[l].s.r+1,o=a[l].e.c-a[l].s.c+1;break}if(!(f<0)){var c=me({r,c:s}),p=n.dense?(e[r]||[])[s]:e[c],x=p&&p.v!=null&&(p.h||Cs(p.w||(Cr(p),p.w)||""))||"",v={};f>1&&(v.rowspan=f),o>1&&(v.colspan=o),n.editable?x='<span contenteditable="true">'+x+"</span>":p&&(v["data-t"]=p&&p.t||"z",p.v!=null&&(v["data-v"]=p.v),p.z!=null&&(v["data-z"]=p.z),p.l&&(p.l.Target||"#").charAt(0)!="#"&&(x='<a href="'+p.l.Target+'">'+x+"</a>")),v.id=(n.id||"sjs")+"-"+c,i.push(Y("td",x,v))}}var E="<tr>";return E+i.join("")+"</tr>"}var Qh='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',eu="</body></html>";function ru(e,t,r){var n=[];return n.join("")+"<table"+(r.id?' id="'+r.id+'"':"")+">"}function _i(e,t){var r=t||{},n=r.header!=null?r.header:Qh,a=r.footer!=null?r.footer:eu,i=[n],s=ar(e["!ref"]);r.dense=Array.isArray(e),i.push(ru(e,s,r));for(var f=s.s.r;f<=s.e.r;++f)i.push(qh(e,s,f,r));return i.push("</table>"+a),i.join("")}function Ti(e,t,r){var n=r||{},a=0,i=0;if(n.origin!=null)if(typeof n.origin=="number")a=n.origin;else{var s=typeof n.origin=="string"?Pe(n.origin):n.origin;a=s.r,i=s.c}var f=t.getElementsByTagName("tr"),o=Math.min(n.sheetRows||1e7,f.length),l={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var c=ar(e["!ref"]);l.s.r=Math.min(l.s.r,c.s.r),l.s.c=Math.min(l.s.c,c.s.c),l.e.r=Math.max(l.e.r,c.e.r),l.e.c=Math.max(l.e.c,c.e.c),a==-1&&(l.e.r=a=c.e.r+1)}var p=[],x=0,v=e["!rows"]||(e["!rows"]=[]),E=0,u=0,_=0,O=0,R=0,y=0;for(e["!cols"]||(e["!cols"]=[]);E<f.length&&u<o;++E){var M=f[E];if(Kn(M)){if(n.display)continue;v[u]={hidden:!0}}var j=M.children;for(_=O=0;_<j.length;++_){var ee=j[_];if(!(n.display&&Kn(ee))){var C=ee.hasAttribute("data-v")?ee.getAttribute("data-v"):ee.hasAttribute("v")?ee.getAttribute("v"):Is(ee.innerHTML),b=ee.getAttribute("data-z")||ee.getAttribute("z");for(x=0;x<p.length;++x){var L=p[x];L.s.c==O+i&&L.s.r<u+a&&u+a<=L.e.r&&(O=L.e.c+1-i,x=-1)}y=+ee.getAttribute("colspan")||1,((R=+ee.getAttribute("rowspan")||1)>1||y>1)&&p.push({s:{r:u+a,c:O+i},e:{r:u+a+(R||1)-1,c:O+i+(y||1)-1}});var G={t:"s",v:C},V=ee.getAttribute("data-t")||ee.getAttribute("t")||"";C!=null&&(C.length==0?G.t=V||"z":n.raw||C.trim().length==0||V=="s"||(C==="TRUE"?G={t:"b",v:!0}:C==="FALSE"?G={t:"b",v:!1}:isNaN(Ar(C))?isNaN(St(C).getDate())||(G={t:"d",v:je(C)},n.cellDates||(G={t:"n",v:Ze(G.v)}),G.z=n.dateNF||ye[14]):G={t:"n",v:Ar(C)})),G.z===void 0&&b!=null&&(G.z=b);var K="",re=ee.getElementsByTagName("A");if(re&&re.length)for(var ge=0;ge<re.length&&!(re[ge].hasAttribute("href")&&(K=re[ge].getAttribute("href"),K.charAt(0)!="#"));++ge);K&&K.charAt(0)!="#"&&(G.l={Target:K}),n.dense?(e[u+a]||(e[u+a]=[]),e[u+a][O+i]=G):e[me({c:O+i,r:u+a})]=G,l.e.c<O+i&&(l.e.c=O+i),O+=y}}++u}return p.length&&(e["!merges"]=(e["!merges"]||[]).concat(p)),l.e.r=Math.max(l.e.r,u-1+a),e["!ref"]=De(l),u>=o&&(e["!fullref"]=De((l.e.r=f.length-E+u-1+a,l))),e}function Ei(e,t){var r=t||{},n=r.dense?[]:{};return Ti(n,e,t)}function tu(e,t){return Xr(Ei(e,t),t)}function Kn(e){var t="",r=nu(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function nu(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var au=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+Ft({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return Re+t}}(),zn=function(){var e=function(i){return de(i).replace(/ +/g,function(s){return'<text:s text:c="'+s.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=` <table:table-cell /> +`,r=` <table:covered-table-cell/> +`,n=function(i,s,f){var o=[];o.push(' <table:table table:name="'+de(s.SheetNames[f])+`" table:style-name="ta1"> +`);var l=0,c=0,p=ar(i["!ref"]||"A1"),x=i["!merges"]||[],v=0,E=Array.isArray(i);if(i["!cols"])for(c=0;c<=p.e.c;++c)o.push(" <table:table-column"+(i["!cols"][c]?' table:style-name="co'+i["!cols"][c].ods+'"':"")+`></table:table-column> +`);var u="",_=i["!rows"]||[];for(l=0;l<p.s.r;++l)u=_[l]?' table:style-name="ro'+_[l].ods+'"':"",o.push(" <table:table-row"+u+`></table:table-row> +`);for(;l<=p.e.r;++l){for(u=_[l]?' table:style-name="ro'+_[l].ods+'"':"",o.push(" <table:table-row"+u+`> +`),c=0;c<p.s.c;++c)o.push(t);for(;c<=p.e.c;++c){var O=!1,R={},y="";for(v=0;v!=x.length;++v)if(!(x[v].s.c>c)&&!(x[v].s.r>l)&&!(x[v].e.c<c)&&!(x[v].e.r<l)){(x[v].s.c!=c||x[v].s.r!=l)&&(O=!0),R["table:number-columns-spanned"]=x[v].e.c-x[v].s.c+1,R["table:number-rows-spanned"]=x[v].e.r-x[v].s.r+1;break}if(O){o.push(r);continue}var M=me({r:l,c}),j=E?(i[l]||[])[c]:i[M];if(j&&j.f&&(R["table:formula"]=de(Ac(j.f)),j.F&&j.F.slice(0,M.length)==M)){var ee=ar(j.F);R["table:number-matrix-columns-spanned"]=ee.e.c-ee.s.c+1,R["table:number-matrix-rows-spanned"]=ee.e.r-ee.s.r+1}if(!j){o.push(t);continue}switch(j.t){case"b":y=j.v?"TRUE":"FALSE",R["office:value-type"]="boolean",R["office:boolean-value"]=j.v?"true":"false";break;case"n":y=j.w||String(j.v||0),R["office:value-type"]="float",R["office:value"]=j.v||0;break;case"s":case"str":y=j.v==null?"":j.v,R["office:value-type"]="string";break;case"d":y=j.w||je(j.v).toISOString(),R["office:value-type"]="date",R["office:date-value"]=je(j.v).toISOString(),R["table:style-name"]="ce1";break;default:o.push(t);continue}var C=e(y);if(j.l&&j.l.Target){var b=j.l.Target;b=b.charAt(0)=="#"?"#"+Fc(b.slice(1)):b,b.charAt(0)!="#"&&!b.match(/^\w+:/)&&(b="../"+b),C=Y("text:a",C,{"xlink:href":b.replace(/&/g,"&")})}o.push(" "+Y("table:table-cell",Y("text:p",C,{}),R)+` +`)}o.push(` </table:table-row> +`)}return o.push(` </table:table> +`),o.join("")},a=function(i,s){i.push(` <office:automatic-styles> +`),i.push(` <number:date-style style:name="N37" number:automatic-order="true"> +`),i.push(` <number:month number:style="long"/> +`),i.push(` <number:text>/</number:text> +`),i.push(` <number:day number:style="long"/> +`),i.push(` <number:text>/</number:text> +`),i.push(` <number:year/> +`),i.push(` </number:date-style> +`);var f=0;s.SheetNames.map(function(l){return s.Sheets[l]}).forEach(function(l){if(l&&l["!cols"]){for(var c=0;c<l["!cols"].length;++c)if(l["!cols"][c]){var p=l["!cols"][c];if(p.width==null&&p.wpx==null&&p.wch==null)continue;V0(p),p.ods=f;var x=l["!cols"][c].wpx+"px";i.push(' <style:style style:name="co'+f+`" style:family="table-column"> +`),i.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+x+`"/> +`),i.push(` </style:style> +`),++f}}});var o=0;s.SheetNames.map(function(l){return s.Sheets[l]}).forEach(function(l){if(l&&l["!rows"]){for(var c=0;c<l["!rows"].length;++c)if(l["!rows"][c]){l["!rows"][c].ods=o;var p=l["!rows"][c].hpx+"px";i.push(' <style:style style:name="ro'+o+`" style:family="table-row"> +`),i.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+p+`"/> +`),i.push(` </style:style> +`),++o}}}),i.push(` <style:style style:name="ta1" style:family="table" style:master-page-name="mp1"> +`),i.push(` <style:table-properties table:display="true" style:writing-mode="lr-tb"/> +`),i.push(` </style:style> +`),i.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/> +`),i.push(` </office:automatic-styles> +`)};return function(s,f){var o=[Re],l=Ft({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),c=Ft({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});f.bookType=="fods"?(o.push("<office:document"+l+c+`> +`),o.push(Ma().replace(/office:document-meta/g,"office:meta"))):o.push("<office:document-content"+l+`> +`),a(o,s),o.push(` <office:body> +`),o.push(` <office:spreadsheet> +`);for(var p=0;p!=s.SheetNames.length;++p)o.push(n(s.Sheets[s.SheetNames[p]],s,p));return o.push(` </office:spreadsheet> +`),o.push(` </office:body> +`),f.bookType=="fods"?o.push("</office:document>"):o.push("</office:document-content>"),o.join("")}}();function wi(e,t){if(t.bookType=="fods")return zn(e,t);var r=N0(),n="",a=[],i=[];return n="mimetype",oe(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",oe(r,n,zn(e,t)),a.push([n,"text/xml"]),i.push([n,"ContentFile"]),n="styles.xml",oe(r,n,au(e,t)),a.push([n,"text/xml"]),i.push([n,"StylesFile"]),n="meta.xml",oe(r,n,Re+Ma()),a.push([n,"text/xml"]),i.push([n,"MetadataFile"]),n="manifest.rdf",oe(r,n,pf(i)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",oe(r,n,xf(a)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function t0(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function iu(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):xr(At(e))}function su(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}function Pr(e){var t=e.reduce(function(a,i){return a+i.length},0),r=new Uint8Array(t),n=0;return e.forEach(function(a){r.set(a,n),n+=a.length}),r}function fu(e,t,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(n&127)<<1;for(var i=0;a>=1;++i,a/=256)e[t+i]=a&255;e[t+15]|=r>=0?0:128}function yt(e,t){var r=t?t[0]:0,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),n}function ve(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function at(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Ie(e){for(var t=[],r=[0];r[0]<e.length;){var n=r[0],a=yt(e,r),i=a&7;a=Math.floor(a/8);var s=0,f;if(a==0)break;switch(i){case 0:{for(var o=r[0];e[r[0]++]>=128;);f=e.slice(o,r[0])}break;case 5:s=4,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=yt(e,r),f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(a," at offset ").concat(n))}var l={data:f,type:i};t[a]==null?t[a]=[l]:t[a].push(l)}return t}function Be(e){var t=[];return e.forEach(function(r,n){r.forEach(function(a){a.data&&(t.push(ve(n*8+a.type)),a.type==2&&t.push(ve(a.data.length)),t.push(a.data))})}),Pr(t)}function hr(e){for(var t,r=[],n=[0];n[0]<e.length;){var a=yt(e,n),i=Ie(e.slice(n[0],n[0]+a));n[0]+=a;var s={id:at(i[1][0].data),messages:[]};i[2].forEach(function(f){var o=Ie(f.data),l=at(o[3][0].data);s.messages.push({meta:o,data:e.slice(n[0],n[0]+l)}),n[0]+=l}),(t=i[3])!=null&&t[0]&&(s.merge=at(i[3][0].data)>>>0>0),r.push(s)}return r}function Zr(e){var t=[];return e.forEach(function(r){var n=[];n[1]=[{data:ve(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:ve(+!!r.merge),type:0}]);var a=[];r.messages.forEach(function(s){a.push(s.data),s.meta[3]=[{type:0,data:ve(s.data.length)}],n[2].push({data:Be(s.meta),type:2})});var i=Be(n);t.push(ve(i.length)),t.push(i),a.forEach(function(s){return t.push(s)})}),Pr(t)}function lu(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=yt(t,r),a=[];r[0]<t.length;){var i=t[r[0]]&3;if(i==0){var s=t[r[0]++]>>2;if(s<60)++s;else{var f=s-59;s=t[r[0]],f>1&&(s|=t[r[0]+1]<<8),f>2&&(s|=t[r[0]+2]<<16),f>3&&(s|=t[r[0]+3]<<24),s>>>=0,s++,r[0]+=f}a.push(t.slice(r[0],r[0]+s)),r[0]+=s;continue}else{var o=0,l=0;if(i==1?(l=(t[r[0]]>>2&7)+4,o=(t[r[0]++]&224)<<3,o|=t[r[0]++]):(l=(t[r[0]++]>>2)+1,i==2?(o=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(o=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Pr(a)],o==0)throw new Error("Invalid offset 0");if(o>a[0].length)throw new Error("Invalid offset beyond length");if(l>=o)for(a.push(a[0].slice(-o)),l-=o;l>=a[a.length-1].length;)a.push(a[a.length-1]),l-=a[a.length-1].length;a.push(a[0].slice(-o,-o+l))}}var c=Pr(a);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function ur(e){for(var t=[],r=0;r<e.length;){var n=e[r++],a=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(lu(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return Pr(t)}function qr(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),a=new Uint8Array(4);t.push(a);var i=ve(n),s=i.length;t.push(i),n<=60?(s++,t.push(new Uint8Array([n-1<<2]))):n<=256?(s+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(s+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(s+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),s+=n,a[0]=0,a[1]=s&255,a[2]=s>>8&255,a[3]=s>>16&255,r+=n}return Pr(t)}function S0(e,t){var r=new Uint8Array(32),n=t0(r),a=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,fu(r,a,e.v),i|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),i|=2,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,i,!0),r.slice(0,a)}function A0(e,t){var r=new Uint8Array(32),n=t0(r),a=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),i|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),i|=32,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,i,!0),r.slice(0,a)}function Dr(e){var t=Ie(e);return yt(t[1][0].data)}function ou(e,t,r){var n,a,i,s;if(!((n=e[6])!=null&&n[0])||!((a=e[7])!=null&&a[0]))throw"Mutation only works on post-BNC storages!";var f=((s=(i=e[8])==null?void 0:i[0])==null?void 0:s.data)&&at(e[8][0].data)>0||!1;if(f)throw"Math only works with normal offsets";for(var o=0,l=t0(e[7][0].data),c=0,p=[],x=t0(e[4][0].data),v=0,E=[],u=0;u<t.length;++u){if(t[u]==null){l.setUint16(u*2,65535,!0),x.setUint16(u*2,65535);continue}l.setUint16(u*2,c,!0),x.setUint16(u*2,v,!0);var _,O;switch(typeof t[u]){case"string":_=S0({t:"s",v:t[u]},r),O=A0({t:"s",v:t[u]},r);break;case"number":_=S0({t:"n",v:t[u]},r),O=A0({t:"n",v:t[u]},r);break;case"boolean":_=S0({t:"b",v:t[u]},r),O=A0({t:"b",v:t[u]},r);break;default:throw new Error("Unsupported value "+t[u])}p.push(_),c+=_.length,E.push(O),v+=O.length,++o}for(e[2][0].data=ve(o);u<e[7][0].data.length/2;++u)l.setUint16(u*2,65535,!0),x.setUint16(u*2,65535,!0);return e[6][0].data=Pr(p),e[3][0].data=Pr(E),o}function cu(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=ar(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(De(n)));var i=n0(r,{range:n,header:1}),s=["~Sh33tJ5~"];i.forEach(function(P){return P.forEach(function(F){typeof F=="string"&&s.push(F)})});var f={},o=[],l=_e.read(t.numbers,{type:"base64"});l.FileIndex.map(function(P,F){return[P,l.FullPaths[F]]}).forEach(function(P){var F=P[0],A=P[1];if(F.type==2&&F.name.match(/\.iwa/)){var H=F.content,ie=ur(H),se=hr(ie);se.forEach(function(ae){o.push(ae.id),f[ae.id]={deps:[],location:A,type:at(ae.messages[0].meta[1][0].data)}})}}),o.sort(function(P,F){return P-F});var c=o.filter(function(P){return P>1}).map(function(P){return[P,ve(P)]});l.FileIndex.map(function(P,F){return[P,l.FullPaths[F]]}).forEach(function(P){var F=P[0];if(P[1],!!F.name.match(/\.iwa/)){var A=hr(ur(F.content));A.forEach(function(H){H.messages.forEach(function(ie){c.forEach(function(se){H.messages.some(function(ae){return at(ae.meta[1][0].data)!=11006&&su(ae.data,se[1])})&&f[se[0]].deps.push(H.id)})})})}});for(var p=_e.find(l,f[1].location),x=hr(ur(p.content)),v,E=0;E<x.length;++E){var u=x[E];u.id==1&&(v=u)}var _=Dr(Ie(v.messages[0].data)[1][0].data);for(p=_e.find(l,f[_].location),x=hr(ur(p.content)),E=0;E<x.length;++E)u=x[E],u.id==_&&(v=u);for(_=Dr(Ie(v.messages[0].data)[2][0].data),p=_e.find(l,f[_].location),x=hr(ur(p.content)),E=0;E<x.length;++E)u=x[E],u.id==_&&(v=u);for(_=Dr(Ie(v.messages[0].data)[2][0].data),p=_e.find(l,f[_].location),x=hr(ur(p.content)),E=0;E<x.length;++E)u=x[E],u.id==_&&(v=u);var O=Ie(v.messages[0].data);{O[6][0].data=ve(n.e.r+1),O[7][0].data=ve(n.e.c+1);var R=Dr(O[46][0].data),y=_e.find(l,f[R].location),M=hr(ur(y.content));{for(var j=0;j<M.length&&M[j].id!=R;++j);if(M[j].id!=R)throw"Bad ColumnRowUIDMapArchive";var ee=Ie(M[j].messages[0].data);ee[1]=[],ee[2]=[],ee[3]=[];for(var C=0;C<=n.e.c;++C){var b=[];b[1]=b[2]=[{type:0,data:ve(C+420690)}],ee[1].push({type:2,data:Be(b)}),ee[2].push({type:0,data:ve(C)}),ee[3].push({type:0,data:ve(C)})}ee[4]=[],ee[5]=[],ee[6]=[];for(var L=0;L<=n.e.r;++L)b=[],b[1]=b[2]=[{type:0,data:ve(L+726270)}],ee[4].push({type:2,data:Be(b)}),ee[5].push({type:0,data:ve(L)}),ee[6].push({type:0,data:ve(L)});M[j].messages[0].data=Be(ee)}y.content=qr(Zr(M)),y.size=y.content.length,delete O[46];var G=Ie(O[4][0].data);{G[7][0].data=ve(n.e.r+1);var V=Ie(G[1][0].data),K=Dr(V[2][0].data);y=_e.find(l,f[K].location),M=hr(ur(y.content));{if(M[0].id!=K)throw"Bad HeaderStorageBucket";var re=Ie(M[0].messages[0].data);for(L=0;L<i.length;++L){var ge=Ie(re[2][0].data);ge[1][0].data=ve(L),ge[4][0].data=ve(i[L].length),re[2][L]={type:re[2][0].type,data:Be(ge)}}M[0].messages[0].data=Be(re)}y.content=qr(Zr(M)),y.size=y.content.length;var le=Dr(G[2][0].data);y=_e.find(l,f[le].location),M=hr(ur(y.content));{if(M[0].id!=le)throw"Bad HeaderStorageBucket";for(re=Ie(M[0].messages[0].data),C=0;C<=n.e.c;++C)ge=Ie(re[2][0].data),ge[1][0].data=ve(C),ge[4][0].data=ve(n.e.r+1),re[2][C]={type:re[2][0].type,data:Be(ge)};M[0].messages[0].data=Be(re)}y.content=qr(Zr(M)),y.size=y.content.length;var Me=Dr(G[4][0].data);(function(){for(var P=_e.find(l,f[Me].location),F=hr(ur(P.content)),A,H=0;H<F.length;++H){var ie=F[H];ie.id==Me&&(A=ie)}var se=Ie(A.messages[0].data);{se[3]=[];var ae=[];s.forEach(function(ce,ze){ae[1]=[{type:0,data:ve(ze)}],ae[2]=[{type:0,data:ve(1)}],ae[3]=[{type:2,data:iu(ce)}],se[3].push({type:2,data:Be(ae)})})}A.messages[0].data=Be(se);var q=Zr(F),Te=qr(q);P.content=Te,P.size=P.content.length})();var Ce=Ie(G[3][0].data);{var cr=Ce[1][0];delete Ce[2];var Ne=Ie(cr.data);{var ir=Dr(Ne[2][0].data);(function(){for(var P=_e.find(l,f[ir].location),F=hr(ur(P.content)),A,H=0;H<F.length;++H){var ie=F[H];ie.id==ir&&(A=ie)}var se=Ie(A.messages[0].data);{delete se[6],delete Ce[7];var ae=new Uint8Array(se[5][0].data);se[5]=[];for(var q=0,Te=0;Te<=n.e.r;++Te){var ce=Ie(ae);q+=ou(ce,i[Te],s),ce[1][0].data=ve(Te),se[5].push({data:Be(ce),type:2})}se[1]=[{type:0,data:ve(n.e.c+1)}],se[2]=[{type:0,data:ve(n.e.r+1)}],se[3]=[{type:0,data:ve(q)}],se[4]=[{type:0,data:ve(n.e.r+1)}]}A.messages[0].data=Be(se);var ze=Zr(F),xe=qr(ze);P.content=xe,P.size=P.content.length})()}cr.data=Be(Ne)}G[3][0].data=Be(Ce)}O[4][0].data=Be(G)}v.messages[0].data=Be(O);var Qe=Zr(x),S=qr(Qe);return p.content=S,p.size=p.content.length,l}function hu(e){return function(r){for(var n=0;n!=e.length;++n){var a=e[n];r[a[0]]===void 0&&(r[a[0]]=a[1]),a[2]==="n"&&(r[a[0]]=Number(r[a[0]]))}}}function $0(e){hu([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function uu(e,t){return t.bookType=="ods"?wi(e,t):t.bookType=="numbers"?cu(e,t):t.bookType=="xlsb"?xu(e,t):vu(e,t)}function xu(e,t){et=1024,e&&!e.SSF&&(e.SSF=qe(ye)),e&&e.SSF&&(s0(),i0(e.SSF),t.revssf=f0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Tt?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",n=ai.indexOf(t.bookType)>-1,a=ka();$0(t=t||{});var i=N0(),s="",f=0;if(t.cellXfs=[],Lr(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",oe(i,s,Ba(e.Props,t)),a.coreprops.push(s),pe(t.rels,2,s,he.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],l=0;l<e.SheetNames.length;++l)(e.Workbook.Sheets[l]||{}).Hidden!=2&&o.push(e.SheetNames[l]);e.Props.SheetNames=o}for(e.Props.Worksheets=e.Props.SheetNames.length,oe(i,s,ba(e.Props)),a.extprops.push(s),pe(t.rels,3,s,he.EXT_PROPS),e.Custprops!==e.Props&&Ge(e.Custprops||{}).length>0&&(s="docProps/custom.xml",oe(i,s,Wa(e.Custprops)),a.custprops.push(s),pe(t.rels,4,s,he.CUST_PROPS)),f=1;f<=e.SheetNames.length;++f){var c={"!id":{}},p=e.Sheets[e.SheetNames[f-1]],x=(p||{})["!type"]||"sheet";switch(x){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,oe(i,s,dh(f-1,s,t,e,c)),a.sheets.push(s),pe(t.wbrels,-1,"worksheets/sheet"+f+"."+r,he.WS[0])}if(p){var v=p["!comments"],E=!1,u="";v&&v.length>0&&(u="xl/comments"+f+"."+r,oe(i,u,_h(v,u)),a.comments.push(u),pe(c,-1,"../comments"+f+"."+r,he.CMNT),E=!0),p["!legacy"]&&E&&oe(i,"xl/drawings/vmlDrawing"+f+".vml",ti(f,p["!comments"])),delete p["!comments"],delete p["!legacy"]}c["!id"].rId1&&oe(i,La(s),tt(c))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,oe(i,s,gh(t.Strings,s,t)),a.strs.push(s),pe(t.wbrels,-1,"sharedStrings."+r,he.SST)),s="xl/workbook."+r,oe(i,s,ph(e,s)),a.workbooks.push(s),pe(t.rels,1,s,he.WB),s="xl/theme/theme1.xml",oe(i,s,ei(e.Themes,t)),a.themes.push(s),pe(t.wbrels,-1,"theme/theme1.xml",he.THEME),s="xl/styles."+r,oe(i,s,mh(e,s,t)),a.styles.push(s),pe(t.wbrels,-1,"styles."+r,he.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",oe(i,s,e.vbaraw),a.vba.push(s),pe(t.wbrels,-1,"vbaProject.bin",he.VBA)),s="xl/metadata."+r,oe(i,s,Th(s)),a.metadata.push(s),pe(t.wbrels,-1,"metadata."+r,he.XLMETA),oe(i,"[Content_Types].xml",Pa(a,t)),oe(i,"_rels/.rels",tt(t.rels)),oe(i,"xl/_rels/workbook."+r+".rels",tt(t.wbrels)),delete t.revssf,delete t.ssf,i}function vu(e,t){et=1024,e&&!e.SSF&&(e.SSF=qe(ye)),e&&e.SSF&&(s0(),i0(e.SSF),t.revssf=f0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Tt?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=ai.indexOf(t.bookType)>-1,a=ka();$0(t=t||{});var i=N0(),s="",f=0;if(t.cellXfs=[],Lr(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",oe(i,s,Ba(e.Props,t)),a.coreprops.push(s),pe(t.rels,2,s,he.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],l=0;l<e.SheetNames.length;++l)(e.Workbook.Sheets[l]||{}).Hidden!=2&&o.push(e.SheetNames[l]);e.Props.SheetNames=o}e.Props.Worksheets=e.Props.SheetNames.length,oe(i,s,ba(e.Props)),a.extprops.push(s),pe(t.rels,3,s,he.EXT_PROPS),e.Custprops!==e.Props&&Ge(e.Custprops||{}).length>0&&(s="docProps/custom.xml",oe(i,s,Wa(e.Custprops)),a.custprops.push(s),pe(t.rels,4,s,he.CUST_PROPS));var c=["SheetJ5"];for(t.tcid=0,f=1;f<=e.SheetNames.length;++f){var p={"!id":{}},x=e.Sheets[e.SheetNames[f-1]],v=(x||{})["!type"]||"sheet";switch(v){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,oe(i,s,xi(f-1,t,e,p)),a.sheets.push(s),pe(t.wbrels,-1,"worksheets/sheet"+f+"."+r,he.WS[0])}if(x){var E=x["!comments"],u=!1,_="";if(E&&E.length>0){var O=!1;E.forEach(function(R){R[1].forEach(function(y){y.T==!0&&(O=!0)})}),O&&(_="xl/threadedComments/threadedComment"+f+"."+r,oe(i,_,Xl(E,c,t)),a.threadedcomments.push(_),pe(p,-1,"../threadedComments/threadedComment"+f+"."+r,he.TCMNT)),_="xl/comments"+f+"."+r,oe(i,_,ni(E)),a.comments.push(_),pe(p,-1,"../comments"+f+"."+r,he.CMNT),u=!0}x["!legacy"]&&u&&oe(i,"xl/drawings/vmlDrawing"+f+".vml",ti(f,x["!comments"])),delete x["!comments"],delete x["!legacy"]}p["!id"].rId1&&oe(i,La(s),tt(p))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,oe(i,s,$a(t.Strings,t)),a.strs.push(s),pe(t.wbrels,-1,"sharedStrings."+r,he.SST)),s="xl/workbook."+r,oe(i,s,di(e)),a.workbooks.push(s),pe(t.rels,1,s,he.WB),s="xl/theme/theme1.xml",oe(i,s,ei(e.Themes,t)),a.themes.push(s),pe(t.wbrels,-1,"theme/theme1.xml",he.THEME),s="xl/styles."+r,oe(i,s,qa(e,t)),a.styles.push(s),pe(t.wbrels,-1,"styles."+r,he.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",oe(i,s,e.vbaraw),a.vba.push(s),pe(t.wbrels,-1,"vbaProject.bin",he.VBA)),s="xl/metadata."+r,oe(i,s,ri()),a.metadata.push(s),pe(t.wbrels,-1,"metadata."+r,he.XLMETA),c.length>1&&(s="xl/persons/person.xml",oe(i,s,Kl(c)),a.people.push(s),pe(t.wbrels,-1,"persons/person.xml",he.PEOPLE)),oe(i,"[Content_Types].xml",Pa(a,t)),oe(i,"_rels/.rels",tt(t.rels)),oe(i,"xl/_rels/workbook."+r+".rels",tt(t.wbrels)),delete t.revssf,delete t.ssf,i}function pu(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=yr(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function Si(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Dt(t.file,_e.write(e,{type:ue?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return _e.write(e,t)}function du(e,t){var r=qe(t||{}),n=uu(e,r);return mu(n,r)}function mu(e,t){var r={},n=ue?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?_e.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof a=="string"){if(t.type=="binary"||t.type=="base64")return a;a=new Uint8Array(a0(a))}return t.password&&typeof encrypt_agile<"u"?Si(encrypt_agile(a,t.password),t):t.type==="file"?Dt(t.file,a):t.type=="string"?dt(a):a}function gu(e,t){var r=t||{},n=Ph(e,r);return Si(n,r)}function gr(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return wt(At(n));case"binary":return At(n);case"string":return e;case"file":return Dt(t.file,n,"utf8");case"buffer":return ue?Or(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):gr(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function _u(e,t){switch(t.type){case"base64":return wt(e);case"binary":return e;case"string":return e;case"file":return Dt(t.file,e,"binary");case"buffer":return ue?Or(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Vt(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return t.type=="base64"?wt(r):t.type=="string"?dt(r):r;case"file":return Dt(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function Tu(e,t){Ki(),ah(e);var r=qe(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=Tu(e,r);return r.type="array",a0(n)}var a=0;if(r.sheet&&(typeof r.sheet=="number"?a=r.sheet:a=e.SheetNames.indexOf(r.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return gr(Nh(e,r),r);case"slk":case"sylk":return gr(el.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return gr(_i(e.Sheets[e.SheetNames[a]],r),r);case"txt":return _u(Ai(e.Sheets[e.SheetNames[a]],r),r);case"csv":return gr(j0(e.Sheets[e.SheetNames[a]],r),r,"\uFEFF");case"dif":return gr(rl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return Vt(Qf.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return gr(tl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return gr(ol.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return gr(Ya.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return gr(wi(e,r),r);case"wk1":return Vt(bn.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return Vt(bn.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),Vt(gi(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),gu(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return du(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function Eu(e,t,r,n,a,i,s,f){var o=He(r),l=f.defval,c=f.raw||!Object.prototype.hasOwnProperty.call(f,"raw"),p=!0,x=a===1?[]:{};if(a!==1)if(Object.defineProperty)try{Object.defineProperty(x,"__rowNum__",{value:r,enumerable:!1})}catch{x.__rowNum__=r}else x.__rowNum__=r;if(!s||e[r])for(var v=t.s.c;v<=t.e.c;++v){var E=s?e[r][v]:e[n[v]+o];if(E===void 0||E.t===void 0){if(l===void 0)continue;i[v]!=null&&(x[i[v]]=l);continue}var u=E.v;switch(E.t){case"z":if(u==null)break;continue;case"e":u=u==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+E.t)}if(i[v]!=null){if(u==null)if(E.t=="e"&&u===null)x[i[v]]=null;else if(l!==void 0)x[i[v]]=l;else if(c&&u===null)x[i[v]]=null;else continue;else x[i[v]]=c&&(E.t!=="n"||E.t==="n"&&f.rawNumbers!==!1)?u:Cr(E,u,f);u!=null&&(p=!1)}}return{row:x,isempty:p}}function n0(e,t){if(e==null||e["!ref"]==null)return[];var r={t:"n",v:0},n=0,a=1,i=[],s=0,f="",o={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},c=l.range!=null?l.range:e["!ref"];switch(l.header===1?n=1:l.header==="A"?n=2:Array.isArray(l.header)?n=3:l.header==null&&(n=0),typeof c){case"string":o=Ee(c);break;case"number":o=Ee(e["!ref"]),o.s.r=c;break;default:o=c}n>0&&(a=0);var p=He(o.s.r),x=[],v=[],E=0,u=0,_=Array.isArray(e),O=o.s.r,R=0,y={};_&&!e[O]&&(e[O]=[]);var M=l.skipHidden&&e["!cols"]||[],j=l.skipHidden&&e["!rows"]||[];for(R=o.s.c;R<=o.e.c;++R)if(!(M[R]||{}).hidden)switch(x[R]=Xe(R),r=_?e[O][R]:e[x[R]+p],n){case 1:i[R]=R-o.s.c;break;case 2:i[R]=x[R];break;case 3:i[R]=l.header[R-o.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),f=s=Cr(r,null,l),u=y[s]||0,!u)y[s]=1;else{do f=s+"_"+u++;while(y[f]);y[s]=u,y[f]=1}i[R]=f}for(O=o.s.r+a;O<=o.e.r;++O)if(!(j[O]||{}).hidden){var ee=Eu(e,o,O,x,n,i,_,l);(ee.isempty===!1||(n===1?l.blankrows!==!1:l.blankrows))&&(v[E++]=ee.row)}return v.length=E,v}var Yn=/"/g;function wu(e,t,r,n,a,i,s,f){for(var o=!0,l=[],c="",p=He(r),x=t.s.c;x<=t.e.c;++x)if(n[x]){var v=f.dense?(e[r]||[])[x]:e[n[x]+p];if(v==null)c="";else if(v.v!=null){o=!1,c=""+(f.rawNumbers&&v.t=="n"?v.v:Cr(v,null,f));for(var E=0,u=0;E!==c.length;++E)if((u=c.charCodeAt(E))===a||u===i||u===34||f.forceQuotes){c='"'+c.replace(Yn,'""')+'"';break}c=="ID"&&(c='"ID"')}else v.f!=null&&!v.F?(o=!1,c="="+v.f,c.indexOf(",")>=0&&(c='"'+c.replace(Yn,'""')+'"')):c="";l.push(c)}return f.blankrows===!1&&o?null:l.join(s)}function j0(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";var a=Ee(e["!ref"]),i=n.FS!==void 0?n.FS:",",s=i.charCodeAt(0),f=n.RS!==void 0?n.RS:` +`,o=f.charCodeAt(0),l=new RegExp((i=="|"?"\\|":i)+"+$"),c="",p=[];n.dense=Array.isArray(e);for(var x=n.skipHidden&&e["!cols"]||[],v=n.skipHidden&&e["!rows"]||[],E=a.s.c;E<=a.e.c;++E)(x[E]||{}).hidden||(p[E]=Xe(E));for(var u=0,_=a.s.r;_<=a.e.r;++_)(v[_]||{}).hidden||(c=wu(e,a,_,p,s,o,i,n),c!=null&&(n.strip&&(c=c.replace(l,"")),(c||n.blankrows!==!1)&&r.push((u++?f:"")+c)));return delete n.dense,r.join("")}function Ai(e,t){t||(t={}),t.FS=" ",t.RS=` +`;var r=j0(e,t);return r}function Su(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var a=Ee(e["!ref"]),i="",s=[],f,o=[],l=Array.isArray(e);for(f=a.s.c;f<=a.e.c;++f)s[f]=Xe(f);for(var c=a.s.r;c<=a.e.r;++c)for(i=He(c),f=a.s.c;f<=a.e.c;++f)if(t=s[f]+i,r=l?(e[c]||[])[f]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}o[o.length]=t+"="+n}return o}function Fi(e,t,r){var n=r||{},a=+!n.skipHeader,i=e||{},s=0,f=0;if(i&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Pe(n.origin):n.origin;s=o.r,f=o.c}var l,c={s:{c:0,r:0},e:{c:f,r:s+t.length-1+a}};if(i["!ref"]){var p=Ee(i["!ref"]);c.e.c=Math.max(c.e.c,p.e.c),c.e.r=Math.max(c.e.r,p.e.r),s==-1&&(s=p.e.r+1,c.e.r=s+t.length-1+a)}else s==-1&&(s=0,c.e.r=t.length-1+a);var x=n.header||[],v=0;t.forEach(function(u,_){Ge(u).forEach(function(O){(v=x.indexOf(O))==-1&&(x[v=x.length]=O);var R=u[O],y="z",M="",j=me({c:f+v,r:s+_+a});l=Ct(i,j),R&&typeof R=="object"&&!(R instanceof Date)?i[j]=R:(typeof R=="number"?y="n":typeof R=="boolean"?y="b":typeof R=="string"?y="s":R instanceof Date?(y="d",n.cellDates||(y="n",R=Ze(R)),M=n.dateNF||ye[14]):R===null&&n.nullError&&(y="e",R=0),l?(l.t=y,l.v=R,delete l.w,delete l.R,M&&(l.z=M)):i[j]=l={t:y,v:R},M&&(l.z=M))})}),c.e.c=Math.max(c.e.c,f+x.length-1);var E=He(s);if(a)for(v=0;v<x.length;++v)i[Xe(v+f)+E]={t:"s",v:x[v]};return i["!ref"]=De(c),i}function Au(e,t){return Fi(null,e,t)}function Ct(e,t,r){if(typeof t=="string"){if(Array.isArray(e)){var n=Pe(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return typeof t!="number"?Ct(e,me(t)):Ct(e,me({r:t,c:r||0}))}function Fu(e,t){if(typeof t=="number"){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function yu(){return{SheetNames:[],Sheets:{}}}function Cu(e,t,r,n){var a=1;if(!r)for(;a<=65535&&e.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);a=i&&+i[2]||0;var s=i&&i[1]||r;for(++a;a<=65535&&e.SheetNames.indexOf(r=s+a)!=-1;++a);}if(pi(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Ou(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=Fu(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function Du(e,t){return e.z=t,e}function yi(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Ru(e,t,r){return yi(e,"#"+t,r)}function Iu(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function Nu(e,t,r,n){for(var a=typeof t!="string"?t:Ee(t),i=typeof t=="string"?t:De(t),s=a.s.r;s<=a.e.r;++s)for(var f=a.s.c;f<=a.e.c;++f){var o=Ct(e,s,f);o.t="n",o.F=i,delete o.v,s==a.s.r&&f==a.s.c&&(o.f=r,n&&(o.D=!0))}return e}var ku={encode_col:Xe,encode_row:He,encode_cell:me,encode_range:De,decode_col:U0,decode_row:B0,split_cell:Ks,decode_cell:Pe,decode_range:ar,format_cell:Cr,sheet_add_aoa:Ca,sheet_add_json:Fi,sheet_add_dom:Ti,aoa_to_sheet:ft,json_to_sheet:Au,table_to_sheet:Ei,table_to_book:tu,sheet_to_csv:j0,sheet_to_txt:Ai,sheet_to_json:n0,sheet_to_html:_i,sheet_to_formulae:Su,sheet_to_row_object_array:n0,sheet_get_cell:Ct,book_new:yu,book_append_sheet:Cu,book_set_sheet_visibility:Ou,cell_set_number_format:Du,cell_set_hyperlink:yi,cell_set_internal_link:Ru,cell_add_comment:Iu,sheet_set_array_formula:Nu,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};export{ku as u,Tu as w}; diff --git a/compendium_v2/static/xlsx-CxqzP9DR.js b/compendium_v2/static/xlsx-CxqzP9DR.js deleted file mode 100644 index 473e8eee..00000000 --- a/compendium_v2/static/xlsx-CxqzP9DR.js +++ /dev/null @@ -1,95 +0,0 @@ -import{a as Jn,r as jt,j as xr,R as Ki,L as zi,f as Yi,A as $i}from"./main-BIBsTO5W.js";function Hu(e){const t=Jn.c(9),{to:r,children:n}=e,a=window.location.pathname===r,i=jt.useRef(null);let s,f;t[0]!==a?(s=()=>{a&&i.current&&i.current.scrollIntoView({behavior:"smooth",block:"center"})},f=[a],t[0]=a,t[1]=s,t[2]=f):(s=t[1],f=t[2]),jt.useEffect(s,f);let o;t[3]!==n||t[4]!==a?(o=a?xr.jsx("b",{children:n}):n,t[3]=n,t[4]=a,t[5]=o):o=t[5];let l;return t[6]!==o||t[7]!==r?(l=xr.jsx(Ki,{children:xr.jsx(zi,{to:r,className:"link-text-underline",ref:i,children:o})}),t[6]=o,t[7]=r,t[8]=l):l=t[8],l}const Gu=e=>{const t=Jn.c(23),{children:r,survey:n}=e,[a,i]=jt.useState(!1);let s;t[0]!==a?(s=M=>{M.stopPropagation(),M.preventDefault(),i(!a)},t[0]=a,t[1]=s):s=t[1];const f=s;let o;t[2]===Symbol.for("react.memo_cache_sentinel")?(o=M=>{M.target.closest("#sidebar")||M.target.closest(".toggle-btn")||i(!1)},t[2]=o):o=t[2];const l=o;let c;t[3]===Symbol.for("react.memo_cache_sentinel")?(c=()=>(document.addEventListener("click",l),()=>{document.removeEventListener("click",l)}),t[3]=c):c=t[3],jt.useEffect(c);let d;t[4]!==a||t[5]!==n?(d=[],a||d.push("no-sidebar"),n&&d.push("survey"),t[4]=a,t[5]=n,t[6]=d):d=t[6];const x=d.join(" ");let v;t[7]!==r?(v=xr.jsx("div",{className:"menu-items",children:r}),t[7]=r,t[8]=v):v=t[8];let _;t[9]!==x||t[10]!==v?(_=xr.jsx("nav",{className:x,id:"sidebar",children:v}),t[9]=x,t[10]=v,t[11]=_):_=t[11];const u=`toggle-btn${n?"-survey":""}`;let g;t[12]===Symbol.for("react.memo_cache_sentinel")?(g=xr.jsx("span",{children:"MENU"}),t[12]=g):g=t[12];let C;t[13]!==a||t[14]!==f?(C=xr.jsxs("div",{className:"toggle-btn-wrapper",children:[g," ",a?xr.jsx(Yi,{style:{color:"white",paddingBottom:"3px",scale:"1.3"},onClick:f}):xr.jsx($i,{style:{color:"white",paddingBottom:"3px",scale:"1.3"},onClick:f})]}),t[13]=a,t[14]=f,t[15]=C):C=t[15];let O;t[16]!==u||t[17]!==C||t[18]!==f?(O=xr.jsx("div",{className:u,onClick:f,children:C}),t[16]=u,t[17]=C,t[18]=f,t[19]=O):O=t[19];let y;return t[20]!==O||t[21]!==_?(y=xr.jsxs("div",{className:"sidebar-wrapper",children:[_,O]}),t[20]=O,t[21]=_,t[22]=y):y=t[22],y};/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Kt={};Kt.version="0.18.5";var Zn=1252,Ji=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],qn=function(e){Ji.indexOf(e)!=-1&&(Zn=e)};function Zi(){qn(1252)}var wt=function(e){qn(e)};function qi(){wt(1200),Zi()}var Bt=function(t){return String.fromCharCode(t)},on=function(t){return String.fromCharCode(t)},cn,Ir="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function St(e){for(var t="",r=0,n=0,a=0,i=0,s=0,f=0,o=0,l=0;l<e.length;)r=e.charCodeAt(l++),i=r>>2,n=e.charCodeAt(l++),s=(r&3)<<4|n>>4,a=e.charCodeAt(l++),f=(n&15)<<2|a>>6,o=a&63,isNaN(n)?f=o=64:isNaN(a)&&(o=64),t+=Ir.charAt(i)+Ir.charAt(s)+Ir.charAt(f)+Ir.charAt(o);return t}function Cr(e){var t="",r=0,n=0,a=0,i=0,s=0,f=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l<e.length;)i=Ir.indexOf(e.charAt(l++)),s=Ir.indexOf(e.charAt(l++)),r=i<<2|s>>4,t+=String.fromCharCode(r),f=Ir.indexOf(e.charAt(l++)),n=(s&15)<<4|f>>2,f!==64&&(t+=String.fromCharCode(n)),o=Ir.indexOf(e.charAt(l++)),a=(f&3)<<6|o,o!==64&&(t+=String.fromCharCode(a));return t}var ue=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),Dr=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function Gr(e){return ue?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function hn(e){return ue?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var vr=function(t){return ue?Dr(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function s0(e){if(typeof ArrayBuffer>"u")return vr(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=e.charCodeAt(n)&255;return t}function Dt(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function Qi(e){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(e)}var be=ue?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:Dr(t)}))}:function(e){if(typeof Uint8Array<"u"){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if(typeof e[t]=="string")throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map(function(i){return Array.isArray(i)?i:[].slice.call(i)}))};function es(e){for(var t=[],r=0,n=e.length+250,a=Gr(e.length+255),i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s<128)a[r++]=s;else if(s<2048)a[r++]=192|s>>6&31,a[r++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;a[r++]=240|s>>8&7,a[r++]=128|s>>2&63,a[r++]=128|f>>6&15|(s&3)<<4,a[r++]=128|f&63}else a[r++]=224|s>>12&15,a[r++]=128|s>>6&63,a[r++]=128|s&63;r>n&&(t.push(a.slice(0,r)),r=0,a=Gr(65535),n=65530)}return t.push(a.slice(0,r)),be(t)}var pt=/\u0000/g,Ut=/[\u0001-\u0006]/g;function tt(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function dr(e,t){var r=""+e;return r.length>=t?r:Fe("0",t-r.length)+r}function I0(e,t){var r=""+e;return r.length>=t?r:Fe(" ",t-r.length)+r}function zt(e,t){var r=""+e;return r.length>=t?r:r+Fe(" ",t-r.length)}function rs(e,t){var r=""+Math.round(e);return r.length>=t?r:Fe("0",t-r.length)+r}function ts(e,t){var r=""+e;return r.length>=t?r:Fe("0",t-r.length)+r}var un=Math.pow(2,32);function Zr(e,t){if(e>un||e<-un)return rs(e,t);var r=Math.round(e);return ts(r,t)}function Yt(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var xn=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],_0=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function ns(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var ye={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},vn={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},as={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function $t(e,t,r){for(var n=e<0?-1:1,a=e*n,i=0,s=1,f=0,o=1,l=0,c=0,d=Math.floor(a);l<t&&(d=Math.floor(a),f=d*s+i,c=d*l+o,!(a-d<5e-8));)a=1/(a-d),i=s,s=f,o=l,l=c;if(c>t&&(l>t?(c=o,f=i):(c=l,f=s)),!r)return[0,n*f,c];var x=Math.floor(n*f/c);return[x,n*f-x*c,c]}function bt(e,t,r){if(e>2958465||e<0)return null;var n=e|0,a=Math.floor(86400*(e-n)),i=0,s=[],f={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6&&(f.u=0),t&&t.date1904&&(n+=1462),f.u>.9999&&(f.u=0,++a==86400&&(f.T=a=0,++n,++f.D)),n===60)s=r?[1317,10,29]:[1900,2,29],i=3;else if(n===0)s=r?[1317,8,29]:[1900,1,0],i=6;else{n>60&&--n;var o=new Date(1900,0,1);o.setDate(o.getDate()+n-1),s=[o.getFullYear(),o.getMonth()+1,o.getDate()],i=o.getDay(),n<60&&(i=(i+6)%7),r&&(i=hs(o,s))}return f.y=s[0],f.m=s[1],f.d=s[2],f.S=a%60,a=Math.floor(a/60),f.M=a%60,a=Math.floor(a/60),f.H=a,f.q=i,f}var Qn=new Date(1899,11,31,0,0,0),is=Qn.getTime(),ss=new Date(1900,2,1,0,0,0);function ea(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=ss&&(r+=24*60*60*1e3),(r-(is+(e.getTimezoneOffset()-Qn.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function N0(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function fs(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function ls(e){var t=e<0?12:11,r=N0(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function os(e){var t=N0(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function cs(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=ls(e):t===10?r=e.toFixed(10).substr(0,12):r=os(e),N0(fs(r.toUpperCase()))}function C0(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):cs(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return kr(14,ea(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function hs(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function us(e,t,r,n){var a="",i=0,s=0,f=r.y,o,l=0;switch(e){case 98:f=r.y+543;case 121:switch(t.length){case 1:case 2:o=f%100,l=2;break;default:o=f%1e4,l=4;break}break;case 109:switch(t.length){case 1:case 2:o=r.m,l=t.length;break;case 3:return _0[r.m-1][1];case 5:return _0[r.m-1][0];default:return _0[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:o=r.d,l=t.length;break;case 3:return xn[r.q][0];default:return xn[r.q][1]}break;case 104:switch(t.length){case 1:case 2:o=1+(r.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:o=r.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:o=r.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?dr(r.S,t.length):(n>=2?s=n===3?1e3:100:s=n===1?10:1,i=Math.round(s*(r.S+r.u)),i>=60*s&&(i=0),t==="s"?i===0?"0":""+i/s:(a=dr(i,2+n),t==="ss"?a.substr(0,2):"."+a.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":o=r.D*24+r.H;break;case"[m]":case"[mm]":o=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":o=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}l=t.length===3?1:2;break;case 101:o=f,l=1;break}var c=l>0?dr(o,l):"";return c}function Nr(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var ra=/%/g;function xs(e,t,r){var n=t.replace(ra,""),a=t.length-n.length;return Ar(e,n,r*Math.pow(10,2*a))+Fe("%",a)}function vs(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Ar(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function ta(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+ta(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),r.indexOf("e")===-1){var s=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,o,l,c){return o+l+c.substr(0,(a+i)%a)+"."+c.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var na=/# (\?+)( ?)\/( ?)(\d+)/;function ds(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),i=Math.floor(a/n),s=a-i*n,f=n;return r+(i===0?"":""+i)+" "+(s===0?Fe(" ",e[1].length+1+e[4].length):I0(s,e[1].length)+e[2]+"/"+e[3]+dr(f,e[4].length))}function ps(e,t,r){return r+(t===0?"":""+t)+Fe(" ",e[1].length+2+e[4].length)}var aa=/^#*0*\.([0#]+)/,ia=/\).*[0#]/,sa=/\(###\) ###\\?-####/;function ze(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function dn(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function pn(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function ms(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function gs(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function fr(e,t,r){if(e.charCodeAt(0)===40&&!t.match(ia)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?fr("n",n,r):"("+fr("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return vs(e,t,r);if(t.indexOf("%")!==-1)return xs(e,t,r);if(t.indexOf("E")!==-1)return ta(t,r);if(t.charCodeAt(0)===36)return"$"+fr(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,f,o=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+Zr(o,t.length);if(t.match(/^[#?]+$/))return a=Zr(r,0),a==="0"&&(a=""),a.length>t.length?a:ze(t.substr(0,t.length-a.length))+a;if(i=t.match(na))return ds(i,o,l);if(t.match(/^#+0+$/))return l+Zr(o,t.length-t.indexOf("0"));if(i=t.match(aa))return a=dn(r,i[1].length).replace(/^([^\.]+)$/,"$1."+ze(i[1])).replace(/\.$/,"."+ze(i[1])).replace(/\.(\d*)$/,function(_,u){return"."+u+Fe("0",ze(i[1]).length-u.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return l+dn(o,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return l+Nr(Zr(o,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+fr(e,t,-r):Nr(""+(Math.floor(r)+ms(r,i[1].length)))+"."+dr(pn(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return fr(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=tt(fr(e,t.replace(/[\\-]/g,""),r)),s=0,tt(tt(t.replace(/\\/g,"")).replace(/[0#]/g,function(_){return s<a.length?a.charAt(s++):_==="0"?"0":""}));if(t.match(sa))return a=fr(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var c="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(i[4].length,7),f=$t(o,Math.pow(10,s)-1,!1),a=""+l,c=Ar("n",i[1],f[1]),c.charAt(c.length-1)==" "&&(c=c.substr(0,c.length-1)+"0"),a+=c+i[2]+"/"+i[3],c=zt(f[2],s),c.length<i[4].length&&(c=ze(i[4].substr(i[4].length-c.length))+c),a+=c,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(i[1].length,i[4].length),7),f=$t(o,Math.pow(10,s)-1,!0),l+(f[0]||(f[1]?"":"0"))+" "+(f[1]?I0(f[1],s)+i[2]+"/"+i[3]+zt(f[2],s):Fe(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=Zr(r,0),t.length<=a.length?a:ze(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),s=a.indexOf(".");var d=t.indexOf(".")-s,x=t.length-a.length-d;return ze(t.substr(0,d)+a+t.substr(t.length-x))}if(i=t.match(/^00,000\.([#0]*0)$/))return s=pn(r,i[1].length),r<0?"-"+fr(e,t,-r):Nr(gs(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(_){return"00,"+(_.length<3?dr(0,3-_.length):"")+_})+"."+dr(s,i[1].length);switch(t){case"###,##0.00":return fr(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var v=Nr(Zr(o,0));return v!=="0"?l+v:"";case"###,###.00":return fr(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return fr(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function _s(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Ar(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function Ts(e,t,r){var n=t.replace(ra,""),a=t.length-n.length;return Ar(e,n,r*Math.pow(10,2*a))+Fe("%",a)}function fa(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+fa(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),!r.match(/[Ee]/)){var s=Math.floor(Math.log(t)*Math.LOG10E);r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,o,l,c){return o+l+c.substr(0,(a+i)%a)+"."+c.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function gr(e,t,r){if(e.charCodeAt(0)===40&&!t.match(ia)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?gr("n",n,r):"("+gr("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return _s(e,t,r);if(t.indexOf("%")!==-1)return Ts(e,t,r);if(t.indexOf("E")!==-1)return fa(t,r);if(t.charCodeAt(0)===36)return"$"+gr(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,f,o=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+dr(o,t.length);if(t.match(/^[#?]+$/))return a=""+r,r===0&&(a=""),a.length>t.length?a:ze(t.substr(0,t.length-a.length))+a;if(i=t.match(na))return ps(i,o,l);if(t.match(/^#+0+$/))return l+dr(o,t.length-t.indexOf("0"));if(i=t.match(aa))return a=(""+r).replace(/^([^\.]+)$/,"$1."+ze(i[1])).replace(/\.$/,"."+ze(i[1])),a=a.replace(/\.(\d*)$/,function(_,u){return"."+u+Fe("0",ze(i[1]).length-u.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return l+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return l+Nr(""+o);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+gr(e,t,-r):Nr(""+r)+"."+Fe("0",i[1].length);if(i=t.match(/^#,#*,#0/))return gr(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=tt(gr(e,t.replace(/[\\-]/g,""),r)),s=0,tt(tt(t.replace(/\\/g,"")).replace(/[0#]/g,function(_){return s<a.length?a.charAt(s++):_==="0"?"0":""}));if(t.match(sa))return a=gr(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var c="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(i[4].length,7),f=$t(o,Math.pow(10,s)-1,!1),a=""+l,c=Ar("n",i[1],f[1]),c.charAt(c.length-1)==" "&&(c=c.substr(0,c.length-1)+"0"),a+=c+i[2]+"/"+i[3],c=zt(f[2],s),c.length<i[4].length&&(c=ze(i[4].substr(i[4].length-c.length))+c),a+=c,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(i[1].length,i[4].length),7),f=$t(o,Math.pow(10,s)-1,!0),l+(f[0]||(f[1]?"":"0"))+" "+(f[1]?I0(f[1],s)+i[2]+"/"+i[3]+zt(f[2],s):Fe(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:ze(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),s=a.indexOf(".");var d=t.indexOf(".")-s,x=t.length-a.length-d;return ze(t.substr(0,d)+a+t.substr(t.length-x))}if(i=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+gr(e,t,-r):Nr(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(_){return"00,"+(_.length<3?dr(0,3-_.length):"")+_})+"."+dr(0,i[1].length);switch(t){case"###,###":case"##,###":case"#,###":var v=Nr(""+o);return v!=="0"?l+v:"";default:if(t.match(/\.[0#?]*$/))return gr(e,t.slice(0,t.lastIndexOf(".")),r)+ze(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Ar(e,t,r){return(r|0)===r?gr(e,t,r):fr(e,t,r)}function Es(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),r===!0)throw new Error("Format |"+e+"| unterminated string ");return t}var la=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function oa(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":Yt(e,t)&&(t+=6),t++;break;case'"':for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if(e.charAt(t+1)==="1"||e.charAt(t+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(e.substr(t,3).toUpperCase()==="A/P"||e.substr(t,5).toUpperCase()==="AM/PM"||e.substr(t,5).toUpperCase()==="上午/下午")return!0;++t;break;case"[":for(n=r;e.charAt(t++)!=="]"&&t<e.length;)n+=e.charAt(t);if(n.match(la))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":++t;break;default:++t;break}return!1}function ws(e,t,r,n){for(var a=[],i="",s=0,f="",o="t",l,c,d,x="H";s<e.length;)switch(f=e.charAt(s)){case"G":if(!Yt(e,s))throw new Error("unrecognized character "+f+" in "+e);a[a.length]={t:"G",v:"General"},s+=7;break;case'"':for(i="";(d=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(d);a[a.length]={t:"t",v:i},++s;break;case"\\":var v=e.charAt(++s),_=v==="("||v===")"?v:"t";a[a.length]={t:_,v},++s;break;case"_":a[a.length]={t:"t",v:" "},s+=2;break;case"@":a[a.length]={t:"T",v:t},++s;break;case"B":case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(l==null&&(l=bt(t,r,e.charAt(s+1)==="2"),l==null))return"";a[a.length]={t:"X",v:e.substr(s,2)},o=f,s+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0||l==null&&(l=bt(t,r),l==null))return"";for(i=f;++s<e.length&&e.charAt(s).toLowerCase()===f;)i+=f;f==="m"&&o.toLowerCase()==="h"&&(f="M"),f==="h"&&(f=x),a[a.length]={t:f,v:i},o=f;break;case"A":case"a":case"上":var u={t:f,v:f};if(l==null&&(l=bt(t,r)),e.substr(s,3).toUpperCase()==="A/P"?(l!=null&&(u.v=l.H>=12?"P":"A"),u.t="T",x="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(l!=null&&(u.v=l.H>=12?"PM":"AM"),u.t="T",s+=5,x="h"):e.substr(s,5).toUpperCase()==="上午/下午"?(l!=null&&(u.v=l.H>=12?"下午":"上午"),u.t="T",s+=5,x="h"):(u.t="t",++s),l==null&&u.t==="T")return"";a[a.length]=u,o=f;break;case"[":for(i=f;e.charAt(s++)!=="]"&&s<e.length;)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(la)){if(l==null&&(l=bt(t,r),l==null))return"";a[a.length]={t:"Z",v:i.toLowerCase()},o=i.charAt(1)}else i.indexOf("$")>-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",oa(e)||(a[a.length]={t:"t",v:i}));break;case".":if(l!=null){for(i=f;++s<e.length&&(f=e.charAt(s))==="0";)i+=f;a[a.length]={t:"s",v:i};break}case"0":case"#":for(i=f;++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(s))>-1;)i+=f;a[a.length]={t:"n",v:i};break;case"?":for(i=f;e.charAt(++s)===f;)i+=f;a[a.length]={t:f,v:i},o=f;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":a[a.length]={t:n===1?"t":f,v:f},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=f;s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1;)i+=e.charAt(s);a[a.length]={t:"D",v:i};break;case" ":a[a.length]={t:f,v:f},++s;break;case"$":a[a.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);a[a.length]={t:"t",v:f},++s;break}var g=0,C=0,O;for(s=a.length-1,o="t";s>=0;--s)switch(a[s].t){case"h":case"H":a[s].t=x,o="h",g<1&&(g=1);break;case"s":(O=a[s].v.match(/\.0+$/))&&(C=Math.max(C,O[0].length-1)),g<3&&(g=3);case"d":case"y":case"M":case"e":o=a[s].t;break;case"m":o==="s"&&(a[s].t="M",g<2&&(g=2));break;case"X":break;case"Z":g<1&&a[s].v.match(/[Hh]/)&&(g=1),g<2&&a[s].v.match(/[Mm]/)&&(g=2),g<3&&a[s].v.match(/[Ss]/)&&(g=3)}switch(g){case 0:break;case 1:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H);break;case 2:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M);break}var y="",M;for(s=0;s<a.length;++s)switch(a[s].t){case"t":case"T":case" ":case"D":break;case"X":a[s].v="",a[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":a[s].v=us(a[s].t.charCodeAt(0),a[s].v,l,C),a[s].t="t";break;case"n":case"?":for(M=s+1;a[M]!=null&&((f=a[M].t)==="?"||f==="D"||(f===" "||f==="t")&&a[M+1]!=null&&(a[M+1].t==="?"||a[M+1].t==="t"&&a[M+1].v==="/")||a[s].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(a[M].v==="/"||a[M].v===" "&&a[M+1]!=null&&a[M+1].t=="?"));)a[s].v+=a[M].v,a[M]={v:"",t:";"},++M;y+=a[s].v,s=M-1;break;case"G":a[s].t="t",a[s].v=C0(t,r);break}var Y="",ee,D;if(y.length>0){y.charCodeAt(0)==40?(ee=t<0&&y.charCodeAt(0)===45?-t:t,D=Ar("n",y,ee)):(ee=t<0&&n>1?-t:t,D=Ar("n",y,ee),ee<0&&a[0]&&a[0].t=="t"&&(D=D.substr(1),a[0].v="-"+a[0].v)),M=D.length-1;var b=a.length;for(s=0;s<a.length;++s)if(a[s]!=null&&a[s].t!="t"&&a[s].v.indexOf(".")>-1){b=s;break}var L=a.length;if(b===a.length&&D.indexOf("E")===-1){for(s=a.length-1;s>=0;--s)a[s]==null||"n?".indexOf(a[s].t)===-1||(M>=a[s].v.length-1?(M-=a[s].v.length,a[s].v=D.substr(M+1,a[s].v.length)):M<0?a[s].v="":(a[s].v=D.substr(0,M+1),M=-1),a[s].t="t",L=s);M>=0&&L<a.length&&(a[L].v=D.substr(0,M+1)+a[L].v)}else if(b!==a.length&&D.indexOf("E")===-1){for(M=D.indexOf(".")-1,s=b;s>=0;--s)if(!(a[s]==null||"n?".indexOf(a[s].t)===-1)){for(c=a[s].v.indexOf(".")>-1&&s===b?a[s].v.indexOf(".")-1:a[s].v.length-1,Y=a[s].v.substr(c+1);c>=0;--c)M>=0&&(a[s].v.charAt(c)==="0"||a[s].v.charAt(c)==="#")&&(Y=D.charAt(M--)+Y);a[s].v=Y,a[s].t="t",L=s}for(M>=0&&L<a.length&&(a[L].v=D.substr(0,M+1)+a[L].v),M=D.indexOf(".")+1,s=b;s<a.length;++s)if(!(a[s]==null||"n?(".indexOf(a[s].t)===-1&&s!==b)){for(c=a[s].v.indexOf(".")>-1&&s===b?a[s].v.indexOf(".")+1:0,Y=a[s].v.substr(0,c);c<a[s].v.length;++c)M<D.length&&(Y+=D.charAt(M++));a[s].v=Y,a[s].t="t",L=s}}}for(s=0;s<a.length;++s)a[s]!=null&&"n?".indexOf(a[s].t)>-1&&(ee=n>1&&t<0&&s>0&&a[s-1].v==="-"?-t:t,a[s].v=Ar(a[s].t,a[s].v,ee),a[s].t="t");var G="";for(s=0;s!==a.length;++s)a[s]!=null&&(G+=a[s].v);return G}var mn=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function gn(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function Ss(e,t){var r=Es(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var s=r[0].match(mn),f=r[1].match(mn);return gn(t,s)?[n,r[0]]:gn(t,f)?[n,r[1]]:[n,r[s!=null&&f!=null?2:1]]}return[n,i]}function kr(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:ye)[e],n==null&&(n=r.table&&r.table[vn[e]]||ye[vn[e]]),n==null&&(n=as[e]||"General");break}if(Yt(n,0))return C0(t,r);t instanceof Date&&(t=ea(t,r.date1904));var a=Ss(n,t);if(Yt(a[1]))return C0(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return ws(a[1],t,r,a[0])}function ca(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(ye[r]==null){t<0&&(t=r);continue}if(ye[r]==e){t=r;break}}t<0&&(t=391)}return ye[t]=e,t}function f0(e){for(var t=0;t!=392;++t)e[t]!==void 0&&ca(e[t],t)}function l0(){ye=ns()}var ha=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function As(e){var t=typeof e=="number"?ye[e]:e;return t=t.replace(ha,"(\\d+)"),new RegExp("^"+t+"$")}function Fs(e,t,r){var n=-1,a=-1,i=-1,s=-1,f=-1,o=-1;(t.match(ha)||[]).forEach(function(d,x){var v=parseInt(r[x+1],10);switch(d.toLowerCase().charAt(0)){case"y":n=v;break;case"d":i=v;break;case"h":s=v;break;case"s":o=v;break;case"m":s>=0?f=v:a=v;break}}),o>=0&&f==-1&&a>=0&&(f=a,a=-1);var l=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);l.length==7&&(l="0"+l),l.length==8&&(l="20"+l);var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);return s==-1&&f==-1&&o==-1?l:n==-1&&a==-1&&i==-1?c:l+"T"+c}var ys=function(){var e={};e.version="1.2.0";function t(){for(var D=0,b=new Array(256),L=0;L!=256;++L)D=L,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,b[L]=D;return typeof Int32Array<"u"?new Int32Array(b):b}var r=t();function n(D){var b=0,L=0,G=0,V=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(G=0;G!=256;++G)V[G]=D[G];for(G=0;G!=256;++G)for(L=D[G],b=256+G;b<4096;b+=256)L=V[b]=L>>>8^D[L&255];var j=[];for(G=1;G!=16;++G)j[G-1]=typeof Int32Array<"u"?V.subarray(G*256,G*256+256):V.slice(G*256,G*256+256);return j}var a=n(r),i=a[0],s=a[1],f=a[2],o=a[3],l=a[4],c=a[5],d=a[6],x=a[7],v=a[8],_=a[9],u=a[10],g=a[11],C=a[12],O=a[13],y=a[14];function M(D,b){for(var L=b^-1,G=0,V=D.length;G<V;)L=L>>>8^r[(L^D.charCodeAt(G++))&255];return~L}function Y(D,b){for(var L=b^-1,G=D.length-15,V=0;V<G;)L=y[D[V++]^L&255]^O[D[V++]^L>>8&255]^C[D[V++]^L>>16&255]^g[D[V++]^L>>>24]^u[D[V++]]^_[D[V++]]^v[D[V++]]^x[D[V++]]^d[D[V++]]^c[D[V++]]^l[D[V++]]^o[D[V++]]^f[D[V++]]^s[D[V++]]^i[D[V++]]^r[D[V++]];for(G+=15;V<G;)L=L>>>8^r[(L^D[V++])&255];return~L}function ee(D,b){for(var L=b^-1,G=0,V=D.length,j=0,re=0;G<V;)j=D.charCodeAt(G++),j<128?L=L>>>8^r[(L^j)&255]:j<2048?(L=L>>>8^r[(L^(192|j>>6&31))&255],L=L>>>8^r[(L^(128|j&63))&255]):j>=55296&&j<57344?(j=(j&1023)+64,re=D.charCodeAt(G++)&1023,L=L>>>8^r[(L^(240|j>>8&7))&255],L=L>>>8^r[(L^(128|j>>2&63))&255],L=L>>>8^r[(L^(128|re>>6&15|(j&3)<<4))&255],L=L>>>8^r[(L^(128|re&63))&255]):(L=L>>>8^r[(L^(224|j>>12&15))&255],L=L>>>8^r[(L^(128|j>>6&63))&255],L=L>>>8^r[(L^(128|j&63))&255]);return~L}return e.table=r,e.bstr=M,e.buf=Y,e.str=ee,e}(),_e=function(){var t={};t.version="1.2.1";function r(h,T){for(var p=h.split("/"),m=T.split("/"),E=0,w=0,I=Math.min(p.length,m.length);E<I;++E){if(w=p[E].length-m[E].length)return w;if(p[E]!=m[E])return p[E]<m[E]?-1:1}return p.length-m.length}function n(h){if(h.charAt(h.length-1)=="/")return h.slice(0,-1).indexOf("/")===-1?h:n(h.slice(0,-1));var T=h.lastIndexOf("/");return T===-1?h:h.slice(0,T+1)}function a(h){if(h.charAt(h.length-1)=="/")return a(h.slice(0,-1));var T=h.lastIndexOf("/");return T===-1?h:h.slice(T+1)}function i(h,T){typeof T=="string"&&(T=new Date(T));var p=T.getHours();p=p<<6|T.getMinutes(),p=p<<5|T.getSeconds()>>>1,h.write_shift(2,p);var m=T.getFullYear()-1980;m=m<<4|T.getMonth()+1,m=m<<5|T.getDate(),h.write_shift(2,m)}function s(h){var T=h.read_shift(2)&65535,p=h.read_shift(2)&65535,m=new Date,E=p&31;p>>>=5;var w=p&15;p>>>=4,m.setMilliseconds(0),m.setFullYear(p+1980),m.setMonth(w-1),m.setDate(E);var I=T&31;T>>>=5;var U=T&63;return T>>>=6,m.setHours(T),m.setMinutes(U),m.setSeconds(I<<1),m}function f(h){rr(h,0);for(var T={},p=0;h.l<=h.length-4;){var m=h.read_shift(2),E=h.read_shift(2),w=h.l+E,I={};switch(m){case 21589:p=h.read_shift(1),p&1&&(I.mtime=h.read_shift(4)),E>5&&(p&2&&(I.atime=h.read_shift(4)),p&4&&(I.ctime=h.read_shift(4))),I.mtime&&(I.mt=new Date(I.mtime*1e3));break}h.l=w,T[m]=I}return T}var o;function l(){return o||(o={})}function c(h,T){if(h[0]==80&&h[1]==75)return ln(h,T);if((h[0]|32)==109&&(h[1]|32)==105)return Wi(h,T);if(h.length<512)throw new Error("CFB file size "+h.length+" < 512");var p=3,m=512,E=0,w=0,I=0,U=0,R=0,N=[],k=h.slice(0,512);rr(k,0);var X=d(k);switch(p=X[0],p){case 3:m=512;break;case 4:m=4096;break;case 0:if(X[1]==0)return ln(h,T);default:throw new Error("Major Version: Expected 3 or 4 saw "+p)}m!==512&&(k=h.slice(0,m),rr(k,28));var Z=h.slice(0,m);x(k,p);var te=k.read_shift(4,"i");if(p===3&&te!==0)throw new Error("# Directory Sectors: Expected 0 saw "+te);k.l+=4,I=k.read_shift(4,"i"),k.l+=4,k.chk("00100000","Mini Stream Cutoff Size: "),U=k.read_shift(4,"i"),E=k.read_shift(4,"i"),R=k.read_shift(4,"i"),w=k.read_shift(4,"i");for(var K=-1,Q=0;Q<109&&(K=k.read_shift(4,"i"),!(K<0));++Q)N[Q]=K;var fe=v(h,m);g(R,w,fe,m,N);var we=O(fe,I,N,m);we[I].name="!Directory",E>0&&U!==re&&(we[U].name="!MiniFAT"),we[N[0]].name="!FAT",we.fat_addrs=N,we.ssz=m;var Se={},Ve=[],ht=[],ut=[];y(I,we,fe,Ve,E,Se,ht,U),_(ht,ut,Ve),Ve.shift();var xt={FileIndex:ht,FullPaths:ut};return T&&T.raw&&(xt.raw={header:Z,sectors:fe}),xt}function d(h){if(h[h.l]==80&&h[h.l+1]==75)return[0,0];h.chk(ge,"Header Signature: "),h.l+=16;var T=h.read_shift(2,"u");return[h.read_shift(2,"u"),T]}function x(h,T){var p=9;switch(h.l+=2,p=h.read_shift(2)){case 9:if(T!=3)throw new Error("Sector Shift: Expected 9 saw "+p);break;case 12:if(T!=4)throw new Error("Sector Shift: Expected 12 saw "+p);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+p)}h.chk("0600","Mini Sector Shift: "),h.chk("000000000000","Reserved: ")}function v(h,T){for(var p=Math.ceil(h.length/T)-1,m=[],E=1;E<p;++E)m[E-1]=h.slice(E*T,(E+1)*T);return m[p-1]=h.slice(p*T),m}function _(h,T,p){for(var m=0,E=0,w=0,I=0,U=0,R=p.length,N=[],k=[];m<R;++m)N[m]=k[m]=m,T[m]=p[m];for(;U<k.length;++U)m=k[U],E=h[m].L,w=h[m].R,I=h[m].C,N[m]===m&&(E!==-1&&N[E]!==E&&(N[m]=N[E]),w!==-1&&N[w]!==w&&(N[m]=N[w])),I!==-1&&(N[I]=m),E!==-1&&m!=N[m]&&(N[E]=N[m],k.lastIndexOf(E)<U&&k.push(E)),w!==-1&&m!=N[m]&&(N[w]=N[m],k.lastIndexOf(w)<U&&k.push(w));for(m=1;m<R;++m)N[m]===m&&(w!==-1&&N[w]!==w?N[m]=N[w]:E!==-1&&N[E]!==E&&(N[m]=N[E]));for(m=1;m<R;++m)if(h[m].type!==0){if(U=m,U!=N[U])do U=N[U],T[m]=T[U]+"/"+T[m];while(U!==0&&N[U]!==-1&&U!=N[U]);N[m]=-1}for(T[0]+="/",m=1;m<R;++m)h[m].type!==2&&(T[m]+="/")}function u(h,T,p){for(var m=h.start,E=h.size,w=[],I=m;p&&E>0&&I>=0;)w.push(T.slice(I*j,I*j+j)),E-=j,I=Wr(p,I*4);return w.length===0?B(0):be(w).slice(0,h.size)}function g(h,T,p,m,E){var w=re;if(h===re){if(T!==0)throw new Error("DIFAT chain shorter than expected")}else if(h!==-1){var I=p[h],U=(m>>>2)-1;if(!I)return;for(var R=0;R<U&&(w=Wr(I,R*4))!==re;++R)E.push(w);g(Wr(I,m-4),T-1,p,m,E)}}function C(h,T,p,m,E){var w=[],I=[];E||(E=[]);var U=m-1,R=0,N=0;for(R=T;R>=0;){E[R]=!0,w[w.length]=R,I.push(h[R]);var k=p[Math.floor(R*4/m)];if(N=R*4&U,m<4+N)throw new Error("FAT boundary crossed: "+R+" 4 "+m);if(!h[k])break;R=Wr(h[k],N)}return{nodes:w,data:yn([I])}}function O(h,T,p,m){var E=h.length,w=[],I=[],U=[],R=[],N=m-1,k=0,X=0,Z=0,te=0;for(k=0;k<E;++k)if(U=[],Z=k+T,Z>=E&&(Z-=E),!I[Z]){R=[];var K=[];for(X=Z;X>=0;){K[X]=!0,I[X]=!0,U[U.length]=X,R.push(h[X]);var Q=p[Math.floor(X*4/m)];if(te=X*4&N,m<4+te)throw new Error("FAT boundary crossed: "+X+" 4 "+m);if(!h[Q]||(X=Wr(h[Q],te),K[X]))break}w[Z]={nodes:U,data:yn([R])}}return w}function y(h,T,p,m,E,w,I,U){for(var R=0,N=m.length?2:0,k=T[h].data,X=0,Z=0,te;X<k.length;X+=128){var K=k.slice(X,X+128);rr(K,64),Z=K.read_shift(2),te=B0(K,0,Z-N),m.push(te);var Q={name:te,type:K.read_shift(1),color:K.read_shift(1),L:K.read_shift(4,"i"),R:K.read_shift(4,"i"),C:K.read_shift(4,"i"),clsid:K.read_shift(16),state:K.read_shift(4,"i"),start:0,size:0},fe=K.read_shift(2)+K.read_shift(2)+K.read_shift(2)+K.read_shift(2);fe!==0&&(Q.ct=M(K,K.l-8));var we=K.read_shift(2)+K.read_shift(2)+K.read_shift(2)+K.read_shift(2);we!==0&&(Q.mt=M(K,K.l-8)),Q.start=K.read_shift(4,"i"),Q.size=K.read_shift(4,"i"),Q.size<0&&Q.start<0&&(Q.size=Q.type=0,Q.start=re,Q.name=""),Q.type===5?(R=Q.start,E>0&&R!==re&&(T[R].name="!StreamData")):Q.size>=4096?(Q.storage="fat",T[Q.start]===void 0&&(T[Q.start]=C(p,Q.start,T.fat_addrs,T.ssz)),T[Q.start].name=Q.name,Q.content=T[Q.start].data.slice(0,Q.size)):(Q.storage="minifat",Q.size<0?Q.size=0:R!==re&&Q.start!==re&&T[R]&&(Q.content=u(Q,T[R].data,(T[U]||{}).data))),Q.content&&rr(Q.content,0),w[te]=Q,I.push(Q)}}function M(h,T){return new Date((nr(h,T+4)/1e7*Math.pow(2,32)+nr(h,T)/1e7-11644473600)*1e3)}function Y(h,T){return l(),c(o.readFileSync(h),T)}function ee(h,T){var p=T&&T.type;switch(p||ue&&Buffer.isBuffer(h)&&(p="buffer"),p||"base64"){case"file":return Y(h,T);case"base64":return c(vr(Cr(h)),T);case"binary":return c(vr(h),T)}return c(h,T)}function D(h,T){var p=T||{},m=p.root||"Root Entry";if(h.FullPaths||(h.FullPaths=[]),h.FileIndex||(h.FileIndex=[]),h.FullPaths.length!==h.FileIndex.length)throw new Error("inconsistent CFB structure");h.FullPaths.length===0&&(h.FullPaths[0]=m+"/",h.FileIndex[0]={name:m,type:5}),p.CLSID&&(h.FileIndex[0].clsid=p.CLSID),b(h)}function b(h){var T="Sh33tJ5";if(!_e.find(h,"/"+T)){var p=B(4);p[0]=55,p[1]=p[3]=50,p[2]=54,h.FileIndex.push({name:T,type:2,content:p,size:4,L:69,R:69,C:69}),h.FullPaths.push(h.FullPaths[0]+T),L(h)}}function L(h,T){D(h);for(var p=!1,m=!1,E=h.FullPaths.length-1;E>=0;--E){var w=h.FileIndex[E];switch(w.type){case 0:m?p=!0:(h.FileIndex.pop(),h.FullPaths.pop());break;case 1:case 2:case 5:m=!0,isNaN(w.R*w.L*w.C)&&(p=!0),w.R>-1&&w.L>-1&&w.R==w.L&&(p=!0);break;default:p=!0;break}}if(!(!p&&!T)){var I=new Date(1987,1,19),U=0,R=Object.create?Object.create(null):{},N=[];for(E=0;E<h.FullPaths.length;++E)R[h.FullPaths[E]]=!0,h.FileIndex[E].type!==0&&N.push([h.FullPaths[E],h.FileIndex[E]]);for(E=0;E<N.length;++E){var k=n(N[E][0]);m=R[k],m||(N.push([k,{name:a(k).replace("/",""),type:1,clsid:Me,ct:I,mt:I,content:null}]),R[k]=!0)}for(N.sort(function(te,K){return r(te[0],K[0])}),h.FullPaths=[],h.FileIndex=[],E=0;E<N.length;++E)h.FullPaths[E]=N[E][0],h.FileIndex[E]=N[E][1];for(E=0;E<N.length;++E){var X=h.FileIndex[E],Z=h.FullPaths[E];if(X.name=a(Z).replace("/",""),X.L=X.R=X.C=-(X.color=1),X.size=X.content?X.content.length:0,X.start=0,X.clsid=X.clsid||Me,E===0)X.C=N.length>1?1:-1,X.size=0,X.type=5;else if(Z.slice(-1)=="/"){for(U=E+1;U<N.length&&n(h.FullPaths[U])!=Z;++U);for(X.C=U>=N.length?-1:U,U=E+1;U<N.length&&n(h.FullPaths[U])!=n(Z);++U);X.R=U>=N.length?-1:U,X.type=1}else n(h.FullPaths[E+1]||"")==n(Z)&&(X.R=E+1),X.type=2}}}function G(h,T){var p=T||{};if(p.fileType=="mad")return Hi(h,p);switch(L(h),p.fileType){case"zip":return Pi(h,p)}var m=function(te){for(var K=0,Q=0,fe=0;fe<te.FileIndex.length;++fe){var we=te.FileIndex[fe];if(we.content){var Se=we.content.length;Se>0&&(Se<4096?K+=Se+63>>6:Q+=Se+511>>9)}}for(var Ve=te.FullPaths.length+3>>2,ht=K+7>>3,ut=K+127>>7,xt=ht+Q+Ve+ut,br=xt+127>>7,g0=br<=109?0:Math.ceil((br-109)/127);xt+br+g0+127>>7>br;)g0=++br<=109?0:Math.ceil((br-109)/127);var Sr=[1,g0,br,ut,Ve,Q,K,0];return te.FileIndex[0].size=K<<6,Sr[7]=(te.FileIndex[0].start=Sr[0]+Sr[1]+Sr[2]+Sr[3]+Sr[4]+Sr[5])+(Sr[6]+7>>3),Sr}(h),E=B(m[7]<<9),w=0,I=0;{for(w=0;w<8;++w)E.write_shift(1,le[w]);for(w=0;w<8;++w)E.write_shift(2,0);for(E.write_shift(2,62),E.write_shift(2,3),E.write_shift(2,65534),E.write_shift(2,9),E.write_shift(2,6),w=0;w<3;++w)E.write_shift(2,0);for(E.write_shift(4,0),E.write_shift(4,m[2]),E.write_shift(4,m[0]+m[1]+m[2]+m[3]-1),E.write_shift(4,0),E.write_shift(4,4096),E.write_shift(4,m[3]?m[0]+m[1]+m[2]-1:re),E.write_shift(4,m[3]),E.write_shift(-4,m[1]?m[0]-1:re),E.write_shift(4,m[1]),w=0;w<109;++w)E.write_shift(-4,w<m[2]?m[1]+w:-1)}if(m[1])for(I=0;I<m[1];++I){for(;w<236+I*127;++w)E.write_shift(-4,w<m[2]?m[1]+w:-1);E.write_shift(-4,I===m[1]-1?re:I+1)}var U=function(te){for(I+=te;w<I-1;++w)E.write_shift(-4,w+1);te&&(++w,E.write_shift(-4,re))};for(I=w=0,I+=m[1];w<I;++w)E.write_shift(-4,Ce.DIFSECT);for(I+=m[2];w<I;++w)E.write_shift(-4,Ce.FATSECT);U(m[3]),U(m[4]);for(var R=0,N=0,k=h.FileIndex[0];R<h.FileIndex.length;++R)k=h.FileIndex[R],k.content&&(N=k.content.length,!(N<4096)&&(k.start=I,U(N+511>>9)));for(U(m[6]+7>>3);E.l&511;)E.write_shift(-4,Ce.ENDOFCHAIN);for(I=w=0,R=0;R<h.FileIndex.length;++R)k=h.FileIndex[R],k.content&&(N=k.content.length,!(!N||N>=4096)&&(k.start=I,U(N+63>>6)));for(;E.l&511;)E.write_shift(-4,Ce.ENDOFCHAIN);for(w=0;w<m[4]<<2;++w){var X=h.FullPaths[w];if(!X||X.length===0){for(R=0;R<17;++R)E.write_shift(4,0);for(R=0;R<3;++R)E.write_shift(4,-1);for(R=0;R<12;++R)E.write_shift(4,0);continue}k=h.FileIndex[w],w===0&&(k.start=k.size?k.start-1:re);var Z=w===0&&p.root||k.name;if(N=2*(Z.length+1),E.write_shift(64,Z,"utf16le"),E.write_shift(2,N),E.write_shift(1,k.type),E.write_shift(1,k.color),E.write_shift(-4,k.L),E.write_shift(-4,k.R),E.write_shift(-4,k.C),k.clsid)E.write_shift(16,k.clsid,"hex");else for(R=0;R<4;++R)E.write_shift(4,0);E.write_shift(4,k.state||0),E.write_shift(4,0),E.write_shift(4,0),E.write_shift(4,0),E.write_shift(4,0),E.write_shift(4,k.start),E.write_shift(4,k.size),E.write_shift(4,0)}for(w=1;w<h.FileIndex.length;++w)if(k=h.FileIndex[w],k.size>=4096)if(E.l=k.start+1<<9,ue&&Buffer.isBuffer(k.content))k.content.copy(E,E.l,0,k.size),E.l+=k.size+511&-512;else{for(R=0;R<k.size;++R)E.write_shift(1,k.content[R]);for(;R&511;++R)E.write_shift(1,0)}for(w=1;w<h.FileIndex.length;++w)if(k=h.FileIndex[w],k.size>0&&k.size<4096)if(ue&&Buffer.isBuffer(k.content))k.content.copy(E,E.l,0,k.size),E.l+=k.size+63&-64;else{for(R=0;R<k.size;++R)E.write_shift(1,k.content[R]);for(;R&63;++R)E.write_shift(1,0)}if(ue)E.l=E.length;else for(;E.l<E.length;)E.write_shift(1,0);return E}function V(h,T){var p=h.FullPaths.map(function(R){return R.toUpperCase()}),m=p.map(function(R){var N=R.split("/");return N[N.length-(R.slice(-1)=="/"?2:1)]}),E=!1;T.charCodeAt(0)===47?(E=!0,T=p[0].slice(0,-1)+T):E=T.indexOf("/")!==-1;var w=T.toUpperCase(),I=E===!0?p.indexOf(w):m.indexOf(w);if(I!==-1)return h.FileIndex[I];var U=!w.match(Ut);for(w=w.replace(pt,""),U&&(w=w.replace(Ut,"!")),I=0;I<p.length;++I)if((U?p[I].replace(Ut,"!"):p[I]).replace(pt,"")==w||(U?m[I].replace(Ut,"!"):m[I]).replace(pt,"")==w)return h.FileIndex[I];return null}var j=64,re=-2,ge="d0cf11e0a1b11ae1",le=[208,207,17,224,161,177,26,225],Me="00000000000000000000000000000000",Ce={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:re,FREESECT:-1,HEADER_SIGNATURE:ge,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:Me,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function cr(h,T,p){l();var m=G(h,p);o.writeFileSync(T,m)}function Ne(h){for(var T=new Array(h.length),p=0;p<h.length;++p)T[p]=String.fromCharCode(h[p]);return T.join("")}function ir(h,T){var p=G(h,T);switch(T&&T.type||"buffer"){case"file":return l(),o.writeFileSync(T.filename,p),p;case"binary":return typeof p=="string"?p:Ne(p);case"base64":return St(typeof p=="string"?p:Ne(p));case"buffer":if(ue)return Buffer.isBuffer(p)?p:Dr(p);case"array":return typeof p=="string"?vr(p):p}return p}var Qe;function S(h){try{var T=h.InflateRaw,p=new T;if(p._processChunk(new Uint8Array([3,0]),p._finishFlushFlag),p.bytesRead)Qe=h;else throw new Error("zlib does not expose bytesRead")}catch(m){console.error("cannot use native zlib: "+(m.message||m))}}function P(h,T){if(!Qe)return sn(h,T);var p=Qe.InflateRaw,m=new p,E=m._processChunk(h.slice(h.l),m._finishFlushFlag);return h.l+=m.bytesRead,E}function F(h){return Qe?Qe.deflateRawSync(h):Q0(h)}var A=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],H=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],ie=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function se(h){var T=(h<<1|h<<11)&139536|(h<<5|h<<15)&558144;return(T>>16|T>>8|T)&255}for(var ae=typeof Uint8Array<"u",q=ae?new Uint8Array(256):[],Te=0;Te<256;++Te)q[Te]=se(Te);function ce(h,T){var p=q[h&255];return T<=8?p>>>8-T:(p=p<<8|q[h>>8&255],T<=16?p>>>16-T:(p=p<<8|q[h>>16&255],p>>>24-T))}function Ke(h,T){var p=T&7,m=T>>>3;return(h[m]|(p<=6?0:h[m+1]<<8))>>>p&3}function xe(h,T){var p=T&7,m=T>>>3;return(h[m]|(p<=5?0:h[m+1]<<8))>>>p&7}function Er(h,T){var p=T&7,m=T>>>3;return(h[m]|(p<=4?0:h[m+1]<<8))>>>p&15}function Ae(h,T){var p=T&7,m=T>>>3;return(h[m]|(p<=3?0:h[m+1]<<8))>>>p&31}function ne(h,T){var p=T&7,m=T>>>3;return(h[m]|(p<=1?0:h[m+1]<<8))>>>p&127}function sr(h,T,p){var m=T&7,E=T>>>3,w=(1<<p)-1,I=h[E]>>>m;return p<8-m||(I|=h[E+1]<<8-m,p<16-m)||(I|=h[E+2]<<16-m,p<24-m)||(I|=h[E+3]<<24-m),I&w}function wr(h,T,p){var m=T&7,E=T>>>3;return m<=5?h[E]|=(p&7)<<m:(h[E]|=p<<m&255,h[E+1]=(p&7)>>8-m),T+3}function Br(h,T,p){var m=T&7,E=T>>>3;return p=(p&1)<<m,h[E]|=p,T+1}function Jr(h,T,p){var m=T&7,E=T>>>3;return p<<=m,h[E]|=p&255,p>>>=8,h[E+1]=p,T+8}function q0(h,T,p){var m=T&7,E=T>>>3;return p<<=m,h[E]|=p&255,p>>>=8,h[E+1]=p&255,h[E+2]=p>>>8,T+16}function v0(h,T){var p=h.length,m=2*p>T?2*p:T+5,E=0;if(p>=T)return h;if(ue){var w=hn(m);if(h.copy)h.copy(w);else for(;E<h.length;++E)w[E]=h[E];return w}else if(ae){var I=new Uint8Array(m);if(I.set)I.set(h);else for(;E<p;++E)I[E]=h[E];return I}return h.length=m,h}function mr(h){for(var T=new Array(h),p=0;p<h;++p)T[p]=0;return T}function Lt(h,T,p){var m=1,E=0,w=0,I=0,U=0,R=h.length,N=ae?new Uint16Array(32):mr(32);for(w=0;w<32;++w)N[w]=0;for(w=R;w<p;++w)h[w]=0;R=h.length;var k=ae?new Uint16Array(R):mr(R);for(w=0;w<R;++w)N[E=h[w]]++,m<E&&(m=E),k[w]=0;for(N[0]=0,w=1;w<=m;++w)N[w+16]=U=U+N[w-1]<<1;for(w=0;w<R;++w)U=h[w],U!=0&&(k[w]=N[U+16]++);var X=0;for(w=0;w<R;++w)if(X=h[w],X!=0)for(U=ce(k[w],m)>>m-X,I=(1<<m+4-X)-1;I>=0;--I)T[U|I<<X]=X&15|w<<4;return m}var d0=ae?new Uint16Array(512):mr(512),p0=ae?new Uint16Array(32):mr(32);if(!ae){for(var Ur=0;Ur<512;++Ur)d0[Ur]=0;for(Ur=0;Ur<32;++Ur)p0[Ur]=0}(function(){for(var h=[],T=0;T<32;T++)h.push(5);Lt(h,p0,32);var p=[];for(T=0;T<=143;T++)p.push(8);for(;T<=255;T++)p.push(9);for(;T<=279;T++)p.push(7);for(;T<=287;T++)p.push(8);Lt(p,d0,288)})();var Ri=function(){for(var T=ae?new Uint8Array(32768):[],p=0,m=0;p<ie.length-1;++p)for(;m<ie[p+1];++m)T[m]=p;for(;m<32768;++m)T[m]=29;var E=ae?new Uint8Array(259):[];for(p=0,m=0;p<H.length-1;++p)for(;m<H[p+1];++m)E[m]=p;function w(U,R){for(var N=0;N<U.length;){var k=Math.min(65535,U.length-N),X=N+k==U.length;for(R.write_shift(1,+X),R.write_shift(2,k),R.write_shift(2,~k&65535);k-- >0;)R[R.l++]=U[N++]}return R.l}function I(U,R){for(var N=0,k=0,X=ae?new Uint16Array(32768):[];k<U.length;){var Z=Math.min(65535,U.length-k);if(Z<10){for(N=wr(R,N,+(k+Z==U.length)),N&7&&(N+=8-(N&7)),R.l=N/8|0,R.write_shift(2,Z),R.write_shift(2,~Z&65535);Z-- >0;)R[R.l++]=U[k++];N=R.l*8;continue}N=wr(R,N,+(k+Z==U.length)+2);for(var te=0;Z-- >0;){var K=U[k];te=(te<<5^K)&32767;var Q=-1,fe=0;if((Q=X[te])&&(Q|=k&-32768,Q>k&&(Q-=32768),Q<k))for(;U[Q+fe]==U[k+fe]&&fe<250;)++fe;if(fe>2){K=E[fe],K<=22?N=Jr(R,N,q[K+1]>>1)-1:(Jr(R,N,3),N+=5,Jr(R,N,q[K-23]>>5),N+=3);var we=K<8?0:K-4>>2;we>0&&(q0(R,N,fe-H[K]),N+=we),K=T[k-Q],N=Jr(R,N,q[K]>>3),N-=3;var Se=K<4?0:K-2>>1;Se>0&&(q0(R,N,k-Q-ie[K]),N+=Se);for(var Ve=0;Ve<fe;++Ve)X[te]=k&32767,te=(te<<5^U[k])&32767,++k;Z-=fe-1}else K<=143?K=K+48:N=Br(R,N,1),N=Jr(R,N,q[K]),X[te]=k&32767,++k}N=Jr(R,N,0)-1}return R.l=(N+7)/8|0,R.l}return function(R,N){return R.length<8?w(R,N):I(R,N)}}();function Q0(h){var T=B(50+Math.floor(h.length*1.1)),p=Ri(h,T);return T.slice(0,p)}var en=ae?new Uint16Array(32768):mr(32768),rn=ae?new Uint16Array(32768):mr(32768),tn=ae?new Uint16Array(128):mr(128),nn=1,an=1;function Ii(h,T){var p=Ae(h,T)+257;T+=5;var m=Ae(h,T)+1;T+=5;var E=Er(h,T)+4;T+=4;for(var w=0,I=ae?new Uint8Array(19):mr(19),U=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],R=1,N=ae?new Uint8Array(8):mr(8),k=ae?new Uint8Array(8):mr(8),X=I.length,Z=0;Z<E;++Z)I[A[Z]]=w=xe(h,T),R<w&&(R=w),N[w]++,T+=3;var te=0;for(N[0]=0,Z=1;Z<=R;++Z)k[Z]=te=te+N[Z-1]<<1;for(Z=0;Z<X;++Z)(te=I[Z])!=0&&(U[Z]=k[te]++);var K=0;for(Z=0;Z<X;++Z)if(K=I[Z],K!=0){te=q[U[Z]]>>8-K;for(var Q=(1<<7-K)-1;Q>=0;--Q)tn[te|Q<<K]=K&7|Z<<3}var fe=[];for(R=1;fe.length<p+m;)switch(te=tn[ne(h,T)],T+=te&7,te>>>=3){case 16:for(w=3+Ke(h,T),T+=2,te=fe[fe.length-1];w-- >0;)fe.push(te);break;case 17:for(w=3+xe(h,T),T+=3;w-- >0;)fe.push(0);break;case 18:for(w=11+ne(h,T),T+=7;w-- >0;)fe.push(0);break;default:fe.push(te),R<te&&(R=te);break}var we=fe.slice(0,p),Se=fe.slice(p);for(Z=p;Z<286;++Z)we[Z]=0;for(Z=m;Z<30;++Z)Se[Z]=0;return nn=Lt(we,en,286),an=Lt(Se,rn,30),T}function Ni(h,T){if(h[0]==3&&!(h[1]&3))return[Gr(T),2];for(var p=0,m=0,E=hn(T||1<<18),w=0,I=E.length>>>0,U=0,R=0;!(m&1);){if(m=xe(h,p),p+=3,m>>>1)m>>1==1?(U=9,R=5):(p=Ii(h,p),U=nn,R=an);else{p&7&&(p+=8-(p&7));var N=h[p>>>3]|h[(p>>>3)+1]<<8;if(p+=32,N>0)for(!T&&I<w+N&&(E=v0(E,w+N),I=E.length);N-- >0;)E[w++]=h[p>>>3],p+=8;continue}for(;;){!T&&I<w+32767&&(E=v0(E,w+32767),I=E.length);var k=sr(h,p,U),X=m>>>1==1?d0[k]:en[k];if(p+=X&15,X>>>=4,!(X>>>8&255))E[w++]=X;else{if(X==256)break;X-=257;var Z=X<8?0:X-4>>2;Z>5&&(Z=0);var te=w+H[X];Z>0&&(te+=sr(h,p,Z),p+=Z),k=sr(h,p,R),X=m>>>1==1?p0[k]:rn[k],p+=X&15,X>>>=4;var K=X<4?0:X-2>>1,Q=ie[X];for(K>0&&(Q+=sr(h,p,K),p+=K),!T&&I<te&&(E=v0(E,te+100),I=E.length);w<te;)E[w]=E[w-Q],++w}}}return T?[E,p+7>>>3]:[E.slice(0,w),p+7>>>3]}function sn(h,T){var p=h.slice(h.l||0),m=Ni(p,T);return h.l+=m[1],m[0]}function fn(h,T){if(h)typeof console<"u"&&console.error(T);else throw new Error(T)}function ln(h,T){var p=h;rr(p,0);var m=[],E=[],w={FileIndex:m,FullPaths:E};D(w,{root:T.root});for(var I=p.length-4;(p[I]!=80||p[I+1]!=75||p[I+2]!=5||p[I+3]!=6)&&I>=0;)--I;p.l=I+4,p.l+=4;var U=p.read_shift(2);p.l+=6;var R=p.read_shift(4);for(p.l=R,I=0;I<U;++I){p.l+=20;var N=p.read_shift(4),k=p.read_shift(4),X=p.read_shift(2),Z=p.read_shift(2),te=p.read_shift(2);p.l+=8;var K=p.read_shift(4),Q=f(p.slice(p.l+X,p.l+X+Z));p.l+=X+Z+te;var fe=p.l;p.l=K+4,ki(p,N,k,w,Q),p.l=fe}return w}function ki(h,T,p,m,E){h.l+=2;var w=h.read_shift(2),I=h.read_shift(2),U=s(h);if(w&8257)throw new Error("Unsupported ZIP encryption");for(var R=h.read_shift(4),N=h.read_shift(4),k=h.read_shift(4),X=h.read_shift(2),Z=h.read_shift(2),te="",K=0;K<X;++K)te+=String.fromCharCode(h[h.l++]);if(Z){var Q=f(h.slice(h.l,h.l+Z));(Q[21589]||{}).mt&&(U=Q[21589].mt),((E||{})[21589]||{}).mt&&(U=E[21589].mt)}h.l+=Z;var fe=h.slice(h.l,h.l+N);switch(I){case 8:fe=P(h,k);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+I)}var we=!1;w&8&&(R=h.read_shift(4),R==134695760&&(R=h.read_shift(4),we=!0),N=h.read_shift(4),k=h.read_shift(4)),N!=T&&fn(we,"Bad compressed size: "+T+" != "+N),k!=p&&fn(we,"Bad uncompressed size: "+p+" != "+k),m0(m,te,fe,{unsafe:!0,mt:U})}function Pi(h,T){var p=T||{},m=[],E=[],w=B(1),I=p.compression?8:0,U=0,R=0,N=0,k=0,X=0,Z=h.FullPaths[0],te=Z,K=h.FileIndex[0],Q=[],fe=0;for(R=1;R<h.FullPaths.length;++R)if(te=h.FullPaths[R].slice(Z.length),K=h.FileIndex[R],!(!K.size||!K.content||te=="Sh33tJ5")){var we=k,Se=B(te.length);for(N=0;N<te.length;++N)Se.write_shift(1,te.charCodeAt(N)&127);Se=Se.slice(0,Se.l),Q[X]=ys.buf(K.content,0);var Ve=K.content;I==8&&(Ve=F(Ve)),w=B(30),w.write_shift(4,67324752),w.write_shift(2,20),w.write_shift(2,U),w.write_shift(2,I),K.mt?i(w,K.mt):w.write_shift(4,0),w.write_shift(-4,Q[X]),w.write_shift(4,Ve.length),w.write_shift(4,K.content.length),w.write_shift(2,Se.length),w.write_shift(2,0),k+=w.length,m.push(w),k+=Se.length,m.push(Se),k+=Ve.length,m.push(Ve),w=B(46),w.write_shift(4,33639248),w.write_shift(2,0),w.write_shift(2,20),w.write_shift(2,U),w.write_shift(2,I),w.write_shift(4,0),w.write_shift(-4,Q[X]),w.write_shift(4,Ve.length),w.write_shift(4,K.content.length),w.write_shift(2,Se.length),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(4,0),w.write_shift(4,we),fe+=w.l,E.push(w),fe+=Se.length,E.push(Se),++X}return w=B(22),w.write_shift(4,101010256),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,X),w.write_shift(2,X),w.write_shift(4,fe),w.write_shift(4,k),w.write_shift(2,0),be([be(m),be(E),w])}var Mt={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Li(h,T){if(h.ctype)return h.ctype;var p=h.name||"",m=p.match(/\.([^\.]+)$/);return m&&Mt[m[1]]||T&&(m=(p=T).match(/[\.\\]([^\.\\])+$/),m&&Mt[m[1]])?Mt[m[1]]:"application/octet-stream"}function Mi(h){for(var T=St(h),p=[],m=0;m<T.length;m+=76)p.push(T.slice(m,m+76));return p.join(`\r -`)+`\r -`}function Bi(h){var T=h.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(N){var k=N.charCodeAt(0).toString(16).toUpperCase();return"="+(k.length==1?"0"+k:k)});T=T.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),T.charAt(0)==` -`&&(T="=0D"+T.slice(1)),T=T.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,` -=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var p=[],m=T.split(`\r -`),E=0;E<m.length;++E){var w=m[E];if(w.length==0){p.push("");continue}for(var I=0;I<w.length;){var U=76,R=w.slice(I,I+U);R.charAt(U-1)=="="?U--:R.charAt(U-2)=="="?U-=2:R.charAt(U-3)=="="&&(U-=3),R=w.slice(I,I+U),I+=U,I<w.length&&(R+="="),p.push(R)}}return p.join(`\r -`)}function Ui(h){for(var T=[],p=0;p<h.length;++p){for(var m=h[p];p<=h.length&&m.charAt(m.length-1)=="=";)m=m.slice(0,m.length-1)+h[++p];T.push(m)}for(var E=0;E<T.length;++E)T[E]=T[E].replace(/[=][0-9A-Fa-f]{2}/g,function(w){return String.fromCharCode(parseInt(w.slice(1),16))});return vr(T.join(`\r -`))}function bi(h,T,p){for(var m="",E="",w="",I,U=0;U<10;++U){var R=T[U];if(!R||R.match(/^\s*$/))break;var N=R.match(/^(.*?):\s*([^\s].*)$/);if(N)switch(N[1].toLowerCase()){case"content-location":m=N[2].trim();break;case"content-type":w=N[2].trim();break;case"content-transfer-encoding":E=N[2].trim();break}}switch(++U,E.toLowerCase()){case"base64":I=vr(Cr(T.slice(U).join("")));break;case"quoted-printable":I=Ui(T.slice(U));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+E)}var k=m0(h,m.slice(p.length),I,{unsafe:!0});w&&(k.ctype=w)}function Wi(h,T){if(Ne(h.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var p=T&&T.root||"",m=(ue&&Buffer.isBuffer(h)?h.toString("binary"):Ne(h)).split(`\r -`),E=0,w="";for(E=0;E<m.length;++E)if(w=m[E],!!/^Content-Location:/i.test(w)&&(w=w.slice(w.indexOf("file")),p||(p=w.slice(0,w.lastIndexOf("/")+1)),w.slice(0,p.length)!=p))for(;p.length>0&&(p=p.slice(0,p.length-1),p=p.slice(0,p.lastIndexOf("/")+1),w.slice(0,p.length)!=p););var I=(m[1]||"").match(/boundary="(.*?)"/);if(!I)throw new Error("MAD cannot find boundary");var U="--"+(I[1]||""),R=[],N=[],k={FileIndex:R,FullPaths:N};D(k);var X,Z=0;for(E=0;E<m.length;++E){var te=m[E];te!==U&&te!==U+"--"||(Z++&&bi(k,m.slice(X,E),p),X=E)}return k}function Hi(h,T){var p=T||{},m=p.boundary||"SheetJS";m="------="+m;for(var E=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+m.slice(2)+'"',"","",""],w=h.FullPaths[0],I=w,U=h.FileIndex[0],R=1;R<h.FullPaths.length;++R)if(I=h.FullPaths[R].slice(w.length),U=h.FileIndex[R],!(!U.size||!U.content||I=="Sh33tJ5")){I=I.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(fe){return"_x"+fe.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(fe){return"_u"+fe.charCodeAt(0).toString(16)+"_"});for(var N=U.content,k=ue&&Buffer.isBuffer(N)?N.toString("binary"):Ne(N),X=0,Z=Math.min(1024,k.length),te=0,K=0;K<=Z;++K)(te=k.charCodeAt(K))>=32&&te<128&&++X;var Q=X>=Z*4/5;E.push(m),E.push("Content-Location: "+(p.root||"file:///C:/SheetJS/")+I),E.push("Content-Transfer-Encoding: "+(Q?"quoted-printable":"base64")),E.push("Content-Type: "+Li(U,I)),E.push(""),E.push(Q?Bi(k):Mi(k))}return E.push(m+`--\r -`),E.join(`\r -`)}function Gi(h){var T={};return D(T,h),T}function m0(h,T,p,m){var E=m&&m.unsafe;E||D(h);var w=!E&&_e.find(h,T);if(!w){var I=h.FullPaths[0];T.slice(0,I.length)==I?I=T:(I.slice(-1)!="/"&&(I+="/"),I=(I+T).replace("//","/")),w={name:a(T),type:2},h.FileIndex.push(w),h.FullPaths.push(I),E||_e.utils.cfb_gc(h)}return w.content=p,w.size=p?p.length:0,m&&(m.CLSID&&(w.clsid=m.CLSID),m.mt&&(w.mt=m.mt),m.ct&&(w.ct=m.ct)),w}function Vi(h,T){D(h);var p=_e.find(h,T);if(p){for(var m=0;m<h.FileIndex.length;++m)if(h.FileIndex[m]==p)return h.FileIndex.splice(m,1),h.FullPaths.splice(m,1),!0}return!1}function Xi(h,T,p){D(h);var m=_e.find(h,T);if(m){for(var E=0;E<h.FileIndex.length;++E)if(h.FileIndex[E]==m)return h.FileIndex[E].name=a(p),h.FullPaths[E]=p,!0}return!1}function ji(h){L(h,!0)}return t.find=V,t.read=ee,t.parse=c,t.write=ir,t.writeFile=cr,t.utils={cfb_new:Gi,cfb_add:m0,cfb_del:Vi,cfb_mov:Xi,cfb_gc:ji,ReadShift:gt,CheckField:Da,prep_blob:rr,bconcat:be,use_zlib:S,_deflateRaw:Q0,_inflateRaw:sn,consts:Ce},t}();function Cs(e){return typeof e=="string"?s0(e):Array.isArray(e)?Qi(e):e}function Rt(e,t,r){if(typeof Deno<"u"){if(r&&typeof t=="string")switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=s0(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n=r=="utf8"?Ft(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var a=new Blob([Cs(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(typeof saveAs<"u")return saveAs(a,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(a);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});var s=document.createElement("a");if(s.download!=null)return s.download=e,s.href=i,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var f=File(e);return f.open("w"),f.encoding="binary",Array.isArray(t)&&(t=Dt(t)),f.write(t),f.close(),t}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error("cannot save file "+e)}function Ge(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function _n(e,t){for(var r=[],n=Ge(e),a=0;a!==n.length;++a)r[e[n[a]][t]]==null&&(r[e[n[a]][t]]=n[a]);return r}function k0(e){for(var t=[],r=Ge(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function o0(e){for(var t=[],r=Ge(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function Os(e){for(var t=[],r=Ge(e),n=0;n!==r.length;++n)t[e[r[n]]]==null&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}var Jt=new Date(1899,11,30,0,0,0);function Ze(e,t){var r=e.getTime(),n=Jt.getTime()+(e.getTimezoneOffset()-Jt.getTimezoneOffset())*6e4;return(r-n)/(24*60*60*1e3)}var ua=new Date,Ds=Jt.getTime()+(ua.getTimezoneOffset()-Jt.getTimezoneOffset())*6e4,Tn=ua.getTimezoneOffset();function xa(e){var t=new Date;return t.setTime(e*24*60*60*1e3+Ds),t.getTimezoneOffset()!==Tn&&t.setTime(t.getTime()+(t.getTimezoneOffset()-Tn)*6e4),t}var En=new Date("2017-02-19T19:06:09.000Z"),va=isNaN(En.getFullYear())?new Date("2/19/17"):En,Rs=va.getFullYear()==2017;function $e(e,t){var r=new Date(e);if(Rs)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(va.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function c0(e,t){if(ue&&Buffer.isBuffer(e))return e.toString("binary");if(typeof TextDecoder<"u")try{var r={"€":"","‚":"",ƒ:"","„":"","…":" ","†":"","‡":"","ˆ":"","‰":"",Š:"","‹":"",Œ:"",Ž:"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"",š:"","›":"",œ:"",ž:"",Ÿ:""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(i){return r[i]||i})}catch{}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function qe(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=qe(e[r]));return t}function Fe(e,t){for(var r="";r.length<t;)r+=e;return r}function Fr(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return!isNaN(t=Number(n))||(n=n.replace(/[(](.*)[)]/,function(a,i){return r=-r,i}),!isNaN(t=Number(n)))?t/r:t}var Is=["january","february","march","april","may","june","july","august","september","october","november","december"];function At(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),i=t.getDate();if(isNaN(i))return r;var s=e.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),s.length>3&&Is.indexOf(s)==-1)return r}else if(s.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||i>1)&&n!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}function oe(e,t,r){if(e.FullPaths){if(typeof r=="string"){var n;return ue?n=Dr(r):n=es(r),_e.utils.cfb_add(e,t,n)}_e.utils.cfb_add(e,t,r)}else e.file(t,r)}function P0(){return _e.utils.cfb_new()}var Re=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r -`,Ns={""":'"',"'":"'",">":">","<":"<","&":"&"},L0=k0(Ns),M0=/[&<>'"]/g,ks=/[\u0000-\u0008\u000b-\u001f]/g;function pe(e){var t=e+"";return t.replace(M0,function(r){return L0[r]}).replace(ks,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function wn(e){return pe(e).replace(/ /g,"_x0020_")}var da=/[\u0000-\u001f]/g;function Ps(e){var t=e+"";return t.replace(M0,function(r){return L0[r]}).replace(/\n/g,"<br/>").replace(da,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function Ls(e){var t=e+"";return t.replace(M0,function(r){return L0[r]}).replace(da,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}function Ms(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Bs(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function T0(e){for(var t="",r=0,n=0,a=0,i=0,s=0,f=0;r<e.length;){if(n=e.charCodeAt(r++),n<128){t+=String.fromCharCode(n);continue}if(a=e.charCodeAt(r++),n>191&&n<224){s=(n&31)<<6,s|=a&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(a&63)<<6|i&63);continue}s=e.charCodeAt(r++),f=((n&7)<<18|(a&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(f>>>10&1023)),t+=String.fromCharCode(56320+(f&1023))}return t}function Sn(e){var t=Gr(2*e.length),r,n,a=1,i=0,s=0,f;for(n=0;n<e.length;n+=a)a=1,(f=e.charCodeAt(n))<128?r=f:f<224?(r=(f&31)*64+(e.charCodeAt(n+1)&63),a=2):f<240?(r=(f&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),a=3):(a=4,r=(f&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),r-=65536,s=55296+(r>>>10&1023),r=56320+(r&1023)),s!==0&&(t[i++]=s&255,t[i++]=s>>>8,s=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function An(e){return Dr(e,"binary").toString("utf8")}var Wt="foo bar bazâð£",mt=ue&&(An(Wt)==T0(Wt)&&An||Sn(Wt)==T0(Wt)&&Sn)||T0,Ft=ue?function(e){return Dr(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},Us=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,` -`).replace(/<[^>]*>/g,""),a=0;a<e.length;++a)n=n.replace(e[a][0],e[a][1]);return n}}(),pa=/(^\s|\s$|\n)/;function We(e,t){return"<"+e+(t.match(pa)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function yt(e){return Ge(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function z(e,t,r){return"<"+e+(r!=null?yt(r):"")+(t!=null?(t.match(pa)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function O0(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function bs(e,t){switch(typeof e){case"string":var r=z("vt:lpwstr",pe(e));return r=r.replace(/"/g,"_x0022_"),r;case"number":return z((e|0)==e?"vt:i4":"vt:r8",pe(String(e)));case"boolean":return z("vt:bool",e?"true":"false")}if(e instanceof Date)return z("vt:filetime",O0(e));throw new Error("Unable to serialize "+e)}var ke={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},ft=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],tr={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function Ws(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),a=e[t+6]&15,i=5;i>=0;--i)a=a*256+e[t+i];return n==2047?a==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function Hs(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,s=n?-t:t;isFinite(s)?s==0?a=i=0:(a=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i<Math.pow(2,52))?a=-1022:(i-=Math.pow(2,52),a+=1023)):(a=2047,i=isNaN(t)?26985:0);for(var f=0;f<=5;++f,i/=256)e[r+f]=i&255;e[r+6]=(a&15)<<4|i&15,e[r+7]=a>>4|n}var Fn=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var a=0,i=e[0][n].length;a<i;a+=r)t.push.apply(t,e[0][n].slice(a,a+r));return t},yn=ue?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:Dr(t)})):Fn(e)}:Fn,Cn=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(dt(e,a)));return n.join("").replace(pt,"")},B0=ue?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(pt,""):Cn(e,t,r)}:Cn,On=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},ma=ue?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):On(e,t,r)}:On,Dn=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(et(e,a)));return n.join("")},It=ue?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):Dn(t,r,n)}:Dn,ga=function(e,t){var r=nr(e,t);return r>0?It(e,t+4,t+4+r-1):""},_a=ga,Ta=function(e,t){var r=nr(e,t);return r>0?It(e,t+4,t+4+r-1):""},Ea=Ta,wa=function(e,t){var r=2*nr(e,t);return r>0?It(e,t+4,t+4+r-1):""},Sa=wa,Aa=function(t,r){var n=nr(t,r);return n>0?B0(t,r+4,r+4+n):""},Fa=Aa,ya=function(e,t){var r=nr(e,t);return r>0?It(e,t+4,t+4+r):""},Ca=ya,Oa=function(e,t){return Ws(e,t)},Zt=Oa,U0=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};ue&&(_a=function(t,r){if(!Buffer.isBuffer(t))return ga(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Ea=function(t,r){if(!Buffer.isBuffer(t))return Ta(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Sa=function(t,r){if(!Buffer.isBuffer(t))return wa(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},Fa=function(t,r){if(!Buffer.isBuffer(t))return Aa(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},Ca=function(t,r){if(!Buffer.isBuffer(t))return ya(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},Zt=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):Oa(t,r)},U0=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var et=function(e,t){return e[t]},dt=function(e,t){return e[t+1]*256+e[t]},Gs=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},nr=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Wr=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Vs=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function gt(e,t){var r="",n,a,i=[],s,f,o,l;switch(t){case"dbcs":if(l=this.l,ue&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o)r+=String.fromCharCode(dt(this,l)),l+=2;e*=2;break;case"utf8":r=It(this,this.l,this.l+e);break;case"utf16le":e*=2,r=B0(this,this.l,this.l+e);break;case"wstr":return gt.call(this,e,"dbcs");case"lpstr-ansi":r=_a(this,this.l),e=4+nr(this,this.l);break;case"lpstr-cp":r=Ea(this,this.l),e=4+nr(this,this.l);break;case"lpwstr":r=Sa(this,this.l),e=4+2*nr(this,this.l);break;case"lpp4":e=4+nr(this,this.l),r=Fa(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+nr(this,this.l),r=Ca(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,r="";(s=et(this,this.l+e++))!==0;)i.push(Bt(s));r=i.join("");break;case"_wstr":for(e=0,r="";(s=dt(this,this.l+e))!==0;)i.push(Bt(s)),e+=2;e+=2,r=i.join("");break;case"dbcs-cont":for(r="",l=this.l,o=0;o<e;++o){if(this.lens&&this.lens.indexOf(l)!==-1)return s=et(this,l),this.l=l+1,f=gt.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),i.join("")+f;i.push(Bt(dt(this,l))),l+=2}r=i.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(r="",l=this.l,o=0;o!=e;++o){if(this.lens&&this.lens.indexOf(l)!==-1)return s=et(this,l),this.l=l+1,f=gt.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),i.join("")+f;i.push(Bt(et(this,l))),l+=1}r=i.join("");break;default:switch(e){case 1:return n=et(this,this.l),this.l++,n;case 2:return n=(t==="i"?Gs:dt)(this,this.l),this.l+=2,n;case 4:case-4:return t==="i"||!(this[this.l+3]&128)?(n=(e>0?Wr:Vs)(this,this.l),this.l+=4,n):(a=nr(this,this.l),this.l+=4,a);case 8:case-8:if(t==="f")return e==8?a=Zt(this,this.l):a=Zt([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,a;e=8;case 16:r=ma(this,this.l,e);break}}return this.l+=e,r}var Xs=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},js=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Ks=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function zs(e,t,r){var n=0,a=0;if(r==="dbcs"){for(a=0;a!=t.length;++a)Ks(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=t.charCodeAt(a)&255;n=t.length}else if(r==="hex"){for(;a<e;++a)this[this.l++]=parseInt(t.slice(2*a,2*a+2),16)||0;return this}else if(r==="utf16le"){var i=Math.min(this.l+e,this.length);for(a=0;a<Math.min(t.length,e);++a){var s=t.charCodeAt(a);this[this.l++]=s&255,this[this.l++]=s>>8}for(;this.l<i;)this[this.l++]=0;return this}else switch(e){case 1:n=1,this[this.l]=t&255;break;case 2:n=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,Xs(this,t,this.l);break;case 8:if(n=8,r==="f"){Hs(this,t,this.l);break}case 16:break;case-4:n=4,js(this,t,this.l);break}return this.l+=n,this}function Da(e,t){var r=ma(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function rr(e,t){e.l=t,e.read_shift=gt,e.chk=Da,e.write_shift=zs}function Tr(e,t){e.l+=t}function B(e){var t=Gr(e);return rr(t,0),t}function Je(){var e=[],t=ue?256:2048,r=function(l){var c=B(l);return rr(c,0),c},n=r(t),a=function(){n&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},i=function(l){return n&&l<n.length-n.l?n:(a(),n=r(Math.max(l+1,t)))},s=function(){return a(),be(e)},f=function(l){a(),n=l,n.l==null&&(n.l=n.length),i(t)};return{next:i,push:f,end:s,_bufs:e}}function W(e,t,r,n){var a=+t,i;if(!isNaN(a)){n||(n=Gh[a].p||(r||[]).length||0),i=1+(a>=128?1:0)+1,n>=128&&++i,n>=16384&&++i,n>=2097152&&++i;var s=e.next(i);a<=127?s.write_shift(1,a):(s.write_shift(1,(a&127)+128),s.write_shift(1,a>>7));for(var f=0;f!=4;++f)if(n>=128)s.write_shift(1,(n&127)+128),n>>=7;else{s.write_shift(1,n);break}n>0&&U0(r)&&e.push(r)}}function _t(e,t,r){var n=qe(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Rn(e,t,r){var n=qe(e);return n.s=_t(n.s,t.s,r),n.e=_t(n.e,t.s,r),n}function Tt(e,t){if(e.cRel&&e.c<0)for(e=qe(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=qe(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=me(e);return!e.cRel&&e.cRel!=null&&(r=Js(r)),!e.rRel&&e.rRel!=null&&(r=Ys(r)),r}function E0(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+Xe(e.s.c)+":"+(e.e.cRel?"":"$")+Xe(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+He(e.s.r)+":"+(e.e.rRel?"":"$")+He(e.e.r):Tt(e.s,t.biff)+":"+Tt(e.e,t.biff)}function b0(e){return parseInt($s(e),10)-1}function He(e){return""+(e+1)}function Ys(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function $s(e){return e.replace(/\$(\d+)$/,"$1")}function W0(e){for(var t=Zs(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Xe(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Js(e){return e.replace(/^([A-Z])/,"$$$1")}function Zs(e){return e.replace(/^\$([A-Z])/,"$1")}function qs(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Pe(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function me(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function ar(e){var t=e.indexOf(":");return t==-1?{s:Pe(e),e:Pe(e)}:{s:Pe(e.slice(0,t)),e:Pe(e.slice(t+1))}}function De(e,t){return typeof t>"u"||typeof t=="number"?De(e.s,e.e):(typeof e!="string"&&(e=me(e)),typeof t!="string"&&(t=me(t)),e==t?e:e+":"+t)}function Ee(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,i=e.length;for(r=0;n<i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===i||a!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function In(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=kr(e.z,r?Ze(t):t)}catch{}try{return e.w=kr((e.XF||{}).numFmtId||(r?14:0),r?Ze(t):t)}catch{return""+t}}function Or(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?Nt[e.v]||e.v:t==null?In(e,e.v):In(e,t))}function jr(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Ra(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense,i=e||(a?[]:{}),s=0,f=0;if(i&&n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Pe(n.origin):n.origin;s=o.r,f=o.c}i["!ref"]||(i["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=Ee(i["!ref"]);l.s.c=c.s.c,l.s.r=c.s.r,l.e.c=Math.max(l.e.c,c.e.c),l.e.r=Math.max(l.e.r,c.e.r),s==-1&&(l.e.r=s=c.e.r+1)}for(var d=0;d!=t.length;++d)if(t[d]){if(!Array.isArray(t[d]))throw new Error("aoa_to_sheet expects an array of arrays");for(var x=0;x!=t[d].length;++x)if(!(typeof t[d][x]>"u")){var v={v:t[d][x]},_=s+d,u=f+x;if(l.s.r>_&&(l.s.r=_),l.s.c>u&&(l.s.c=u),l.e.r<_&&(l.e.r=_),l.e.c<u&&(l.e.c=u),t[d][x]&&typeof t[d][x]=="object"&&!Array.isArray(t[d][x])&&!(t[d][x]instanceof Date))v=t[d][x];else if(Array.isArray(v.v)&&(v.f=t[d][x][1],v.v=v.v[0]),v.v===null)if(v.f)v.t="n";else if(n.nullError)v.t="e",v.v=0;else if(n.sheetStubs)v.t="z";else continue;else typeof v.v=="number"?v.t="n":typeof v.v=="boolean"?v.t="b":v.v instanceof Date?(v.z=n.dateNF||ye[14],n.cellDates?(v.t="d",v.w=kr(v.z,Ze(v.v))):(v.t="n",v.v=Ze(v.v),v.w=kr(v.z,v.v))):v.t="s";if(a)i[_]||(i[_]=[]),i[_][u]&&i[_][u].z&&(v.z=i[_][u].z),i[_][u]=v;else{var g=me({c:u,r:_});i[g]&&i[g].z&&(v.z=i[g].z),i[g]=v}}}return l.s.c<1e7&&(i["!ref"]=De(l)),i}function lt(e,t){return Ra(null,e,t)}function Qs(e){return e.read_shift(4,"i")}function pr(e,t){return t||(t=B(4)),t.write_shift(4,e),t}function je(e){var t=e.read_shift(4);return t===0?"":e.read_shift(t,"dbcs")}function Le(e,t){var r=!1;return t==null&&(r=!0,t=B(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function ef(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function rf(e,t){return t||(t=B(4)),t.write_shift(2,0),t.write_shift(2,0),t}function H0(e,t){var r=e.l,n=e.read_shift(1),a=je(e),i=[],s={t:a,h:a};if(n&1){for(var f=e.read_shift(4),o=0;o!=f;++o)i.push(ef(e));s.r=i}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}function tf(e,t){var r=!1;return t==null&&(r=!0,t=B(15+4*e.t.length)),t.write_shift(1,0),Le(e.t,t),r?t.slice(0,t.l):t}var nf=H0;function af(e,t){var r=!1;return t==null&&(r=!0,t=B(23+4*e.t.length)),t.write_shift(1,1),Le(e.t,t),t.write_shift(4,1),rf({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function or(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function Kr(e,t){return t==null&&(t=B(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function zr(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function Yr(e,t){return t==null&&(t=B(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var sf=je,Ia=Le;function G0(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function qt(e,t){var r=!1;return t==null&&(r=!0,t=B(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var ff=je,D0=G0,V0=qt;function Na(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,n=t[0]&2;e.l+=4;var a=n===0?Zt([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):Wr(t,0)>>2;return r?a/100:a}function ka(e,t){t==null&&(t=B(4));var r=0,n=0,a=e*100;if(e==(e|0)&&e>=-536870912&&e<1<<29?n=1:a==(a|0)&&a>=-536870912&&a<1<<29&&(n=1,r=1),n)t.write_shift(-4,((r?a:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function Pa(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function lf(e,t){return t||(t=B(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var $r=Pa,ot=lf;function ct(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Vr(e,t){return(t||B(8)).write_shift(8,e,"f")}function of(e){var t={},r=e.read_shift(1),n=r>>>1,a=e.read_shift(1),i=e.read_shift(2,"i"),s=e.read_shift(1),f=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var l=gf[a];l&&(t.rgb=Gn(l));break;case 2:t.rgb=Gn([s,f,o]);break;case 3:t.theme=a;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function Qt(e,t){if(t||(t=B(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}return t}function cf(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function hf(e,t){t||(t=B(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}var La=2,er=3,Ht=11,e0=19,Gt=64,uf=65,xf=71,vf=4108,df=4126,Ue=80,Nn={1:{n:"CodePage",t:La},2:{n:"Category",t:Ue},3:{n:"PresentationFormat",t:Ue},4:{n:"ByteCount",t:er},5:{n:"LineCount",t:er},6:{n:"ParagraphCount",t:er},7:{n:"SlideCount",t:er},8:{n:"NoteCount",t:er},9:{n:"HiddenCount",t:er},10:{n:"MultimediaClipCount",t:er},11:{n:"ScaleCrop",t:Ht},12:{n:"HeadingPairs",t:vf},13:{n:"TitlesOfParts",t:df},14:{n:"Manager",t:Ue},15:{n:"Company",t:Ue},16:{n:"LinksUpToDate",t:Ht},17:{n:"CharacterCount",t:er},19:{n:"SharedDoc",t:Ht},22:{n:"HyperlinksChanged",t:Ht},23:{n:"AppVersion",t:er,p:"version"},24:{n:"DigSig",t:uf},26:{n:"ContentType",t:Ue},27:{n:"ContentStatus",t:Ue},28:{n:"Language",t:Ue},29:{n:"Version",t:Ue},255:{},2147483648:{n:"Locale",t:e0},2147483651:{n:"Behavior",t:e0},1919054434:{}},kn={1:{n:"CodePage",t:La},2:{n:"Title",t:Ue},3:{n:"Subject",t:Ue},4:{n:"Author",t:Ue},5:{n:"Keywords",t:Ue},6:{n:"Comments",t:Ue},7:{n:"Template",t:Ue},8:{n:"LastAuthor",t:Ue},9:{n:"RevNumber",t:Ue},10:{n:"EditTime",t:Gt},11:{n:"LastPrinted",t:Gt},12:{n:"CreatedDate",t:Gt},13:{n:"ModifiedDate",t:Gt},14:{n:"PageCount",t:er},15:{n:"WordCount",t:er},16:{n:"CharCount",t:er},17:{n:"Thumbnail",t:xf},18:{n:"Application",t:Ue},19:{n:"DocSecurity",t:er},255:{},2147483648:{n:"Locale",t:e0},2147483651:{n:"Behavior",t:e0},1919054434:{}};function pf(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var mf=pf([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),gf=qe(mf),Nt={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},_f={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Vt={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function Ma(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Ba(e,t){var r=Os(_f),n=[],a;n[n.length]=Re,n[n.length]=z("Types",null,{xmlns:ke.CT,"xmlns:xsd":ke.xsd,"xmlns:xsi":ke.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(o){return z("Default",null,{Extension:o[0],ContentType:o[1]})}));var i=function(o){e[o]&&e[o].length>0&&(a=e[o][0],n[n.length]=z("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:Vt[o][t.bookType]||Vt[o].xlsx}))},s=function(o){(e[o]||[]).forEach(function(l){n[n.length]=z("Override",null,{PartName:(l[0]=="/"?"":"/")+l,ContentType:Vt[o][t.bookType]||Vt[o].xlsx})})},f=function(o){(e[o]||[]).forEach(function(l){n[n.length]=z("Override",null,{PartName:(l[0]=="/"?"":"/")+l,ContentType:r[o][0]})})};return i("workbooks"),s("sheets"),s("charts"),f("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(f),f("vba"),f("comments"),f("threadedcomments"),f("drawings"),s("metadata"),f("people"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var he={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Ua(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function nt(e){var t=[Re,z("Relationships",null,{xmlns:ke.RELS})];return Ge(e["!id"]).forEach(function(r){t[t.length]=z("Relationship",null,e["!id"][r])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function de(e,t,r,n,a,i){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,[he.HLINK,he.XPATH,he.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function Tf(e){var t=[Re];t.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2"> -`),t.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/> -`);for(var r=0;r<e.length;++r)t.push(' <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+`"/> -`);return t.push("</manifest:manifest>"),t.join("")}function Pn(e,t,r){return[' <rdf:Description rdf:about="'+e+`"> -`,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+`"/> -`,` </rdf:Description> -`].join("")}function Ef(e,t){return[' <rdf:Description rdf:about="'+e+`"> -`,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+`"/> -`,` </rdf:Description> -`].join("")}function wf(e){var t=[Re];t.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> -`);for(var r=0;r!=e.length;++r)t.push(Pn(e[r][0],e[r][1])),t.push(Ef("",e[r][0]));return t.push(Pn("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function ba(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+Kt.version+"</meta:generator></office:meta></office:document-meta>"}var Hr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function w0(e,t,r,n,a){a[e]!=null||t==null||t===""||(a[e]=t,t=pe(t),n[n.length]=r?z(e,t,r):We(e,t))}function Wa(e,t){var r=t||{},n=[Re,z("cp:coreProperties",null,{"xmlns:cp":ke.CORE_PROPS,"xmlns:dc":ke.dc,"xmlns:dcterms":ke.dcterms,"xmlns:dcmitype":ke.dcmitype,"xmlns:xsi":ke.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&w0("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:O0(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),e.ModifiedDate!=null&&w0("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:O0(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var i=0;i!=Hr.length;++i){var s=Hr[i],f=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:e?e[s[1]]:null;f===!0?f="1":f===!1?f="0":typeof f=="number"&&(f=String(f)),f!=null&&w0(s[0],f,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var at=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],Ha=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Ga(e){var t=[],r=z;return e||(e={}),e.Application="SheetJS",t[t.length]=Re,t[t.length]=z("Properties",null,{xmlns:ke.EXT_PROPS,"xmlns:vt":ke.vt}),at.forEach(function(n){if(e[n[1]]!==void 0){var a;switch(n[2]){case"string":a=pe(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false";break}a!==void 0&&(t[t.length]=r(n[0],a))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(n){return"<vt:lpstr>"+pe(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function Va(e){var t=[Re,z("Properties",null,{xmlns:ke.CUST_PROPS,"xmlns:vt":ke.vt})];if(!e)return t.join("");var r=1;return Ge(e).forEach(function(a){++r,t[t.length]=z("property",bs(e[a]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:pe(a)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var Ln={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function Sf(e,t){var r=[];return Ge(Ln).map(function(n){for(var a=0;a<Hr.length;++a)if(Hr[a][1]==n)return Hr[a];for(a=0;a<at.length;++a)if(at[a][1]==n)return at[a];throw n}).forEach(function(n){if(e[n[1]]!=null){var a=t&&t.Props&&t.Props[n[1]]!=null?t.Props[n[1]]:e[n[1]];switch(n[2]){case"date":a=new Date(a).toISOString().replace(/\.\d*Z/,"Z");break}typeof a=="number"?a=String(a):a===!0||a===!1?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(We(Ln[n[1]]||n[1],a))}}),z("DocumentProperties",r.join(""),{xmlns:tr.o})}function Af(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&Ge(e).forEach(function(i){if(Object.prototype.hasOwnProperty.call(e,i)){for(var s=0;s<Hr.length;++s)if(i==Hr[s][1])return;for(s=0;s<at.length;++s)if(i==at[s][1])return;for(s=0;s<r.length;++s)if(i==r[s])return;var f=e[i],o="string";typeof f=="number"?(o="float",f=String(f)):f===!0||f===!1?(o="boolean",f=f?"1":"0"):f=String(f),a.push(z(wn(i),f,{"dt:dt":o}))}}),t&&Ge(t).forEach(function(i){if(Object.prototype.hasOwnProperty.call(t,i)&&!(e&&Object.prototype.hasOwnProperty.call(e,i))){var s=t[i],f="string";typeof s=="number"?(f="float",s=String(s)):s===!0||s===!1?(f="boolean",s=s?"1":"0"):s instanceof Date?(f="dateTime.tz",s=s.toISOString()):s=String(s),a.push(z(wn(i),s,{"dt:dt":f}))}}),"<"+n+' xmlns="'+tr.o+'">'+a.join("")+"</"+n+">"}function Ff(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),a=(r-n)/Math.pow(2,32);n*=1e7,a*=1e7;var i=n/Math.pow(2,32)|0;i>0&&(n=n%Math.pow(2,32),a+=i);var s=B(8);return s.write_shift(4,n),s.write_shift(4,a),s}function Mn(e,t){var r=B(4),n=B(4);switch(r.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=B(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=Ff(t);break;case 31:case 80:for(n=B(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return be([r,n])}var Xa=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function yf(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function Bn(e,t,r){var n=B(8),a=[],i=[],s=8,f=0,o=B(8),l=B(8);if(o.write_shift(4,2),o.write_shift(4,1200),l.write_shift(4,1),i.push(o),a.push(l),s+=8+o.length,!t){l=B(8),l.write_shift(4,0),a.unshift(l);var c=[B(4)];for(c[0].write_shift(4,e.length),f=0;f<e.length;++f){var d=e[f][0];for(o=B(8+2*(d.length+1)+(d.length%2?0:2)),o.write_shift(4,f+2),o.write_shift(4,d.length+1),o.write_shift(0,d,"dbcs");o.l!=o.length;)o.write_shift(1,0);c.push(o)}o=be(c),i.unshift(o),s+=8+o.length}for(f=0;f<e.length;++f)if(!(t&&!t[e[f][0]])&&!(Xa.indexOf(e[f][0])>-1||Ha.indexOf(e[f][0])>-1)&&e[f][1]!=null){var x=e[f][1],v=0;if(t){v=+t[e[f][0]];var _=r[v];if(_.p=="version"&&typeof x=="string"){var u=x.split(".");x=(+u[0]<<16)+(+u[1]||0)}o=Mn(_.t,x)}else{var g=yf(x);g==-1&&(g=31,x=String(x)),o=Mn(g,x)}i.push(o),l=B(8),l.write_shift(4,t?v:2+f),a.push(l),s+=8+o.length}var C=8*(i.length+1);for(f=0;f<i.length;++f)a[f].write_shift(4,C),C+=i[f].length;return n.write_shift(4,s),n.write_shift(4,i.length),be([n].concat(a).concat(i))}function Un(e,t,r,n,a,i){var s=B(a?68:48),f=[s];s.write_shift(2,65534),s.write_shift(2,0),s.write_shift(4,842412599),s.write_shift(16,_e.utils.consts.HEADER_CLSID,"hex"),s.write_shift(4,a?2:1),s.write_shift(16,t,"hex"),s.write_shift(4,a?68:48);var o=Bn(e,r,n);if(f.push(o),a){var l=Bn(a,null,null);s.write_shift(16,i,"hex"),s.write_shift(4,68+o.length),f.push(l)}return be(f)}function Cf(e,t){t||(t=B(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function Of(e,t){return e.read_shift(t)===1}function Ye(e,t){return t||(t=B(2)),t.write_shift(2,+!!e),t}function ja(e){return e.read_shift(2,"u")}function lr(e,t){return t||(t=B(2)),t.write_shift(2,e),t}function Ka(e,t,r){return r||(r=B(2)),r.write_shift(1,t=="e"?+e:+!!e),r.write_shift(1,t=="e"?1:0),r}function za(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),a="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var i=e.read_shift(1);i&&(a="dbcs-cont")}else r.biff==12&&(a="wstr");r.biff>=2&&r.biff<=5&&(a="cpstr");var s=n?e.read_shift(n,a):"";return s}function Df(e){var t=e.t||"",r=B(3);r.write_shift(2,t.length),r.write_shift(1,1);var n=B(2*t.length);n.write_shift(2*t.length,t,"utf16le");var a=[r,n];return be(a)}function Rf(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var a=e.read_shift(1);return a===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function If(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):Rf(e,n,r)}function Nf(e,t,r){if(r.biff>5)return If(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Ya(e,t,r){return r||(r=B(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function bn(e,t){t||(t=B(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r<e.length;++r)t.write_shift(2,e.charCodeAt(r));return t.write_shift(2,0),t}function kf(e){var t=B(512),r=0,n=e.Target;n.slice(0,7)=="file://"&&(n=n.slice(7));var a=n.indexOf("#"),i=a>-1?31:23;switch(n.charAt(0)){case"#":i=28;break;case".":i&=-3;break}t.write_shift(4,2),t.write_shift(4,i);var s=[8,6815827,6619237,4849780,83];for(r=0;r<s.length;++r)t.write_shift(4,s[r]);if(i==28)n=n.slice(1),bn(n,t);else if(i&2){for(s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<s.length;++r)t.write_shift(1,parseInt(s[r],16));var f=a>-1?n.slice(0,a):n;for(t.write_shift(4,2*(f.length+1)),r=0;r<f.length;++r)t.write_shift(2,f.charCodeAt(r));t.write_shift(2,0),i&8&&bn(a>-1?n.slice(a+1):"",t)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<s.length;++r)t.write_shift(1,parseInt(s[r],16));for(var o=0;n.slice(o*3,o*3+3)=="../"||n.slice(o*3,o*3+3)=="..\\";)++o;for(t.write_shift(2,o),t.write_shift(4,n.length-3*o+1),r=0;r<n.length-3*o;++r)t.write_shift(1,n.charCodeAt(r+3*o)&255);for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),r=0;r<6;++r)t.write_shift(4,0)}return t.slice(0,t.l)}function Xr(e,t,r,n){return n||(n=B(6)),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r||0),n}function Pf(e,t,r){var n=r.biff>8?4:2,a=e.read_shift(n),i=e.read_shift(n,"i"),s=e.read_shift(n,"i");return[a,i,s]}function Lf(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2);return{s:{c:n,r:t},e:{c:a,r}}}function $a(e,t){return t||(t=B(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function X0(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=B(a);return i.write_shift(2,n),i.write_shift(2,t),a>4&&i.write_shift(2,29282),a>6&&i.write_shift(2,1997),a>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function Mf(e,t){var r=!t||t.biff==8,n=B(r?112:54);for(n.write_shift(t.biff==8?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l<n.length;)n.write_shift(1,r?0:32);return n}function Bf(e,t){var r=!t||t.biff>=8?2:1,n=B(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function Uf(e,t){var r=B(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var n=[],a=0;a<e.length;++a)n[a]=Df(e[a]);var i=be([r].concat(n));return i.parts=[r.length].concat(n.map(function(s){return s.length})),i}function bf(){var e=B(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function Wf(e){var t=B(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function Hf(e,t){var r=e.name||"Arial",n=t.biff==5,a=n?15+r.length:16+2*r.length,i=B(a);return i.write_shift(2,(e.sz||12)*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,r.length),n||i.write_shift(1,1),i.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),i}function Gf(e,t,r,n){var a=B(10);return Xr(e,t,n,a),a.write_shift(4,r),a}function Vf(e,t,r,n,a){var i=!a||a.biff==8,s=B(8+ +i+(1+i)*r.length);return Xr(e,t,n,s),s.write_shift(2,r.length),i&&s.write_shift(1,1),s.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),s}function Xf(e,t,r,n){var a=r.biff==5;n||(n=B(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var i=n.length>n.l?n.slice(0,n.l):n;return i.l==null&&(i.l=i.length),i}function jf(e,t){var r=t.biff==8||!t.biff?4:2,n=B(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function Wn(e,t,r,n){var a=r.biff==5;n||(n=B(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&a&&(i|=1024),n.write_shift(4,i),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function Kf(e){var t=B(8);return t.write_shift(4,0),t.write_shift(2,0),t.write_shift(2,0),t}function zf(e,t,r,n,a,i){var s=B(8);return Xr(e,t,n,s),Ka(r,i,s),s}function Yf(e,t,r,n){var a=B(14);return Xr(e,t,n,a),Vr(r,a),a}function $f(e,t,r){if(r.biff<8)return Jf(e,t,r);for(var n=[],a=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)n.push(Pf(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function Jf(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=za(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function Zf(e){var t=B(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)$a(e[r],t);return t}function qf(e){var t=B(24),r=Pe(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return be([t,kf(e[1])])}function Qf(e){var t=e[1].Tooltip,r=B(10+2*(t.length+1));r.write_shift(2,2048);var n=Pe(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a<t.length;++a)r.write_shift(2,t.charCodeAt(a));return r.write_shift(2,0),r}function el(e){return e||(e=B(4)),e.write_shift(2,1),e.write_shift(2,1),e}function rl(e,t,r){if(!r.cellStyles)return Tr(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),i=e.read_shift(n),s=e.read_shift(n),f=e.read_shift(n),o=e.read_shift(2);n==2&&(e.l+=2);var l={s:a,e:i,w:s,ixfe:f,flags:o};return(r.biff>=5||!r.biff)&&(l.level=o>>8&7),l}function tl(e,t){var r=B(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function nl(e){for(var t=B(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}function al(e,t,r){var n=B(15);return Pt(n,e,t),n.write_shift(8,r,"f"),n}function il(e,t,r){var n=B(9);return Pt(n,e,t),n.write_shift(2,r),n}var sl=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=k0({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(f,o){var l=[],c=Gr(1);switch(o.type){case"base64":c=vr(Cr(f));break;case"binary":c=vr(f);break;case"buffer":case"array":c=f;break}rr(c,0);var d=c.read_shift(1),x=!!(d&136),v=!1,_=!1;switch(d){case 2:break;case 3:break;case 48:v=!0,x=!0;break;case 49:v=!0,x=!0;break;case 131:break;case 139:break;case 140:_=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+d.toString(16))}var u=0,g=521;d==2&&(u=c.read_shift(2)),c.l+=3,d!=2&&(u=c.read_shift(4)),u>1048576&&(u=1e6),d!=2&&(g=c.read_shift(2));var C=c.read_shift(2),O=o.codepage||1252;d!=2&&(c.l+=16,c.read_shift(1),c[c.l]!==0&&(O=e[c[c.l]]),c.l+=1,c.l+=2),_&&(c.l+=36);for(var y=[],M={},Y=Math.min(c.length,d==2?521:g-10-(v?264:0)),ee=_?32:11;c.l<Y&&c[c.l]!=13;)switch(M={},M.name=cn.utils.decode(O,c.slice(c.l,c.l+ee)).replace(/[\u0000\r\n].*$/g,""),c.l+=ee,M.type=String.fromCharCode(c.read_shift(1)),d!=2&&!_&&(M.offset=c.read_shift(4)),M.len=c.read_shift(1),d==2&&(M.offset=c.read_shift(2)),M.dec=c.read_shift(1),M.name.length&&y.push(M),d!=2&&(c.l+=_?13:14),M.type){case"B":(!v||M.len!=8)&&o.WTF&&console.log("Skipping "+M.name+":"+M.type);break;case"G":case"P":o.WTF&&console.log("Skipping "+M.name+":"+M.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+M.type)}if(c[c.l]!==13&&(c.l=g-1),c.read_shift(1)!==13)throw new Error("DBF Terminator not found "+c.l+" "+c[c.l]);c.l=g;var D=0,b=0;for(l[0]=[],b=0;b!=y.length;++b)l[0][b]=y[b].name;for(;u-- >0;){if(c[c.l]===42){c.l+=C;continue}for(++c.l,l[++D]=[],b=0,b=0;b!=y.length;++b){var L=c.slice(c.l,c.l+y[b].len);c.l+=y[b].len,rr(L,0);var G=cn.utils.decode(O,L);switch(y[b].type){case"C":G.trim().length&&(l[D][b]=G.replace(/\s+$/,""));break;case"D":G.length===8?l[D][b]=new Date(+G.slice(0,4),+G.slice(4,6)-1,+G.slice(6,8)):l[D][b]=G;break;case"F":l[D][b]=parseFloat(G.trim());break;case"+":case"I":l[D][b]=_?L.read_shift(-4,"i")^2147483648:L.read_shift(4,"i");break;case"L":switch(G.trim().toUpperCase()){case"Y":case"T":l[D][b]=!0;break;case"N":case"F":l[D][b]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+G+"|")}break;case"M":if(!x)throw new Error("DBF Unexpected MEMO for type "+d.toString(16));l[D][b]="##MEMO##"+(_?parseInt(G.trim(),10):L.read_shift(4));break;case"N":G=G.replace(/\u0000/g,"").trim(),G&&G!="."&&(l[D][b]=+G||0);break;case"@":l[D][b]=new Date(L.read_shift(-8,"f")-621356832e5);break;case"T":l[D][b]=new Date((L.read_shift(4)-2440588)*864e5+L.read_shift(4));break;case"Y":l[D][b]=L.read_shift(4,"i")/1e4+L.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":l[D][b]=-L.read_shift(-8,"f");break;case"B":if(v&&y[b].len==8){l[D][b]=L.read_shift(8,"f");break}case"G":case"P":L.l+=y[b].len;break;case"0":if(y[b].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+y[b].type)}}}if(d!=2&&c.l<c.length&&c[c.l++]!=26)throw new Error("DBF EOF Marker missing "+(c.l-1)+" of "+c.length+" "+c[c.l-1].toString(16));return o.sheetRows&&(l=l.slice(0,o.sheetRows)),o.DBF=y,l}function n(f,o){var l=o||{};l.dateNF||(l.dateNF="yyyymmdd");var c=lt(r(f,l),l);return c["!cols"]=l.DBF.map(function(d){return{wch:d.len,DBF:d}}),delete l.DBF,c}function a(f,o){try{return jr(n(f,o),o)}catch(l){if(o&&o.WTF)throw l}return{SheetNames:[],Sheets:{}}}var i={B:8,C:250,L:1,D:8,"?":0,"":0};function s(f,o){var l=o||{};if(+l.codepage>=0&&wt(+l.codepage),l.type=="string")throw new Error("Cannot write DBF to JS string");var c=Je(),d=i0(f,{header:1,raw:!0,cellDates:!0}),x=d[0],v=d.slice(1),_=f["!cols"]||[],u=0,g=0,C=0,O=1;for(u=0;u<x.length;++u){if(((_[u]||{}).DBF||{}).name){x[u]=_[u].DBF.name,++C;continue}if(x[u]!=null){if(++C,typeof x[u]=="number"&&(x[u]=x[u].toString(10)),typeof x[u]!="string")throw new Error("DBF Invalid column name "+x[u]+" |"+typeof x[u]+"|");if(x.indexOf(x[u])!==u){for(g=0;g<1024;++g)if(x.indexOf(x[u]+"_"+g)==-1){x[u]+="_"+g;break}}}}var y=Ee(f["!ref"]),M=[],Y=[],ee=[];for(u=0;u<=y.e.c-y.s.c;++u){var D="",b="",L=0,G=[];for(g=0;g<v.length;++g)v[g][u]!=null&&G.push(v[g][u]);if(G.length==0||x[u]==null){M[u]="?";continue}for(g=0;g<G.length;++g){switch(typeof G[g]){case"number":b="B";break;case"string":b="C";break;case"boolean":b="L";break;case"object":b=G[g]instanceof Date?"D":"C";break;default:b="C"}L=Math.max(L,String(G[g]).length),D=D&&D!=b?"C":b}L>250&&(L=250),b=((_[u]||{}).DBF||{}).type,b=="C"&&_[u].DBF.len>L&&(L=_[u].DBF.len),D=="B"&&b=="N"&&(D="N",ee[u]=_[u].DBF.dec,L=_[u].DBF.len),Y[u]=D=="C"||b=="N"?L:i[D]||0,O+=Y[u],M[u]=D}var V=c.next(32);for(V.write_shift(4,318902576),V.write_shift(4,v.length),V.write_shift(2,296+32*C),V.write_shift(2,O),u=0;u<4;++u)V.write_shift(4,0);for(V.write_shift(4,0|(+t[Zn]||3)<<8),u=0,g=0;u<x.length;++u)if(x[u]!=null){var j=c.next(32),re=(x[u].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);j.write_shift(1,re,"sbcs"),j.write_shift(1,M[u]=="?"?"C":M[u],"sbcs"),j.write_shift(4,g),j.write_shift(1,Y[u]||i[M[u]]||0),j.write_shift(1,ee[u]||0),j.write_shift(1,2),j.write_shift(4,0),j.write_shift(1,0),j.write_shift(4,0),j.write_shift(4,0),g+=Y[u]||i[M[u]]||0}var ge=c.next(264);for(ge.write_shift(4,13),u=0;u<65;++u)ge.write_shift(4,0);for(u=0;u<v.length;++u){var le=c.next(O);for(le.write_shift(1,0),g=0;g<x.length;++g)if(x[g]!=null)switch(M[g]){case"L":le.write_shift(1,v[u][g]==null?63:v[u][g]?84:70);break;case"B":le.write_shift(8,v[u][g]||0,"f");break;case"N":var Me="0";for(typeof v[u][g]=="number"&&(Me=v[u][g].toFixed(ee[g]||0)),C=0;C<Y[g]-Me.length;++C)le.write_shift(1,32);le.write_shift(1,Me,"sbcs");break;case"D":v[u][g]?(le.write_shift(4,("0000"+v[u][g].getFullYear()).slice(-4),"sbcs"),le.write_shift(2,("00"+(v[u][g].getMonth()+1)).slice(-2),"sbcs"),le.write_shift(2,("00"+v[u][g].getDate()).slice(-2),"sbcs")):le.write_shift(8,"00000000","sbcs");break;case"C":var Ce=String(v[u][g]!=null?v[u][g]:"").slice(0,Y[g]);for(le.write_shift(1,Ce,"sbcs"),C=0;C<Y[g]-Ce.length;++C)le.write_shift(1,32);break}}return c.next(1).write_shift(1,26),c.end()}return{to_workbook:a,to_sheet:n,from_sheet:s}}(),fl=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("\x1BN("+Ge(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(x,v){var _=e[v];return typeof _=="number"?on(_):_},n=function(x,v,_){var u=v.charCodeAt(0)-32<<4|_.charCodeAt(0)-48;return u==59?x:on(u)};e["|"]=254;function a(x,v){switch(v.type){case"base64":return i(Cr(x),v);case"binary":return i(x,v);case"buffer":return i(ue&&Buffer.isBuffer(x)?x.toString("binary"):Dt(x),v);case"array":return i(c0(x),v)}throw new Error("Unrecognized type "+v.type)}function i(x,v){var _=x.split(/[\n\r]+/),u=-1,g=-1,C=0,O=0,y=[],M=[],Y=null,ee={},D=[],b=[],L=[],G=0,V;for(+v.codepage>=0&&wt(+v.codepage);C!==_.length;++C){G=0;var j=_[C].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),re=j.replace(/;;/g,"\0").split(";").map(function(A){return A.replace(/\u0000/g,";")}),ge=re[0],le;if(j.length>0)switch(ge){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":re[1].charAt(0)=="P"&&M.push(j.slice(3).replace(/;;/g,";"));break;case"C":var Me=!1,Ce=!1,cr=!1,Ne=!1,ir=-1,Qe=-1;for(O=1;O<re.length;++O)switch(re[O].charAt(0)){case"A":break;case"X":g=parseInt(re[O].slice(1))-1,Ce=!0;break;case"Y":for(u=parseInt(re[O].slice(1))-1,Ce||(g=0),V=y.length;V<=u;++V)y[V]=[];break;case"K":le=re[O].slice(1),le.charAt(0)==='"'?le=le.slice(1,le.length-1):le==="TRUE"?le=!0:le==="FALSE"?le=!1:isNaN(Fr(le))?isNaN(At(le).getDate())||(le=$e(le)):(le=Fr(le),Y!==null&&oa(Y)&&(le=xa(le))),Me=!0;break;case"E":Ne=!0;var S=io(re[O].slice(1),{r:u,c:g});y[u][g]=[y[u][g],S];break;case"S":cr=!0,y[u][g]=[y[u][g],"S5S"];break;case"G":break;case"R":ir=parseInt(re[O].slice(1))-1;break;case"C":Qe=parseInt(re[O].slice(1))-1;break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+j)}if(Me&&(y[u][g]&&y[u][g].length==2?y[u][g][0]=le:y[u][g]=le,Y=null),cr){if(Ne)throw new Error("SYLK shared formula cannot have own formula");var P=ir>-1&&y[ir][Qe];if(!P||!P[1])throw new Error("SYLK shared formula cannot find base");y[u][g][1]=so(P[1],{r:u-ir,c:g-Qe})}break;case"F":var F=0;for(O=1;O<re.length;++O)switch(re[O].charAt(0)){case"X":g=parseInt(re[O].slice(1))-1,++F;break;case"Y":for(u=parseInt(re[O].slice(1))-1,V=y.length;V<=u;++V)y[V]=[];break;case"M":G=parseInt(re[O].slice(1))/20;break;case"F":break;case"G":break;case"P":Y=M[parseInt(re[O].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(L=re[O].slice(1).split(" "),V=parseInt(L[0],10);V<=parseInt(L[1],10);++V)G=parseInt(L[2],10),b[V-1]=G===0?{hidden:!0}:{wch:G},j0(b[V-1]);break;case"C":g=parseInt(re[O].slice(1))-1,b[g]||(b[g]={});break;case"R":u=parseInt(re[O].slice(1))-1,D[u]||(D[u]={}),G>0?(D[u].hpt=G,D[u].hpx=ei(G)):G===0&&(D[u].hidden=!0);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+j)}F<1&&(Y=null);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+j)}}return D.length>0&&(ee["!rows"]=D),b.length>0&&(ee["!cols"]=b),v&&v.sheetRows&&(y=y.slice(0,v.sheetRows)),[y,ee]}function s(x,v){var _=a(x,v),u=_[0],g=_[1],C=lt(u,v);return Ge(g).forEach(function(O){C[O]=g[O]}),C}function f(x,v){return jr(s(x,v),v)}function o(x,v,_,u){var g="C;Y"+(_+1)+";X"+(u+1)+";K";switch(x.t){case"n":g+=x.v||0,x.f&&!x.F&&(g+=";E"+z0(x.f,{r:_,c:u}));break;case"b":g+=x.v?"TRUE":"FALSE";break;case"e":g+=x.w||x.v;break;case"d":g+='"'+(x.w||x.v)+'"';break;case"s":g+='"'+x.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return g}function l(x,v){v.forEach(function(_,u){var g="F;W"+(u+1)+" "+(u+1)+" ";_.hidden?g+="0":(typeof _.width=="number"&&!_.wpx&&(_.wpx=r0(_.width)),typeof _.wpx=="number"&&!_.wch&&(_.wch=t0(_.wpx)),typeof _.wch=="number"&&(g+=Math.round(_.wch))),g.charAt(g.length-1)!=" "&&x.push(g)})}function c(x,v){v.forEach(function(_,u){var g="F;";_.hidden?g+="M0;":_.hpt?g+="M"+20*_.hpt+";":_.hpx&&(g+="M"+20*n0(_.hpx)+";"),g.length>2&&x.push(g+"R"+(u+1))})}function d(x,v){var _=["ID;PWXL;N;E"],u=[],g=Ee(x["!ref"]),C,O=Array.isArray(x),y=`\r -`;_.push("P;PGeneral"),_.push("F;P0;DG0G8;M255"),x["!cols"]&&l(_,x["!cols"]),x["!rows"]&&c(_,x["!rows"]),_.push("B;Y"+(g.e.r-g.s.r+1)+";X"+(g.e.c-g.s.c+1)+";D"+[g.s.c,g.s.r,g.e.c,g.e.r].join(" "));for(var M=g.s.r;M<=g.e.r;++M)for(var Y=g.s.c;Y<=g.e.c;++Y){var ee=me({r:M,c:Y});C=O?(x[M]||[])[Y]:x[ee],!(!C||C.v==null&&(!C.f||C.F))&&u.push(o(C,x,M,Y))}return _.join(y)+y+u.join(y)+y+"E"+y}return{to_workbook:f,to_sheet:s,from_sheet:d}}(),ll=function(){function e(i,s){switch(s.type){case"base64":return t(Cr(i),s);case"binary":return t(i,s);case"buffer":return t(ue&&Buffer.isBuffer(i)?i.toString("binary"):Dt(i),s);case"array":return t(c0(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var f=i.split(` -`),o=-1,l=-1,c=0,d=[];c!==f.length;++c){if(f[c].trim()==="BOT"){d[++o]=[],l=0;continue}if(!(o<0)){var x=f[c].trim().split(","),v=x[0],_=x[1];++c;for(var u=f[c]||"";(u.match(/["]/g)||[]).length&1&&c<f.length-1;)u+=` -`+f[++c];switch(u=u.trim(),+v){case-1:if(u==="BOT"){d[++o]=[],l=0;continue}else if(u!=="EOD")throw new Error("Unrecognized DIF special command "+u);break;case 0:u==="TRUE"?d[o][l]=!0:u==="FALSE"?d[o][l]=!1:isNaN(Fr(_))?isNaN(At(_).getDate())?d[o][l]=_:d[o][l]=$e(_):d[o][l]=Fr(_),++l;break;case 1:u=u.slice(1,u.length-1),u=u.replace(/""/g,'"'),u&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),d[o][l++]=u!==""?u:null;break}if(u==="EOD")break}}return s&&s.sheetRows&&(d=d.slice(0,s.sheetRows)),d}function r(i,s){return lt(e(i,s),s)}function n(i,s){return jr(r(i,s),s)}var a=function(){var i=function(o,l,c,d,x){o.push(l),o.push(c+","+d),o.push('"'+x.replace(/"/g,'""')+'"')},s=function(o,l,c,d){o.push(l+","+c),o.push(l==1?'"'+d.replace(/"/g,'""')+'"':d)};return function(o){var l=[],c=Ee(o["!ref"]),d,x=Array.isArray(o);i(l,"TABLE",0,1,"sheetjs"),i(l,"VECTORS",0,c.e.r-c.s.r+1,""),i(l,"TUPLES",0,c.e.c-c.s.c+1,""),i(l,"DATA",0,0,"");for(var v=c.s.r;v<=c.e.r;++v){s(l,-1,0,"BOT");for(var _=c.s.c;_<=c.e.c;++_){var u=me({r:v,c:_});if(d=x?(o[v]||[])[_]:o[u],!d){s(l,1,0,"");continue}switch(d.t){case"n":var g=d.w;!g&&d.v!=null&&(g=d.v),g==null?d.f&&!d.F?s(l,1,0,"="+d.f):s(l,1,0,""):s(l,0,g,"V");break;case"b":s(l,0,d.v?1:0,d.v?"TRUE":"FALSE");break;case"s":s(l,1,0,isNaN(d.v)?d.v:'="'+d.v+'"');break;case"d":d.w||(d.w=kr(d.z||ye[14],Ze($e(d.v)))),s(l,0,d.w,"V");break;default:s(l,1,0,"")}}}s(l,-1,0,"EOD");var C=`\r -`,O=l.join(C);return O}}();return{to_workbook:n,to_sheet:r,from_sheet:a}}(),Ja=function(){function e(d){return d.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,` -`)}function t(d){return d.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(d,x){for(var v=d.split(` -`),_=-1,u=-1,g=0,C=[];g!==v.length;++g){var O=v[g].trim().split(":");if(O[0]==="cell"){var y=Pe(O[1]);if(C.length<=y.r)for(_=C.length;_<=y.r;++_)C[_]||(C[_]=[]);switch(_=y.r,u=y.c,O[2]){case"t":C[_][u]=e(O[3]);break;case"v":C[_][u]=+O[3];break;case"vtf":var M=O[O.length-1];case"vtc":switch(O[3]){case"nl":C[_][u]=!!+O[4];break;default:C[_][u]=+O[4];break}O[2]=="vtf"&&(C[_][u]=[C[_][u],M])}}}return x&&x.sheetRows&&(C=C.slice(0,x.sheetRows)),C}function n(d,x){return lt(r(d,x),x)}function a(d,x){return jr(n(d,x),x)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(` -`),s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(` -`)+` -`,f=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(` -`),o="--SocialCalcSpreadsheetControlSave--";function l(d){if(!d||!d["!ref"])return"";for(var x=[],v=[],_,u="",g=ar(d["!ref"]),C=Array.isArray(d),O=g.s.r;O<=g.e.r;++O)for(var y=g.s.c;y<=g.e.c;++y)if(u=me({r:O,c:y}),_=C?(d[O]||[])[y]:d[u],!(!_||_.v==null||_.t==="z")){switch(v=["cell",u,"t"],_.t){case"s":case"str":v.push(t(_.v));break;case"n":_.f?(v[2]="vtf",v[3]="n",v[4]=_.v,v[5]=t(_.f)):(v[2]="v",v[3]=_.v);break;case"b":v[2]="vt"+(_.f?"f":"c"),v[3]="nl",v[4]=_.v?"1":"0",v[5]=t(_.f||(_.v?"TRUE":"FALSE"));break;case"d":var M=Ze($e(_.v));v[2]="vtc",v[3]="nd",v[4]=""+M,v[5]=_.w||kr(_.z||ye[14],M);break;case"e":continue}x.push(v.join(":"))}return x.push("sheet:c:"+(g.e.c-g.s.c+1)+":r:"+(g.e.r-g.s.r+1)+":tvf:1"),x.push("valueformat:1:text-wiki"),x.join(` -`)}function c(d){return[i,s,f,s,l(d),o].join(` -`)}return{to_workbook:a,to_sheet:n,from_sheet:c}}(),ol=function(){function e(c,d,x,v,_){_.raw?d[x][v]=c:c===""||(c==="TRUE"?d[x][v]=!0:c==="FALSE"?d[x][v]=!1:isNaN(Fr(c))?isNaN(At(c).getDate())?d[x][v]=c:d[x][v]=$e(c):d[x][v]=Fr(c))}function t(c,d){var x=d||{},v=[];if(!c||c.length===0)return v;for(var _=c.split(/[\r\n]/),u=_.length-1;u>=0&&_[u].length===0;)--u;for(var g=10,C=0,O=0;O<=u;++O)C=_[O].indexOf(" "),C==-1?C=_[O].length:C++,g=Math.max(g,C);for(O=0;O<=u;++O){v[O]=[];var y=0;for(e(_[O].slice(0,g).trim(),v,O,y,x),y=1;y<=(_[O].length-g)/10+1;++y)e(_[O].slice(g+(y-1)*10,g+y*10).trim(),v,O,y,x)}return x.sheetRows&&(v=v.slice(0,x.sheetRows)),v}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(c){for(var d={},x=!1,v=0,_=0;v<c.length;++v)(_=c.charCodeAt(v))==34?x=!x:!x&&_ in r&&(d[_]=(d[_]||0)+1);_=[];for(v in d)Object.prototype.hasOwnProperty.call(d,v)&&_.push([d[v],v]);if(!_.length){d=n;for(v in d)Object.prototype.hasOwnProperty.call(d,v)&&_.push([d[v],v])}return _.sort(function(u,g){return u[0]-g[0]||n[u[1]]-n[g[1]]}),r[_.pop()[1]]||44}function i(c,d){var x=d||{},v="",_=x.dense?[]:{},u={s:{c:0,r:0},e:{c:0,r:0}};c.slice(0,4)=="sep="?c.charCodeAt(5)==13&&c.charCodeAt(6)==10?(v=c.charAt(4),c=c.slice(7)):c.charCodeAt(5)==13||c.charCodeAt(5)==10?(v=c.charAt(4),c=c.slice(6)):v=a(c.slice(0,1024)):x.FS?v=x.FS:v=a(c.slice(0,1024));var g=0,C=0,O=0,y=0,M=0,Y=v.charCodeAt(0),ee=!1,D=0,b=c.charCodeAt(0);c=c.replace(/\r\n/mg,` -`);var L=x.dateNF!=null?As(x.dateNF):null;function G(){var V=c.slice(y,M),j={};if(V.charAt(0)=='"'&&V.charAt(V.length-1)=='"'&&(V=V.slice(1,-1).replace(/""/g,'"')),V.length===0)j.t="z";else if(x.raw)j.t="s",j.v=V;else if(V.trim().length===0)j.t="s",j.v=V;else if(V.charCodeAt(0)==61)V.charCodeAt(1)==34&&V.charCodeAt(V.length-1)==34?(j.t="s",j.v=V.slice(2,-1).replace(/""/g,'"')):fo(V)?(j.t="n",j.f=V.slice(1)):(j.t="s",j.v=V);else if(V=="TRUE")j.t="b",j.v=!0;else if(V=="FALSE")j.t="b",j.v=!1;else if(!isNaN(O=Fr(V)))j.t="n",x.cellText!==!1&&(j.w=V),j.v=O;else if(!isNaN(At(V).getDate())||L&&V.match(L)){j.z=x.dateNF||ye[14];var re=0;L&&V.match(L)&&(V=Fs(V,x.dateNF,V.match(L)||[]),re=1),x.cellDates?(j.t="d",j.v=$e(V,re)):(j.t="n",j.v=Ze($e(V,re))),x.cellText!==!1&&(j.w=kr(j.z,j.v instanceof Date?Ze(j.v):j.v)),x.cellNF||delete j.z}else j.t="s",j.v=V;if(j.t=="z"||(x.dense?(_[g]||(_[g]=[]),_[g][C]=j):_[me({c:C,r:g})]=j),y=M+1,b=c.charCodeAt(y),u.e.c<C&&(u.e.c=C),u.e.r<g&&(u.e.r=g),D==Y)++C;else if(C=0,++g,x.sheetRows&&x.sheetRows<=g)return!0}e:for(;M<c.length;++M)switch(D=c.charCodeAt(M)){case 34:b===34&&(ee=!ee);break;case Y:case 10:case 13:if(!ee&&G())break e;break}return M-y>0&&G(),_["!ref"]=De(u),_}function s(c,d){return!(d&&d.PRN)||d.FS||c.slice(0,4)=="sep="||c.indexOf(" ")>=0||c.indexOf(",")>=0||c.indexOf(";")>=0?i(c,d):lt(t(c,d),d)}function f(c,d){var x="",v=d.type=="string"?[0,0,0,0]:wu(c,d);switch(d.type){case"base64":x=Cr(c);break;case"binary":x=c;break;case"buffer":d.codepage==65001?x=c.toString("utf8"):(d.codepage,x=ue&&Buffer.isBuffer(c)?c.toString("binary"):Dt(c));break;case"array":x=c0(c);break;case"string":x=c;break;default:throw new Error("Unrecognized type "+d.type)}return v[0]==239&&v[1]==187&&v[2]==191?x=mt(x.slice(3)):d.type!="string"&&d.type!="buffer"&&d.codepage==65001?x=mt(x):d.type=="binary",x.slice(0,19)=="socialcalc:version:"?Ja.to_sheet(d.type=="string"?x:mt(x),d):s(x,d)}function o(c,d){return jr(f(c,d),d)}function l(c){for(var d=[],x=Ee(c["!ref"]),v,_=Array.isArray(c),u=x.s.r;u<=x.e.r;++u){for(var g=[],C=x.s.c;C<=x.e.c;++C){var O=me({r:u,c:C});if(v=_?(c[u]||[])[C]:c[O],!v||v.v==null){g.push(" ");continue}for(var y=(v.w||(Or(v),v.w)||"").slice(0,10);y.length<10;)y+=" ";g.push(y+(C===0?" ":""))}d.push(g.join(""))}return d.join(` -`)}return{to_workbook:o,to_sheet:f,from_sheet:l}}(),Hn=function(){function e(S,P,F){if(S){rr(S,S.l||0);for(var A=F.Enum||ir;S.l<S.length;){var H=S.read_shift(2),ie=A[H]||A[65535],se=S.read_shift(2),ae=S.l+se,q=ie.f&&ie.f(S,se,F);if(S.l=ae,P(q,ie,H))return}}}function t(S,P){switch(P.type){case"base64":return r(vr(Cr(S)),P);case"binary":return r(vr(S),P);case"buffer":case"array":return r(S,P)}throw"Unsupported type "+P.type}function r(S,P){if(!S)return S;var F=P||{},A=F.dense?[]:{},H="Sheet1",ie="",se=0,ae={},q=[],Te=[],ce={s:{r:0,c:0},e:{r:0,c:0}},Ke=F.sheetRows||0;if(S[2]==0&&(S[3]==8||S[3]==9)&&S.length>=16&&S[14]==5&&S[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(S[2]==2)F.Enum=ir,e(S,function(ne,sr,wr){switch(wr){case 0:F.vers=ne,ne>=4096&&(F.qpro=!0);break;case 6:ce=ne;break;case 204:ne&&(ie=ne);break;case 222:ie=ne;break;case 15:case 51:F.qpro||(ne[1].v=ne[1].v.slice(1));case 13:case 14:case 16:wr==14&&(ne[2]&112)==112&&(ne[2]&15)>1&&(ne[2]&15)<15&&(ne[1].z=F.dateNF||ye[14],F.cellDates&&(ne[1].t="d",ne[1].v=xa(ne[1].v))),F.qpro&&ne[3]>se&&(A["!ref"]=De(ce),ae[H]=A,q.push(H),A=F.dense?[]:{},ce={s:{r:0,c:0},e:{r:0,c:0}},se=ne[3],H=ie||"Sheet"+(se+1),ie="");var Br=F.dense?(A[ne[0].r]||[])[ne[0].c]:A[me(ne[0])];if(Br){Br.t=ne[1].t,Br.v=ne[1].v,ne[1].z!=null&&(Br.z=ne[1].z),ne[1].f!=null&&(Br.f=ne[1].f);break}F.dense?(A[ne[0].r]||(A[ne[0].r]=[]),A[ne[0].r][ne[0].c]=ne[1]):A[me(ne[0])]=ne[1];break}},F);else if(S[2]==26||S[2]==14)F.Enum=Qe,S[2]==14&&(F.qpro=!0,S.l=0),e(S,function(ne,sr,wr){switch(wr){case 204:H=ne;break;case 22:ne[1].v=ne[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(ne[3]>se&&(A["!ref"]=De(ce),ae[H]=A,q.push(H),A=F.dense?[]:{},ce={s:{r:0,c:0},e:{r:0,c:0}},se=ne[3],H="Sheet"+(se+1)),Ke>0&&ne[0].r>=Ke)break;F.dense?(A[ne[0].r]||(A[ne[0].r]=[]),A[ne[0].r][ne[0].c]=ne[1]):A[me(ne[0])]=ne[1],ce.e.c<ne[0].c&&(ce.e.c=ne[0].c),ce.e.r<ne[0].r&&(ce.e.r=ne[0].r);break;case 27:ne[14e3]&&(Te[ne[14e3][0]]=ne[14e3][1]);break;case 1537:Te[ne[0]]=ne[1],ne[0]==se&&(H=ne[1]);break}},F);else throw new Error("Unrecognized LOTUS BOF "+S[2]);if(A["!ref"]=De(ce),ae[ie||H]=A,q.push(ie||H),!Te.length)return{SheetNames:q,Sheets:ae};for(var xe={},Er=[],Ae=0;Ae<Te.length;++Ae)ae[q[Ae]]?(Er.push(Te[Ae]||q[Ae]),xe[Te[Ae]]=ae[Te[Ae]]||ae[q[Ae]]):(Er.push(Te[Ae]),xe[Te[Ae]]={"!ref":"A1"});return{SheetNames:Er,Sheets:xe}}function n(S,P){var F=P||{};if(+F.codepage>=0&&wt(+F.codepage),F.type=="string")throw new Error("Cannot write WK1 to JS string");var A=Je(),H=Ee(S["!ref"]),ie=Array.isArray(S),se=[];J(A,0,i(1030)),J(A,6,o(H));for(var ae=Math.min(H.e.r,8191),q=H.s.r;q<=ae;++q)for(var Te=He(q),ce=H.s.c;ce<=H.e.c;++ce){q===H.s.r&&(se[ce]=Xe(ce));var Ke=se[ce]+Te,xe=ie?(S[q]||[])[ce]:S[Ke];if(!(!xe||xe.t=="z"))if(xe.t=="n")(xe.v|0)==xe.v&&xe.v>=-32768&&xe.v<=32767?J(A,13,v(q,ce,xe.v)):J(A,14,u(q,ce,xe.v));else{var Er=Or(xe);J(A,15,d(q,ce,Er.slice(0,239)))}}return J(A,1),A.end()}function a(S,P){var F=P||{};if(+F.codepage>=0&&wt(+F.codepage),F.type=="string")throw new Error("Cannot write WK3 to JS string");var A=Je();J(A,0,s(S));for(var H=0,ie=0;H<S.SheetNames.length;++H)(S.Sheets[S.SheetNames[H]]||{})["!ref"]&&J(A,27,Ne(S.SheetNames[H],ie++));var se=0;for(H=0;H<S.SheetNames.length;++H){var ae=S.Sheets[S.SheetNames[H]];if(!(!ae||!ae["!ref"])){for(var q=Ee(ae["!ref"]),Te=Array.isArray(ae),ce=[],Ke=Math.min(q.e.r,8191),xe=q.s.r;xe<=Ke;++xe)for(var Er=He(xe),Ae=q.s.c;Ae<=q.e.c;++Ae){xe===q.s.r&&(ce[Ae]=Xe(Ae));var ne=ce[Ae]+Er,sr=Te?(ae[xe]||[])[Ae]:ae[ne];if(!(!sr||sr.t=="z"))if(sr.t=="n")J(A,23,G(xe,Ae,se,sr.v));else{var wr=Or(sr);J(A,22,D(xe,Ae,se,wr.slice(0,239)))}}++se}}return J(A,1),A.end()}function i(S){var P=B(2);return P.write_shift(2,S),P}function s(S){var P=B(26);P.write_shift(2,4096),P.write_shift(2,4),P.write_shift(4,0);for(var F=0,A=0,H=0,ie=0;ie<S.SheetNames.length;++ie){var se=S.SheetNames[ie],ae=S.Sheets[se];if(!(!ae||!ae["!ref"])){++H;var q=ar(ae["!ref"]);F<q.e.r&&(F=q.e.r),A<q.e.c&&(A=q.e.c)}}return F>8191&&(F=8191),P.write_shift(2,F),P.write_shift(1,H),P.write_shift(1,A),P.write_shift(2,0),P.write_shift(2,0),P.write_shift(1,1),P.write_shift(1,2),P.write_shift(4,0),P.write_shift(4,0),P}function f(S,P,F){var A={s:{c:0,r:0},e:{c:0,r:0}};return P==8&&F.qpro?(A.s.c=S.read_shift(1),S.l++,A.s.r=S.read_shift(2),A.e.c=S.read_shift(1),S.l++,A.e.r=S.read_shift(2),A):(A.s.c=S.read_shift(2),A.s.r=S.read_shift(2),P==12&&F.qpro&&(S.l+=2),A.e.c=S.read_shift(2),A.e.r=S.read_shift(2),P==12&&F.qpro&&(S.l+=2),A.s.c==65535&&(A.s.c=A.e.c=A.s.r=A.e.r=0),A)}function o(S){var P=B(8);return P.write_shift(2,S.s.c),P.write_shift(2,S.s.r),P.write_shift(2,S.e.c),P.write_shift(2,S.e.r),P}function l(S,P,F){var A=[{c:0,r:0},{t:"n",v:0},0,0];return F.qpro&&F.vers!=20768?(A[0].c=S.read_shift(1),A[3]=S.read_shift(1),A[0].r=S.read_shift(2),S.l+=2):(A[2]=S.read_shift(1),A[0].c=S.read_shift(2),A[0].r=S.read_shift(2)),A}function c(S,P,F){var A=S.l+P,H=l(S,P,F);if(H[1].t="s",F.vers==20768){S.l++;var ie=S.read_shift(1);return H[1].v=S.read_shift(ie,"utf8"),H}return F.qpro&&S.l++,H[1].v=S.read_shift(A-S.l,"cstr"),H}function d(S,P,F){var A=B(7+F.length);A.write_shift(1,255),A.write_shift(2,P),A.write_shift(2,S),A.write_shift(1,39);for(var H=0;H<A.length;++H){var ie=F.charCodeAt(H);A.write_shift(1,ie>=128?95:ie)}return A.write_shift(1,0),A}function x(S,P,F){var A=l(S,P,F);return A[1].v=S.read_shift(2,"i"),A}function v(S,P,F){var A=B(7);return A.write_shift(1,255),A.write_shift(2,P),A.write_shift(2,S),A.write_shift(2,F,"i"),A}function _(S,P,F){var A=l(S,P,F);return A[1].v=S.read_shift(8,"f"),A}function u(S,P,F){var A=B(13);return A.write_shift(1,255),A.write_shift(2,P),A.write_shift(2,S),A.write_shift(8,F,"f"),A}function g(S,P,F){var A=S.l+P,H=l(S,P,F);if(H[1].v=S.read_shift(8,"f"),F.qpro)S.l=A;else{var ie=S.read_shift(2);M(S.slice(S.l,S.l+ie),H),S.l+=ie}return H}function C(S,P,F){var A=P&32768;return P&=-32769,P=(A?S:0)+(P>=8192?P-16384:P),(A?"":"$")+(F?Xe(P):He(P))}var O={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},y=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function M(S,P){rr(S,0);for(var F=[],A=0,H="",ie="",se="",ae="";S.l<S.length;){var q=S[S.l++];switch(q){case 0:F.push(S.read_shift(8,"f"));break;case 1:ie=C(P[0].c,S.read_shift(2),!0),H=C(P[0].r,S.read_shift(2),!1),F.push(ie+H);break;case 2:{var Te=C(P[0].c,S.read_shift(2),!0),ce=C(P[0].r,S.read_shift(2),!1);ie=C(P[0].c,S.read_shift(2),!0),H=C(P[0].r,S.read_shift(2),!1),F.push(Te+ce+":"+ie+H)}break;case 3:if(S.l<S.length){console.error("WK1 premature formula end");return}break;case 4:F.push("("+F.pop()+")");break;case 5:F.push(S.read_shift(2));break;case 6:{for(var Ke="";q=S[S.l++];)Ke+=String.fromCharCode(q);F.push('"'+Ke.replace(/"/g,'""')+'"')}break;case 8:F.push("-"+F.pop());break;case 23:F.push("+"+F.pop());break;case 22:F.push("NOT("+F.pop()+")");break;case 20:case 21:ae=F.pop(),se=F.pop(),F.push(["AND","OR"][q-20]+"("+se+","+ae+")");break;default:if(q<32&&y[q])ae=F.pop(),se=F.pop(),F.push(se+y[q]+ae);else if(O[q]){if(A=O[q][1],A==69&&(A=S[S.l++]),A>F.length){console.error("WK1 bad formula parse 0x"+q.toString(16)+":|"+F.join("|")+"|");return}var xe=F.slice(-A);F.length-=A,F.push(O[q][0]+"("+xe.join(",")+")")}else return q<=7?console.error("WK1 invalid opcode "+q.toString(16)):q<=24?console.error("WK1 unsupported op "+q.toString(16)):q<=30?console.error("WK1 invalid opcode "+q.toString(16)):q<=115?console.error("WK1 unsupported function opcode "+q.toString(16)):console.error("WK1 unrecognized opcode "+q.toString(16))}}F.length==1?P[1].f=""+F[0]:console.error("WK1 bad formula parse |"+F.join("|")+"|")}function Y(S){var P=[{c:0,r:0},{t:"n",v:0},0];return P[0].r=S.read_shift(2),P[3]=S[S.l++],P[0].c=S[S.l++],P}function ee(S,P){var F=Y(S);return F[1].t="s",F[1].v=S.read_shift(P-4,"cstr"),F}function D(S,P,F,A){var H=B(6+A.length);H.write_shift(2,S),H.write_shift(1,F),H.write_shift(1,P),H.write_shift(1,39);for(var ie=0;ie<A.length;++ie){var se=A.charCodeAt(ie);H.write_shift(1,se>=128?95:se)}return H.write_shift(1,0),H}function b(S,P){var F=Y(S);F[1].v=S.read_shift(2);var A=F[1].v>>1;if(F[1].v&1)switch(A&7){case 0:A=(A>>3)*5e3;break;case 1:A=(A>>3)*500;break;case 2:A=(A>>3)/20;break;case 3:A=(A>>3)/200;break;case 4:A=(A>>3)/2e3;break;case 5:A=(A>>3)/2e4;break;case 6:A=(A>>3)/16;break;case 7:A=(A>>3)/64;break}return F[1].v=A,F}function L(S,P){var F=Y(S),A=S.read_shift(4),H=S.read_shift(4),ie=S.read_shift(2);if(ie==65535)return A===0&&H===3221225472?(F[1].t="e",F[1].v=15):A===0&&H===3489660928?(F[1].t="e",F[1].v=42):F[1].v=0,F;var se=ie&32768;return ie=(ie&32767)-16446,F[1].v=(1-se*2)*(H*Math.pow(2,ie+32)+A*Math.pow(2,ie)),F}function G(S,P,F,A){var H=B(14);if(H.write_shift(2,S),H.write_shift(1,F),H.write_shift(1,P),A==0)return H.write_shift(4,0),H.write_shift(4,0),H.write_shift(2,65535),H;var ie=0,se=0,ae=0,q=0;return A<0&&(ie=1,A=-A),se=Math.log2(A)|0,A/=Math.pow(2,se-31),q=A>>>0,q&2147483648||(A/=2,++se,q=A>>>0),A-=q,q|=2147483648,q>>>=0,A*=Math.pow(2,32),ae=A>>>0,H.write_shift(4,ae),H.write_shift(4,q),se+=16383+(ie?32768:0),H.write_shift(2,se),H}function V(S,P){var F=L(S);return S.l+=P-14,F}function j(S,P){var F=Y(S),A=S.read_shift(4);return F[1].v=A>>6,F}function re(S,P){var F=Y(S),A=S.read_shift(8,"f");return F[1].v=A,F}function ge(S,P){var F=re(S);return S.l+=P-10,F}function le(S,P){return S[S.l+P-1]==0?S.read_shift(P,"cstr"):""}function Me(S,P){var F=S[S.l++];F>P-1&&(F=P-1);for(var A="";A.length<F;)A+=String.fromCharCode(S[S.l++]);return A}function Ce(S,P,F){if(!(!F.qpro||P<21)){var A=S.read_shift(1);S.l+=17,S.l+=1,S.l+=2;var H=S.read_shift(P-21,"cstr");return[A,H]}}function cr(S,P){for(var F={},A=S.l+P;S.l<A;){var H=S.read_shift(2);if(H==14e3){for(F[H]=[0,""],F[H][0]=S.read_shift(2);S[S.l];)F[H][1]+=String.fromCharCode(S[S.l]),S.l++;S.l++}}return F}function Ne(S,P){var F=B(5+S.length);F.write_shift(2,14e3),F.write_shift(2,P);for(var A=0;A<S.length;++A){var H=S.charCodeAt(A);F[F.l++]=H>127?95:H}return F[F.l++]=0,F}var ir={0:{n:"BOF",f:ja},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:x},14:{n:"NUMBER",f:_},15:{n:"LABEL",f:c},16:{n:"FORMULA",f:g},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:c},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:le},222:{n:"SHEETNAMELP",f:Me},65535:{n:""}},Qe={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:ee},23:{n:"NUMBER17",f:L},24:{n:"NUMBER18",f:b},25:{n:"FORMULA19",f:V},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:cr},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:j},38:{n:"??"},39:{n:"NUMBER27",f:re},40:{n:"FORMULA28",f:ge},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:le},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:Ce},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:a,to_workbook:t}}(),cl=/^\s|\s$|[\t\n\r]/;function Za(e,t){if(!t.bookSST)return"";var r=[Re];r[r.length]=z("sst",null,{xmlns:ft[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var a=e[n],i="<si>";a.r?i+=a.r:(i+="<t",a.t||(a.t=""),a.t.match(cl)&&(i+=' xml:space="preserve"'),i+=">"+pe(a.t)+"</t>"),i+="</si>",r[r.length]=i}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function hl(e){return[e.read_shift(4),e.read_shift(4)]}function ul(e,t){return t||(t=B(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var xl=tf;function vl(e){var t=Je();W(t,159,ul(e));for(var r=0;r<e.length;++r)W(t,19,xl(e[r]));return W(t,160),t.end()}function dl(e){for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function qa(e){var t=0,r,n=dl(e),a=n.length+1,i,s,f,o,l;for(r=Gr(a),r[0]=n.length,i=1;i!=a;++i)r[i]=n[i-1];for(i=a-1;i>=0;--i)s=r[i],f=t&16384?1:0,o=t<<1&32767,l=f|o,t=l^s;return t^52811}var pl=function(){function e(a,i){switch(i.type){case"base64":return t(Cr(a),i);case"binary":return t(a,i);case"buffer":return t(ue&&Buffer.isBuffer(a)?a.toString("binary"):Dt(a),i);case"array":return t(c0(a),i)}throw new Error("Unrecognized type "+i.type)}function t(a,i){var s=i||{},f=s.dense?[]:{},o=a.match(/\\trowd.*?\\row\b/g);if(!o.length)throw new Error("RTF missing table");var l={s:{c:0,r:0},e:{c:0,r:o.length-1}};return o.forEach(function(c,d){Array.isArray(f)&&(f[d]=[]);for(var x=/\\\w+\b/g,v=0,_,u=-1;_=x.exec(c);){switch(_[0]){case"\\cell":var g=c.slice(v,x.lastIndex-_[0].length);if(g[0]==" "&&(g=g.slice(1)),++u,g.length){var C={v:g,t:"s"};Array.isArray(f)?f[d][u]=C:f[me({r:d,c:u})]=C}break}v=x.lastIndex}u>l.e.c&&(l.e.c=u)}),f["!ref"]=De(l),f}function r(a,i){return jr(e(a,i),i)}function n(a){for(var i=["{\\rtf1\\ansi"],s=Ee(a["!ref"]),f,o=Array.isArray(a),l=s.s.r;l<=s.e.r;++l){i.push("\\trowd\\trautofit1");for(var c=s.s.c;c<=s.e.c;++c)i.push("\\cellx"+(c+1));for(i.push("\\pard\\intbl"),c=s.s.c;c<=s.e.c;++c){var d=me({r:l,c});f=o?(a[l]||[])[c]:a[d],!(!f||f.v==null&&(!f.f||f.F))&&(i.push(" "+(f.w||(Or(f),f.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}}();function Gn(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}var ml=6,yr=ml;function r0(e){return Math.floor((e+Math.round(128/yr)/256)*yr)}function t0(e){return Math.floor((e-5)/yr*100+.5)/100}function R0(e){return Math.round((e*yr+5)/yr*256)/256}function j0(e){e.width?(e.wpx=r0(e.width),e.wch=t0(e.wpx),e.MDW=yr):e.wpx?(e.wch=t0(e.wpx),e.width=R0(e.wch),e.MDW=yr):typeof e.wch=="number"&&(e.width=R0(e.wch),e.wpx=r0(e.width),e.MDW=yr),e.customWidth&&delete e.customWidth}var gl=96,Qa=gl;function n0(e){return e*96/Qa}function ei(e){return e*Qa/96}function _l(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)e[n]!=null&&(t[t.length]=z("numFmt",null,{numFmtId:n,formatCode:pe(e[n])}))}),t.length===1?"":(t[t.length]="</numFmts>",t[0]=z("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function Tl(e){var t=[];return t[t.length]=z("cellXfs",null),e.forEach(function(r){t[t.length]=z("xf",null,r)}),t[t.length]="</cellXfs>",t.length===2?"":(t[0]=z("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function ri(e,t){var r=[Re,z("styleSheet",null,{xmlns:ft[0],"xmlns:vt":ke.vt})],n;return e.SSF&&(n=_l(e.SSF))!=null&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=Tl(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function El(e,t){var r=e.read_shift(2),n=je(e);return[r,n]}function wl(e,t,r){r||(r=B(6+4*t.length)),r.write_shift(2,e),Le(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function Sl(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=cf(e);a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1);var i=e.read_shift(2);switch(i===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var s=e.read_shift(1);s!=0&&(n.underline=s);var f=e.read_shift(1);f>0&&(n.family=f);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=of(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=je(e),n}function Al(e,t){t||(t=B(25+4*32)),t.write_shift(2,e.sz*20),hf(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),Qt(e.color,t);var n=0;return e.scheme=="major"&&(n=1),e.scheme=="minor"&&(n=2),t.write_shift(1,n),Le(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Fl=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],S0,yl=Tr;function Vn(e,t){t||(t=B(4*3+8*7+16*1)),S0||(S0=k0(Fl));var r=S0[e.patternType];r==null&&(r=40),t.write_shift(4,r);var n=0;if(r!=40)for(Qt({auto:1},t),Qt({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Cl(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}function ti(e,t,r){r||(r=B(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function vt(e,t){return t||(t=B(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Ol=Tr;function Dl(e,t){return t||(t=B(51)),t.write_shift(1,0),vt(null,t),vt(null,t),vt(null,t),vt(null,t),vt(null,t),t.length>t.l?t.slice(0,t.l):t}function Rl(e,t){return t||(t=B(12+4*10)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,0),t.write_shift(1,0),qt(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function Il(e,t,r){var n=B(2052);return n.write_shift(4,e),qt(t,n),qt(r,n),n.length>n.l?n.slice(0,n.l):n}function Nl(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&++r}),r!=0&&(W(e,615,pr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&W(e,44,wl(a,t[a]))}),W(e,616))}}function kl(e){var t=1;W(e,611,pr(t)),W(e,43,Al({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),W(e,612)}function Pl(e){var t=2;W(e,603,pr(t)),W(e,45,Vn({patternType:"none"})),W(e,45,Vn({patternType:"gray125"})),W(e,604)}function Ll(e){var t=1;W(e,613,pr(t)),W(e,46,Dl()),W(e,614)}function Ml(e){var t=1;W(e,626,pr(t)),W(e,47,ti({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),W(e,627)}function Bl(e,t){W(e,617,pr(t.length)),t.forEach(function(r){W(e,47,ti(r,0))}),W(e,618)}function Ul(e){var t=1;W(e,619,pr(t)),W(e,48,Rl({xfId:0,builtinId:0,name:"Normal"})),W(e,620)}function bl(e){var t=0;W(e,505,pr(t)),W(e,506)}function Wl(e){var t=0;W(e,508,Il(t,"TableStyleMedium9","PivotStyleMedium4")),W(e,509)}function Hl(e,t){var r=Je();return W(r,278),Nl(r,e.SSF),kl(r),Pl(r),Ll(r),Ml(r),Bl(r,t.cellXfs),Ul(r),bl(r),Wl(r),W(r,279),r.end()}function ni(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[Re];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function Gl(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:je(e)}}function Vl(e){var t=B(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),Le(e.name,t),t.slice(0,t.l)}function Xl(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function jl(e){var t=B(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r<e.length;++r)t.write_shift(4,e[r][0]),t.write_shift(4,e[r][1]);return t}function Kl(e,t){var r=B(8+2*t.length);return r.write_shift(4,e),Le(t,r),r.slice(0,r.l)}function zl(e){return e.l+=4,e.read_shift(4)!=0}function Yl(e,t){var r=B(8);return r.write_shift(4,e),r.write_shift(4,1),r}function $l(){var e=Je();return W(e,332),W(e,334,pr(1)),W(e,335,Vl({name:"XLDAPR",version:12e4,flags:3496657072})),W(e,336),W(e,339,Kl(1,"XLDAPR")),W(e,52),W(e,35,pr(514)),W(e,4096,pr(0)),W(e,4097,lr(1)),W(e,36),W(e,53),W(e,340),W(e,337,Yl(1)),W(e,51,jl([[1,0]])),W(e,338),W(e,333),e.end()}function ai(){var e=[Re];return e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray"> - <metadataTypes count="1"> - <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/> - </metadataTypes> - <futureMetadata name="XLDAPR" count="1"> - <bk> - <extLst> - <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}"> - <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/> - </ext> - </extLst> - </bk> - </futureMetadata> - <cellMetadata count="1"> - <bk> - <rc t="1" v="0"/> - </bk> - </cellMetadata> -</metadata>`),e.join("")}function Jl(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=me(r);var n=e.read_shift(1);return n&2&&(t.l="1"),n&8&&(t.a="1"),t}var rt=1024;function ii(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[z("xml",null,{"xmlns:v":tr.v,"xmlns:o":tr.o,"xmlns:x":tr.x,"xmlns:mv":tr.mv}).replace(/\/>/,">"),z("o:shapelayout",z("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),z("v:shapetype",[z("v:stroke",null,{joinstyle:"miter"}),z("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];rt<e*1e3;)rt+=1e3;return t.forEach(function(i){var s=Pe(i[0]),f={color2:"#BEFF82",type:"gradient"};f.type=="gradient"&&(f.angle="-180");var o=f.type=="gradient"?z("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,l=z("v:fill",o,f),c={on:"t",obscured:"t"};++rt,a=a.concat(["<v:shape"+yt({id:"_x0000_s"+rt,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(i[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",l,z("v:shadow",null,c),z("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",We("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),We("x:AutoFill","False"),We("x:Row",String(s.r)),We("x:Column",String(s.c)),i[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}function si(e){var t=[Re,z("comments",null,{xmlns:ft[0]})],r=[];return t.push("<authors>"),e.forEach(function(n){n[1].forEach(function(a){var i=pe(a.a);r.indexOf(i)==-1&&(r.push(i),t.push("<author>"+i+"</author>")),a.T&&a.ID&&r.indexOf("tc="+a.ID)==-1&&(r.push("tc="+a.ID),t.push("<author>tc="+a.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(n){var a=0,i=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?a=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(o){o.a&&(a=r.indexOf(pe(o.a))),i.push(o.t||"")}),t.push('<comment ref="'+n[0]+'" authorId="'+a+'"><text>'),i.length<=1)t.push(We("t",pe(i[0]||"")));else{for(var s=`Comment: - `+i[0]+` -`,f=1;f<i.length;++f)s+=`Reply: - `+i[f]+` -`;t.push(We("t",pe(s)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function Zl(e,t,r){var n=[Re,z("ThreadedComments",null,{xmlns:ke.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(a){var i="";(a[1]||[]).forEach(function(s,f){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var o={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};f==0?i=o.id:o.parentId=i,s.ID=o.id,s.a&&(o.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(z("threadedComment",We("text",s.t||""),o))})}),n.push("</ThreadedComments>"),n.join("")}function ql(e){var t=[Re,z("personList",null,{xmlns:ke.TCMNT,"xmlns:x":ft[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(z("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}function Ql(e){var t={};t.iauthor=e.read_shift(4);var r=$r(e);return t.rfx=r.s,t.ref=me(r.s),e.l+=16,t}function eo(e,t){return t==null&&(t=B(36)),t.write_shift(4,e[1].iauthor),ot(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var ro=je;function to(e){return Le(e.slice(0,54))}function no(e){var t=Je(),r=[];return W(t,628),W(t,630),e.forEach(function(n){n[1].forEach(function(a){r.indexOf(a.a)>-1||(r.push(a.a.slice(0,54)),W(t,632,to(a.a)))})}),W(t,631),W(t,633),e.forEach(function(n){n[1].forEach(function(a){a.iauthor=r.indexOf(a.a);var i={s:Pe(n[0]),e:Pe(n[0])};W(t,635,eo([i,a])),a.t&&a.t.length>0&&W(t,637,af(a)),W(t,636),delete a.iauthor})}),W(t,634),W(t,629),t.end()}function ao(e,t){t.FullPaths.forEach(function(r,n){if(n!=0){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");a.slice(-1)!=="/"&&_e.utils.cfb_add(e,a,t.FileIndex[n].content)}})}var fi=["xlsb","xlsm","xlam","biff8","xla"],io=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(n,a,i,s){var f=!1,o=!1;i.length==0?o=!0:i.charAt(0)=="["&&(o=!0,i=i.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var l=i.length>0?parseInt(i,10)|0:0,c=s.length>0?parseInt(s,10)|0:0;return f?c+=t.c:--c,o?l+=t.r:--l,a+(f?"":"$")+Xe(c)+(o?"":"$")+He(l)}return function(a,i){return t=i,a.replace(e,r)}}(),K0=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,z0=function(){return function(t,r){return t.replace(K0,function(n,a,i,s,f,o){var l=W0(s)-(i?0:r.c),c=b0(o)-(f?0:r.r),d=c==0?"":f?c+1:"["+c+"]",x=l==0?"":i?l+1:"["+l+"]";return a+"R"+d+"C"+x})}}();function so(e,t){return e.replace(K0,function(r,n,a,i,s,f){return n+(a=="$"?a+i:Xe(W0(i)+t.c))+(s=="$"?s+f:He(b0(f)+t.r))})}function fo(e){return e.length!=1}function Oe(e){e.l+=1}function Pr(e,t){var r=e.read_shift(2);return[r&16383,r>>14&1,r>>15&1]}function li(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return oi(e);r.biff==12&&(n=4)}var a=e.read_shift(n),i=e.read_shift(n),s=Pr(e),f=Pr(e);return{s:{r:a,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function oi(e){var t=Pr(e),r=Pr(e),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function lo(e,t,r){if(r.biff<8)return oi(e);var n=e.read_shift(r.biff==12?4:2),a=e.read_shift(r.biff==12?4:2),i=Pr(e),s=Pr(e);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function ci(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return oo(e);var n=e.read_shift(r&&r.biff==12?4:2),a=Pr(e);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function oo(e){var t=Pr(e),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function co(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function ho(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return uo(e);var a=e.read_shift(n>=12?4:2),i=e.read_shift(2),s=(i&16384)>>14,f=(i&32768)>>15;if(i&=16383,f==1)for(;a>524287;)a-=1048576;if(s==1)for(;i>8191;)i=i-16384;return{r:a,c:i,cRel:s,rRel:f}}function uo(e){var t=e.read_shift(2),r=e.read_shift(1),n=(t&32768)>>15,a=(t&16384)>>14;return t&=16383,n==1&&t>=8192&&(t=t-16384),a==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:a,rRel:n}}function xo(e,t,r){var n=(e[e.l++]&96)>>5,a=li(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,a]}function vo(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2,"i"),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var s=li(e,i,r);return[n,a,s]}function po(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function mo(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[n,a]}function go(e,t,r){var n=(e[e.l++]&96)>>5,a=lo(e,t-1,r);return[n,a]}function _o(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function Xn(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function To(e,t,r){e.l+=2;for(var n=e.read_shift(r&&r.biff==2?1:2),a=[],i=0;i<=n;++i)a.push(e.read_shift(r&&r.biff==2?1:2));return a}function Eo(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function wo(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function So(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function Ao(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function hi(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function Fo(e){return e.read_shift(2),hi(e)}function yo(e){return e.read_shift(2),hi(e)}function Co(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=ci(e,0,r);return[n,a]}function Oo(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=ho(e,0,r);return[n,a]}function Do(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(2);r&&r.biff==5&&(e.l+=12);var i=ci(e,0,r);return[n,a,i]}function Ro(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[Rc[a],vi[a],n]}function Io(e,t,r){var n=e[e.l++],a=e.read_shift(1),i=r&&r.biff<=3?[n==88?-1:0,e.read_shift(1)]:No(e);return[a,(i[0]===0?vi:Dc)[i[1]]]}function No(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function ko(e,t,r){e.l+=r&&r.biff==2?3:4}function Po(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function Lo(e){return e.l++,Nt[e.read_shift(1)]}function Mo(e){return e.l++,e.read_shift(2)}function Bo(e){return e.l++,e.read_shift(1)!==0}function Uo(e){return e.l++,ct(e)}function bo(e,t,r){return e.l++,za(e,t-1,r)}function Wo(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=Of(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=Nt[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=ct(e);break;case 2:r[1]=Nf(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Ho(e,t,r){for(var n=e.read_shift(r.biff==12?4:2),a=[],i=0;i!=n;++i)a.push((r.biff==12?$r:Lf)(e));return a}function Go(e,t,r){var n=0,a=0;r.biff==12?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--a==0&&(a=256));for(var i=0,s=[];i!=n&&(s[i]=[]);++i)for(var f=0;f!=a;++f)s[i][f]=Wo(e,r.biff);return s}function Vo(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,i=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,i]}function Xo(e,t,r){if(r.biff==5)return jo(e);var n=e.read_shift(1)>>>5&3,a=e.read_shift(2),i=e.read_shift(4);return[n,a,i]}function jo(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function Ko(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function zo(e,t,r){var n=e.read_shift(1)>>>5&3,a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function Yo(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[n]}function $o(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[n,a]}var Jo=Tr,Zo=Tr,qo=Tr;function kt(e,t,r){return e.l+=2,[co(e)]}function Y0(e){return e.l+=6,[]}var Qo=kt,ec=Y0,rc=Y0,tc=kt;function ui(e){return e.l+=2,[ja(e),e.read_shift(2)&1]}var nc=kt,ac=ui,ic=Y0,sc=kt,fc=kt,lc=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function oc(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),i=e.read_shift(2),s=lc[r>>2&31];return{ixti:t,coltype:r&3,rt:s,idx:n,c:a,C:i}}function cc(e){return e.l+=2,[e.read_shift(4)]}function hc(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function uc(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function xc(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function vc(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function dc(e){return e.l+=4,[0,0]}var jn={1:{n:"PtgExp",f:Po},2:{n:"PtgTbl",f:qo},3:{n:"PtgAdd",f:Oe},4:{n:"PtgSub",f:Oe},5:{n:"PtgMul",f:Oe},6:{n:"PtgDiv",f:Oe},7:{n:"PtgPower",f:Oe},8:{n:"PtgConcat",f:Oe},9:{n:"PtgLt",f:Oe},10:{n:"PtgLe",f:Oe},11:{n:"PtgEq",f:Oe},12:{n:"PtgGe",f:Oe},13:{n:"PtgGt",f:Oe},14:{n:"PtgNe",f:Oe},15:{n:"PtgIsect",f:Oe},16:{n:"PtgUnion",f:Oe},17:{n:"PtgRange",f:Oe},18:{n:"PtgUplus",f:Oe},19:{n:"PtgUminus",f:Oe},20:{n:"PtgPercent",f:Oe},21:{n:"PtgParen",f:Oe},22:{n:"PtgMissArg",f:Oe},23:{n:"PtgStr",f:bo},26:{n:"PtgSheet",f:hc},27:{n:"PtgEndSheet",f:uc},28:{n:"PtgErr",f:Lo},29:{n:"PtgBool",f:Bo},30:{n:"PtgInt",f:Mo},31:{n:"PtgNum",f:Uo},32:{n:"PtgArray",f:_o},33:{n:"PtgFunc",f:Ro},34:{n:"PtgFuncVar",f:Io},35:{n:"PtgName",f:Vo},36:{n:"PtgRef",f:Co},37:{n:"PtgArea",f:xo},38:{n:"PtgMemArea",f:Ko},39:{n:"PtgMemErr",f:Jo},40:{n:"PtgMemNoMem",f:Zo},41:{n:"PtgMemFunc",f:zo},42:{n:"PtgRefErr",f:Yo},43:{n:"PtgAreaErr",f:po},44:{n:"PtgRefN",f:Oo},45:{n:"PtgAreaN",f:go},46:{n:"PtgMemAreaN",f:xc},47:{n:"PtgMemNoMemN",f:vc},57:{n:"PtgNameX",f:Xo},58:{n:"PtgRef3d",f:Do},59:{n:"PtgArea3d",f:vo},60:{n:"PtgRefErr3d",f:$o},61:{n:"PtgAreaErr3d",f:mo},255:{}},pc={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},mc={1:{n:"PtgElfLel",f:ui},2:{n:"PtgElfRw",f:sc},3:{n:"PtgElfCol",f:Qo},6:{n:"PtgElfRwV",f:fc},7:{n:"PtgElfColV",f:tc},10:{n:"PtgElfRadical",f:nc},11:{n:"PtgElfRadicalS",f:ic},13:{n:"PtgElfColS",f:ec},15:{n:"PtgElfColSV",f:rc},16:{n:"PtgElfRadicalLel",f:ac},25:{n:"PtgList",f:oc},29:{n:"PtgSxName",f:cc},255:{}},gc={0:{n:"PtgAttrNoop",f:dc},1:{n:"PtgAttrSemi",f:Ao},2:{n:"PtgAttrIf",f:wo},4:{n:"PtgAttrChoose",f:To},8:{n:"PtgAttrGoto",f:Eo},16:{n:"PtgAttrSum",f:ko},32:{n:"PtgAttrBaxcel",f:Xn},33:{n:"PtgAttrBaxcel",f:Xn},64:{n:"PtgAttrSpace",f:Fo},65:{n:"PtgAttrSpaceSemi",f:yo},128:{n:"PtgAttrIfError",f:So},255:{}};function _c(e,t,r,n){if(n.biff<8)return Tr(e,t);for(var a=e.l+t,i=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=Go(e,0,n),i.push(r[s][1]);break;case"PtgMemArea":r[s][2]=Ho(e,r[s][1],n),i.push(r[s][2]);break;case"PtgExp":n&&n.biff==12&&(r[s][1][1]=e.read_shift(4),i.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return t=a-e.l,t!==0&&i.push(Tr(e,t)),i}function Tc(e,t,r){for(var n=e.l+t,a,i,s=[];n!=e.l;)t=n-e.l,i=e[e.l],a=jn[i]||jn[pc[i]],(i===24||i===25)&&(a=(i===24?mc:gc)[e[e.l+1]]),!a||!a.f?Tr(e,t):s.push([a.n,a.f(e,t,r)]);return s}function Ec(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],i=0;i<n.length;++i){var s=n[i];if(s)switch(s[0]){case 2:a.push('"'+s[1].replace(/"/g,'""')+'"');break;default:a.push(s[1])}else a.push("")}t.push(a.join(","))}return t.join(";")}var wc={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Sc(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function xi(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[n[0]][0][3]?(a=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Kn(e,t,r){var n=xi(e,t,r);return n=="#REF"?n:Sc(n,r)}function st(e,t,r,n,a){var i=a&&a.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},f=[],o,l,c,d=0,x=0,v,_="";if(!e[0]||!e[0][0])return"";for(var u=-1,g="",C=0,O=e[0].length;C<O;++C){var y=e[0][C];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=f.pop(),l=f.pop(),u>=0){switch(e[0][u][1][0]){case 0:g=Fe(" ",e[0][u][1][1]);break;case 1:g=Fe("\r",e[0][u][1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][u][1][0])}l=l+g,u=-1}f.push(l+wc[y[0]]+o);break;case"PtgIsect":o=f.pop(),l=f.pop(),f.push(l+" "+o);break;case"PtgUnion":o=f.pop(),l=f.pop(),f.push(l+","+o);break;case"PtgRange":o=f.pop(),l=f.pop(),f.push(l+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=_t(y[1][1],s,a),f.push(Tt(c,i));break;case"PtgRefN":c=r?_t(y[1][1],r,a):y[1][1],f.push(Tt(c,i));break;case"PtgRef3d":d=y[1][1],c=_t(y[1][2],s,a),_=Kn(n,d,a),f.push(_+"!"+Tt(c,i));break;case"PtgFunc":case"PtgFuncVar":var M=y[1][0],Y=y[1][1];M||(M=0),M&=127;var ee=M==0?[]:f.slice(-M);f.length-=M,Y==="User"&&(Y=ee.shift()),f.push(Y+"("+ee.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":v=Rn(y[1][1],r?{s:r}:s,a),f.push(E0(v,a));break;case"PtgArea":v=Rn(y[1][1],s,a),f.push(E0(v,a));break;case"PtgArea3d":d=y[1][1],v=y[1][2],_=Kn(n,d,a),f.push(_+"!"+E0(v,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":x=y[1][2];var D=(n.names||[])[x-1]||(n[0]||[])[x],b=D?D.Name:"SH33TJSNAME"+String(x);b&&b.slice(0,6)=="_xlfn."&&!a.xlfn&&(b=b.slice(6)),f.push(b);break;case"PtgNameX":var L=y[1][1];x=y[1][2];var G;if(a.biff<=5)L<0&&(L=-L),n[L]&&(G=n[L][x]);else{var V="";if(((n[L]||[])[0]||[])[0]==14849||(((n[L]||[])[0]||[])[0]==1025?n[L][x]&&n[L][x].itab>0&&(V=n.SheetNames[n[L][x].itab-1]+"!"):V=n.SheetNames[x-1]+"!"),n[L]&&n[L][x])V+=n[L][x].Name;else if(n[0]&&n[0][x])V+=n[0][x].Name;else{var j=(xi(n,L,a)||"").split(";;");j[x-1]?V=j[x-1]:V+="SH33TJSERRX"}f.push(V);break}G||(G={Name:"SH33TJSERRY"}),f.push(G.Name);break;case"PtgParen":var re="(",ge=")";if(u>=0){switch(g="",e[0][u][1][0]){case 2:re=Fe(" ",e[0][u][1][1])+re;break;case 3:re=Fe("\r",e[0][u][1][1])+re;break;case 4:ge=Fe(" ",e[0][u][1][1])+ge;break;case 5:ge=Fe("\r",e[0][u][1][1])+ge;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][u][1][0])}u=-1}f.push(re+f.pop()+ge);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:y[1][1],r:y[1][0]};var le={c:r.c,r:r.r};if(n.sharedf[me(c)]){var Me=n.sharedf[me(c)];f.push(st(Me,s,le,n,a))}else{var Ce=!1;for(o=0;o!=n.arrayf.length;++o)if(l=n.arrayf[o],!(c.c<l[0].s.c||c.c>l[0].e.c)&&!(c.r<l[0].s.r||c.r>l[0].e.r)){f.push(st(l[1],s,le,n,a)),Ce=!0;break}Ce||f.push(y[1])}break;case"PtgArray":f.push("{"+Ec(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":u=C;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(y));default:throw new Error("Unrecognized Formula Token: "+String(y))}var cr=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(a.biff!=3&&u>=0&&cr.indexOf(e[0][C][0])==-1){y=e[0][u];var Ne=!0;switch(y[1][0]){case 4:Ne=!1;case 0:g=Fe(" ",y[1][1]);break;case 5:Ne=!1;case 1:g=Fe("\r",y[1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((Ne?g:"")+f.pop()+(Ne?"":g)),u=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function Ac(e){if(e==null){var t=B(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return Vr(e);return Vr(0)}function Fc(e,t,r,n,a){var i=Xr(t,r,a),s=Ac(e.v),f=B(6),o=33;f.write_shift(2,o),f.write_shift(4,0);for(var l=B(e.bf.length),c=0;c<e.bf.length;++c)l[c]=e.bf[c];var d=be([i,s,f,l]);return d}function h0(e,t,r){var n=e.read_shift(4),a=Tc(e,n,r),i=e.read_shift(4),s=i>0?_c(e,i,a,r):null;return[a,s]}var yc=h0,u0=h0,Cc=h0,Oc=h0,Dc={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},vi={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Rc={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Ic(e){var t="of:="+e.replace(K0,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function Nc(e){return e.replace(/\./,"!")}var Et=typeof Map<"u";function $0(e,t,r){var n=0,a=e.length;if(r){if(Et?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=Et?r.get(t):r[t];n<i.length;++n)if(e[i[n]].t===t)return e.Count++,i[n]}}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t},e.Count++,e.Unique++,r&&(Et?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function x0(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(yr=t.MDW),t.width!=null?r.customWidth=1:t.wpx!=null?n=t0(t.wpx):t.wch!=null&&(n=t.wch),n>-1?(r.width=R0(n),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function di(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Mr(e,t,r){var n=r.revssf[t.z!=null?t.z:"General"],a=60,i=e.length;if(n==null&&r.ssf){for(;a<392;++a)if(r.ssf[a]==null){ca(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}}for(a=0;a!=i;++a)if(e[a].numFmtId===n)return a;return e[i]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function kc(e,t,r){if(e&&e["!ref"]){var n=Ee(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function Pc(e){if(e.length===0)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+De(e[r])+'"/>';return t+"</mergeCells>"}function Lc(e,t,r,n,a){var i=!1,s={},f=null;if(n.bookType!=="xlsx"&&t.vbaraw){var o=t.SheetNames[r];try{t.Workbook&&(o=t.Workbook.Sheets[r].CodeName||o)}catch{}i=!0,s.codeName=Ft(pe(o))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),f=(f||"")+z("outlinePr",null,l)}!i&&!f||(a[a.length]=z("sheetPr",f,s))}var Mc=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Bc=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Uc(e){var t={sheet:1};return Mc.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),Bc.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=qa(e.password).toString(16).toUpperCase()),z("sheetProtection",null,t)}function bc(e){return di(e),z("pageMargins",null,e)}function Wc(e,t){for(var r=["<cols>"],n,a=0;a!=t.length;++a)(n=t[a])&&(r[r.length]=z("col",null,x0(a,n)));return r[r.length]="</cols>",r.join("")}function Hc(e,t,r,n){var a=typeof e.ref=="string"?e.ref:De(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=ar(a);s.s.r==s.e.r&&(s.e.r=ar(t["!ref"]).e.r,a=De(s));for(var f=0;f<i.length;++f){var o=i[f];if(o.Name=="_xlnm._FilterDatabase"&&o.Sheet==n){o.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return f==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),z("autoFilter",null,{ref:a})}function Gc(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),z("sheetViews",z("sheetView",null,a),{})}function Vc(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var a="",i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Nt[e.v];break;case"d":n&&n.cellDates?a=$e(e.v,-1).toISOString():(e=qe(e),e.t="n",a=""+(e.v=Ze($e(e.v)))),typeof e.z>"u"&&(e.z=ye[14]);break;default:a=e.v;break}var f=We("v",pe(a)),o={r:t},l=Mr(n.cellXfs,e,n);switch(l!==0&&(o.s=l),e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){f=We("v",""+$0(n.Strings,e.v,n.revStrings)),o.t="s";break}o.t="str";break}if(e.t!=i&&(e.t=i,e.v=s),typeof e.f=="string"&&e.f){var c=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;f=z("f",pe(e.f),c)+(e.v!=null?f:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(o.cm=1),z("c",f,o)}function Xc(e,t,r,n){var a=[],i=[],s=Ee(e["!ref"]),f="",o,l="",c=[],d=0,x=0,v=e["!rows"],_=Array.isArray(e),u={r:l},g,C=-1;for(x=s.s.c;x<=s.e.c;++x)c[x]=Xe(x);for(d=s.s.r;d<=s.e.r;++d){for(i=[],l=He(d),x=s.s.c;x<=s.e.c;++x){o=c[x]+l;var O=_?(e[d]||[])[x]:e[o];O!==void 0&&(f=Vc(O,o,e,t))!=null&&i.push(f)}(i.length>0||v&&v[d])&&(u={r:l},v&&v[d]&&(g=v[d],g.hidden&&(u.hidden=1),C=-1,g.hpx?C=n0(g.hpx):g.hpt&&(C=g.hpt),C>-1&&(u.ht=C,u.customHeight=1),g.level&&(u.outlineLevel=g.level)),a[a.length]=z("row",i.join(""),u))}if(v)for(;d<v.length;++d)v&&v[d]&&(u={r:d+1},g=v[d],g.hidden&&(u.hidden=1),C=-1,g.hpx?C=n0(g.hpx):g.hpt&&(C=g.hpt),C>-1&&(u.ht=C,u.customHeight=1),g.level&&(u.outlineLevel=g.level),a[a.length]=z("row","",u));return a.join("")}function pi(e,t,r,n){var a=[Re,z("worksheet",null,{xmlns:ft[0],"xmlns:r":ke.r})],i=r.SheetNames[e],s=0,f="",o=r.Sheets[i];o==null&&(o={});var l=o["!ref"]||"A1",c=Ee(l);if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),l=De(c)}n||(n={}),o["!comments"]=[];var d=[];Lc(o,r,e,t,a),a[a.length]=z("dimension",null,{ref:l}),a[a.length]=Gc(o,t,e,r),t.sheetFormat&&(a[a.length]=z("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),o["!cols"]!=null&&o["!cols"].length>0&&(a[a.length]=Wc(o,o["!cols"])),a[s=a.length]="<sheetData/>",o["!links"]=[],o["!ref"]!=null&&(f=Xc(o,t),f.length>0&&(a[a.length]=f)),a.length>s+1&&(a[a.length]="</sheetData>",a[s]=a[s].replace("/>",">")),o["!protect"]&&(a[a.length]=Uc(o["!protect"])),o["!autofilter"]!=null&&(a[a.length]=Hc(o["!autofilter"],o,r,e)),o["!merges"]!=null&&o["!merges"].length>0&&(a[a.length]=Pc(o["!merges"]));var x=-1,v,_=-1;return o["!links"].length>0&&(a[a.length]="<hyperlinks>",o["!links"].forEach(function(u){u[1].Target&&(v={ref:u[0]},u[1].Target.charAt(0)!="#"&&(_=de(n,-1,pe(u[1].Target).replace(/#.*$/,""),he.HLINK),v["r:id"]="rId"+_),(x=u[1].Target.indexOf("#"))>-1&&(v.location=pe(u[1].Target.slice(x+1))),u[1].Tooltip&&(v.tooltip=pe(u[1].Tooltip)),a[a.length]=z("hyperlink",null,v))}),a[a.length]="</hyperlinks>"),delete o["!links"],o["!margins"]!=null&&(a[a.length]=bc(o["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(a[a.length]=We("ignoredErrors",z("ignoredError",null,{numberStoredAsText:1,sqref:l}))),d.length>0&&(_=de(n,-1,"../drawings/drawing"+(e+1)+".xml",he.DRAW),a[a.length]=z("drawing",null,{"r:id":"rId"+_}),o["!drawing"]=d),o["!comments"].length>0&&(_=de(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",he.VML),a[a.length]=z("legacyDrawing",null,{"r:id":"rId"+_}),o["!legacy"]=_),a.length>1&&(a[a.length]="</worksheet>",a[1]=a[1].replace("/>",">")),a.join("")}function jc(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=n,i&7&&(r.level=i&7),i&16&&(r.hidden=!0),i&32&&(r.hpt=a/20),r}function Kc(e,t,r){var n=B(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var i=320;a.hpx?i=n0(a.hpx)*20:a.hpt&&(i=a.hpt*20),n.write_shift(2,i),n.write_shift(1,0);var s=0;a.level&&(s|=a.level),a.hidden&&(s|=16),(a.hpx||a.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var f=0,o=n.l;n.l+=4;for(var l={r:e,c:0},c=0;c<16;++c)if(!(t.s.c>c+1<<10||t.e.c<c<<10)){for(var d=-1,x=-1,v=c<<10;v<c+1<<10;++v){l.c=v;var _=Array.isArray(r)?(r[l.r]||[])[l.c]:r[me(l)];_&&(d<0&&(d=v),x=v)}d<0||(++f,n.write_shift(4,d),n.write_shift(4,x))}var u=n.l;return n.l=o,n.write_shift(4,f),n.l=u,n.length>n.l?n.slice(0,n.l):n}function zc(e,t,r,n){var a=Kc(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&W(e,0,a)}var Yc=$r,$c=ot;function Jc(){}function Zc(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=sf(e),r}function qc(e,t,r){r==null&&(r=B(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return Qt({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),Ia(e,r),r.slice(0,r.l)}function Qc(e){var t=or(e);return[t]}function e1(e,t,r){return r==null&&(r=B(8)),Kr(t,r)}function r1(e){var t=zr(e);return[t]}function t1(e,t,r){return r==null&&(r=B(4)),Yr(t,r)}function n1(e){var t=or(e),r=e.read_shift(1);return[t,r,"b"]}function a1(e,t,r){return r==null&&(r=B(9)),Kr(t,r),r.write_shift(1,e.v?1:0),r}function i1(e){var t=zr(e),r=e.read_shift(1);return[t,r,"b"]}function s1(e,t,r){return r==null&&(r=B(5)),Yr(t,r),r.write_shift(1,e.v?1:0),r}function f1(e){var t=or(e),r=e.read_shift(1);return[t,r,"e"]}function l1(e,t,r){return r==null&&(r=B(9)),Kr(t,r),r.write_shift(1,e.v),r}function o1(e){var t=zr(e),r=e.read_shift(1);return[t,r,"e"]}function c1(e,t,r){return r==null&&(r=B(8)),Yr(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function h1(e){var t=or(e),r=e.read_shift(4);return[t,r,"s"]}function u1(e,t,r){return r==null&&(r=B(12)),Kr(t,r),r.write_shift(4,t.v),r}function x1(e){var t=zr(e),r=e.read_shift(4);return[t,r,"s"]}function v1(e,t,r){return r==null&&(r=B(8)),Yr(t,r),r.write_shift(4,t.v),r}function d1(e){var t=or(e),r=ct(e);return[t,r,"n"]}function p1(e,t,r){return r==null&&(r=B(16)),Kr(t,r),Vr(e.v,r),r}function m1(e){var t=zr(e),r=ct(e);return[t,r,"n"]}function g1(e,t,r){return r==null&&(r=B(12)),Yr(t,r),Vr(e.v,r),r}function _1(e){var t=or(e),r=Na(e);return[t,r,"n"]}function T1(e,t,r){return r==null&&(r=B(12)),Kr(t,r),ka(e.v,r),r}function E1(e){var t=zr(e),r=Na(e);return[t,r,"n"]}function w1(e,t,r){return r==null&&(r=B(8)),Yr(t,r),ka(e.v,r),r}function S1(e){var t=or(e),r=H0(e);return[t,r,"is"]}function A1(e){var t=or(e),r=je(e);return[t,r,"str"]}function F1(e,t,r){return r==null&&(r=B(12+4*e.v.length)),Kr(t,r),Le(e.v,r),r.length>r.l?r.slice(0,r.l):r}function y1(e){var t=zr(e),r=je(e);return[t,r,"str"]}function C1(e,t,r){return r==null&&(r=B(8+4*e.v.length)),Yr(t,r),Le(e.v,r),r.length>r.l?r.slice(0,r.l):r}function O1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"b"];if(r.cellFormula){e.l+=2;var f=u0(e,n-e.l,r);s[3]=st(f,null,a,r.supbooks,r)}else e.l=n;return s}function D1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"e"];if(r.cellFormula){e.l+=2;var f=u0(e,n-e.l,r);s[3]=st(f,null,a,r.supbooks,r)}else e.l=n;return s}function R1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=ct(e),s=[a,i,"n"];if(r.cellFormula){e.l+=2;var f=u0(e,n-e.l,r);s[3]=st(f,null,a,r.supbooks,r)}else e.l=n;return s}function I1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=je(e),s=[a,i,"str"];if(r.cellFormula){e.l+=2;var f=u0(e,n-e.l,r);s[3]=st(f,null,a,r.supbooks,r)}else e.l=n;return s}var N1=$r,k1=ot;function P1(e,t){return t==null&&(t=B(4)),t.write_shift(4,e),t}function L1(e,t){var r=e.l+t,n=$r(e),a=G0(e),i=je(e),s=je(e),f=je(e);e.l=r;var o={rfx:n,relId:a,loc:i,display:f};return s&&(o.Tooltip=s),o}function M1(e,t){var r=B(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));ot({s:Pe(e[0]),e:Pe(e[0])},r),V0("rId"+t,r);var n=e[1].Target.indexOf("#"),a=n==-1?"":e[1].Target.slice(n+1);return Le(a||"",r),Le(e[1].Tooltip||"",r),Le("",r),r.slice(0,r.l)}function B1(){}function U1(e,t,r){var n=e.l+t,a=Pa(e),i=e.read_shift(1),s=[a];if(s[2]=i,r.cellFormula){var f=yc(e,n-e.l,r);s[1]=f}else e.l=n;return s}function b1(e,t,r){var n=e.l+t,a=$r(e),i=[a];if(r.cellFormula){var s=Oc(e,n-e.l,r);i[1]=s,e.l=n}else e.l=n;return i}function W1(e,t,r){r==null&&(r=B(18));var n=x0(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(n.width||10)*256),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),typeof n.width=="number"&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}var mi=["left","right","top","bottom","header","footer"];function H1(e){var t={};return mi.forEach(function(r){t[r]=ct(e)}),t}function G1(e,t){return t==null&&(t=B(6*8)),di(e),mi.forEach(function(r){Vr(e[r],t)}),t}function V1(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function X1(e,t,r){r==null&&(r=B(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function j1(e){var t=B(24);return t.write_shift(4,4),t.write_shift(4,1),ot(e,t),t}function K1(e,t){return t==null&&(t=B(16*4+2)),t.write_shift(2,e.password?qa(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function z1(){}function Y1(){}function $1(e,t,r,n,a,i,s){if(t.v===void 0)return!1;var f="";switch(t.t){case"b":f=t.v?"1":"0";break;case"d":t=qe(t),t.z=t.z||ye[14],t.v=Ze($e(t.v)),t.t="n";break;case"n":case"e":f=""+t.v;break;default:f=t.v;break}var o={r,c:n};switch(o.s=Mr(a.cellXfs,t,a),t.l&&i["!links"].push([me(o),t.l]),t.c&&i["!comments"].push([me(o),t.c]),t.t){case"s":case"str":return a.bookSST?(f=$0(a.Strings,t.v,a.revStrings),o.t="s",o.v=f,s?W(e,18,v1(t,o)):W(e,7,u1(t,o))):(o.t="str",s?W(e,17,C1(t,o)):W(e,6,F1(t,o))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?s?W(e,13,w1(t,o)):W(e,2,T1(t,o)):s?W(e,16,g1(t,o)):W(e,5,p1(t,o)),!0;case"b":return o.t="b",s?W(e,15,s1(t,o)):W(e,4,a1(t,o)),!0;case"e":return o.t="e",s?W(e,14,c1(t,o)):W(e,3,l1(t,o)),!0}return s?W(e,12,t1(t,o)):W(e,1,e1(t,o)),!0}function J1(e,t,r,n){var a=Ee(t["!ref"]||"A1"),i,s="",f=[];W(e,145);var o=Array.isArray(t),l=a.e.r;t["!rows"]&&(l=Math.max(a.e.r,t["!rows"].length-1));for(var c=a.s.r;c<=l;++c){s=He(c),zc(e,t,a,c);var d=!1;if(c<=a.e.r)for(var x=a.s.c;x<=a.e.c;++x){c===a.s.r&&(f[x]=Xe(x)),i=f[x]+s;var v=o?(t[c]||[])[x]:t[i];if(!v){d=!1;continue}d=$1(e,v,c,x,n,t,d)}}W(e,146)}function Z1(e,t){!t||!t["!merges"]||(W(e,177,P1(t["!merges"].length)),t["!merges"].forEach(function(r){W(e,176,k1(r))}),W(e,178))}function q1(e,t){!t||!t["!cols"]||(W(e,390),t["!cols"].forEach(function(r,n){r&&W(e,60,W1(n,r))}),W(e,391))}function Q1(e,t){!t||!t["!ref"]||(W(e,648),W(e,649,j1(Ee(t["!ref"]))),W(e,650))}function eh(e,t,r){t["!links"].forEach(function(n){if(n[1].Target){var a=de(r,-1,n[1].Target.replace(/#.*$/,""),he.HLINK);W(e,494,M1(n,a))}}),delete t["!links"]}function rh(e,t,r,n){if(t["!comments"].length>0){var a=de(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",he.VML);W(e,551,V0("rId"+a)),t["!legacy"]=a}}function th(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],i=typeof a.ref=="string"?a.ref:De(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,f=ar(i);f.s.r==f.e.r&&(f.e.r=ar(t["!ref"]).e.r,i=De(f));for(var o=0;o<s.length;++o){var l=s[o];if(l.Name=="_xlnm._FilterDatabase"&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+i;break}}o==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+i}),W(e,161,ot(Ee(i))),W(e,162)}}function nh(e,t,r){W(e,133),W(e,137,X1(t,r)),W(e,138),W(e,134)}function ah(e,t){t["!protect"]&&W(e,535,K1(t["!protect"]))}function ih(e,t,r,n){var a=Je(),i=r.SheetNames[e],s=r.Sheets[i]||{},f=i;try{r&&r.Workbook&&(f=r.Workbook.Sheets[e].CodeName||f)}catch{}var o=Ee(s["!ref"]||"A1");if(o.e.c>16383||o.e.r>1048575){if(t.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383),o.e.r=Math.min(o.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],W(a,129),(r.vbaraw||s["!outline"])&&W(a,147,qc(f,s["!outline"])),W(a,148,$c(o)),nh(a,s,r.Workbook),q1(a,s),J1(a,s,e,t),ah(a,s),th(a,s,r,e),Z1(a,s),eh(a,s,n),s["!margins"]&&W(a,476,G1(s["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&Q1(a,s),rh(a,s,e,n),W(a,130),a.end()}function sh(e,t){e.l+=10;var r=je(e);return{name:r}}var fh=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function lh(e){return!e.Workbook||!e.Workbook.WBProps?"false":Bs(e.Workbook.WBProps.date1904)?"true":"false"}var oh="][*?/\\".split("");function gi(e,t){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");var r=!0;return oh.forEach(function(n){if(e.indexOf(n)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),r}function ch(e,t,r){e.forEach(function(n,a){gi(n);for(var i=0;i<a;++i)if(n==e[i])throw new Error("Duplicate Sheet Name: "+n);if(r){var s=t[a]&&t[a].CodeName||n;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function hh(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];ch(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)kc(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}function _i(e){var t=[Re];t[t.length]=z("workbook",null,{xmlns:ft[0],"xmlns:r":ke.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(fh.forEach(function(f){e.Workbook.WBProps[f[0]]!=null&&e.Workbook.WBProps[f[0]]!=f[1]&&(n[f[0]]=e.Workbook.WBProps[f[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=z("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],i=0;if(a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",i=0;i!=e.SheetNames.length&&!(!a[i]||!a[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",i=0;i!=e.SheetNames.length;++i){var s={name:pe(e.SheetNames[i].slice(0,31))};if(s.sheetId=""+(i+1),s["r:id"]="rId"+(i+1),a[i])switch(a[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}t[t.length]=z("sheet",null,s)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(f){var o={name:f.Name};f.Comment&&(o.comment=f.Comment),f.Sheet!=null&&(o.localSheetId=""+f.Sheet),f.Hidden&&(o.hidden="1"),f.Ref&&(t[t.length]=z("definedName",pe(f.Ref),o))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function uh(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=D0(e),r.name=je(e),r}function xh(e,t){return t||(t=B(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),V0(e.strRelID,t),Le(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function vh(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?je(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function dh(e,t){t||(t=B(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),Ia(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function ph(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),i=ff(e),s=Cc(e,0,r),f=G0(e);e.l=n;var o={Name:i,Ptg:s};return a<268435455&&(o.Sheet=a),f&&(o.Comment=f),o}function mh(e,t){W(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,a={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};W(e,156,xh(a))}W(e,144)}function gh(e,t){t||(t=B(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return Le("SheetJS",t),Le(Kt.version,t),Le(Kt.version,t),Le("7262",t),t.length>t.l?t.slice(0,t.l):t}function _h(e,t){t||(t=B(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function Th(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,n=0,a=-1,i=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&a==-1?a=n:r[n].Hidden==1&&i==-1&&(i=n);i>a||(W(e,135),W(e,158,_h(a)),W(e,136))}}function Eh(e,t){var r=Je();return W(r,131),W(r,128,gh()),W(r,153,dh(e.Workbook&&e.Workbook.WBProps||null)),Th(r,e),mh(r,e),W(r,132),r.end()}function wh(e,t,r){return(t.slice(-4)===".bin"?Eh:_i)(e)}function Sh(e,t,r,n,a){return(t.slice(-4)===".bin"?ih:pi)(e,r,n,a)}function Ah(e,t,r){return(t.slice(-4)===".bin"?Hl:ri)(e,r)}function Fh(e,t,r){return(t.slice(-4)===".bin"?vl:Za)(e,r)}function yh(e,t,r){return(t.slice(-4)===".bin"?no:si)(e)}function Ch(e){return(e.slice(-4)===".bin"?$l:ai)()}function Oh(e,t){var r=[];return e.Props&&r.push(Sf(e.Props,t)),e.Custprops&&r.push(Af(e.Props,e.Custprops)),r.join("")}function Dh(){return""}function Rh(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(n,a){var i=[];i.push(z("NumberFormat",null,{"ss:Format":pe(ye[n.numFmtId])}));var s={"ss:ID":"s"+(21+a)};r.push(z("Style",i.join(""),s))}),z("Styles",r.join(""))}function Ti(e){return z("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+z0(e.Ref,{r:0,c:0})})}function Ih(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];a.Sheet==null&&(a.Name.match(/^_xlfn\./)||r.push(Ti(a)))}return z("Names",r.join(""))}function Nh(e,t,r,n){if(!e||!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,i=[],s=0;s<a.length;++s){var f=a[s];f.Sheet==r&&(f.Name.match(/^_xlfn\./)||i.push(Ti(f)))}return i.join("")}function kh(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(z("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(z("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(z("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(z("Visible",n.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<r&&!(n.Workbook.Sheets[i]&&!n.Workbook.Sheets[i].Hidden);++i);i==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(We("ProtectContents","True")),e["!protect"].objects&&a.push(We("ProtectObjects","True")),e["!protect"].scenarios&&a.push(We("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?a.push(We("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&a.push(We("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&a.push("<"+s[1]+"/>")})),a.length==0?"":z("WorksheetOptions",a.join(""),{xmlns:tr.x})}function Ph(e){return e.map(function(t){var r=Ms(t.t||""),n=z("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return z("Comment",n,{"ss:Author":t.a})}).join("")}function Lh(e,t,r,n,a,i,s){if(!e||e.v==null&&e.f==null)return"";var f={};if(e.f&&(f["ss:Formula"]="="+pe(z0(e.f,s))),e.F&&e.F.slice(0,t.length)==t){var o=Pe(e.F.slice(t.length+1));f["ss:ArrayRange"]="RC:R"+(o.r==s.r?"":"["+(o.r-s.r)+"]")+"C"+(o.c==s.c?"":"["+(o.c-s.c)+"]")}if(e.l&&e.l.Target&&(f["ss:HRef"]=pe(e.l.Target),e.l.Tooltip&&(f["x:HRefScreenTip"]=pe(e.l.Tooltip))),r["!merges"])for(var l=r["!merges"],c=0;c!=l.length;++c)l[c].s.c!=s.c||l[c].s.r!=s.r||(l[c].e.c>l[c].s.c&&(f["ss:MergeAcross"]=l[c].e.c-l[c].s.c),l[c].e.r>l[c].s.r&&(f["ss:MergeDown"]=l[c].e.r-l[c].s.r));var d="",x="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":d="Number",x=String(e.v);break;case"b":d="Boolean",x=e.v?"1":"0";break;case"e":d="Error",x=Nt[e.v];break;case"d":d="DateTime",x=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||ye[14]);break;case"s":d="String",x=Ls(e.v||"");break}var v=Mr(n.cellXfs,e,n);f["ss:StyleID"]="s"+(21+v),f["ss:Index"]=s.c+1;var _=e.v!=null?x:"",u=e.t=="z"?"":'<Data ss:Type="'+d+'">'+_+"</Data>";return(e.c||[]).length>0&&(u+=Ph(e.c)),z("Cell",u,f)}function Mh(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=ei(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Bh(e,t,r,n){if(!e["!ref"])return"";var a=Ee(e["!ref"]),i=e["!merges"]||[],s=0,f=[];e["!cols"]&&e["!cols"].forEach(function(g,C){j0(g);var O=!!g.width,y=x0(C,g),M={"ss:Index":C+1};O&&(M["ss:Width"]=r0(y.width)),g.hidden&&(M["ss:Hidden"]="1"),f.push(z("Column",null,M))});for(var o=Array.isArray(e),l=a.s.r;l<=a.e.r;++l){for(var c=[Mh(l,(e["!rows"]||[])[l])],d=a.s.c;d<=a.e.c;++d){var x=!1;for(s=0;s!=i.length;++s)if(!(i[s].s.c>d)&&!(i[s].s.r>l)&&!(i[s].e.c<d)&&!(i[s].e.r<l)){(i[s].s.c!=d||i[s].s.r!=l)&&(x=!0);break}if(!x){var v={r:l,c:d},_=me(v),u=o?(e[l]||[])[d]:e[_];c.push(Lh(u,_,e,t,r,n,v))}}c.push("</Row>"),c.length>2&&f.push(c.join(""))}return f.join("")}function Uh(e,t,r){var n=[],a=r.SheetNames[e],i=r.Sheets[a],s=i?Nh(i,t,e,r):"";return s.length>0&&n.push("<Names>"+s+"</Names>"),s=i?Bh(i,t,e,r):"",s.length>0&&n.push("<Table>"+s+"</Table>"),n.push(kh(i,t,e,r)),n.join("")}function bh(e,t){t||(t={}),e.SSF||(e.SSF=qe(ye)),e.SSF&&(l0(),f0(e.SSF),t.revssf=o0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Mr(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Oh(e,t)),r.push(Dh()),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(z("Worksheet",Uh(n,t,e),{"ss:Name":pe(e.SheetNames[n])}));return r[2]=Rh(e,t),r[3]=Ih(e),Re+z("Workbook",r.join(""),{xmlns:tr.ss,"xmlns:o":tr.o,"xmlns:x":tr.x,"xmlns:ss":tr.ss,"xmlns:dt":tr.dt,"xmlns:html":tr.html})}var A0={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Wh(e,t){var r=[],n=[],a=[],i=0,s,f=_n(Nn,"n"),o=_n(kn,"n");if(e.Props)for(s=Ge(e.Props),i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(f,s[i])?r:Object.prototype.hasOwnProperty.call(o,s[i])?n:a).push([s[i],e.Props[s[i]]]);if(e.Custprops)for(s=Ge(e.Custprops),i=0;i<s.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},s[i])||(Object.prototype.hasOwnProperty.call(f,s[i])?r:Object.prototype.hasOwnProperty.call(o,s[i])?n:a).push([s[i],e.Custprops[s[i]]]);var l=[];for(i=0;i<a.length;++i)Xa.indexOf(a[i][0])>-1||Ha.indexOf(a[i][0])>-1||a[i][1]!=null&&l.push(a[i]);n.length&&_e.utils.cfb_add(t,"/SummaryInformation",Un(n,A0.SI,o,kn)),(r.length||l.length)&&_e.utils.cfb_add(t,"/DocumentSummaryInformation",Un(r,A0.DSI,f,Nn,l.length?l:null,A0.UDI))}function Hh(e,t){var r=t,n=_e.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return _e.utils.cfb_add(n,a,Ei(e,r)),r.biff==8&&(e.Props||e.Custprops)&&Wh(e,n),r.biff==8&&e.vbaraw&&ao(n,_e.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var Gh={0:{f:jc},1:{f:Qc},2:{f:_1},3:{f:f1},4:{f:n1},5:{f:d1},6:{f:A1},7:{f:h1},8:{f:I1},9:{f:R1},10:{f:O1},11:{f:D1},12:{f:r1},13:{f:E1},14:{f:o1},15:{f:i1},16:{f:m1},17:{f:y1},18:{f:x1},19:{f:H0},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:ph},40:{},42:{},43:{f:Sl},44:{f:El},45:{f:yl},46:{f:Ol},47:{f:Cl},48:{},49:{f:Qs},50:{},51:{f:Xl},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:rl},62:{f:S1},63:{f:Jl},64:{f:z1},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Tr,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:V1},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:Zc},148:{f:Yc,p:16},151:{f:B1},152:{},153:{f:vh},154:{},155:{},156:{f:uh},157:{},158:{},159:{T:1,f:hl},160:{T:-1},161:{T:1,f:$r},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:N1},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:Gl},336:{T:-1},337:{f:zl,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:D0},357:{},358:{},359:{},360:{T:1},361:{},362:{f:$f},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:U1},427:{f:b1},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:H1},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Jc},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:L1},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:D0},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:ro},633:{T:1},634:{T:-1},635:{T:1,f:Ql},636:{T:-1},637:{f:nf},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:sh},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:Y1},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function J(e,t,r,n){var a=t;if(!isNaN(a)){var i=n||(r||[]).length||0,s=e.next(4);s.write_shift(2,a),s.write_shift(2,i),i>0&&U0(r)&&e.push(r)}}function Vh(e,t,r,n){var a=(r||[]).length||0;if(a<=8224)return J(e,t,r,a);var i=t;if(!isNaN(i)){for(var s=r.parts||[],f=0,o=0,l=0;l+(s[f]||8224)<=8224;)l+=s[f]||8224,f++;var c=e.next(4);for(c.write_shift(2,i),c.write_shift(2,l),e.push(r.slice(o,o+l)),o+=l;o<a;){for(c=e.next(4),c.write_shift(2,60),l=0;l+(s[f]||8224)<=8224;)l+=s[f]||8224,f++;c.write_shift(2,l),e.push(r.slice(o,o+l)),o+=l}}}function Pt(e,t,r){return e||(e=B(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function Xh(e,t,r,n){var a=B(9);return Pt(a,e,t),Ka(r,n||"b",a),a}function jh(e,t,r){var n=B(8+2*r.length);return Pt(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}function Kh(e,t,r,n){if(t.v!=null)switch(t.t){case"d":case"n":var a=t.t=="d"?Ze($e(t.v)):t.v;a==(a|0)&&a>=0&&a<65536?J(e,2,il(r,n,a)):J(e,3,al(r,n,a));return;case"b":case"e":J(e,5,Xh(r,n,t.v,t.t));return;case"s":case"str":J(e,4,jh(r,n,(t.v||"").slice(0,255)));return}J(e,1,Pt(null,r,n))}function zh(e,t,r,n){var a=Array.isArray(t),i=Ee(t["!ref"]||"A1"),s,f="",o=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),s=De(i)}for(var l=i.s.r;l<=i.e.r;++l){f=He(l);for(var c=i.s.c;c<=i.e.c;++c){l===i.s.r&&(o[c]=Xe(c)),s=o[c]+f;var d=a?(t[l]||[])[c]:t[s];d&&Kh(e,d,l,c)}}}function Yh(e,t){for(var r=t||{},n=Je(),a=0,i=0;i<e.SheetNames.length;++i)e.SheetNames[i]==r.sheet&&(a=i);if(a==0&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return J(n,r.biff==4?1033:r.biff==3?521:9,X0(e,16,r)),zh(n,e.Sheets[e.SheetNames[a]],a,r),J(n,10),n.end()}function $h(e,t,r){J(e,49,Hf({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function Jh(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&J(e,1054,Xf(a,t[a],r))})}function Zh(e,t){var r=B(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),J(e,2151,r),r=B(39),r.write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),$a(Ee(t["!ref"]||"A1"),r),r.write_shift(4,4),J(e,2152,r)}function qh(e,t){for(var r=0;r<16;++r)J(e,224,Wn({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){J(e,224,Wn(n,0,t))})}function Qh(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];J(e,440,qf(n)),n[1].Tooltip&&J(e,2048,Qf(n))}delete t["!links"]}function eu(e,t){if(t){var r=0;t.forEach(function(n,a){++r<=256&&n&&J(e,125,tl(x0(a,n),a))})}}function ru(e,t,r,n,a){var i=16+Mr(a.cellXfs,t,a);if(t.v==null&&!t.bf){J(e,513,Xr(r,n,i));return}if(t.bf)J(e,6,Fc(t,r,n,a,i));else switch(t.t){case"d":case"n":var s=t.t=="d"?Ze($e(t.v)):t.v;J(e,515,Yf(r,n,s,i));break;case"b":case"e":J(e,517,zf(r,n,t.v,i,a,t.t));break;case"s":case"str":if(a.bookSST){var f=$0(a.Strings,t.v,a.revStrings);J(e,253,Gf(r,n,f,i))}else J(e,516,Vf(r,n,(t.v||"").slice(0,255),i,a));break;default:J(e,513,Xr(r,n,i))}}function tu(e,t,r){var n=Je(),a=r.SheetNames[e],i=r.Sheets[a]||{},s=(r||{}).Workbook||{},f=(s.Sheets||[])[e]||{},o=Array.isArray(i),l=t.biff==8,c,d="",x=[],v=Ee(i["!ref"]||"A1"),_=l?65536:16384;if(v.e.c>255||v.e.r>=_){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");v.e.c=Math.min(v.e.c,255),v.e.r=Math.min(v.e.c,_-1)}J(n,2057,X0(r,16,t)),J(n,13,lr(1)),J(n,12,lr(100)),J(n,15,Ye(!0)),J(n,17,Ye(!1)),J(n,16,Vr(.001)),J(n,95,Ye(!0)),J(n,42,Ye(!1)),J(n,43,Ye(!1)),J(n,130,lr(1)),J(n,128,Kf()),J(n,131,Ye(!1)),J(n,132,Ye(!1)),l&&eu(n,i["!cols"]),J(n,512,jf(v,t)),l&&(i["!links"]=[]);for(var u=v.s.r;u<=v.e.r;++u){d=He(u);for(var g=v.s.c;g<=v.e.c;++g){u===v.s.r&&(x[g]=Xe(g)),c=x[g]+d;var C=o?(i[u]||[])[g]:i[c];C&&(ru(n,C,u,g,t),l&&C.l&&i["!links"].push([c,C.l]))}}var O=f.CodeName||f.name||a;return l&&J(n,574,Wf((s.Views||[])[0])),l&&(i["!merges"]||[]).length&&J(n,229,Zf(i["!merges"])),l&&Qh(n,i),J(n,442,Ya(O)),l&&Zh(n,i),J(n,10),n.end()}function nu(e,t,r){var n=Je(),a=(e||{}).Workbook||{},i=a.Sheets||[],s=a.WBProps||{},f=r.biff==8,o=r.biff==5;if(J(n,2057,X0(e,5,r)),r.bookType=="xla"&&J(n,135),J(n,225,f?lr(1200):null),J(n,193,Cf(2)),o&&J(n,191),o&&J(n,192),J(n,226),J(n,92,Mf("SheetJS",r)),J(n,66,lr(f?1200:1252)),f&&J(n,353,lr(0)),f&&J(n,448),J(n,317,nl(e.SheetNames.length)),f&&e.vbaraw&&J(n,211),f&&e.vbaraw){var l=s.CodeName||"ThisWorkbook";J(n,442,Ya(l))}J(n,156,lr(17)),J(n,25,Ye(!1)),J(n,18,Ye(!1)),J(n,19,lr(0)),f&&J(n,431,Ye(!1)),f&&J(n,444,lr(0)),J(n,61,bf()),J(n,64,Ye(!1)),J(n,141,lr(0)),J(n,34,Ye(lh(e)=="true")),J(n,14,Ye(!0)),f&&J(n,439,Ye(!1)),J(n,218,lr(0)),$h(n,e,r),Jh(n,e.SSF,r),qh(n,r),f&&J(n,352,Ye(!1));var c=n.end(),d=Je();f&&J(d,140,el()),f&&r.Strings&&Vh(d,252,Uf(r.Strings)),J(d,10);var x=d.end(),v=Je(),_=0,u=0;for(u=0;u<e.SheetNames.length;++u)_+=(f?12:11)+(f?2:1)*e.SheetNames[u].length;var g=c.length+_+x.length;for(u=0;u<e.SheetNames.length;++u){var C=i[u]||{};J(v,133,Bf({pos:g,hs:C.Hidden||0,dt:0,name:e.SheetNames[u]},r)),g+=t[u].length}var O=v.end();if(_!=O.length)throw new Error("BS8 "+_+" != "+O.length);var y=[];return c.length&&y.push(c),O.length&&y.push(O),x.length&&y.push(x),be(y)}function au(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=qe(ye)),e&&e.SSF&&(l0(),f0(e.SSF),r.revssf=o0(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,J0(r),r.cellXfs=[],Mr(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=tu(a,r,e);return n.unshift(nu(e,n,r)),be(n)}function Ei(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(!(!n||!n["!ref"])){var a=ar(n["!ref"]);a.e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var i=t||{};switch(i.biff||2){case 8:case 5:return au(e,t);case 4:case 3:case 2:return Yh(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function iu(e,t,r,n){for(var a=e["!merges"]||[],i=[],s=t.s.c;s<=t.e.c;++s){for(var f=0,o=0,l=0;l<a.length;++l)if(!(a[l].s.r>r||a[l].s.c>s)&&!(a[l].e.r<r||a[l].e.c<s)){if(a[l].s.r<r||a[l].s.c<s){f=-1;break}f=a[l].e.r-a[l].s.r+1,o=a[l].e.c-a[l].s.c+1;break}if(!(f<0)){var c=me({r,c:s}),d=n.dense?(e[r]||[])[s]:e[c],x=d&&d.v!=null&&(d.h||Ps(d.w||(Or(d),d.w)||""))||"",v={};f>1&&(v.rowspan=f),o>1&&(v.colspan=o),n.editable?x='<span contenteditable="true">'+x+"</span>":d&&(v["data-t"]=d&&d.t||"z",d.v!=null&&(v["data-v"]=d.v),d.z!=null&&(v["data-z"]=d.z),d.l&&(d.l.Target||"#").charAt(0)!="#"&&(x='<a href="'+d.l.Target+'">'+x+"</a>")),v.id=(n.id||"sjs")+"-"+c,i.push(z("td",x,v))}}var _="<tr>";return _+i.join("")+"</tr>"}var su='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',fu="</body></html>";function lu(e,t,r){var n=[];return n.join("")+"<table"+(r.id?' id="'+r.id+'"':"")+">"}function wi(e,t){var r=t||{},n=r.header!=null?r.header:su,a=r.footer!=null?r.footer:fu,i=[n],s=ar(e["!ref"]);r.dense=Array.isArray(e),i.push(lu(e,s,r));for(var f=s.s.r;f<=s.e.r;++f)i.push(iu(e,s,f,r));return i.push("</table>"+a),i.join("")}function Si(e,t,r){var n=r||{},a=0,i=0;if(n.origin!=null)if(typeof n.origin=="number")a=n.origin;else{var s=typeof n.origin=="string"?Pe(n.origin):n.origin;a=s.r,i=s.c}var f=t.getElementsByTagName("tr"),o=Math.min(n.sheetRows||1e7,f.length),l={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var c=ar(e["!ref"]);l.s.r=Math.min(l.s.r,c.s.r),l.s.c=Math.min(l.s.c,c.s.c),l.e.r=Math.max(l.e.r,c.e.r),l.e.c=Math.max(l.e.c,c.e.c),a==-1&&(l.e.r=a=c.e.r+1)}var d=[],x=0,v=e["!rows"]||(e["!rows"]=[]),_=0,u=0,g=0,C=0,O=0,y=0;for(e["!cols"]||(e["!cols"]=[]);_<f.length&&u<o;++_){var M=f[_];if(zn(M)){if(n.display)continue;v[u]={hidden:!0}}var Y=M.children;for(g=C=0;g<Y.length;++g){var ee=Y[g];if(!(n.display&&zn(ee))){var D=ee.hasAttribute("data-v")?ee.getAttribute("data-v"):ee.hasAttribute("v")?ee.getAttribute("v"):Us(ee.innerHTML),b=ee.getAttribute("data-z")||ee.getAttribute("z");for(x=0;x<d.length;++x){var L=d[x];L.s.c==C+i&&L.s.r<u+a&&u+a<=L.e.r&&(C=L.e.c+1-i,x=-1)}y=+ee.getAttribute("colspan")||1,((O=+ee.getAttribute("rowspan")||1)>1||y>1)&&d.push({s:{r:u+a,c:C+i},e:{r:u+a+(O||1)-1,c:C+i+(y||1)-1}});var G={t:"s",v:D},V=ee.getAttribute("data-t")||ee.getAttribute("t")||"";D!=null&&(D.length==0?G.t=V||"z":n.raw||D.trim().length==0||V=="s"||(D==="TRUE"?G={t:"b",v:!0}:D==="FALSE"?G={t:"b",v:!1}:isNaN(Fr(D))?isNaN(At(D).getDate())||(G={t:"d",v:$e(D)},n.cellDates||(G={t:"n",v:Ze(G.v)}),G.z=n.dateNF||ye[14]):G={t:"n",v:Fr(D)})),G.z===void 0&&b!=null&&(G.z=b);var j="",re=ee.getElementsByTagName("A");if(re&&re.length)for(var ge=0;ge<re.length&&!(re[ge].hasAttribute("href")&&(j=re[ge].getAttribute("href"),j.charAt(0)!="#"));++ge);j&&j.charAt(0)!="#"&&(G.l={Target:j}),n.dense?(e[u+a]||(e[u+a]=[]),e[u+a][C+i]=G):e[me({c:C+i,r:u+a})]=G,l.e.c<C+i&&(l.e.c=C+i),C+=y}}++u}return d.length&&(e["!merges"]=(e["!merges"]||[]).concat(d)),l.e.r=Math.max(l.e.r,u-1+a),e["!ref"]=De(l),u>=o&&(e["!fullref"]=De((l.e.r=f.length-_+u-1+a,l))),e}function Ai(e,t){var r=t||{},n=r.dense?[]:{};return Si(n,e,t)}function ou(e,t){return jr(Ai(e,t),t)}function zn(e){var t="",r=cu(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function cu(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var hu=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+yt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return Re+t}}(),Yn=function(){var e=function(i){return pe(i).replace(/ +/g,function(s){return'<text:s text:c="'+s.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=` <table:table-cell /> -`,r=` <table:covered-table-cell/> -`,n=function(i,s,f){var o=[];o.push(' <table:table table:name="'+pe(s.SheetNames[f])+`" table:style-name="ta1"> -`);var l=0,c=0,d=ar(i["!ref"]||"A1"),x=i["!merges"]||[],v=0,_=Array.isArray(i);if(i["!cols"])for(c=0;c<=d.e.c;++c)o.push(" <table:table-column"+(i["!cols"][c]?' table:style-name="co'+i["!cols"][c].ods+'"':"")+`></table:table-column> -`);var u="",g=i["!rows"]||[];for(l=0;l<d.s.r;++l)u=g[l]?' table:style-name="ro'+g[l].ods+'"':"",o.push(" <table:table-row"+u+`></table:table-row> -`);for(;l<=d.e.r;++l){for(u=g[l]?' table:style-name="ro'+g[l].ods+'"':"",o.push(" <table:table-row"+u+`> -`),c=0;c<d.s.c;++c)o.push(t);for(;c<=d.e.c;++c){var C=!1,O={},y="";for(v=0;v!=x.length;++v)if(!(x[v].s.c>c)&&!(x[v].s.r>l)&&!(x[v].e.c<c)&&!(x[v].e.r<l)){(x[v].s.c!=c||x[v].s.r!=l)&&(C=!0),O["table:number-columns-spanned"]=x[v].e.c-x[v].s.c+1,O["table:number-rows-spanned"]=x[v].e.r-x[v].s.r+1;break}if(C){o.push(r);continue}var M=me({r:l,c}),Y=_?(i[l]||[])[c]:i[M];if(Y&&Y.f&&(O["table:formula"]=pe(Ic(Y.f)),Y.F&&Y.F.slice(0,M.length)==M)){var ee=ar(Y.F);O["table:number-matrix-columns-spanned"]=ee.e.c-ee.s.c+1,O["table:number-matrix-rows-spanned"]=ee.e.r-ee.s.r+1}if(!Y){o.push(t);continue}switch(Y.t){case"b":y=Y.v?"TRUE":"FALSE",O["office:value-type"]="boolean",O["office:boolean-value"]=Y.v?"true":"false";break;case"n":y=Y.w||String(Y.v||0),O["office:value-type"]="float",O["office:value"]=Y.v||0;break;case"s":case"str":y=Y.v==null?"":Y.v,O["office:value-type"]="string";break;case"d":y=Y.w||$e(Y.v).toISOString(),O["office:value-type"]="date",O["office:date-value"]=$e(Y.v).toISOString(),O["table:style-name"]="ce1";break;default:o.push(t);continue}var D=e(y);if(Y.l&&Y.l.Target){var b=Y.l.Target;b=b.charAt(0)=="#"?"#"+Nc(b.slice(1)):b,b.charAt(0)!="#"&&!b.match(/^\w+:/)&&(b="../"+b),D=z("text:a",D,{"xlink:href":b.replace(/&/g,"&")})}o.push(" "+z("table:table-cell",z("text:p",D,{}),O)+` -`)}o.push(` </table:table-row> -`)}return o.push(` </table:table> -`),o.join("")},a=function(i,s){i.push(` <office:automatic-styles> -`),i.push(` <number:date-style style:name="N37" number:automatic-order="true"> -`),i.push(` <number:month number:style="long"/> -`),i.push(` <number:text>/</number:text> -`),i.push(` <number:day number:style="long"/> -`),i.push(` <number:text>/</number:text> -`),i.push(` <number:year/> -`),i.push(` </number:date-style> -`);var f=0;s.SheetNames.map(function(l){return s.Sheets[l]}).forEach(function(l){if(l&&l["!cols"]){for(var c=0;c<l["!cols"].length;++c)if(l["!cols"][c]){var d=l["!cols"][c];if(d.width==null&&d.wpx==null&&d.wch==null)continue;j0(d),d.ods=f;var x=l["!cols"][c].wpx+"px";i.push(' <style:style style:name="co'+f+`" style:family="table-column"> -`),i.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+x+`"/> -`),i.push(` </style:style> -`),++f}}});var o=0;s.SheetNames.map(function(l){return s.Sheets[l]}).forEach(function(l){if(l&&l["!rows"]){for(var c=0;c<l["!rows"].length;++c)if(l["!rows"][c]){l["!rows"][c].ods=o;var d=l["!rows"][c].hpx+"px";i.push(' <style:style style:name="ro'+o+`" style:family="table-row"> -`),i.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+d+`"/> -`),i.push(` </style:style> -`),++o}}}),i.push(` <style:style style:name="ta1" style:family="table" style:master-page-name="mp1"> -`),i.push(` <style:table-properties table:display="true" style:writing-mode="lr-tb"/> -`),i.push(` </style:style> -`),i.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/> -`),i.push(` </office:automatic-styles> -`)};return function(s,f){var o=[Re],l=yt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),c=yt({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});f.bookType=="fods"?(o.push("<office:document"+l+c+`> -`),o.push(ba().replace(/office:document-meta/g,"office:meta"))):o.push("<office:document-content"+l+`> -`),a(o,s),o.push(` <office:body> -`),o.push(` <office:spreadsheet> -`);for(var d=0;d!=s.SheetNames.length;++d)o.push(n(s.Sheets[s.SheetNames[d]],s,d));return o.push(` </office:spreadsheet> -`),o.push(` </office:body> -`),f.bookType=="fods"?o.push("</office:document>"):o.push("</office:document-content>"),o.join("")}}();function Fi(e,t){if(t.bookType=="fods")return Yn(e,t);var r=P0(),n="",a=[],i=[];return n="mimetype",oe(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",oe(r,n,Yn(e,t)),a.push([n,"text/xml"]),i.push([n,"ContentFile"]),n="styles.xml",oe(r,n,hu(e,t)),a.push([n,"text/xml"]),i.push([n,"StylesFile"]),n="meta.xml",oe(r,n,Re+ba()),a.push([n,"text/xml"]),i.push([n,"MetadataFile"]),n="manifest.rdf",oe(r,n,wf(i)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",oe(r,n,Tf(a)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function a0(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function uu(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):vr(Ft(e))}function xu(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}function Lr(e){var t=e.reduce(function(a,i){return a+i.length},0),r=new Uint8Array(t),n=0;return e.forEach(function(a){r.set(a,n),n+=a.length}),r}function vu(e,t,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(n&127)<<1;for(var i=0;a>=1;++i,a/=256)e[t+i]=a&255;e[t+15]|=r>=0?0:128}function Ct(e,t){var r=t?t[0]:0,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),n}function ve(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function it(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Ie(e){for(var t=[],r=[0];r[0]<e.length;){var n=r[0],a=Ct(e,r),i=a&7;a=Math.floor(a/8);var s=0,f;if(a==0)break;switch(i){case 0:{for(var o=r[0];e[r[0]++]>=128;);f=e.slice(o,r[0])}break;case 5:s=4,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=Ct(e,r),f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(a," at offset ").concat(n))}var l={data:f,type:i};t[a]==null?t[a]=[l]:t[a].push(l)}return t}function Be(e){var t=[];return e.forEach(function(r,n){r.forEach(function(a){a.data&&(t.push(ve(n*8+a.type)),a.type==2&&t.push(ve(a.data.length)),t.push(a.data))})}),Lr(t)}function hr(e){for(var t,r=[],n=[0];n[0]<e.length;){var a=Ct(e,n),i=Ie(e.slice(n[0],n[0]+a));n[0]+=a;var s={id:it(i[1][0].data),messages:[]};i[2].forEach(function(f){var o=Ie(f.data),l=it(o[3][0].data);s.messages.push({meta:o,data:e.slice(n[0],n[0]+l)}),n[0]+=l}),(t=i[3])!=null&&t[0]&&(s.merge=it(i[3][0].data)>>>0>0),r.push(s)}return r}function qr(e){var t=[];return e.forEach(function(r){var n=[];n[1]=[{data:ve(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:ve(+!!r.merge),type:0}]);var a=[];r.messages.forEach(function(s){a.push(s.data),s.meta[3]=[{type:0,data:ve(s.data.length)}],n[2].push({data:Be(s.meta),type:2})});var i=Be(n);t.push(ve(i.length)),t.push(i),a.forEach(function(s){return t.push(s)})}),Lr(t)}function du(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=Ct(t,r),a=[];r[0]<t.length;){var i=t[r[0]]&3;if(i==0){var s=t[r[0]++]>>2;if(s<60)++s;else{var f=s-59;s=t[r[0]],f>1&&(s|=t[r[0]+1]<<8),f>2&&(s|=t[r[0]+2]<<16),f>3&&(s|=t[r[0]+3]<<24),s>>>=0,s++,r[0]+=f}a.push(t.slice(r[0],r[0]+s)),r[0]+=s;continue}else{var o=0,l=0;if(i==1?(l=(t[r[0]]>>2&7)+4,o=(t[r[0]++]&224)<<3,o|=t[r[0]++]):(l=(t[r[0]++]>>2)+1,i==2?(o=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(o=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Lr(a)],o==0)throw new Error("Invalid offset 0");if(o>a[0].length)throw new Error("Invalid offset beyond length");if(l>=o)for(a.push(a[0].slice(-o)),l-=o;l>=a[a.length-1].length;)a.push(a[a.length-1]),l-=a[a.length-1].length;a.push(a[0].slice(-o,-o+l))}}var c=Lr(a);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function ur(e){for(var t=[],r=0;r<e.length;){var n=e[r++],a=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(du(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return Lr(t)}function Qr(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),a=new Uint8Array(4);t.push(a);var i=ve(n),s=i.length;t.push(i),n<=60?(s++,t.push(new Uint8Array([n-1<<2]))):n<=256?(s+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(s+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(s+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),s+=n,a[0]=0,a[1]=s&255,a[2]=s>>8&255,a[3]=s>>16&255,r+=n}return Lr(t)}function F0(e,t){var r=new Uint8Array(32),n=a0(r),a=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,vu(r,a,e.v),i|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),i|=2,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,i,!0),r.slice(0,a)}function y0(e,t){var r=new Uint8Array(32),n=a0(r),a=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),i|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),i|=32,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,i,!0),r.slice(0,a)}function Rr(e){var t=Ie(e);return Ct(t[1][0].data)}function pu(e,t,r){var n,a,i,s;if(!((n=e[6])!=null&&n[0])||!((a=e[7])!=null&&a[0]))throw"Mutation only works on post-BNC storages!";var f=((s=(i=e[8])==null?void 0:i[0])==null?void 0:s.data)&&it(e[8][0].data)>0||!1;if(f)throw"Math only works with normal offsets";for(var o=0,l=a0(e[7][0].data),c=0,d=[],x=a0(e[4][0].data),v=0,_=[],u=0;u<t.length;++u){if(t[u]==null){l.setUint16(u*2,65535,!0),x.setUint16(u*2,65535);continue}l.setUint16(u*2,c,!0),x.setUint16(u*2,v,!0);var g,C;switch(typeof t[u]){case"string":g=F0({t:"s",v:t[u]},r),C=y0({t:"s",v:t[u]},r);break;case"number":g=F0({t:"n",v:t[u]},r),C=y0({t:"n",v:t[u]},r);break;case"boolean":g=F0({t:"b",v:t[u]},r),C=y0({t:"b",v:t[u]},r);break;default:throw new Error("Unsupported value "+t[u])}d.push(g),c+=g.length,_.push(C),v+=C.length,++o}for(e[2][0].data=ve(o);u<e[7][0].data.length/2;++u)l.setUint16(u*2,65535,!0),x.setUint16(u*2,65535,!0);return e[6][0].data=Lr(d),e[3][0].data=Lr(_),o}function mu(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=ar(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(De(n)));var i=i0(r,{range:n,header:1}),s=["~Sh33tJ5~"];i.forEach(function(P){return P.forEach(function(F){typeof F=="string"&&s.push(F)})});var f={},o=[],l=_e.read(t.numbers,{type:"base64"});l.FileIndex.map(function(P,F){return[P,l.FullPaths[F]]}).forEach(function(P){var F=P[0],A=P[1];if(F.type==2&&F.name.match(/\.iwa/)){var H=F.content,ie=ur(H),se=hr(ie);se.forEach(function(ae){o.push(ae.id),f[ae.id]={deps:[],location:A,type:it(ae.messages[0].meta[1][0].data)}})}}),o.sort(function(P,F){return P-F});var c=o.filter(function(P){return P>1}).map(function(P){return[P,ve(P)]});l.FileIndex.map(function(P,F){return[P,l.FullPaths[F]]}).forEach(function(P){var F=P[0];if(P[1],!!F.name.match(/\.iwa/)){var A=hr(ur(F.content));A.forEach(function(H){H.messages.forEach(function(ie){c.forEach(function(se){H.messages.some(function(ae){return it(ae.meta[1][0].data)!=11006&&xu(ae.data,se[1])})&&f[se[0]].deps.push(H.id)})})})}});for(var d=_e.find(l,f[1].location),x=hr(ur(d.content)),v,_=0;_<x.length;++_){var u=x[_];u.id==1&&(v=u)}var g=Rr(Ie(v.messages[0].data)[1][0].data);for(d=_e.find(l,f[g].location),x=hr(ur(d.content)),_=0;_<x.length;++_)u=x[_],u.id==g&&(v=u);for(g=Rr(Ie(v.messages[0].data)[2][0].data),d=_e.find(l,f[g].location),x=hr(ur(d.content)),_=0;_<x.length;++_)u=x[_],u.id==g&&(v=u);for(g=Rr(Ie(v.messages[0].data)[2][0].data),d=_e.find(l,f[g].location),x=hr(ur(d.content)),_=0;_<x.length;++_)u=x[_],u.id==g&&(v=u);var C=Ie(v.messages[0].data);{C[6][0].data=ve(n.e.r+1),C[7][0].data=ve(n.e.c+1);var O=Rr(C[46][0].data),y=_e.find(l,f[O].location),M=hr(ur(y.content));{for(var Y=0;Y<M.length&&M[Y].id!=O;++Y);if(M[Y].id!=O)throw"Bad ColumnRowUIDMapArchive";var ee=Ie(M[Y].messages[0].data);ee[1]=[],ee[2]=[],ee[3]=[];for(var D=0;D<=n.e.c;++D){var b=[];b[1]=b[2]=[{type:0,data:ve(D+420690)}],ee[1].push({type:2,data:Be(b)}),ee[2].push({type:0,data:ve(D)}),ee[3].push({type:0,data:ve(D)})}ee[4]=[],ee[5]=[],ee[6]=[];for(var L=0;L<=n.e.r;++L)b=[],b[1]=b[2]=[{type:0,data:ve(L+726270)}],ee[4].push({type:2,data:Be(b)}),ee[5].push({type:0,data:ve(L)}),ee[6].push({type:0,data:ve(L)});M[Y].messages[0].data=Be(ee)}y.content=Qr(qr(M)),y.size=y.content.length,delete C[46];var G=Ie(C[4][0].data);{G[7][0].data=ve(n.e.r+1);var V=Ie(G[1][0].data),j=Rr(V[2][0].data);y=_e.find(l,f[j].location),M=hr(ur(y.content));{if(M[0].id!=j)throw"Bad HeaderStorageBucket";var re=Ie(M[0].messages[0].data);for(L=0;L<i.length;++L){var ge=Ie(re[2][0].data);ge[1][0].data=ve(L),ge[4][0].data=ve(i[L].length),re[2][L]={type:re[2][0].type,data:Be(ge)}}M[0].messages[0].data=Be(re)}y.content=Qr(qr(M)),y.size=y.content.length;var le=Rr(G[2][0].data);y=_e.find(l,f[le].location),M=hr(ur(y.content));{if(M[0].id!=le)throw"Bad HeaderStorageBucket";for(re=Ie(M[0].messages[0].data),D=0;D<=n.e.c;++D)ge=Ie(re[2][0].data),ge[1][0].data=ve(D),ge[4][0].data=ve(n.e.r+1),re[2][D]={type:re[2][0].type,data:Be(ge)};M[0].messages[0].data=Be(re)}y.content=Qr(qr(M)),y.size=y.content.length;var Me=Rr(G[4][0].data);(function(){for(var P=_e.find(l,f[Me].location),F=hr(ur(P.content)),A,H=0;H<F.length;++H){var ie=F[H];ie.id==Me&&(A=ie)}var se=Ie(A.messages[0].data);{se[3]=[];var ae=[];s.forEach(function(ce,Ke){ae[1]=[{type:0,data:ve(Ke)}],ae[2]=[{type:0,data:ve(1)}],ae[3]=[{type:2,data:uu(ce)}],se[3].push({type:2,data:Be(ae)})})}A.messages[0].data=Be(se);var q=qr(F),Te=Qr(q);P.content=Te,P.size=P.content.length})();var Ce=Ie(G[3][0].data);{var cr=Ce[1][0];delete Ce[2];var Ne=Ie(cr.data);{var ir=Rr(Ne[2][0].data);(function(){for(var P=_e.find(l,f[ir].location),F=hr(ur(P.content)),A,H=0;H<F.length;++H){var ie=F[H];ie.id==ir&&(A=ie)}var se=Ie(A.messages[0].data);{delete se[6],delete Ce[7];var ae=new Uint8Array(se[5][0].data);se[5]=[];for(var q=0,Te=0;Te<=n.e.r;++Te){var ce=Ie(ae);q+=pu(ce,i[Te],s),ce[1][0].data=ve(Te),se[5].push({data:Be(ce),type:2})}se[1]=[{type:0,data:ve(n.e.c+1)}],se[2]=[{type:0,data:ve(n.e.r+1)}],se[3]=[{type:0,data:ve(q)}],se[4]=[{type:0,data:ve(n.e.r+1)}]}A.messages[0].data=Be(se);var Ke=qr(F),xe=Qr(Ke);P.content=xe,P.size=P.content.length})()}cr.data=Be(Ne)}G[3][0].data=Be(Ce)}C[4][0].data=Be(G)}v.messages[0].data=Be(C);var Qe=qr(x),S=Qr(Qe);return d.content=S,d.size=d.content.length,l}function gu(e){return function(r){for(var n=0;n!=e.length;++n){var a=e[n];r[a[0]]===void 0&&(r[a[0]]=a[1]),a[2]==="n"&&(r[a[0]]=Number(r[a[0]]))}}}function J0(e){gu([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function _u(e,t){return t.bookType=="ods"?Fi(e,t):t.bookType=="numbers"?mu(e,t):t.bookType=="xlsb"?Tu(e,t):Eu(e,t)}function Tu(e,t){rt=1024,e&&!e.SSF&&(e.SSF=qe(ye)),e&&e.SSF&&(l0(),f0(e.SSF),t.revssf=o0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Et?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",n=fi.indexOf(t.bookType)>-1,a=Ma();J0(t=t||{});var i=P0(),s="",f=0;if(t.cellXfs=[],Mr(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",oe(i,s,Wa(e.Props,t)),a.coreprops.push(s),de(t.rels,2,s,he.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],l=0;l<e.SheetNames.length;++l)(e.Workbook.Sheets[l]||{}).Hidden!=2&&o.push(e.SheetNames[l]);e.Props.SheetNames=o}for(e.Props.Worksheets=e.Props.SheetNames.length,oe(i,s,Ga(e.Props)),a.extprops.push(s),de(t.rels,3,s,he.EXT_PROPS),e.Custprops!==e.Props&&Ge(e.Custprops||{}).length>0&&(s="docProps/custom.xml",oe(i,s,Va(e.Custprops)),a.custprops.push(s),de(t.rels,4,s,he.CUST_PROPS)),f=1;f<=e.SheetNames.length;++f){var c={"!id":{}},d=e.Sheets[e.SheetNames[f-1]],x=(d||{})["!type"]||"sheet";switch(x){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,oe(i,s,Sh(f-1,s,t,e,c)),a.sheets.push(s),de(t.wbrels,-1,"worksheets/sheet"+f+"."+r,he.WS[0])}if(d){var v=d["!comments"],_=!1,u="";v&&v.length>0&&(u="xl/comments"+f+"."+r,oe(i,u,yh(v,u)),a.comments.push(u),de(c,-1,"../comments"+f+"."+r,he.CMNT),_=!0),d["!legacy"]&&_&&oe(i,"xl/drawings/vmlDrawing"+f+".vml",ii(f,d["!comments"])),delete d["!comments"],delete d["!legacy"]}c["!id"].rId1&&oe(i,Ua(s),nt(c))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,oe(i,s,Fh(t.Strings,s,t)),a.strs.push(s),de(t.wbrels,-1,"sharedStrings."+r,he.SST)),s="xl/workbook."+r,oe(i,s,wh(e,s)),a.workbooks.push(s),de(t.rels,1,s,he.WB),s="xl/theme/theme1.xml",oe(i,s,ni(e.Themes,t)),a.themes.push(s),de(t.wbrels,-1,"theme/theme1.xml",he.THEME),s="xl/styles."+r,oe(i,s,Ah(e,s,t)),a.styles.push(s),de(t.wbrels,-1,"styles."+r,he.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",oe(i,s,e.vbaraw),a.vba.push(s),de(t.wbrels,-1,"vbaProject.bin",he.VBA)),s="xl/metadata."+r,oe(i,s,Ch(s)),a.metadata.push(s),de(t.wbrels,-1,"metadata."+r,he.XLMETA),oe(i,"[Content_Types].xml",Ba(a,t)),oe(i,"_rels/.rels",nt(t.rels)),oe(i,"xl/_rels/workbook."+r+".rels",nt(t.wbrels)),delete t.revssf,delete t.ssf,i}function Eu(e,t){rt=1024,e&&!e.SSF&&(e.SSF=qe(ye)),e&&e.SSF&&(l0(),f0(e.SSF),t.revssf=o0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Et?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=fi.indexOf(t.bookType)>-1,a=Ma();J0(t=t||{});var i=P0(),s="",f=0;if(t.cellXfs=[],Mr(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",oe(i,s,Wa(e.Props,t)),a.coreprops.push(s),de(t.rels,2,s,he.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],l=0;l<e.SheetNames.length;++l)(e.Workbook.Sheets[l]||{}).Hidden!=2&&o.push(e.SheetNames[l]);e.Props.SheetNames=o}e.Props.Worksheets=e.Props.SheetNames.length,oe(i,s,Ga(e.Props)),a.extprops.push(s),de(t.rels,3,s,he.EXT_PROPS),e.Custprops!==e.Props&&Ge(e.Custprops||{}).length>0&&(s="docProps/custom.xml",oe(i,s,Va(e.Custprops)),a.custprops.push(s),de(t.rels,4,s,he.CUST_PROPS));var c=["SheetJ5"];for(t.tcid=0,f=1;f<=e.SheetNames.length;++f){var d={"!id":{}},x=e.Sheets[e.SheetNames[f-1]],v=(x||{})["!type"]||"sheet";switch(v){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,oe(i,s,pi(f-1,t,e,d)),a.sheets.push(s),de(t.wbrels,-1,"worksheets/sheet"+f+"."+r,he.WS[0])}if(x){var _=x["!comments"],u=!1,g="";if(_&&_.length>0){var C=!1;_.forEach(function(O){O[1].forEach(function(y){y.T==!0&&(C=!0)})}),C&&(g="xl/threadedComments/threadedComment"+f+"."+r,oe(i,g,Zl(_,c,t)),a.threadedcomments.push(g),de(d,-1,"../threadedComments/threadedComment"+f+"."+r,he.TCMNT)),g="xl/comments"+f+"."+r,oe(i,g,si(_)),a.comments.push(g),de(d,-1,"../comments"+f+"."+r,he.CMNT),u=!0}x["!legacy"]&&u&&oe(i,"xl/drawings/vmlDrawing"+f+".vml",ii(f,x["!comments"])),delete x["!comments"],delete x["!legacy"]}d["!id"].rId1&&oe(i,Ua(s),nt(d))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,oe(i,s,Za(t.Strings,t)),a.strs.push(s),de(t.wbrels,-1,"sharedStrings."+r,he.SST)),s="xl/workbook."+r,oe(i,s,_i(e)),a.workbooks.push(s),de(t.rels,1,s,he.WB),s="xl/theme/theme1.xml",oe(i,s,ni(e.Themes,t)),a.themes.push(s),de(t.wbrels,-1,"theme/theme1.xml",he.THEME),s="xl/styles."+r,oe(i,s,ri(e,t)),a.styles.push(s),de(t.wbrels,-1,"styles."+r,he.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",oe(i,s,e.vbaraw),a.vba.push(s),de(t.wbrels,-1,"vbaProject.bin",he.VBA)),s="xl/metadata."+r,oe(i,s,ai()),a.metadata.push(s),de(t.wbrels,-1,"metadata."+r,he.XLMETA),c.length>1&&(s="xl/persons/person.xml",oe(i,s,ql(c)),a.people.push(s),de(t.wbrels,-1,"persons/person.xml",he.PEOPLE)),oe(i,"[Content_Types].xml",Ba(a,t)),oe(i,"_rels/.rels",nt(t.rels)),oe(i,"xl/_rels/workbook."+r+".rels",nt(t.wbrels)),delete t.revssf,delete t.ssf,i}function wu(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=Cr(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function yi(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Rt(t.file,_e.write(e,{type:ue?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return _e.write(e,t)}function Su(e,t){var r=qe(t||{}),n=_u(e,r);return Au(n,r)}function Au(e,t){var r={},n=ue?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?_e.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof a=="string"){if(t.type=="binary"||t.type=="base64")return a;a=new Uint8Array(s0(a))}return t.password&&typeof encrypt_agile<"u"?yi(encrypt_agile(a,t.password),t):t.type==="file"?Rt(t.file,a):t.type=="string"?mt(a):a}function Fu(e,t){var r=t||{},n=Hh(e,r);return yi(n,r)}function _r(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return St(Ft(n));case"binary":return Ft(n);case"string":return e;case"file":return Rt(t.file,n,"utf8");case"buffer":return ue?Dr(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):_r(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function yu(e,t){switch(t.type){case"base64":return St(e);case"binary":return e;case"string":return e;case"file":return Rt(t.file,e,"binary");case"buffer":return ue?Dr(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Xt(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return t.type=="base64"?St(r):t.type=="string"?mt(r):r;case"file":return Rt(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function Cu(e,t){qi(),hh(e);var r=qe(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=Cu(e,r);return r.type="array",s0(n)}var a=0;if(r.sheet&&(typeof r.sheet=="number"?a=r.sheet:a=e.SheetNames.indexOf(r.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return _r(bh(e,r),r);case"slk":case"sylk":return _r(fl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return _r(wi(e.Sheets[e.SheetNames[a]],r),r);case"txt":return yu(Ci(e.Sheets[e.SheetNames[a]],r),r);case"csv":return _r(Z0(e.Sheets[e.SheetNames[a]],r),r,"\uFEFF");case"dif":return _r(ll.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return Xt(sl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return _r(ol.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return _r(pl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return _r(Ja.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return _r(Fi(e,r),r);case"wk1":return Xt(Hn.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return Xt(Hn.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),Xt(Ei(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),Fu(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return Su(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function Ou(e,t,r,n,a,i,s,f){var o=He(r),l=f.defval,c=f.raw||!Object.prototype.hasOwnProperty.call(f,"raw"),d=!0,x=a===1?[]:{};if(a!==1)if(Object.defineProperty)try{Object.defineProperty(x,"__rowNum__",{value:r,enumerable:!1})}catch{x.__rowNum__=r}else x.__rowNum__=r;if(!s||e[r])for(var v=t.s.c;v<=t.e.c;++v){var _=s?e[r][v]:e[n[v]+o];if(_===void 0||_.t===void 0){if(l===void 0)continue;i[v]!=null&&(x[i[v]]=l);continue}var u=_.v;switch(_.t){case"z":if(u==null)break;continue;case"e":u=u==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+_.t)}if(i[v]!=null){if(u==null)if(_.t=="e"&&u===null)x[i[v]]=null;else if(l!==void 0)x[i[v]]=l;else if(c&&u===null)x[i[v]]=null;else continue;else x[i[v]]=c&&(_.t!=="n"||_.t==="n"&&f.rawNumbers!==!1)?u:Or(_,u,f);u!=null&&(d=!1)}}return{row:x,isempty:d}}function i0(e,t){if(e==null||e["!ref"]==null)return[];var r={t:"n",v:0},n=0,a=1,i=[],s=0,f="",o={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},c=l.range!=null?l.range:e["!ref"];switch(l.header===1?n=1:l.header==="A"?n=2:Array.isArray(l.header)?n=3:l.header==null&&(n=0),typeof c){case"string":o=Ee(c);break;case"number":o=Ee(e["!ref"]),o.s.r=c;break;default:o=c}n>0&&(a=0);var d=He(o.s.r),x=[],v=[],_=0,u=0,g=Array.isArray(e),C=o.s.r,O=0,y={};g&&!e[C]&&(e[C]=[]);var M=l.skipHidden&&e["!cols"]||[],Y=l.skipHidden&&e["!rows"]||[];for(O=o.s.c;O<=o.e.c;++O)if(!(M[O]||{}).hidden)switch(x[O]=Xe(O),r=g?e[C][O]:e[x[O]+d],n){case 1:i[O]=O-o.s.c;break;case 2:i[O]=x[O];break;case 3:i[O]=l.header[O-o.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),f=s=Or(r,null,l),u=y[s]||0,!u)y[s]=1;else{do f=s+"_"+u++;while(y[f]);y[s]=u,y[f]=1}i[O]=f}for(C=o.s.r+a;C<=o.e.r;++C)if(!(Y[C]||{}).hidden){var ee=Ou(e,o,C,x,n,i,g,l);(ee.isempty===!1||(n===1?l.blankrows!==!1:l.blankrows))&&(v[_++]=ee.row)}return v.length=_,v}var $n=/"/g;function Du(e,t,r,n,a,i,s,f){for(var o=!0,l=[],c="",d=He(r),x=t.s.c;x<=t.e.c;++x)if(n[x]){var v=f.dense?(e[r]||[])[x]:e[n[x]+d];if(v==null)c="";else if(v.v!=null){o=!1,c=""+(f.rawNumbers&&v.t=="n"?v.v:Or(v,null,f));for(var _=0,u=0;_!==c.length;++_)if((u=c.charCodeAt(_))===a||u===i||u===34||f.forceQuotes){c='"'+c.replace($n,'""')+'"';break}c=="ID"&&(c='"ID"')}else v.f!=null&&!v.F?(o=!1,c="="+v.f,c.indexOf(",")>=0&&(c='"'+c.replace($n,'""')+'"')):c="";l.push(c)}return f.blankrows===!1&&o?null:l.join(s)}function Z0(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";var a=Ee(e["!ref"]),i=n.FS!==void 0?n.FS:",",s=i.charCodeAt(0),f=n.RS!==void 0?n.RS:` -`,o=f.charCodeAt(0),l=new RegExp((i=="|"?"\\|":i)+"+$"),c="",d=[];n.dense=Array.isArray(e);for(var x=n.skipHidden&&e["!cols"]||[],v=n.skipHidden&&e["!rows"]||[],_=a.s.c;_<=a.e.c;++_)(x[_]||{}).hidden||(d[_]=Xe(_));for(var u=0,g=a.s.r;g<=a.e.r;++g)(v[g]||{}).hidden||(c=Du(e,a,g,d,s,o,i,n),c!=null&&(n.strip&&(c=c.replace(l,"")),(c||n.blankrows!==!1)&&r.push((u++?f:"")+c)));return delete n.dense,r.join("")}function Ci(e,t){t||(t={}),t.FS=" ",t.RS=` -`;var r=Z0(e,t);return r}function Ru(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var a=Ee(e["!ref"]),i="",s=[],f,o=[],l=Array.isArray(e);for(f=a.s.c;f<=a.e.c;++f)s[f]=Xe(f);for(var c=a.s.r;c<=a.e.r;++c)for(i=He(c),f=a.s.c;f<=a.e.c;++f)if(t=s[f]+i,r=l?(e[c]||[])[f]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}o[o.length]=t+"="+n}return o}function Oi(e,t,r){var n=r||{},a=+!n.skipHeader,i=e||{},s=0,f=0;if(i&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Pe(n.origin):n.origin;s=o.r,f=o.c}var l,c={s:{c:0,r:0},e:{c:f,r:s+t.length-1+a}};if(i["!ref"]){var d=Ee(i["!ref"]);c.e.c=Math.max(c.e.c,d.e.c),c.e.r=Math.max(c.e.r,d.e.r),s==-1&&(s=d.e.r+1,c.e.r=s+t.length-1+a)}else s==-1&&(s=0,c.e.r=t.length-1+a);var x=n.header||[],v=0;t.forEach(function(u,g){Ge(u).forEach(function(C){(v=x.indexOf(C))==-1&&(x[v=x.length]=C);var O=u[C],y="z",M="",Y=me({c:f+v,r:s+g+a});l=Ot(i,Y),O&&typeof O=="object"&&!(O instanceof Date)?i[Y]=O:(typeof O=="number"?y="n":typeof O=="boolean"?y="b":typeof O=="string"?y="s":O instanceof Date?(y="d",n.cellDates||(y="n",O=Ze(O)),M=n.dateNF||ye[14]):O===null&&n.nullError&&(y="e",O=0),l?(l.t=y,l.v=O,delete l.w,delete l.R,M&&(l.z=M)):i[Y]=l={t:y,v:O},M&&(l.z=M))})}),c.e.c=Math.max(c.e.c,f+x.length-1);var _=He(s);if(a)for(v=0;v<x.length;++v)i[Xe(v+f)+_]={t:"s",v:x[v]};return i["!ref"]=De(c),i}function Iu(e,t){return Oi(null,e,t)}function Ot(e,t,r){if(typeof t=="string"){if(Array.isArray(e)){var n=Pe(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return typeof t!="number"?Ot(e,me(t)):Ot(e,me({r:t,c:r||0}))}function Nu(e,t){if(typeof t=="number"){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function ku(){return{SheetNames:[],Sheets:{}}}function Pu(e,t,r,n){var a=1;if(!r)for(;a<=65535&&e.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);a=i&&+i[2]||0;var s=i&&i[1]||r;for(++a;a<=65535&&e.SheetNames.indexOf(r=s+a)!=-1;++a);}if(gi(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Lu(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=Nu(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function Mu(e,t){return e.z=t,e}function Di(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Bu(e,t,r){return Di(e,"#"+t,r)}function Uu(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function bu(e,t,r,n){for(var a=typeof t!="string"?t:Ee(t),i=typeof t=="string"?t:De(t),s=a.s.r;s<=a.e.r;++s)for(var f=a.s.c;f<=a.e.c;++f){var o=Ot(e,s,f);o.t="n",o.F=i,delete o.v,s==a.s.r&&f==a.s.c&&(o.f=r,n&&(o.D=!0))}return e}var Vu={encode_col:Xe,encode_row:He,encode_cell:me,encode_range:De,decode_col:W0,decode_row:b0,split_cell:qs,decode_cell:Pe,decode_range:ar,format_cell:Or,sheet_add_aoa:Ra,sheet_add_json:Oi,sheet_add_dom:Si,aoa_to_sheet:lt,json_to_sheet:Iu,table_to_sheet:Ai,table_to_book:ou,sheet_to_csv:Z0,sheet_to_txt:Ci,sheet_to_json:i0,sheet_to_html:wi,sheet_to_formulae:Ru,sheet_to_row_object_array:i0,sheet_get_cell:Ot,book_new:ku,book_append_sheet:Pu,book_set_sheet_visibility:Lu,cell_set_number_format:Mu,cell_set_hyperlink:Di,cell_set_internal_link:Bu,cell_add_comment:Uu,sheet_set_array_formula:bu,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};export{Hu as L,Gu as S,Vu as u,Cu as w}; -- GitLab