@studyportals/fawkes 2.0.1-13 → 2.0.1-15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fawkes.js +1 -1
- package/dist/fawkes.js.map +1 -1
- package/dist/scholarships-seo.js +1 -1
- package/dist/scholarships-seo.js.map +1 -1
- package/dist/src/scholarships/SearchIndexabilityManager.js +2 -2
- package/dist/src/scholarships/policies/DisciplinePolicy.js +5 -4
- package/dist/src/sitemap-generator/ISitemapUrlGeneratorDependencies.d.ts +2 -0
- package/package.json +1 -1
- package/dist/src/common/IFilterKeyValue3.d.ts +0 -5
- package/dist/src/common/IFilterKeyValue3.js +0 -1
- package/dist/src/scholarships/policies/DisciplineAreaPolicy.d.ts +0 -12
- package/dist/src/scholarships/policies/DisciplineAreaPolicy.js +0 -34
package/dist/fawkes.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={658:(e,t,r)=>{r.d(t,{zJ:()=>s.ISearchIndexabilityManager,jm:()=>o.ISeoFilterOptions,Wy:()=>n.ISeoFilterState,Oe:()=>i.ISeoInfoBase,yX:()=>a.ISeoSearchApplicationState,gq:()=>I,gK:()=>d});var n=r(892),i=r(202),o=r(879),a=r(928),s=r(131),c=(e=>(e.SEARCH="search",e.SITEMAP_GENERATOR="sitemap-generator",e))(c||{});class l{dependencies;constructor(e){this.dependencies=e}async shouldIndex(){if(!this.isIndexabilityPolicyDependencies())throw new Error("Dependency type is incorrect.");return this.matchesFilters()}async generateSitemapUrls(){if(!this.isSitemapUrlGeneratorDependencies())throw new Error("Dependency type is incorrect.");return await this.generateUrls()}isIndexabilityPolicyDependencies(){return this.dependencies.dependencyType===c.SEARCH}isSitemapUrlGeneratorDependencies(){return this.dependencies.dependencyType===c.SITEMAP_GENERATOR}}var p=(e=>(e.AREA="area",e.COUNTRY="country",e.DISCIPLINE_AREA="disciplineArea",e.DISCIPLINE_COUNTRY="disciplineCountry",e.DISCIPLINE="discipline",e.UNFILTERED="unfiltered",e.UNIVERSITY_COUNTRY="universityCountry",e))(p||{});class S extends l{constructor(e){super(e)}async matchesFilters(){const{seoInfoBase:e,filterState:t}=this.dependencies;return Promise.resolve(0===e.getSelectionTypeCount(t))}generateUrls(){throw new Error("Method not implemented.")}get filterCombination(){return p.UNFILTERED}}class I{policies;constructor(e,t){const r=c.SEARCH;this.policies=[new S({dependencyType:r,seoInfoBase:e,filterState:t})]}async shouldIndex(){return(await Promise.all(this.policies.map((e=>e.shouldIndex())))).some((e=>e))}}const d={ISeoInfoBase:Symbol.for("ISeoInfoBase"),ISeoFilterState:Symbol.for("ISeoFilterState"),ISeoSearchApplicationState:Symbol.for("ISeoSearchApplicationState"),ISeoFilterOptions:Symbol.for("ISeoFilterOptions"),SearchIndexabilityManager:Symbol.for("SearchIndexabilityManager")}},131:()=>{},879:()=>{},892:()=>{},202:()=>{},928:()=>{}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};r.d(n,{Oe:()=>i.Oe,Wy:()=>i.Wy,gK:()=>i.gK,gq:()=>i.gq,jm:()=>i.jm,yX:()=>i.yX,zJ:()=>i.zJ});var i=r(658),o=n.zJ,a=n.jm,s=n.Wy,c=n.Oe,l=n.yX,p=n.gq,S=n.gK;export{o as ISearchIndexabilityManager,a as ISeoFilterOptions,s as ISeoFilterState,c as ISeoInfoBase,l as ISeoSearchApplicationState,p as SearchIndexabilityManager,S as types};
|
|
1
|
+
var e={133:(e,t)=>{t.NP=void 0;const n=new Map([["4","economics"],["6","law"],["7","engineering-technology"],["8","education"],["9","humanities"],["10","medicine-health"],["11","natural-sciences-mathematics"],["12","applied-sciences-professions"],["13","social-sciences"],["20","architecture"],["23","business-management"],["24","computer-science-it"],["25","project-management"],["26","industrial-systems-engineering"],["28","environmental-engineering"],["29","civil-engineering-construction"],["30","bio-biomedical-engineering"],["31","biomedical-science"],["32","chemical-engineering"],["33","materials-science"],["34","electrical-engineering"],["37","aerospace-engineering"],["38","physics"],["39","mechanical-engineering"],["40","mathematics"],["45","business-administration"],["46","chemistry"],["47","earth-sciences"],["48","european-law"],["49","patent-intellectual-property-law"],["52","applied-mathematics"],["53","industrial-design"],["54","agriculture-forestry"],["56","family-consumer-science"],["58","journalism-media"],["59","library-science"],["60","military-science"],["62","social-work"],["63","design"],["64","hospitality-leisure-sports"],["67","area-cultural-studies"],["68","visual-arts"],["69","film-studies"],["70","archaeology"],["71","communication-studies"],["72","anthropology"],["73","ethnic-studies"],["74","history"],["75","geography"],["76","gender-sexuality-studies"],["77","language-studies"],["78","international-relations"],["79","psychology"],["80","sociology"],["81","biology"],["82","astronomy-space-sciences"],["83","electronics-embedded-technology"],["84","philosophy"],["85","international-law"],["86","entrepreneurship"],["87","finance"],["88","marketing"],["89","management-studies"],["90","public-health"],["92","medicine"],["93","accounting"],["94","energy-engineering"],["97","special-education"],["98","educational-research"],["99","theology-and-religious-studies"],["100","dentistry"],["101","public-administration"],["102","international-development"],["103","organisational-behaviour"],["104","music"],["105","physiotherapy"],["106","pharmacy"],["107","veterinary-medicine"],["108","information-technology"],["109","criminal-law"],["110","econometrics"],["111","human-resource-management"],["112","forensic-science"],["113","nursing"],["114","civil-private-law"],["115","public-law"],["117","environmental-studies-earth-sciences"],["118","biotechnology"],["119","toxicology"],["122","soil-science"],["123","geology"],["124","hydrology-water-management"],["125","climate-studies-meteorology"],["126","biodiversity-conservation"],["127","sustainable-development"],["128","environmental-economics-policy"],["130","geographical-information-systems"],["131","nutrition-dietetics"],["132","fashion-textiles-and-luxury-goods"],["133","supply-chain-management-logistics"],["134","sports-management"],["219","business-law"],["220","legal-studies"],["221","master-of-laws"],["222","natural-sciences"],["223","financial-mathematics"],["224","microbiology"],["225","molecular-sciences"],["226","neuroscience"],["227","statistics"],["228","complementary-alternative-medicine"],["229","health-administration"],["230","health-sciences"],["231","midwifery"],["232","agribusiness"],["233","auditing"],["234","business-intelligence"],["235","commerce"],["236","corporate-communication"],["237","corporate-social-responsibility"],["238","executive-mba"],["239","forensic-accounting"],["240","innovation-management"],["241","international-business"],["242","master-in-business-administration"],["243","master-in-management"],["244","retail-management"],["245","risk-management"],["246","strategic-management"],["247","taxation"],["248","engineering-management"],["249","transport-management"],["250","automotive-engineering"],["251","general-engineering-technology"],["252","marine-engineering"],["253","mechatronics"],["254","mining-oil-gas"],["255","robotics"],["256","sustainable-energy"],["257","transportation-engineering"],["258","arts-design-architecture"],["259","art-history"],["260","fashion-design"],["261","graphic-design"],["262","interior-design"],["263","landscape-architecture"],["264","musicology"],["265","user-experience-design"],["266","ancient-history"],["267","christian-studies"],["268","creative-writing"],["269","general-studies"],["270","islamic-studies"],["271","liberal-arts"],["272","literature"],["273","modern-history"],["274","american-and-australasian-studies"],["275","cognitive-science"],["276","criminology"],["277","european-studies"],["278","public-policy"],["279","business-information-systems"],["280","game-design"],["281","computer-sciences"],["282","data-science-big-data"],["283","health-informatics"],["284","human-computer-interaction"],["286","web-technologies-cloud-computing"],["287","environmental-management"],["288","natural-resource-management"],["289","education-training"],["290","adult-education"],["291","coaching"],["292","school-counselling"],["293","educational-psychology"],["295","teaching"],["297","emergency-disaster-management"],["298","food-science"],["299","museum-studies"],["300","agriculture"],["301","animal-science"],["302","marine-science"],["303","forestry"],["304","horticulture-and-crop-science"],["305","botany"],["306","journalism"],["307","media-management"],["308","media-studies-mass-media"],["309","public-relations"],["310","translation-interpreting"],["311","hospitality-management"],["312","culinary-arts"],["313","event-management"],["314","ecology"],["315","environmental-sciences"],["316","political-science"],["317","sport-and-exercise-science"],["318","drama"],["319","tourism-leisure"],["320","terrorism-security"],["321","real-estate-property-management"],["322","digital-media"],["323","cyber-security"],["324","digital-marketing"],["325","actuarial-science"],["326","bioinformatics-biostatistics"],["327","biochemistry"],["328","urban-planning"],["329","software-engineering"],["330","artificial-intelligence"],["331","machine-learning"],["332","linguistics"],["333","early-childhood-education"],["334","genetics"],["335","clinical-psychology"],["339","counselling-psychology"],["340","communications-engineering"],["341","criminal-justice"],["342","construction-management"],["343","kinesiology"],["344","speech-pathology"],["345","stem-education"],["346","medical-imaging"],["347","childhood-studies"],["348","primary-education"],["349","educational-leadership"],["350","sound-engineering"],["351","occupational-health-and-safety"],["352","management-of-creative-industries"],["353","it-management"],["354","pharmacology"],["355","instructional-design"],["356","operations-and-quality-management"],["357","nanoscience-and-nanotechnology"],["358","teaching-english-as-a-foreign-language"],["359","secondary-education"],["360","art-education"],["361","gerontology"],["362","banking"],["363","higher-education"],["364","community-development"],["365","esl"],["366","leadership"],["367","nuclear-engineering"],["368","epidemiology"],["369","physiology"],["370","literacy-education"],["371","health-education"],["372","immunology"],["373","marketing-management"],["374","music-composition"],["375","music-performance"],["376","fine-arts"],["377","information-systems"],["378","optometry"],["379","social-policy"],["380","financial-technology"],["381","italian-studies"],["382","fashion-management"],["383","occupational-therapy"],["384","pathology"],["385","forensic-psychology"],["386","asian-studies"],["387","developmental-psychology"],["388","social-psychology"],["389","food-technology"],["390","slavic-studies"],["391","diplomacy"],["392","art-therapy"],["393","african-studies"],["394","middle-eastern-studies"],["395","publishing"],["396","financial-management"],["397","production-and-manufacturing-engineering"],["398","anatomy"],["399","structural-engineering"],["400","french-studies"],["401","german-and-scandinavian-studies"],["402","advertising"],["403","computational-mathematics"],["404","zoology"],["405","operations-research"],["406","insurance"],["407","prosthetics-and-orthotics"],["408","oceanography"],["409","aviation-studies"],["410","iberian-studies"],["411","ceramics-and-sculpture"],["412","british-studies"],["413","painting-and-drawing"],["414","art-and-craft"],["415","classics"],["416","investment"],["417","dance"],["418","animation"],["419","photography"],["420","ethics"],["421","data-analytics"]]);t.NP=e=>{var t;return null!==(t=n.get(e))&&void 0!==t?t:null}},413:(e,t)=>{t.f=void 0,t.f=[{id:"54",name:"Agriculture & Forestry"},{id:"12",name:"Applied Sciences & Professions"},{id:"258",name:"Arts, Design & Architecture"},{id:"23",name:"Business & Management"},{id:"24",name:"Computer Science & IT"},{id:"289",name:"Education & Training"},{id:"7",name:"Engineering & Technology"},{id:"117",name:"Environmental Studies & Earth Sciences"},{id:"64",name:"Hospitality, Leisure & Sports"},{id:"9",name:"Humanities"},{id:"58",name:"Journalism & Media"},{id:"6",name:"Law"},{id:"10",name:"Medicine & Health"},{id:"11",name:"Natural Sciences & Mathematics"},{id:"13",name:"Social Sciences"}]},217:(e,t)=>{t.U=void 0,t.U=[{id:"300",name:"Agriculture",disciplineId:"54"},{id:"301",name:"Animal Science",disciplineId:"54"},{id:"302",name:"Marine Science",disciplineId:"54"},{id:"303",name:"Forestry",disciplineId:"54"},{id:"304",name:"Horticulture and Crop Science",disciplineId:"54"},{id:"297",name:"Emergency & Disaster Management",disciplineId:"12"},{id:"56",name:"Family & Consumer Science",disciplineId:"12"},{id:"132",name:"Fashion, Textiles and Luxury Goods",disciplineId:"12"},{id:"298",name:"Food Science",disciplineId:"12"},{id:"112",name:"Forensic Science",disciplineId:"12"},{id:"59",name:"Library Science",disciplineId:"12"},{id:"60",name:"Military Science",disciplineId:"12"},{id:"299",name:"Museum Studies",disciplineId:"12"},{id:"321",name:"Real Estate & Property Management",disciplineId:"12"},{id:"62",name:"Social Work",disciplineId:"12"},{id:"20",name:"Architecture",disciplineId:"258"},{id:"259",name:"Art History",disciplineId:"258"},{id:"63",name:"Design",disciplineId:"258"},{id:"260",name:"Fashion Design",disciplineId:"258"},{id:"261",name:"Graphic Design",disciplineId:"258"},{id:"69",name:"Film Studies",disciplineId:"258"},{id:"376",name:"Fine Arts",disciplineId:"258"},{id:"53",name:"Industrial Design",disciplineId:"258"},{id:"262",name:"Interior Design",disciplineId:"258"},{id:"263",name:"Landscape Architecture",disciplineId:"258"},{id:"104",name:"Music",disciplineId:"258"},{id:"374",name:"Music Composition",disciplineId:"258"},{id:"264",name:"Musicology",disciplineId:"258"},{id:"375",name:"Music Performance",disciplineId:"258"},{id:"318",name:"Drama",disciplineId:"258"},{id:"328",name:"Urban Planning",disciplineId:"258"},{id:"68",name:"Visual Arts",disciplineId:"258"},{id:"93",name:"Accounting",disciplineId:"23"},{id:"325",name:"Actuarial Science",disciplineId:"23"},{id:"232",name:"Agribusiness",disciplineId:"23"},{id:"233",name:"Auditing",disciplineId:"23"},{id:"362",name:"Banking",disciplineId:"23"},{id:"45",name:"Business Administration",disciplineId:"23"},{id:"234",name:"Business Intelligence",disciplineId:"23"},{id:"235",name:"Commerce",disciplineId:"23"},{id:"342",name:"Construction Management",disciplineId:"23"},{id:"236",name:"Corporate Communication",disciplineId:"23"},{id:"237",name:"Corporate Social Responsibility",disciplineId:"23"},{id:"322",name:"Digital Media",disciplineId:"23"},{id:"324",name:"Digital Marketing",disciplineId:"23"},{id:"86",name:"Entrepreneurship",disciplineId:"23"},{id:"238",name:"Executive MBA",disciplineId:"23"},{id:"87",name:"Finance",disciplineId:"23"},{id:"239",name:"Forensic Accounting",disciplineId:"23"},{id:"111",name:"Human Resource Management",disciplineId:"23"},{id:"240",name:"Innovation Management",disciplineId:"23"},{id:"241",name:"International Business",disciplineId:"23"},{id:"353",name:"IT Management",disciplineId:"23"},{id:"366",name:"Leadership",disciplineId:"23"},{id:"352",name:"Management of Creative Industries",disciplineId:"23"},{id:"89",name:"Management Studies",disciplineId:"23"},{id:"88",name:"Marketing",disciplineId:"23"},{id:"373",name:"Marketing Management",disciplineId:"23"},{id:"242",name:"Master in Business Administration (MBA)",disciplineId:"23"},{id:"243",name:"Master in Management (MIM)",disciplineId:"23"},{id:"356",name:"Operations and Quality Management",disciplineId:"23"},{id:"25",name:"Project Management",disciplineId:"23"},{id:"101",name:"Public Administration",disciplineId:"23"},{id:"244",name:"Retail Management",disciplineId:"23"},{id:"245",name:"Risk Management",disciplineId:"23"},{id:"246",name:"Strategic Management",disciplineId:"23"},{id:"133",name:"Supply Chain Management & Logistics",disciplineId:"23"},{id:"247",name:"Taxation",disciplineId:"23"},{id:"248",name:"Engineering Management",disciplineId:"23"},{id:"249",name:"Transport Management",disciplineId:"23"},{id:"330",name:"Artificial Intelligence",disciplineId:"24"},{id:"279",name:"Business Information Systems",disciplineId:"24"},{id:"281",name:"Computer Sciences",disciplineId:"24"},{id:"323",name:"Cyber Security",disciplineId:"24"},{id:"282",name:"Data Science & Big Data",disciplineId:"24"},{id:"130",name:"Geographical Information Systems (GIS)",disciplineId:"24"},{id:"283",name:"Health Informatics",disciplineId:"24"},{id:"284",name:"Human Computer Interaction",disciplineId:"24"},{id:"108",name:"Information Technology (IT)",disciplineId:"24"},{id:"331",name:"Machine Learning",disciplineId:"24"},{id:"329",name:"Software Engineering",disciplineId:"24"},{id:"265",name:"User Experience Design",disciplineId:"24"},{id:"280",name:"Game Design",disciplineId:"24"},{id:"286",name:"Web Technologies & Cloud Computing",disciplineId:"24"},{id:"290",name:"Adult Education",disciplineId:"289"},{id:"360",name:"Art Education",disciplineId:"289"},{id:"291",name:"Coaching",disciplineId:"289"},{id:"292",name:"School Counselling",disciplineId:"289"},{id:"333",name:"Early Childhood Education",disciplineId:"289"},{id:"8",name:"Education",disciplineId:"289"},{id:"349",name:"Educational Leadership",disciplineId:"289"},{id:"293",name:"Educational Psychology",disciplineId:"289"},{id:"98",name:"Educational Research",disciplineId:"289"},{id:"371",name:"Health Education",disciplineId:"289"},{id:"363",name:"Higher Education",disciplineId:"289"},{id:"355",name:"Instructional Design",disciplineId:"289"},{id:"370",name:"Literacy Education",disciplineId:"289"},{id:"348",name:"Primary Education",disciplineId:"289"},{id:"97",name:"Special Education",disciplineId:"289"},{id:"359",name:"Secondary Education",disciplineId:"289"},{id:"345",name:"STEM Education",disciplineId:"289"},{id:"295",name:"Teaching",disciplineId:"289"},{id:"358",name:"Teaching English as a Foreign Language",disciplineId:"289"},{id:"37",name:"Aerospace Engineering",disciplineId:"7"},{id:"250",name:"Automotive Engineering",disciplineId:"7"},{id:"30",name:"Bio & Biomedical Engineering",disciplineId:"7"},{id:"32",name:"Chemical Engineering",disciplineId:"7"},{id:"29",name:"Civil Engineering & Construction",disciplineId:"7"},{id:"340",name:"Communications Engineering",disciplineId:"7"},{id:"34",name:"Electrical Engineering",disciplineId:"7"},{id:"83",name:"Electronics & Embedded Technology",disciplineId:"7"},{id:"94",name:"Energy Engineering",disciplineId:"7"},{id:"28",name:"Environmental Engineering",disciplineId:"7"},{id:"251",name:"General Engineering & Technology",disciplineId:"7"},{id:"26",name:"Industrial & Systems Engineering",disciplineId:"7"},{id:"252",name:"Marine Engineering",disciplineId:"7"},{id:"33",name:"Materials Science",disciplineId:"7"},{id:"39",name:"Mechanical Engineering",disciplineId:"7"},{id:"253",name:"Mechatronics",disciplineId:"7"},{id:"254",name:"Mining, Oil & Gas",disciplineId:"7"},{id:"367",name:"Nuclear Engineering",disciplineId:"7"},{id:"255",name:"Robotics",disciplineId:"7"},{id:"350",name:"Sound Engineering",disciplineId:"7"},{id:"256",name:"Sustainable Energy",disciplineId:"7"},{id:"257",name:"Transportation Engineering",disciplineId:"7"},{id:"126",name:"Biodiversity & Conservation",disciplineId:"117"},{id:"125",name:"Climate Studies & Meteorology",disciplineId:"117"},{id:"47",name:"Earth Sciences",disciplineId:"117"},{id:"314",name:"Ecology",disciplineId:"117"},{id:"128",name:"Environmental Economics & Policy",disciplineId:"117"},{id:"287",name:"Environmental Management",disciplineId:"117"},{id:"315",name:"Environmental Sciences",disciplineId:"117"},{id:"123",name:"Geology",disciplineId:"117"},{id:"124",name:"Hydrology & Water Management",disciplineId:"117"},{id:"288",name:"Natural Resource Management",disciplineId:"117"},{id:"122",name:"Soil Science",disciplineId:"117"},{id:"127",name:"Sustainable Development",disciplineId:"117"},{id:"119",name:"Toxicology",disciplineId:"117"},{id:"312",name:"Culinary Arts",disciplineId:"64"},{id:"313",name:"Event Management",disciplineId:"64"},{id:"311",name:"Hospitality Management",disciplineId:"64"},{id:"134",name:"Sports Management",disciplineId:"64"},{id:"317",name:"Sport and Exercise Science",disciplineId:"64"},{id:"319",name:"Tourism & Leisure",disciplineId:"64"},{id:"266",name:"Ancient History",disciplineId:"9"},{id:"267",name:"Christian Studies",disciplineId:"9"},{id:"268",name:"Creative Writing",disciplineId:"9"},{id:"365",name:"ESL",disciplineId:"9"},{id:"269",name:"General Studies",disciplineId:"9"},{id:"74",name:"History",disciplineId:"9"},{id:"270",name:"Islamic Studies",disciplineId:"9"},{id:"77",name:"Language Studies",disciplineId:"9"},{id:"271",name:"Liberal Arts",disciplineId:"9"},{id:"272",name:"Literature",disciplineId:"9"},{id:"273",name:"Modern History",disciplineId:"9"},{id:"84",name:"Philosophy",disciplineId:"9"},{id:"99",name:"Theology and Religious Studies",disciplineId:"9"},{id:"332",name:"Linguistics",disciplineId:"9"},{id:"306",name:"Journalism",disciplineId:"58"},{id:"307",name:"Media Management",disciplineId:"58"},{id:"308",name:"Media Studies & Mass Media",disciplineId:"58"},{id:"309",name:"Public Relations",disciplineId:"58"},{id:"310",name:"Translation & Interpreting",disciplineId:"58"},{id:"219",name:"Business Law",disciplineId:"6"},{id:"114",name:"Civil & Private Law",disciplineId:"6"},{id:"341",name:"Criminal Justice",disciplineId:"6"},{id:"109",name:"Criminal Law",disciplineId:"6"},{id:"48",name:"European Law",disciplineId:"6"},{id:"85",name:"International Law",disciplineId:"6"},{id:"220",name:"Legal Studies",disciplineId:"6"},{id:"221",name:"Master of Laws (LLM)",disciplineId:"6"},{id:"49",name:"Patent & Intellectual Property Law",disciplineId:"6"},{id:"115",name:"Public Law",disciplineId:"6"},{id:"31",name:"Biomedical Science",disciplineId:"10"},{id:"335",name:"Clinical Psychology",disciplineId:"10"},{id:"228",name:"Complementary & Alternative Medicine",disciplineId:"10"},{id:"100",name:"Dentistry",disciplineId:"10"},{id:"368",name:"Epidemiology",disciplineId:"10"},{id:"361",name:"Gerontology",disciplineId:"10"},{id:"229",name:"Healthcare Administration",disciplineId:"10"},{id:"230",name:"Health Sciences",disciplineId:"10"},{id:"92",name:"Medicine",disciplineId:"10"},{id:"372",name:"Immunology",disciplineId:"10"},{id:"343",name:"Kinesiology",disciplineId:"10"},{id:"346",name:"Medical Imaging",disciplineId:"10"},{id:"231",name:"Midwifery",disciplineId:"10"},{id:"113",name:"Nursing",disciplineId:"10"},{id:"131",name:"Nutrition & Dietetics",disciplineId:"10"},{id:"351",name:"Occupational Health and Safety",disciplineId:"10"},{id:"106",name:"Pharmacy",disciplineId:"10"},{id:"369",name:"Physiology",disciplineId:"10"},{id:"105",name:"Physiotherapy",disciplineId:"10"},{id:"90",name:"Public Health",disciplineId:"10"},{id:"344",name:"Speech Pathology",disciplineId:"10"},{id:"107",name:"Veterinary Medicine",disciplineId:"10"},{id:"52",name:"Applied Mathematics",disciplineId:"11"},{id:"82",name:"Astronomy & Space Sciences",disciplineId:"11"},{id:"327",name:"Biochemistry",disciplineId:"11"},{id:"326",name:"Bioinformatics & Biostatistics",disciplineId:"11"},{id:"81",name:"Biology",disciplineId:"11"},{id:"118",name:"Biotechnology",disciplineId:"11"},{id:"305",name:"Botany",disciplineId:"11"},{id:"46",name:"Chemistry",disciplineId:"11"},{id:"223",name:"Financial Mathematics",disciplineId:"11"},{id:"334",name:"Genetics",disciplineId:"11"},{id:"40",name:"Mathematics",disciplineId:"11"},{id:"224",name:"Microbiology",disciplineId:"11"},{id:"225",name:"Molecular Sciences",disciplineId:"11"},{id:"357",name:"Nanoscience and Nanotechnology",disciplineId:"11"},{id:"222",name:"Natural Sciences",disciplineId:"11"},{id:"226",name:"Neuroscience",disciplineId:"11"},{id:"354",name:"Pharmacology",disciplineId:"11"},{id:"38",name:"Physics",disciplineId:"11"},{id:"227",name:"Statistics",disciplineId:"11"},{id:"274",name:"American and Australasian studies",disciplineId:"13"},{id:"72",name:"Anthropology",disciplineId:"13"},{id:"70",name:"Archaeology",disciplineId:"13"},{id:"67",name:"Area & Cultural Studies",disciplineId:"13"},{id:"347",name:"Childhood Studies",disciplineId:"13"},{id:"275",name:"Cognitive Science",disciplineId:"13"},{id:"71",name:"Communication Studies",disciplineId:"13"},{id:"364",name:"Community Development",disciplineId:"13"},{id:"339",name:"Counselling Psychology",disciplineId:"13"},{id:"276",name:"Criminology",disciplineId:"13"},{id:"110",name:"Econometrics",disciplineId:"13"},{id:"4",name:"Economics",disciplineId:"13"},{id:"73",name:"Ethnic Studies",disciplineId:"13"},{id:"277",name:"European Studies",disciplineId:"13"},{id:"76",name:"Gender & Sexuality Studies",disciplineId:"13"},{id:"75",name:"Geography",disciplineId:"13"},{id:"102",name:"International Development",disciplineId:"13"},{id:"78",name:"International Relations",disciplineId:"13"},{id:"103",name:"Organisational Behaviour",disciplineId:"13"},{id:"316",name:"Political Science",disciplineId:"13"},{id:"79",name:"Psychology",disciplineId:"13"},{id:"278",name:"Public Policy",disciplineId:"13"},{id:"80",name:"Sociology",disciplineId:"13"},{id:"320",name:"Terrorism & Security",disciplineId:"13"},{id:"377",name:"Information Systems",disciplineId:"24"},{id:"378",name:"Optometry",disciplineId:"10"},{id:"379",name:"Social Policy",disciplineId:"13"},{id:"380",name:"Financial Technology",disciplineId:"23"},{id:"381",name:"Italian studies",disciplineId:"13"},{id:"382",name:"Fashion Management",disciplineId:"23"},{id:"383",name:"Occupational Therapy",disciplineId:"10"},{id:"384",name:"Pathology",disciplineId:"10"},{id:"385",name:"Forensic Psychology",disciplineId:"13"},{id:"386",name:"Asian Studies",disciplineId:"13"},{id:"387",name:"Developmental Psychology",disciplineId:"13"},{id:"388",name:"Social Psychology",disciplineId:"13"},{id:"389",name:"Food Technology",disciplineId:"54"},{id:"390",name:"Slavic Studies",disciplineId:"13"},{id:"391",name:"Diplomacy",disciplineId:"13"},{id:"392",name:"Art Therapy",disciplineId:"13"},{id:"393",name:"African Studies",disciplineId:"13"},{id:"394",name:"Middle Eastern Studies",disciplineId:"13"},{id:"395",name:"Publishing",disciplineId:"58"},{id:"396",name:"Financial Management",disciplineId:"23"},{id:"397",name:"Production and Manufacturing Engineering",disciplineId:"7"},{id:"398",name:"Anatomy",disciplineId:"11"},{id:"399",name:"Structural Engineering",disciplineId:"7"},{id:"400",name:"French Studies",disciplineId:"13"},{id:"401",name:"German and Scandinavian Studies",disciplineId:"13"},{id:"402",name:"Advertising",disciplineId:"23"},{id:"403",name:"Computational Mathematics",disciplineId:"11"},{id:"404",name:"Zoology",disciplineId:"11"},{id:"405",name:"Operations Research",disciplineId:"11"},{id:"406",name:"Insurance",disciplineId:"23"},{id:"407",name:"Prosthetics and Orthotics",disciplineId:"10"},{id:"408",name:"Oceanography",disciplineId:"11"},{id:"409",name:"Aviation Studies",disciplineId:"12"},{id:"410",name:"Iberian Studies",disciplineId:"13"},{id:"411",name:"Ceramics and Sculpture",disciplineId:"258"},{id:"412",name:"British Studies",disciplineId:"13"},{id:"413",name:"Painting & Drawing",disciplineId:"258"},{id:"414",name:"Art and Craft",disciplineId:"258"},{id:"415",name:"Classics",disciplineId:"9"},{id:"416",name:"Investment",disciplineId:"23"},{id:"417",name:"Dance",disciplineId:"258"},{id:"418",name:"Animation",disciplineId:"24"},{id:"419",name:"Photography",disciplineId:"258"},{id:"420",name:"Ethics",disciplineId:"9"},{id:"421",name:"Data Analytics",disciplineId:"24"}]},835:(e,t,n)=>{n.d(t,{zJ:()=>l.ISearchIndexabilityManager,jm:()=>s.ISeoFilterOptions,Wy:()=>r.ISeoFilterState,Oe:()=>o.ISeoInfoBase,yX:()=>a.ISeoSearchApplicationState,gq:()=>Xc,gK:()=>Jc});var i={};n.r(i),n.d(i,{BaseTransition:()=>ki,BaseTransitionPropsValidators:()=>Ii,Comment:()=>Cs,DeprecationTypes:()=>Ma,EffectScope:()=>Se,ErrorCodes:()=>In,ErrorTypeStrings:()=>wa,Fragment:()=>Is,KeepAlive:()=>sr,ReactiveEffect:()=>Te,Static:()=>ks,Suspense:()=>gs,Teleport:()=>vi,Text:()=>Ts,TrackOpTypes:()=>cn,Transition:()=>Xa,TransitionGroup:()=>Wl,TriggerOpTypes:()=>dn,VueElement:()=>Fl,assertNumber:()=>bn,callWithAsyncErrorHandling:()=>Cn,callWithErrorHandling:()=>Tn,camelize:()=>L,capitalize:()=>U,cloneVNode:()=>Ws,compatUtils:()=>La,compile:()=>Ac,computed:()=>Ca,createApp:()=>bc,createBlock:()=>Fs,createCommentVNode:()=>qs,createElementBlock:()=>Vs,createElementVNode:()=>Hs,createHydrationRenderer:()=>Ho,createPropsRestProxy:()=>io,createRenderer:()=>jo,createSSRApp:()=>Ic,createSlots:()=>Vr,createStaticVNode:()=>$s,createTextVNode:()=>Ks,createVNode:()=>Gs,customRef:()=>tn,defineAsyncComponent:()=>ir,defineComponent:()=>Di,defineCustomElement:()=>Dl,defineEmits:()=>Wr,defineExpose:()=>Kr,defineModel:()=>zr,defineOptions:()=>$r,defineProps:()=>Yr,defineSSRCustomElement:()=>xl,defineSlots:()=>qr,devtools:()=>Da,effect:()=>Le,effectScope:()=>Ee,getCurrentInstance:()=>ra,getCurrentScope:()=>_e,getCurrentWatcher:()=>fn,getTransitionRawChildren:()=>wi,guardReactiveProps:()=>Ys,h:()=>ka,handleError:()=>kn,hasInjectionContext:()=>Io,hydrate:()=>_c,hydrateOnIdle:()=>Qi,hydrateOnInteraction:()=>tr,hydrateOnMediaQuery:()=>er,hydrateOnVisible:()=>Zi,initCustomFormatter:()=>Oa,initDirectivesForSSR:()=>Oc,inject:()=>bo,isMemoSame:()=>Na,isProxy:()=>Bt,isReactive:()=>Ft,isReadonly:()=>Lt,isRef:()=>Yt,isRuntimeOnly:()=>va,isShallow:()=>Mt,isVNode:()=>Ls,markRaw:()=>jt,mergeDefaults:()=>to,mergeModels:()=>no,mergeProps:()=>Qs,nextTick:()=>xn,normalizeClass:()=>te,normalizeProps:()=>ne,normalizeStyle:()=>X,onActivated:()=>lr,onBeforeMount:()=>vr,onBeforeUnmount:()=>Er,onBeforeUpdate:()=>yr,onDeactivated:()=>cr,onErrorCaptured:()=>Cr,onMounted:()=>gr,onRenderTracked:()=>Tr,onRenderTriggered:()=>Ir,onScopeDispose:()=>be,onServerPrefetch:()=>br,onUnmounted:()=>_r,onUpdated:()=>Sr,onWatcherCleanup:()=>mn,openBlock:()=>Ns,popScopeId:()=>ni,provide:()=>_o,proxyRefs:()=>Zt,pushScopeId:()=>ti,queuePostFlushCb:()=>Ln,reactive:()=>Pt,readonly:()=>Dt,ref:()=>Wt,registerRuntimeCompiler:()=>ma,render:()=>Ec,renderList:()=>xr,renderSlot:()=>Fr,resolveComponent:()=>Ar,resolveDirective:()=>Pr,resolveDynamicComponent:()=>Rr,resolveFilter:()=>Fa,resolveTransitionHooks:()=>Ai,setBlockTracking:()=>Ds,setDevtoolsHook:()=>xa,setTransitionHooks:()=>Pi,shallowReactive:()=>wt,shallowReadonly:()=>xt,shallowRef:()=>Kt,ssrContextKey:()=>Xo,ssrUtils:()=>Va,stop:()=>Me,toDisplayString:()=>fe,toHandlerKey:()=>j,toHandlers:()=>Mr,toRaw:()=>Ut,toRef:()=>sn,toRefs:()=>nn,toValue:()=>Jt,transformVNodeArgs:()=>Bs,triggerRef:()=>zt,unref:()=>Xt,useAttrs:()=>Qr,useCssModule:()=>Bl,useCssVars:()=>ml,useHost:()=>Ll,useId:()=>xi,useModel:()=>os,useSSRContext:()=>Jo,useShadowRoot:()=>Ml,useSlots:()=>Jr,useTemplateRef:()=>Fi,useTransitionState:()=>_i,vModelCheckbox:()=>ec,vModelDynamic:()=>ac,vModelRadio:()=>nc,vModelSelect:()=>ic,vModelText:()=>Zl,vShow:()=>pl,version:()=>Ra,warn:()=>Pa,watch:()=>ts,watchEffect:()=>Qo,watchPostEffect:()=>Zo,watchSyncEffect:()=>es,withAsyncContext:()=>ro,withCtx:()=>ri,withDefaults:()=>Xr,withDirectives:()=>oi,withKeys:()=>fc,withMemo:()=>Aa,withModifiers:()=>pc,withScopeId:()=>ii});var r=n(892),o=n(202),s=n(879),a=n(928),l=n(131);function c(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const d={},u=[],p=()=>{},h=()=>!1,f=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),m=e=>e.startsWith("onUpdate:"),v=Object.assign,g=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},y=Object.prototype.hasOwnProperty,S=(e,t)=>y.call(e,t),E=Array.isArray,_=e=>"[object Map]"===R(e),b=e=>"[object Set]"===R(e),I=e=>"[object Date]"===R(e),T=e=>"function"==typeof e,C=e=>"string"==typeof e,k=e=>"symbol"==typeof e,O=e=>null!==e&&"object"==typeof e,A=e=>(O(e)||T(e))&&T(e.then)&&T(e.catch),N=Object.prototype.toString,R=e=>N.call(e),P=e=>R(e).slice(8,-1),w=e=>"[object Object]"===R(e),D=e=>C(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,x=c(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),V=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},F=/-(\w)/g,L=V((e=>e.replace(F,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,B=V((e=>e.replace(M,"-$1").toLowerCase())),U=V((e=>e.charAt(0).toUpperCase()+e.slice(1))),j=V((e=>e?`on${U(e)}`:"")),H=(e,t)=>!Object.is(e,t),G=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Y=(e,t,n,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:n})},W=e=>{const t=parseFloat(e);return isNaN(t)?e:t},K=e=>{const t=C(e)?Number(e):NaN;return isNaN(t)?e:t};let $;const q=()=>$||($="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),z=c("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function X(e){if(E(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],r=C(i)?ee(i):X(i);if(r)for(const e in r)t[e]=r[e]}return t}if(C(e)||O(e))return e}const J=/;(?![^(]*\))/g,Q=/:([^]+)/,Z=/\/\*[^]*?\*\//g;function ee(e){const t={};return e.replace(Z,"").split(J).forEach((e=>{if(e){const n=e.split(Q);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function te(e){let t="";if(C(e))t=e;else if(E(e))for(let n=0;n<e.length;n++){const i=te(e[n]);i&&(t+=i+" ")}else if(O(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ne(e){if(!e)return null;let{class:t,style:n}=e;return t&&!C(t)&&(e.class=te(t)),n&&(e.style=X(n)),e}const ie="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",re=c(ie),oe=c(ie+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function se(e){return!!e||""===e}const ae=c("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),le=c("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),ce=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function de(e,t){return e.replace(ce,(e=>t?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`))}function ue(e,t){if(e===t)return!0;let n=I(e),i=I(t);if(n||i)return!(!n||!i)&&e.getTime()===t.getTime();if(n=k(e),i=k(t),n||i)return e===t;if(n=E(e),i=E(t),n||i)return!(!n||!i)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=ue(e[i],t[i]);return n}(e,t);if(n=O(e),i=O(t),n||i){if(!n||!i)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const i=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(i&&!r||!i&&r||!ue(e[n],t[n]))return!1}}return String(e)===String(t)}function pe(e,t){return e.findIndex((e=>ue(e,t)))}const he=e=>!(!e||!0!==e.__v_isRef),fe=e=>C(e)?e:null==e?"":E(e)||O(e)&&(e.toString===N||!T(e.toString))?he(e)?fe(e.value):JSON.stringify(e,me,2):String(e),me=(e,t)=>he(t)?me(e,t.value):_(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],i)=>(e[ve(t,i)+" =>"]=n,e)),{})}:b(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>ve(e)))}:k(t)?ve(t):!O(t)||E(t)||w(t)?t:String(t),ve=(e,t="")=>{var n;return k(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let ge,ye;class Se{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ge,!e&&ge&&(this.index=(ge.scopes||(ge.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=ge;try{return ge=this,e()}finally{ge=t}}}on(){ge=this}off(){ge=this.parent}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function Ee(e){return new Se(e)}function _e(){return ge}function be(e,t=!1){ge&&ge.cleanups.push(e)}const Ie=new WeakSet;class Te{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ge&&ge.active&&ge.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,Ie.has(this)&&(Ie.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||Ae(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Ge(this),Pe(this);const e=ye,t=Be;ye=this,Be=!0;try{return this.fn()}finally{we(this),ye=e,Be=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)Ve(e);this.deps=this.depsTail=void 0,Ge(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?Ie.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){De(this)&&this.run()}get dirty(){return De(this)}}let Ce,ke,Oe=0;function Ae(e,t=!1){if(e.flags|=8,t)return e.next=ke,void(ke=e);e.next=Ce,Ce=e}function Ne(){Oe++}function Re(){if(--Oe>0)return;if(ke){let e=ke;for(ke=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ce;){let t=Ce;for(Ce=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function Pe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function we(e){let t,n=e.depsTail,i=n;for(;i;){const e=i.prevDep;-1===i.version?(i===n&&(n=e),Ve(i),Fe(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=e}e.deps=t,e.depsTail=n}function De(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xe(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===Ye)return;e.globalVersion=Ye;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!De(e))return void(e.flags&=-3);const n=ye,i=Be;ye=e,Be=!0;try{Pe(e);const n=e.fn(e._value);(0===t.version||H(n,e._value))&&(e._value=n,t.version++)}catch(e){throw t.version++,e}finally{ye=n,Be=i,we(e),e.flags&=-3}}function Ve(e,t=!1){const{dep:n,prevSub:i,nextSub:r}=e;if(i&&(i.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=i,e.nextSub=void 0),n.subs===e&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Ve(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function Fe(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Le(e,t){e.effect instanceof Te&&(e=e.effect.fn);const n=new Te(e);t&&v(n,t);try{n.run()}catch(e){throw n.stop(),e}const i=n.run.bind(n);return i.effect=n,i}function Me(e){e.effect.stop()}let Be=!0;const Ue=[];function je(){Ue.push(Be),Be=!1}function He(){const e=Ue.pop();Be=void 0===e||e}function Ge(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=ye;ye=void 0;try{t()}finally{ye=e}}}let Ye=0;class We{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ke{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!ye||!Be||ye===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==ye)t=this.activeLink=new We(ye,this),ye.deps?(t.prevDep=ye.depsTail,ye.depsTail.nextDep=t,ye.depsTail=t):ye.deps=ye.depsTail=t,$e(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=ye.depsTail,t.nextDep=void 0,ye.depsTail.nextDep=t,ye.depsTail=t,ye.deps===t&&(ye.deps=e)}return t}trigger(e){this.version++,Ye++,this.notify(e)}notify(e){Ne();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Re()}}}function $e(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)$e(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const qe=new WeakMap,ze=Symbol(""),Xe=Symbol(""),Je=Symbol("");function Qe(e,t,n){if(Be&&ye){let t=qe.get(e);t||qe.set(e,t=new Map);let i=t.get(n);i||(t.set(n,i=new Ke),i.map=t,i.key=n),i.track()}}function Ze(e,t,n,i,r,o){const s=qe.get(e);if(!s)return void Ye++;const a=e=>{e&&e.trigger()};if(Ne(),"clear"===t)s.forEach(a);else{const r=E(e),o=r&&D(n);if(r&&"length"===n){const e=Number(i);s.forEach(((t,n)=>{("length"===n||n===Je||!k(n)&&n>=e)&&a(t)}))}else switch((void 0!==n||s.has(void 0))&&a(s.get(n)),o&&a(s.get(Je)),t){case"add":r?o&&a(s.get("length")):(a(s.get(ze)),_(e)&&a(s.get(Xe)));break;case"delete":r||(a(s.get(ze)),_(e)&&a(s.get(Xe)));break;case"set":_(e)&&a(s.get(ze))}}Re()}function et(e){const t=Ut(e);return t===e?t:(Qe(t,0,Je),Mt(e)?t:t.map(Ht))}function tt(e){return Qe(e=Ut(e),0,Je),e}const nt={__proto__:null,[Symbol.iterator](){return it(this,Symbol.iterator,Ht)},concat(...e){return et(this).concat(...e.map((e=>E(e)?et(e):e)))},entries(){return it(this,"entries",(e=>(e[1]=Ht(e[1]),e)))},every(e,t){return ot(this,"every",e,t,void 0,arguments)},filter(e,t){return ot(this,"filter",e,t,(e=>e.map(Ht)),arguments)},find(e,t){return ot(this,"find",e,t,Ht,arguments)},findIndex(e,t){return ot(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ot(this,"findLast",e,t,Ht,arguments)},findLastIndex(e,t){return ot(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ot(this,"forEach",e,t,void 0,arguments)},includes(...e){return at(this,"includes",e)},indexOf(...e){return at(this,"indexOf",e)},join(e){return et(this).join(e)},lastIndexOf(...e){return at(this,"lastIndexOf",e)},map(e,t){return ot(this,"map",e,t,void 0,arguments)},pop(){return lt(this,"pop")},push(...e){return lt(this,"push",e)},reduce(e,...t){return st(this,"reduce",e,t)},reduceRight(e,...t){return st(this,"reduceRight",e,t)},shift(){return lt(this,"shift")},some(e,t){return ot(this,"some",e,t,void 0,arguments)},splice(...e){return lt(this,"splice",e)},toReversed(){return et(this).toReversed()},toSorted(e){return et(this).toSorted(e)},toSpliced(...e){return et(this).toSpliced(...e)},unshift(...e){return lt(this,"unshift",e)},values(){return it(this,"values",Ht)}};function it(e,t,n){const i=tt(e),r=i[t]();return i===e||Mt(e)||(r._next=r.next,r.next=()=>{const e=r._next();return e.value&&(e.value=n(e.value)),e}),r}const rt=Array.prototype;function ot(e,t,n,i,r,o){const s=tt(e),a=s!==e&&!Mt(e),l=s[t];if(l!==rt[t]){const t=l.apply(e,o);return a?Ht(t):t}let c=n;s!==e&&(a?c=function(t,i){return n.call(this,Ht(t),i,e)}:n.length>2&&(c=function(t,i){return n.call(this,t,i,e)}));const d=l.call(s,c,i);return a&&r?r(d):d}function st(e,t,n,i){const r=tt(e);let o=n;return r!==e&&(Mt(e)?n.length>3&&(o=function(t,i,r){return n.call(this,t,i,r,e)}):o=function(t,i,r){return n.call(this,t,Ht(i),r,e)}),r[t](o,...i)}function at(e,t,n){const i=Ut(e);Qe(i,0,Je);const r=i[t](...n);return-1!==r&&!1!==r||!Bt(n[0])?r:(n[0]=Ut(n[0]),i[t](...n))}function lt(e,t,n=[]){je(),Ne();const i=Ut(e)[t].apply(e,n);return Re(),He(),i}const ct=c("__proto__,__v_isRef,__isVue"),dt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(k));function ut(e){k(e)||(e=String(e));const t=Ut(this);return Qe(t,0,e),t.hasOwnProperty(e)}class pt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const i=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!i;if("__v_isReadonly"===t)return i;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(i?r?Rt:Nt:r?At:Ot).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=E(e);if(!i){let e;if(o&&(e=nt[t]))return e;if("hasOwnProperty"===t)return ut}const s=Reflect.get(e,t,Yt(e)?e:n);return(k(t)?dt.has(t):ct(t))?s:(i||Qe(e,0,t),r?s:Yt(s)?o&&D(t)?s:s.value:O(s)?i?Dt(s):Pt(s):s)}}class ht extends pt{constructor(e=!1){super(!1,e)}set(e,t,n,i){let r=e[t];if(!this._isShallow){const t=Lt(r);if(Mt(n)||Lt(n)||(r=Ut(r),n=Ut(n)),!E(e)&&Yt(r)&&!Yt(n))return!t&&(r.value=n,!0)}const o=E(e)&&D(t)?Number(t)<e.length:S(e,t),s=Reflect.set(e,t,n,Yt(e)?e:i);return e===Ut(i)&&(o?H(n,r)&&Ze(e,"set",t,n):Ze(e,"add",t,n)),s}deleteProperty(e,t){const n=S(e,t),i=(e[t],Reflect.deleteProperty(e,t));return i&&n&&Ze(e,"delete",t,void 0),i}has(e,t){const n=Reflect.has(e,t);return k(t)&&dt.has(t)||Qe(e,0,t),n}ownKeys(e){return Qe(e,0,E(e)?"length":ze),Reflect.ownKeys(e)}}class ft extends pt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const mt=new ht,vt=new ft,gt=new ht(!0),yt=new ft(!0),St=e=>e,Et=e=>Reflect.getPrototypeOf(e);function _t(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function bt(e,t){const n=function(e,t){const n={get(n){const i=this.__v_raw,r=Ut(i),o=Ut(n);e||(H(n,o)&&Qe(r,0,n),Qe(r,0,o));const{has:s}=Et(r),a=t?St:e?Gt:Ht;return s.call(r,n)?a(i.get(n)):s.call(r,o)?a(i.get(o)):void(i!==r&&i.get(n))},get size(){const t=this.__v_raw;return!e&&Qe(Ut(t),0,ze),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,i=Ut(n),r=Ut(t);return e||(H(t,r)&&Qe(i,0,t),Qe(i,0,r)),t===r?n.has(t):n.has(t)||n.has(r)},forEach(n,i){const r=this,o=r.__v_raw,s=Ut(o),a=t?St:e?Gt:Ht;return!e&&Qe(s,0,ze),o.forEach(((e,t)=>n.call(i,a(e),a(t),r)))}};return v(n,e?{add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear")}:{add(e){t||Mt(e)||Lt(e)||(e=Ut(e));const n=Ut(this);return Et(n).has.call(n,e)||(n.add(e),Ze(n,"add",e,e)),this},set(e,n){t||Mt(n)||Lt(n)||(n=Ut(n));const i=Ut(this),{has:r,get:o}=Et(i);let s=r.call(i,e);s||(e=Ut(e),s=r.call(i,e));const a=o.call(i,e);return i.set(e,n),s?H(n,a)&&Ze(i,"set",e,n):Ze(i,"add",e,n),this},delete(e){const t=Ut(this),{has:n,get:i}=Et(t);let r=n.call(t,e);r||(e=Ut(e),r=n.call(t,e)),i&&i.call(t,e);const o=t.delete(e);return r&&Ze(t,"delete",e,void 0),o},clear(){const e=Ut(this),t=0!==e.size,n=e.clear();return t&&Ze(e,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach((i=>{n[i]=function(e,t,n){return function(...i){const r=this.__v_raw,o=Ut(r),s=_(o),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...i),d=n?St:t?Gt:Ht;return!t&&Qe(o,0,l?Xe:ze),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}(i,e,t)})),n}(e,t);return(t,i,r)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get(S(n,i)&&i in t?n:t,i,r)}const It={get:bt(!1,!1)},Tt={get:bt(!1,!0)},Ct={get:bt(!0,!1)},kt={get:bt(!0,!0)},Ot=new WeakMap,At=new WeakMap,Nt=new WeakMap,Rt=new WeakMap;function Pt(e){return Lt(e)?e:Vt(e,!1,mt,It,Ot)}function wt(e){return Vt(e,!1,gt,Tt,At)}function Dt(e){return Vt(e,!0,vt,Ct,Nt)}function xt(e){return Vt(e,!0,yt,kt,Rt)}function Vt(e,t,n,i,r){if(!O(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const s=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(P(a));var a;if(0===s)return e;const l=new Proxy(e,2===s?i:n);return r.set(e,l),l}function Ft(e){return Lt(e)?Ft(e.__v_raw):!(!e||!e.__v_isReactive)}function Lt(e){return!(!e||!e.__v_isReadonly)}function Mt(e){return!(!e||!e.__v_isShallow)}function Bt(e){return!!e&&!!e.__v_raw}function Ut(e){const t=e&&e.__v_raw;return t?Ut(t):e}function jt(e){return!S(e,"__v_skip")&&Object.isExtensible(e)&&Y(e,"__v_skip",!0),e}const Ht=e=>O(e)?Pt(e):e,Gt=e=>O(e)?Dt(e):e;function Yt(e){return!!e&&!0===e.__v_isRef}function Wt(e){return $t(e,!1)}function Kt(e){return $t(e,!0)}function $t(e,t){return Yt(e)?e:new qt(e,t)}class qt{constructor(e,t){this.dep=new Ke,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Ut(e),this._value=t?e:Ht(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Mt(e)||Lt(e);e=n?e:Ut(e),H(e,t)&&(this._rawValue=e,this._value=n?e:Ht(e),this.dep.trigger())}}function zt(e){e.dep&&e.dep.trigger()}function Xt(e){return Yt(e)?e.value:e}function Jt(e){return T(e)?e():Xt(e)}const Qt={get:(e,t,n)=>"__v_raw"===t?e:Xt(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const r=e[t];return Yt(r)&&!Yt(n)?(r.value=n,!0):Reflect.set(e,t,n,i)}};function Zt(e){return Ft(e)?e:new Proxy(e,Qt)}class en{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Ke,{get:n,set:i}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=i}get value(){return this._value=this._get()}set value(e){this._set(e)}}function tn(e){return new en(e)}function nn(e){const t=E(e)?new Array(e.length):{};for(const n in e)t[n]=an(e,n);return t}class rn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=qe.get(e);return n&&n.get(t)}(Ut(this._object),this._key)}}class on{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function sn(e,t,n){return Yt(e)?e:T(e)?new on(e):O(e)&&arguments.length>1?an(e,t,n):Wt(e)}function an(e,t,n){const i=e[t];return Yt(i)?i:new rn(e,t,n)}class ln{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Ke(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ye-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||ye===this))return Ae(this,!0),!0}get value(){const e=this.dep.track();return xe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const cn={GET:"get",HAS:"has",ITERATE:"iterate"},dn={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},un={},pn=new WeakMap;let hn;function fn(){return hn}function mn(e,t=!1,n=hn){if(n){let t=pn.get(n);t||pn.set(n,t=[]),t.push(e)}}function vn(e,t=1/0,n){if(t<=0||!O(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Yt(e))vn(e.value,t,n);else if(E(e))for(let i=0;i<e.length;i++)vn(e[i],t,n);else if(b(e)||_(e))e.forEach((e=>{vn(e,t,n)}));else if(w(e)){for(const i in e)vn(e[i],t,n);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&vn(e[i],t,n)}return e}const gn=[];let yn=!1;function Sn(e,...t){if(yn)return;yn=!0,je();const n=gn.length?gn[gn.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=function(){let e=gn[gn.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return t}();if(i)Tn(i,n,11,[e+t.map((e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)})).join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${Ta(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",i=!!e.component&&null==e.component.parent,r=` at <${Ta(e.component,e.type,i)}`,o=">"+n;return e.props?[r,...En(e.props),o]:[r+o]}(e))})),t}(r))}He(),yn=!1}function En(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(..._n(n,e[n]))})),n.length>3&&t.push(" ..."),t}function _n(e,t,n){return C(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Yt(t)?(t=_n(e,Ut(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):T(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ut(t),n?t:[`${e}=`,t])}function bn(e,t){}const In={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"};function Tn(e,t,n,i){try{return i?e(...i):e()}catch(e){kn(e,t,n)}}function Cn(e,t,n,i){if(T(e)){const r=Tn(e,t,n,i);return r&&A(r)&&r.catch((e=>{kn(e,t,n)})),r}if(E(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Cn(e[o],t,n,i));return r}}function kn(e,t,n,i=!0){t&&t.vnode;const{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||d;if(t){let i=t.parent;const o=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const t=i.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,s))return;i=i.parent}if(r)return je(),Tn(r,null,10,[e,o,s]),void He()}!function(e,t,n,i=!0,r=!1){if(r)throw e}(e,0,0,i,o)}const On=[];let An=-1;const Nn=[];let Rn=null,Pn=0;const wn=Promise.resolve();let Dn=null;function xn(e){const t=Dn||wn;return e?t.then(this?e.bind(this):e):t}function Vn(e){if(!(1&e.flags)){const t=Un(e),n=On[On.length-1];!n||!(2&e.flags)&&t>=Un(n)?On.push(e):On.splice(function(e){let t=An+1,n=On.length;for(;t<n;){const i=t+n>>>1,r=On[i],o=Un(r);o<e||o===e&&2&r.flags?t=i+1:n=i}return t}(t),0,e),e.flags|=1,Fn()}}function Fn(){Dn||(Dn=wn.then(jn))}function Ln(e){E(e)?Nn.push(...e):Rn&&-1===e.id?Rn.splice(Pn+1,0,e):1&e.flags||(Nn.push(e),e.flags|=1),Fn()}function Mn(e,t,n=An+1){for(;n<On.length;n++){const t=On[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;On.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function Bn(e){if(Nn.length){const e=[...new Set(Nn)].sort(((e,t)=>Un(e)-Un(t)));if(Nn.length=0,Rn)return void Rn.push(...e);for(Rn=e,Pn=0;Pn<Rn.length;Pn++){const e=Rn[Pn];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}Rn=null,Pn=0}}const Un=e=>null==e.id?2&e.flags?-1:1/0:e.id;function jn(e){try{for(An=0;An<On.length;An++){const e=On[An];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),Tn(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;An<On.length;An++){const e=On[An];e&&(e.flags&=-2)}An=-1,On.length=0,Bn(),Dn=null,(On.length||Nn.length)&&jn(e)}}let Hn,Gn=[],Yn=!1;function Wn(e,...t){Hn?Hn.emit(e,...t):Yn||Gn.push({event:e,args:t})}function Kn(e,t){var n,i;Hn=e,Hn?(Hn.enabled=!0,Gn.forEach((({event:e,args:t})=>Hn.emit(e,...t))),Gn=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(i=null==(n=window.navigator)?void 0:n.userAgent)?void 0:i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{Kn(e,t)})),setTimeout((()=>{Hn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Yn=!0,Gn=[])}),3e3)):(Yn=!0,Gn=[])}const $n=Jn("component:added"),qn=Jn("component:updated"),zn=Jn("component:removed"),Xn=e=>{Hn&&"function"==typeof Hn.cleanupBuffer&&!Hn.cleanupBuffer(e)&&zn(e)};function Jn(e){return t=>{Wn(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}let Qn=null,Zn=null;function ei(e){const t=Qn;return Qn=e,Zn=e&&e.type.__scopeId||null,t}function ti(e){Zn=e}function ni(){Zn=null}const ii=e=>ri;function ri(e,t=Qn,n){if(!t)return e;if(e._n)return e;const i=(...n)=>{i._d&&Ds(-1);const r=ei(t);let o;try{o=e(...n)}finally{ei(r),i._d&&Ds(1)}return __VUE_PROD_DEVTOOLS__&&qn(t),o};return i._n=!0,i._c=!0,i._d=!0,i}function oi(e,t){if(null===Qn)return e;const n=Ea(Qn),i=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[r,o,s,a=d]=t[e];r&&(T(r)&&(r={mounted:r,updated:r}),r.deep&&vn(o),i.push({dir:r,instance:n,value:o,oldValue:void 0,arg:s,modifiers:a}))}return e}function si(e,t,n,i){const r=e.dirs,o=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];o&&(a.oldValue=o[s].value);let l=a.dir[i];l&&(je(),Cn(l,n,8,[e.el,a,e,t]),He())}}const ai=Symbol("_vte"),li=e=>e.__isTeleport,ci=e=>e&&(e.disabled||""===e.disabled),di=e=>e&&(e.defer||""===e.defer),ui=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,pi=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,hi=(e,t)=>{const n=e&&e.to;return C(n)?t?t(n):null:n},fi={name:"Teleport",__isTeleport:!0,process(e,t,n,i,r,o,s,a,l,c){const{mc:d,pc:u,pbc:p,o:{insert:h,querySelector:f,createText:m,createComment:v}}=c,g=ci(t.props);let{shapeFlag:y,children:S,dynamicChildren:E}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");h(e,n,i),h(c,n,i);const u=(e,t)=>{16&y&&(r&&r.isCE&&(r.ce._teleportTarget=e),d(S,e,t,r,o,s,a,l))},p=()=>{const e=t.target=hi(t.props,f),n=yi(e,t,m,h);e&&("svg"!==s&&ui(e)?s="svg":"mathml"!==s&&pi(e)&&(s="mathml"),g||(u(e,n),gi(t,!1)))};g&&(u(n,c),gi(t,!0)),di(t.props)?Uo((()=>{p(),t.el.__isMounted=!0}),o):p()}else{if(di(t.props)&&!e.el.__isMounted)return void Uo((()=>{fi.process(e,t,n,i,r,o,s,a,l,c),delete e.el.__isMounted}),o);t.el=e.el,t.targetStart=e.targetStart;const d=t.anchor=e.anchor,h=t.target=e.target,m=t.targetAnchor=e.targetAnchor,v=ci(e.props),y=v?n:h,S=v?d:m;if("svg"===s||ui(h)?s="svg":("mathml"===s||pi(h))&&(s="mathml"),E?(p(e.dynamicChildren,E,y,r,o,s,a),$o(e,t,!0)):l||u(e,t,y,S,r,o,s,a,!1),g)v?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):mi(t,n,d,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=hi(t.props,f);e&&mi(t,e,null,c,0)}else v&&mi(t,h,m,c,1);gi(t,g)}},remove(e,t,n,{um:i,o:{remove:r}},o){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:d,target:u,props:p}=e;if(u&&(r(c),r(d)),o&&r(l),16&s){const e=o||!ci(p);for(let r=0;r<a.length;r++){const o=a[r];i(o,t,n,e,!!o.dynamicChildren)}}},move:mi,hydrate:function(e,t,n,i,r,o,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:c,createText:d}},u){const p=t.target=hi(t.props,l);if(p){const l=ci(t.props),h=p._lpa||p.firstChild;if(16&t.shapeFlag)if(l)t.anchor=u(s(e),t,a(e),n,i,r,o),t.targetStart=h,t.targetAnchor=h&&s(h);else{t.anchor=s(e);let a=h;for(;a;){if(a&&8===a.nodeType)if("teleport start anchor"===a.data)t.targetStart=a;else if("teleport anchor"===a.data){t.targetAnchor=a,p._lpa=t.targetAnchor&&s(t.targetAnchor);break}a=s(a)}t.targetAnchor||yi(p,t,d,c),u(h&&s(h),t,p,n,i,r,o)}gi(t,l)}return t.anchor&&s(t.anchor)}};function mi(e,t,n,{o:{insert:i},m:r},o=2){0===o&&i(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:d}=e,u=2===o;if(u&&i(s,t,n),(!u||ci(d))&&16&l)for(let e=0;e<c.length;e++)r(c[e],t,n,2);u&&i(a,t,n)}const vi=fi;function gi(e,t){const n=e.ctx;if(n&&n.ut){let i,r;for(t?(i=e.el,r=e.anchor):(i=e.targetStart,r=e.targetAnchor);i&&i!==r;)1===i.nodeType&&i.setAttribute("data-v-owner",n.uid),i=i.nextSibling;n.ut()}}function yi(e,t,n,i){const r=t.targetStart=n(""),o=t.targetAnchor=n("");return r[ai]=o,e&&(i(r,e),i(o,e)),o}const Si=Symbol("_leaveCb"),Ei=Symbol("_enterCb");function _i(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gr((()=>{e.isMounted=!0})),Er((()=>{e.isUnmounting=!0})),e}const bi=[Function,Array],Ii={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:bi,onEnter:bi,onAfterEnter:bi,onEnterCancelled:bi,onBeforeLeave:bi,onLeave:bi,onAfterLeave:bi,onLeaveCancelled:bi,onBeforeAppear:bi,onAppear:bi,onAfterAppear:bi,onAppearCancelled:bi},Ti=e=>{const t=e.subTree;return t.component?Ti(t.component):t};function Ci(e){let t=e[0];if(e.length>1){let n=!1;for(const i of e)if(i.type!==Cs){t=i,n=!0;break}}return t}const ki={name:"BaseTransition",props:Ii,setup(e,{slots:t}){const n=ra(),i=_i();return()=>{const r=t.default&&wi(t.default(),!0);if(!r||!r.length)return;const o=Ci(r),s=Ut(e),{mode:a}=s;if(i.isLeaving)return Ni(o);const l=Ri(o);if(!l)return Ni(o);let c=Ai(l,s,i,n,(e=>c=e));l.type!==Cs&&Pi(l,c);let d=n.subTree&&Ri(n.subTree);if(d&&d.type!==Cs&&!Ms(l,d)&&Ti(n).type!==Cs){let e=Ai(d,s,i,n);if(Pi(d,e),"out-in"===a&&l.type!==Cs)return i.isLeaving=!0,e.afterLeave=()=>{i.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,d=void 0},Ni(o);"in-out"===a&&l.type!==Cs?e.delayLeave=(e,t,n)=>{Oi(i,d)[String(d.key)]=d,e[Si]=()=>{t(),e[Si]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return o}}};function Oi(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Ai(e,t,n,i,r){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:p,onLeave:h,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:v,onAppear:g,onAfterAppear:y,onAppearCancelled:S}=t,_=String(e.key),b=Oi(n,e),I=(e,t)=>{e&&Cn(e,i,9,t)},T=(e,t)=>{const n=t[1];I(e,t),E(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:s,persisted:a,beforeEnter(t){let i=l;if(!n.isMounted){if(!o)return;i=v||l}t[Si]&&t[Si](!0);const r=b[_];r&&Ms(e,r)&&r.el[Si]&&r.el[Si](),I(i,[t])},enter(e){let t=c,i=d,r=u;if(!n.isMounted){if(!o)return;t=g||c,i=y||d,r=S||u}let s=!1;const a=e[Ei]=t=>{s||(s=!0,I(t?r:i,[e]),C.delayedLeave&&C.delayedLeave(),e[Ei]=void 0)};t?T(t,[e,a]):a()},leave(t,i){const r=String(e.key);if(t[Ei]&&t[Ei](!0),n.isUnmounting)return i();I(p,[t]);let o=!1;const s=t[Si]=n=>{o||(o=!0,i(),I(n?m:f,[t]),t[Si]=void 0,b[r]===e&&delete b[r])};b[r]=e,h?T(h,[t,s]):s()},clone(e){const o=Ai(e,t,n,i,r);return r&&r(o),o}};return C}function Ni(e){if(or(e))return(e=Ws(e)).children=null,e}function Ri(e){if(!or(e))return li(e.type)&&e.children?Ci(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&T(n.default))return n.default()}}function Pi(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Pi(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wi(e,t=!1,n){let i=[],r=0;for(let o=0;o<e.length;o++){let s=e[o];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:o);s.type===Is?(128&s.patchFlag&&r++,i=i.concat(wi(s.children,t,a))):(t||s.type!==Cs)&&i.push(null!=a?Ws(s,{key:a}):s)}if(r>1)for(let e=0;e<i.length;e++)i[e].patchFlag=-2;return i}function Di(e,t){return T(e)?(()=>v({name:e.name},t,{setup:e}))():e}function xi(){const e=ra();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Vi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Fi(e){const t=ra(),n=Kt(null);if(t){const i=t.refs===d?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function Li(e,t,n,i,r=!1){if(E(e))return void e.forEach(((e,o)=>Li(e,t&&(E(t)?t[o]:t),n,i,r)));if(nr(i)&&!r)return void(512&i.shapeFlag&&i.type.__asyncResolved&&i.component.subTree.component&&Li(e,t,n,i.component.subTree));const o=4&i.shapeFlag?Ea(i.component):i.el,s=r?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===d?a.refs={}:a.refs,p=a.setupState,h=Ut(p),f=p===d?()=>!1:e=>S(h,e);if(null!=c&&c!==l&&(C(c)?(u[c]=null,f(c)&&(p[c]=null)):Yt(c)&&(c.value=null)),T(l))Tn(l,a,12,[s,u]);else{const t=C(l),i=Yt(l);if(t||i){const a=()=>{if(e.f){const n=t?f(l)?p[l]:u[l]:l.value;r?E(n)&&g(n,o):E(n)?n.includes(o)||n.push(o):t?(u[l]=[o],f(l)&&(p[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else t?(u[l]=s,f(l)&&(p[l]=s)):i&&(l.value=s,e.k&&(u[e.k]=s))};s?(a.id=-1,Uo(a,n)):a()}}}let Mi=!1;const Bi=()=>{Mi||(Mi=!0)},Ui=e=>{if(1===e.nodeType)return(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0},ji=e=>8===e.nodeType;function Hi(e){const{mt:t,p:n,o:{patchProp:i,createText:r,nextSibling:o,parentNode:s,remove:a,insert:l,createComment:c}}=e,d=(n,i,a,c,f,S=!1)=>{S=S||!!i.dynamicChildren;const E=ji(n)&&"["===n.data,_=()=>m(n,i,a,c,f,E),{type:b,ref:I,shapeFlag:T,patchFlag:C}=i;let k=n.nodeType;i.el=n,__VUE_PROD_DEVTOOLS__&&(Y(n,"__vnode",i,!0),Y(n,"__vueParentComponent",a,!0)),-2===C&&(S=!1,i.dynamicChildren=null);let O=null;switch(b){case Ts:3!==k?""===i.children?(l(i.el=r(""),s(n),n),O=n):O=_():(n.data!==i.children&&(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(i.children)}`),Bi(),n.data=i.children),O=o(n));break;case Cs:y(n)?(O=o(n),g(i.el=n.content.firstChild,n,a)):O=8!==k||E?_():o(n);break;case ks:if(E&&(k=(n=o(n)).nodeType),1===k||3===k){O=n;const e=!i.children.length;for(let t=0;t<i.staticCount;t++)e&&(i.children+=1===O.nodeType?O.outerHTML:O.data),t===i.staticCount-1&&(i.anchor=O),O=o(O);return E?o(O):O}_();break;case Is:O=E?h(n,i,a,c,f,S):_();break;default:if(1&T)O=1===k&&i.type.toLowerCase()===n.tagName.toLowerCase()||y(n)?u(n,i,a,c,f,S):_();else if(6&T){i.slotScopeIds=f;const e=s(n);if(O=E?v(n):ji(n)&&"teleport start"===n.data?v(n,n.data,"teleport end"):o(n),t(i,e,null,a,c,Ui(e),S),nr(i)&&!i.type.__asyncResolved){let t;E?(t=Gs(Is),t.anchor=O?O.previousSibling:e.lastChild):t=3===n.nodeType?Ks(""):Gs("div"),t.el=n,i.component.subTree=t}}else 64&T?O=8!==k?_():i.type.hydrate(n,i,a,c,f,S,e,p):128&T?O=i.type.hydrate(n,i,a,c,Ui(s(n)),f,S,e,d):__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Invalid HostVNode type:",b,`(${typeof b})`)}return null!=I&&Li(I,null,c,i),O},u=(e,t,n,r,o,s)=>{s=s||!!t.dynamicChildren;const{type:l,props:c,patchFlag:d,shapeFlag:u,dirs:h,transition:m}=t,v="input"===l||"option"===l;if(v||-1!==d){h&&si(t,null,n,"created");let l,S=!1;if(y(e)){S=Ko(null,m)&&n&&n.vnode.props&&n.vnode.props.appear;const i=e.content.firstChild;S&&m.beforeEnter(i),g(i,e,n),t.el=e=i}if(16&u&&(!c||!c.innerHTML&&!c.textContent)){let i=p(e.firstChild,t,e,n,r,o,s),l=!1;for(;i;){zi(e,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!l&&(Sn("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),l=!0),Bi());const t=i;i=i.nextSibling,a(t)}}else if(8&u){let n=t.children;"\n"!==n[0]||"PRE"!==e.tagName&&"TEXTAREA"!==e.tagName||(n=n.slice(1)),e.textContent!==n&&(zi(e,0)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),Bi()),e.textContent=t.children)}if(c)if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||v||!s||48&d){const r=e.tagName.includes("-");for(const o in c)!__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||h&&h.some((e=>e.dir.created))||!Gi(e,o,c[o],t,n)||Bi(),(v&&(o.endsWith("value")||"indeterminate"===o)||f(o)&&!x(o)||"."===o[0]||r)&&i(e,o,null,c[o],void 0,n)}else if(c.onClick)i(e,"onClick",null,c.onClick,void 0,n);else if(4&d&&Ft(c.style))for(const e in c.style)c.style[e];(l=c&&c.onVnodeBeforeMount)&&Zs(l,n,t),h&&si(t,null,n,"beforeMount"),((l=c&&c.onVnodeMounted)||h||S)&&_s((()=>{l&&Zs(l,n,t),S&&m.enter(e),h&&si(t,null,n,"mounted")}),r)}return e.nextSibling},p=(e,t,i,s,a,c,u)=>{u=u||!!t.dynamicChildren;const p=t.children,h=p.length;let f=!1;for(let t=0;t<h;t++){const m=u?p[t]:p[t]=zs(p[t]),v=m.type===Ts;e?(v&&!u&&t+1<h&&zs(p[t+1]).type===Ts&&(l(r(e.data.slice(m.children.length)),i,o(e)),e.data=m.children),e=d(e,m,s,a,c,u)):v&&!m.children?l(m.el=r(""),i):(zi(i,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!f&&(Sn("Hydration children mismatch on",i,"\nServer rendered element contains fewer child nodes than client vdom."),f=!0),Bi()),n(null,m,i,null,s,a,Ui(i),c))}return e},h=(e,t,n,i,r,a)=>{const{slotScopeIds:d}=t;d&&(r=r?r.concat(d):d);const u=s(e),h=p(o(e),t,u,n,i,r,a);return h&&ji(h)&&"]"===h.data?o(t.anchor=h):(Bi(),l(t.anchor=c("]"),u,h),h)},m=(e,t,i,r,l,c)=>{if(zi(e.parentElement,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":ji(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),Bi()),t.el=null,c){const t=v(e);for(;;){const n=o(e);if(!n||n===t)break;a(n)}}const d=o(e),u=s(e);return a(e),n(null,t,u,d,i,r,Ui(u),l),i&&(i.vnode.el=t.el,fs(i,t.el)),d},v=(e,t="[",n="]")=>{let i=0;for(;e;)if((e=o(e))&&ji(e)&&(e.data===t&&i++,e.data===n)){if(0===i)return o(e);i--}return e},g=(e,t,n)=>{const i=t.parentNode;i&&i.replaceChild(e,t);let r=n;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},y=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Sn("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),Bn(),void(t._vnode=e);d(t.firstChild,e,null,null,null),Bn(),t._vnode=e},d]}function Gi(e,t,n,i,r){let o,s,a,l;if("class"===t)a=e.getAttribute("class"),l=te(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(Yi(a||""),Yi(l))||(o=2,s="class");else if("style"===t){a=e.getAttribute("style")||"",l=C(n)?n:function(e){if(!e)return"";if(C(e))return e;let t="";for(const n in e){const i=e[n];(C(i)||"number"==typeof i)&&(t+=`${n.startsWith("--")?n:B(n)}:${i};`)}return t}(X(n));const t=Wi(a),c=Wi(l);if(i.dirs)for(const{dir:e,value:t}of i.dirs)"show"!==e.name||t||c.set("display","none");r&&Ki(r,i,c),function(e,t){if(e.size!==t.size)return!1;for(const[n,i]of e)if(i!==t.get(n))return!1;return!0}(t,c)||(o=3,s="style")}else(e instanceof SVGElement&&le(t)||e instanceof HTMLElement&&(oe(t)||ae(t)))&&(oe(t)?(a=e.hasAttribute(t),l=se(n)):null==n?(a=e.hasAttribute(t),l=!1):(a=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,l=!!function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}(n)&&String(n)),a!==l&&(o=4,s=t));if(null!=o&&!zi(e,o)){const t=e=>!1===e?"(not rendered)":`${s}="${e}"`;return Sn(`Hydration ${qi[o]} mismatch on`,e,`\n - rendered on server: ${t(a)}\n - expected on client: ${t(l)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function Yi(e){return new Set(e.trim().split(/\s+/))}function Wi(e){const t=new Map;for(const n of e.split(";")){let[e,i]=n.split(":");e=e.trim(),i=i&&i.trim(),e&&i&&t.set(e,i)}return t}function Ki(e,t,n){const i=e.subTree;if(e.getCssVars&&(t===i||i&&i.type===Is&&i.children.includes(t))){const t=e.getCssVars();for(const e in t)n.set(`--${de(e,!1)}`,String(t[e]))}t===i&&e.parent&&Ki(e.parent,e.vnode,n)}const $i="data-allow-mismatch",qi={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function zi(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute($i);)e=e.parentElement;const n=e&&e.getAttribute($i);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||n.split(",").includes(qi[t])}}const Xi=q().requestIdleCallback||(e=>setTimeout(e,1)),Ji=q().cancelIdleCallback||(e=>clearTimeout(e)),Qi=(e=1e4)=>t=>{const n=Xi(t,{timeout:e});return()=>Ji(n)},Zi=e=>(t,n)=>{const i=new IntersectionObserver((e=>{for(const n of e)if(n.isIntersecting){i.disconnect(),t();break}}),e);return n((e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:i,right:r}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:s}=window;return(t>0&&t<o||i>0&&i<o)&&(n>0&&n<s||r>0&&r<s)}(e)?(t(),i.disconnect(),!1):void i.observe(e)})),()=>i.disconnect()},er=e=>t=>{if(e){const n=matchMedia(e);if(!n.matches)return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t);t()}},tr=(e=[])=>(t,n)=>{C(e)&&(e=[e]);let i=!1;const r=e=>{i||(i=!0,o(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},o=()=>{n((t=>{for(const n of e)t.removeEventListener(n,r)}))};return n((t=>{for(const n of e)t.addEventListener(n,r,{once:!0})})),o},nr=e=>!!e.type.__asyncLoader;function ir(e){T(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:r=200,hydrate:o,timeout:s,suspensible:a=!0,onError:l}=e;let c,d=null,u=0;const p=()=>{let e;return d||(e=d=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,d=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==d&&d?d:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return Di({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,t,n){const i=o?()=>{const i=o(n,(t=>function(e,t){if(ji(e)&&"["===e.data){let n=1,i=e.nextSibling;for(;i;){if(1===i.nodeType){if(!1===t(i))break}else if(ji(i))if("]"===i.data){if(0==--n)break}else"["===i.data&&n++;i=i.nextSibling}}else t(e)}(e,t)));i&&(t.bum||(t.bum=[])).push(i)}:n;c?i():p().then((()=>!t.isUnmounted&&i()))},get __asyncResolved(){return c},setup(){const e=ia;if(Vi(e),c)return()=>rr(c,e);const t=t=>{d=null,kn(t,e,13,!i)};if(a&&e.suspense||pa)return p().then((t=>()=>rr(t,e))).catch((e=>(t(e),()=>i?Gs(i,{error:e}):null)));const o=Wt(!1),l=Wt(),u=Wt(!!r);return r&&setTimeout((()=>{u.value=!1}),r),null!=s&&setTimeout((()=>{if(!o.value&&!l.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),l.value=e}}),s),p().then((()=>{o.value=!0,e.parent&&or(e.parent.vnode)&&e.parent.update()})).catch((e=>{t(e),l.value=e})),()=>o.value&&c?rr(c,e):l.value&&i?Gs(i,{error:l.value}):n&&!u.value?Gs(n):void 0}})}function rr(e,t){const{ref:n,props:i,children:r,ce:o}=t.vnode,s=Gs(e,i,r);return s.ref=n,s.ce=o,delete t.vnode.ce,s}const or=e=>e.type.__isKeepAlive,sr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ra(),i=n.ctx;if(!i.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=new Map,o=new Set;let s=null;__VUE_PROD_DEVTOOLS__&&(n.__v_cache=r);const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:u}}}=i,p=u("div");function h(e){pr(e),d(e,n,a,!0)}function f(e){r.forEach(((t,n)=>{const i=Ia(t.type);i&&!e(i)&&m(n)}))}function m(e){const t=r.get(e);!t||s&&Ms(t,s)?s&&pr(s):h(t),r.delete(e),o.delete(e)}i.activate=(e,t,n,i,r)=>{const o=e.component;c(e,t,n,0,a),l(o.vnode,e,t,n,o,a,i,e.slotScopeIds,r),Uo((()=>{o.isDeactivated=!1,o.a&&G(o.a);const t=e.props&&e.props.onVnodeMounted;t&&Zs(t,o.parent,e)}),a),__VUE_PROD_DEVTOOLS__&&$n(o)},i.deactivate=e=>{const t=e.component;zo(t.m),zo(t.a),c(e,p,null,1,a),Uo((()=>{t.da&&G(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Zs(n,t.parent,e),t.isDeactivated=!0}),a),__VUE_PROD_DEVTOOLS__&&$n(t)},ts((()=>[e.include,e.exclude]),(([e,t])=>{e&&f((t=>ar(e,t))),t&&f((e=>!ar(t,e)))}),{flush:"post",deep:!0});let v=null;const g=()=>{null!=v&&(ms(n.subTree.type)?Uo((()=>{r.set(v,hr(n.subTree))}),n.subTree.suspense):r.set(v,hr(n.subTree)))};return gr(g),Sr(g),Er((()=>{r.forEach((e=>{const{subTree:t,suspense:i}=n,r=hr(t);if(e.type!==r.type||e.key!==r.key)h(e);else{pr(r);const e=r.component.da;e&&Uo(e,i)}}))})),()=>{if(v=null,!t.default)return s=null;const n=t.default(),i=n[0];if(n.length>1)return s=null,n;if(!Ls(i)||!(4&i.shapeFlag||128&i.shapeFlag))return s=null,i;let a=hr(i);if(a.type===Cs)return s=null,a;const l=a.type,c=Ia(nr(a)?a.type.__asyncResolved||{}:l),{include:d,exclude:u,max:p}=e;if(d&&(!c||!ar(d,c))||u&&c&&ar(u,c))return a.shapeFlag&=-257,s=a,i;const h=null==a.key?l:a.key,f=r.get(h);return a.el&&(a=Ws(a),128&i.shapeFlag&&(i.ssContent=a)),v=h,f?(a.el=f.el,a.component=f.component,a.transition&&Pi(a,a.transition),a.shapeFlag|=512,o.delete(h),o.add(h)):(o.add(h),p&&o.size>parseInt(p,10)&&m(o.values().next().value)),a.shapeFlag|=256,s=a,ms(i.type)?i:a}}};function ar(e,t){return E(e)?e.some((e=>ar(e,t))):C(e)?e.split(",").includes(t):"[object RegExp]"===R(e)&&(e.lastIndex=0,e.test(t))}function lr(e,t){dr(e,"a",t)}function cr(e,t){dr(e,"da",t)}function dr(e,t,n=ia){const i=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(fr(t,i,n),n){let e=n.parent;for(;e&&e.parent;)or(e.parent.vnode)&&ur(i,t,n,e),e=e.parent}}function ur(e,t,n,i){const r=fr(t,e,i,!0);_r((()=>{g(i[t],r)}),n)}function pr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function hr(e){return 128&e.shapeFlag?e.ssContent:e}function fr(e,t,n=ia,i=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{je();const r=aa(n),o=Cn(t,n,e,i);return r(),He(),o});return i?r.unshift(o):r.push(o),o}}const mr=e=>(t,n=ia)=>{pa&&"sp"!==e||fr(e,((...e)=>t(...e)),n)},vr=mr("bm"),gr=mr("m"),yr=mr("bu"),Sr=mr("u"),Er=mr("bum"),_r=mr("um"),br=mr("sp"),Ir=mr("rtg"),Tr=mr("rtc");function Cr(e,t=ia){fr("ec",e,t)}const kr="components",Or="directives";function Ar(e,t){return wr(kr,e,!0,t)||e}const Nr=Symbol.for("v-ndc");function Rr(e){return C(e)?wr(kr,e,!1)||e:e||Nr}function Pr(e){return wr(Or,e)}function wr(e,t,n=!0,i=!1){const r=Qn||ia;if(r){const n=r.type;if(e===kr){const e=Ia(n,!1);if(e&&(e===t||e===L(t)||e===U(L(t))))return n}const o=Dr(r[e]||n[e],t)||Dr(r.appContext[e],t);return!o&&i?n:o}}function Dr(e,t){return e&&(e[t]||e[L(t)]||e[U(L(t))])}function xr(e,t,n,i){let r;const o=n&&n[i],s=E(e);if(s||C(e)){let n=!1;s&&Ft(e)&&(n=!Mt(e),e=tt(e)),r=new Array(e.length);for(let i=0,s=e.length;i<s;i++)r[i]=t(n?Ht(e[i]):e[i],i,void 0,o&&o[i])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,o&&o[n])}else if(O(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,o&&o[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let i=0,s=n.length;i<s;i++){const s=n[i];r[i]=t(e[s],s,i,o&&o[i])}}else r=[];return n&&(n[i]=r),r}function Vr(e,t){for(let n=0;n<t.length;n++){const i=t[n];if(E(i))for(let t=0;t<i.length;t++)e[i[t].name]=i[t].fn;else i&&(e[i.name]=i.key?(...e)=>{const t=i.fn(...e);return t&&(t.key=i.key),t}:i.fn)}return e}function Fr(e,t,n={},i,r){if(Qn.ce||Qn.parent&&nr(Qn.parent)&&Qn.parent.ce)return"default"!==t&&(n.name=t),Ns(),Fs(Is,null,[Gs("slot",n,i&&i())],64);let o=e[t];o&&o._c&&(o._d=!1),Ns();const s=o&&Lr(o(n)),a=n.key||s&&s.key,l=Fs(Is,{key:(a&&!k(a)?a:`_${t}`)+(!s&&i?"_fb":"")},s||(i?i():[]),s&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Lr(e){return e.some((e=>!Ls(e)||e.type!==Cs&&!(e.type===Is&&!Lr(e.children))))?e:null}function Mr(e,t){const n={};for(const i in e)n[t&&/[A-Z]/.test(i)?`on:${i}`:j(i)]=e[i];return n}const Br=e=>e?ca(e)?Ea(e):Br(e.parent):null,Ur=v(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Br(e.parent),$root:e=>Br(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?lo(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{Vn(e.update)}),$nextTick:e=>e.n||(e.n=xn.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?is.bind(e):p}),jr=(e,t)=>e!==d&&!e.__isScriptSetup&&S(e,t),Hr={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:i,data:r,props:o,accessCache:s,type:a,appContext:l}=e;let c;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return i[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(jr(i,t))return s[t]=1,i[t];if(r!==d&&S(r,t))return s[t]=2,r[t];if((c=e.propsOptions[0])&&S(c,t))return s[t]=3,o[t];if(n!==d&&S(n,t))return s[t]=4,n[t];__VUE_OPTIONS_API__&&!oo||(s[t]=0)}}const u=Ur[t];let p,h;return u?("$attrs"===t&&Qe(e.attrs,0,""),u(e)):(p=a.__cssModules)&&(p=p[t])?p:n!==d&&S(n,t)?(s[t]=4,n[t]):(h=l.config.globalProperties,S(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:i,setupState:r,ctx:o}=e;return jr(r,t)?(r[t]=n,!0):i!==d&&S(i,t)?(i[t]=n,!0):!(S(e.props,t)||"$"===t[0]&&t.slice(1)in e||(o[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOptions:o}},s){let a;return!!n[s]||e!==d&&S(e,s)||jr(t,s)||(a=o[0])&&S(a,s)||S(i,s)||S(Ur,s)||S(r.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:S(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Gr=v({},Hr,{get(e,t){if(t!==Symbol.unscopables)return Hr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!z(t)});function Yr(){return null}function Wr(){return null}function Kr(e){}function $r(e){}function qr(){return null}function zr(){}function Xr(e,t){return null}function Jr(){return Zr().slots}function Qr(){return Zr().attrs}function Zr(){const e=ra();return e.setupContext||(e.setupContext=Sa(e))}function eo(e){return E(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function to(e,t){const n=eo(e);for(const e in t){if(e.startsWith("__skip"))continue;let i=n[e];i?E(i)||T(i)?i=n[e]={type:i,default:t[e]}:i.default=t[e]:null===i&&(i=n[e]={default:t[e]}),i&&t[`__skip_${e}`]&&(i.skipFactory=!0)}return n}function no(e,t){return e&&t?E(e)&&E(t)?e.concat(t):v({},eo(e),eo(t)):e||t}function io(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n}function ro(e){const t=ra();let n=e();return la(),A(n)&&(n=n.catch((e=>{throw aa(t),e}))),[n,()=>aa(t)]}let oo=!0;function so(e,t,n){Cn(E(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ao(e,t,n,i){let r=i.includes(".")?rs(n,i):()=>n[i];if(C(e)){const n=t[e];T(n)&&ts(r,n)}else if(T(e))ts(r,e.bind(n));else if(O(e))if(E(e))e.forEach((e=>ao(e,t,n,i)));else{const i=T(e.handler)?e.handler.bind(n):t[e.handler];T(i)&&ts(r,i,e)}}function lo(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,a=o.get(t);let l;return a?l=a:r.length||n||i?(l={},r.length&&r.forEach((e=>co(l,e,s,!0))),co(l,t,s)):l=t,O(t)&&o.set(t,l),l}function co(e,t,n,i=!1){const{mixins:r,extends:o}=t;o&&co(e,o,n,!0),r&&r.forEach((t=>co(e,t,n,!0)));for(const r in t)if(i&&"expose"===r);else{const i=uo[r]||n&&n[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const uo={data:po,props:vo,emits:vo,methods:mo,computed:mo,beforeCreate:fo,created:fo,beforeMount:fo,mounted:fo,beforeUpdate:fo,updated:fo,beforeDestroy:fo,beforeUnmount:fo,destroyed:fo,unmounted:fo,activated:fo,deactivated:fo,errorCaptured:fo,serverPrefetch:fo,components:mo,directives:mo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=v(Object.create(null),e);for(const i in t)n[i]=fo(e[i],t[i]);return n},provide:po,inject:function(e,t){return mo(ho(e),ho(t))}};function po(e,t){return t?e?function(){return v(T(e)?e.call(this,this):e,T(t)?t.call(this,this):t)}:t:e}function ho(e){if(E(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function fo(e,t){return e?[...new Set([].concat(e,t))]:t}function mo(e,t){return e?v(Object.create(null),e,t):t}function vo(e,t){return e?E(e)&&E(t)?[...new Set([...e,...t])]:v(Object.create(null),eo(e),eo(null!=t?t:{})):t}function go(){return{app:null,config:{isNativeTag:h,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let yo=0;function So(e,t){return function(n,i=null){T(n)||(n=v({},n)),null==i||O(i)||(i=null);const r=go(),o=new WeakSet,s=[];let a=!1;const l=r.app={_uid:yo++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:Ra,get config(){return r.config},set config(e){},use:(e,...t)=>(o.has(e)||(e&&T(e.install)?(o.add(e),e.install(l,...t)):T(e)&&(o.add(e),e(l,...t))),l),mixin:e=>(__VUE_OPTIONS_API__&&(r.mixins.includes(e)||r.mixins.push(e)),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(o,s,c){if(!a){const d=l._ceVNode||Gs(n,i);return d.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),s&&t?t(d,o):e(d,o,c),a=!0,l._container=o,o.__vue_app__=l,__VUE_PROD_DEVTOOLS__&&(l._instance=d.component,function(e,t){Wn("app:init",e,t,{Fragment:Is,Text:Ts,Comment:Cs,Static:ks})}(l,Ra)),Ea(d.component)}},onUnmount(e){s.push(e)},unmount(){a&&(Cn(s,l._instance,16),e(null,l._container),__VUE_PROD_DEVTOOLS__&&(l._instance=null,function(e){Wn("app:unmount",e)}(l)),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l),runWithContext(e){const t=Eo;Eo=l;try{return e()}finally{Eo=t}}};return l}}let Eo=null;function _o(e,t){if(ia){let n=ia.provides;const i=ia.parent&&ia.parent.provides;i===n&&(n=ia.provides=Object.create(i)),n[e]=t}}function bo(e,t,n=!1){const i=ia||Qn;if(i||Eo){const r=Eo?Eo._context.provides:i?null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&T(t)?t.call(i&&i.proxy):t}}function Io(){return!!(ia||Qn||Eo)}const To={},Co=()=>Object.create(To),ko=e=>Object.getPrototypeOf(e)===To;function Oo(e,t,n,i){const[r,o]=e.propsOptions;let s,a=!1;if(t)for(let l in t){if(x(l))continue;const c=t[l];let d;r&&S(r,d=L(l))?o&&o.includes(d)?(s||(s={}))[d]=c:n[d]=c:cs(e.emitsOptions,l)||l in i&&c===i[l]||(i[l]=c,a=!0)}if(o){const t=Ut(n),i=s||d;for(let s=0;s<o.length;s++){const a=o[s];n[a]=Ao(r,t,a,i[a],e,!S(i,a))}}return a}function Ao(e,t,n,i,r,o){const s=e[n];if(null!=s){const e=S(s,"default");if(e&&void 0===i){const e=s.default;if(s.type!==Function&&!s.skipFactory&&T(e)){const{propsDefaults:o}=r;if(n in o)i=o[n];else{const s=aa(r);i=o[n]=e.call(null,t),s()}}else i=e;r.ce&&r.ce._setProp(n,i)}s[0]&&(o&&!e?i=!1:!s[1]||""!==i&&i!==B(n)||(i=!0))}return i}const No=new WeakMap;function Ro(e,t,n=!1){const i=__VUE_OPTIONS_API__&&n?No:t.propsCache,r=i.get(e);if(r)return r;const o=e.props,s={},a=[];let l=!1;if(__VUE_OPTIONS_API__&&!T(e)){const i=e=>{l=!0;const[n,i]=Ro(e,t,!0);v(s,n),i&&a.push(...i)};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}if(!o&&!l)return O(e)&&i.set(e,u),u;if(E(o))for(let e=0;e<o.length;e++){const t=L(o[e]);Po(t)&&(s[t]=d)}else if(o)for(const e in o){const t=L(e);if(Po(t)){const n=o[e],i=s[t]=E(n)||T(n)?{type:n}:v({},n),r=i.type;let l=!1,c=!0;if(E(r))for(let e=0;e<r.length;++e){const t=r[e],n=T(t)&&t.name;if("Boolean"===n){l=!0;break}"String"===n&&(c=!1)}else l=T(r)&&"Boolean"===r.name;i[0]=l,i[1]=c,(l||S(i,"default"))&&a.push(t)}}const c=[s,a];return O(e)&&i.set(e,c),c}function Po(e){return"$"!==e[0]&&!x(e)}const wo=e=>"_"===e[0]||"$stable"===e,Do=e=>E(e)?e.map(zs):[zs(e)],xo=(e,t,n)=>{if(t._n)return t;const i=ri(((...e)=>Do(t(...e))),n);return i._c=!1,i},Vo=(e,t,n)=>{const i=e._ctx;for(const n in e){if(wo(n))continue;const r=e[n];if(T(r))t[n]=xo(0,r,i);else if(null!=r){const e=Do(r);t[n]=()=>e}}},Fo=(e,t)=>{const n=Do(t);e.slots.default=()=>n},Lo=(e,t,n)=>{for(const i in t)(n||"_"!==i)&&(e[i]=t[i])},Mo=(e,t,n)=>{const i=e.slots=Co();if(32&e.vnode.shapeFlag){const e=t._;e?(Lo(i,t,n),n&&Y(i,"_",e,!0)):Vo(t,i)}else t&&Fo(e,t)},Bo=(e,t,n)=>{const{vnode:i,slots:r}=e;let o=!0,s=d;if(32&i.shapeFlag){const e=t._;e?n&&1===e?o=!1:Lo(r,t,n):(o=!t.$stable,Vo(t,r)),s=t}else t&&(Fo(e,t),s={default:1});if(o)for(const e in r)wo(e)||null!=s[e]||delete r[e]},Uo=_s;function jo(e){return Go(e)}function Ho(e){return Go(e,Hi)}function Go(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&(q().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(q().__VUE_PROD_DEVTOOLS__=!1),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(q().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);const n=q();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&Kn(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:r,patchProp:o,createElement:s,createText:a,createComment:l,setText:c,setElementText:h,parentNode:f,nextSibling:m,setScopeId:v=p,insertStaticContent:g}=e,y=(e,t,n,i=null,r=null,o=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ms(e,t)&&(i=J(e),W(e,r,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:d,shapeFlag:u}=t;switch(c){case Ts:E(e,t,n,i);break;case Cs:_(e,t,n,i);break;case ks:null==e&&b(t,n,i,s);break;case Is:R(e,t,n,i,r,o,s,a,l);break;default:1&u?I(e,t,n,i,r,o,s,a,l):6&u?P(e,t,n,i,r,o,s,a,l):(64&u||128&u)&&c.process(e,t,n,i,r,o,s,a,l,ee)}null!=d&&r&&Li(d,e&&e.ref,o,t||e,!t)},E=(e,t,n,r)=>{if(null==e)i(t.el=a(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},_=(e,t,n,r)=>{null==e?i(t.el=l(t.children||""),n,r):t.el=e.el},b=(e,t,n,i)=>{[e.el,e.anchor]=g(e.children,t,n,i,e.el,e.anchor)},I=(e,t,n,i,r,o,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?T(t,n,i,r,o,s,a,l):O(e,t,r,o,s,a,l)},T=(e,t,n,r,a,l,c,d)=>{let u,p;const{props:f,shapeFlag:m,transition:v,dirs:g}=e;if(u=e.el=s(e.type,l,f&&f.is,f),8&m?h(u,e.children):16&m&&k(e.children,u,null,r,a,Yo(e,l),c,d),g&&si(e,null,r,"created"),C(u,e,e.scopeId,c,r),f){for(const e in f)"value"===e||x(e)||o(u,e,null,f[e],l,r);"value"in f&&o(u,"value",null,f.value,l),(p=f.onVnodeBeforeMount)&&Zs(p,r,e)}__VUE_PROD_DEVTOOLS__&&(Y(u,"__vnode",e,!0),Y(u,"__vueParentComponent",r,!0)),g&&si(e,null,r,"beforeMount");const y=Ko(a,v);y&&v.beforeEnter(u),i(u,t,n),((p=f&&f.onVnodeMounted)||y||g)&&Uo((()=>{p&&Zs(p,r,e),y&&v.enter(u),g&&si(e,null,r,"mounted")}),a)},C=(e,t,n,i,r)=>{if(n&&v(e,n),i)for(let t=0;t<i.length;t++)v(e,i[t]);if(r){let n=r.subTree;if(t===n||ms(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=r.vnode;C(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},k=(e,t,n,i,r,o,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Xs(e[c]):zs(e[c]);y(null,l,t,n,i,r,o,s,a)}},O=(e,t,n,i,r,s,a)=>{const l=t.el=e.el;__VUE_PROD_DEVTOOLS__&&(l.__vnode=t);let{patchFlag:c,dynamicChildren:u,dirs:p}=t;c|=16&e.patchFlag;const f=e.props||d,m=t.props||d;let v;if(n&&Wo(n,!1),(v=m.onVnodeBeforeUpdate)&&Zs(v,n,t,e),p&&si(t,e,n,"beforeUpdate"),n&&Wo(n,!0),(f.innerHTML&&null==m.innerHTML||f.textContent&&null==m.textContent)&&h(l,""),u?A(e.dynamicChildren,u,l,n,i,Yo(t,r),s):a||M(e,t,l,null,n,i,Yo(t,r),s,!1),c>0){if(16&c)N(l,f,m,n,r);else if(2&c&&f.class!==m.class&&o(l,"class",null,m.class,r),4&c&&o(l,"style",f.style,m.style,r),8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const i=e[t],s=f[i],a=m[i];a===s&&"value"!==i||o(l,i,s,a,r,n)}}1&c&&e.children!==t.children&&h(l,t.children)}else a||null!=u||N(l,f,m,n,r);((v=m.onVnodeUpdated)||p)&&Uo((()=>{v&&Zs(v,n,t,e),p&&si(t,e,n,"updated")}),i)},A=(e,t,n,i,r,o,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],d=l.el&&(l.type===Is||!Ms(l,c)||70&l.shapeFlag)?f(l.el):n;y(l,c,d,null,i,r,o,s,!0)}},N=(e,t,n,i,r)=>{if(t!==n){if(t!==d)for(const s in t)x(s)||s in n||o(e,s,t[s],null,r,i);for(const s in n){if(x(s))continue;const a=n[s],l=t[s];a!==l&&"value"!==s&&o(e,s,l,a,r,i)}"value"in n&&o(e,"value",t.value,n.value,r)}},R=(e,t,n,r,o,s,l,c,d)=>{const u=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(i(u,n,r),i(p,n,r),k(t.children||[],n,p,o,s,l,c,d)):h>0&&64&h&&f&&e.dynamicChildren?(A(e.dynamicChildren,f,n,o,s,l,c),(null!=t.key||o&&t===o.subTree)&&$o(e,t,!0)):M(e,t,n,p,o,s,l,c,d)},P=(e,t,n,i,r,o,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,i,s,l):w(t,n,i,r,o,s,l):D(e,t,l)},w=(e,t,n,i,r,o,s)=>{const a=e.component=na(e,i,r);if(or(e)&&(a.ctx.renderer=ee),ha(a,!1,s),a.asyncDep){if(r&&r.registerDep(a,V,s),!e.el){const e=a.subTree=Gs(Cs);_(null,e,t,n)}}else V(a,e,t,n,r,o,s)},D=(e,t,n)=>{const i=t.component=e.component;if(function(e,t,n){const{props:i,children:r,component:o}=e,{props:s,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||i!==s&&(i?!s||hs(i,s,c):!!s);if(1024&l)return!0;if(16&l)return i?hs(i,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==i[n]&&!cs(c,n))return!0}}return!1}(e,t,n)){if(i.asyncDep&&!i.asyncResolved)return void F(i,t,n);i.next=t,i.update()}else t.el=e.el,i.vnode=t},V=(e,t,n,i,r,o,s)=>{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:i,parent:l,vnode:c}=e;{const n=qo(e);if(n)return t&&(t.el=c.el,F(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||a()}))}let d,u=t;Wo(e,!1),t?(t.el=c.el,F(e,t,s)):t=c,n&&G(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Zs(d,l,t,c),Wo(e,!0);const p=ds(e),h=e.subTree;e.subTree=p,y(h,p,f(h.el),J(h),e,r,o),t.el=p.el,null===u&&fs(e,p.el),i&&Uo(i,r),(d=t.props&&t.props.onVnodeUpdated)&&Uo((()=>Zs(d,l,t,c)),r),__VUE_PROD_DEVTOOLS__&&qn(e)}else{let s;const{el:a,props:l}=t,{bm:c,m:d,parent:u,root:p,type:h}=e,f=nr(t);if(Wo(e,!1),c&&G(c),!f&&(s=l&&l.onVnodeBeforeMount)&&Zs(s,u,t),Wo(e,!0),a&&ne){const t=()=>{e.subTree=ds(e),ne(a,e.subTree,e,r,null)};f&&h.__asyncHydrate?h.__asyncHydrate(a,e,t):t()}else{p.ce&&p.ce._injectChildStyle(h);const s=e.subTree=ds(e);y(null,s,n,i,e,r,o),t.el=s.el}if(d&&Uo(d,r),!f&&(s=l&&l.onVnodeMounted)){const e=t;Uo((()=>Zs(s,u,e)),r)}(256&t.shapeFlag||u&&nr(u.vnode)&&256&u.vnode.shapeFlag)&&e.a&&Uo(e.a,r),e.isMounted=!0,__VUE_PROD_DEVTOOLS__&&$n(e),t=n=i=null}};e.scope.on();const l=e.effect=new Te(a);e.scope.off();const c=e.update=l.run.bind(l),d=e.job=l.runIfDirty.bind(l);d.i=e,d.id=e.uid,l.scheduler=()=>Vn(d),Wo(e,!0),c()},F=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:r,attrs:o,vnode:{patchFlag:s}}=e,a=Ut(r),[l]=e.propsOptions;let c=!1;if(!(i||s>0)||16&s){let i;Oo(e,t,r,o)&&(c=!0);for(const o in a)t&&(S(t,o)||(i=B(o))!==o&&S(t,i))||(l?!n||void 0===n[o]&&void 0===n[i]||(r[o]=Ao(l,a,o,void 0,e,!0)):delete r[o]);if(o!==a)for(const e in o)t&&S(t,e)||(delete o[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let i=0;i<n.length;i++){let s=n[i];if(cs(e.emitsOptions,s))continue;const d=t[s];if(l)if(S(o,s))d!==o[s]&&(o[s]=d,c=!0);else{const t=L(s);r[t]=Ao(l,a,t,d,e,!1)}else d!==o[s]&&(o[s]=d,c=!0)}}c&&Ze(e.attrs,"set","")}(e,t.props,i,n),Bo(e,t.children,n),je(),Mn(e),He()},M=(e,t,n,i,r,o,s,a,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,u=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void j(c,u,n,i,r,o,s,a,l);if(256&p)return void U(c,u,n,i,r,o,s,a,l)}8&f?(16&d&&X(c,r,o),u!==c&&h(n,u)):16&d?16&f?j(c,u,n,i,r,o,s,a,l):X(c,r,o,!0):(8&d&&h(n,""),16&f&&k(u,n,i,r,o,s,a,l))},U=(e,t,n,i,r,o,s,a,l)=>{t=t||u;const c=(e=e||u).length,d=t.length,p=Math.min(c,d);let h;for(h=0;h<p;h++){const i=t[h]=l?Xs(t[h]):zs(t[h]);y(e[h],i,n,null,r,o,s,a,l)}c>d?X(e,r,o,!0,!1,p):k(t,n,i,r,o,s,a,l,p)},j=(e,t,n,i,r,o,s,a,l)=>{let c=0;const d=t.length;let p=e.length-1,h=d-1;for(;c<=p&&c<=h;){const i=e[c],d=t[c]=l?Xs(t[c]):zs(t[c]);if(!Ms(i,d))break;y(i,d,n,null,r,o,s,a,l),c++}for(;c<=p&&c<=h;){const i=e[p],c=t[h]=l?Xs(t[h]):zs(t[h]);if(!Ms(i,c))break;y(i,c,n,null,r,o,s,a,l),p--,h--}if(c>p){if(c<=h){const e=h+1,u=e<d?t[e].el:i;for(;c<=h;)y(null,t[c]=l?Xs(t[c]):zs(t[c]),n,u,r,o,s,a,l),c++}}else if(c>h)for(;c<=p;)W(e[c],r,o,!0),c++;else{const f=c,m=c,v=new Map;for(c=m;c<=h;c++){const e=t[c]=l?Xs(t[c]):zs(t[c]);null!=e.key&&v.set(e.key,c)}let g,S=0;const E=h-m+1;let _=!1,b=0;const I=new Array(E);for(c=0;c<E;c++)I[c]=0;for(c=f;c<=p;c++){const i=e[c];if(S>=E){W(i,r,o,!0);continue}let d;if(null!=i.key)d=v.get(i.key);else for(g=m;g<=h;g++)if(0===I[g-m]&&Ms(i,t[g])){d=g;break}void 0===d?W(i,r,o,!0):(I[d-m]=c+1,d>=b?b=d:_=!0,y(i,t[d],n,null,r,o,s,a,l),S++)}const T=_?function(e){const t=e.slice(),n=[0];let i,r,o,s,a;const l=e.length;for(i=0;i<l;i++){const l=e[i];if(0!==l){if(r=n[n.length-1],e[r]<l){t[i]=r,n.push(i);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,e[n[a]]<l?o=a+1:s=a;l<e[n[o]]&&(o>0&&(t[i]=n[o-1]),n[o]=i)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}(I):u;for(g=T.length-1,c=E-1;c>=0;c--){const e=m+c,u=t[e],p=e+1<d?t[e+1].el:i;0===I[c]?y(null,u,n,p,r,o,s,a,l):_&&(g<0||c!==T[g]?H(u,n,p,2):g--)}}},H=(e,t,n,r,o=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:d}=e;if(6&d)H(e.component.subTree,t,n,r);else if(128&d)e.suspense.move(t,n,r);else if(64&d)a.move(e,t,n,ee);else if(a!==Is)if(a!==ks)if(2!==r&&1&d&&l)if(0===r)l.beforeEnter(s),i(s,t,n),Uo((()=>l.enter(s)),o);else{const{leave:e,delayLeave:r,afterLeave:o}=l,a=()=>i(s,t,n),c=()=>{e(s,(()=>{a(),o&&o()}))};r?r(s,a,c):c()}else i(s,t,n);else(({el:e,anchor:t},n,r)=>{let o;for(;e&&e!==t;)o=m(e),i(e,n,r),e=o;i(t,n,r)})(e,t,n);else{i(s,t,n);for(let e=0;e<c.length;e++)H(c[e],t,n,r);i(e.anchor,t,n)}},W=(e,t,n,i=!1,r=!1)=>{const{type:o,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:d,patchFlag:u,dirs:p,cacheIndex:h}=e;if(-2===u&&(r=!1),null!=a&&Li(a,null,n,e,!0),null!=h&&(t.renderCache[h]=void 0),256&d)return void t.ctx.deactivate(e);const f=1&d&&p,m=!nr(e);let v;if(m&&(v=s&&s.onVnodeBeforeUnmount)&&Zs(v,t,e),6&d)z(e.component,n,i);else{if(128&d)return void e.suspense.unmount(n,i);f&&si(e,null,t,"beforeUnmount"),64&d?e.type.remove(e,t,n,ee,i):c&&!c.hasOnce&&(o!==Is||u>0&&64&u)?X(c,t,n,!1,!0):(o===Is&&384&u||!r&&16&d)&&X(l,t,n),i&&K(e)}(m&&(v=s&&s.onVnodeUnmounted)||f)&&Uo((()=>{v&&Zs(v,t,e),f&&si(e,null,t,"unmounted")}),n)},K=e=>{const{type:t,el:n,anchor:i,transition:o}=e;if(t===Is)return void $(n,i);if(t===ks)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),r(e),e=n;r(t)})(e);const s=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:i}=o,r=()=>t(n,s);i?i(e.el,s,r):r()}else s()},$=(e,t)=>{let n;for(;e!==t;)n=m(e),r(e),e=n;r(t)},z=(e,t,n)=>{const{bum:i,scope:r,job:o,subTree:s,um:a,m:l,a:c}=e;zo(l),zo(c),i&&G(i),r.stop(),o&&(o.flags|=8,W(s,e,t,n)),a&&Uo(a,t),Uo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve()),__VUE_PROD_DEVTOOLS__&&Xn(e)},X=(e,t,n,i=!1,r=!1,o=0)=>{for(let s=o;s<e.length;s++)W(e[s],t,n,i,r)},J=e=>{if(6&e.shapeFlag)return J(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=m(e.anchor||e.el),n=t&&t[ai];return n?m(n):t};let Q=!1;const Z=(e,t,n)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Q||(Q=!0,Mn(),Bn(),Q=!1)},ee={p:y,um:W,m:H,r:K,mt:w,mc:k,pc:M,pbc:A,n:J,o:e};let te,ne;return t&&([te,ne]=t(ee)),{render:Z,hydrate:te,createApp:So(Z,te)}}function Yo({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Wo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ko(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $o(e,t,n=!1){const i=e.children,r=t.children;if(E(i)&&E(r))for(let e=0;e<i.length;e++){const t=i[e];let o=r[e];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=r[e]=Xs(r[e]),o.el=t.el),n||-2===o.patchFlag||$o(t,o)),o.type===Ts&&(o.el=t.el)}}function qo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qo(t)}function zo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Xo=Symbol.for("v-scx"),Jo=()=>bo(Xo);function Qo(e,t){return ns(e,null,t)}function Zo(e,t){return ns(e,null,{flush:"post"})}function es(e,t){return ns(e,null,{flush:"sync"})}function ts(e,t,n){return ns(e,t,n)}function ns(e,t,n=d){const{immediate:i,deep:r,flush:o,once:s}=n,a=v({},n),l=t&&i||!t&&"post"!==o;let c;if(pa)if("sync"===o){const e=Jo();c=e.__watcherHandles||(e.__watcherHandles=[])}else if(!l){const e=()=>{};return e.stop=p,e.resume=p,e.pause=p,e}const u=ia;a.call=(e,t,n)=>Cn(e,u,t,n);let h=!1;"post"===o?a.scheduler=e=>{Uo(e,u&&u.suspense)}:"sync"!==o&&(h=!0,a.scheduler=(e,t)=>{t?e():Vn(e)}),a.augmentJob=e=>{t&&(e.flags|=4),h&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};const f=function(e,t,n=d){const{immediate:i,deep:r,once:o,scheduler:s,augmentJob:a,call:l}=n,c=e=>r?e:Mt(e)||!1===r||0===r?vn(e,1):vn(e);let u,h,f,m,v=!1,y=!1;if(Yt(e)?(h=()=>e.value,v=Mt(e)):Ft(e)?(h=()=>c(e),v=!0):E(e)?(y=!0,v=e.some((e=>Ft(e)||Mt(e))),h=()=>e.map((e=>Yt(e)?e.value:Ft(e)?c(e):T(e)?l?l(e,2):e():void 0))):h=T(e)?t?l?()=>l(e,2):e:()=>{if(f){je();try{f()}finally{He()}}const t=hn;hn=u;try{return l?l(e,3,[m]):e(m)}finally{hn=t}}:p,t&&r){const e=h,t=!0===r?1/0:r;h=()=>vn(e(),t)}const S=_e(),_=()=>{u.stop(),S&&S.active&&g(S.effects,u)};if(o&&t){const e=t;t=(...t)=>{e(...t),_()}}let b=y?new Array(e.length).fill(un):un;const I=e=>{if(1&u.flags&&(u.dirty||e))if(t){const e=u.run();if(r||v||(y?e.some(((e,t)=>H(e,b[t]))):H(e,b))){f&&f();const n=hn;hn=u;try{const n=[e,b===un?void 0:y&&b[0]===un?[]:b,m];l?l(t,3,n):t(...n),b=e}finally{hn=n}}}else u.run()};return a&&a(I),u=new Te(h),u.scheduler=s?()=>s(I,!1):I,m=e=>mn(e,!1,u),f=u.onStop=()=>{const e=pn.get(u);if(e){if(l)l(e,4);else for(const t of e)t();pn.delete(u)}},t?i?I(!0):b=u.run():s?s(I.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}(e,t,a);return pa&&(c?c.push(f):l&&f()),f}function is(e,t,n){const i=this.proxy,r=C(e)?e.includes(".")?rs(i,e):()=>i[e]:e.bind(i,i);let o;T(t)?o=t:(o=t.handler,n=t);const s=aa(this),a=ns(r,o.bind(i),n);return s(),a}function rs(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function os(e,t,n=d){const i=ra(),r=L(t),o=B(t),s=ss(e,r),a=tn(((s,a)=>{let l,c,u=d;return es((()=>{const t=e[r];H(l,t)&&(l=t,a())})),{get:()=>(s(),n.get?n.get(l):l),set(e){const s=n.set?n.set(e):e;if(!(H(s,l)||u!==d&&H(e,u)))return;const p=i.vnode.props;p&&(t in p||r in p||o in p)&&(`onUpdate:${t}`in p||`onUpdate:${r}`in p||`onUpdate:${o}`in p)||(l=e,a()),i.emit(`update:${t}`,s),H(e,s)&&H(e,u)&&!H(s,c)&&a(),u=e,c=s}}}));return a[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?s||d:a,done:!1}:{done:!0}}},a}const ss=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${L(t)}Modifiers`]||e[`${B(t)}Modifiers`];function as(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||d;let r=n;const o=t.startsWith("update:"),s=o&&ss(i,t.slice(7));let a;s&&(s.trim&&(r=n.map((e=>C(e)?e.trim():e))),s.number&&(r=n.map(W))),__VUE_PROD_DEVTOOLS__&&function(e,t,n){Wn("component:emit",e.appContext.app,e,t,n)}(e,t,r);let l=i[a=j(t)]||i[a=j(L(t))];!l&&o&&(l=i[a=j(B(t))]),l&&Cn(l,e,6,r);const c=i[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,Cn(c,e,6,r)}}function ls(e,t,n=!1){const i=t.emitsCache,r=i.get(e);if(void 0!==r)return r;const o=e.emits;let s={},a=!1;if(__VUE_OPTIONS_API__&&!T(e)){const i=e=>{const n=ls(e,t,!0);n&&(a=!0,v(s,n))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return o||a?(E(o)?o.forEach((e=>s[e]=null)):v(s,o),O(e)&&i.set(e,s),s):(O(e)&&i.set(e,null),null)}function cs(e,t){return!(!e||!f(t))&&(t=t.slice(2).replace(/Once$/,""),S(e,t[0].toLowerCase()+t.slice(1))||S(e,B(t))||S(e,t))}function ds(e){const{type:t,vnode:n,proxy:i,withProxy:r,propsOptions:[o],slots:s,attrs:a,emit:l,render:c,renderCache:d,props:u,data:p,setupState:h,ctx:f,inheritAttrs:v}=e,g=ei(e);let y,S;try{if(4&n.shapeFlag){const e=r||i,t=e;y=zs(c.call(t,e,d,u,h,p,f)),S=a}else{const e=t;y=zs(e.length>1?e(u,{attrs:a,slots:s,emit:l}):e(u,null)),S=t.props?a:us(a)}}catch(t){Os.length=0,kn(t,e,1),y=Gs(Cs)}let E=y;if(S&&!1!==v){const e=Object.keys(S),{shapeFlag:t}=E;e.length&&7&t&&(o&&e.some(m)&&(S=ps(S,o)),E=Ws(E,S,!1,!0))}return n.dirs&&(E=Ws(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Pi(E,n.transition),y=E,ei(g),y}const us=e=>{let t;for(const n in e)("class"===n||"style"===n||f(n))&&((t||(t={}))[n]=e[n]);return t},ps=(e,t)=>{const n={};for(const i in e)m(i)&&i.slice(9)in t||(n[i]=e[i]);return n};function hs(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let r=0;r<i.length;r++){const o=i[r];if(t[o]!==e[o]&&!cs(n,o))return!0}return!1}function fs({vnode:e,parent:t},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i!==e)break;(e=t.vnode).el=n,t=t.parent}}const ms=e=>e.__isSuspense;let vs=0;const gs={name:"Suspense",__isSuspense:!0,process(e,t,n,i,r,o,s,a,l,c){if(null==e)!function(e,t,n,i,r,o,s,a,l){const{p:c,o:{createElement:d}}=l,u=d("div"),p=e.suspense=Ss(e,r,i,t,u,n,o,s,a,l);c(null,p.pendingBranch=e.ssContent,u,null,i,p,o,s),p.deps>0?(ys(e,"onPending"),ys(e,"onFallback"),c(null,e.ssFallback,t,n,i,null,o,s),bs(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,i,r,o,s,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);!function(e,t,n,i,r,o,s,a,{p:l,um:c,o:{createElement:d}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const p=t.ssContent,h=t.ssFallback,{activeBranch:f,pendingBranch:m,isInFallback:v,isHydrating:g}=u;if(m)u.pendingBranch=p,Ms(p,m)?(l(m,p,u.hiddenContainer,null,r,u,o,s,a),u.deps<=0?u.resolve():v&&(g||(l(f,h,n,i,r,null,o,s,a),bs(u,h)))):(u.pendingId=vs++,g?(u.isHydrating=!1,u.activeBranch=m):c(m,r,u),u.deps=0,u.effects.length=0,u.hiddenContainer=d("div"),v?(l(null,p,u.hiddenContainer,null,r,u,o,s,a),u.deps<=0?u.resolve():(l(f,h,n,i,r,null,o,s,a),bs(u,h))):f&&Ms(p,f)?(l(f,p,n,i,r,u,o,s,a),u.resolve(!0)):(l(null,p,u.hiddenContainer,null,r,u,o,s,a),u.deps<=0&&u.resolve()));else if(f&&Ms(p,f))l(f,p,n,i,r,u,o,s,a),bs(u,p);else if(ys(t,"onPending"),u.pendingBranch=p,512&p.shapeFlag?u.pendingId=p.component.suspenseId:u.pendingId=vs++,l(null,p,u.hiddenContainer,null,r,u,o,s,a),u.deps<=0)u.resolve();else{const{timeout:e,pendingId:t}=u;e>0?setTimeout((()=>{u.pendingId===t&&u.fallback(h)}),e):0===e&&u.fallback(h)}}(e,t,n,i,r,s,a,l,c)}},hydrate:function(e,t,n,i,r,o,s,a,l){const c=t.suspense=Ss(t,i,n,e.parentNode,document.createElement("div"),null,r,o,s,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,s);return 0===c.deps&&c.resolve(!1,!0),d},normalize:function(e){const{shapeFlag:t,children:n}=e,i=32&t;e.ssContent=Es(i?n.default:n),e.ssFallback=i?Es(n.fallback):Gs(Cs)}};function ys(e,t){const n=e.props&&e.props[t];T(n)&&n()}function Ss(e,t,n,i,r,o,s,a,l,c,d=!1){const{p:u,m:p,um:h,n:f,o:{parentNode:m,remove:v}}=c;let g;const y=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);y&&t&&t.pendingBranch&&(g=t.pendingId,t.deps++);const S=e.props?K(e.props.timeout):void 0,E=o,_={vnode:e,parent:t,parentComponent:n,namespace:s,container:i,hiddenContainer:r,deps:0,pendingId:vs++,timeout:"number"==typeof S?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:i,activeBranch:r,pendingBranch:s,pendingId:a,effects:l,parentComponent:c,container:d}=_;let u=!1;_.isHydrating?_.isHydrating=!1:e||(u=r&&s.transition&&"out-in"===s.transition.mode,u&&(r.transition.afterLeave=()=>{a===_.pendingId&&(p(s,d,o===E?f(r):o,0),Ln(l))}),r&&(m(r.el)===d&&(o=f(r)),h(r,c,_,!0)),u||p(s,d,o,0)),bs(_,s),_.pendingBranch=null,_.isInFallback=!1;let v=_.parent,S=!1;for(;v;){if(v.pendingBranch){v.effects.push(...l),S=!0;break}v=v.parent}S||u||Ln(l),_.effects=[],y&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),ys(i,"onResolve")},fallback(e){if(!_.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:i,container:r,namespace:o}=_;ys(t,"onFallback");const s=f(n),c=()=>{_.isInFallback&&(u(null,e,r,s,i,null,o,a,l),bs(_,e))},d=e.transition&&"out-in"===e.transition.mode;d&&(n.transition.afterLeave=c),_.isInFallback=!0,h(n,i,null,!0),d||c()},move(e,t,n){_.activeBranch&&p(_.activeBranch,e,t,n),_.container=e},next:()=>_.activeBranch&&f(_.activeBranch),registerDep(e,t,n){const i=!!_.pendingBranch;i&&_.deps++;const r=e.vnode.el;e.asyncDep.catch((t=>{kn(t,e,0)})).then((o=>{if(e.isUnmounted||_.isUnmounted||_.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:a}=e;fa(e,o,!1),r&&(a.el=r);const l=!r&&e.subTree.el;t(e,a,m(r||e.subTree.el),r?null:f(e.subTree),_,s,n),l&&v(l),fs(e,a.el),i&&0==--_.deps&&_.resolve()}))},unmount(e,t){_.isUnmounted=!0,_.activeBranch&&h(_.activeBranch,n,e,t),_.pendingBranch&&h(_.pendingBranch,n,e,t)}};return _}function Es(e){let t;if(T(e)){const n=ws&&e._c;n&&(e._d=!1,Ns()),e=e(),n&&(e._d=!0,t=As,Rs())}if(E(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const i=e[n];if(!Ls(i))return;if(i.type!==Cs||"v-if"===i.children){if(t)return;t=i}}return t}(e);e=t}return e=zs(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function _s(e,t){t&&t.pendingBranch?E(e)?t.effects.push(...e):t.effects.push(e):Ln(e)}function bs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e;let r=t.el;for(;!r&&t.component;)r=(t=t.component.subTree).el;n.el=r,i&&i.subTree===n&&(i.vnode.el=r,fs(i,r))}const Is=Symbol.for("v-fgt"),Ts=Symbol.for("v-txt"),Cs=Symbol.for("v-cmt"),ks=Symbol.for("v-stc"),Os=[];let As=null;function Ns(e=!1){Os.push(As=e?null:[])}function Rs(){Os.pop(),As=Os[Os.length-1]||null}let Ps,ws=1;function Ds(e,t=!1){ws+=e,e<0&&As&&t&&(As.hasOnce=!0)}function xs(e){return e.dynamicChildren=ws>0?As||u:null,Rs(),ws>0&&As&&As.push(e),e}function Vs(e,t,n,i,r,o){return xs(Hs(e,t,n,i,r,o,!0))}function Fs(e,t,n,i,r){return xs(Gs(e,t,n,i,r,!0))}function Ls(e){return!!e&&!0===e.__v_isVNode}function Ms(e,t){return e.type===t.type&&e.key===t.key}function Bs(e){Ps=e}const Us=({key:e})=>null!=e?e:null,js=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?C(e)||Yt(e)||T(e)?{i:Qn,r:e,k:t,f:!!n}:e:null);function Hs(e,t=null,n=null,i=0,r=null,o=(e===Is?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Us(t),ref:t&&js(t),scopeId:Zn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Qn};return a?(Js(l,n),128&o&&e.normalize(l)):n&&(l.shapeFlag|=C(n)?8:16),ws>0&&!s&&As&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&As.push(l),l}const Gs=function(e,t=null,n=null,i=0,r=null,o=!1){if(e&&e!==Nr||(e=Cs),Ls(e)){const i=Ws(e,t,!0);return n&&Js(i,n),ws>0&&!o&&As&&(6&i.shapeFlag?As[As.indexOf(e)]=i:As.push(i)),i.patchFlag=-2,i}if(T(s=e)&&"__vccOpts"in s&&(e=e.__vccOpts),t){t=Ys(t);let{class:e,style:n}=t;e&&!C(e)&&(t.class=te(e)),O(n)&&(Bt(n)&&!E(n)&&(n=v({},n)),t.style=X(n))}var s;return Hs(e,t,n,i,r,C(e)?1:ms(e)?128:li(e)?64:O(e)?4:T(e)?2:0,o,!0)};function Ys(e){return e?Bt(e)||ko(e)?v({},e):e:null}function Ws(e,t,n=!1,i=!1){const{props:r,ref:o,patchFlag:s,children:a,transition:l}=e,c=t?Qs(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Us(c),ref:t&&t.ref?n&&o?E(o)?o.concat(js(t)):[o,js(t)]:js(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Is?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ws(e.ssContent),ssFallback:e.ssFallback&&Ws(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&i&&Pi(d,l.clone(d)),d}function Ks(e=" ",t=0){return Gs(Ts,null,e,t)}function $s(e,t){const n=Gs(ks,null,e);return n.staticCount=t,n}function qs(e="",t=!1){return t?(Ns(),Fs(Cs,null,e)):Gs(Cs,null,e)}function zs(e){return null==e||"boolean"==typeof e?Gs(Cs):E(e)?Gs(Is,null,e.slice()):Ls(e)?Xs(e):Gs(Ts,null,String(e))}function Xs(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Ws(e)}function Js(e,t){let n=0;const{shapeFlag:i}=e;if(null==t)t=null;else if(E(t))n=16;else if("object"==typeof t){if(65&i){const n=t.default;return void(n&&(n._c&&(n._d=!1),Js(e,n()),n._c&&(n._d=!0)))}{n=32;const i=t._;i||ko(t)?3===i&&Qn&&(1===Qn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Qn}}else T(t)?(t={default:t,_ctx:Qn},n=32):(t=String(t),64&i?(n=16,t=[Ks(t)]):n=8);e.children=t,e.shapeFlag|=n}function Qs(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const e in i)if("class"===e)t.class!==i.class&&(t.class=te([t.class,i.class]));else if("style"===e)t.style=X([t.style,i.style]);else if(f(e)){const n=t[e],r=i[e];!r||n===r||E(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=i[e])}return t}function Zs(e,t,n,i=null){Cn(e,t,7,[n,i])}const ea=go();let ta=0;function na(e,t,n){const i=e.type,r=(t?t.appContext:e.appContext)||ea,o={uid:ta++,vnode:e,type:i,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Se(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ro(i,r),emitsOptions:ls(i,r),emit:null,emitted:null,propsDefaults:d,inheritAttrs:i.inheritAttrs,ctx:d,data:d,props:d,attrs:d,slots:d,refs:d,setupState:d,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=as.bind(null,o),e.ce&&e.ce(o),o}let ia=null;const ra=()=>ia||Qn;let oa,sa;{const e=q(),t=(t,n)=>{let i;return(i=e[t])||(i=e[t]=[]),i.push(n),e=>{i.length>1?i.forEach((t=>t(e))):i[0](e)}};oa=t("__VUE_INSTANCE_SETTERS__",(e=>ia=e)),sa=t("__VUE_SSR_SETTERS__",(e=>pa=e))}const aa=e=>{const t=ia;return oa(e),e.scope.on(),()=>{e.scope.off(),oa(t)}},la=()=>{ia&&ia.scope.off(),oa(null)};function ca(e){return 4&e.vnode.shapeFlag}let da,ua,pa=!1;function ha(e,t=!1,n=!1){t&&sa(t);const{props:i,children:r}=e.vnode,o=ca(e);!function(e,t,n,i=!1){const r={},o=Co();e.propsDefaults=Object.create(null),Oo(e,t,r,o);for(const t in e.propsOptions[0])t in r||(r[t]=void 0);n?e.props=i?r:wt(r):e.type.props?e.props=r:e.props=o,e.attrs=o}(e,i,o,t),Mo(e,r,n);const s=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Hr);const{setup:i}=n;if(i){je();const n=e.setupContext=i.length>1?Sa(e):null,r=aa(e),o=Tn(i,e,0,[e.props,n]),s=A(o);if(He(),r(),!s&&!e.sp||nr(e)||Vi(e),s){if(o.then(la,la),t)return o.then((n=>{fa(e,n,t)})).catch((t=>{kn(t,e,0)}));e.asyncDep=o}else fa(e,o,t)}else ga(e,t)}(e,t):void 0;return t&&sa(!1),s}function fa(e,t,n){T(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:O(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=Zt(t)),ga(e,n)}function ma(e){da=e,ua=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Gr))}}const va=()=>!da;function ga(e,t,n){const i=e.type;if(!e.render){if(!t&&da&&!i.render){const t=i.template||__VUE_OPTIONS_API__&&lo(e).template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:o,compilerOptions:s}=i,a=v(v({isCustomElement:n,delimiters:o},r),s);i.render=da(t,a)}}e.render=i.render||p,ua&&ua(e)}if(__VUE_OPTIONS_API__){const t=aa(e);je();try{!function(e){const t=lo(e),n=e.proxy,i=e.ctx;oo=!1,t.beforeCreate&&so(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:s,watch:a,provide:l,inject:c,created:d,beforeMount:u,mounted:h,beforeUpdate:f,updated:m,activated:v,deactivated:g,beforeDestroy:y,beforeUnmount:S,destroyed:_,unmounted:b,render:I,renderTracked:C,renderTriggered:k,errorCaptured:A,serverPrefetch:N,expose:R,inheritAttrs:P,components:w,directives:D,filters:x}=t;if(c&&function(e,t){E(e)&&(e=ho(e));for(const n in e){const i=e[n];let r;r=O(i)?"default"in i?bo(i.from||n,i.default,!0):bo(i.from||n):bo(i),Yt(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(c,i),s)for(const e in s){const t=s[e];T(t)&&(i[e]=t.bind(n))}if(r){const t=r.call(n,n);O(t)&&(e.data=Pt(t))}if(oo=!0,o)for(const e in o){const t=o[e],r=T(t)?t.bind(n,n):T(t.get)?t.get.bind(n,n):p,s=!T(t)&&T(t.set)?t.set.bind(n):p,a=Ca({get:r,set:s});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(a)for(const e in a)ao(a[e],i,n,e);if(l){const e=T(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{_o(t,e[t])}))}function V(e,t){E(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&so(d,e,"c"),V(vr,u),V(gr,h),V(yr,f),V(Sr,m),V(lr,v),V(cr,g),V(Cr,A),V(Tr,C),V(Ir,k),V(Er,S),V(_r,b),V(br,N),E(R))if(R.length){const t=e.exposed||(e.exposed={});R.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});I&&e.render===p&&(e.render=I),null!=P&&(e.inheritAttrs=P),w&&(e.components=w),D&&(e.directives=D),N&&Vi(e)}(e)}finally{He(),t()}}}const ya={get:(e,t)=>(Qe(e,0,""),e[t])};function Sa(e){return{attrs:new Proxy(e.attrs,ya),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Ea(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zt(jt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Ur?Ur[n](e):void 0,has:(e,t)=>t in e||t in Ur})):e.proxy}const _a=/(?:^|[-_])(\w)/g,ba=e=>e.replace(_a,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Ia(e,t=!0){return T(e)?e.displayName||e.name:e.name||t&&e.__name}function Ta(e,t,n=!1){let i=Ia(t);if(!i&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(i=e[1])}if(!i&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};i=n(e.components||e.parent.type.components)||n(e.appContext.components)}return i?ba(i):n?"App":"Anonymous"}const Ca=(e,t)=>{const n=function(e,t,n=!1){let i,r;return T(e)?i=e:(i=e.get,r=e.set),new ln(i,r,n)}(e,0,pa);return n};function ka(e,t,n){const i=arguments.length;return 2===i?O(t)&&!E(t)?Ls(t)?Gs(e,null,[t]):Gs(e,t):Gs(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Ls(n)&&(n=[n]),Gs(e,t,n))}function Oa(){}function Aa(e,t,n,i){const r=n[i];if(r&&Na(r,e))return r;const o=t();return o.memo=e.slice(),o.cacheIndex=i,n[i]=o}function Na(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(H(n[e],t[e]))return!1;return ws>0&&As&&As.push(e),!0}const Ra="3.5.13",Pa=p,wa={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"},Da=Hn,xa=Kn,Va={createComponentInstance:na,setupComponent:ha,renderComponentRoot:ds,setCurrentRenderingInstance:ei,isVNode:Ls,normalizeVNode:zs,getComponentPublicInstance:Ea,ensureValidVNode:Lr,pushWarningContext:function(e){gn.push(e)},popWarningContext:function(){gn.pop()}},Fa=null,La=null,Ma=null;let Ba;const Ua="undefined"!=typeof window&&window.trustedTypes;if(Ua)try{Ba=Ua.createPolicy("vue",{createHTML:e=>e})}catch(e){}const ja=Ba?e=>Ba.createHTML(e):e=>e,Ha="undefined"!=typeof document?document:null,Ga=Ha&&Ha.createElement("template"),Ya={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const r="svg"===t?Ha.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ha.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ha.createElement(e,{is:n}):Ha.createElement(e);return"select"===e&&i&&null!=i.multiple&&r.setAttribute("multiple",i.multiple),r},createText:e=>Ha.createTextNode(e),createComment:e=>Ha.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ha.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,r,o){const s=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==o&&(r=r.nextSibling););else{Ga.innerHTML=ja("svg"===i?`<svg>${e}</svg>`:"mathml"===i?`<math>${e}</math>`:e);const r=Ga.content;if("svg"===i||"mathml"===i){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Wa="transition",Ka="animation",$a=Symbol("_vtc"),qa={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},za=v({},Ii,qa),Xa=(e=>(e.displayName="Transition",e.props=za,e))(((e,{slots:t})=>ka(ki,Za(e),t))),Ja=(e,t=[])=>{E(e)?e.forEach((e=>e(...t))):e&&e(...t)},Qa=e=>!!e&&(E(e)?e.some((e=>e.length>1)):e.length>1);function Za(e){const t={};for(const n in e)n in qa||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:i,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=s,appearToClass:d=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,f=function(e){if(null==e)return null;if(O(e))return[el(e.enter),el(e.leave)];{const t=el(e);return[t,t]}}(r),m=f&&f[0],g=f&&f[1],{onBeforeEnter:y,onEnter:S,onEnterCancelled:E,onLeave:_,onLeaveCancelled:b,onBeforeAppear:I=y,onAppear:T=S,onAppearCancelled:C=E}=t,k=(e,t,n,i)=>{e._enterCancelled=i,nl(e,t?d:a),nl(e,t?c:s),n&&n()},A=(e,t)=>{e._isLeaving=!1,nl(e,u),nl(e,h),nl(e,p),t&&t()},N=e=>(t,n)=>{const r=e?T:S,s=()=>k(t,e,n);Ja(r,[t,s]),il((()=>{nl(t,e?l:o),tl(t,e?d:a),Qa(r)||ol(t,i,m,s)}))};return v(t,{onBeforeEnter(e){Ja(y,[e]),tl(e,o),tl(e,s)},onBeforeAppear(e){Ja(I,[e]),tl(e,l),tl(e,c)},onEnter:N(!1),onAppear:N(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);tl(e,u),e._enterCancelled?(tl(e,p),cl()):(cl(),tl(e,p)),il((()=>{e._isLeaving&&(nl(e,u),tl(e,h),Qa(_)||ol(e,i,g,n))})),Ja(_,[e,n])},onEnterCancelled(e){k(e,!1,void 0,!0),Ja(E,[e])},onAppearCancelled(e){k(e,!0,void 0,!0),Ja(C,[e])},onLeaveCancelled(e){A(e),Ja(b,[e])}})}function el(e){return K(e)}function tl(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[$a]||(e[$a]=new Set)).add(t)}function nl(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[$a];n&&(n.delete(t),n.size||(e[$a]=void 0))}function il(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let rl=0;function ol(e,t,n,i){const r=e._endId=++rl,o=()=>{r===e._endId&&i()};if(null!=n)return setTimeout(o,n);const{type:s,timeout:a,propCount:l}=sl(e,t);if(!s)return i();const c=s+"end";let d=0;const u=()=>{e.removeEventListener(c,p),o()},p=t=>{t.target===e&&++d>=l&&u()};setTimeout((()=>{d<l&&u()}),a+1),e.addEventListener(c,p)}function sl(e,t){const n=window.getComputedStyle(e),i=e=>(n[e]||"").split(", "),r=i(`${Wa}Delay`),o=i(`${Wa}Duration`),s=al(r,o),a=i(`${Ka}Delay`),l=i(`${Ka}Duration`),c=al(a,l);let d=null,u=0,p=0;return t===Wa?s>0&&(d=Wa,u=s,p=o.length):t===Ka?c>0&&(d=Ka,u=c,p=l.length):(u=Math.max(s,c),d=u>0?s>c?Wa:Ka:null,p=d?d===Wa?o.length:l.length:0),{type:d,timeout:u,propCount:p,hasTransform:d===Wa&&/\b(transform|all)(,|$)/.test(i(`${Wa}Property`).toString())}}function al(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>ll(t)+ll(e[n]))))}function ll(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function cl(){return document.body.offsetHeight}const dl=Symbol("_vod"),ul=Symbol("_vsh"),pl={beforeMount(e,{value:t},{transition:n}){e[dl]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):hl(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),hl(e,!0),i.enter(e)):i.leave(e,(()=>{hl(e,!1)})):hl(e,t))},beforeUnmount(e,{value:t}){hl(e,t)}};function hl(e,t){e.style.display=t?e[dl]:"none",e[ul]=!t}const fl=Symbol("");function ml(e){const t=ra();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>gl(e,n)))},i=()=>{const i=e(t.proxy);t.ce?gl(t.ce,i):vl(t.subTree,i),n(i)};yr((()=>{Ln(i)})),gr((()=>{ts(i,p,{flush:"post"});const e=new MutationObserver(i);e.observe(t.subTree.el.parentNode,{childList:!0}),_r((()=>e.disconnect()))}))}function vl(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{vl(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)gl(e.el,t);else if(e.type===Is)e.children.forEach((e=>vl(e,t)));else if(e.type===ks){let{el:n,anchor:i}=e;for(;n&&(gl(n,t),n!==i);)n=n.nextSibling}}function gl(e,t){if(1===e.nodeType){const n=e.style;let i="";for(const e in t)n.setProperty(`--${e}`,t[e]),i+=`--${e}: ${t[e]};`;n[fl]=i}}const yl=/(^|;)\s*display\s*:/,Sl=/\s*!important$/;function El(e,t,n){if(E(n))n.forEach((n=>El(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=function(e,t){const n=bl[t];if(n)return n;let i=L(t);if("filter"!==i&&i in e)return bl[t]=i;i=U(i);for(let n=0;n<_l.length;n++){const r=_l[n]+i;if(r in e)return bl[t]=r}return t}(e,t);Sl.test(n)?e.setProperty(B(i),n.replace(Sl,""),"important"):e[i]=n}}const _l=["Webkit","Moz","ms"],bl={},Il="http://www.w3.org/1999/xlink";function Tl(e,t,n,i,r,o=re(t)){i&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(Il,t.slice(6,t.length)):e.setAttributeNS(Il,t,n):null==n||o&&!se(n)?e.removeAttribute(t):e.setAttribute(t,o?"":k(n)?String(n):n)}function Cl(e,t,n,i,r){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?ja(n):n));const o=e.tagName;if("value"===t&&"PROGRESS"!==o&&!o.includes("-")){const i="OPTION"===o?e.getAttribute("value")||"":e.value,r=null==n?"checkbox"===e.type?"on":"":String(n);return i===r&&"_value"in e||(e.value=r),null==n&&e.removeAttribute(t),void(e._value=n)}let s=!1;if(""===n||null==n){const i=typeof e[t];"boolean"===i?n=se(n):null==n&&"string"===i?(n="",s=!0):"number"===i&&(n=0,s=!0)}try{e[t]=n}catch(e){}s&&e.removeAttribute(r||t)}function kl(e,t,n,i){e.addEventListener(t,n,i)}const Ol=Symbol("_vei"),Al=/(?:Once|Passive|Capture)$/;let Nl=0;const Rl=Promise.resolve(),Pl=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,wl={};function Dl(e,t,n){const i=Di(e,t);w(i)&&v(i,t);class r extends Fl{constructor(e){super(i,e,n)}}return r.def=i,r}const xl=(e,t)=>Dl(e,t,Ic),Vl="undefined"!=typeof HTMLElement?HTMLElement:class{};class Fl extends Vl{constructor(e,t={},n=bc){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==bc?this._root=this.shadowRoot:!1!==e.shadowRoot?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Fl){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then((()=>{this._pendingResolve=void 0,this._resolveDef()})):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,xn((()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)}))}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:i}=e;let r;if(n&&!E(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=K(this._props[e])),(r||(r=Object.create(null)))[L(e)]=!0)}this._numberProps=r,t&&this._resolveProps(e),this.shadowRoot&&this._applyStyles(i),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then((t=>e(this._def=t,!0))):e(this._def)}_mount(e){__VUE_PROD_DEVTOOLS__&&!e.name&&(e.name="VueElement"),this._app=this._createApp(e),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const e in t)S(this,e)||Object.defineProperty(this,e,{get:()=>Xt(t[e])})}_resolveProps(e){const{props:t}=e,n=E(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e]);for(const e of n.map(L))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let n=t?this.getAttribute(e):wl;const i=L(e);t&&this._numberProps&&this._numberProps[i]&&(n=K(n)),this._setProp(i,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,i=!1){if(t!==this._props[e]&&(t===wl?delete this._props[e]:(this._props[e]=t,"key"===e&&this._app&&(this._app._ceVNode.key=t)),i&&this._instance&&this._update(),n)){const n=this._ob;n&&n.disconnect(),!0===t?this.setAttribute(B(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(B(e),t+""):t||this.removeAttribute(B(e)),n&&n.observe(this,{attributes:!0})}}_update(){Ec(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=Gs(this._def,v(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,w(t[0])?v({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),B(e)!==e&&t(B(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const n=this._nonce;for(let t=e.length-1;t>=0;t--){const i=document.createElement("style");n&&i.setAttribute("nonce",n),i.textContent=e[t],this.shadowRoot.prepend(i)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const n=1===t.nodeType&&t.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const i=e[n],r=i.getAttribute("name")||"default",o=this._slots[r],s=i.parentNode;if(o)for(const e of o){if(t&&1===e.nodeType){const n=t+"-s",i=document.createTreeWalker(e,1);let r;for(e.setAttribute(n,"");r=i.nextNode();)r.setAttribute(n,"")}s.insertBefore(e,i)}else for(;i.firstChild;)s.insertBefore(i.firstChild,i);s.removeChild(i)}}_injectChildStyle(e){this._applyStyles(e.styles,e)}_removeChildStyle(e){}}function Ll(e){const t=ra();return t&&t.ce||null}function Ml(){const e=Ll();return e&&e.shadowRoot}function Bl(e="$style"){{const t=ra();if(!t)return d;const n=t.type.__cssModules;return n&&n[e]||d}}const Ul=new WeakMap,jl=new WeakMap,Hl=Symbol("_moveCb"),Gl=Symbol("_enterCb"),Yl=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:v({},za,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ra(),i=_i();let r,o;return Sr((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const i=e.cloneNode(),r=e[$a];r&&r.forEach((e=>{e.split(/\s+/).forEach((e=>e&&i.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&i.classList.add(e))),i.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(i);const{hasTransform:s}=sl(i);return o.removeChild(i),s}(r[0].el,n.vnode.el,t))return;r.forEach(Kl),r.forEach($l);const i=r.filter(ql);cl(),i.forEach((e=>{const n=e.el,i=n.style;tl(n,t),i.transform=i.webkitTransform=i.transitionDuration="";const r=n[Hl]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n[Hl]=null,nl(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const s=Ut(e),a=Za(s);let l=s.tag||Is;if(r=[],o)for(let e=0;e<o.length;e++){const t=o[e];t.el&&t.el instanceof Element&&(r.push(t),Pi(t,Ai(t,a,i,n)),Ul.set(t,t.el.getBoundingClientRect()))}o=t.default?wi(t.default()):[];for(let e=0;e<o.length;e++){const t=o[e];null!=t.key&&Pi(t,Ai(t,a,i,n))}return Gs(l,null,o)}}}),Wl=Yl;function Kl(e){const t=e.el;t[Hl]&&t[Hl](),t[Gl]&&t[Gl]()}function $l(e){jl.set(e,e.el.getBoundingClientRect())}function ql(e){const t=Ul.get(e),n=jl.get(e),i=t.left-n.left,r=t.top-n.top;if(i||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${i}px,${r}px)`,t.transitionDuration="0s",e}}const zl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return E(t)?e=>G(t,e):t};function Xl(e){e.target.composing=!0}function Jl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ql=Symbol("_assign"),Zl={created(e,{modifiers:{lazy:t,trim:n,number:i}},r){e[Ql]=zl(r);const o=i||r.props&&"number"===r.props.type;kl(e,t?"change":"input",(t=>{if(t.target.composing)return;let i=e.value;n&&(i=i.trim()),o&&(i=W(i)),e[Ql](i)})),n&&kl(e,"change",(()=>{e.value=e.value.trim()})),t||(kl(e,"compositionstart",Xl),kl(e,"compositionend",Jl),kl(e,"change",Jl))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:i,trim:r,number:o}},s){if(e[Ql]=zl(s),e.composing)return;const a=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:W(e.value))!==a){if(document.activeElement===e&&"range"!==e.type){if(i&&t===n)return;if(r&&e.value.trim()===a)return}e.value=a}}},ec={deep:!0,created(e,t,n){e[Ql]=zl(n),kl(e,"change",(()=>{const t=e._modelValue,n=oc(e),i=e.checked,r=e[Ql];if(E(t)){const e=pe(t,n),o=-1!==e;if(i&&!o)r(t.concat(n));else if(!i&&o){const n=[...t];n.splice(e,1),r(n)}}else if(b(t)){const e=new Set(t);i?e.add(n):e.delete(n),r(e)}else r(sc(e,i))}))},mounted:tc,beforeUpdate(e,t,n){e[Ql]=zl(n),tc(e,t,n)}};function tc(e,{value:t,oldValue:n},i){let r;if(e._modelValue=t,E(t))r=pe(t,i.props.value)>-1;else if(b(t))r=t.has(i.props.value);else{if(t===n)return;r=ue(t,sc(e,!0))}e.checked!==r&&(e.checked=r)}const nc={created(e,{value:t},n){e.checked=ue(t,n.props.value),e[Ql]=zl(n),kl(e,"change",(()=>{e[Ql](oc(e))}))},beforeUpdate(e,{value:t,oldValue:n},i){e[Ql]=zl(i),t!==n&&(e.checked=ue(t,i.props.value))}},ic={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const r=b(t);kl(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?W(oc(e)):oc(e)));e[Ql](e.multiple?r?new Set(t):t:t[0]),e._assigning=!0,xn((()=>{e._assigning=!1}))})),e[Ql]=zl(i)},mounted(e,{value:t}){rc(e,t)},beforeUpdate(e,t,n){e[Ql]=zl(n)},updated(e,{value:t}){e._assigning||rc(e,t)}};function rc(e,t){const n=e.multiple,i=E(t);if(!n||i||b(t)){for(let r=0,o=e.options.length;r<o;r++){const o=e.options[r],s=oc(o);if(n)if(i){const e=typeof s;o.selected="string"===e||"number"===e?t.some((e=>String(e)===String(s))):pe(t,s)>-1}else o.selected=t.has(s);else if(ue(oc(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function oc(e){return"_value"in e?e._value:e.value}function sc(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ac={created(e,t,n){cc(e,t,n,null,"created")},mounted(e,t,n){cc(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){cc(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){cc(e,t,n,i,"updated")}};function lc(e,t){switch(e){case"SELECT":return ic;case"TEXTAREA":return Zl;default:switch(t){case"checkbox":return ec;case"radio":return nc;default:return Zl}}}function cc(e,t,n,i,r){const o=lc(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,i)}const dc=["ctrl","shift","alt","meta"],uc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>dc.some((n=>e[`${n}Key`]&&!t.includes(n)))},pc=(e,t)=>{const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=(n,...i)=>{for(let e=0;e<t.length;e++){const i=uc[t[e]];if(i&&i(n,t))return}return e(n,...i)})},hc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},fc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),i=t.join(".");return n[i]||(n[i]=n=>{if(!("key"in n))return;const i=B(n.key);return t.some((e=>e===i||hc[e]===i))?e(n):void 0})},mc=v({patchProp:(e,t,n,i,r,o)=>{const s="svg"===r;"class"===t?function(e,t,n){const i=e[$a];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,i,s):"style"===t?function(e,t,n){const i=e.style,r=C(n);let o=!1;if(n&&!r){if(t)if(C(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&El(i,t,"")}else for(const e in t)null==n[e]&&El(i,e,"");for(const e in n)"display"===e&&(o=!0),El(i,e,n[e])}else if(r){if(t!==n){const e=i[fl];e&&(n+=";"+e),i.cssText=n,o=yl.test(n)}}else t&&e.removeAttribute("style");dl in e&&(e[dl]=o?i.display:"",e[ul]&&(i.display="none"))}(e,n,i):f(t)?m(t)||function(e,t,n,i,r=null){const o=e[Ol]||(e[Ol]={}),s=o[t];if(i&&s)s.value=i;else{const[n,a]=function(e){let t;if(Al.test(e)){let n;for(t={};n=e.match(Al);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):B(e.slice(2)),t]}(t);if(i){const s=o[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Cn(function(e,t){if(E(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Nl||(Rl.then((()=>Nl=0)),Nl=Date.now()),n}(i,r);kl(e,n,s,a)}else s&&(function(e,t,n,i){e.removeEventListener(t,n,i)}(e,n,s,a),o[t]=void 0)}}(e,t,0,i,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,i){if(i)return"innerHTML"===t||"textContent"===t||!!(t in e&&Pl(t)&&T(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!Pl(t)||!C(n))&&t in e}(e,t,i,s))?(Cl(e,t,i),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Tl(e,t,i,s,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&C(i)?("true-value"===t?e._trueValue=i:"false-value"===t&&(e._falseValue=i),Tl(e,t,i,s)):Cl(e,L(t),i,0,t)}},Ya);let vc,gc=!1;function yc(){return vc||(vc=jo(mc))}function Sc(){return vc=gc?vc:Ho(mc),gc=!0,vc}const Ec=(...e)=>{yc().render(...e)},_c=(...e)=>{Sc().hydrate(...e)},bc=(...e)=>{const t=yc().createApp(...e),{mount:n}=t;return t.mount=e=>{const i=Cc(e);if(!i)return;const r=t._component;T(r)||r.render||r.template||(r.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const o=n(i,!1,Tc(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},Ic=(...e)=>{const t=Sc().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Cc(e);if(t)return n(t,!0,Tc(t))},t};function Tc(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function Cc(e){return C(e)?document.querySelector(e):e}let kc=!1;const Oc=()=>{kc||(kc=!0,Zl.getSSRProps=({value:e})=>({value:e}),nc.getSSRProps=({value:e},t)=>{if(t.props&&ue(t.props.value,e))return{checked:!0}},ec.getSSRProps=({value:e},t)=>{if(E(e)){if(t.props&&pe(e,t.props.value)>-1)return{checked:!0}}else if(b(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},ac.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=lc(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},pl.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})},Ac=()=>{};var Nc={"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/MultiSelect/MultiSelect.scss?vue&type=style&index=0&lang=scss&external":(e,t,n)=>{n.r(t)},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/Option/Option.scss?vue&type=style&index=0&id=7cf903ef&lang=scss&scoped=true&external":(e,t,n)=>{n.r(t)},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/OptionGroup/OptionGroup.scss?vue&type=style&index=0&id=9cc62a36&lang=scss&scoped=true&external":(e,t,n)=>{n.r(t)},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/SearchBox/SearchBox.scss?vue&type=style&index=0&id=708d0d57&lang=scss&scoped=true&external":(e,t,n)=>{n.r(t)},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/SelectedOption/SelectedOption.scss?vue&type=style&index=0&id=0008248f&lang=scss&scoped=true&external":(e,t,n)=>{n.r(t)},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/MultiSelect/MultiSelect.vue?vue&type=template&id=d09def0a&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>c});var i=n("vue");const r=["tabindex"],o={key:0,class:"MultiSelectPlaceholder"},s={key:1,class:"MultiSelectSelectedOptions"},a={key:0,class:"HelperMessage"},l={key:1,class:"ValidationLabel"};function c(e,t,n,c,d,u){const p=(0,i.resolveComponent)("SearchBox"),h=(0,i.resolveComponent)("OptionGroup"),f=(0,i.resolveComponent)("Options"),m=(0,i.resolveComponent)("SelectedOption");return(0,i.openBlock)(),(0,i.createElementBlock)("div",null,[(0,i.createElementVNode)("div",{onClick:[t[1]||(t[1]=t=>e.toggleMultiSelect()),t[2]||(t[2]=(0,i.withModifiers)((()=>{}),["stop"]))],onBlur:t[3]||(t[3]=t=>!e.searchable&&e.deactivate()),onKeyup:t[4]||(t[4]=(0,i.withKeys)((t=>e.deactivate()),["esc"])),tabindex:e.searchable?-1:0,class:(0,i.normalizeClass)([{"is-disabled":e.disabled,"is-invalid":!e.valid},"MultiSelectWrapper"]),role:"combobox"},[(0,i.createElementVNode)("label",{class:(0,i.normalizeClass)(["MultiSelectLabel",{"is-empty":null===e.selectedOption}])},[(0,i.createElementVNode)("label",{class:(0,i.normalizeClass)([{"is-active":e.isActive||e.optionsSelected},"FloatingLabel"])},(0,i.toDisplayString)(e.label),3),e.isActive||e.optionsSelected?((0,i.openBlock)(),(0,i.createElementBlock)("span",o,(0,i.toDisplayString)(e.inputPlaceholder),1)):(0,i.createCommentVNode)("v-if",!0)],2),(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(["MultiSelectIcon",{"is-active":e.isActive}])},null,2),e.isActive?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:0,ref:"dropDown",onClick:t[0]||(t[0]=(0,i.withModifiers)((()=>{}),["stop"])),"aria-role":"listbox",class:(0,i.normalizeClass)(["MultiSelectDropDown",{searchable:e.searchable}])},[e.searchable?((0,i.openBlock)(),(0,i.createBlock)(p,{key:0,onSearchUpdated:e.updateSearch,searchPlaceholder:e.searchPlaceholder,borderUp:e.shouldSearchBarBeBelow},null,8,["onSearchUpdated","searchPlaceholder","borderUp"])):(0,i.createCommentVNode)("v-if",!0),e.groups.length>0?((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:1,class:(0,i.normalizeClass)({searchable:e.searchable})},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.availableGroupedOptions,((t,n)=>((0,i.openBlock)(),(0,i.createBlock)(h,{onOptionSelected:e.selectOption,key:n,groupData:t},null,8,["onOptionSelected","groupData"])))),128))],2)):((0,i.openBlock)(),(0,i.createBlock)(f,{key:2,class:(0,i.normalizeClass)({searchable:e.searchable}),onOptionSelected:e.selectOption,optionData:e.availableOptions},null,8,["class","onOptionSelected","optionData"]))],2)):(0,i.createCommentVNode)("v-if",!0),e.multipleOptions?((0,i.openBlock)(),(0,i.createElementBlock)("div",s,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.selectedOptions,((t,n)=>((0,i.openBlock)(),(0,i.createBlock)(m,{onCustomClick:n=>e.deleteOption(t),key:n},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)((0,i.toDisplayString)(t.label),1)])),_:2},1032,["onCustomClick"])))),128))])):(0,i.createCommentVNode)("v-if",!0)],42,r),e.valid&&""!==e.helperMessage?((0,i.openBlock)(),(0,i.createElementBlock)("div",a,(0,i.toDisplayString)(e.helperMessage),1)):(0,i.createCommentVNode)("v-if",!0),e.valid||""===e.validationLabel?(0,i.createCommentVNode)("v-if",!0):((0,i.openBlock)(),(0,i.createElementBlock)("div",l,(0,i.toDisplayString)(e.validationLabel),1))])}},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/Option/Option.vue?vue&type=template&id=7cf903ef&scoped=true&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>r});var i=n("vue");function r(e,t,n,r,o,s){return(0,i.openBlock)(),(0,i.createElementBlock)("li",{onClick:[t[0]||(t[0]=t=>e.emit("customClick")),t[1]||(t[1]=(0,i.withModifiers)((()=>{}),["stop"]))],"aria-label":"Select option",class:(0,i.normalizeClass)([{"is-disabled":e.disabled},"MultiSelectOption"])},[(0,i.renderSlot)(e.$slots,"default",{},void 0,!0)],2)}},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/OptionGroup/OptionGroup.vue?vue&type=template&id=9cc62a36&scoped=true&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>s});var i=n("vue");const r={key:0},o={class:"MultiSelectGroupLabel"};function s(e,t,n,s,a,l){const c=(0,i.resolveComponent)("Option");return(0,i.openBlock)(),(0,i.createElementBlock)("div",null,[e.groupData.options.length>0?((0,i.openBlock)(),(0,i.createElementBlock)("ol",r,[(0,i.createElementVNode)("li",o,(0,i.toDisplayString)(e.groupData.label),1),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.groupData.options,((t,n)=>((0,i.openBlock)(),(0,i.createBlock)(c,{onCustomClick:n=>e.emit("optionSelected",t),key:n},{default:(0,i.withCtx)((()=>[t.icon?((0,i.openBlock)(),(0,i.createElementBlock)("i",{key:0,class:(0,i.normalizeClass)([t.icon,"MultiSelectOptionIcon"])},null,2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(t.label),1)])),_:2},1032,["onCustomClick"])))),128))])):(0,i.createCommentVNode)("v-if",!0)])}},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/Options/Options.vue?vue&type=template&id=163bdf8d&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>r});var i=n("vue");function r(e,t,n,r,o,s){const a=(0,i.resolveComponent)("Option");return(0,i.openBlock)(),(0,i.createElementBlock)("ol",null,[0===e.optionData.length?((0,i.openBlock)(),(0,i.createBlock)(a,{key:0,onCustomClick:t[0]||(t[0]=t=>e.emit("optionSelected")),disabled:!0},{default:(0,i.withCtx)((()=>[(0,i.createTextVNode)(" No available options ")])),_:1})):(0,i.createCommentVNode)("v-if",!0),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.optionData,((t,n)=>((0,i.openBlock)(),(0,i.createBlock)(a,{onCustomClick:n=>e.emit("optionSelected",t),key:n},{default:(0,i.withCtx)((()=>[t.icon?((0,i.openBlock)(),(0,i.createElementBlock)("i",{key:0,class:(0,i.normalizeClass)([t.icon,"MultiSelectOptionIcon"])},null,2)):(0,i.createCommentVNode)("v-if",!0),(0,i.createTextVNode)(" "+(0,i.toDisplayString)(t.label),1)])),_:2},1032,["onCustomClick"])))),128))])}},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/SearchBox/SearchBox.vue?vue&type=template&id=708d0d57&scoped=true&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>a});var i=n("vue");const r=e=>((0,i.pushScopeId)("data-v-708d0d57"),e=e(),(0,i.popScopeId)(),e),o=["placeholder"],s=r((()=>(0,i.createElementVNode)("i",{class:"lnr-magnifier MultiSelectSearchBoxIcon"},null,-1)));function a(e,t,n,r,a,l){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)(["MultiSelectSearchBoxWrapper",{up:e.borderUp}])},[(0,i.withDirectives)((0,i.createElementVNode)("input",{onKeyup:t[0]||(t[0]=t=>e.emit("searchUpdated",e.searchQuery)),class:(0,i.normalizeClass)([""===e.searchQuery?"is-empty":"","MultiSelectSearchBox"]),placeholder:e.searchPlaceholder,ref:"searchBox","onUpdate:modelValue":t[1]||(t[1]=t=>e.searchQuery=t),type:"search"},null,42,o),[[i.vModelText,e.searchQuery]]),s],2)}},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/SelectedOption/SelectedOption.vue?vue&type=template&id=0008248f&scoped=true&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>s});var i=n("vue");const r=e=>((0,i.pushScopeId)("data-v-0008248f"),e=e(),(0,i.popScopeId)(),e),o=r((()=>(0,i.createElementVNode)("i",{class:"lnr-cross MultiSelectSelectedOptionDelete"},null,-1)));function s(e,t,n,r,s,a){return(0,i.openBlock)(),(0,i.createElementBlock)("button",{onClick:[t[0]||(t[0]=t=>e.emit("customClick")),t[1]||(t[1]=(0,i.withModifiers)((()=>{}),["stop"]))],"aria-label":"Delete option",type:"button",class:"MultiSelectSelectedOption"},[(0,i.renderSlot)(e.$slots,"default",{},void 0,!0),o])}},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/MultiSelect/MultiSelect.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var i=n("vue"),r=n("./src/components/Options/Options.vue"),o=n("./src/components/OptionGroup/OptionGroup.vue"),s=n("./src/components/SearchBox/SearchBox.vue"),a=n("./src/components/SelectedOption/SelectedOption.vue"),l=n("./src/components/MultiSelect/MultiSelectClass.ts");const c=(0,i.defineComponent)({components:{OptionGroup:o.default,Options:r.default,SearchBox:s.default,SelectedOption:a.default},props:{options:{type:Array,default:[]},label:{type:String,default:""},placeholder:{type:String,default:""},entity:{type:String,default:""},validationLabel:{type:String,default:""},helperMessage:{type:String,default:""},multipleOptions:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},valid:{type:Boolean,default:!0},groups:{type:Array,default:[]}},setup:(e,t)=>{const n=(0,i.toRef)(e,"options"),r=(0,i.toRef)(e,"groups"),o=(0,i.toRef)(e,"label"),s=(0,i.toRef)(e,"valid"),a=(0,i.toRef)(e,"placeholder"),c=(0,i.toRef)(e,"entity"),d=(0,i.toRef)(e,"validationLabel"),u=(0,i.toRef)(e,"helperMessage"),p=(0,i.toRef)(e,"multipleOptions"),h=(0,i.toRef)(e,"searchable"),f=(0,i.toRef)(e,"disabled"),m=new l.default(t.emit,n,a,c,p,f,r);return(0,i.onMounted)(m.mounted.bind(m)),{valid:s,label:o,validationLabel:d,helperMessage:u,searchable:h,disabled:f,groups:r,dropDown:m.dropDown,selectedOption:m.selectedOption,selectedOptions:m.selectedOptions,isActive:m.isActive,shouldSearchBarBeBelow:m.shouldSearchBarBeBelow,optionsSelected:m.optionsSelected,searchPlaceholder:m.searchPlaceholder,availableOptions:m.availableOptions,availableGroupedOptions:m.availableGroupedOptions,inputPlaceholder:m.inputPlaceholder,toggleMultiSelect:m.toggleMultiSelect.bind(m),deactivate:m.deactivate.bind(m),updateSearch:m.updateSearch.bind(m),selectOption:m.selectOption.bind(m),deleteOption:m.deleteOption.bind(m)}}})},"./src/components/MultiSelect/MultiSelectClass.ts":(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});var i=n("vue");class r{emit;options;placeholder;entity;multipleOptions;disabled;groups;dropDown=(0,i.ref)(null);selectedOption=(0,i.ref)(null);selectedOptions=(0,i.ref)([]);isActive=(0,i.ref)(!1);shouldSearchBarBeBelow=(0,i.ref)(!1);filteredOptions=(0,i.ref)([]);filteredGroups=(0,i.ref)([]);constructor(e,t,n,i,r,o,s){this.emit=e,this.options=t,this.placeholder=n,this.entity=i,this.multipleOptions=r,this.disabled=o,this.groups=s}availableOptions=(0,i.computed)((()=>this.filteredOptions.value.filter((e=>-1===this.selectedOptions.value.findIndex((t=>t.value===e.value))))));availableGroupedOptions=(0,i.computed)((()=>{const e=[];return this.filteredGroups.value.forEach((t=>{e.push({label:t.label,options:t.options.filter((e=>-1===this.selectedOptions.value.findIndex((t=>t.value===e.value))))})})),e}));inputPlaceholder=(0,i.computed)((()=>null===this.selectedOption.value||this.multipleOptions.value?""===this.placeholder.value?"Select an option":this.placeholder.value:this.selectedOption.value.label));optionsSelected=(0,i.computed)((()=>null!==this.selectedOption.value||this.selectedOptions.value.length>0));searchPlaceholder=(0,i.computed)((()=>""===this.entity.value?"Search":`Search by ${this.entity.value}`));mounted(){this.updateSearch("")}selectOption(e){if(this.isActive.value=!1,this.multipleOptions.value&&e)return this.selectedOptions.value.push(e),void this.emit("updated",this.selectedOptions.value);this.selectedOption.value=e,this.emit("updated",this.selectedOption.value)}toggleMultiSelect(){this.disabled.value||(this.isActive.value=!this.isActive.value,this.updateSearch(""),this.isActive.value&&this.checkDropdownOverflow())}deactivate(){this.isActive.value=!1,this.updateSearch("")}deleteOption(e){this.selectedOptions.value=this.selectedOptions.value.filter((t=>t.value!==e.value)),this.emit("updated",this.selectedOptions.value)}updateSearch(e){this.groups.value.length>0?this.filteredGroups.value=this.filterGroups(e):this.filteredOptions.value=this.filterOptions(this.options.value,e)}async checkDropdownOverflow(){await(0,i.nextTick)();const{overflowDirection:e}=this;"bottom"!==e?this.overflowUp():this.overflowDown()}overflowDown(){if(null===this.dropDown.value)return;const e=this.dropDown.value,t=e.getBoundingClientRect(),n=t.y+t.height-window.innerHeight;n>0&&(e.style.height=t.height-(n+16)+"px"),e.classList.remove("overflow-up"),this.shouldSearchBarBeBelow.value=!1}overflowUp(){if(null===this.dropDown.value)return;const e=this.dropDown.value,t=e.getBoundingClientRect(),n=t.y;e.style.height=`${t.height+n}px`,e.classList.add("overflow-up"),this.shouldSearchBarBeBelow.value=!0}get overflowDirection(){if(null===this.dropDown.value)return"bottom";const e=this.dropDown.value.getBoundingClientRect();return e.y+e.height-window.innerHeight<=100?"bottom":"top"}filterGroups(e){let t=[];return this.groups.value.forEach((n=>{t.push({...n,options:this.filterOptions(n.options,e)})})),t}filterOptions(e,t){if(""===t)return e;let n=[];return e.forEach((e=>{let i=e.label.toLowerCase();-1===e.label.indexOf(t)&&-1===i.indexOf(t)||n.push(e)})),n}}},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/Option/Option.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});var i=n("vue");const r=(0,i.defineComponent)({props:{disabled:Boolean},setup:(e,t)=>({emit:t.emit,disabled:(0,i.computed)((()=>e.disabled||!1))})})},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/OptionGroup/OptionGroup.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var i=n("vue"),r=n("./src/components/Option/Option.vue");const o=(0,i.defineComponent)({components:{Option:r.default},props:{groupData:Object},setup:(e,t)=>{const n=t.emit,r=(0,i.toRef)(e,"groupData");return{emit:n,groupData:(0,i.computed)((()=>r.value||{label:"",options:[]}))}}})},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/Options/Options.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var i=n("vue"),r=n("./src/components/Option/Option.vue");const o=(0,i.defineComponent)({components:{Option:r.default},props:{optionData:Array},setup:(e,t)=>{const n=t.emit,r=(0,i.toRef)(e,"optionData");return{emit:n,optionData:(0,i.computed)((()=>r.value||[]))}}})},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/SearchBox/SearchBox.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var i=n("vue"),r=n("./src/components/SearchBox/SearchBoxClass.ts");const o=(0,i.defineComponent)({props:{searchPlaceholder:String,borderUp:Boolean},setup:(e,t)=>{const n=t.emit,o=(0,i.ref)(""),s=(0,i.toRef)(e,"searchPlaceholder"),a=(0,i.toRef)(e,"borderUp"),l=(0,i.computed)((()=>s.value||"")),c=new r.default;return(0,i.onMounted)(c.mounted.bind(c)),{searchBox:c.searchBox,emit:n,searchPlaceholder:l,searchQuery:o,borderUp:a}}})},"./src/components/SearchBox/SearchBoxClass.ts":(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});var i=n("vue");class r{searchBox=(0,i.ref)(null);mounted(){this.searchBox.value&&this.searchBox.value.focus()}}},"./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/SelectedOption/SelectedOption.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});const i=(0,n("vue").defineComponent)({setup:(e,t)=>({emit:t.emit})})},"./node_modules/vue-loader/dist/exportHelper.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const n=e.__vccOpts||e;for(const[e,i]of t)n[e]=i;return n}},"./src/components/MultiSelect/MultiSelect.vue":(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var i=n("./src/components/MultiSelect/MultiSelect.vue?vue&type=template&id=d09def0a&ts=true"),r=n("./src/components/MultiSelect/MultiSelect.ts?vue&type=script&lang=ts&external");n("./src/components/MultiSelect/MultiSelect.scss?vue&type=style&index=0&lang=scss&external");const o=(0,n("./node_modules/vue-loader/dist/exportHelper.js").default)(r.default,[["render",i.render],["__file","src/components/MultiSelect/MultiSelect.vue"]])},"./src/components/Option/Option.vue":(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var i=n("./src/components/Option/Option.vue?vue&type=template&id=7cf903ef&scoped=true&ts=true"),r=n("./src/components/Option/Option.ts?vue&type=script&lang=ts&external");n("./src/components/Option/Option.scss?vue&type=style&index=0&id=7cf903ef&lang=scss&scoped=true&external");const o=(0,n("./node_modules/vue-loader/dist/exportHelper.js").default)(r.default,[["render",i.render],["__scopeId","data-v-7cf903ef"],["__file","src/components/Option/Option.vue"]])},"./src/components/OptionGroup/OptionGroup.vue":(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var i=n("./src/components/OptionGroup/OptionGroup.vue?vue&type=template&id=9cc62a36&scoped=true&ts=true"),r=n("./src/components/OptionGroup/OptionGroup.ts?vue&type=script&lang=ts&external");n("./src/components/OptionGroup/OptionGroup.scss?vue&type=style&index=0&id=9cc62a36&lang=scss&scoped=true&external");const o=(0,n("./node_modules/vue-loader/dist/exportHelper.js").default)(r.default,[["render",i.render],["__scopeId","data-v-9cc62a36"],["__file","src/components/OptionGroup/OptionGroup.vue"]])},"./src/components/Options/Options.vue":(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var i=n("./src/components/Options/Options.vue?vue&type=template&id=163bdf8d&ts=true"),r=n("./src/components/Options/Options.ts?vue&type=script&lang=ts&external");const o=(0,n("./node_modules/vue-loader/dist/exportHelper.js").default)(r.default,[["render",i.render],["__file","src/components/Options/Options.vue"]])},"./src/components/SearchBox/SearchBox.vue":(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var i=n("./src/components/SearchBox/SearchBox.vue?vue&type=template&id=708d0d57&scoped=true&ts=true"),r=n("./src/components/SearchBox/SearchBox.ts?vue&type=script&lang=ts&external");n("./src/components/SearchBox/SearchBox.scss?vue&type=style&index=0&id=708d0d57&lang=scss&scoped=true&external");const o=(0,n("./node_modules/vue-loader/dist/exportHelper.js").default)(r.default,[["render",i.render],["__scopeId","data-v-708d0d57"],["__file","src/components/SearchBox/SearchBox.vue"]])},"./src/components/SelectedOption/SelectedOption.vue":(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var i=n("./src/components/SelectedOption/SelectedOption.vue?vue&type=template&id=0008248f&scoped=true&ts=true"),r=n("./src/components/SelectedOption/SelectedOption.ts?vue&type=script&lang=ts&external");n("./src/components/SelectedOption/SelectedOption.scss?vue&type=style&index=0&id=0008248f&lang=scss&scoped=true&external");const o=(0,n("./node_modules/vue-loader/dist/exportHelper.js").default)(r.default,[["render",i.render],["__scopeId","data-v-0008248f"],["__file","src/components/SelectedOption/SelectedOption.vue"]])},"./src/components/MultiSelect/MultiSelect.scss?vue&type=style&index=0&lang=scss&external":(e,t,n)=>{n.r(t),n("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/MultiSelect/MultiSelect.scss?vue&type=style&index=0&lang=scss&external")},"./src/components/Option/Option.scss?vue&type=style&index=0&id=7cf903ef&lang=scss&scoped=true&external":(e,t,n)=>{n.r(t),n("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/Option/Option.scss?vue&type=style&index=0&id=7cf903ef&lang=scss&scoped=true&external")},"./src/components/OptionGroup/OptionGroup.scss?vue&type=style&index=0&id=9cc62a36&lang=scss&scoped=true&external":(e,t,n)=>{n.r(t),n("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/OptionGroup/OptionGroup.scss?vue&type=style&index=0&id=9cc62a36&lang=scss&scoped=true&external")},"./src/components/SearchBox/SearchBox.scss?vue&type=style&index=0&id=708d0d57&lang=scss&scoped=true&external":(e,t,n)=>{n.r(t),n("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/SearchBox/SearchBox.scss?vue&type=style&index=0&id=708d0d57&lang=scss&scoped=true&external")},"./src/components/SelectedOption/SelectedOption.scss?vue&type=style&index=0&id=0008248f&lang=scss&scoped=true&external":(e,t,n)=>{n.r(t),n("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./src/components/SelectedOption/SelectedOption.scss?vue&type=style&index=0&id=0008248f&lang=scss&scoped=true&external")},"./src/components/MultiSelect/MultiSelect.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>i.default});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/MultiSelect/MultiSelect.ts?vue&type=script&lang=ts&external")},"./src/components/Option/Option.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>i.default});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/Option/Option.ts?vue&type=script&lang=ts&external")},"./src/components/OptionGroup/OptionGroup.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>i.default});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/OptionGroup/OptionGroup.ts?vue&type=script&lang=ts&external")},"./src/components/Options/Options.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>i.default});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/Options/Options.ts?vue&type=script&lang=ts&external")},"./src/components/SearchBox/SearchBox.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>i.default});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/SearchBox/SearchBox.ts?vue&type=script&lang=ts&external")},"./src/components/SelectedOption/SelectedOption.ts?vue&type=script&lang=ts&external":(e,t,n)=>{n.r(t),n.d(t,{default:()=>i.default});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./src/components/SelectedOption/SelectedOption.ts?vue&type=script&lang=ts&external")},"./src/components/MultiSelect/MultiSelect.vue?vue&type=template&id=d09def0a&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>i.render});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/MultiSelect/MultiSelect.vue?vue&type=template&id=d09def0a&ts=true")},"./src/components/Option/Option.vue?vue&type=template&id=7cf903ef&scoped=true&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>i.render});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/Option/Option.vue?vue&type=template&id=7cf903ef&scoped=true&ts=true")},"./src/components/OptionGroup/OptionGroup.vue?vue&type=template&id=9cc62a36&scoped=true&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>i.render});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/OptionGroup/OptionGroup.vue?vue&type=template&id=9cc62a36&scoped=true&ts=true")},"./src/components/Options/Options.vue?vue&type=template&id=163bdf8d&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>i.render});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/Options/Options.vue?vue&type=template&id=163bdf8d&ts=true")},"./src/components/SearchBox/SearchBox.vue?vue&type=template&id=708d0d57&scoped=true&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>i.render});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/SearchBox/SearchBox.vue?vue&type=template&id=708d0d57&scoped=true&ts=true")},"./src/components/SelectedOption/SelectedOption.vue?vue&type=template&id=0008248f&scoped=true&ts=true":(e,t,n)=>{n.r(t),n.d(t,{render:()=>i.render});var i=n("./node_modules/ts-loader/index.js??clonedRuleSet-3!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/components/SelectedOption/SelectedOption.vue?vue&type=template&id=0008248f&scoped=true&ts=true")},vue:e=>{e.exports=i}},Rc={};function Pc(e){var t=Rc[e];if(void 0!==t)return t.exports;var n=Rc[e]={exports:{}};return Nc[e](n,n.exports,Pc),n.exports}Pc.d=(e,t)=>{for(var n in t)Pc.o(t,n)&&!Pc.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Pc.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Pc.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var wc={};(()=>{Pc.r(wc),Pc.d(wc,{MultiSelect:()=>e.default});var e=Pc("./src/components/MultiSelect/MultiSelect.vue")})();var Dc=wc.MultiSelect,xc={861:e=>{var t;globalThis,t=()=>(()=>{var e={204:e=>{var t;globalThis,t=()=>(()=>{var e={178:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},662:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(178),t)},634:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Actor=void 0,(n=t.Actor||(t.Actor={})).USER="user",n.AUTOMATION="automation"},570:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EventType=void 0,(n=t.EventType||(t.EventType={})).AnonymousStudentServiceReady="anonymous-student-service-ready",n.AnonymousStudentProfileUpdated="anonymous-student-profile-updated",n.AnonymousStudentProfileSynced="anonymous-student-profile-synced",n.AnonymousStudentStateChanged="anonymous-student-state-changed"},617:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(570),t),r(n(898),t),r(n(411),t),r(n(634),t)},898:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InterestType=void 0,(n=t.InterestType||(t.InterestType={})).COUNTRY="interests_countries",n.DISCIPLINE="interests_disciplines"},411:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StudentRepositoryStateType=void 0,(n=t.StudentRepositoryStateType||(t.StudentRepositoryStateType={}))[n.PENDING=0]="PENDING",n[n.ONLINE=1]="ONLINE",n[n.OFFLINE=2]="OFFLINE"},308:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousStudentProfileSynced=void 0;const i=n(570);class r{constructor(e,t){this.timestamp=e,this.state=t,this.eventType=r.EventType}}t.AnonymousStudentProfileSynced=r,r.EventType=i.EventType.AnonymousStudentProfileSynced},236:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousStudentProfileUpdated=void 0;const i=n(617);class r{constructor(e,t,n,i){this.timestamp=e,this.state=t,this.changes=n,this.isLocal=i,this.eventType=r.EventType}}t.AnonymousStudentProfileUpdated=r,r.EventType=i.EventType.AnonymousStudentProfileUpdated},612:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousStudentServiceReady=void 0;const i=n(617);class r{constructor(e){this.eventType=r.EventType,this.timestamp=new Date,this.anonymousStudentService=e}}t.AnonymousStudentServiceReady=r,r.EventType=i.EventType.AnonymousStudentServiceReady},886:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousStudentStateChanged=void 0;const i=n(617);class r{constructor(e,t,n){this.timestamp=e,this.oldState=t,this.newState=n,this.eventType=r.EventType}}t.AnonymousStudentStateChanged=r,r.EventType=i.EventType.AnonymousStudentStateChanged},688:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(308),t),r(n(236),t),r(n(612),t),r(n(886),t)},312:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(662),t),r(n(617),t),r(n(688),t)},328:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(285),t),r(n(519),t),r(n(384),t)},974:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},112:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SessionServiceEventType=void 0,(n=t.SessionServiceEventType||(t.SessionServiceEventType={})).SESSION_SERVICE_READY="SessionServiceReady",n.SESSION_CREATED="SessionCreated",n.SESSION_DESTROYED="SessionDestroyed"},641:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SessionCreatedEvent=void 0;const i=n(112);class r{constructor(e){this.eventType=r.EventType,this.timestamp=new Date,this.session=e}}t.SessionCreatedEvent=r,r.EventType=i.SessionServiceEventType.SESSION_CREATED},533:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SessionDestroyedEvent=void 0;const i=n(112);class r{constructor(){this.eventType=r.EventType,this.timestamp=new Date}}t.SessionDestroyedEvent=r,r.EventType=i.SessionServiceEventType.SESSION_DESTROYED},927:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SessionServiceReadyEvent=void 0;const i=n(112);class r{constructor(e){this.eventType=r.EventType,this.timestamp=new Date,this.sessionService=e}}t.SessionServiceReadyEvent=r,r.EventType=i.SessionServiceEventType.SESSION_SERVICE_READY},285:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(24),t),r(n(615),t),r(n(256),t),r(n(497),t),r(n(974),t),r(n(386),t),r(n(927),t),r(n(533),t),r(n(641),t),r(n(112),t)},24:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},386:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},256:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},615:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},497:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},763:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebSocketEventType=void 0,(t.WebSocketEventType||(t.WebSocketEventType={})).WEBSOCKET_SERVICE_READY="WebsocketServiceReady"},50:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebsocketServiceReadyEvent=void 0;const i=n(763);class r{constructor(e){this.webSocketService=e,this.eventType=r.EventType,this.eventAggregationService=e,this.timestamp=new Date}}t.WebsocketServiceReadyEvent=r,r.EventType=i.WebSocketEventType.WEBSOCKET_SERVICE_READY},384:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebSocketEventType=t.WebsocketServiceReadyEvent=void 0;const i=n(763);Object.defineProperty(t,"WebSocketEventType",{enumerable:!0,get:function(){return i.WebSocketEventType}});const r=n(50);Object.defineProperty(t,"WebsocketServiceReadyEvent",{enumerable:!0,get:function(){return r.WebsocketServiceReadyEvent}})},301:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},258:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.WishlistServiceEventType=void 0,(n=t.WishlistServiceEventType||(t.WishlistServiceEventType={})).WISHLIST_SERVICE_READY="WishlistServiceReady",n.WISHLIST_SYNCED="WishlistSynced"},549:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WishlistServiceReadyEvent=void 0;const i=n(258);class r{constructor(e){this.wishlistService=e,this.eventType=r.EventType,this.timestamp=new Date}}t.WishlistServiceReadyEvent=r,r.EventType=i.WishlistServiceEventType.WISHLIST_SERVICE_READY},95:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WishlistSyncedEvent=void 0;const i=n(258);class r{constructor(){this.eventType=r.EventType,this.timestamp=new Date}}t.WishlistSyncedEvent=r,r.EventType=i.WishlistServiceEventType.WISHLIST_SYNCED},519:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(301),t),r(n(549),t),r(n(95),t)},527:(e,t,n)=>{t.Gq=void 0;const i=n(177);Object.defineProperty(t,"Gq",{enumerable:!0,get:function(){return i.StudentField}}),n(322)},322:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AttendanceType=void 0,(n=t.AttendanceType||(t.AttendanceType={})).ONLINE="online",n.ON_CAMPUS="oncampus",n.BLENDED="blended"},177:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StudentField=void 0,(n=t.StudentField||(t.StudentField={})).IDENTITY_ID="identityId",n.EMAIL="email",n.NAME="name",n.FIRST_NAME="first_name",n.LAST_NAME="last_name",n.GENDER="gender",n.BIRTH_DATE="birth_date",n.TELEPHONE="telephone",n.START_PERIOD_DATE="start_period_date",n.FUNDING_TYPE="funding_type",n.STUDY_LEVEL="study_level",n.PREFERRED_STUDY_LEVEL="preferred_study_level",n.RESIDENCE_COUNTRY_ID="residence_country_id",n.NATIONALITY_COUNTRY_ID="nationality_country_id",n.NATIONALITY_COUNTRY_ISO="nationality_country_iso",n.STUDY_COUNTRY_ID="study_country_id",n.REGISTRATION_IP="registration_ip",n.REGISTRATION_PORTAL_TYPE="registration_portal_type",n.WORK_EXPERIENCE="work_experience",n.PROFICIENCY_TYPE="proficiency_type",n.PROFICIENCY_TEST="proficiency_test",n.PROFICIENCY_SCORE="proficiency_score",n.IELTS="ielts",n.CAE="cae",n.FCE="fce",n.TOEFL_IBT="toefl_ibt",n.TOEFL_PBT="toefl_pbt",n.PTE="pte",n.SELF_ASSESSMENT_PROFICIENCY="self_assessment_proficiency",n.INITIAL_REGISTRATION_PLATFORM="initial_registration_platform",n.REFERRER="referrer",n.EMAILING_OTHER="emailing_other",n.EMAILING_FAVOURITES="emailing_favourites",n.EMAILING_SCHOLARSHIPS="emailing_scholarships",n.EMAILING_UPDATES="emailing_updates",n.LAST_LOGIN_UTC="last_login_utc",n.DATE_CREATED_UTC="date_created_utc",n.DATE_MODIFIED_UTC="date_modified_utc",n.DATE_DELETED_UTC="date_deleted_utc",n.LOGINS="logins",n.DISCIPLINES="disciplines",n.INTERESTS_COUNTRIES="interests_countries",n.INTERESTS_DISCIPLINES="interests_disciplines",n.EMAIL_UNSUBSCRIBE_TOKEN="emailUnsubscribeToken",n.GDPR_ACCEPTED="gdpr_accepted",n.ORIGIN_ORGANISATION_ID="origin_organisation_id",n.FLAGS="flags",n.GPA="gpa",n.LIVING_BUDGET="living_budget",n.TUITION_BUDGET="tuition_budget",n.SEEN_COMPARISON_TUTORIAL="seen_comparison_tutorial",n.ACCOMPLISHMENTS="accomplishments",n.CURRENCY="currency",n.AFFILIATE="affiliate",n.AFFILIATE_URL="affiliate_url",n.ATTENDANCE="attendance",n.TRAFFIC_SOURCE="traffic_source",n.TRAFFIC_SOURCE_URL="traffic_source_url",n.DISMISSED_ONBOARDING_QUESTIONNAIRE="dismissed_onboarding_questionnaire",n.STARTED_ONBOARDING_QUESTIONNAIRE="started_onboarding_questionnaire",n.UNIBUDDY_CHATS="unibuddy_chats",n.UNIBUDDY_YEAR_OF_ENTRY="unibuddy_year_of_entry",n.LAST_STATE_CHANGE_HASH="last_state_change_hash",n.JOURNEY_STATE="journey_state"}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{n.r(i),n.d(i,{Category:()=>a,DataLakeEventDispatcher:()=>v,DataLayerClient:()=>z,DataLayerPageViewDispatched:()=>F,EventType:()=>t});class e{constructor(){var e,t,n,i;e=this,n=void 0,(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t="dataLayer"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,this.dataLayer=window.dataLayer}dispatchPageviewEvent({page:e,study:t,organisation:n,user:i}){this.dataLayer.push(new h(e,t,n,i))}dispatchPurchaseEvent(e){this.dataLayer.push(new m({eventName:"referralClick",...e}))}dispatchRegistrationEvent(e){this.dataLayer.push(new u({eventName:"registration",...e}))}}var t,r,o,s,a,l,c;function d(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(c=t||(t={})).PAGE_VIEW="Pageview",c.INTERACTION="interaction",c.PURCHASE="Purchase",c.DATA_LAYER_INITIALISED="DataLayerInitialised",c.SELECT_ITEM="select_item",c.VIEW_ITEM_LIST="view_item_list",c.VIEW_ITEM="view_item";class u{constructor(e){d(this,"eventParams",void 0),d(this,"event",t.INTERACTION),this.eventParams=e}}function p(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.DEVELOPMENT="dev",e.PRODUCTION="prd"}(r||(r={})),function(e){e.LEGACY_EVENT="legacyEvent"}(o||(o={})),function(e){e.PAGE="page",e.STUDY="study",e.ORGANISATION="organisation",e.USER="user"}(s||(s={})),function(e){e.ACCOUNT="account",e.ARTICLE="articles",e.CITY="cities",e.COUNTRY="countries",e.COUNTRY_TEST="country-test",e.COUNTRY_DEGREE="countries-degrees",e.DISCIPLINE="disciplines",e.HOME="home",e.META_RANKING="university-rankings",e.PERSONALITY_TEST="personality-test",e.RANKING="rankings",e.RANKING_COUNTRY="ranking-country",e.RANKINGS_REVIEW="rankings-reviews",e.SCHOLARSHIP="scholarships",e.SCHOLARSHIP_SEARCH="search-scholarships",e.SEARCH="search",e.STUDY="studies",e.STUDY_OPTIONS="study-options",e.UNIBUDDY="chat-with-students",e.UNIVERSITY="universities",e.VISA_INFO="visa-info"}(a||(a={})),function(e){e.MASTERS="masters",e.BACHELORS="bachelors",e.PHD="phd",e.SHORT_COURSES="short_courses",e.DISTANCE_LEANING="distance_learning"}(l||(l={}));class h{constructor(e,n,i,r){p(this,"page",void 0),p(this,"study",void 0),p(this,"organisation",void 0),p(this,"user",void 0),p(this,"event",t.PAGE_VIEW),this.page=e,this.study=n,this.organisation=i,this.user=r}}function f(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class m{constructor(e){f(this,"eventParams",void 0),f(this,"event",t.PURCHASE),this.eventParams=e}}class v{constructor(){var e,t,n,i;e=this,n=void 0,(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t="dataLayer"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,this.dataLayer=window.dataLayer}trackStructuredEvent(e,t){this.dataLayer.push({item:null,eventParams:null}),this.dataLayer.push(new u({eventName:t,...e}))}trackECommerceClickEvent(e){this.dataLayer.push({item:null,eventParams:null}),this.dataLayer.push({event:t.SELECT_ITEM,...e})}trackECommerceImpressionEvent(e){this.dataLayer.push({item:null,eventParams:null}),this.dataLayer.push({event:t.VIEW_ITEM_LIST,...e})}trackProductView(e){this.dataLayer.push({item:null,eventParams:null}),this.dataLayer.push({event:t.VIEW_ITEM,...e})}}function g(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class y{constructor(){g(this,"eventAggregationService",window.EventAggregationService),g(this,"dispatcher",void 0),g(this,"state",void 0),this.state=new E({name:s.PAGE},{name:s.USER},{name:s.ORGANISATION},{name:s.STUDY}),this.dispatcher=new e,this.eventAggregationService.subscribeTo(R.EventType,this,!0),this.eventAggregationService.subscribeTo(x.EventType,this,!0),this.eventAggregationService.subscribeTo(A.EventType,this,!0),this.eventAggregationService.subscribeTo(w.EventType,this,!0)}notify(e){e.eventType===R.EventType&&this.handleDataLayerPageObjectReady(e),e.eventType===x.EventType&&this.handleDataLayerUserObjectReady(e),e.eventType===A.EventType&&this.handleDataLayerOrganisationObjectReady(e),e.eventType===w.EventType&&this.handleDataLayerStudyObjectReady(e),this.state.allSet()&&this.handleAllObjectsReady()}handleAllObjectsReady(){const e=this.state.get(s.PAGE),t=this.state.get(s.USER),n=this.state.get(s.ORGANISATION),i=this.state.get(s.STUDY);this.dispatcher.dispatchPageviewEvent({page:e,user:t,organisation:n,study:i}),this.eventAggregationService.publishTo(F.EventType,new F(e,t,n,i))}handleDataLayerPageObjectReady(e){const t=e.page;this.setObject(s.PAGE,new K(t))}handleDataLayerUserObjectReady(e){const t=e.student;this.setObject(s.USER,t)}handleDataLayerOrganisationObjectReady(e){const t=e.organisation;this.setObject(s.ORGANISATION,t)}handleDataLayerStudyObjectReady(e){const t=e.study;this.setObject(s.STUDY,t)}setObject(e,t){try{this.state.set(e,t)}catch(e){}}}class S{constructor(){var t,n,i,r;t=this,i=void 0,(n="symbol"==typeof(r=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n="dispatcher"))?r:String(r))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,this.dispatcher=new e,this.setOrganisationPremiumClickListener()}setOrganisationPremiumClickListener(){document.addEventListener("dataLayer_premium_organisation_click",(()=>{const e=window.studyportalsId;e&&this.dispatcher.dispatchPurchaseEvent({statisticsId:e})}))}}class E{constructor(...e){var t,n,i,r;t=this,i=[],(n="symbol"==typeof(r=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n="stateKeys"))?r:String(r))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,e.forEach((e=>{this.stateKeys.push({name:e.name,object:e.object,isSet:!1})}))}set(e,t){if(!this.exists(e))throw new Error(`Object with name ${e} does not exist on State.`);const n=this.stateKeys.findIndex((t=>t.name===e));this.stateKeys[n].object=t,this.stateKeys[n].isSet=!0}get(e){if(!this.exists(e))throw new Error(`Object with name ${e} does not exist on State.`);const t=this.stateKeys.findIndex((t=>t.name===e));return this.stateKeys[t].object}isSet(e){if(!this.exists(e))throw new Error(`Object with name ${e} does not exist on State.`);const t=this.stateKeys.find((t=>t.name===e));return!!t&&t.isSet}allSet(){return this.stateKeys.every((e=>e.isSet))}exists(e){return this.stateKeys.some((t=>t.name===e))}}var _=n(312),b=n(328),I=n(527);function T(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class C{constructor(){T(this,"student",void 0),T(this,"eventDispatcher",void 0),T(this,"eventAggregationService",window.EventAggregationService),T(this,"anonymousStudentService",void 0),T(this,"wishlistService",void 0),T(this,"sessionService",void 0),T(this,"provider",void 0),T(this,"userRegistered",!1),this.student=new q,this.eventDispatcher=new e,this.eventAggregationService.subscribeTo(_.AnonymousStudentServiceReady.EventType,this,!0),this.eventAggregationService.subscribeTo(b.WishlistServiceReadyEvent.EventType,this,!0),this.eventAggregationService.subscribeTo(b.SessionServiceReadyEvent.EventType,this,!0),this.eventAggregationService.subscribeTo(_.AnonymousStudentProfileSynced.EventType,this,!0),this.listenToStudentRegistration(),this.listenToExperimentInitiation()}async notify(e){if(e.eventType===_.AnonymousStudentServiceReady.EventType&&this.setAnonymousStudentService(e),e.eventType===b.WishlistServiceReadyEvent.EventType&&this.setWishlistService(e),e.eventType===b.SessionServiceReadyEvent.EventType&&this.setSessionService(e),e.eventType===_.AnonymousStudentProfileSynced.EventType){if(e.state!==_.StudentRepositoryStateType.ONLINE||!this.userRegistered)return;const t=await this.getStudentRegistrationData();if(t)return void this.eventDispatcher.dispatchRegistrationEvent(t)}this.anonymousStudentService&&this.wishlistService&&this.sessionService&&(await this.setStudentData(),await this.setWishlist(),await this.setSessionData(),this.notifyStudentObjectReady())}setAnonymousStudentService(e){this.anonymousStudentService=e.anonymousStudentService}async setStudentData(){if(this.anonymousStudentService)try{const e=await this.anonymousStudentService.getStudentData([I.Gq.EMAIL,I.Gq.GENDER,I.Gq.BIRTH_DATE,I.Gq.NATIONALITY_COUNTRY_ISO,I.Gq.RESIDENCE_COUNTRY_ID,I.Gq.INTERESTS_DISCIPLINES,I.Gq.INTERESTS_COUNTRIES,I.Gq.START_PERIOD_DATE,I.Gq.ATTENDANCE,I.Gq.CURRENCY,I.Gq.TUITION_BUDGET,I.Gq.LIVING_BUDGET,I.Gq.STUDY_LEVEL,I.Gq.STUDY_COUNTRY_ID,I.Gq.ORIGIN_ORGANISATION_ID,I.Gq.DISCIPLINES,I.Gq.GPA,I.Gq.WORK_EXPERIENCE,I.Gq.EMAILING_FAVOURITES,I.Gq.PROFICIENCY_TYPE]);this.student.setStudentData(e)}catch(e){}}setWishlistService(e){this.wishlistService=e.wishlistService}async setWishlist(){if(!this.wishlistService)return;const e=(await this.wishlistService.getWishlist()).favourites.map((e=>{var t;return new Y(e.study.id,null==(t=e.study.card)?void 0:t.getTitle())}));this.student.setWishlist(e)}setSessionService(e){this.sessionService=e.sessionService}async setSessionData(){if(!this.sessionService)return;const e=await this.sessionService.getSession();if(!e)return void this.student.setSessionData(!1,!1);const t=e.getUser();this.student.setSessionData(!!t.email,this.isStudyportalsEmployee(t.email),t.identityId)}notifyStudentObjectReady(){const e=new x(this.student);this.eventAggregationService.publishTo(x.EventType,e)}async getStudentRegistrationData(){if(!this.anonymousStudentService)return;const e=await this.anonymousStudentService.getStudentData([I.Gq.EMAIL,I.Gq.REFERRER]);return{isStudyportalsEmployee:!!e[I.Gq.EMAIL]&&this.isStudyportalsEmployee(e[I.Gq.EMAIL]),referrer:e[I.Gq.REFERRER],provider:this.provider}}listenToStudentRegistration(){document.addEventListener("student-registered",(e=>{const t=e;this.provider=t.detail.provider,this.userRegistered=!0}))}readActiveExperiments(){const e=sessionStorage.getItem("sp_active_experiments");null!==e&&(this.student.abTests=JSON.parse(e))}listenToExperimentInitiation(){document.addEventListener("dataLayer-sp-experiment-initiated",(()=>{this.readActiveExperiments()})),this.readActiveExperiments()}isStudyportalsEmployee(e){return"studyportals.com"===e.split("@")[1]}}class k{constructor(){var t,n,i,r;t=this,i=void 0,(n="symbol"==typeof(r=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n="dispatcher"))?r:String(r))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,this.dispatcher=new e,this.setStudyPremiumClickListener()}setStudyPremiumClickListener(){document.addEventListener("dataLayer_premium_study_click",(()=>{const e=window.studyportalsId;e&&this.dispatcher.dispatchPurchaseEvent({statisticsId:e})}))}}function O(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class A{constructor(e){O(this,"organisation",void 0),O(this,"eventType",A.EventType),O(this,"timestamp",void 0),this.organisation=e,this.timestamp=new Date}}function N(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}O(A,"EventType","DataLayerOrganisationObjectReady");class R{constructor(e){N(this,"page",void 0),N(this,"eventType",R.EventType),N(this,"timestamp",void 0),this.page=e,this.timestamp=new Date}}function P(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}N(R,"EventType","DataLayerPageObjectReady");class w{constructor(e){P(this,"study",void 0),P(this,"eventType",w.EventType),P(this,"timestamp",void 0),this.study=e,this.timestamp=new Date}}function D(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}P(w,"EventType","DataLayerStudyObjectReady");class x{constructor(e){D(this,"student",void 0),D(this,"eventType",x.EventType),D(this,"timestamp",void 0),this.student=e,this.timestamp=new Date}}function V(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}D(x,"EventType","DataLayerUserObjectReady");class F{constructor(e,t,n,i){V(this,"page",void 0),V(this,"user",void 0),V(this,"organisation",void 0),V(this,"study",void 0),V(this,"eventType",F.EventType),V(this,"timestamp",void 0),this.page=e,this.user=t,this.organisation=n,this.study=i,this.timestamp=new Date}}function L(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}V(F,"EventType","DataLayerPageViewDispatched");class M{constructor(e,t,n,i,r,o,s){L(this,"degreeLevel",void 0),L(this,"country",void 0),L(this,"universityStudies",void 0),L(this,"discipline",void 0),L(this,"gradingSystem",void 0),L(this,"grade",void 0),L(this,"workExperience",void 0),this.degreeLevel=e,this.country=t,this.universityStudies=n,this.discipline=i,this.gradingSystem=r,this.grade=o,this.workExperience=s}}function B(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class U{constructor(e,t,n){B(this,"currency",void 0),B(this,"yearlyTuitionFee",void 0),B(this,"monthlyLivingCosts",void 0),this.currency=e,this.yearlyTuitionFee=t,this.monthlyLivingCosts=n}}function j(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class H{constructor(e,t,n,i){j(this,"what",void 0),j(this,"where",void 0),j(this,"when",void 0),j(this,"attendance",void 0),this.what=e,this.where=t,this.when=n,this.attendance=i}}function G(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Y{constructor(e,t){G(this,"id",void 0),G(this,"name",void 0),this.id=e,this.name=t}}function W(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class K{constructor(e){W(this,"category",void 0),W(this,"portal",void 0),W(this,"environment",void 0),W(this,"url",void 0),W(this,"host",void 0),W(this,"path",void 0),W(this,"query",void 0),W(this,"referrer",void 0),this.category=e.category,this.portal=e.portal,this.environment=e.environment,this.url=e.url,this.host=e.host,this.path=e.path,this.query=e.query,this.referrer=e.referrer}}function $(e,t,n){var i;return(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class q{constructor(){$(this,"userId",void 0),$(this,"gender",void 0),$(this,"age",void 0),$(this,"nationality",void 0),$(this,"countryOfResidence",void 0),$(this,"wishlist",[]),$(this,"abTests",[]),$(this,"studyInterests",null),$(this,"budgetPreference",null),$(this,"academicBackground",null),$(this,"newsletterAccepted",void 0),$(this,"englishLevel",void 0),$(this,"isLoggedIn",void 0),$(this,"isStudyportalsEmployee",void 0)}setSessionData(e,t,n){this.userId=n,this.isLoggedIn=e,this.isStudyportalsEmployee=t}setStudentData(e){e&&(this.gender=e[I.Gq.GENDER],this.age=e.birth_date?this.calculateAge(e[I.Gq.BIRTH_DATE]):void 0,this.nationality=e[I.Gq.NATIONALITY_COUNTRY_ISO],this.countryOfResidence=e[I.Gq.RESIDENCE_COUNTRY_ID],this.newsletterAccepted=e[I.Gq.EMAILING_FAVOURITES],this.englishLevel=e[I.Gq.PROFICIENCY_TYPE],this.setStudyInterests(e),this.setBudgetPreference(e),this.setAcademicBackground(e))}setWishlist(e){this.wishlist=e}setStudyInterests(e){this.studyInterests=new H(e[I.Gq.INTERESTS_DISCIPLINES],e[I.Gq.INTERESTS_COUNTRIES],e[I.Gq.START_PERIOD_DATE],e[I.Gq.ATTENDANCE])}setBudgetPreference(e){var t,n;this.budgetPreference=new U(e[I.Gq.CURRENCY],null==(t=e[I.Gq.TUITION_BUDGET])?void 0:t.amount,null==(n=e[I.Gq.LIVING_BUDGET])?void 0:n.amount)}setAcademicBackground(e){this.academicBackground=new M(e[I.Gq.STUDY_LEVEL],e[I.Gq.STUDY_COUNTRY_ID],e[I.Gq.ORIGIN_ORGANISATION_ID],e[I.Gq.DISCIPLINES],e[I.Gq.GPA]?e[I.Gq.GPA].current_type:void 0,e[I.Gq.GPA]?e[I.Gq.GPA].self_assessment_grade:void 0,e[I.Gq.WORK_EXPERIENCE])}calculateAge(e){const t=new Date(e),n=(new Date).getTime()-t.getTime();return Math.floor(n/315576e5)}}class z{constructor(){var e,t,n,i;e=this,n=void 0,(t="symbol"==typeof(i=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t="eventAggregationService"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,this.eventAggregationService=window.EventAggregationService}initialiseDataLayer(){window.dataLayer=window.dataLayer||[],this.bootDataLayerService(),document.dispatchEvent(new Event(t.DATA_LAYER_INITIALISED))}sendPageData(e){this.eventAggregationService.publishTo(R.EventType,new R(e))}sendStudyData(e){this.eventAggregationService.publishTo(w.EventType,new w(e))}sendOrganisationData(e){this.eventAggregationService.publishTo(A.EventType,new A(e))}bootDataLayerService(){new k,new S,new C,new y}}})(),i})(),e.exports=t()},4:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CardTracker=void 0;const i=n(324);t.CardTracker=class{constructor(e){this.tracker=e}trackClick(e,t){if(null===this.tracker)throw new Error(i.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);this.tracker.trackECommerceClickEvent({eventParams:t,listEntityType:this.getListEntityType(),listName:e.listName,listPageType:e.listPageType,item:e.getTrackingContext()})}trackImpression(e,t){var n,r;if(null===this.tracker)throw new Error(i.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);this.tracker.trackECommerceImpressionEvent({eventParams:t,listEntityType:this.getListEntityType(),listName:null!==(n=e.listName)&&void 0!==n?n:"",listPageType:null!==(r=e.listPageType)&&void 0!==r?r:"",item:e.getTrackingContext()})}}},684:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PartnerIncentiveTracker=void 0,t.PartnerIncentiveTracker=class{constructor(e){this.tracker=e}trackImpression(e,t){var n,i;this.tracker.trackProductView({eventParams:t,listEntityType:e.listEntityType,listName:null!==(n=e.listName)&&void 0!==n?n:"",listPageType:null!==(i=e.listPageType)&&void 0!==i?i:"",item:e.getTrackingContext()})}}},380:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProductViewTracker=void 0,t.ProductViewTracker=class{constructor(e){this.tracker=e}trackImpression(e,t){var n,i;this.tracker.trackProductView({eventParams:t,listEntityType:e.listEntityType,listName:null!==(n=e.listName)&&void 0!==n?n:"",listPageType:null!==(i=e.listPageType)&&void 0!==i?i:"",item:e.getTrackingContext()})}}},656:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScholarshipCardTracker=void 0;const i=n(196),r=n(4);class o extends r.CardTracker{constructor(e){super(e)}getListEntityType(){return i.ListEntityType.SCHOLARSHIP}}t.ScholarshipCardTracker=o},720:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StudyCardTracker=void 0;const i=n(196),r=n(4);class o extends r.CardTracker{constructor(e){super(e)}getListEntityType(){return i.ListEntityType.STUDY}}t.StudyCardTracker=o},112:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TrackerImporter=void 0;const i=n(204);t.TrackerImporter=class{constructor(){this.trackerObject=null,this.dataLayerTrackerObject=null,this.trackerIsLoaded=!1}get tracker(){return this.trackerObject}get dataLayerTracker(){return this.dataLayerTrackerObject}get trackerLoaded(){return this.trackerIsLoaded}loadTracker(e){if(void 0!==window.dataLayer)return this.dataLayerTrackerObject=new i.DataLakeEventDispatcher,void e(this.dataLayerTrackerObject);document.addEventListener(i.EventType.DATA_LAYER_INITIALISED,(()=>{this.dataLayerTrackerObject=new i.DataLakeEventDispatcher,e(this.dataLayerTrackerObject)}))}}},744:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Tracker=void 0;const i=n(112),r=n(36),o=n(805),s=n(900),a=n(172),l=n(604),c=n(212),d=n(268),u=n(324),p=n(416),h=n(656),f=n(720),m=n(684),v=n(40),g=n(380);t.Tracker=class{constructor(e,t=!1,n=!0){this.product=e,this.dataLayerTracker=null,this.trackerImporter=null,this.structuredEventValidator=this.initStructuredEventValidators(),this.trackWithGoogleAnalytics=t,this.trackWithSnowplow=n,this.initTrackerSupport()}trackStructuredEvent(e,t=p.EventName.LEGACY_EVENT){if(!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);e.category=this.product,this.structuredEventValidator.validate(e),this.dataLayerTracker.trackStructuredEvent(Object.assign(Object.assign({},e),{trackWithGoogleAnalytics:this.trackWithGoogleAnalytics,trackWithSnowplow:this.trackWithSnowplow}),t)}trackExperimentEvent(e){if(e.category=d.Product.EXPERIMENT,!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);null!==this.dataLayerTracker&&this.dataLayerTracker.trackStructuredEvent(Object.assign(Object.assign({},e),{trackWithGoogleAnalytics:this.trackWithGoogleAnalytics,trackWithSnowplow:this.trackWithSnowplow}),p.EventName.EXPERIMENT_EVENT)}trackStudyCardImpression(e){if(!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);new f.StudyCardTracker(this.dataLayerTracker).trackImpression(e,{trackWithGoogleAnalytics:this.trackWithGoogleAnalytics,trackWithSnowplow:this.trackWithSnowplow})}trackScholarshipCardImpression(e){if(!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);new h.ScholarshipCardTracker(this.dataLayerTracker).trackImpression(e,{trackWithGoogleAnalytics:!0,trackWithSnowplow:this.trackWithSnowplow})}trackUniversityCardImpression(e){if(!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);new v.UniversityCardTracker(this.dataLayerTracker).trackImpression(e,{trackWithGoogleAnalytics:this.trackWithGoogleAnalytics,trackWithSnowplow:this.trackWithSnowplow})}trackUniversityCardClick(e){if(!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);new v.UniversityCardTracker(this.dataLayerTracker).trackClick(e,{trackWithGoogleAnalytics:this.trackWithGoogleAnalytics,trackWithSnowplow:this.trackWithSnowplow})}trackStudyCardClick(e){if(!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);new f.StudyCardTracker(this.dataLayerTracker).trackClick(e,{trackWithGoogleAnalytics:!0,trackWithSnowplow:this.trackWithSnowplow})}trackScholarshipCardClick(e){if(!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);new h.ScholarshipCardTracker(this.dataLayerTracker).trackClick(e,{trackWithGoogleAnalytics:!0,trackWithSnowplow:this.trackWithSnowplow})}trackProductView(e){if(!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);new g.ProductViewTracker(this.dataLayerTracker).trackImpression(e,{trackWithGoogleAnalytics:this.trackWithGoogleAnalytics,trackWithSnowplow:this.trackWithSnowplow})}trackPartnerIncentiveImpression(e){if(!this.dataLayerTracker)throw new Error(u.ErrorMessage.DATA_LAYER_TRACKER_UNAVAILABLE);new m.PartnerIncentiveTracker(this.dataLayerTracker).trackImpression(e,{trackWithGoogleAnalytics:this.trackWithGoogleAnalytics,trackWithSnowplow:this.trackWithSnowplow})}initStructuredEventValidators(){const e=new o.EventValidator;return e.addValidator(new r.CategoryValidator),e.addValidator(new s.ActionValidator),e.addValidator(new a.LabelValidator),e.addValidator(new l.PropertyValidator),e.addValidator(new c.ValueValidator),e}initTrackerSupport(){this.trackerImporter=new i.TrackerImporter,this.trackerImporter.loadTracker((()=>{this.dataLayerTracker=this.trackerImporter.dataLayerTracker})),this.dataLayerTracker&&(window.DatalakeEventTrackerLoaded=!0,document.dispatchEvent(new Event("DatalakeEventTrackerLoaded")))}}},40:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UniversityCardTracker=void 0;const i=n(196),r=n(4);class o extends r.CardTracker{constructor(e){super(e)}getListEntityType(){return i.ListEntityType.ORGANISATION}}t.UniversityCardTracker=o},668:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationError=void 0;class n extends Error{constructor(e){super(e),this.name="ValidationError"}}t.ValidationError=n},900:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ActionValidator=void 0;const i=n(576),r=n(324),o=n(668),s=n(328);t.ActionValidator=class{constructor(){this.snakeCaseValidator=new s.SnakeCaseValidator}validate(e){const t=e.action;if(void 0!==t){if(!Object.values(i.Action).includes(t))throw new o.ValidationError(r.ErrorMessage.INVALID_ACTION);this.snakeCaseValidator.validate(t)}}}},36:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryValidator=void 0;const i=n(268),r=n(324),o=n(668),s=n(804);t.CategoryValidator=class{constructor(){this.pascalCaseValidator=new s.PascalCaseValidator}validate(e){const t=e.category;if(void 0===t)throw new o.ValidationError(r.ErrorMessage.INVALID_PRODUCT);if(!Object.values(i.Product).includes(t))throw new o.ValidationError(r.ErrorMessage.INVALID_PRODUCT);this.pascalCaseValidator.validate(t)}}},805:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EventValidator=void 0,t.EventValidator=class{constructor(){this.validators=[]}addValidator(e){this.validators.push(e)}validate(e){for(const t of this.validators)t.validate(e)}}},172:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LabelValidator=void 0;const i=n(328);t.LabelValidator=class{constructor(){this.snakeCaseValidator=new i.SnakeCaseValidator}validate(e){const t=e.label;void 0!==t&&this.snakeCaseValidator.validate(t)}}},804:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PascalCaseValidator=void 0;const i=n(324),r=n(668);t.PascalCaseValidator=class{validate(e){if("string"!=typeof e||-1!==e.indexOf("-")||-1!==e.indexOf("_")||e.charAt(0).toUpperCase()!==e.charAt(0))throw new r.ValidationError(i.ErrorMessage.INVALID_PASCAL_CASE)}}},604:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PropertyValidator=void 0;const i=n(328);t.PropertyValidator=class{constructor(){this.snakeCaseValidator=new i.SnakeCaseValidator}validate(e){void 0!==e.property&&this.snakeCaseValidator.validate(e.property)}}},328:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SnakeCaseValidator=void 0;const i=n(324),r=n(668);t.SnakeCaseValidator=class{validate(e){if("string"!=typeof e||e!==e.toLowerCase()||-1!==e.indexOf("-"))throw new r.ValidationError(i.ErrorMessage.INVALID_SNAKE_CASE)}}},212:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValueValidator=void 0;const i=n(324),r=n(668);t.ValueValidator=class{validate(e){if(void 0!==e.value&&("string"==typeof e.value||isNaN(e.value)))throw new r.ValidationError(i.ErrorMessage.INVALID_NUMBER)}}},576:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0,(n=t.Action||(t.Action={})).CLICK="click",n.IMPRESSION="impression",n.POPUP_OPEN="popup_open",n.POPUP_CLOSE="popup_close",n.TIME_SPENT="time_spent",n.NON_INTERACTIVE="non_interactive",n.RENDERED="rendered",n.COMPLETED="completed",n.CHECK="check",n.UNCHECK="uncheck",n.SELECT="select",n.CHANGE="change",n.SLIDER_CHANGE="slider_change",n.CLEAR="clear",n.OPEN="open",n.CLOSE="close",n.SEND="send",n.RECEIVE="receive"},324:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorMessage=void 0,(n=t.ErrorMessage||(t.ErrorMessage={})).INVALID_NUMBER="invalid_number",n.INVALID_SNAKE_CASE="invalid_snake_case",n.INVALID_PASCAL_CASE="invalid_pascal_case",n.INVALID_ACTION="invalid_action",n.INVALID_PRODUCT="invalid_product",n.DATA_LAYER_TRACKER_UNAVAILABLE="data_layer_tracker_unavailable"},416:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EventName=void 0,(n=t.EventName||(t.EventName={})).LEGACY_EVENT="legacyEvent",n.EXPERIMENT_EVENT="experimentEvent",n.FILTER_INTERACTION="filterInteraction"},196:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ListEntityType=void 0,(n=t.ListEntityType||(t.ListEntityType={})).STUDY="study",n.ORGANISATION="organisation",n.SCHOLARSHIP="scholarship"},448:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ListName=void 0,(n=t.ListName||(t.ListName={})).SEARCH_PAGE="search_page",n.SCHOLARSHIP_SEARCH_PAGE="scholarship_search_page",n.UNIVERSITY_SEARCH_PAGE="university_search_page",n.STUDY_CARD_STUDY_OPTIONS="study_card_study_options",n.RECOMMENDER="recommender",n.UNIVERSITY_HIGHLIGHTED="university_highlighted",n.UNIVERSITY_PROGRAMMES="university_programmes",n.STUDY_CARD_COUNTRY_DEGREE="study_card_country_degree",n.STUDY_CARD_DISCIPLINE="study_card_discipline",n.WISHLIST="wishlist",n.META_RANKING="meta_ranking",n.PARTNER_SECTION="partner_section",n.ADMISSION_REQUIREMENTS_INSURANCE="admission_requirements_insurance",n.ADMISSION_REQUIREMENTS_ENGLISH="admission_requirements_english",n.BELOW_CONTENT_SWITCHER="below_content_switcher",n.FINANCING_SECTION="financing_section",n.OVERVIEW_FINANCING="overview_financing",n.FEES_AND_FUNDING_FINANCING="fees_and_funding_financing"},624:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ListPageType=void 0,(n=t.ListPageType||(t.ListPageType={})).SEARCH="search",n.STUDY="study",n.ARTICLE="article",n.ARTICLE_OVERVIEW="article_overview",n.STUDY_OPTIONS="study_options",n.UNIVERSITY="university",n.ACCOUNT="account",n.COUNTRY="country",n.COUNTRY_DEGREE="country_degree",n.DISCIPLINE="discipline",n.CITY="city",n.UNIBUDDY="unibuddy",n.HOME="home",n.META_RANKING="meta_ranking",n.SCHOLARSHIP="scholarship"},896:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ProductType=void 0,(n=t.ProductType||(t.ProductType={})).STUDY="study",n.SCHOLARSHIP="scholarship",n.PARTNER="partner",n.UNIVERSITY="university"},268:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Product=void 0,(n=t.Product||(t.Product={})).BESTFIT_OVERVIEW="BestfitOverview",n.PROFILE="Profile",n.ACCOUNT_PAGE="AccountPage",n.PROFILE_QUESTIONNAIRES="ProfileQuestionnaires",n.EXPERIMENT="Experiment",n.STUDY_PAGE="StudyPage",n.HOME_PAGE="HomePage",n.ORGANISATION_PAGE="OrganisationPage",n.SEARCH_PAGE="SearchPage",n.SCHOLARSHIP_SEARCH_PAGE="ScholarshipSearchPage",n.ORGANISATION_SEARCH_PAGE="OrganisationSearchPage",n.DISCIPLINE_PAGE="DisciplinePage",n.COUNTRY_TEST="CountryTest",n.PERSONALITY_TEST="PersonalityTest",n.REVIEWS="Reviews",n.DECISION_MAKING_SERVICE="DecisionMakingService",n.GOOGLE_AD_MANAGER="GoogleAdManager",n.ERT="ERT",n.SMT="SMT",n.UNIBUDDY="Unibuddy",n.COUNTRY_DEGREE="CountryDegreePage",n.STUDY_OPTIONS="StudyOptionsPage",n.ARTICLE_PAGE="ArticlePage",n.RECOMMENDATONS="Recommendations",n.SCHOLARSHIP_PAGE="ScholarshipPage",n.COMPARISON_TOOL="ComparisonTool",n.META_RANKING="MetaRanking",n.COUNTRY="Country",n.ACT_DASHBOARD="ACTDashboard",n.MY_JOURNEY="MyJourney",n.SSG="StudyportalsScholarshipGrant",n.COPILOT_AI="CopilotAI",n.CAMPAIGN_EDITOR="CampaignEditor",n.PARTNERS="Partners"},436:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ClickEcommerceTrackingData=void 0;const i=n(492);class r extends i.EcommerceTrackingData{constructor(e,t,n,i,r,o,s,a,l,c){super(e,t,n,i,r,o,s,a,l),this.productId=e,this.listPageType=t,this.listName=n,this.organisationId=i,this.disciplines=r,this.premium=o,this.listPosition=s,this.unitPrice=a,this.currency=l,this.productType=c}getTrackingContext(){var e,t;return{organisationId:this.getOrganisationId(),studyId:this.getProductId(),scholarshipId:void 0,bodyId:void 0,premiumnessLevel:null!==(t=null===(e=this.premium)||void 0===e?void 0:e.toString())&&void 0!==t?t:"",price:void 0,position:this.listPosition,currency:this.getCurrency()}}}t.ClickEcommerceTrackingData=r},492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EcommerceTrackingData=void 0,t.EcommerceTrackingData=class{constructor(e,t,n,i,r,o,s,a,l){this.productId=e,this.listPageType=t,this.listName=n,this.organisationId=i,this.disciplines=r,this.premium=o,this.listPosition=s,this.unitPrice=a,this.currency=l}getProductId(){return this.productId}getOrganisationId(){return this.organisationId}getDisciplines(){if(this.disciplines)return this.disciplines.map((e=>e.toString())).join("/")}getUnitPrice(){if(this.unitPrice)return this.unitPrice.toString()}getCurrency(){if(this.currency&&3===this.currency.length)return this.currency.toString()}}},140:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PartnerIncentiveImpressionData=void 0;const i=n(492);class r extends i.EcommerceTrackingData{constructor(e,t,n,i,r,o,s,a,l,c){super(e,t,i,r,o,s,a,l,c),this.productId=e,this.listPageType=t,this.listEntityType=n,this.listName=i,this.organisationId=r,this.disciplines=o,this.premium=s,this.listPosition=a,this.unitPrice=l,this.currency=c}getTrackingContext(){var e,t;return{organisationId:this.getOrganisationId(),studyId:this.getProductId(),scholarshipId:void 0,bodyId:void 0,premiumnessLevel:null!==(t=null===(e=this.premium)||void 0===e?void 0:e.toString())&&void 0!==t?t:"",price:void 0,position:this.listPosition,currency:this.getCurrency()}}}t.PartnerIncentiveImpressionData=r},8:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScholarshipCardImpressionData=void 0;const i=n(492);class r extends i.EcommerceTrackingData{constructor(e,t,n,i,r,o,s,a,l,c){super(e,n,i,r,o,s,a,l,c),this.productId=e,this.bodyId=t,this.listPageType=n,this.listName=i,this.organisationId=r,this.disciplines=o,this.premium=s,this.listPosition=a,this.unitPrice=l,this.currency=c}getTrackingContext(){var e,t;return{organisationId:this.getOrganisationId(),studyId:void 0,scholarshipId:this.getProductId(),bodyId:this.bodyId,premiumnessLevel:null!==(t=null===(e=this.premium)||void 0===e?void 0:e.toString())&&void 0!==t?t:"",price:this.getUnitPrice(),position:this.listPosition,currency:this.getCurrency()}}}t.ScholarshipCardImpressionData=r},404:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StudyCardImpressionData=void 0;const i=n(492);class r extends i.EcommerceTrackingData{getTrackingContext(){var e,t;return{organisationId:this.getOrganisationId(),studyId:this.getProductId(),scholarshipId:void 0,bodyId:void 0,premiumnessLevel:null!==(t=null===(e=this.premium)||void 0===e?void 0:e.toString())&&void 0!==t?t:"",price:this.getUnitPrice(),position:this.listPosition,currency:this.getCurrency()}}}t.StudyCardImpressionData=r},812:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UniversityCardClickEcommerceTrackingData=void 0;const i=n(896),r=n(436);class o extends r.ClickEcommerceTrackingData{constructor(e,t,n,r){super(e,t,n,e,void 0,void 0,r,void 0,void 0,i.ProductType.UNIVERSITY),this.productId=e,this.listPageType=t,this.listName=n,this.listPosition=r}getTrackingContext(){var e,t;return{organisationId:this.getProductId(),studyId:void 0,scholarshipId:void 0,bodyId:void 0,premiumnessLevel:null!==(t=null===(e=this.premium)||void 0===e?void 0:e.toString())&&void 0!==t?t:"",price:void 0,position:this.listPosition,currency:this.getCurrency()}}}t.UniversityCardClickEcommerceTrackingData=o},652:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UniversityCardImpressionData=void 0;const i=n(492);class r extends i.EcommerceTrackingData{constructor(e,t,n,i,r){super(e,t,n,i,void 0,void 0,r,void 0,void 0),this.productId=e,this.listPageType=t,this.listName=n,this.organisationId=i,this.listPosition=r}getTrackingContext(){var e,t;return{organisationId:this.getProductId(),studyId:void 0,scholarshipId:void 0,bodyId:void 0,premiumnessLevel:null!==(t=null===(e=this.premium)||void 0===e?void 0:e.toString())&&void 0!==t?t:"",price:void 0,position:this.listPosition,currency:this.getCurrency()}}}t.UniversityCardImpressionData=r},72:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ViewEcommerceTrackingData=void 0;const i=n(492);class r extends i.EcommerceTrackingData{constructor(e,t,n,i,r,o,s,a,l,c,d){super(e,t,i,r,o,s,a,l,c),this.productId=e,this.listPageType=t,this.listEntityType=n,this.listName=i,this.organisationId=r,this.disciplines=o,this.premium=s,this.listPosition=a,this.unitPrice=l,this.currency=c,this.productType=d}getTrackingContext(){var e,t;return{organisationId:void 0,studyId:this.getProductId(),scholarshipId:void 0,bodyId:void 0,premiumnessLevel:null!==(t=null===(e=this.premium)||void 0===e?void 0:e.toString())&&void 0!==t?t:"",price:void 0,position:this.listPosition,currency:this.getCurrency()}}}t.ViewEcommerceTrackingData=r}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}var i={};return(()=>{var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.ViewEcommerceTrackingData=e.UniversityCardClickEcommerceTrackingData=e.ClickEcommerceTrackingData=e.PartnerIncentiveImpressionData=e.UniversityCardImpressionData=e.ScholarshipCardImpressionData=e.StudyCardImpressionData=e.EcommerceTrackingData=e.ProductType=e.EventName=e.ListName=e.ListEntityType=e.ListPageType=e.Product=e.Action=e.Tracker=void 0;const t=n(744);Object.defineProperty(e,"Tracker",{enumerable:!0,get:function(){return t.Tracker}});const r=n(576);Object.defineProperty(e,"Action",{enumerable:!0,get:function(){return r.Action}});const o=n(268);Object.defineProperty(e,"Product",{enumerable:!0,get:function(){return o.Product}});const s=n(896);Object.defineProperty(e,"ProductType",{enumerable:!0,get:function(){return s.ProductType}});const a=n(492);Object.defineProperty(e,"EcommerceTrackingData",{enumerable:!0,get:function(){return a.EcommerceTrackingData}});const l=n(404);Object.defineProperty(e,"StudyCardImpressionData",{enumerable:!0,get:function(){return l.StudyCardImpressionData}});const c=n(436);Object.defineProperty(e,"ClickEcommerceTrackingData",{enumerable:!0,get:function(){return c.ClickEcommerceTrackingData}});const d=n(72);Object.defineProperty(e,"ViewEcommerceTrackingData",{enumerable:!0,get:function(){return d.ViewEcommerceTrackingData}});const u=n(624);Object.defineProperty(e,"ListPageType",{enumerable:!0,get:function(){return u.ListPageType}});const p=n(196);Object.defineProperty(e,"ListEntityType",{enumerable:!0,get:function(){return p.ListEntityType}});const h=n(448);Object.defineProperty(e,"ListName",{enumerable:!0,get:function(){return h.ListName}});const f=n(416);Object.defineProperty(e,"EventName",{enumerable:!0,get:function(){return f.EventName}});const m=n(8);Object.defineProperty(e,"ScholarshipCardImpressionData",{enumerable:!0,get:function(){return m.ScholarshipCardImpressionData}});const v=n(140);Object.defineProperty(e,"PartnerIncentiveImpressionData",{enumerable:!0,get:function(){return v.PartnerIncentiveImpressionData}});const g=n(652);Object.defineProperty(e,"UniversityCardImpressionData",{enumerable:!0,get:function(){return g.UniversityCardImpressionData}});const y=n(812);Object.defineProperty(e,"UniversityCardClickEcommerceTrackingData",{enumerable:!0,get:function(){return y.UniversityCardClickEcommerceTrackingData}})})(),i})(),e.exports=t()},262:(e,t)=>{t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[e,i]of t)n[e]=i;return n}}},Vc={};function Fc(e){var t=Vc[e];if(void 0!==t)return t.exports;var n=Vc[e]={exports:{}};return xc[e](n,n.exports,Fc),n.exports}Fc.d=(e,t)=>{for(var n in t)Fc.o(t,n)&&!Fc.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Fc.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Lc={};(()=>{Fc.d(Lc,{A8:()=>At,hz:()=>v,gn:()=>q,cI:()=>s,b_:()=>ne,tw:()=>mt,ZH:()=>Qt,k5:()=>g,ji:()=>ce,lZ:()=>a,xg:()=>Re,at:()=>y,V1:()=>Le,$w:()=>l,pL:()=>Ye,vg:()=>d,ID:()=>Je,UM:()=>c,wo:()=>f,M_:()=>t,mG:()=>m,X5:()=>r,bl:()=>e,S8:()=>rt,YI:()=>u,AX:()=>dn,eg:()=>o,SP:()=>hi,Rl:()=>Ui,bj:()=>gn,pi:()=>p,hh:()=>jn,VP:()=>h,X:()=>ui,Fz:()=>Ie});class e{static EventType="SearchFilters:FiltersDisplayedEvent";timestamp=new Date;eventType=e.EventType;static is(t){return t.eventType===e.EventType}}var t,n;(n=t||(t={})).KEYWORD_WHAT="kw-what",n.KEYWORD_WHERE="kw-where",n.KEYWORD="kw",n.ORGANISATIONS="oi",n.DISCIPLINES="di",n.EDUCATION_LEVEL="lv",n.CONTINENT="rg",n.COUNTRY="ci",n.AREA="ae",n.TUITION_FEE="tr",n.DURATION="dur",n.ATTENDANCE="de",n.DELIVERY_METHOD="mh",n.DEGREE_TYPE="dg",n.EDUCATIONAL_FORM="ef",n.SPECIAL_PROGRAMMES="sps",n.USER_COUNTRY="uc",n.USER_REGION="ur",n.CURRENCY="tc";const i=[t.CONTINENT,t.COUNTRY,t.AREA];var r,o,s,a,l,c,d,u,p,h,f;!function(e){e.FILTER_PROVIDER="searchFilters.filterProvider",e.CURRENCY_FILTER_PROVIDER="searchFilters.currencyFilterProvider",e.LOCATION_FILTER_PROVIDER="searchFilters.locationFilterProvider",e.UNIVERSITY_FILTER_PROVIDER="searchFilters.universityFilterProvider",e.CONFIGURATION="searchFilters.configuration"}(r||(r={})),function(e){e.COUNTRY="CountryFilter",e.CONTINENT="ContinentFilter"}(o||(o={})),function(e){e.FACE_2_FACE="face2face",e.ONLINE="online",e.BLENDED="blended"}(s||(s={}));class m{optionName;optionValue;optionPath;optionTitle;optionShortTitle;optionMetaTitle;constructor(e,t,n,i,r,o){this.optionName=e,this.optionValue=t,this.optionPath=n,this.optionTitle=i,this.optionShortTitle=r,this.optionMetaTitle=o}}class v extends m{optionName;optionValue;optionPath;optionTitle;countryIdentity;constructor(e,t,n,i,r){super(e,t,n,i),this.optionName=e,this.optionValue=t,this.optionPath=n,this.optionTitle=i,this.countryIdentity=r}}class g extends m{optionName;optionValue;optionPath;optionTitle;hasAreas;eea;constructor(e,t,n,i,r,o){super(e,t,n,i),this.optionName=e,this.optionValue=t,this.optionPath=n,this.optionTitle=i,this.hasAreas=r,this.eea=o}}!function(e){e.PHD="phd",e.DBA="dba",e.DOCTORATE="doct",e.MSC="msc",e.MA="ma",e.MBA="mba",e.LLM="llm",e.MPHIL="mphil",e.MLITT="mlitt",e.MRES="mres",e.MED="med",e.MENG="meng",e.POSTGRADIP="postgraddip",e.POSTGRADCERT="postgradcert",e.PREMASTER="premaster",e.BSC="bsc",e.BA="ba",e.LLB="llb",e.BENG="beng",e.BBA="bba",e.ASSOCIATE_DEGREE="ad",e.ACADEMY_PROFESSION="ap",e.ADVANCED_DIPLOMA="adiploma",e.GRADUATE_CERTTIFICATE="gcertificate",e.GRADUATE_DIPLOMA="gdiploma",e.PREBACHELOR="prebachelor",e.CERTIFICATE="certificate"}(a||(a={}));class y extends m{optionName;optionValue;optionPath;optionTitle;parentIdentity;icon;synonym;constructor(e,t,n,i,r,o,s){super(e,t,n,i),this.optionName=e,this.optionValue=t,this.optionPath=n,this.optionTitle=i,this.parentIdentity=r,this.icon=o,this.synonym=s}isMainDiscipline(){return void 0===this.parentIdentity}}!function(e){e.LESS_THAN_ONE_MONTH="[-1,29]",e.ONE_TO_THREE_MONTHS="[30,90]",e.MORE_THAN_THREE_MONTHS="[91,-1]",e.LESS_THAN_ONE_YEAR="[-1,359]",e.ONE_YEAR="[360,360]",e.ONE_AND_A_HALF_YEARS="[540,540]",e.LESS_THAN_TWO_YEARS="[-1,719]",e.MORE_THAN_TWO_YEARS="[721,-1]",e.TWO_YEARS="[720,720]",e.TWO_AND_A_HALF_YEARS="[900,900]",e.THREE_YEARS="[1080,1080]",e.THREE_AND_A_HALF_YEARS="[1260,1260]",e.FOUR_YEARS="[1440,1440]",e.MORE_THAN_FOUR_YEARS="[1441,-1]"}(l||(l={})),function(e){e.ACADEMIC_COURSE="academic",e.CONFERENCE_SEMINAR="conference",e.SUMMER_SCHOOL="summer_school",e.WINTER_SCHOOL="winter_school",e.SEMESTER_STUDY_ABROAD="semester",e.SKILL_PROFESSIONAL_COURSE="skill"}(c||(c={})),function(e){e.MASTER="master",e.BACHELOR="bachelor",e.PHD="phd",e.DISTANCE_LEARNING="distance_learning",e.PREPARATION_COURSE="preparation_course",e.SHORT_COURSE="short"}(d||(d={})),function(e){e.FULL_TIME="fulltime",e.PART_TIME="parttime"}(u||(u={})),function(e){e.EXECUTIVE_PROGRAMMES="executive",e.JOINT_PROGRAMMES="joint",e.ERASMUS_MUNDUS="erasmus"}(p||(p={})),function(e){e.ZERO_TO_TWO_THOUSAND_FIVE_HUNDRED="[0,2500]"}(h||(h={})),function(e){e.ATTENDANCES="attendances",e.EDUCATIONAL_LEVEL="educationalLevels",e.DENSITIES="densities",e.DISCIPLINES="disciplines",e.EDUCATIONAL_FORMS="educationalForms",e.AREA_IDS="areaIds",e.REGION_IDS="regionIds",e.DEGREE_TYPES="degreeTypes",e.SPECIAL_PROGRAMMES="specialProgrammes",e.COUNTRY_ISO_CODES="countryIsoCodes",e.ORGANISATIONS_IDS="organisationIds",e.DURATIONS="durations"}(f||(f={}));const S=(T={Fragment:()=>Is,computed:()=>Ca,createBlock:()=>Fs,createCommentVNode:()=>qs,createElementBlock:()=>Vs,createElementVNode:()=>Hs,createTextVNode:()=>Ks,createVNode:()=>Gs,defineComponent:()=>Di,inject:()=>bo,nextTick:()=>xn,normalizeClass:()=>te,onMounted:()=>gr,onUnmounted:()=>_r,openBlock:()=>Ns,popScopeId:()=>ni,provide:()=>_o,pushScopeId:()=>ti,ref:()=>Wt,renderList:()=>xr,renderSlot:()=>Fr,resolveComponent:()=>Ar,resolveDynamicComponent:()=>Rr,toDisplayString:()=>fe,toRaw:()=>Ut,toRef:()=>sn,vModelCheckbox:()=>ec,vModelText:()=>Zl,watch:()=>ts,watchEffect:()=>Qo,withDirectives:()=>oi,withModifiers:()=>pc},C={},Fc.d(C,T),C),E=(0,S.createElementVNode)("i",{class:"lnr-apartment FilterIcon"},null,-1),_=(0,S.createElementVNode)("div",{class:"Title"},"Attendance",-1),b={key:0,class:"Badge"},I={class:"RefineContentOptionsList"};var T,C;const k=e=>{const t=(0,S.inject)(e);if(void 0===t)throw new Error(`"${e}" was not provided`);return t};class O{eventAggregationService;subscriber;disposed=!1;constructor(e,t){this.eventAggregationService=e,this.subscriber=t}to(e,t){return this.eventAggregationService.subscribeTo(e,{notify:(e,t)=>{if(!this.disposed)return this.subscriber.notify(e,t)}},t),this}dispose(){this.disposed=!0}}class A{static instance=new A;_target;constructor(e){this._target=e??null}subscribeTo(e,t,n){const i=this.obtainTarget();i&&i.subscribeTo(e,t,n)}publishTo(e,t){const n=this.obtainTarget();n&&n.publishTo(e,t)}publish(e){this.publishTo(e.eventType,e)}subscribe(e){return new O(this,e)}obtainTarget(){return null!==this._target?this._target:window.EventAggregationService?window.EventAggregationService:null}}class N{static EventType="FilterChangeInitiatedEvent";timestamp=new Date;eventType=N.EventType;subjects;constructor(e){this.subjects=e}static is(e){return e.eventType===N.EventType}}class R{static EventType="SearchFilters:FilterChangeCompletedEvent";timestamp=new Date;eventType=R.EventType;subjects;constructor(e){this.subjects=e}static is(e){return e.eventType===R.EventType}}class P{counterOfOngoingChanges=0;isBusy=(0,S.ref)(!1);reportChange(){this.counterOfOngoingChanges++,this.isBusy.value=!0}reportChangeCompleted(){this.counterOfOngoingChanges--,this.isBusy.value=this.counterOfOngoingChanges>0}}class w{eventAggregationService;subscriptionOfChangeEvents;key;busyIndicator;constructor(e,t){this.busyIndicator=new P,this.key=e,this.eventAggregationService=t??A.instance,this.subscriptionOfChangeEvents=this.eventAggregationService.subscribe(this).to(N.EventType).to(R.EventType)}notify(e){N.is(e)&&e.subjects.includes(this.key)&&this.busyIndicator.reportChange(),R.is(e)&&e.subjects.includes(this.key)&&this.busyIndicator.reportChangeCompleted()}dispose(){this.subscriptionOfChangeEvents.dispose()}}class D extends w{filterOptions;filterProvider;collapsed=(0,S.computed)((()=>this.filterProvider.isFilterCollapsed(this.key)));filterHintCount=(0,S.computed)((()=>this.filterProvider.getFilterSelection(this.key).length));constructor(e,t,n){super(e,n),this.filterProvider=t,this.filterOptions=this.filterProvider.getFilterOptionInformation(this.key)}toggleFilter(){this.filterProvider.toggleFilterExpandability(this.key)}}class x extends D{constructor(e,n){super(t.DELIVERY_METHOD,e,n)}}const V=["value","data-filter"],F={key:1,class:"Facet"};class L{elementRef;dataRef;action;eventToSubscribe;label;constructor(e,t,n,i,r){this.elementRef=e,this.dataRef=t,this.eventToSubscribe=i,this.label=r,this.action=n}}var M;!function(e){e.CLICK="click",e.CHANGE="change"}(M||(M={}));var B=Fc(861);class U{optionName;optionValue;filterKey;filterProvider;checkboxInputRef=(0,S.ref)(null);trackingAction=(0,S.ref)(B.Action.UNCHECK);constructor(e,t,n,i){this.optionName=e,this.optionValue=t,this.filterKey=n,this.filterProvider=i}facet=(0,S.computed)((()=>this.filterProvider.getFacet(this.filterKey,this.optionValue)??0));displayFacets=(0,S.computed)((()=>this.filterProvider.displayFacets));selectedOptions=(0,S.computed)((()=>this.filterProvider.getFilterSelection(this.filterKey)));trackingData=(0,S.computed)((()=>new L(this.checkboxInputRef,(0,S.ref)(this.optionValue),this.trackingAction,M.CLICK,this.filterKey)));updateTackingAction(){var e;const t=(null==(e=this.checkboxInputRef.value)?void 0:e.checked)??!1;this.trackingAction.value=t?B.Action.CHECK:B.Action.UNCHECK}async updateSelection(){this.updateTackingAction(),await this.filterProvider.processFilterSelection({key:this.filterKey,value:this.optionValue})}}class j{tracker;product;action;elementRef;dataRef;label;eventToSubscribe;constructor(e,t,n,i,r,o){this.product=e,this.tracker=new B.Tracker(e,!0,!0),this.elementRef=t,this.dataRef=n,this.action=i,this.label=r,this.eventToSubscribe=o}trackingData=(0,S.computed)((()=>({action:this.action.value,category:this.product,label:this.label,property:this.normalizeData(this.dataRef.value)})));onMounted(){this.subscribe()}subscribe(){const e=this.elementRef,t=null==e?void 0:e.value;t&&t.addEventListener(this.eventToSubscribe,(()=>this.track()))}track(){if(this.tracker&&this.elementRef)try{this.tracker.trackStructuredEvent(this.trackingData.value,B.EventName.FILTER_INTERACTION)}catch(e){}}normalizeData(e){return e.trim().replace("[-1,","[null,").replace(",-1]",",null]")}}const H=(0,S.defineComponent)({props:{data:{type:Object,required:!0}},setup:e=>{const t=k(r.FILTER_PROVIDER),n=(0,S.toRaw)(e.data);if(n){const e=new j(t.trackedProduct,(0,S.toRef)(n,"elementRef"),(0,S.toRef)(n,"dataRef"),(0,S.toRef)(n,"action"),n.label,n.eventToSubscribe);(0,S.onMounted)(e.onMounted.bind(e))}return{}}});var G=Fc(262);const Y=(0,G.A)(H,[["render",function(e,t,n,i,r,o){return null}]]),W=(0,S.defineComponent)({components:{Tracking:Y},props:{optionName:String,optionValue:String,filterKey:String},setup:e=>{const t=k(r.FILTER_PROVIDER),n=e,i=new U(n.optionName,n.optionValue,e.filterKey,t);return{facet:i.facet,selectedOptions:i.selectedOptions,updateSelection:i.updateSelection.bind(i),displayFacets:i.displayFacets,checkboxInputRef:i.checkboxInputRef,trackingData:i.trackingData}}}),K=(0,G.A)(W,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Tracking");return(0,S.openBlock)(),(0,S.createElementBlock)("div",null,[(0,S.createElementVNode)("label",null,[(0,S.withDirectives)((0,S.createElementVNode)("input",{ref:"checkboxInputRef",type:"checkbox",class:"CheckboxInput",value:e.optionValue,"data-filter":e.filterKey,"onUpdate:modelValue":t[0]||(t[0]=t=>e.selectedOptions=t),onClick:t[1]||(t[1]=t=>e.updateSelection())},null,8,V),[[S.vModelCheckbox,e.selectedOptions]]),e.trackingData?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.trackingData},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("span",null,(0,S.toDisplayString)(e.optionName),1),e.displayFacets?((0,S.openBlock)(),(0,S.createElementBlock)("span",F,(0,S.toDisplayString)(e.facet),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.renderSlot)(e.$slots,"ExpandCollapseToggle",{},void 0,!0)])])}],["__scopeId","data-v-dad03244"]]),$=(0,S.defineComponent)({components:{Checkbox:K},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new x(e);return(0,S.onUnmounted)(t.dispose.bind(t)),{key:t.key,filterOptions:t.filterOptions,collapsed:t.collapsed,filterHintCount:t.filterHintCount,toggleFilter:t.toggleFilter.bind(t)}}}),q=(0,G.A)($,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Checkbox");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["AttendanceFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[E,_,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",b,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",I,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:n},[(0,S.createVNode)(s,{filterKey:e.key,optionName:t.optionName,optionValue:t.optionValue},null,8,["filterKey","optionName","optionValue"])])))),128))])],2)}]]),z=(0,S.createElementVNode)("i",{class:"lnr-apartment FilterIcon"},null,-1),X=(0,S.createElementVNode)("div",{class:"Title"},"Certification Type",-1),J={key:0,class:"Badge"},Q={class:"RefineContentOptionsList"};class Z extends D{constructor(e,n){super(t.DEGREE_TYPE,e,n)}}const ee=(0,S.defineComponent)({components:{Checkbox:K},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new Z(e);return(0,S.onUnmounted)(t.dispose.bind(t)),{key:t.key,filterOptions:t.filterOptions,collapsed:t.collapsed,filterHintCount:t.filterHintCount,toggleFilter:t.toggleFilter.bind(t),filterProvider:e}}}),ne=(0,G.A)(ee,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Checkbox");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["CertificationTypeFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[z,X,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",J,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",Q,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:n},[(0,S.createVNode)(s,{filterKey:e.key,optionName:t.optionName,optionValue:t.optionValue},null,8,["filterKey","optionName","optionValue"])])))),128))])],2)}]]),ie=(0,S.createElementVNode)("i",{class:"lnr-graduation-hat FilterIcon"},null,-1),re=(0,S.createElementVNode)("div",{class:"Title"},"Degree Type",-1),oe={key:0,class:"Badge"},se={class:"RefineContentOptionsList"};class ae extends D{constructor(e,n){super(t.DEGREE_TYPE,e,n)}}const le=(0,S.defineComponent)({components:{Checkbox:K},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new ae(e);return(0,S.onUnmounted)(t.dispose.bind(t)),{key:t.key,filterOptions:t.filterOptions,collapsed:t.collapsed,filterHintCount:t.filterHintCount,toggleFilter:t.toggleFilter.bind(t),filterProvider:e}}}),ce=(0,G.A)(le,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Checkbox");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["DegreeTypeFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[ie,re,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",oe,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",se,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:n},[(0,S.createVNode)(s,{filterKey:e.key,optionName:t.optionName,optionValue:t.optionValue},null,8,["filterKey","optionName","optionValue"])])))),128))])],2)}]]),de=e=>((0,S.pushScopeId)("data-v-16fc24c6"),e=e(),(0,S.popScopeId)(),e),ue=de((()=>(0,S.createElementVNode)("i",{class:"lnr-icons2 FilterIcon"},null,-1))),pe=de((()=>(0,S.createElementVNode)("div",{class:"Title"},"Discipline",-1))),he={key:0,class:"Badge"},me={class:"RefineContentOptionsList"},ve=[de((()=>(0,S.createElementVNode)("i",{class:"lnr-arrow-left"},null,-1))),de((()=>(0,S.createElementVNode)("span",null,"All disciplines",-1)))],ge=["data-filter"];class ye{selectedDiscipline;selectedParentIdentity;constructor(e,t){this.selectedDiscipline=e,this.selectedParentIdentity=t}showDiscipline(e,t){return void 0===t?this.showMainDiscipline(e,t):this.showSubdiscipline(t)}showMainDiscipline(e,t){return this.noDisciplineSelected()||this.mainDisciplineSelected(e,t)||this.subDisciplineSelected(e)}showSubdiscipline(e){return this.existsDisciplineSelected()&&e===this.selectedDiscipline.value||e===this.selectedParentIdentity.value}subDisciplineSelected(e){return e===this.selectedParentIdentity.value}mainDisciplineSelected(e,t){return e===this.selectedDiscipline.value&&void 0===t}existsDisciplineSelected(){return void 0!==this.selectedDiscipline.value}noDisciplineSelected(){return void 0===this.selectedDiscipline.value}}class Se extends D{disciplineVisibility;allDisciplinesButtonRef=(0,S.ref)(null);constructor(e,n){super(t.DISCIPLINES,e,n),this.disciplineVisibility=new ye(this.selectedDiscipline,this.selectedParentIdentity)}isDisciplineSelected=(0,S.computed)((()=>void 0!==this.selectedDiscipline.value));selectedDiscipline=(0,S.computed)((()=>this.filterProvider.getFilterSelection(this.key)[0]));disciplineFilterOptions=(0,S.computed)((()=>this.filterOptions));selectedParentIdentity=(0,S.computed)((()=>{const e=this.selectedDiscipline.value;if(!e)return;const t=this.filterOptions.filter((t=>t.optionValue===e))[0];return t?t.parentIdentity:void 0}));displayFacets=(0,S.computed)((()=>this.filterProvider.displayFacets));async removeSelection(){await this.filterProvider.processFilterSelection({key:this.key,value:this.selectedDiscipline.value})}}const Ee={class:"DisciplineName"},_e={key:1,class:"Facet"},be=new Map([["4","lnr-bubbles"],["6","lnr-balance"],["7","lnr-rulers"],["8","lnr-book2"],["9","lnr-pen2"],["10","lnr-first-aid"],["11","lnr-beaker"],["12","lnr-microscope"],["13","lnr-bubbles"],["20","lnr-magic-wand"],["23","lnr-briefcase"],["24","lnr-cli"],["25","lnr-briefcase"],["26","lnr-rulers"],["28","lnr-rulers"],["29","lnr-rulers"],["30","lnr-rulers"],["31","lnr-first-aid"],["32","lnr-rulers"],["33","lnr-rulers"],["34","lnr-rulers"],["37","lnr-rulers"],["38","lnr-beaker"],["39","lnr-rulers"],["40","lnr-beaker"],["45","lnr-briefcase"],["46","lnr-beaker"],["47","lnr-earth"],["48","lnr-balance"],["49","lnr-balance"],["52","lnr-beaker"],["53","lnr-magic-wand"],["54","lnr-tree"],["56","lnr-microscope"],["58","lnr-camera"],["59","lnr-microscope"],["60","lnr-microscope"],["62","lnr-microscope"],["63","lnr-magic-wand"],["64","lnr-boat"],["67","lnr-bubbles"],["68","lnr-magic-wand"],["69","lnr-magic-wand"],["70","lnr-bubbles"],["71","lnr-bubbles"],["72","lnr-bubbles"],["73","lnr-bubbles"],["74","lnr-pen2"],["75","lnr-bubbles"],["76","lnr-bubbles"],["77","lnr-pen2"],["78","lnr-bubbles"],["79","lnr-bubbles"],["80","lnr-bubbles"],["81","lnr-beaker"],["82","lnr-beaker"],["83","lnr-rulers"],["84","lnr-pen2"],["85","lnr-balance"],["86","lnr-briefcase"],["87","lnr-briefcase"],["88","lnr-briefcase"],["89","lnr-briefcase"],["90","lnr-first-aid"],["91","lnr-pen2"],["92","lnr-first-aid"],["93","lnr-briefcase"],["94","lnr-rulers"],["97","lnr-book2"],["98","lnr-book2"],["99","lnr-pen2"],["100","lnr-first-aid"],["101","lnr-briefcase"],["102","lnr-bubbles"],["103","lnr-bubbles"],["104","lnr-magic-wand"],["105","lnr-first-aid"],["106","lnr-first-aid"],["107","lnr-first-aid"],["108","lnr-cli"],["109","lnr-balance"],["110","lnr-bubbles"],["111","lnr-briefcase"],["112","lnr-microscope"],["113","lnr-first-aid"],["114","lnr-balance"],["115","lnr-balance"],["117","lnr-earth"],["118","lnr-beaker"],["119","lnr-earth"],["122","lnr-earth"],["123","lnr-earth"],["124","lnr-earth"],["125","lnr-earth"],["126","lnr-earth"],["127","lnr-earth"],["128","lnr-earth"],["130","lnr-cli"],["131","lnr-first-aid"],["132","lnr-microscope"],["133","lnr-briefcase"],["134","lnr-boat"],["219","lnr-balance"],["220","lnr-balance"],["221","lnr-balance"],["222","lnr-beaker"],["223","lnr-beaker"],["224","lnr-beaker"],["225","lnr-beaker"],["226","lnr-beaker"],["227","lnr-beaker"],["228","lnr-first-aid"],["229","lnr-first-aid"],["230","lnr-first-aid"],["231","lnr-first-aid"],["232","lnr-briefcase"],["233","lnr-briefcase"],["234","lnr-briefcase"],["235","lnr-briefcase"],["236","lnr-briefcase"],["237","lnr-briefcase"],["238","lnr-briefcase"],["239","lnr-briefcase"],["240","lnr-briefcase"],["241","lnr-briefcase"],["242","lnr-briefcase"],["243","lnr-briefcase"],["244","lnr-briefcase"],["245","lnr-briefcase"],["246","lnr-briefcase"],["247","lnr-briefcase"],["248","lnr-briefcase"],["249","lnr-briefcase"],["250","lnr-rulers"],["251","lnr-rulers"],["252","lnr-rulers"],["253","lnr-rulers"],["254","lnr-rulers"],["255","lnr-rulers"],["256","lnr-rulers"],["257","lnr-rulers"],["258","lnr-magic-wand"],["259","lnr-magic-wand"],["260","lnr-magic-wand"],["261","lnr-magic-wand"],["262","lnr-magic-wand"],["263","lnr-magic-wand"],["264","lnr-magic-wand"],["265","lnr-cli"],["266","lnr-pen2"],["267","lnr-pen2"],["268","lnr-pen2"],["269","lnr-pen2"],["270","lnr-pen2"],["271","lnr-pen2"],["272","lnr-pen2"],["273","lnr-pen2"],["274","lnr-bubbles"],["275","lnr-bubbles"],["276","lnr-bubbles"],["277","lnr-bubbles"],["278","lnr-bubbles"],["279","lnr-cli"],["280","lnr-cli"],["281","lnr-cli"],["282","lnr-cli"],["283","lnr-cli"],["284","lnr-cli"],["285","lnr-cli"],["286","lnr-cli"],["287","lnr-earth"],["288","lnr-earth"],["289","lnr-book2"],["290","lnr-book2"],["291","lnr-book2"],["292","lnr-book2"],["293","lnr-book2"],["294","lnr-book2"],["295","lnr-book2"],["297","lnr-microscope"],["298","lnr-microscope"],["299","lnr-microscope"],["300","lnr-tree"],["301","lnr-tree"],["302","lnr-tree"],["303","lnr-tree"],["304","lnr-tree"],["305","lnr-tree"],["306","lnr-camera"],["307","lnr-camera"],["308","lnr-camera"],["309","lnr-camera"],["310","lnr-camera"],["311","lnr-boat"],["312","lnr-boat"],["313","lnr-boat"],["314","lnr-earth"],["315","lnr-earth"],["316","lnr-bubbles"],["317","lnr-boat"],["318","lnr-magic-wand"],["319","lnr-boat"],["320","lnr-bubbles"],["321","lnr-microscope"],["322","lnr-briefcase"],["323","lnr-cli"],["324","lnr-briefcase"],["325","lnr-briefcase"],["326","lnr-beaker"],["327","lnr-beaker"],["328","lnr-magic-wand"],["329","lnr-cli"],["330","lnr-cli"],["331","lnr-cli"],["332","lnr-pen2"],["333","lnr-book2"],["334","lnr-beaker"],["335","lnr-first-aid"],["339","lnr-bubbles"],["340","lnr-rulers"],["341","lnr-balance"],["342","lnr-briefcase"],["343","lnr-first-aid"],["344","lnr-first-aid"],["345","lnr-book2"],["346","lnr-first-aid"],["347","lnr-bubbles"],["348","lnr-book2"],["349","lnr-book2"],["350","lnr-rulers"],["351","lnr-first-aid"],["352","lnr-briefcase"],["353","lnr-briefcase"],["354","lnr-beaker"],["355","lnr-book2"],["356","lnr-briefcase"],["357","lnr-beaker"],["358","lnr-book2"],["359","lnr-book2"],["360","lnr-book2"],["361","lnr-first-aid"],["362","lnr-briefcase"],["363","lnr-book2"],["364","lnr-bubbles"],["365","lnr-pen2"],["366","lnr-briefcase"],["367","lnr-rulers"],["368","lnr-first-aid"],["369","lnr-first-aid"],["370","lnr-book2"],["371","lnr-book2"],["372","lnr-first-aid"],["373","lnr-briefcase"],["374","lnr-magic-wand"],["375","lnr-magic-wand"],["376","lnr-magic-wand"]]),Ie=e=>be.get(e);class Te{disciplineOptionRef=(0,S.ref)(null);discipline;filterProvider;selectedDiscipline;constructor(e,t,n){this.filterProvider=e,this.discipline=t,this.selectedDiscipline=n}getIconOf(e){return e.icon??Ie(e.optionValue)}async selectOption(e){e.optionValue!==this.selectedDiscipline.value&&await this.filterProvider.processFilterSelection({key:t.DISCIPLINES,value:e.optionValue})}facet(e){return this.filterProvider.getFacet(t.DISCIPLINES,e)??0}}class Ce{option;constructor(e){this.option=e}trackingData=(0,S.computed)((()=>new L(this.option.disciplineOptionRef,(0,S.ref)(this.option.discipline.optionValue),(0,S.ref)(B.Action.CLICK),M.CLICK,t.DISCIPLINES)))}const ke=(0,S.defineComponent)({components:{Tracking:Y},props:{discipline:{type:y,required:!0},displayFacets:{type:Boolean,default:!1},selectedDiscipline:{type:String,required:!1}},setup:e=>{const t=k(r.FILTER_PROVIDER),n=new Te(t,e.discipline,(0,S.toRef)(e,"selectedDiscipline")),i=new Ce(n);return{discipline:e.discipline,displayFacets:e.displayFacets,disciplineOptionRef:n.disciplineOptionRef,trackingData:i.trackingData,getIconOf:n.getIconOf.bind(n),selectOption:n.selectOption.bind(n),facet:n.facet.bind(n)}}}),Oe=(0,G.A)(ke,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Tracking");return(0,S.openBlock)(),(0,S.createElementBlock)(S.Fragment,null,[(0,S.createElementVNode)("div",{ref:"disciplineOptionRef",onClick:t[0]||(t[0]=t=>e.selectOption(e.discipline)),class:(0,S.normalizeClass)({"is-active":e.discipline.optionValue===e.selectedDiscipline,MainDiscipline:void 0===e.discipline.parentIdentity,SubDiscipline:void 0!==e.discipline.parentIdentity})},[void 0===e.discipline.parentIdentity?((0,S.openBlock)(),(0,S.createElementBlock)("i",{key:0,class:(0,S.normalizeClass)(["DisciplineIcon",e.getIconOf(e.discipline)])},null,2)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("span",Ee,(0,S.toDisplayString)(e.discipline.optionName),1),e.displayFacets?((0,S.openBlock)(),(0,S.createElementBlock)("span",_e,(0,S.toDisplayString)(e.facet(e.discipline.optionValue)),1)):(0,S.createCommentVNode)("v-if",!0)],2),e.trackingData?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.trackingData},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0)],64)}],["__scopeId","data-v-85e5913c"]]);class Ae{filter;constructor(e){this.filter=e}allDisciplinesTrackingData=(0,S.computed)((()=>{var e;if(null==(e=this.filter.allDisciplinesButtonRef)?void 0:e.value)return new L(this.filter.allDisciplinesButtonRef,(0,S.ref)("all_disciplines"),(0,S.ref)(B.Action.CLICK),M.CLICK,t.DISCIPLINES)}))}const Ne=(0,S.defineComponent)({components:{Tracking:Y,DisciplineOption:Oe},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new Se(e),n=new Ae(t);return{key:t.key,filterOptions:t.filterOptions,collapsed:t.collapsed,filterHintCount:t.filterHintCount,selectedDiscipline:t.selectedDiscipline,disciplineFilterOptions:t.disciplineFilterOptions,displayFacets:t.displayFacets,isDisciplineSelected:t.isDisciplineSelected,allDisciplinesButtonRef:t.allDisciplinesButtonRef,allDisciplinesTrackingData:n.allDisciplinesTrackingData,toggleFilter:t.toggleFilter.bind(t),removeSelection:t.removeSelection.bind(t),showDiscipline:t.disciplineVisibility.showDiscipline.bind(t.disciplineVisibility)}}}),Re=(0,G.A)(Ne,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Tracking"),a=(0,S.resolveComponent)("DisciplineOption");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["DisciplineFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[ue,pe,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",he,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",me,[(0,S.createElementVNode)("li",{class:(0,S.normalizeClass)({Hidden:!e.isDisciplineSelected})},[(0,S.createElementVNode)("button",{class:"ShowMainDisciplines",type:"button",ref:"allDisciplinesButtonRef",onClick:t[1]||(t[1]=t=>e.removeSelection())},ve,512),e.allDisciplinesTrackingData?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.allDisciplinesTrackingData},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0)],2),((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.disciplineFilterOptions,(t=>((0,S.openBlock)(),(0,S.createElementBlock)(S.Fragment,{key:t.id},[e.showDiscipline(t.optionValue,t.parentIdentity)?((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:0,"data-filter":e.key,class:(0,S.normalizeClass)(["Discipline",{"is-active":t.optionValue===e.selectedDiscipline,Discipline:void 0===t.parentIdentity,SubDiscipline:void 0!==t.parentIdentity}])},[(0,S.createVNode)(a,{discipline:t,displayFacets:e.displayFacets,selectedDiscipline:e.selectedDiscipline},null,8,["discipline","displayFacets","selectedDiscipline"])],10,ge)):(0,S.createCommentVNode)("v-if",!0)],64)))),128))])],2)}],["__scopeId","data-v-16fc24c6"]]),Pe=(0,S.createElementVNode)("i",{class:"lnr-clock3 FilterIcon"},null,-1),we=(0,S.createElementVNode)("div",{class:"Title"},"Duration",-1),De={key:0,class:"Badge"},xe={class:"RefineContentOptionsList"};class Ve extends D{constructor(e,n){super(t.DURATION,e,n)}}const Fe=(0,S.defineComponent)({components:{Checkbox:K},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new Ve(e);return(0,S.onUnmounted)(t.dispose.bind(t)),{key:t.key,filterOptions:t.filterOptions,collapsed:t.collapsed,filterHintCount:t.filterHintCount,toggleFilter:t.toggleFilter.bind(t),filterProvider:e}}}),Le=(0,G.A)(Fe,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Checkbox");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["DurationFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[Pe,we,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",De,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",xe,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:n},[(0,S.createVNode)(s,{filterKey:e.key,optionName:t.optionName,optionValue:t.optionValue},null,8,["filterKey","optionName","optionValue"])])))),128))])],2)}]]),Me=(0,S.createElementVNode)("i",{class:"lnr-calendar-full FilterIcon"},null,-1),Be=(0,S.createElementVNode)("div",{class:"Title"},"Education Level",-1),Ue={key:0,class:"Badge"},je={class:"RefineContentOptionsList"};class He extends D{constructor(e,n){super(t.EDUCATION_LEVEL,e,n)}}const Ge=(0,S.defineComponent)({components:{Checkbox:K},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new He(e);return(0,S.onUnmounted)(t.dispose.bind(t)),{key:t.key,filterOptions:t.filterOptions,collapsed:t.collapsed,filterHintCount:t.filterHintCount,toggleFilter:t.toggleFilter.bind(t),filterProvider:e}}}),Ye=(0,G.A)(Ge,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Checkbox");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["FormatFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[Me,Be,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",Ue,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",je,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:n},[(0,S.createVNode)(s,{filterKey:e.key,optionName:t.optionName,optionValue:t.optionValue},null,8,["filterKey","optionName","optionValue"])])))),128))])],2)}]]),We=(0,S.createElementVNode)("i",{class:"lnr-apartment FilterIcon"},null,-1),Ke=(0,S.createElementVNode)("div",{class:"Title"},"Educational Form",-1),$e={key:0,class:"Badge"},qe={class:"RefineContentOptionsList"};class ze extends D{constructor(e,n){super(t.EDUCATIONAL_FORM,e,n)}}const Xe=(0,S.defineComponent)({components:{Checkbox:K},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new ze(e);return(0,S.onUnmounted)(t.dispose.bind(t)),{key:t.key,filterOptions:t.filterOptions,collapsed:t.collapsed,filterHintCount:t.filterHintCount,toggleFilter:t.toggleFilter.bind(t),filterProvider:e}}}),Je=(0,G.A)(Xe,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Checkbox");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["EducationalFormFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[We,Ke,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",$e,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",qe,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:n},[(0,S.createVNode)(s,{filterKey:e.key,optionName:t.optionName,optionValue:t.optionValue},null,8,["filterKey","optionName","optionValue"])])))),128))])],2)}]]),Qe=(0,S.createElementVNode)("i",{class:"lnr-calendar-full FilterIcon"},null,-1),Ze=(0,S.createElementVNode)("div",{class:"Title"},"Format",-1),et={key:0,class:"Badge"},tt={class:"RefineContentOptionsList"};class nt extends D{constructor(e,n){super(t.ATTENDANCE,e,n)}}const it=(0,S.defineComponent)({components:{Checkbox:K},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new nt(e);return(0,S.onUnmounted)(t.dispose.bind(t)),{key:t.key,filterOptions:t.filterOptions,collapsed:t.collapsed,filterHintCount:t.filterHintCount,toggleFilter:t.toggleFilter.bind(t),filterProvider:e}}}),rt=(0,G.A)(it,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Checkbox");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["FormatFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[Qe,Ze,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",et,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",tt,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:n},[(0,S.createVNode)(s,{filterKey:e.key,optionName:t.optionName,optionValue:t.optionValue},null,8,["filterKey","optionName","optionValue"])])))),128))])],2)}]]),ot=e=>((0,S.pushScopeId)("data-v-3c39d807"),e=e(),(0,S.popScopeId)(),e),st=ot((()=>(0,S.createElementVNode)("i",{class:"lnr-map-marker FilterIcon"},null,-1))),at=ot((()=>(0,S.createElementVNode)("div",{class:"Title"},"Location",-1))),lt={key:0,class:"Badge"},ct={key:1,class:"Badge"},dt={key:1,class:"RefineContentOptionsList"},ut={key:0,class:"LocationSwitcher"},pt={class:"RefineContentOptionsList"};class ht extends w{filterProvider;continentFilterOptions;constructor(e,n){super(t.CONTINENT,n),this.filterProvider=e,this.continentFilterOptions=this.filterProvider.getFilterOptionInformation(this.key)}}const ft=(0,S.defineComponent)({components:{Checkbox:K},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new ht(e);return(0,S.onUnmounted)((()=>t.dispose())),{filterOptions:t.continentFilterOptions,key:t.key,filterProvider:e}}}),mt=(0,G.A)(ft,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Checkbox");return(0,S.openBlock)(),(0,S.createElementBlock)("ul",pt,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:n},[(0,S.createVNode)(s,{filterKey:e.key,optionName:t.optionName,optionValue:t.optionValue},null,8,["filterKey","optionName","optionValue"])])))),128))])}],["__scopeId","data-v-d99c741a"]]),vt={class:"CountryFilterWrapper"},gt={class:"RefineContentOptionsList"},yt=(e=>((0,S.pushScopeId)("data-v-5552d344"),e=e(),(0,S.popScopeId)(),e))((()=>(0,S.createElementVNode)("i",{class:"lnr-plus"},null,-1))),St={class:"AreaFilterWrapper"},Et={key:0};class _t extends w{filterProvider;countryExpandability;countryId;areaFilterOptions;showArea;constructor(e,n,i,r){super(t.AREA,r),this.filterProvider=n,this.countryExpandability=i,this.countryId=e,this.showArea=this.countryExpandability.isExpandedFor(e);const o=this.filterProvider.getFilterOptionInformation(this.key);this.areaFilterOptions=o.sort(((e,t)=>e.optionName.localeCompare(t.optionName)))}isAreaSelected(e){return this.filterProvider.getFilterSelection(this.key).includes(e)}}class bt{static key="countryFilterContext";filterProvider;locationFilterProvider;expandability;countryFilterSelection;constructor(e,t,n,i){this.filterProvider=e,this.locationFilterProvider=t,this.expandability=n,this.countryFilterSelection=i}}const It=["value","data-filter"],Tt={key:1,class:"Facet"};class Ct extends U{optionName;optionValue;filterKey;filterProvider;emitAreaFilterChange;constructor(e,n,i,r,o){super(e,n,t.AREA,r),this.optionName=e,this.optionValue=n,this.filterKey=i,this.filterProvider=r,this.emitAreaFilterChange=o}updateAreaSelection(){this.updateTackingAction(),this.emitAreaFilterChange(this.optionValue)}}const kt=(0,S.defineComponent)({components:{Tracking:Y},props:{optionName:String,optionValue:String,filterKey:String},emits:["areaFilterChange"],setup:(e,t)=>{const n=(0,S.inject)(bt.key);if(null==n)throw new Error(`"${bt.key}" class was not provided for AreaCheckbox`);const i=e,r=new Ct(i.optionName,i.optionValue,e.filterKey,n.filterProvider,(e=>t.emit("areaFilterChange",e)));return{facet:r.facet,selectedOptions:r.selectedOptions,displayFacets:r.displayFacets,checkboxInputRef:r.checkboxInputRef,trackingData:r.trackingData,updateAreaSelection:r.updateAreaSelection.bind(r)}}}),Ot=(0,S.defineComponent)({components:{AreaCheckbox:(0,G.A)(kt,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Tracking");return(0,S.openBlock)(),(0,S.createElementBlock)("div",null,[(0,S.createElementVNode)("label",null,[(0,S.withDirectives)((0,S.createElementVNode)("input",{ref:"checkboxInputRef",type:"checkbox",class:"CheckboxInput",value:e.optionValue,"data-filter":e.filterKey,"onUpdate:modelValue":t[0]||(t[0]=t=>e.selectedOptions=t),onClick:t[1]||(t[1]=t=>e.updateAreaSelection())},null,8,It),[[S.vModelCheckbox,e.selectedOptions]]),e.trackingData?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.trackingData},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("span",null,(0,S.toDisplayString)(e.optionName),1),e.displayFacets?((0,S.openBlock)(),(0,S.createElementBlock)("span",Tt,(0,S.toDisplayString)(e.facet),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.renderSlot)(e.$slots,"ExpandCollapseToggle",{},void 0,!0)])])}],["__scopeId","data-v-7c22a8d1"]]),Tracking:Y},props:{countryId:{type:String,required:!0}},emits:["areaFilterChange"],setup:e=>{const t=(0,S.inject)(bt.key);if(null==t)throw new Error(`"${bt.key}" class was not provided for AreaFilter`);const n=new _t(e.countryId,t.filterProvider,t.expandability);return(0,S.onUnmounted)((()=>n.dispose())),{key:n.key,areaFilterOptions:n.areaFilterOptions,showArea:n.showArea,isAreaSelected:n.isAreaSelected.bind(n)}}}),At=(0,G.A)(Ot,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("AreaCheckbox");return(0,S.openBlock)(),(0,S.createElementBlock)("ul",St,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.areaFilterOptions,(n=>((0,S.openBlock)(),(0,S.createElementBlock)(S.Fragment,{key:n.optionValue},[n.countryIdentity===e.countryId&&(e.showArea||e.isAreaSelected(n.optionValue))?((0,S.openBlock)(),(0,S.createElementBlock)("li",Et,[(0,S.createVNode)(s,{filterKey:e.key,optionName:n.optionName,optionValue:n.optionValue,onAreaFilterChange:t[0]||(t[0]=t=>e.$emit("areaFilterChange",t))},null,8,["filterKey","optionName","optionValue"])])):(0,S.createCommentVNode)("v-if",!0)],64)))),128))])}],["__scopeId","data-v-aa15f446"]]),Nt={class:"CheckboxRow"},Rt=["value","data-filter"],Pt={class:"FacetContainer"},wt={key:0,class:"Facet"};class Dt extends U{optionName;optionValue;hasAreas;filterProvider;locationFilterProvider;expandCheckbox;filterKey=t.COUNTRY;checkboxInputRef=(0,S.ref)(null);countryFilterSelection;countryExpandability;constructor(e,n,i,r,o,s,a){var l;super(e,n,t.COUNTRY,r),this.optionName=e,this.optionValue=n,this.hasAreas=i,this.filterProvider=r,this.locationFilterProvider=o,this.expandCheckbox=null==(l=this.countryExpandability)?void 0:l.isExpandedFor(n),this.countryExpandability=s,this.countryFilterSelection=a}async updateSelection(){if(this.updateTackingAction(),void 0!==this.optionValue)return await this.countryFilterSelection.process([this.optionValue])}toggleExpandedAreas(e){null!=e&&this.countryExpandability.toggleExpandability(e)}}const xt=(0,S.defineComponent)({components:{Tracking:Y},props:{optionName:String,optionValue:String,hasAreas:Boolean},setup:e=>{const t=(0,S.inject)(bt.key);if(null==t)throw new Error(`"${bt.key}" class was not provided for CountryCheckbox`);const n=e,i=new Dt(n.optionName,n.optionValue,n.hasAreas,t.filterProvider,t.locationFilterProvider,t.expandability,t.countryFilterSelection);return{facet:i.facet,selectedOptions:i.selectedOptions,expandCheckbox:i.expandCheckbox,filterKey:i.filterKey,displayFacets:i.displayFacets,checkboxInputRef:i.checkboxInputRef,trackingData:i.trackingData,updateSelection:i.updateSelection.bind(i),toggleExpandedAreas:i.toggleExpandedAreas.bind(i)}}}),Vt=(0,G.A)(xt,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Tracking");return(0,S.openBlock)(),(0,S.createElementBlock)("div",null,[(0,S.createElementVNode)("label",Nt,[(0,S.createElementVNode)("div",null,[(0,S.withDirectives)((0,S.createElementVNode)("input",{ref:"checkboxInputRef",type:"checkbox",class:"CheckboxInput",value:e.optionValue,"data-filter":e.filterKey,"onUpdate:modelValue":t[0]||(t[0]=t=>e.selectedOptions=t),onClick:t[1]||(t[1]=t=>e.updateSelection())},null,8,Rt),[[S.vModelCheckbox,e.selectedOptions]]),e.trackingData?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.trackingData},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("span",null,(0,S.toDisplayString)(e.optionName),1)]),(0,S.createElementVNode)("div",Pt,[e.displayFacets?((0,S.openBlock)(),(0,S.createElementBlock)("span",wt,(0,S.toDisplayString)(e.facet),1)):(0,S.createCommentVNode)("v-if",!0),e.hasAreas?((0,S.openBlock)(),(0,S.createElementBlock)("div",{key:1,class:"AreaSwitcher",onClick:t[2]||(t[2]=(0,S.withModifiers)((t=>e.toggleExpandedAreas(e.optionValue)),["stop","prevent"]))},[(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.expandCheckbox?"lnr-chevron-up":"lnr-chevron-down"]])},null,2)])):(0,S.createCommentVNode)("v-if",!0)])])])}],["__scopeId","data-v-5107402a"]]),Ft={ref:"refOfTrackingProxy"},Lt=(e=>{var t={};return Fc.d(t,e),t})({MultiSelect:()=>Dc}),Mt=(0,S.defineComponent)({components:{MultiSelect:Lt.MultiSelect,Tracking:Y},props:{filterKey:{type:String,required:!1},options:{type:Array,default:[]},label:{type:String,default:""},placeholder:{type:String,default:""},entity:{type:String,default:""},validationLabel:{type:String,default:""},helperMessage:{type:String,default:""},multipleOptions:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},valid:{type:Boolean,default:!0},groups:{type:Array,default:[]}},emits:["updated"],setup:(e,t)=>{const n=(0,S.ref)(null),i=(0,S.ref)(""),r=(0,S.ref)(null),o=()=>{r.value=new L(n,i,(0,S.ref)(B.Action.SELECT),M.CHANGE,e.filterKey)};return(0,S.watch)((0,S.toRef)(e,"filterKey"),(()=>o())),o(),{options:(0,S.toRef)(e,"options"),label:(0,S.toRef)(e,"label"),placeholder:(0,S.toRef)(e,"placeholder"),entity:(0,S.toRef)(e,"entity"),validationLabel:(0,S.toRef)(e,"validationLabel"),helperMessage:(0,S.toRef)(e,"helperMessage"),multipleOptions:(0,S.toRef)(e,"multipleOptions"),searchable:(0,S.toRef)(e,"searchable"),disabled:(0,S.toRef)(e,"disabled"),valid:(0,S.toRef)(e,"valid"),groups:(0,S.toRef)(e,"groups"),onUpdated:e=>{i.value=e.value??"",n.value&&n.value.dispatchEvent(new Event(M.CHANGE)),t.emit("updated",e)},trackingData:r,refOfTrackingProxy:n}}}),Bt=(0,G.A)(Mt,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("MultiSelect"),a=(0,S.resolveComponent)("Tracking");return(0,S.openBlock)(),(0,S.createElementBlock)(S.Fragment,null,[(0,S.createVNode)(s,{options:e.options,label:e.label,placeholder:e.placeholder,entity:e.entity,validationLabel:e.validationLabel,helperMessage:e.helperMessage,searchable:e.searchable,disabled:e.disabled,valid:e.valid,"groups:":e.groups,onUpdated:e.onUpdated},null,8,["options","label","placeholder","entity","validationLabel","helperMessage","searchable","disabled","valid","groups:","onUpdated"]),(0,S.createElementVNode)("div",Ft,null,512),e.trackingData?((0,S.openBlock)(),(0,S.createBlock)(a,{key:0,data:e.trackingData},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0)],64)}]]);class jt{filterProvider;locationFilterProvider;constructor(e,t){this.filterProvider=e,this.locationFilterProvider=t,this.filterProvider=e,this.locationFilterProvider=t}async process(e){const n=this.filterProvider.getFilterSelection(t.COUNTRY),i=this.locationFilterProvider.identifyCountryFor(e),r=[{key:t.AREA,value:e}];n.includes(i)||r.push({key:t.COUNTRY,value:i}),await this.filterProvider.processFiltersSelection(r)}}class Ht{static EventType="SearchFilters:ChangeHighVisibilityCountryOptionsEvent";timestamp=new Date;eventType=Ht.EventType;optionValues;constructor(e){this.optionValues=e}static is(e){return e.eventType===Ht.EventType}}class Gt{static EventType="SearchFilters:ClearHighVisibilityCountryOptionsEvent";timestamp=new Date;eventType=Gt.EventType;static is(e){return e.eventType===Gt.EventType}}class Yt{eventAggregationServiceSubscription;key=t.COUNTRY;filterProvider;locationFilterProvider;highVisibilityCountries=(0,S.ref)([]);values=(0,S.computed)((()=>this.getCountryInformationFor(this.getUniqueVisibleCountryIds())));constructor(e,t,n){this.filterProvider=e,this.locationFilterProvider=t,n??=A.instance,this.eventAggregationServiceSubscription=n.subscribe(this).to(Ht.EventType,!0).to(Gt.EventType,!0)}getUniqueVisibleCountryIds(){const e=[...this.locationFilterProvider.identifyTopCountries(),...this.filterProvider.getFilterSelection(this.key),...this.highVisibilityCountries.value];return[...new Set(e)]}getCountryInformationFor(e){const t=[];return e.forEach((e=>{const n=this.filterProvider.getFilterOptionInformationById(this.key,e);null!=n&&t.push(n)})),t}notify(e){Ht.is(e)&&(this.highVisibilityCountries.value=e.optionValues),Gt.is(e)&&(this.highVisibilityCountries.value=[])}dispose(){this.eventAggregationServiceSubscription.dispose()}}class Kt{countryMultiselectRef=(0,S.ref)(null);show;filterProvider;constructor(e){this.filterProvider=e,this.show=(0,S.ref)(!1)}async onSelect(e){e&&e.value&&(this.show.value=!1,await this.filterProvider.processFilterSelection({key:t.COUNTRY,value:e.value}))}display(){this.show.value=!0}}class $t extends w{filterProvider;locationFilterProvider;visibleCountryOptions;countryDropdown;constructor(e,n,i){super(t.COUNTRY,i),this.filterProvider=e,this.locationFilterProvider=n,this.countryDropdown=new Kt(e),this.visibleCountryOptions=new Yt(e,n)}transformedCountryFormat=(0,S.computed)((()=>this.filterProvider.getFilterOptionInformation(this.key).map((e=>({label:e.optionName,value:e.optionValue})))));async processAreaFilterChange(e){const t=new jt(this.filterProvider,this.locationFilterProvider);return await t.process(e)}dispose(){super.dispose(),this.visibleCountryOptions.dispose()}}class qt{expandedCountries=(0,S.ref)([]);isExpandedFor=e=>(0,S.computed)((()=>null!=e&&this.expandedCountries.value.includes(e)));toggleExpandability(e){this.expandedCountries.value.includes(e)?this.expandedCountries.value.splice(this.expandedCountries.value.indexOf(e),1):this.expandedCountries.value.push(e)}}class zt{static EventType="ClearFiltersRequestedEvent";timestamp=new Date;eventType=zt.EventType;filters=[];constructor(e){this.filters=e}static is(e){return e.eventType===zt.EventType}}class Xt{eventAggregationServiceSubscription;filterProvider;locationFilterProvider;constructor(e,t,n){this.filterProvider=e,this.locationFilterProvider=t,n??=A.instance,this.eventAggregationServiceSubscription=n.subscribe(this).to(zt.EventType)}dispose(){this.eventAggregationServiceSubscription.dispose()}async notify(e){if(zt.is(e)){const n=e.filters.filter((e=>e.key===t.COUNTRY)),i=n.map((e=>this.getAreasFor(e.value))).flat();await this.clear(n,i)}}async process(e){const n=[];e.forEach((e=>{n.push(...this.getAreasFor(e))}));const i=e.map((e=>({key:t.COUNTRY,value:e})));await this.processAll(i,n)}async processAll(e,t){await this.filterProvider.processFiltersSelection([...e,...t])}async clear(e,t){0===e.length&&0===t.length||await this.filterProvider.clearSelection([...e,...t])}getAreasFor(e){const n=[],i=this.locationFilterProvider.identifyAreasFor(e),r=this.filterProvider.getFilterSelection(t.AREA).filter((e=>i.includes(e)));return n.push(...r.map((e=>({key:t.AREA,value:e})))),n}}const Jt=(0,S.defineComponent)({components:{Areas:At,CountryCheckbox:Vt,Tracking:Y,TrackedMultiSelect:Bt},setup:()=>{const e=k(r.FILTER_PROVIDER),t=k(r.LOCATION_FILTER_PROVIDER),n=new Xt(e,t),i=new bt(e,t,new qt,n);(0,S.provide)(bt.key,i);const o=new $t(e,t);return(0,S.onUnmounted)((()=>{n.dispose(),o.dispose()})),{countryFilterOptions:o.visibleCountryOptions.values,key:o.key,showMultiselect:o.countryDropdown.show,transformedCountryFormat:o.transformedCountryFormat,countryMultiselectRef:o.countryDropdown.countryMultiselectRef,processAreaFilterChange:o.processAreaFilterChange.bind(o),displayMultiselect:o.countryDropdown.display.bind(o.countryDropdown),onSelect:o.countryDropdown.onSelect.bind(o.countryDropdown)}}}),Qt=(0,G.A)(Jt,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("CountryCheckbox"),a=(0,S.resolveComponent)("Areas"),l=(0,S.resolveComponent)("TrackedMultiSelect");return(0,S.openBlock)(),(0,S.createElementBlock)("div",vt,[(0,S.createElementVNode)("ul",gt,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.countryFilterOptions,(t=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:t.optionValue},[(0,S.createVNode)(s,{optionName:t.optionName,optionValue:t.optionValue,hasAreas:t.hasAreas,class:(0,S.normalizeClass)({Indented:!t.hasAreas})},null,8,["optionName","optionValue","hasAreas","class"]),t.hasAreas?((0,S.openBlock)(),(0,S.createBlock)(a,{key:0,countryId:t.optionValue,onAreaFilterChange:e.processAreaFilterChange},null,8,["countryId","onAreaFilterChange"])):(0,S.createCommentVNode)("v-if",!0)])))),128))]),e.showMultiselect?(0,S.createCommentVNode)("v-if",!0):((0,S.openBlock)(),(0,S.createElementBlock)("button",{key:0,type:"button",class:"AddCountry",onClick:t[0]||(t[0]=(...t)=>e.displayMultiselect&&e.displayMultiselect(...t))},[yt,(0,S.createTextVNode)(" Add")])),e.showMultiselect?((0,S.openBlock)(),(0,S.createBlock)(l,{key:1,options:e.transformedCountryFormat,label:"",placeholder:"Add country",searchable:!0,filterKey:e.key,onUpdated:e.onSelect},null,8,["options","filterKey","onUpdated"])):(0,S.createCommentVNode)("v-if",!0)])}],["__scopeId","data-v-5552d344"]]);class Zt{static EventType="SearchFilters:ClearLocationFilterEvent";timestamp=new Date;eventType=Zt.EventType;static is(e){return e.eventType===Zt.EventType}}class en{filterProvider;locationFilterProvider;eventAggregationServiceSubscription;busyIndicator;selectedLocationFilterType=(0,S.ref)(null);constructor(e,t){this.filterProvider=e,this.locationFilterProvider=t,this.eventAggregationServiceSubscription=A.instance.subscribe(this).to(Zt.EventType).to(N.EventType).to(R.EventType),this.busyIndicator=new P}activeLocationFilterType=(0,S.computed)((()=>null!==this.selectedLocationFilterType.value?this.selectedLocationFilterType.value:this.areContinentsSelected()?o.CONTINENT:o.COUNTRY));areContinentsSelected(){return this.filterProvider.getFilterSelection(t.CONTINENT).length>0}collapsed=(0,S.computed)((()=>this.filterProvider.isFilterCollapsed(t.COUNTRY)));countryFilterHintCount=(0,S.computed)((()=>this.filterProvider.getFilterSelection(t.COUNTRY).length));continentFilterHintCount=(0,S.computed)((()=>this.filterProvider.getFilterSelection(t.CONTINENT).length));async notify(e){N.is(e)&&e.subjects.some((e=>i.includes(e)))&&(this.busyIndicator.reportChange(),this.displayCorrectLocationTab(e.subjects)),R.is(e)&&e.subjects.some((e=>i.includes(e)))&&this.busyIndicator.reportChangeCompleted(),Zt.is(e)&&await this.filterProvider.clearFilters([t.COUNTRY,t.AREA,t.CONTINENT])}displayCorrectLocationTab(e){e.includes(t.COUNTRY)?this.toggleCountryFilter():e.includes(t.CONTINENT)&&this.toggleContinentFilter()}switchTabs(){this.activeLocationFilterType.value===o.COUNTRY?this.switchToContinentFilter():this.switchToCountryFilter()}async switchToCountryFilter(){this.selectedLocationFilterType.value=o.COUNTRY,this.filterProvider.getFilterSelection(t.CONTINENT).length>0&&await this.filterProvider.clearFilter(t.CONTINENT)}async switchToContinentFilter(){this.selectedLocationFilterType.value=o.CONTINENT;const e=this.filterProvider.getFilterSelection(t.COUNTRY),n=this.filterProvider.getFilterSelection(t.AREA);(e.length>0||n.length>0)&&await this.filterProvider.clearFilters([t.COUNTRY,t.AREA])}async toggleContinentFilter(){this.activeLocationFilterType.value===o.COUNTRY&&await this.switchToContinentFilter()}async toggleCountryFilter(){this.activeLocationFilterType.value===o.CONTINENT&&await this.switchToCountryFilter()}toggleFilter(){this.filterProvider.toggleFilterExpandability(t.COUNTRY)}dispose(){this.eventAggregationServiceSubscription.dispose()}}const tn=e=>((0,S.pushScopeId)("data-v-777a28f4"),e=e(),(0,S.popScopeId)(),e),nn={key:0,class:"LocationSwitcher"},rn=[tn((()=>(0,S.createElementVNode)("div",{class:"CountryButton Skeleton"},null,-1))),tn((()=>(0,S.createElementVNode)("div",{class:"ContinentButton Skeleton"},null,-1)))],on={class:"CountryOptions"},an=[tn((()=>(0,S.createElementVNode)("div",{class:"CountryCheckbox Skeleton"},null,-1))),tn((()=>(0,S.createElementVNode)("div",{class:"CountryName Skeleton"},null,-1)))],ln=(0,S.defineComponent)({setup(){const e=k(r.FILTER_PROVIDER),t=k(r.LOCATION_FILTER_PROVIDER),n=new Yt(e,t);return{includeContinents:t.includeContinents,filterOptions:n.values}}}),cn=(0,S.defineComponent)({components:{ContinentFilter:mt,CountryFilter:Qt,LocationSkeletonLoader:(0,G.A)(ln,[["render",function(e,t,n,i,r,o){return(0,S.openBlock)(),(0,S.createElementBlock)("div",null,[e.includeContinents?((0,S.openBlock)(),(0,S.createElementBlock)("div",nn,rn)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("ul",on,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,(e=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:e.optionValue,class:"CountryOption"},an)))),128))])])}],["__scopeId","data-v-777a28f4"]])},setup:()=>{const e=k(r.FILTER_PROVIDER),t=k(r.LOCATION_FILTER_PROVIDER),n=new en(e,t);return(0,S.onUnmounted)((()=>n.dispose())),{collapsed:n.collapsed,countryFilterHintCount:n.countryFilterHintCount,continentFilterHintCount:n.continentFilterHintCount,activeLocationFilterType:n.activeLocationFilterType,isBusy:n.busyIndicator.isBusy,toggleContinentFilter:n.toggleContinentFilter.bind(n),toggleCountryFilter:n.toggleCountryFilter.bind(n),toggleFilter:n.toggleFilter.bind(n),switchTabs:n.switchTabs.bind(n),includeContinents:t.includeContinents,LocationFilterType:o,filterProvider:e}}}),dn=(0,G.A)(cn,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("LocationSkeletonLoader");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["LocationFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[st,at,e.countryFilterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",lt,(0,S.toDisplayString)(e.countryFilterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),e.continentFilterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",ct,(0,S.toDisplayString)(e.continentFilterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),e.isBusy?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0})):((0,S.openBlock)(),(0,S.createElementBlock)("div",dt,[e.includeContinents?((0,S.openBlock)(),(0,S.createElementBlock)("div",ut,[(0,S.createElementVNode)("button",{type:"button",onClick:t[1]||(t[1]=(...t)=>e.toggleCountryFilter&&e.toggleCountryFilter(...t)),class:(0,S.normalizeClass)(["CountrySwitcher",{"is-active":e.activeLocationFilterType===e.LocationFilterType.COUNTRY}])}," Country ",2),(0,S.createElementVNode)("i",{class:"lnr-arrows-switch SwitcherIcon",onClick:t[2]||(t[2]=(...t)=>e.switchTabs&&e.switchTabs(...t))}),(0,S.createElementVNode)("button",{type:"button",onClick:t[3]||(t[3]=(...t)=>e.toggleContinentFilter&&e.toggleContinentFilter(...t)),class:(0,S.normalizeClass)(["ContinentSwitcher",{"is-active":e.activeLocationFilterType===e.LocationFilterType.CONTINENT}])}," Continent ",2)])):(0,S.createCommentVNode)("v-if",!0),((0,S.openBlock)(),(0,S.createBlock)((0,S.resolveDynamicComponent)(e.activeLocationFilterType)))]))],2)}],["__scopeId","data-v-3c39d807"]]),un=(0,S.createElementVNode)("i",{class:"lnr-license FilterIcon"},null,-1),pn=(0,S.createElementVNode)("div",{class:"Title"},"Special Programmes",-1),hn={key:0,class:"Badge"},fn={class:"RefineContentOptionsList"};class mn extends D{constructor(e,n){super(t.SPECIAL_PROGRAMMES,e,n)}}const vn=(0,S.defineComponent)({components:{Checkbox:K},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new mn(e);return(0,S.onUnmounted)(t.dispose.bind(t)),{key:t.key,filterOptions:t.filterOptions,collapsed:t.collapsed,filterHintCount:t.filterHintCount,toggleFilter:t.toggleFilter.bind(t),filterProvider:e}}}),gn=(0,G.A)(vn,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Checkbox");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["SpecialProgrammesFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[un,pn,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",hn,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",fn,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.filterOptions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("li",{key:n},[(0,S.createVNode)(s,{filterKey:e.key,optionName:t.optionName,optionValue:t.optionValue},null,8,["filterKey","optionName","optionValue"])])))),128))])],2)}]]),yn=(0,S.createElementVNode)("i",{class:"lnr-bag-coins FilterIcon"},null,-1),Sn=(0,S.createElementVNode)("div",{class:"Title"},"Tuition Fee",-1),En={key:0,class:"Badge"},_n={class:"RefineContentOptionsList"},bn={class:"controlLabel"},In=(0,S.createElementVNode)("b",null,"Annual tuition fee ",-1),Tn={class:"rangeContainer"},Cn={class:"formControl"},kn={class:"SCTextInput"},On=["value"],An=(0,S.createElementVNode)("label",null,"Min",-1),Nn={class:"SCTextInput"},Rn=["value"],Pn=(0,S.createElementVNode)("label",null,"Max",-1),wn={class:"sliderControl"},Dn=["step","max"],Vn=["step","max"];class Fn{isDefault;min;max;hasMinOnly;hasMaxOnly;defaultMin=0;defaultMax=0;isDefaultMin;isDefaultMax;constructor(e){if(!this.exactMatch(e))throw new Error("Invalid interval");const t=JSON.parse(e);this.min=+t[0],this.max=+t[1],this.isDefaultMin=this.min<=this.defaultMin,this.isDefaultMax=this.max<=this.defaultMax,this.isDefault=this.isDefaultMin&&this.isDefaultMax,this.hasMinOnly=!this.isDefaultMin&&this.isDefaultMax,this.hasMaxOnly=!this.isDefaultMax&&this.isDefaultMin}exactMatch(e){const t=e.match(/[-?[0-9]+,-?[0-9]+]/g);return null!==t&&t[0]===e}}class Ln{currencyFilterProvider;euro="EUR";original=this.euro;constructor(e){this.currencyFilterProvider=e}isAvailable=(0,S.computed)((()=>this.currencyFilterProvider.getAreDependenciesLoaded()));userCurrency=(0,S.computed)((()=>this.currencyFilterProvider.getCurrency()));async convertFromOriginalToUserCurrency(e){return await this.currencyFilterProvider.currencyConvert(e,this.original,this.userCurrency.value)}async convertFromEurToUserCurrency(e){return await this.currencyFilterProvider.currencyConvert(e,this.euro,this.userCurrency.value)}async convertFromUserCurrencyToEur(e){return await this.currencyFilterProvider.currencyConvert(e,this.original,this.euro)}changeCurrency(){this.currencyFilterProvider.requestCurrencyChange()}isChanged(){return this.original!==this.userCurrency.value}updateOriginal(){this.original=this.userCurrency.value}track(e){this.currencyFilterProvider.trackCustomClickEvent("tuition_filter_click",e)}}class Mn extends D{filterProvider;currencyFilterProvider;defaultInterval="[0,-1]";debounceTimeout;debounceTime=0;fromSliderRef=(0,S.ref)(null);toSliderRef=(0,S.ref)(null);fromInputRef=(0,S.ref)(null);toInputRef=(0,S.ref)(null);showSliders=(0,S.ref)(!0);maxValue=(0,S.ref)(5e4);toSelected=(0,S.ref)(this.maxValue.value);fromSelected=(0,S.ref)(0);currency;fromInputTrackingData;toInputTrackingData;fromSliderTrackingData;toSliderTrackingData;constructor(e,n,i){super(t.TUITION_FEE,e,i),this.filterProvider=e,this.currencyFilterProvider=n,this.currency=new Ln(n)}shouldShowDecimals=(0,S.computed)((()=>5e4/this.maxValue.value>1e3));sliderStepSize=(0,S.computed)((()=>this.shouldShowDecimals.value?.01:1));fromSelectedFormatted=(0,S.computed)({get:()=>this.shouldShowDecimals.value?this.fromSelected.value.toString():(new Intl.NumberFormat).format(this.fromSelected.value),set:e=>{const t=parseFloat(e.replace(/\D/g,""));this.fromSelected.value=isNaN(t)?0:t}});toSelectedFormatted=(0,S.computed)({get:()=>this.toSelected.value===this.maxValue.value?"No Max":this.shouldShowDecimals.value?this.toSelected.value.toString():(new Intl.NumberFormat).format(this.toSelected.value),set:e=>{const t=parseFloat(e.replace(/\D/g,""));this.toSelected.value=isNaN(t)?this.maxValue.value:t}});selection=(0,S.computed)((()=>this.filterProvider.getFilterSelection(this.key)[0]||this.defaultInterval));maxAllowedValue=(0,S.computed)((()=>this.roundValue(this.toSelected.value-.05*this.maxValue.value)));minAllowedValue=(0,S.computed)((()=>this.roundValue(this.fromSelected.value+.05*this.maxValue.value)));async onMounted(){(0,S.watch)(this.currency.userCurrency,(()=>this.processCurrencyUpdated(this.maxValue,this.toSelected,this.fromSelected))),this.currency.isAvailable.value?await this.initializeFilter():(0,S.watch)(this.currency.isAvailable,(async e=>{e&&await this.initializeFilter()}))}async initializeFilter(){(0,S.watchEffect)((()=>{this.setFilterValues()})),await this.processCurrencyUpdated(this.maxValue,this.toSelected,this.fromSelected)}debounce(e){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout((()=>{this.debounceTime<Date.now()&&(e(),this.debounceTime=Date.now()+400)}),500)}async processCurrencyUpdated(e,t,n){if(!this.currency.isChanged())return;const i=await this.currency.convertFromOriginalToUserCurrency(e.value),r=await this.currency.convertFromOriginalToUserCurrency(t.value),o=await this.currency.convertFromOriginalToUserCurrency(n.value);this.currency.updateOriginal(),e.value=this.roundValue(i),await(0,S.nextTick)((()=>{t.value=this.roundValue(r),n.value=this.roundValue(o)}))}roundValue(e){return this.shouldShowDecimals.value?Math.round(100*e)/100:Math.round(e)}async setFilterValues(){try{const e=new Fn(this.selection.value);let t=e.min,n=e.max;-1===n&&(n=this.maxValue.value),t=await this.currency.convertFromEurToUserCurrency(t),n=await this.currency.convertFromEurToUserCurrency(n),this.fromSelected.value=this.roundValue(t),this.toSelected.value=this.roundValue(n),this.updateFromSliderValue(),this.updateToSliderValue()}catch{}}fillSlider(){if(!this.fromSliderRef.value||!this.toSliderRef.value)return;const e=Number(this.toSliderRef.value.min),t=Number(this.toSliderRef.value.max)-e,n=this.fromSelected.value-e,i=this.toSelected.value-e,r="#C0C1C2",o="#125BC9";this.toSliderRef.value.style.background=`linear-gradient(\n\t\t to right,\n\t\t ${r} 0%,\n\t\t ${r} ${n/t*100}%,\n\t\t ${o} ${n/t*100}%,\n\t\t ${o} ${i/t*100}%, \n\t\t ${r} ${i/t*100}%, \n\t\t ${r} 100%)`}async setSelectedOptions(){let e=this.fromSelected.value,t=this.toSelected.value;e=await this.currency.convertFromUserCurrencyToEur(this.fromSelected.value),t=await this.currency.convertFromUserCurrencyToEur(this.toSelected.value);const n=Number(this.toSelected.value)===this.maxValue.value?-1:Math.round(t),i=`[${Math.round(e)},${n}]`;new Fn(i).isDefault?await this.filterProvider.clearFilter(this.key):await this.filterProvider.processFilterSelection({key:this.key,value:i})}setAndTrackOptions(e){this.debounce((()=>{this.setSelectedOptions(),this.currency.track(e)}))}updateFromInputValue(e){const t=e.target;this.fromSelectedFormatted.value=t.value,this.updateFromSliderValue(e),this.setAndTrackOptions("text")}updateToInputValue(e){const t=e.target;this.toSelectedFormatted.value=t.value,this.updateToSliderValue(e),this.setAndTrackOptions("text")}updateFromSliderValue(e){if(Number(this.fromSelected.value)>=this.maxAllowedValue.value){null==e||e.preventDefault();const t=this.maxAllowedValue.value;this.fromSelected.value=t<=0?0:t}this.fillSlider()}updateToSliderValue(e){let t=Number(this.toSelected.value);t>=this.maxValue.value&&(t=this.maxValue.value,this.toSelected.value=t),this.minAllowedValue.value>=t&&(null==e||e.preventDefault(),this.toSelected.value=this.minAllowedValue.value),this.fillSlider()}changeCurrencyClicked(){this.currency.changeCurrency()}}class Bn{filter;constructor(e){this.filter=e}trackingdata=(0,S.computed)((()=>`[${this.filter.fromSelected.value},${this.filter.toSelected.value===this.filter.maxValue.value?"null":this.filter.toSelected.value.toString()}]`));trackingDataForFromInput=(0,S.computed)((()=>new L(this.filter.fromInputRef,this.trackingdata,(0,S.ref)(B.Action.CHANGE),M.CHANGE,t.TUITION_FEE)));trackingDataForToInput=(0,S.computed)((()=>new L(this.filter.toInputRef,this.trackingdata,(0,S.ref)(B.Action.CHANGE),M.CHANGE,t.TUITION_FEE)));trackingDataForFromSlider=(0,S.computed)((()=>new L(this.filter.fromSliderRef,this.trackingdata,(0,S.ref)(B.Action.SLIDER_CHANGE),M.CHANGE,t.TUITION_FEE)));trackingDataForToSlider=(0,S.computed)((()=>new L(this.filter.toSliderRef,this.trackingdata,(0,S.ref)(B.Action.SLIDER_CHANGE),M.CHANGE,t.TUITION_FEE)))}const Un=(0,S.defineComponent)({components:{Tracking:Y},setup:()=>{const e=k(r.FILTER_PROVIDER),t=k(r.CURRENCY_FILTER_PROVIDER),n=new Mn(e,t),i=new Bn(n);return(0,S.onMounted)(n.onMounted.bind(n)),(0,S.onUnmounted)(n.dispose.bind(n)),{key:n.key,filterOptions:n.filterOptions,collapsed:n.collapsed,filterHintCount:n.filterHintCount,toSelected:n.toSelected,fromSelected:n.fromSelected,maxValue:n.maxValue,userCurrency:n.currency.userCurrency,fromSelectedFormatted:n.fromSelectedFormatted,toSelectedFormatted:n.toSelectedFormatted,fromSliderRef:n.fromSliderRef,toSliderRef:n.toSliderRef,fromInputRef:n.fromInputRef,toInputRef:n.toInputRef,trackingDataForFromInput:i.trackingDataForFromInput,trackingDataForToInput:i.trackingDataForToInput,trackingDataForFromSlider:i.trackingDataForFromSlider,trackingDataForToSlider:i.trackingDataForToSlider,sliderStepSize:n.sliderStepSize,toggleFilter:n.toggleFilter.bind(n),changeCurrencyClicked:n.changeCurrencyClicked.bind(n),updateFromSliderValue:n.updateFromSliderValue.bind(n),updateToSliderValue:n.updateToSliderValue.bind(n),updateFromInputValue:n.updateFromInputValue.bind(n),updateToInputValue:n.updateToInputValue.bind(n)}}}),jn=(0,G.A)(Un,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Tracking");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["TuitionFeeFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[yn,Sn,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",En,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("ul",_n,[(0,S.createElementVNode)("div",bn,[(0,S.createElementVNode)("span",null,[In,(0,S.createElementVNode)("a",{onClick:t[1]||(t[1]=(...t)=>e.changeCurrencyClicked&&e.changeCurrencyClicked(...t)),class:"Currency"},(0,S.toDisplayString)(e.userCurrency),1)])]),(0,S.createElementVNode)("div",Tn,[(0,S.createElementVNode)("div",Cn,[(0,S.createElementVNode)("div",kn,[(0,S.createElementVNode)("input",{ref:"fromInputRef",value:e.fromSelectedFormatted,onOnfocusout:t[2]||(t[2]=(...t)=>e.updateFromInputValue&&e.updateFromInputValue(...t)),onChange:t[3]||(t[3]=(...t)=>e.updateFromInputValue&&e.updateFromInputValue(...t)),inputmode:"numeric"},null,40,On),e.trackingDataForFromInput?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.trackingDataForFromInput},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0),An]),(0,S.createElementVNode)("div",Nn,[(0,S.createElementVNode)("input",{ref:"toInputRef",value:e.toSelectedFormatted,onOnfocusout:t[4]||(t[4]=(...t)=>e.updateToInputValue&&e.updateToInputValue(...t)),onChange:t[5]||(t[5]=(...t)=>e.updateToInputValue&&e.updateToInputValue(...t)),inputmode:"numeric"},null,40,Rn),e.trackingDataForToInput?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.trackingDataForToInput},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0),Pn])]),(0,S.createElementVNode)("div",wn,[(0,S.withDirectives)((0,S.createElementVNode)("input",{ref:"fromSliderRef",class:"fromSlider slider",step:e.sliderStepSize,type:"range","onUpdate:modelValue":t[6]||(t[6]=t=>e.fromSelected=t),min:"0",max:e.maxValue,onInput:t[7]||(t[7]=(...t)=>e.updateFromInputValue&&e.updateFromInputValue(...t))},null,40,Dn),[[S.vModelText,e.fromSelected]]),e.trackingDataForFromSlider?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.trackingDataForFromSlider},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0),(0,S.withDirectives)((0,S.createElementVNode)("input",{ref:"toSliderRef",class:"toSlider slider",step:e.sliderStepSize,type:"range","onUpdate:modelValue":t[8]||(t[8]=t=>e.toSelected=t),min:"0",max:e.maxValue,onInput:t[9]||(t[9]=(...t)=>e.updateToInputValue&&e.updateToInputValue(...t))},null,40,Vn),[[S.vModelText,e.toSelected]]),e.trackingDataForToSlider?((0,S.openBlock)(),(0,S.createBlock)(s,{key:1,data:e.trackingDataForToSlider},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0)])])])],2)}]]),Hn=e=>((0,S.pushScopeId)("data-v-f9745e1c"),e=e(),(0,S.popScopeId)(),e),Gn=Hn((()=>(0,S.createElementVNode)("i",{class:"lnr-sp-logo FilterIcon"},null,-1))),Yn=Hn((()=>(0,S.createElementVNode)("div",{class:"Title"},"University",-1))),Wn={key:0,class:"Badge"},Kn={class:"RefineContentOptionsList"},$n=Hn((()=>(0,S.createElementVNode)("label",{class:"UniversityFilterLabel"},"Search by university",-1))),qn=e=>"object"==typeof e&&null!==e&&"id"in e&&"name"in e;class zn{configuration;constructor(e){this.configuration=e}async suggestOrganisations(e){const t=encodeURIComponent(e);if(""===t)return[];const n=this.configuration.autocompleteContext??"lv-bachelor,master,preparation,phd,short",i=`${this.configuration.autocompleteApiUrl}?keyword=${t}&type=organisation&context=${n}`,r=await fetch(i);if(r.ok){const e=await r.json();if(o=e,Array.isArray(o)&&o.every(qn))return e}var o;return[]}}class Xn extends D{universityFilterProvider;autocomplete;lastValidSelectionOption=(0,S.ref)("");selectionName=(0,S.ref)("");selection=(0,S.computed)((()=>{const e=this.filterProvider.getFilterSelection(this.key);return 0===e.length?null:e[0]}));constructor(e,n,i,r){super(t.ORGANISATIONS,n,r),this.autocomplete=new zn(e),this.filterProvider=n,this.universityFilterProvider=i,(0,S.watch)(this.selection,(e=>{this.onSelectionChanged(e)}))}async processUniversitySelection(e){const n={key:t.ORGANISATIONS,value:`${e}`};this.eventAggregationService.publish(new N([t.COUNTRY])),this.eventAggregationService.publish(new Zt);try{const t=[n,...await this.getCountryFilterPayloads(e)];await this.filterProvider.processFiltersSelection(t)}finally{this.eventAggregationService.publish(new R(i))}}toggleFilter(){this.filterProvider.toggleFilterExpandability(t.ORGANISATIONS)}async suggest(e){return await this.autocomplete.suggestOrganisations(e)}async processSelection(e){return await this.processUniversitySelection(e)}async onSelectionChanged(e){if(null===e)return this.selectionName.value="",void this.eventAggregationService.publishTo(Gt.EventType,new Gt);await this.syncWithSelection(e)}async syncWithSelection(e){const t=await this.universityFilterProvider.retrieveUniversityInfo(e);if(null===t)return;const n=t.name;this.selectionName.value=n,this.eventAggregationService.publishTo(Ht.EventType,new Ht(t.valuesOfCountryOptions))}async getCountryFilterPayloads(e){const n=await this.universityFilterProvider.retrieveUniversityInfo(e);if(null===n)return[];this.lastValidSelectionOption.value=n.name;const i=this.filterProvider.getFilterSelection(t.COUNTRY);return n.valuesOfCountryOptions.filter((e=>!i.includes(e))).map((e=>({key:t.COUNTRY,value:e})))}}const Jn={class:"FilterSearchBoxWrapper"},Qn=["value","placeholder"],Zn={key:0,class:"lnr-magnifier FilterSearchBoxIcon"},ei={class:"FilterSuggestionsWrapper"},ii=["onClick"],ri={ref:"refOfTrackingProxy"};class si{for(e,t){const n=window,i=n.Shared?n.Shared.debounce:null;return i?i(e,t):()=>e()}}class ai{inputRef=(0,S.ref)(null);input=(0,S.ref)("");suggestions=(0,S.ref)([]);refOfTrackingProxy=(0,S.ref)(null);filterKey;selectionId=(0,S.ref)("");suggest;processSelection;inputDisplay;debounceInput;lastValidSelectionOption;constructor(e,t,n,i,r){this.suggest=e,this.processSelection=t,this.lastValidSelectionOption=i,this.inputDisplay=r,this.filterKey=n,this.debounceInput=(new si).for((()=>{this.onInputChanged(this.input.value)}),500)}onMounted(){(0,S.watch)(this.inputDisplay,(e=>this.updateInput(e)))}onInput(e){const t=e.target;this.input.value=t.value,this.debounceInput()}onBlur(){""!==this.lastValidSelectionOption.value&&0===this.suggestions.value.length&&(this.input.value=this.lastValidSelectionOption.value)}onClearInputClick(){var e;this.updateInputForDisplay(""),null==(e=this.inputRef.value)||e.focus()}async onInputChanged(e){this.suggestions.value=await this.suggest(e)}onSuggestionChosen(e){this.selectionId.value=e.id.toString(),this.refOfTrackingProxy.value&&this.refOfTrackingProxy.value.dispatchEvent(new Event(M.CHANGE)),this.updateInputForDisplay(e.name),this.processSelection(e.id.toString())}updateInput(e){this.updateInputForDisplay(e),this.lastValidSelectionOption.value=e}updateInputForDisplay(e){this.input.value=e,this.suggestions.value=[]}}class li{filter;constructor(e){this.filter=e}trackingData=(0,S.computed)((()=>{if(this.filter.refOfTrackingProxy)return{elementRef:this.filter.refOfTrackingProxy,dataRef:this.filter.selectionId,action:(0,S.ref)(B.Action.SELECT),eventToSubscribe:M.CHANGE,label:this.filter.filterKey}}))}const ci=(0,S.defineComponent)({components:{Tracking:Y},props:{placeholder:{type:String,required:!0},suggest:{type:Function,required:!0},processSelection:{type:Function,required:!0},lastValidSelectionOption:{type:String,required:!0},inputDisplay:{type:String,required:!0},filterKey:{type:String,required:!0}},setup:e=>{const t=new ai(e.suggest,e.processSelection,e.filterKey,(0,S.toRef)(e,"lastValidSelectionOption"),(0,S.toRef)(e,"inputDisplay")),n=new li(t);return(0,S.onMounted)((()=>t.onMounted())),{placeholder:e.placeholder,input:t.input,inputRef:t.inputRef,suggestions:t.suggestions,trackingData:n.trackingData,refOfTrackingProxy:t.refOfTrackingProxy,onInput:t.onInput.bind(t),onBlur:t.onBlur.bind(t),onClearInputClick:t.onClearInputClick.bind(t),onSuggestionChosen:t.onSuggestionChosen.bind(t)}}}),di=(0,S.defineComponent)({components:{DropdownFilter:(0,G.A)(ci,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Tracking");return(0,S.openBlock)(),(0,S.createElementBlock)(S.Fragment,null,[(0,S.createElementVNode)("div",Jn,[(0,S.createElementVNode)("input",{ref:"inputRef",type:"search",value:e.input,class:"FilterSearchBox",placeholder:e.placeholder,autocomplete:"off",onInput:t[0]||(t[0]=(...t)=>e.onInput&&e.onInput(...t)),onBlur:t[1]||(t[1]=t=>e.onBlur())},null,40,Qn),e.input?((0,S.openBlock)(),(0,S.createElementBlock)("i",{key:1,class:"lnr-cross FilterSearchBoxIcon Clickable",onMousedown:t[2]||(t[2]=(0,S.withModifiers)((t=>e.onClearInputClick()),["prevent"]))},null,32)):((0,S.openBlock)(),(0,S.createElementBlock)("i",Zn))]),(0,S.createElementVNode)("div",ei,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.suggestions,((t,n)=>((0,S.openBlock)(),(0,S.createElementBlock)("p",{key:n,class:"FilterSuggestion",onClick:n=>e.onSuggestionChosen(t)},(0,S.toDisplayString)(t.name),9,ii)))),128))]),(0,S.createElementVNode)("div",ri,null,512),e.trackingData?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.trackingData},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0)],64)}],["__scopeId","data-v-663acb22"]])},setup:()=>{const e=k(r.CONFIGURATION),t=k(r.FILTER_PROVIDER),n=k(r.UNIVERSITY_FILTER_PROVIDER),i=new Xn(e,t,n);return(0,S.onUnmounted)(i.dispose.bind(i)),{collapsed:i.collapsed,filterHintCount:i.filterHintCount,lastValidSelectionOption:i.lastValidSelectionOption,selectionName:i.selectionName,key:i.key,toggleFilter:i.toggleFilter.bind(i),suggest:i.suggest.bind(i),processSelection:i.processSelection.bind(i)}}}),ui=(0,G.A)(di,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("DropdownFilter");return(0,S.openBlock)(),(0,S.createElementBlock)("section",{class:(0,S.normalizeClass)(["UniversityFilterWrapper",{"is-collapsed":e.collapsed}])},[(0,S.createElementVNode)("header",{class:"RefineSectionHeading",onClick:t[0]||(t[0]=t=>e.toggleFilter())},[Gn,Yn,e.filterHintCount>0?((0,S.openBlock)(),(0,S.createElementBlock)("span",Wn,(0,S.toDisplayString)(e.filterHintCount),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("i",{class:(0,S.normalizeClass)(["ToggleIcon",[e.collapsed?"lnr-chevron-down":"lnr-chevron-up"]])},null,2)]),(0,S.createElementVNode)("div",Kn,[$n,(0,S.createVNode)(s,{suggest:e.suggest,processSelection:e.processSelection,lastValidSelectionOption:e.lastValidSelectionOption,inputDisplay:e.selectionName,filterKey:e.key,placeholder:"University name"},null,8,["suggest","processSelection","lastValidSelectionOption","inputDisplay","filterKey"])])],2)}],["__scopeId","data-v-f9745e1c"]]),pi={class:"SearchFilterContainer"},hi=(0,G.A)({},[["render",function(e,t){return(0,S.openBlock)(),(0,S.createElementBlock)("div",pi,[(0,S.renderSlot)(e.$slots,"default")])}]]),fi=e=>((0,S.pushScopeId)("data-v-481377d2"),e=e(),(0,S.popScopeId)(),e),mi={key:0,class:"SelectedFiltersHeader"},vi=fi((()=>(0,S.createElementVNode)("i",{class:"lnr-redo2 ButtonIcon"},null,-1))),gi={key:2,class:"FilterTagContainer Collapsed",ref:"filterTagContainerRef"},yi=fi((()=>(0,S.createElementVNode)("i",{class:"lnr-plus ButtonIcon"},null,-1))),Si=fi((()=>(0,S.createElementVNode)("i",{class:"lnr-minus ButtonIcon"},null,-1)));class Ei{selectedFilters;constructor(e){this.selectedFilters=e}clearAllTrackingData=(0,S.computed)((()=>{if(this.selectedFilters.clearAllButtonRef.value)return new L((0,S.ref)(this.selectedFilters.clearAllButtonRef.value),this.selectedFilters.stringOfUniqueTagFilterKeys,(0,S.ref)(B.Action.CLEAR),M.CLICK,"clear_all")}))}class _i{eventAggregationServiceSubscription;filterProvider;isBusy=!1;disposed=!1;filtersWithSpecificClearProcess=[t.COUNTRY];constructor(e,t){this.filterProvider=e,t??=A.instance,this.eventAggregationServiceSubscription=t.subscribe(this).to(zt.EventType)}dispose(){this.eventAggregationServiceSubscription.dispose()}async notify(e){zt.is(e)&&await this.clearFilters(e)}clearFilters=async e=>{const t=e.filters.filter((e=>!this.filtersWithSpecificClearProcess.includes(e.key)));0!==t.length&&await this.filterProvider.clearSelection(t)};clearAll=async e=>{await this.filterProvider.clearFilters(e)}}class bi{eventAggregationServiceSubscription;tagContainerRef=(0,S.ref)(null);isTagContainerMoreThanTwoRows=(0,S.ref)(!1);isCollapsed=(0,S.ref)(!0);observer;tagContainerMaxHeight=0;constructor(t){t??=A.instance,this.eventAggregationServiceSubscription=t.subscribe(this).to(e.EventType,!0)}dispose(){var e;this.eventAggregationServiceSubscription.dispose(),null==(e=this.observer)||e.disconnect()}notify(t){e.is(t)&&this.setIsTagContainerMoreThanTwoRows()}onMounted(){this.tagContainerMaxHeight=this.getTagContainerMaxHeight(),this.setIsTagContainerMoreThanTwoRows(),this.initTagContainerObserver()}shouldDisplayShowMore=(0,S.computed)((()=>this.isCollapsed.value&&this.isTagContainerMoreThanTwoRows.value));shouldDisplayShowLess=(0,S.computed)((()=>!this.isCollapsed.value&&this.isTagContainerMoreThanTwoRows.value));showMore=()=>{var e;this.isCollapsed.value=!1,null==(e=this.tagContainerRef.value)||e.classList.remove("Collapsed")};showLess=()=>{var e;this.isCollapsed.value=!0,null==(e=this.tagContainerRef.value)||e.classList.add("Collapsed")};setIsTagContainerMoreThanTwoRows=()=>{const e=this.tagContainerRef.value;e&&(this.isTagContainerMoreThanTwoRows.value=this.tagContainerMaxHeight<e.scrollHeight)};getTagContainerMaxHeight(){if(!this.tagContainerRef||!this.tagContainerRef.value)return 0;const e=window.getComputedStyle(this.tagContainerRef.value).maxHeight.match(/\d+/g);return e?+e[0]:0}initTagContainerObserver(){const e=new MutationObserver(this.setIsTagContainerMoreThanTwoRows);e.observe(this.tagContainerRef.value,{subtree:!1,childList:!0,attributeFilter:["style","class"]}),this.observer=e}}class Ii{static instance=new Ii;titles=new Map([[t.ATTENDANCE,"Attendance"],[t.ORGANISATIONS,"Organisations"],[t.DISCIPLINES,"Disciplines"],[t.EDUCATION_LEVEL,"Education Levels"],[t.CONTINENT,"Continent"],[t.COUNTRY,"Countries"],[t.AREA,"States"],[t.TUITION_FEE,"Tuition Fees"],[t.DURATION,"Duration"],[t.DELIVERY_METHOD,"Delivery Methods"],[t.DEGREE_TYPE,"Degree Types"],[t.EDUCATIONAL_FORM,"Educational Forms"],[t.SPECIAL_PROGRAMMES,"Special Programmes"],[t.ORGANISATIONS,"Universities"]]);getFor(e){return this.titles.get(e)??""}}class Ti{key;values;required;disabled;displayName;count;hasMultipleValues;id;filterProvider;eventAggregationService;constructor(e,t,n,i,r,o){this.key=e,this.values=t,this.required=n,this.disabled=i,this.filterProvider=r,this.displayName=this.constructDisplayName(),this.count=this.countFilters(),this.hasMultipleValues=this.values.length>1,this.eventAggregationService=o??A.instance,this.id=`${e}-${t.join("-")}`}async clear(){this.disabled||await this.clearFilter()}clearFilter(){const e=this.values.map((e=>({key:this.key,value:e})));return this.eventAggregationService.publishTo(zt.EventType,new zt(e)),Promise.resolve()}getDisplayNameforMultipleValues(){return Ii.instance.getFor(this.key)}getDisplayNameForSingleValue(e){const t=this.filterProvider.getFilterOptionInformationById(this.key,e);return(null==t?void 0:t.optionShortTitle)??(null==t?void 0:t.optionName)??""}countFilters(){return this.disabled||this.required?0:this.values.length}constructDisplayName(){return 1===this.values.length?this.getDisplayNameForSingleValue(this.values[0]):this.getDisplayNameforMultipleValues()}}class Ci extends Ti{values;required;disabled;filterProvider;constructor(e,n,i,r){super(t.ORGANISATIONS,e,n,i,r),this.values=e,this.required=n,this.disabled=i,this.filterProvider=r}getDisplayNameForSingleValue(){return"University"}async clearFilter(){await this.filterProvider.clearFilters([this.key,t.COUNTRY,t.AREA,t.CONTINENT])}}class ki extends Ti{values;required;disabled;filterProvider;constructor(e,n,i,r){super(t.TUITION_FEE,e,n,i,r),this.values=e,this.required=n,this.disabled=i,this.filterProvider=r}getDisplayNameForSingleValue(e){const t=new Fn(e);return t.hasMaxOnly?"Tuition fee max":t.hasMinOnly?"Tuition fee min":"Tuition fee"}async clearFilter(){await this.filterProvider.clearFilter(this.key)}}class Oi extends Ti{key;values;required;disabled;filterProvider;constructor(e,t,n,i,r){super(e,t,n,i,r),this.key=e,this.values=t,this.required=n,this.disabled=i,this.filterProvider=r}getDisplayNameForSingleValue(e){return`"${e}"`||""}async clearFilter(){await this.filterProvider.clearFilter(this.key)}}class Ai{filterProvider;static MAX_NUMBER_OF_INDIVIDUAL_TAGS=9;eligibleKeysForTags=[t.KEYWORD_WHAT,t.KEYWORD_WHERE,t.ORGANISATIONS,t.DISCIPLINES,t.EDUCATION_LEVEL,t.CONTINENT,t.COUNTRY,t.AREA,t.TUITION_FEE,t.DURATION,t.ATTENDANCE,t.DELIVERY_METHOD,t.DEGREE_TYPE,t.EDUCATIONAL_FORM,t.SPECIAL_PROGRAMMES];constructor(e){this.filterProvider=e}constructFor(e){if(!this.eligibleKeysForTags.includes(e))return[];const t=[],n=this.filterProvider.isFilterRequired(e),i=this.filterProvider.getFilterSelection(e),r=this.isDisabled(n,i.length);return this.hasMoreValuesThanMaxAllowed(i.length)?(t.push(this.construct(e,i,n,r)),t):(i.forEach((i=>{t.push(this.construct(e,[i],n,r))})),t)}construct(e,n,i,r){return e===t.TUITION_FEE?new ki(n,i,r,this.filterProvider):e===t.ORGANISATIONS?new Ci(n,i,r,this.filterProvider):e===t.KEYWORD_WHAT||e===t.KEYWORD_WHERE?new Oi(e,n,i,r,this.filterProvider):new Ti(e,n,i,r,this.filterProvider)}hasMoreValuesThanMaxAllowed(e){return e>Ai.MAX_NUMBER_OF_INDIVIDUAL_TAGS}isDisabled(e,t){return e&&1===t}}class Ni{filterProvider;tagContainer;busyIndicator;clearAllButtonRef=(0,S.ref)(null);tagFactory;clearFilters;eventAggregationServiceSubscription;debounceClearAll;constructor(e){this.filterProvider=e,this.busyIndicator=new P,this.tagContainer=new bi,this.tagFactory=new Ai(e),this.clearFilters=new _i(e),this.eventAggregationServiceSubscription=A.instance.subscribe(this).to(N.EventType).to(R.EventType),this.debounceClearAll=(new si).for((()=>{this.clearFilters.clearAll(this.tagFilterKeys.value)}),100)}onMounted(){this.tagContainer.onMounted()}tags=(0,S.computed)((()=>this.constructTags()));removableFiltersCount=(0,S.computed)((()=>this.tags.value.reduce(((e,t)=>e+t.count),0)));filtersApplied=(0,S.computed)((()=>this.tags.value.length>0));tagFilterKeys=(0,S.computed)((()=>this.tags.value.filter((e=>!e.required)).map((e=>e.key))));stringOfUniqueTagFilterKeys=(0,S.computed)((()=>[...new Set(this.tagFilterKeys.value)].join(",")));notify(e){N.is(e)&&this.busyIndicator.reportChange(),R.is(e)&&this.busyIndicator.reportChangeCompleted()}clearAll=()=>(this.debounceClearAll(),Promise.resolve());constructTags(){const e=this.filterProvider.getFilterKeySelection(),t=[];return e.forEach((e=>{t.push(...this.tagFactory.constructFor(e))})),t}onUnmounted(){this.tagContainer.dispose(),this.clearFilters.dispose(),this.eventAggregationServiceSubscription.dispose()}}const Ri={key:0,class:"Badge"},Pi={class:"FilterName"},wi=(e=>((0,S.pushScopeId)("data-v-1e349dbe"),e=e(),(0,S.popScopeId)(),e))((()=>(0,S.createElementVNode)("i",{class:"lnr-cross ButtonIcon"},null,-1))),xi=(0,S.defineComponent)({components:{Tracking:Y},props:{tag:{type:Object,required:!0}},setup:e=>{const t=(0,S.toRef)(e,"tag"),n=(0,S.ref)(null),i=(0,S.computed)((()=>t.value.values.join(","))),r=(0,S.ref)(null),o=()=>{r.value=t.value.disabled?null:new L(n,i,(0,S.ref)(B.Action.CLEAR),M.CLICK,t.value.key)};return(0,S.watch)(t,(()=>o())),o(),{tag:t,tagRef:n,trackingData:r}}}),Vi=(0,G.A)(xi,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Tracking");return(0,S.openBlock)(),(0,S.createElementBlock)(S.Fragment,null,[(0,S.createElementVNode)("div",{class:(0,S.normalizeClass)(["FilterTag",{Disabled:e.tag.disabled}]),onClick:t[0]||(t[0]=t=>e.tag.clear()),ref:"tagRef"},[e.tag.hasMultipleValues?((0,S.openBlock)(),(0,S.createElementBlock)("span",Ri,(0,S.toDisplayString)(e.tag.count),1)):(0,S.createCommentVNode)("v-if",!0),(0,S.createElementVNode)("span",Pi,(0,S.toDisplayString)(e.tag.displayName),1),wi],2),e.trackingData?((0,S.openBlock)(),(0,S.createBlock)(s,{key:0,data:e.trackingData},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0)],64)}],["__scopeId","data-v-1e349dbe"]]),Fi={class:"TagContainer"},Li={class:"Tag Skeleton"},Mi=(0,S.defineComponent)({setup:()=>({noOfSkeletonTags:4})}),Bi=(0,S.defineComponent)({components:{Tracking:Y,Tag:Vi,SelectedFiltersSkeletonLoader:(0,G.A)(Mi,[["render",function(e,t,n,i,r,o){return(0,S.openBlock)(),(0,S.createElementBlock)("div",Fi,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.noOfSkeletonTags,(e=>((0,S.openBlock)(),(0,S.createElementBlock)("div",Li)))),256))])}],["__scopeId","data-v-178fa074"]])},setup:()=>{const e=k(r.FILTER_PROVIDER),t=new Ni(e),n=new Ei(t);return(0,S.onMounted)(t.onMounted.bind(t)),(0,S.onUnmounted)(t.onUnmounted.bind(t)),{tags:t.tags,filtersApplied:t.filtersApplied,removableFiltersCount:t.removableFiltersCount,filterTagContainerRef:t.tagContainer.tagContainerRef,clearAllButtonRef:t.clearAllButtonRef,shouldDisplayShowMore:t.tagContainer.shouldDisplayShowMore,shouldDisplayShowLess:t.tagContainer.shouldDisplayShowLess,clearAllButtonTrackingData:n.clearAllTrackingData,isBusy:t.busyIndicator.isBusy,showMore:t.tagContainer.showMore.bind(t),showLess:t.tagContainer.showLess.bind(t),clearAll:t.clearAll.bind(t)}}}),Ui=(0,G.A)(Bi,[["render",function(e,t,n,i,r,o){const s=(0,S.resolveComponent)("Tracking"),a=(0,S.resolveComponent)("SelectedFiltersSkeletonLoader"),l=(0,S.resolveComponent)("Tag");return(0,S.openBlock)(),(0,S.createElementBlock)("div",{class:(0,S.normalizeClass)(["SelectedFiltersContainer",{Visible:e.filtersApplied||e.isBusy}])},[e.filtersApplied||e.isBusy?((0,S.openBlock)(),(0,S.createElementBlock)("div",mi,[(0,S.createTextVNode)(" Selected filters "),e.removableFiltersCount>0&&!e.isBusy?((0,S.openBlock)(),(0,S.createElementBlock)("button",{key:0,type:"button",class:"ClearButton",ref:"clearAllButtonRef",onClick:t[0]||(t[0]=(...t)=>e.clearAll&&e.clearAll(...t))},[(0,S.createTextVNode)((0,S.toDisplayString)(1===e.removableFiltersCount?"Clear filter":`Clear ${e.removableFiltersCount} filters`)+" ",1),vi],512)):(0,S.createCommentVNode)("v-if",!0),e.clearAllButtonTrackingData?((0,S.openBlock)(),(0,S.createBlock)(s,{key:1,data:e.clearAllButtonTrackingData},null,8,["data"])):(0,S.createCommentVNode)("v-if",!0)])):(0,S.createCommentVNode)("v-if",!0),e.isBusy?((0,S.openBlock)(),(0,S.createBlock)(a,{key:1})):((0,S.openBlock)(),(0,S.createElementBlock)("div",gi,[((0,S.openBlock)(!0),(0,S.createElementBlock)(S.Fragment,null,(0,S.renderList)(e.tags,(e=>((0,S.openBlock)(),(0,S.createElementBlock)("div",{key:e.id},[(0,S.createVNode)(l,{tag:e},null,8,["tag"])])))),128))],512)),(0,S.createElementVNode)("div",null,[e.shouldDisplayShowMore?((0,S.openBlock)(),(0,S.createElementBlock)("button",{key:0,type:"button",class:"ShowMoreButton",ref:"showMoreButtonRef",onClick:t[1]||(t[1]=(...t)=>e.showMore&&e.showMore(...t))},[(0,S.createTextVNode)(" Show more "),yi],512)):(0,S.createCommentVNode)("v-if",!0),e.shouldDisplayShowLess?((0,S.openBlock)(),(0,S.createElementBlock)("button",{key:1,type:"button",class:"ShowLessButton",ref:"showLessButtonRef",onClick:t[2]||(t[2]=(...t)=>e.showLess&&e.showLess(...t))},[(0,S.createTextVNode)(" Show less "),Si],512)):(0,S.createCommentVNode)("v-if",!0)])],2)}],["__scopeId","data-v-481377d2"]])})();var Mc=Lc.M_,Bc=(e=>(e.AREA="area",e.COUNTRY="country",e.DISCIPLINE_AREA="disciplineArea",e.DISCIPLINE_COUNTRY="disciplineCountry",e.DISCIPLINE="discipline",e.UNFILTERED="unfiltered",e.UNIVERSITY_COUNTRY="universityCountry",e))(Bc||{}),Uc=(e=>(e.SEARCH="search",e.SITEMAP_GENERATOR="sitemap-generator",e))(Uc||{});class jc{dependencies;constructor(e){this.dependencies=e}async shouldIndex(){if(!this.isIndexabilityPolicyDependencies())throw new Error("Dependency type is incorrect.");return this.matchesFilters()}async generateSitemapUrls(){if(!this.isSitemapUrlGeneratorDependencies())throw new Error("Dependency type is incorrect.");return await this.generateUrls()}isIndexabilityPolicyDependencies(){return this.dependencies.dependencyType===Uc.SEARCH}isSitemapUrlGeneratorDependencies(){return this.dependencies.dependencyType===Uc.SITEMAP_GENERATOR}}class Hc extends jc{constructor(e){super(e)}checksEveryRuleForSearch(e){return this.rules.every((t=>t.forSearch(e)))}checksEveryRuleForSitemap(e){return this.rules.every((t=>t.forSitemapGenerator(e)))}}class Gc{static instance;disciplinesWithNoSearchVolume;constructor(){this.disciplinesWithNoSearchVolume=[243,415,405,379,269,413,408,274,411,401,381,390,410,412,130]}static getInstance(){return Gc.instance||(Gc.instance=new Gc),Gc.instance}forSearch(e){const t=e[Mc.DISCIPLINES];if(!t)throw new Error("Invalid filter provided or undefined value.");return this.hasSearchVolume(t)}forSitemapGenerator(e){const t=e[Mc.DISCIPLINES];if(!t)throw new Error("Invalid filter provided or undefined value.");return this.hasSearchVolume(t)}getName(){return"SearchVolumeDisciplinesRule"}hasSearchVolume(e){return!this.disciplinesWithNoSearchVolume.includes(Number(e))}}var Yc=n(413),Wc=n(217),Kc=n(133);class $c{static instance;fragments=[];constructor(){this.fragments=this.generatePaths()}static getInstance(){return $c.instance||($c.instance=new $c),$c.instance}generatePaths(){const e=[];return[...Yc.f,...Wc.U].forEach((t=>{const n=(0,Kc.NP)(t.id);null!==n&&e.push({id:t.id,path:n})})),e}getFragments(){return this.fragments}}class qc extends Hc{rules;constructor(e){super(e),this.rules=[Gc.getInstance()]}async matchesFilters(){const{seoInfoBase:e,filterState:t}=this.dependencies,n=await e.singleSelectionFor(Mc.DISCIPLINES,t),i=await e.selectionOnlyFor([Mc.DISCIPLINES],t),r=e.getFilterOptionValueBy(Mc.DISCIPLINES,t),o=this.checksEveryRuleForSearch({[Mc.DISCIPLINES]:r??void 0});return n&&i&&o}generateUrls(){const e=$c.getInstance().getFragments().filter((e=>this.checksEveryRuleForSitemap({[Mc.DISCIPLINES]:e.id}))).map((e=>e.path));return Promise.resolve(e)}get filterCombination(){return Bc.DISCIPLINE}}class zc extends jc{constructor(e){super(e)}async matchesFilters(){const{seoInfoBase:e,filterState:t}=this.dependencies;return Promise.resolve(0===e.getSelectionTypeCount(t))}generateUrls(){throw new Error("Method not implemented.")}get filterCombination(){return Bc.UNFILTERED}}class Xc{policies;constructor(e,t){const n=Uc.SEARCH;this.policies=[new qc({dependencyType:n,seoInfoBase:e,filterState:t}),new zc({dependencyType:n,seoInfoBase:e,filterState:t})]}async shouldIndex(){const e=await Promise.all(this.policies.map((e=>e.shouldIndex())));return e.some((e=>e))}}const Jc={ISeoInfoBase:Symbol.for("ISeoInfoBase"),ISeoFilterState:Symbol.for("ISeoFilterState"),ISeoSearchApplicationState:Symbol.for("ISeoSearchApplicationState"),ISeoFilterOptions:Symbol.for("ISeoFilterOptions"),SearchIndexabilityManager:Symbol.for("SearchIndexabilityManager")}},131:()=>{},879:()=>{},892:()=>{},202:()=>{},928:()=>{}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};n.d(i,{Oe:()=>r.Oe,Wy:()=>r.Wy,gK:()=>r.gK,gq:()=>r.gq,jm:()=>r.jm,yX:()=>r.yX,zJ:()=>r.zJ});var r=n(835),o=i.zJ,s=i.jm,a=i.Wy,l=i.Oe,c=i.yX,d=i.gq,u=i.gK;export{o as ISearchIndexabilityManager,s as ISeoFilterOptions,a as ISeoFilterState,l as ISeoInfoBase,c as ISeoSearchApplicationState,d as SearchIndexabilityManager,u as types};
|
|
2
2
|
//# sourceMappingURL=fawkes.js.map
|