1(function(){var e={5402:function(e,t,s){"use strict";var i=s(144),a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[e.loaded?[e.isAnEventCalendar||e.isBusinessItems?t("SearchAPI"):t("Search")]:e._e()],2)},r=[],l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"results-body"},[t("div",{staticClass:"results-intro u-light-blue u-bg-primary-light-gradient"},[t("div",{staticClass:"container--large"},[t("div",{staticClass:"results-intro__title-wrapper"},[t("h1",{staticClass:"results-intro__title u-primary-very-dark u-page-title",domProps:{innerHTML:e._s(e.title)}})]),t("div",{staticClass:"results-intro__summary u-primary-very-dark u-sans-serif u-type-20",domProps:{innerHTML:e._s(e.summary)}}),e.featured_nodes?t("div",{class:e.featuredNodesClass+" container--large"},[e.isTakeAction||e.isEdJusticeTakeAction?e._e():t("h2",{class:e.featuredNodesClass+"__title u-bg-secondary-dark"},[e._v(" "+e._s(e.featuredNodesTitle)+" ")]),e.isBills?[t("ul",{staticClass:"featured-bills__list u-border-color-primary-dark",domProps:{innerHTML:e._s(e.featured_nodes)}})]:e.isLettersAndTestimony?[t("ul",{staticClass:"featured-letters__list u-border-color-primary-dark",domProps:{innerHTML:e._s(e.featured_nodes)}})]:e.isTakeAction||e.isEdJusticeTakeAction?[t("div",{domProps:{innerHTML:e._s(e.featured_nodes)}})]:[t("div",{staticClass:"featured-resources__items u-border-color-primary-dark",domProps:{innerHTML:e._s(e.featured_nodes)}})]],2):e._e(),t("filters")],1)]),t("results-meta"),t("results-list"),t("results-pagination",{on:{update:e.query}})],1)},n=[],o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"filters__wrapper"},[t("div",{staticClass:"filters__top"},[t("div",{staticClass:"filters__top-left"},[t("keyword"),t("button",{staticClass:"filters__search-btn btn",on:{click:e.updateSearchTerm}},[e._v(" Search ")])],1),e.isProfessionalDevelopmentResources?t("div",{staticClass:"filters__top-right"},[e.hasProfessionalPracticeFilter?t("filter-dropdown",{attrs:{title:e.professionalPracticeFilterTitle,filters:e.professional_practice}}):e._e(),e.hasFormatFilter?t("filter-dropdown",{attrs:{title:"Format",filters:e.format}}):e._e()],1):e.isFederalEducationFunding?t("div",{staticClass:"filters__top-right"},[e.hasProfessionalPracticeFilter?t("filter-dropdown",{attrs:{title:e.professionalPracticeFilterTitle,filters:e.professional_practice}}):e._e(),e.hasIssueFilter?t("filter-dropdown",{attrs:{title:"Issue",filters:e.issue}}):e._e()],1):e.isFindYourBook?t("div",{staticClass:"filters__top-right"},[t("filter-dropdown",{attrs:{title:"Theme",filters:e.theme}})],1):e.isAnEventCalendar?t("div",{staticClass:"filters__top-right"},[e.isAffiliateEvents?e._e():[e.hasStateFilter?t("filter-dropdown",{attrs:{title:"State",filters:e.state}}):e._e()],e.hasEventTypeFilter?t("filter-dropdown",{attrs:{title:e.eventTypeFilterTitle,filters:e.event_type}}):e._e(),e.hasRegionFilter?t("filter-dropdown",{attrs:{title:e.regionFilterTitle,filters:e.region}}):e._e(),e.hasIssueFilter?t("filter-dropdown",{attrs:{title:"Issue",filters:e.issue}}):e._e()],2):e.isBusinessItems?t("div",{staticClass:"filters__top-right"},[e.hasBusinessItemTypeFilter?t("filter-dropdown",{attrs:{title:"Type",filters:e.business_item_type}}):e._e(),e.hasOutcomeFilter?t("filter-dropdown",{attrs:{title:e.outcomeFilterTitle,filters:e.outcome}}):e._e()],1):t("div",{staticClass:"filters__top-right"},[e.hasTypeFilter?t("filter-dropdown",{attrs:{title:"Type",filters:e.type}}):e._e(),e.hasSectionFilter?t("filter-dropdown",{attrs:{title:"Section",filters:e.nea_today_section}}):e._e(),e.hasIssueFilter?t("filter-dropdown",{attrs:{title:"Issue",filters:e.issue}}):e._e(),e.hasFederalLegislationIssueFilter?t("filter-dropdown",{attrs:{title:"Issue",filters:e.federal_legislation_issue}}):e._e(),e.hasActionTypeFilter?t("filter-dropdown",{attrs:{title:e.actionTypeFilterTitle,filters:e.action_type}}):e._e(),e.hasCongressFilter?t("filter-dropdown",{attrs:{title:e.congressFilterTitle,filters:e.congress}}):e._e(),e.hasFederalDepartmentFilter?t("filter-dropdown",{attrs:{title:e.federalDepartmentFilterTitle,filters:e.federal_department}}
1):e._e()],1)]),!e.isProfessionalDevelopmentResources&&e.hasAdditionalFilters?t("div",{staticClass:"filters__bottom"},[e.hasQuickActionFilter?e._e():t("span",{staticClass:"filters__more-label"},[e._v("Additional Filters:")]),t("div",{staticClass:"filters__more-wrapper"},[e.isFindYourBook?[t("filter-dropdown",{attrs:{title:"Reading Level",filters:e.reading_level}}),t("filter-dropdown",{attrs:{title:"Genre",filters:e.genre}})]:e.isAnEventCalendar?[e.hasCampaignFilter?t("filter-dropdown",{attrs:{title:e.campaignFilterTitle,filters:e.campaign}}):e._e(),e.hasRoleFilter?t("filter-dropdown",{attrs:{title:e.roleFilterTitle,filters:e.role}}):e._e(),e.hasProfessionalPracticeFilter?t("filter-dropdown",{attrs:{title:e.professionalPracticeFilterTitle,filters:e.professional_practice}}):e._e(),t("div",{staticClass:"filters__more"},[t("checkbox",{attrs:{name:e.show_past_events["show_past_events"].name,id:"checkbox-show-past-events",item:e.show_past_events["show_past_events"],dropdown:!1}})],1)]:e.isBusinessItems?[e.hasStrategicObjectiveFilter?t("filter-dropdown",{attrs:{title:e.strategicObjectiveFilterTitle,filters:e.strategic_objective}}):e._e()]:e.isFederalEducationFunding?[e.hasAcademicSubjectFilter?t("filter-dropdown",{attrs:{title:e.academicSubjectFilterTitle,filters:e.academic_subject}}):e._e()]:[!e.hasStateFilter||e.isRAAgenda||e.isCalendarOfEvents?e._e():t("filter-dropdown",{attrs:{title:"State",filters:e.state}}),e.hasCampaignFilter?t("filter-dropdown",{attrs:{title:e.campaignFilterTitle,filters:e.campaign}}):e._e(),e.hasRoleFilter?t("filter-dropdown",{attrs:{title:e.roleFilterTitle,filters:e.role}}):e._e(),e.hasYearFilter?t("filter-dropdown",{attrs:{title:"Year",filters:e.year}}):e._e(),e.hasFederalCommentsYearFilter?t("filter-dropdown",{attrs:{title:"Year",filters:e.federal_comments_year}}):e._e(),e.hasProfessionalPracticeFilter?t("filter-dropdown",{attrs:{title:e.professionalPracticeFilterTitle,filters:e.professional_practice}}):e._e(),e.hasAcademicSubjectFilter?t("filter-dropdown",{attrs:{title:e.academicSubjectFilterTitle,filters:e.academic_subject}}):e._e(),e.hasGradeLevelFilter?t("filter-dropdown",{attrs:{title:"Grade",filters:e.grade_level}}):e._e(),e.hasFromNeaTodayFilter?t("div",{staticClass:"filters__more"},[t("checkbox",{attrs:{name:e.nea_today["From NEA Today"].name,id:"checkbox-from-nea-today",item:e.nea_today["From NEA Today"],dropdown:!1}})],1):e._e(),e.hasQuickActionFilter?t("div",{staticClass:"filters__more"},[t("checkbox",{attrs:{name:e.quick_action["quick_action"].name,id:"checkbox-quick-action",item:e.quick_action["quick_action"],dropdown:!1}})],1):e._e(),e.hasPositionFilter?t("filter-dropdown",{attrs:{title:e.positionFilterTitle,filters:e.position}}):e._e(),e.hasChamberFilter?t("filter-dropdown",{attrs:{title:e.chamberFilterTitle,filters:e.chamber}}
1):e._e()]],2)]):e._e()])},u=[],d=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeDropdown,expression:"closeDropdown"}],staticClass:"filters__dropdown",class:{"is-open":e.isOpen}},[t("button",{staticClass:"filters__dropdown-title",attrs:{"aria-haspopup":"true","aria-controls":e.title,"aria-expanded":e.ariaExpanded},on:{click:e.toggleOpen}},[e._v(" "+e._s(e.title)+" ")]),t("div",{staticClass:"filters__dropdown-content",attrs:{id:e.title}},e._l(e.filters,(function(s){return t("div",{staticClass:"filters__dropdown-col"},[s.column?t("span",{staticClass:"filters__dropdown-col-title"},[e._v(e._s(s.column))]):e._e(),e._l(s.options,(function(s,i){return t("ul",{staticClass:"filters__dropdown-list"},[t("li",{staticClass:"filters__dropdown-item"},[t("checkbox",{attrs:{name:s.name,id:e._f("lowercase")(e._f("replaceSpacesWithHyphens")("checkbox-"+i)),item:s,dropdown:!0}}),s.children?t("ul",{staticClass:"filters__dropdown-list"},e._l(s.children,(function(s,i){return t("li",{staticClass:"filters__dropdown-item"},[t("checkbox",{attrs:{name:s.name,id:e._f("lowercase")(e._f("replaceSpacesWithHyphens")("checkbox-"+i)),item:s,dropdown:!0}})],1)})),0):e._e()],1)])}))],2)})),0)])},c=[],p=function(){var e=this,t=e._self._c;return t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.isChecked,expression:"isChecked"}],staticClass:"checkbox",class:{disabled:e.disabled},attrs:{id:e.id,type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.isChecked)?e._i(e.isChecked,null)>-1:e.isChecked},on:{change:[function(t){var s=e.isChecked,i=t.target,a=!!i.checked;if(Array.isArray(s)){var r=null,l=e._i(s,r);i.checked?l<0&&(e.isChecked=s.concat([r])):l>-1&&(e.isChecked=s.slice(0,l).concat(s.slice(l+1)))}else e.isChecked=a},function(t){return e.toggleFilter()}]}}),t("label",{staticClass:"checkbox-label",class:{"filters__dropdown-label":e.dropdown,disabled:e.disabled},attrs:{for:e.id}},["quick_action"===this.item.kind?[t("strong",[e._v(e._s(e.name))]),e._v(" - only show me 5 minute actions")]:"show_past_events"===this.item.kind?[t("strong",[e._v(e._s(e.name))])]:[e._v(e._s(e.name)+e._s(e.count))]],2)])},h=[],m=s(629),_={name:"Checkbox",props:{item:Object,name:String,id:String,dropdown:Boolean},data(){return{checked:!1}},computed:{...(0,m.Se)({activeFilters:"getActiveFilters",allIssueFilters:"getAllIssueFilters",facets:"getFacets",initial:"getInitial",newTypeCount:"getNewTypeCount",newArticleTypeCount:"getNewArticleTypeCount",newGroupOneCount:"getNewGroupOneCount",newGroupTwoCount:"getNewGroupTwoCount",newResourceTypeCount:"getNewResourceTypeCount",newIssueCount:"getNewIssueCount",newStateCount:"getNewStateCount",newCampaignCount:"getNewCampaignCount",newGradeLevelCount:"getNewGradeLevelCount",newRoleCount:"getNewRoleCount",newYearCount:"getNewYearCount",newProfessionalPracticeCount:"getNewProfessionalPracticeCount",newFormatCount:"getNewFormatCount",newThemeCount:"getNewThemeCount",newReadingLevelCount:"getNewReadingLevelCount",newGenreCount:"getNewGenreCount",newAcademicSubjectCount:"getNewAcademicSubjectCount",newNEATodayCount:"getNewNEATodayCount",newActionTypeCount:"getNewActionTypeCount",newCongressCount:"getNewCongressCount",newPositionCount:"getNewPositionCount",newChamberCount:"getNewChamberCount",newFederalDepartmentCount:"getNewFederalDepartmentCount",newFederalCommentsYearCount:"getNewFederalCommentsYearCount",newQuickActionCount:"getNewQuickActionCount",newFederalLegislationIssueCount:"getNewFederalLegislationIssueCount",newEventTypeCount:"getNewEventTypeCount",newBusinessItemTypeCount:"getNewBusinessItemTypeCount",newOutcomeCount:"getNewOutcomeCount",newStrategicObjectiveCount:"getNewStrategicObjectiveCount",newNEATodaySectionCount:"getNewNEATodaySectionCount"}),isChecked:{get:function(){let e=this.activeFilters.filter((e=>e.name===this.name));return this.checked=!!e.length,this.checked},set:function(e){this.checked=e}},realResultsCount:function(){let e=this.item.kind;if(this.facets&&Object.keys(this.facets).length>
10&&this.facets[e])return this.facets[e][this.item.value]||0},count(){let e="";if(this.initial&&this.realResultsCount&&(e=this.realResultsCount||"0"),this.initial||"group_one"!==this.item.kind||(e=this.newGroupOneCount?this.newGroupOneCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"article_type"!==this.item.kind||(e=this.newArticleTypeCount?this.newArticleTypeCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"resource_type"!==this.item.kind||(e=this.newResourceTypeCount?this.newResourceTypeCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"session_format"!==this.item.kind||(e=this.newFormatCount?this.newFormatCount[this.item.value]||"0":this.realResultsCount||"0"),!this.initial&&"issue"===this.item.kind&&(e=this.newIssueCount?this.newIssueCount[this.item.value]||"0":this.realResultsCount||"0",this.item.children))for(const[t,s]of Object.entries(this.item.children)){let e=this.activeFilters.find((e=>e.value===s.value));if(e)return""}return this.initial||"state"!==this.item.kind||(e=this.newStateCount?this.newStateCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"campaign"!==this.item.kind||(e=this.newCampaignCount?this.newCampaignCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"grade_level"!==this.item.kind||(e=this.newGradeLevelCount?this.newGradeLevelCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"role"!==this.item.kind||(e=this.newRoleCount?this.newRoleCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"year"!==this.item.kind||(e=this.newYearCount?this.newYearCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"professional_practice"!==this.item.kind||(e=this.newProfessionalPracticeCount?this.newProfessionalPracticeCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"academic_subject"!==this.item.kind||(e=this.newAcademicSubjectCount?this.newAcademicSubjectCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"nea_today"!==this.item.kind||(e=this.newNEATodayCount?this.newNEATodayCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"theme"!==this.item.kind||(e=this.newThemeCount?this.newThemeCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"reading_level"!==this.item.kind||(e=this.newReadingLevelCount?this.newReadingLevelCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"genre"!==this.item.kind||(e=this.newGenreCount?this.newGenreCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"action_type"!==this.item.kind||(e=this.newActionTypeCount?this.newActionTypeCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"federal_legislation_issue"!==this.item.kind||(e=this.newFederalLegislationIssueCount?this.newFederalLegislationIssueCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"quick_action"!==this.item.kind||(e=this.newQuickActionCount?this.newQuickActionCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"position"!==this.item.kind||(e=this.newPositionCount?this.newPositionCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"chamber"!==this.item.kind||(e=this.newChamberCount?this.newChamberCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"federal_department"!==this.item.kind||(e=this.newFederalDepartmentCount?this.newFederalDepartmentCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"federal_comments_year"!==this.item.kind||(e=this.newFederalCommentsYearCount?this.newFederalCommentsYearCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"congress"!==this.item.kind||(e=this.newCongressCount?this.newCongressCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"event_type"!==this.item.kind||(e=this.newEventTypeCount?this.newEventTypeCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"region"!==this.item.kind||(e=this.newRegionCount?this.newRegionCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"business_item_type"!==this.item.kind||(e=this.newBusinessItemTypeCount?this.newBusinessItemTypeCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"outcome"!==this.item.kind||(e=this.newOutcomeCount?this.newOutcomeCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"strategic_objective"!==this.item.kind||(e=this.newStrategicObjectiveCount?this.newStrategicObjectiveCount[this.item.value]||"0":this.realResultsCount||"0"),this.initial||"nea_today_section"!==this.item.kind||(e=this.newNEATodaySectionCount?this.newNEATodaySectionCount[this.item.value]||"0":this.realResultsCount||"0")," ("+e+")"},disabled:function(){return" (0)"===this.count}},methods:{toggleFilter:function(){this.$store.commit("updateCurrentPage",1);let e=this.activeFilters,t=this.allIssueFilters;if(this.checked){if(e.push(this.item),this.item.parent){let s=e.filter((e=>e.value===this.item.parent.value));if(0===s.length){let s=t[this.item.parent.name];e.push(s)}}}else{if(this.item.children)for(const[s,i]of Object.entries(this.item.children)){let t=e.indexOf(i);t>-1&&e.splice(t,1)}let t=e.indexOf(this.item);e.splice(t,1)}this.$store.commit("updateActiveFilters",e)}}},g=_,f=s(1001),y=(0,f.Z)(g,p,h,!1,null,"20f275c2",null),v=y.exports,w={name:"FilterDropdown",components:{Checkbox:v},props:{title:String,filters:Array}
1,computed:{...(0,m.Se)({openDropdown:"getOpenDropdown"}),isOpen(){return this.openDropdown===this.title},ariaExpanded(){return this.isOpen?"true":"false"}},methods:{toggleOpen(){!1===this.isOpen?this.$store.commit("updateOpenDropdown",this.title):this.$store.commit("updateOpenDropdown",null)},closeDropdown(){!0===this.isOpen&&this.$store.commit("updateOpenDropdown",null)}}},F=w,C=(0,f.Z)(F,d,c,!1,null,null,null),b=C.exports,A=function(){var e=this,t=e._self._c;return t("div",{staticClass:"filters__keyword-wrapper"},[t("label",{staticClass:"visuallyhidden",attrs:{for:"keywordId"}},[e._v(" Search by Keyword ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.search_term,expression:"search_term"}],staticClass:"filters__keyword-input",attrs:{type:"text",placeholder:"Keyword(s)",id:"keywordId"},domProps:{value:e.search_term},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.closeAutoComplete.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:(t.preventDefault(),e.clearKeyword.apply(null,arguments))}],input:function(t){t.target.composing||(e.search_term=t.target.value)}}}),e.showSuggestedResults?t("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeAutoComplete,expression:"closeAutoComplete"}],staticClass:"filters__keyword-autocomplete-results"},[t("h4",[e._v("Suggested Results")]),t("ul",{staticClass:"filters__keyword-autocomplete-results__list"},e._l(e.resultsItems,(function(s,i){return i<=4?t("li",{key:i,staticClass:"filters__keyword-autocomplete-results__list-item",on:{click:function(t){return e.setSearchTerm(s)}}},[e._v(" "+e._s(e._f("strip")(s.path?s.title:decodeURIComponent(s.url.substring(s.url.lastIndexOf("/")+1))))+" ")]):e._e()})),0),t("a",{staticClass:"filters__keyword-autocomplete-results__see-all",attrs:{href:""},on:{click:function(t){return t.preventDefault(),e.closeAutoComplete.apply(null,arguments)}}},[e._v("See All")])]):e._e(),t("button",{staticClass:"filters__keyword-clear",attrs:{"aria-label":"Clear keyword search"},on:{click:e.clearKeyword}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10","aria-hidden":"true"}},[t("path",{attrs:{fill:"currentColor","fill-rule":"evenodd",d:"M115 8.429L113.568 7 110 10.56 106.432 7 105 8.429 108.568 11.988 105.023 15.571 106.455 17 110 13.417 113.568 17 115 15.571 111.432 11.988z",transform:"translate(-105 -7)"}})])])])},T=[],S=s(6174),k=s.n(S),P={name:"Keyword",data(){return{search_term:"",autocompleteOpen:!1,first_search_term:!0}},mounted(){const e=String(window.location.search),t=new URLSearchParams(e);let s=t.has("q")?t.get("q"):"";this.first_search_term&&s!==this.search_term&&(this.search_term=s)},watch:{search_term:k()((function(e){this.hasKeyword&&e!==this.autocompleteTerm&&(this.first_search_term=!1,this.$store.commit("updateAutocompleteTerm",e),""!==e&&e.length>=3&&(this.autocompleteOpen=!0))}),250)},computed:{...(0,m.Se)({searchTerm:"getSearchTerm",autocompleteTerm:"getAutocompleteTerm",resultsItems:"getAutocompleteResultsItems"}),term:{get:function(){return this.autocompleteTerm},set:function(e){this.search_term=e}},showSuggestedResults(){return this.autocompleteOpen&&this.autocompleteTerm.length>=3&&this.resultsItems.length>0},hasKeyword(){return!0}},methods:{clearKeyword(){this.$store.commit("updateAutocompleteTerm",""),this.$store.commit("updateSearchTerm",""),this.search_term=""},closeAutoComplete(){this.autocompleteOpen=!1,this.$store.commit("updateSearchTerm",this.autocompleteTerm)},isLearnuponCourse(e){return e.is_learnupon_course},setSearchTerm(e){this.isLearnuponCourse(e)&&e.link?window.location.assign(e.link):window.location.assign(e.path)}}},N=P,I=(0,f.Z)(N,A,T,!1,null,"39f827e1",null),E=I.exports,j={computed:{hasRegionFilter(){return this.search_settings[this.route].region},isAnEventCalendar(){return this.isRAAgenda||this.isCalendarOfEvents||this.isAffiliateEvents},isOEA(){return"oea"===window.drupalSettings.searchSettings?.SITE_CODE},isRAAgenda(){return"ra_agenda"===this.route},isAffiliateEvents(){return"standard_events"===this.route},isCalendarOfEvents(){return"ra_calendar"===this.route}},methods:{eventTypeFriendly(e){return Array.isArray(e.event_type_friendly)?e.event_type_friendly[
10]:e.event_type_friendly},isEyeOnEquityEvent(e){const t=window.drupalSettings.search.tids.EYE_ON_EQUITY_TID;return this.isOEA&&e.event_type===String(t)}}};const L=window.drupalSettings.searchFilters.article_type,R=window.drupalSettings.searchFilters.resource_type,x=window.drupalSettings.searchFilters.campaign,O=window.drupalSettings.searchFilters.issues,D=window.drupalSettings.searchFilters.professional_practice,B=window.drupalSettings.searchFilters.professional_development_format,q=window.drupalSettings.searchFilters.academic_subject,M=window.drupalSettings.searchFilters.grade_level,z=window.drupalSettings.searchFilters.role,K=window.drupalSettings.searchFilters.year,G=window.drupalSettings.searchFilters.state,J=window.drupalSettings.searchFilters.nea_today,Y=window.drupalSettings.searchSettings,Z=window.drupalSettings.searchFilters.theme,U=window.drupalSettings.searchFilters.reading_level,V=window.drupalSettings.searchFilters.genre,W=window.drupalSettings.searchFilters.action_type,H=window.drupalSettings.searchFilters.congress,Q=window.drupalSettings.searchFilters.position,X=window.drupalSettings.searchFilters.chamber,ee=window.drupalSettings.searchFilters.federal_department,te=window.drupalSettings.searchFilters.federal_comments_year,se=window.drupalSettings.searchFilters.quick_action,ie=window.drupalSettings.searchFilters.federal_legislation_issues,ae=window.drupalSettings.searchFilters.event_type,re=window.drupalSettings.searchFilters.region,le=window.drupalSettings.searchFilters.show_past_events,ne=window.drupalSettings.searchFilters.business_item_type,oe=window.drupalSettings.searchFilters.outcome,ue=window.drupalSettings.searchFilters.strategic_objective,de=window.drupalSettings.searchFilters.nea_today_section,ce=window.drupalSettings.termFilterNames,pe=window.drupalSettings.searchSettings.IS_MAIN_SITE,he=window.drupalSettings.searchSettings.SITE_CODE;var me={mixins:[j],name:"Filters",components:{FilterDropdown:b,Checkbox:v,Keyword:E},created(){this.$store.commit("updateAllIssueFilters",O),"search"===this.route&&(this.type=[{column:"Articles",options:L},{column:"Resources",options:R}]),(this.isResourceLibrary||this.isToolsAndTips||this.isEdJusticeResourceLibrary)&&(this.type=[{column:null,options:R}]),"new_from_nea"===this.route&&(this.type=[{column:null,options:L}]),"edjustice_see_the_latest"===this.route&&(this.type=[{column:null,options:L}])},data(){return{type:[],academic_subject:[{column:null,options:q}],grade_level:[{column:null,options:M}],issue:[{column:null,options:O}],campaign:[{column:null,options:x}],professional_practice:[{column:null,options:D}],format:[{column:null,options:B}],role:[{column:null,options:z}],year:[{column:null,options:K}],state:[{column:null,options:G}],nea_today:J,quick_action:se,search_settings:Y,theme:[{column:null,options:Z}],reading_level:[{column:null,options:U}],genre:[{column:null,options:V}],action_type:[{column:null,options:W}],congress:[{column:null,options:H}],position:[{column:null,options:Q}],chamber:[{column:null,options:X}],federal_department:[{column:null,options:ee}],federal_comments_year:[{column:null,options:te}],federal_legislation_issue:[{column:null,options:ie}],event_type:[{column:null,options:ae}],region:[{column:null,options:re}],show_past_events:le,business_item_type:[{column:null,options:ne}],outcome:[{column:null,options:oe}],strategic_objective:[{column:null,options:ue}],nea_today_section:[{column:null,options:de}],term_filter_names:ce,is_main_site:pe,site_code:he}},computed:{...(0,m.Se)({searchTerm:"getSearchTerm",autocompleteTerm:"getAutocompleteTerm"}),route(){return this.$route.name},academicSubjectFilterTitle(){return this.term_filter_names["academic_subject"]||"Academic Subject"},actionTypeFilterTitle(){return this.term_filter_names["action_type"]||"Action Type"},campaignFilterTitle(){return this.term_filter_names["campaign"]||"Campaign"},chamberFilterTitle(){return this.term_filter_names["chamber"]||"Chamber"},congressFilterTitle(){return this.term_filter_names["congress"]?this.term_filter_names["congress"]:this.is_main_site?"Congress":"Session"},eventTypeFilterTitle(){return this.term_filter_names["event_type"]||"Event Type"},federalDepartmentFilterTitle(){return this.term_filter_names["federal_department"]||"Federal Department"},isFederalEducationFunding(){return"federal_education_funding"===this.route},isFindYourBook(){return"find_your_book"===this.route},isProfessionalDevelopmentResources(){return"professional_learning_resources"===this.route},isToolsAndTips(){return"tools_and_tips"===this.route},isBusinessItems(){return"business_items"===this.route},isFederalComments(){return"federal_comments"===this.route},isResourceLibrary(){return"resource_library"===this.route},isEdJusticeResourceLibrary(){return"edjustice_resource_library"===this.route},isTakeAction(){return"take_action"===this.route},isEdJusticeTakeAction(){return"edjustice_take_action"===this.route}
1,isEdJusticeSeeTheLatest(){return"edjustice_see_the_latest"===this.route},issuesFilterTitle(){return this.term_filter_names["issues"]||"Issues"},hasKeyword(){return!0},hasTypeFilter(){return this.search_settings[this.route].type},hasIssueFilter(){return this.search_settings[this.route].issue},hasStateFilter(){return this.search_settings[this.route].state},hasCampaignFilter(){return this.search_settings[this.route].campaign},hasRoleFilter(){return this.search_settings[this.route].role},hasYearFilter(){return this.search_settings[this.route].year},hasProfessionalPracticeFilter(){return this.search_settings[this.route].professional_practice},hasFromNeaTodayFilter(){return this.search_settings[this.route].from_nea_today},hasFormatFilter(){return this.search_settings[this.route].format},hasAcademicSubjectFilter(){return this.search_settings[this.route].academic_subject},hasGradeLevelFilter(){return this.search_settings[this.route].grade_level},hasActionTypeFilter(){return this.search_settings[this.route].action_type},hasQuickActionFilter(){return this.search_settings[this.route].i_am_in_a_hurry},hasShowPastEventsFilter(){return this.search_settings[this.route].show_past_events},hasCongressFilter(){return this.search_settings[this.route].congress},hasPositionFilter(){return this.search_settings[this.route].position},hasChamberFilter(){return this.search_settings[this.route].chamber},hasFederalDepartmentFilter(){return this.search_settings[this.route].federal_department},hasFederalCommentsYearFilter(){return this.search_settings[this.route].federal_comments_year},hasFederalLegislationIssueFilter(){return this.search_settings[this.route].federal_legislation_issue},hasEventTypeFilter(){return this.search_settings[this.route].event_type},hasBusinessItemTypeFilter(){return this.search_settings[this.route].business_item_type},hasOutcomeFilter(){return this.search_settings[this.route].outcome},hasStrategicObjectiveFilter(){return this.search_settings[this.route].strategic_objective},hasSectionFilter(){return this.search_settings[this.route].nea_today_section},hasAdditionalFilters(){return this.hasStateFilter||this.hasCampaignFilter||this.hasRoleFilter||this.hasYearFilter||this.hasFederalCommentsYearFilter||this.hasProfessionalPracticeFilter&&!this.isFederalEducationFunding||this.hasFromNeaTodayFilter||this.hasAcademicSubjectFilter||this.hasGradeLevelFilter||this.isFindYourBook||this.hasQuickActionFilter||this.hasPositionFilter||this.hasChamberFilter||this.hasShowPastEventsFilter||this.hasStrategicObjectiveFilter},outcomeFilterTitle(){return this.term_filter_names["outcome"]||"Outcome"},positionFilterTitle(){return this.term_filter_names["position"]||"Position"},professionalPracticeFilterTitle(){return this.term_filter_names["professional_practice"]||"Professional Practice"},regionFilterTitle(){return this.term_filter_names["region"]||"Region"},roleFilterTitle(){return this.term_filter_names["role"]||"Role"},strategicObjectiveFilterTitle(){return this.term_filter_names["strategic_objective"]||"Strategic Objective"}},methods:{updateSearchTerm(){this.$store.commit("updateSearchTerm",this.autocompleteTerm)}}},_e=me,ge=(0,f.Z)(_e,o,u,!1,null,null,null),fe=ge.exports,ye=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"container"},[t("div",{staticClass:"results-meta",attrs:{id:"results-meta"}},[t("div",{staticClass:"results-meta__wrapper u-border-color-primary-dark"},[t("div",{staticClass:"results-meta__results-wrapper"},[t("span",{staticClass:"results-meta__results-num u-secondary-dark u-serif u-type-42 u-type-until-bp-small-30",attrs:{"data-id":"results-count"}},[e._v(e._s(e.resultsData.totalCount||0))]),t("div",{staticClass:"results-meta__results-text"},[t("span",{staticClass:"results-meta__results-label"},[e._v("Results "),e.searchTerm||e.activeFilters.length>0?[e._v("for")]:e._e()],2),""!==e.searchTerm?t("span",{staticClass:"results-meta__results-term"}
1,[e._v(" â"+e._s(e.searchTerm)+"â ")]):e._e()])]),t("div",{staticClass:"results-meta__selected-filters"},[t("ul",{staticClass:"results-meta__breadboxes"},e._l(e.activeFilters,(function(e,s){return t("breadbox",{key:s,attrs:{filter:e}})})),1),e.activeFilters.length>0?t("button",{staticClass:"results-meta__clear-filters",on:{click:function(t){return e.removeAllFilters()}}},[e._v(" Clear all filters "),t("span",{staticClass:"visuallyhidden"},[e._v("Remove filter")])]):e._e()])])])]),t("div",{staticClass:"container--large"},[e.showResultsListDisplayOptions?t("ResultsListDisplayOptions"):e._e()],1),e.isAnEventCalendar&&e.calendarView?t("Calendar"):e._e()],1)},ve=[],we=function(){var e=this,t=e._self._c;return t("li",{staticClass:"results-meta__breadbox"},[t("button",{staticClass:"results-meta__breadbox-btn u-bg-primary-medium-dark u-hover-bg-primary-medium-dark-2 u-sans-serif u-type-11",on:{click:function(t){return e.removeFilter()}}},[e._v(" "+e._s(e.filter.name)+" "),t("span",{staticClass:"visuallyhidden"},[e._v("Remove filter")])])])},Fe=[],Ce={name:"Breadbox",props:["filter"],methods:{removeFilter:function(){var e=this.activeFilters;if(this.filter.children)for(const[s,i]of Object.entries(this.filter.children)){let t=e.indexOf(i);t>-1&&e.splice(t,1)}var t=e.indexOf(this.filter);e.splice(t,1),this.$store.commit("updateActiveFilters",e)}},computed:{...(0,m.Se)({activeFilters:"getActiveFilters"})}},be=Ce,Ae=(0,f.Z)(be,we,Fe,!1,null,null,null),Te=Ae.exports,Se=function(){var e=this,t=e._self._c;return t("div",{staticClass:"results-displayas",attrs:{"aria-labelledby":"results-displayas-title"}},[t("div",{staticClass:"results-displayas__inside"},[t("div",{staticClass:"results-displayas__title",attrs:{id:"results-displayas-title"}},[e._v("Display As:")]),t("div",{staticClass:"results-displayas__items"},[t("div",{staticClass:"results-displayas__item"},[t("input",{attrs:{type:"radio",id:"list",name:"displayas",value:"list"},domProps:{checked:!e.calendarView},on:{click:function(t){return e.updateCalendarView(!1)}}}),t("label",{attrs:{for:"list"}},[e._v("List")])]),t("div",{staticClass:"results-displayas__item"},[t("input",{attrs:{type:"radio",id:"calendar",name:"displayas",value:"calendar"},domProps:{checked:e.calendarView},on:{click:function(t){return e.updateCalendarView(!0)}}}),t("label",{attrs:{for:"calendar"}},[e._v("Calendar")])])])])])},ke=[],Pe={name:"ResultsListDisplayOptions",date(){return{}},computed:{...(0,m.Se)({calendarView:"getCalendarView",perPage:"getPerPage",perPageCalendar:"getPerPageCalendar",perPageList:"getPerPageList"})},methods:{updateCalendarView(e){e?(this.$store.commit("updateDatesSet",{}),this.$store.commit("updateCurrentPage",1),this.$store.commit("updatePerPage",this.perPageCalendar)):this.$store.commit("updatePerPage",this.perPageList),this.$store.commit("updateCalendarView",e),this.$parent.$emit("calendarViewChanged")}}},Ne=Pe,Ie=(0,f.Z)(Ne,Se,ke,!1,null,null,null),Ee=Ie.exports,je=function(){var e=this,t=e._self._c;return t("div",{staticClass:"calendar-app container--large"},[t("CalendarTimeZoneSelector",{on:{newTimeZoneSelected:e.handleTimeZone}}),t("FullCalendar",{attrs:{options:e.calendarOptions},scopedSlots:e._u([{key:"eventContent",fn:function(s){return[s.event.extendedProps.isMultiDay||s.event.extendedProps.isTBD||!s.timeText?e._e():t("b",[e._v(" "+e._s(s.timeText)+" ")]),e._v(" "),t("i",[e._v(e._s(s.event.title))])]}}])}),t("CalendarModal",{attrs:{"show-modal":e.showModal,"time-zone":e.timeZone,event:e.currentEvent,"raw-event":e.rawEvent},on:{modalClosed:e.closeModal}})],1)},Le=[],Re=(s(5098),s(2437)),xe=s(8762),Oe=s(647),De=function(){var e=this,t=e._self._c;return t("div",[t("p",[e._v("Cool event here! "+e._s(e.event.event.id))]),e.event.timeText?[t("b",[e._v(e._s(e.event.timeText))])]:e._e(),t("i",[e._v(e._s(e.event.event.title))])],2)},$e=[],Be={name:"CalendarItem",props:{event:{type:Object,required:!0}}},qe=Be,Me=(0,f.Z)(qe,De,$e,!1,null,"011d7d12",null),ze=Me.exports,Ke=function(){var e=this,t=e._self._c;return t("div",{staticClass:"calendar-app__event-modal"},[t("div",{ref:"modalwrapper",staticClass:"calendar-app__modal modal__wrapper",class:{"modal
1-open":e.modalVisible}},[t("div",{ref:"modal",staticClass:"calendar-app__modal-content modal"},[t("article",{staticClass:"results-list__item"},[e.event.extendedProps.image?t("div",{staticClass:"results-list__item-img"},[t("picture",{attrs:{tabindex:"-1"}},[t("source",{attrs:{srcset:"",sizes:"100vw"}}),t("img",{attrs:{src:e.event.extendedProps.image,alt:e.event.extendedProps.image_alt}})])]):e._e(),t("div",{staticClass:"results-list__content"},[e.event.extendedProps.event_type_friendly.length?t("span",{staticClass:"results-list__tophat u-secondary-dark"},[e._v(e._s(e.eventTypeFriendly(e.event.extendedProps)))]):e._e(),t("a",{ref:"eventLink",staticClass:"is-gated js-modal-trigger results-list__title-link",attrs:{href:e.event.extendedProps.path},on:{click:function(t){return t.preventDefault(),e.navigationCheck.apply(null,arguments)},keydown:e.setKeyboardEvent}},[t("h3",{staticClass:"results-list__title u-primary-very-dark u-hover-tertiary-dark u-medium-title u-sans-serif u-sans-serif-title u-type-28 u-type-until-bp-small-24"},[e._v(" "+e._s(e.event.title)+" ")])]),t("div",{staticClass:"results-list__event-meta"},[t("div",{staticClass:"results-list__time"},[e._v(e._s(e.dateTime))]),e.isEyeOnEquityEvent(e.event.extendedProps)?e._e():t("div",{staticClass:"results-list__locations"},[e.event.extendedProps.location_1?t("div",{staticClass:"results-list__locations-1",domProps:{innerHTML:e._s(e.event.extendedProps.location_1)}}):e._e(),e.event.extendedProps.location_2?t("div",{staticClass:"results-list__locations-2 u-before-bg-primary-medium-dark",domProps:{innerHTML:e._s(e.event.extendedProps.location_2)}}):e._e()])]),t("div",{staticClass:"results-list__summary u-sans-serif u-type-16"},[e._v(" "+e._s(e.summary)+" ")])])])]),t("button",{staticClass:"modal__close-btn u-primary-medium-dark u-hover-primary-medium-dark-2",on:{click:e.closeModal}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36","aria-hidden":"true"}},[t("g",{attrs:{fill:"none","fill-rule":"nonzero"}},[t("circle",{attrs:{cx:"18",cy:"18",r:"18",fill:"currentColor"}}),t("path",{attrs:{fill:"#FFFFFF",d:"M19.806 27.414L19.806 19.806 27.414 19.806 27.414 16.194 19.806 16.194 19.806 8.586 16.194 8.586 16.194 16.194 8.586 16.194 8.586 19.806 16.194 19.806 16.194 27.414z",transform:"rotate(45 18 18)"}})])]),e._v("Close ")])]),e.getIsAuthenticated?e._e():t("DelegateModal",{ref:"delegateModal",attrs:{"show-modal":e.showDelegateModal,"has-close-button":!0},on:{closeDelegateModal:e.closeDelegateModal}})],1)},Ge=[],Je=function(){var e=this,t=e._self._c;return e.loaded?t("div",{ref:"modalwrapper",staticClass:"modal__wrapper delegate-modal",class:{"modal-open":e.modalVisible},attrs:{id:e.wrapperId}},[t("div",{ref:"modal",staticClass:"modal"},[t("h2",{staticClass:"modal__title",attrs:{tabindex:"-1"}},[e._v(" Delegate Login ")]),t("div",{staticClass:"modal__body"},[t("div",{staticClass:"body-content__wrapper"},[t("div",{staticClass:"container--narrow"},[t("div",{staticClass:"body-content wysiwyg",attrs:{id:e.bodyContentWrapper},domProps:{innerHTML:e._s(e.modalTextIntro)}})])]),t("form",{staticClass:"delegate-login-form",attrs:{id:"delegate-login-form","aria-live":"polite","aria-busy":e.ariaBusy},on:{submit:function(t){return t.preventDefault(),e.submitForm.apply(null,arguments)}}},[t("div",{staticClass:"delegate-login-form__input form-item"},[t("label",{staticClass:"form-required",attrs:{for:"delegate-login-email"}},[e._v("Email")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],attrs:{type:"email",required:"",name:"delegate-login-email",id:"delegate-login-email"},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),t("div",{staticClass:"form-help"},[e._v("Enter the same email address used for your NEA RA registration on Cvent")])]),t("div",{staticClass:"delegate-login-form__input form-item"},[t("label",{staticClass:"form-required",attrs:{for:e.delegateLoginId}},[e._v("2024 NEA Confirmation Number")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.id,expression:"id"}],attrs:{type:"text",required:"",minlength:"10",name:e.delegateLoginId,id:e.delegateLoginId},domProps:{value:e.id},on:{input:function(t){t.target.composing||(e.id=t.target.value)}}}),t("div",{staticClass:"form-help"},[e._v("Enter the confirmation number you received in your registration confirmation email")])]),t("div",{staticClass:"alerts"},[e.authFailed?t("div",{staticClass:"alert alert--error",attrs:{id:"delegate-login-form-error",role:"alert"}}
1,[e._v(e._s(e.failureMessage))]):e._e(),e.authSucceeded?t("div",{staticClass:"alert alert--success",attrs:{id:"delegate-login-form-success",role:"alert"}},[e._v(e._s(e.successMessage))]):e._e()]),t("div",{staticClass:"delegate-login-form__submit form-item"},[t("input",{staticClass:"btn btn--secondary btn--no-arrow",attrs:{id:"delegate-login-form-submit",type:"submit",value:"submit"}}),t("div",{staticClass:"loading-indicator"},[t("svg",{attrs:{width:"32",height:"32"}},[t("circle",{staticClass:"loading-indicator__forground",attrs:{cx:"50%",cy:"50%",r:"14",fill:"none","stroke-width":"4"}}),t("circle",{staticClass:"loading-indicator__background",attrs:{cx:"50%",cy:"50%",r:"14",fill:"none","stroke-width":"4"}})])])])]),t("div",{staticClass:"delegate-login-modal__footer"},[t("div",{staticClass:"body-content__wrapper"},[t("div",{staticClass:"container--narrow"},[t("div",{staticClass:"body-content wysiwyg",attrs:{id:e.secondBodyContentWrapper,"data-height":""},domProps:{innerHTML:e._s(e.modalTextFooter)}})])])])])]),e.hasCloseButton?t("button",{staticClass:"modal__close-btn u-primary-medium-dark u-hover-primary-medium-dark-2",attrs:{"data-modal":e.wrapperId},on:{click:e.closeModal}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36","aria-hidden":"true"}},[t("g",{attrs:{fill:"none","fill-rule":"nonzero"}},[t("circle",{attrs:{cx:"18",cy:"18",r:"18",fill:"currentColor"}}),t("path",{attrs:{fill:"#FFFFFF",d:"M19.806 27.414L19.806 19.806 27.414 19.806 27.414 16.194 19.806 16.194 19.806 8.586 16.194 8.586 16.194 16.194 8.586 16.194 8.586 19.806 16.194 19.806 16.194 27.414z",transform:"rotate(45 18 18)"}})])]),e._v("Close ")]):e._e()]):e._e()},Ye=[],Ze=s(381),Ue=s.n(Ze),Ve={name:"DelegateModal",props:{hasCloseButton:{type:Boolean,required:!1,default:!1},showModal:{type:Boolean,default:!1}},data(){return{authFailed:!1,authSucceeded:!1,ariaBusy:!1,bodyContentWrapper:"body-content-accordion-1-"+parseInt(1e5*Math.random()),email:null,failureMessage:"",id:null,loaded:!1,modalTextIntro:"",modalTextFooter:"",secondBodyContentWrapper:"body-content-accordion-1-"+parseInt(1e5*Math.random()),successMessage:"",wrapperId:"modal-wrapper-"+parseInt(1e5*Math.random()),modalVisible:this.showModal,event:null}},computed:{...(0,m.Se)({raYear:"getRaYear",getNextUrl:"getNextUrl"}),delegateLoginId(){return"delegate-login-number-".this.raYear}},mounted(){this.axios.get("/api/delegate/login-form-text").then((e=>{this.modalTextIntro=e.data.modalTextIntro,this.modalTextFooter=e.data.modalTextFooter})).catch((e=>{console.log(e.response.data.message)})).finally((()=>{this.loaded=!0})),document.addEventListener("keydown",(e=>{const t=document.querySelector("html");"Escape"==e.code&&t.classList.contains("no-scroll")&&this.closeModal()})),document.addEventListener("click",(e=>{if(e.defaultPrevented)return;const t=document.querySelector("html");e.target.closest(".modal")||!t.classList.contains("no-scroll")||e.target.closest(".fc-event")||e.target.closest("button")||this.closeModal()}))},methods:{closeModal(){this.$emit("closeDelegateModal")},setEvent(e){this.event=e},openModal(){this.event&&(" "!=this.event.key&&"Enter"!=this.event.key||this.$nextTick((()=>{this.forcedFocusable?this.forcedFocusable.classList.add("is-keyboard-focused"):this.firstFocusable.classList.add("is-keyboard-focused")})))},setKeyboardNav(){this.$nextTick((()=>{const e=this.$refs.modal.querySelector("[tabindex='-1']"),t=this.getFocuseableElements(this.$refs.modalwrapper).length,s=this.getFocuseableElements(this.$refs.modal)[0];this.forcedFocusable=e,this.forcedFocusable?.addEventListener("keydown",this.handleFirstElementKeydown),this.firstFocusable=s,this.firstFocusable.addEventListener("keydown",this.handleFirstElementKeydown),this.forcedFocusable?this.forcedFocusable.focus():this.firstFocusable.focus(),this.lastFocusable=this.getFocuseableElements(this.$refs.modalwrapper)[t-1],this.lastFocusable.addEventListener("keydown",this.handleLastElementKeydown)}))},unsetKeyboardNav(){this.forcedFocusable?.removeEventListener("keydown",this.handleFirstElementKeydown),this.firstFocusable.removeEventListener("keydown",this.handleFirstElementKeydown),this.lastFocusable.removeEventListener("keydown",this.handleLastElementKeydown)},handleFirstElementKeydown(e){e.shiftKey&&"Tab"===e.key&&(e.preventDefault(),this.lastFocusable.focus()),this.forcedFocusable?this.forcedFocusable.classList.add("is-keyboard-focused"):this.firstFocusable.classList.add("is-keyboard-focused")},handleLastElementKeydown(e){e.shiftKey||"Tab"!==e.key||(e.preventDefault(),this.firstFocusable.focus())}
1,submitForm(){this.ariaBusy=!0;const e=this.email,t=this.id;this.axios.get("/api/delegate/auth",{params:{email:e,id:t},headers:{"x-token":window.drupalSettings?.ra?.ra_delegate_internal_api_token??null}}).then((e=>{this.authFailed=!1,this.failureMessage="",this.successMessage=e.data.message,this.authSucceeded=!0;const t=this.getNextUrl;t&&this.$store.commit("updateNextUrl",null);setTimeout((()=>{window.location=t||window.location}),1750)})).catch((e=>{this.authFailed=!0,this.failureMessage=e.response.data.message,this.successMessage="",this.authSucceeded=!1,this.ariaBusy=!1}))},getFocuseableElements(e){return e.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')}},watch:{showModal(e){this.modalVisible=e,e?(this.setKeyboardNav(),this.openModal()):this.unsetKeyboardNav()}}},We=Ve,He=(0,f.Z)(We,Je,Ye,!1,null,"740d85d2",null),Qe=He.exports,Xe={name:"CalendarModal",mixins:[j],components:{DelegateModal:Qe},props:{event:{type:Object,required:!0},showModal:{type:Boolean,required:!0},timeZone:{type:String,default:"US/Eastern"},rawEvent:{type:Object,required:!0}},data(){return{showDelegateModal:!1,modalVisible:this.showModal,forcedFocusable:null,firstFocusable:null,lastFocusable:null,delegateEvent:{}}},computed:{...(0,m.Se)({getIsAuthenticated:"getIsAuthenticated"}),summary(){if(this.isEyeOnEquityEvent(this.event.extendedProps))return this.event.extendedProps.summary;let e,t;if(void 0===this.event.extendedProps.start_date_and_time_1){let s=Ue()(this.event.extendedProps.event_conclusion_date_and_time).add(1,"days").format();e=new Date(s),t=new Date}else e=new Date(this.event.extendedProps.event_conclusion_date_and_time),t=new Date;return e>t?this.event.extendedProps.summary:"This event has concluded."},dateTime(){let e="";if(this.hasTime()){if(this.isEyeOnEquityEvent(this.event.extendedProps)){const e=this.hasEndDate()?this.event.extendedProps.end_date_and_time_1:this.event.extendedProps.start_date_and_time_1;return Ue()(String(e.slice(0,10))).format("LL")}if(this.hasEndDate()){const t=this.isSameDay(this.event.extendedProps.start_date_and_time_1,this.event.extendedProps.end_date_and_time_1);e+=t?Ue()(String(this.event.extendedProps.start_date_and_time_1)).tz(this.timeZone).format("LLLL")+" - "+Ue()(String(this.event.extendedProps.end_date_and_time_1)).tz(this.timeZone).format("LT")+" "+Ue().tz(this.timeZone).zoneAbbr():Ue()(String(this.event.extendedProps.start_date_and_time_1)).tz(this.timeZone).format("LLLL")+" - "+Ue()(String(this.event.extendedProps.end_date_and_time_1)).tz(this.timeZone).format("LLLL")+" "+Ue().tz(this.timeZone).zoneAbbr()}else e+=Ue()(String(this.event.extendedProps.start_date_and_time_1)).tz(this.timeZone).format("LLLL")+" "+Ue().tz(this.timeZone).zoneAbbr()}else if(e+=Ue()(String(this.event.extendedProps.start_date_date_only_1.slice(0,10))).format("LL"),this.hasEndDate()){const t=this.isSameDay(this.event.extendedProps.start_date_date_only_1,this.event.extendedProps.end_date_and_time_1);t||(e+=" - "+Ue()(String(this.event.extendedProps.end_date_and_time_1.slice(0,10))).format("LL"))}return e}},mounted(){document.addEventListener("keydown",(e=>{const t=document.querySelector("html");"Escape"==e.code&&t.classList.contains("no-scroll")&&this.closeModal()})),document.addEventListener("click",(e=>{if(e.defaultPrevented)return;const t=document.querySelector("html");e.target.closest(".modal")||!t.classList.contains("no-scroll")||e.target.closest(".fc-event")||e.target.closest("button")||this.closeModal()}))},watch:{showModal(e){this.modalVisible=e,e?(this.setKeyboardNav(),this.openModal()):this.unsetKeyboardNav()}},methods:{closeDelegateModal(){this.showDelegateModal=!1,this.$refs.eventLink.focus()},setKeyboardEvent(e){"Enter"!==e.key&&" "!==e.key||this.$refs.delegateModal.setEvent(e)},navigationCheck(){this.event.extendedProps.is_ra?this.getIsAuthenticated?(this.showDelegateModal=!1,this.$store.commit("updateNextUrl",null),window.location.href=this.event.extendedProps.path):(this.$store.commit("updateNextUrl",this.event.extendedProps.path),this.showDelegateModal=!0):window.location.href=this.event.extendedProps.path},closeModal(){if(this.showDelegateModal)return;const e=this.rawEvent.jsEvent.target.closest("a");this.$emit("modalClosed"),document.querySelector("html").classList.remove("no-scroll"),this.forcedFocusable?.classList.remove("is-keyboard-focused"),this.firstFocusable.classList.remove("is-keyboard-focused"),e.focus()},openModal(){this.rawEvent.jsEvent&&(" "!=this.rawEvent.jsEvent.key&&"Enter"!=this.rawEvent.jsEvent.key||this.$nextTick((()=>{this.forcedFocusable?.classList.add("is-keyboard-focused"),this.firstFocusable.classList.add("is-keyboard-focused")}))),document.querySelector("html").classList.add("no-scroll")},setKeyboardNav(){this.$nextTick((()=>{const e=this.$refs.modal.querySelector("[tabindex='-1']"),t=this.getFocuseableElements(this.$refs.modalwrapper).length,s=this.getFocuseableElements(this.$refs.modal)[0];this.forcedFocusable=e,this.forcedFocusable?.addEventListener("keydown",this.handleFirstElementKeydown),this.firstFocusable=s,this.firstFocusable.addEventListener("keydown",this.handleFirstElementKeydown),this.forcedFocusable?this.forcedFocusable.focus():this.firstFocusable.focus(),this.lastFocusable=this.getFocuseableElements(this.$refs.modalwrapper)[t-1],this.lastFocusable.addEventListener("keydown",this.handleLastElementKeydown)}))},handleFirstElementKeydown(e){e.shiftKey&&"Tab"===e.key&&(e.preventDefault(),this.lastFocusable.focus()),this.forcedFocusable?this.forcedFocusable.classList.add("is-keyboard-focused"):this.firstFocusable.classList.add("is-keyboard-focused")},handleLastElementKeydown(e){e.shiftKey||"Tab"!==e.key||(e.preventDefault(),this.firstFocusable.focus())},unsetKeyboardNav(){this.forcedFocusable?.removeEventListener("keydown",this.handleFirstElementKeydown),this.firstFocusable.removeEventListener("keydown",this.handleFirstElementKeydown),this.lastFocusable.removeEventListener("keydown",this.handleLastElementKeydown)},isSameDay(e,t){return Ue()(String(e)).format("L")===Ue()(String(t)).format("L")},hasTime(){return void 0!==this.event.extendedProps.start_date_and_time_1},hasEndDate(){return void 0!==this.event.extendedProps.end_date_and_time_1},getFocuseableElements(e){return e.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not
1([tabindex="-1"])')}}},et=Xe,tt=(0,f.Z)(et,Ke,Ge,!1,null,"2fbd4d8f",null),st=tt.exports,it=function(){var e=this,t=e._self._c;return t("div",{staticClass:"calendar-app__timezone"},[t("label",{staticClass:"calendar-app__timezone-label",attrs:{for:"calendar-timezone-select"}},[e._v("Time zone:")]),t("div",{staticClass:"calendar-app__timezone-select-wrapper"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedTimeZone,expression:"selectedTimeZone"}],staticClass:"calendar-app__timezone-select",attrs:{id:"calendar-timezone-select"},on:{change:[function(t){var s=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedTimeZone=t.target.multiple?s:s[0]},e.updateTimeZone]}},e._l(e.timeZones,(function(s){return t("option",{staticClass:"calendar-app__timezone-name",domProps:{value:s.value}},[e._v(e._s(s.name))])})),0)])])},at=[];const rt=window.drupalSettings.searchSettings;var lt={name:"CalendarTimeZoneSelector",data:function(){return{timeZones:[{name:Ue().tz("US/Central").zoneAbbr(),value:"US/Central"},{name:Ue().tz("US/Eastern").zoneAbbr(),value:"US/Eastern"},{name:Ue().tz("US/Mountain").zoneAbbr(),value:"US/Mountain"},{name:Ue().tz("US/Pacific").zoneAbbr(),value:"US/Pacific"},{name:Ue().tz("US/Alaska").zoneAbbr()+" (Alaska)",value:"US/Alaska"},{name:Ue().tz("US/Hawaii").zoneAbbr()+" (Hawaii)",value:"US/Hawaii"}],selectedTimeZone:rt[this.$route.name].default_timezone||"US/Mountain"}},methods:{updateTimeZone(){this.$emit("newTimeZoneSelected",this.selectedTimeZone)}}},nt=lt,ot=(0,f.Z)(nt,it,at,!1,null,null,null),ut=ot.exports,dt=s(9343);const ct=window.drupalSettings.searchSettings;var pt={name:"Calendar",mixins:[j],components:{CalendarTimeZoneSelector:ut,CalendarModal:st,CalendarItem:ze,FullCalendar:Re.ZPm},data:function(){return{currentEvent:{},currentEvents:[],showModal:!1,timeZone:ct[this.$route.name].default_timezone||"US/Mountain",rawEvent:{}}},mounted(){},computed:{...(0,m.Se)({resultsItems:"getResultsItems"}),events(){return this.resultsItems.map((e=>({id:e.external_id,title:e.title,start:this.startDateTime(e),allDay:!1,displayEventEnd:!!e.end_date_and_time_1,end:this.endDateTime(e),extendedProps:{event_count:e.event_count,event_type:e.event_type,event_type_friendly:e.event_type_friendly,start_date_and_time_1:e.start_date_and_time_1,start_date_date_only_1:e.start_date_date_only_1,end_date_and_time_1:e.end_date_and_time_1,event_conclusion_date_and_time:e.event_conclusion_date_and_time,image:e.image,image_alt:e.image_alt,is_ra:e.is_ra,location_1:e.location_1,location_2:e.location_2,region:e.region,summary:e.summary,path:e.path,isTBD:this.isTBD(e),isMultiDay:this.isMultiDay(e)}})))},calendarOptions(){return{timeZone:this.timeZone,plugins:[xe.ZP,dt.Z,Oe.ZP],contentHeight:"auto",headerToolbar:{left:"prev,next today",center:"title",right:""},initialView:"dayGridMonth",editable:!1,selectable:!0,selectMirror:!0,dayMaxEvents:3,weekends:!0,select:this.handleDateSelect,eventClick:this.handleEventClick,eventsSet:this.handleEvents,views:{dayGridMonth:{fixedWeekCount:!1}},eventSources:[{events:this.events}],datesSet:this.handleDatesSet}}},methods:{isTBD(e){return void 0===e.start_date_and_time_1},isMultiDay(e){return void 0!==e.end_date_and_time_1&&Ue()(String(e.start_date_and_time_1?e.start_date_and_time_1:e.start_date_date_only_1)).format("L")!==Ue()(String(e.end_date_and_time_1)).format("L")},startDateTime(e){return e.start_date_and_time_1?e.start_date_and_time_1:e.start_date_date_only_1.slice(0,10)},endDateTime(e){return this.isTBD(e)&&e.end_date_and_time_1?Ue()(e.end_date_and_time_1).add(1,"days").format():e.end_date_and_time_1},handleTimeZone(e){this.timeZone=e},handleDateSelect(e){},handleEventClick(e){this.rawEvent=e,this.currentEvent=e.event,this.showModal=!0,document.querySelector(".fc-more-popover").style.display="none"},handleEvents(e){this.currentEvents=e},handleDatesSet(e){},closeModal(){this.showModal=!1}}},ht=pt,mt=(0,f.Z)(ht,je,Le,!1,null,null,null),_t=mt.exports,gt={name:"ResultsMeta",mixins:[j],components:{Breadbox:Te,ResultsListDisplayOptions:Ee,Calendar:_t},data(){return{}},mounted(){this.$store.commit("updateWindowInnerWidth",window.innerWidth),window.addEventListener("resize",this.updateWindowWidth)},computed:{...(0,m.Se)({perPage:"getPerPage",perPageCalendar:"getPerPageCalendar",perPageList:"getPerPageList",searchTerm:"getSearchTerm",resultsData:"getResultsData",activeFilters:"getActiveFilters",calendarView:"getCalendarView",mobileBreakpoint:"getMobileBreakpoint",windowInnerWidth:"getWindowInnerWidth",resetToCalendarView:"getResetToCalendarView"}),route(){return this.$route.name},showResultsListDisplayOptions(){return this.isAnEventCalendar&&this.windowInnerWidth>this.mobileBreakpoint}},methods:{removeAllFilters:function(){this.$store.commit("updateActiveFilters",[])},updateWindowWidth(){this.$store.commit("updateWindowInnerWidth",window.innerWidth),this.windowInnerWidth<=this.mobileBreakpoint&&!0===this.calendarView?(this.$store.commit("updatePerPage",this.perPageList),this.updateCalendarView(!1),this.$store.commit("updateResetToCalendarView",!0)):this.windowInnerWidth>this.mobileBreakpoint&&!0===this.resetToCalendarView&&(this.$store.commit("updatePerPage",this.perPageCalendar),this.updateCalendarView(!0),this.$store.commit("updateResetToCalendarView",!1))},updateCalendarView(e){this.$store.commit("updateCalendarView",e),this.$emit("calendarViewChanged")}}}
1,ft=gt,yt=(0,f.Z)(ft,ye,ve,!1,null,null,null),vt=yt.exports,wt=function(){var e=this,t=e._self._c;return e.isTakeAction||e.isEdJusticeTakeAction?t("section",{staticClass:"results-cardlist container u-white",attrs:{"aria-labelledby":"results-list-id","data-id":"results-list"}},[t("h2",{staticClass:"visuallyhidden",attrs:{id:"results-list-id"}},[e._v(" Result List ")]),t("ul",{staticClass:"results-cardlist__list js-waypoint-80"},e._l(e.resultsItems,(function(e,s){return t("results-list-card-item",{key:s,attrs:{item:e}})})),1)]):e.isBills?t("section",{staticClass:"results-list container--large u-white",attrs:{"aria-labelledby":"results-list-id","data-id":"results-list"}},[t("h2",{staticClass:"visuallyhidden",attrs:{id:"results-list-id"}},[e._v(" Result List ")]),e._l(e.resultsItems,(function(e,s){return t("results-list-bill-item",{key:s,attrs:{item:e}})}))],2):e.isLettersAndTestimony||e.isFederalComments?t("section",{staticClass:"results-list container--large u-white",attrs:{"aria-labelledby":"results-list-id","data-id":"results-list"}},[t("h2",{staticClass:"visuallyhidden",attrs:{id:"results-list-id"}},[e._v(" Result List ")]),e._l(e.resultsItems,(function(e,s){return t("results-list-letter-item",{key:s,attrs:{item:e}})}))],2):e.isAnEventCalendar?t("section",{staticClass:"results-list u-white container--large",attrs:{"aria-labelledby":"results-list-id","data-id":"results-list"}},[t("h2",{staticClass:"visuallyhidden",attrs:{id:"results-list-id"}},[e._v(" Result List ")]),e._l(e.resultsItems,(function(e,s){return t("results-list-event-item",{key:s,attrs:{item:e}})}))],2):e.isBusinessItems?t("section",{staticClass:"results-list u-white container--large",attrs:{"aria-labelledby":"results-list-id","data-id":"results-list"}},[t("h2",{staticClass:"visuallyhidden",attrs:{id:"results-list-id"}},[e._v(" Result List ")]),e._l(e.resultsItems,(function(e,s){return t("results-list-business-item-item",{key:s,attrs:{item:e}})}))],2):t("section",{staticClass:"results-list u-white container--large",attrs:{id:"results-list","aria-labelledby":"results-list-id","data-id":"results-list"}},[t("h2",{staticClass:"visuallyhidden",attrs:{id:"results-list-id"}},[e._v(" Result List ")]),e._l(e.resultsItems,(function(e,s){return t("results-list-item",{key:s,attrs:{item:e}})}))],2)},Ft=[],Ct=function(){var e=this,t=e._self._c;return t("article",{staticClass:"results-list__item",attrs:{"data-id":"results-list-item"}},[e.item.image?t("div",{staticClass:"results-list__item-img"},[t("picture",[t("source",{attrs:{srcset:"",sizes:"100vw"}}),t("img",{attrs:{src:e.image,alt:e.item.image_alt,title:""}})])]):e._e(),t("div",{staticClass:"results-list__content"},["professionalDevelopmentResources"===this.route&&"1"===e.item.top_request?t("div",{staticClass:"top-request__wrapper container--large"},[t("div",{staticClass:"top-request"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[t("path",{attrs:{fill:"currentColor","fill-rule":"evenodd",d:"M24.477 14.016L22.016 9 19.523 14.016 14 14.837 18.008 18.717 17.061 24.238 22.016 21.651 26.939 24.238 26.024 18.717 30 14.837z",transform:"translate(-14 -9)"}})]),t("span",{staticClass:"top-request__text"},[e._v("Top Request")])])]):e._e(),this.isFederalEducationFunding||this.isProfessionalDevelopmentResources||this.isNEATodayNewsAndArticles?e._e():[e.item.article_type_friendly?t("span",{staticClass:"results-list__tophat u-secondary-dark"},[e._v(e._s(e.item.article_type_friendly))]):e._e(),e.item.resource_type_friendly&&!e.isResearchAndReports?t("span",{staticClass:"results-list__tophat u-secondary-dark"},[e._v(e._s(e.item.resource_type_friendly))]):e._e(),e.item.action_type_friendly?t("span",{staticClass:"results-list__tophat u-secondary-dark"},[e._v(e._s(e.item.action_type_friendly))]):e._e(),"writer"===e.item.type?t("span",{staticClass:"results-list__tophat u-secondary-dark"},[e._v("Writer")]):e._e()],this.isNEATodayNewsAndArticles?[e.item.nea_today_section_friendly?t("span",{staticClass:"results-list__tophat u-secondary-dark"}
1,[e._v(e._s(e.item.nea_today_section_friendly))]):e._e()]:e._e(),e.title?t("a",{attrs:{href:e.href,target:e.hasExternalLink?"_blank":null}},[t("h3",{staticClass:"results-list__title u-primary-very-dark u-hover-tertiary-dark u-medium-title u-sans-serif u-sans-serif-title u-type-28 u-type-until-bp-small-24",class:{"has-external-link":e.hasExternalLink}},[e._v(" "+e._s(e._f("strip")(e.title))+" "),e.hasExternalLink?t("span",{staticClass:"results-list__external-link"},[t("svg",{attrs:{width:"15",height:"15",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"m7.94 0 2.605 2.624L5 8.169l1.117 1.117 5.545-5.546 2.624 2.606V0H7.94zm5.4 12.705H1.66V1.58H7.5L5.84 0H1.66A1.64 1.64 0 0 0 .488.465C.163.775 0 1.147 0 1.581v11.124c0 .434.163.806.488 1.116.326.31.716.465 1.172.465h11.68a1.64 1.64 0 0 0 1.172-.465c.325-.31.488-.682.488-1.116V8.724l-1.66-1.581v5.562z",fill:"currentColor","fill-rule":"evenodd"}})])]):e._e()])]):e._e(),e.hasLearnuponCost||e.hasDevelopedBy||e.isMembersOnlyCourse?t("div",{staticClass:"results-list__bowtie-wrapper"},[e.isMembersOnlyCourse?t("div",{staticClass:"results-list__bowtie"},[t("span",{staticClass:"results-list__formembersonly u-primary-dark"},[t("span",[e._v("For Members")]),t("span",{staticClass:"results-list__formembersonly-svg u-secondary-dark"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"11.667",viewBox:"0 0 10 11.667"}},[t("path",{attrs:{fill:"currentColor","fill-rule":"evenodd",d:"M2.65.984C3.306.328 4.089 0 5 0s1.694.328 2.35.984c.656.655.983 1.439.983 2.35V5H10v6.667H0V5h1.667V3.334c0-.911.327-1.695.983-2.35M6.183 2.15c-.310826-.31729-.738924-.49208-1.183-.483-.444076-.00908-.872174.16571-1.183.483-.317914.31089-.493093.73943-.484 1.184V5h3.334V3.334c.009093-.44457-.166086-.87311-.484-1.184"}})])])])]):e._e(),e.hasLearnuponCost?t("div",{staticClass:"results-list__bowtie"},[t("span",{staticClass:"results-list__cost"},[t("span",{staticClass:"results-list__cost-label u-primary-dark"},[e._v("Cost:")]),t("span",{staticClass:"results-list__cost-value"},[e._v(" "+e._s(e.item.lu_pricing)+" ")])])]):e._e(),e.hasDevelopedBy?t("div",{staticClass:"results-list__bowtie"},[t("span",{staticClass:"results-list__developedby"},[e._v("Developed by: ")]),t("span",[e._v(e._s(e.author))])]):e._e()]):e._e(),t("div",{staticClass:"results-list__item-meta"},[e.isProfessionalDevelopmentResources||this.isNEATodayNewsAndArticles||"1"!==e.item.nea_today?e._e():t("span",{staticClass:"results-list__type u-sans-serif u-type-15"},[e._v(e._s(e.newFromNeaTodayFriendly))]),!e.isProfessionalDevelopmentResources&&e.item.campaign_friendly?t("span",{staticClass:"results-list__type u-sans-serif u-type-15"},[e._v(e._s(e.item.campaign_friendly))]):e._e(),!e.isProfessionalDevelopmentResources&&e.author?t("span",{staticClass:"results-list__author u-sans-serif u-type-12"},[e._v("by: "+e._s(e.author))]):e._e(),"writer"===e.item.type&&e.item.writer_job_title?t("span",{staticClass:"results-list__author u-sans-serif u-type-12"},[e._v(e._s(e.item.writer_job_title))]):e._e(),(!e.isProfessionalDevelopmentResources&&e.item.article_type&&"37"!==e.item.article_type||this.isNEATodayNewsAndArticles)&&e.item.publish_date?t("span",{staticClass:"results-list__date u-sans-serif u-type-12"},[e._v(e._s(e._f("date")(e.item.publish_date)))]):e._e()]),e.item.summary?t("div",{staticClass:"results-list__summary u-sans-serif u-type-16"},[e._v(" "+e._s(e._f("strip")(e.item.summary))+" ")]):e._e()],2)])},bt=[];const At=window.drupalSettings.searchFilters.nea_today;var Tt={name:"ResultsListItem",props:["item"],data(){return{nea_today:At}},computed:{hasLearnuponCost(){return!!this.item.lu_pricing},hasDevelopedBy(){return this.isProfessionalDevelopmentResources&&this.item.author},hasExternalLink(){return this.isLearnuponCourse},isFederalEducationFunding(){return"federal_education_funding"===this.route},isLearnuponCourse(){return this.item.is_learnupon_course},isMembersOnlyCourse(){return this.isLearnuponCourse&&"1"===this.item.lu_members_only_course},isProfessionalDevelopmentResources(){return"professional_learning_resources"===this.route},isResearchAndReports(){return"research_and_reports"===this.route},isSchoolMe(){return"school_me"===this.route},isNEATodayNewsAndArticles(){return"nea_today_news_and_articles"===this.route},route(){return this.$route.name},href(){return this.isLearnuponCourse?this.item.link:this.item.path?this.item.path:this.item.url},title(){return this.item.path?this.item.title:decodeURIComponent(this.item.url.substring(this.item.url.lastIndexOf("/")+1))},summary(){return this.item.path?this.item.summary:this.truncateBody(25)},author(){return!!this.item.path&&this.item.author},image(){return this.item.image},newFromNeaTodayFriendly(){return this.nea_today["From NEA Today"].name.replace("From ","")}},methods:{isTruncatable(e,t){return t.split(" ").length>e-1},truncateBody(e){return this.isTruncatable(e,this.item.body)?`${this.item.body.split(" ").slice(0,e-1).join(" ")}...`:this.item.body}}},St=Tt,kt=(0,f.Z)(St,Ct,bt,!1,null,null,null),Pt=kt.exports,Nt=function(){var e=this,t=e._self._c;return t("li",{staticClass:"results-cardlist__list-item",attrs:{"data-id":"results-list-item"}},[t("div",{staticClass:"action-promo-card"},[t("a",{attrs:{href:e.href}},[t("div",{staticClass:"action-promo-card__top"},[e.item.image_640x360?t("img",{staticClass:"ls-is-cached lazyloaded",attrs:{"data-sizes":"(min-width: 601px) 640px, 100vw","data-src":e.item.image_640x360,"data-srcset":e.item.image_640x360+" 640w, "+e.item.image_1120x630+"1120w,",alt:e.item.image_640x360_alt,sizes:"(min-width: 601px) 640px, 100vw",srcset:e.item.image_640x360+" 640w, "+e.item.image_1120x630+" 1120w,",src:e.item.image_640x360}}
1):e._e()]),t("div",{staticClass:"action-promo-card__bottom u-bg-primary-dark-gradient"},[t("h3",{staticClass:"action-promo-card__title u-primary-title u-primary-title u-type-22 u-type-until-bp-small-20"},[e._v(e._s(e._f("strip")(e.title)))]),t("span",{staticClass:"action-promo-card__cta btn btn--secondary btn--small"},[e._v(" "+e._s(e.cta)+" "),t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"8",viewBox:"0 0 16 8"}},[t("path",{attrs:{fill:"currentColor","fill-rule":"nonzero",d:"M75 18L91 22 75 26 77.228 22z",transform:"translate(-75 -18)"}})])])])])])])},It=[],Et={name:"ResultsListCardItem",props:["item"],data(){return{}},computed:{href(){return this.item.path?this.item.path:this.item.url},title(){return this.item.path?this.item.title:decodeURIComponent(this.item.url.substring(this.item.url.lastIndexOf("/")+1))},cta(){return this.item.cta?this.item.cta:"Placeholder CTA"}}},jt=Et,Lt=(0,f.Z)(jt,Nt,It,!1,null,null,null),Rt=Lt.exports,xt=function(){var e=this,t=e._self._c;return t("article",{staticClass:"results-list__item results-list__item--bills",attrs:{"data-id":"results-list-item"}},[t("div",{staticClass:"bill-details",class:this.actionClass},[t("div",{staticClass:"bill-details__position",class:this.positionClass},[t("div",{staticClass:"bill-details__position-text u-primary-title",class:this.positionTypeClass},[e._v(e._s(e.item.position_friendly))])]),t("div",{staticClass:"bill-details__content"},[t("h3",{staticClass:"bill-details__title u-medium-title u-sans-serif u-sans-serif-title u-type-28 u-type-until-bp-small-24"},[t("a",{staticClass:"u-primary-very-dark u-hover-tertiary-dark",attrs:{href:e.href,target:"_blank"}},[e._v(" "+e._s(e.item.title)+" "),t("span",{staticClass:"bill-details__title-suffix"},[t("svg",{attrs:{width:"15",height:"15",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"m7.94 0 2.605 2.624L5 8.169l1.117 1.117 5.545-5.546 2.624 2.606V0H7.94zm5.4 12.705H1.66V1.58H7.5L5.84 0H1.66A1.64 1.64 0 0 0 .488.465C.163.775 0 1.147 0 1.581v11.124c0 .434.163.806.488 1.116.326.31.716.465 1.172.465h11.68a1.64 1.64 0 0 0 1.172-.465c.325-.31.488-.682.488-1.116V8.724l-1.66-1.581v5.562z",fill:"currentColor","fill-rule":"evenodd"}})]),e._v(" "+e._s(e.item.host?e.item.host:"congress.gov")+" ")])])]),t("div",{staticClass:"bill-details__issue-date"},[e.item.issue_explainer_title?t("ul",{staticClass:"bill-details__issues"},[Array.isArray(e.item.issue_explainer_title)?e._l(2,(function(s,i){return t("li",{staticClass:"bill-details__issue"},[t("a",{attrs:{href:e.item.issue_explainer_path[i]}},[e._v(e._s(e.item.issue_explainer_title[i]))])])})):[t("li",{staticClass:"bill-details__issue"},[t("a",{attrs:{href:e.item.issue_explainer_path}},[e._v(e._s(e.item.issue_explainer_title))])])]],2):e._e(),e.item.publish_date?t("p",{staticClass:"bill-details__date u-sans-serif u-type-12 u-before-bg-primary-medium-dark"},[e._v("Introduced on "+e._s(e._f("date")(e.item.publish_date)))]):e._e()]),t("p",{staticClass:"bill-details__description u-sans-serif u-type-16"},[e._v(e._s(e._f("strip")(e.item.summary)))]),e.item.most_recent_letter_title?t("div",{staticClass:"bill-details__related-letter"},[t("p",{staticClass:"bill-details__related-letter-label"},[e._v("Most Recent Letter:")]),t("p",{staticClass:"bill-details__related-letter-link u-type-16"},[t("a",{attrs:{href:e.item.most_recent_letter_path}},[e._v(e._s(e.item.most_recent_letter_title))])])]):e._e()]),e.item.related_action_title?t("div",{staticClass:"bill-details__action"},[t("div",{directives:[{name:"waypoint",rawName:"v-waypoint",value:{active:!0,callback:e.onWaypoint,options:e.intersectionOptions},expression:"{ active: true, callback: onWaypoint, options: intersectionOptions,}"}],staticClass:"bill-details__action-inside",class:e.classes},[t("a",{staticClass:"bill-details__action-inside-link u-bg-primary-dark-gradient",attrs:{href:e.item.related_action_path}},[e.item.related_action_is_donate&&"1"===e.item.related_action_is_donate?t("p",{staticClass:"bill-details__action-tophat u-bg-secondary-dark"},[e._v("Donate")]):t("p",{staticClass:"bill-details__action-tophat u-bg-secondary-dark"},[e._v("Take Action")]),t("h4",{staticClass:"bill-details__action-title u-medium-title u-sans-serif u-sans-serif-title u-type-20 u-type-until-bp-small-18"},[e._v(e._s(e.item.related_action_title))]),t("span",{staticClass:"bill-details__action-cta btn btn--secondary btn--small"},[e._v(" "+e._s(e.item.related_action_cta)+" "),t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"8",viewBox:"0 0 16 8"}}
1,[t("path",{attrs:{fill:"currentColor","fill-rule":"nonzero",d:"M75 18L91 22 75 26 77.228 22z",transform:"translate(-75 -18)"}})])])])])]):e._e()])])},Ot=[],Dt={name:"ResultsListBillItem",props:["item"],data(){return{intersectionOptions:{root:null,rootMargin:"0px 0px 0px 0px",threshold:[.8,.2]},classes:""}},computed:{href(){return this.item.link?this.item.link:this.item.path?this.item.path:this.item.url},title(){return this.item.path?this.item.title:decodeURIComponent(this.item.url.substring(this.item.url.lastIndexOf("/")+1))},summary(){return this.item.path?this.item.summary:this.truncateBody(25)},positionClass(){return"Support"===this.item.position_friendly?"bill-details__position--good u-bg-secondary-light":"Oppose"===this.item.position_friendly?"bill-details__position--bad u-bg-tertiary-very-dark":"bill-details__position--neutral u-bg-primary-light"},positionTypeClass(){return"Support"===this.item.position_friendly||"Oppose"===this.item.position_friendly?"u-type-28":"u-type-20"},actionClass(){return this.item.related_action_title?" bill-details--action":""}},methods:{onWaypoint({going:e}){e===this.$waypointMap.GOING_IN&&(this.classes="is-in")},isTruncatable(e,t){return t.split(" ").length>e-1},truncateBody(e){return this.isTruncatable(e,this.item.body)?`${this.item.body.split(" ").slice(0,e-1).join(" ")}...`:this.item.body}}},$t=Dt,Bt=(0,f.Z)($t,xt,Ot,!1,null,null,null),qt=Bt.exports,Mt=function(){var e=this,t=e._self._c;return t("article",{staticClass:"results-list__item results-list__item--bills",attrs:{"data-id":"results-list-item"}},[t("div",{staticClass:"bill-details bill-details--letter",class:this.actionClass},[e.isFederalComments?t("div",{staticClass:"results-list__item-img"}):t("div",{staticClass:"bill-details__position",class:this.positionClass},[t("div",{staticClass:"bill-details__position-text u-primary-title",class:this.positionTypeClass},[e._v(e._s(e.item.position_friendly))])]),t("div",{staticClass:"bill-details__content"},[e.isFederalComments||!e.item.letter_type_friendly&&!e.item.type_friendly?e._e():t("span",{staticClass:"results-list__tophat u-secondary-dark"},[e._v(e._s(e.item.letter_type_friendly?e.item.letter_type_friendly:e.item.type_friendly))]),t("h3",{staticClass:"bill-details__title u-medium-title u-sans-serif u-sans-serif-title u-type-28 u-type-until-bp-small-24"},[t("a",{staticClass:"u-primary-very-dark u-hover-tertiary-dark",attrs:{href:e.href}},[e._v(" "+e._s(e.item.title)+" ")])]),t("div",{staticClass:"bill-details__issue-date"},[e.item.issue_explainer_title?t("ul",{staticClass:"bill-details__issues"},[Array.isArray(e.item.issue_explainer_title)?e._l(2,(function(s,i){return t("li",{staticClass:"bill-details__issue"},[t("a",{attrs:{href:e.item.issue_explainer_path[i]}},[e._v(e._s(e.item.issue_explainer_title[i]))])])})):[t("li",{staticClass:"bill-details__issue"},[t("a",{attrs:{href:e.item.issue_explainer_path}},[e._v(e._s(e.item.issue_explainer_title))])])]],2):e._e(),e.item.publish_date?t("p",{staticClass:"bill-details__date u-sans-serif u-type-12 u-before-bg-primary-medium-dark"},[e._v("Submitted on "+e._s(e._f("date")(e.item.publish_date)))]):e._e(),e.item.updated_date?t("p",{staticClass:"bill-details__date u-sans-serif u-type-12 u-before-bg-primary-medium-dark"},[e._v(", Updated on "+e._s(e._f("date")(e.item.updated_date)))]):e._e()]),e.item.summary?t("p",{staticClass:"bill-details__description u-sans-serif u-type-16"},[e._v(e._s(e._f("strip")(e.item.summary)))]):e._e()]),e.item.related_action_title?t("div",{staticClass:"bill-details__action"},[t("div",{directives:[{name:"waypoint",rawName:"v-waypoint",value:{active:!0,callback:e.onWaypoint,options:e.intersectionOptions},expression:"{ active: true, callback: onWaypoint, options: intersectionOptions,}"}],staticClass:"bill-details__action-inside",class:e.classes},[t("a",{staticClass:"bill-details__action-inside-link u-bg-primary-dark-gradient",attrs:{href:e.item.related_action_path}},[e.item.related_action_is_donate&&"1"===e.item.related_action_is_donate?t("p",{staticClass:"bill-details__action-tophat u-bg-secondary-dark"},[e._v("Donate")]):t("p",{staticClass:"bill-details__action-tophat u-bg-secondary-dark"},[e._v("Take Action")]),t("h4",{staticClass:"bill-details__action-title u-medium-title u-sans-serif u-sans-serif-title u-type-20 u-type-until-bp-small-18"},[e._v(e._s(e.item.related_action_title))]),t("span",{staticClass:"bill-details__action-cta btn btn--secondary btn--small"},[e._v(" "+e._s(e.item.related_action_cta)+" "),t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"8",viewBox:"0 0 16 8"}}
1,[t("path",{attrs:{fill:"currentColor","fill-rule":"nonzero",d:"M75 18L91 22 75 26 77.228 22z",transform:"translate(-75 -18)"}})])])])])]):e._e()])])},zt=[],Kt={name:"ResultsListLetterItem",props:["item"],data(){return{intersectionOptions:{root:null,rootMargin:"0px 0px 0px 0px",threshold:[.8,.2]},classes:""}},computed:{href(){return this.item.path?this.item.path:this.item.url},title(){return this.item.path?this.item.title:decodeURIComponent(this.item.url.substring(this.item.url.lastIndexOf("/")+1))},summary(){return this.item.path?this.item.summary:this.truncateBody(25)},isFederalComments(){return"federal_comments"===this.route},positionClass(){return"Support"===this.item.position_friendly?"bill-details__position--good u-bg-secondary-light":"Oppose"===this.item.position_friendly?"bill-details__position--bad u-bg-tertiary-very-dark":"bill-details__position--neutral u-bg-primary-light"},positionTypeClass(){return"Support"===this.item.position_friendly||"Oppose"===this.item.position_friendly?"u-type-28":"u-type-20"},route(){return this.$route.name},actionClass(){return this.item.related_action_title?" bill-details--action":""}},methods:{onWaypoint({going:e}){e===this.$waypointMap.GOING_IN&&(this.classes="is-in")},isTruncatable(e,t){return t.split(" ").length>e-1},truncateBody(e){return this.isTruncatable(e,this.item.body)?`${this.item.body.split(" ").slice(0,e-1).join(" ")}...`:this.item.body}}},Gt=Kt,Jt=(0,f.Z)(Gt,Mt,zt,!1,null,null,null),Yt=Jt.exports,Zt=function(){var e=this,t=e._self._c;return t("article",{staticClass:"results-list__item",attrs:{"data-id":"results-list-item"}},[e.item.image?t("div",{staticClass:"results-list__item-img"},[t("picture",[t("source",{attrs:{srcset:"",sizes:"100vw"}}),t("img",{attrs:{src:e.image,alt:e.item.image_alt,title:""}})])]):e._e(),t("div",{staticClass:"results-list__content"},[e.item.event_type_friendly&&e.item.event_type_friendly.length?t("span",{staticClass:"results-list__tophat u-secondary-dark"},[e._v(e._s(e.eventTypeFriendly(e.item)))]):e._e(),e.title?t("a",{attrs:{href:e.href}},[t("h3",{staticClass:"results-list__title u-primary-very-dark u-hover-tertiary-dark u-medium-title u-sans-serif u-sans-serif-title u-type-28 u-type-until-bp-small-24"},[e._v(" "+e._s(e._f("strip")(e.title))+" ")])]):e._e(),t("div",{staticClass:"results-list__event-meta"},[e.item.start_date_and_time_1||e.item.start_date_date_only_1?t("div",{staticClass:"results-list__time"},[e._v(" "+e._s(e.dateTime)+" ")]):e._e(),e.isEyeOnEquityEvent(e.item)?e._e():t("div",{staticClass:"results-list__locations"},[e.item.location_1?t("div",{staticClass:"results-list__locations-1",domProps:{innerHTML:e._s(e.item.location_1)}}):e._e(),e.item.location_2?t("div",{staticClass:"results-list__locations-2 u-before-bg-primary-medium-dark",domProps:{innerHTML:e._s(e.item.location_2)}}):e._e()])]),e.summary?t("div",{staticClass:"results-list__summary u-sans-serif u-type-16"},[e._v(" "+e._s(e._f("strip")(e.summary))+" ")]):e._e()])])},Ut=[],Vt={name:"ResultsListEventItem",mixins:[j],props:["item"],data(){return{timeZone:"US/Eastern",timeZones:{Alaska:"US/Alaska",Central:"US/Central",Eastern:"US/Eastern","Hawaii-Aleutian":"US/Hawaii",Mountain:"US/Mountain","Mountain (AZ)":"US/Arizona",Pacific:"US/Pacific"}}},computed:{href(){return this.item.path?this.item.path:this.item.url},title(){return this.item.title},summary(){if(this.isEyeOnEquityEvent(this.item))return this.item.summary;let e,t;return void 0===this.item.start_date_and_time_1?(e=new Date(Ue()(this.item.event_conclusion_date_and_time).add(1,"days").format()),t=new Date):(e=new Date(this.item.event_conclusion_date_and_time),t=new Date),e>t?this.item.summary:"This event has concluded."},image(){return this.item.image},dateTime(){let e="",t=this.item.time_zone_for_display?this.timeZones[this.item.time_zone_for_display]:this.timeZone;if(this.hasTime()){if(this.isEyeOnEquityEvent(this.item)){const e=this.hasEndDate()?this.item.end_date_and_time_1:this.item.start_date_and_time_1;return Ue()(String(e.slice(0,10))).format("LL")}if(this.hasEndDate()){const s=this.isSameDay(this.item.start_date_and_time_1,this.item.end_date_and_time_1);e+=s?Ue()(String(this.item.start_date_and_time_1)).tz(t).format("LLLL")+" - "+Ue()(String(this.item.end_date_and_time_1)).tz(t).format("LT")+" "+Ue().tz(t).zoneAbbr():Ue()(String(this.item.start_date_and_time_1)).tz(t).format("LLLL")+" - "+Ue()(String(this.item.end_date_and_time_1)).tz(t).format("LLLL")+" "+Ue().tz(t).zoneAbbr()}else e+=Ue()(String(this.item.start_date_and_time_1)).tz(t).format("LLLL")+" "+Ue().tz(t).zoneAbbr()}else if(e+=Ue()(String(this.item.start_date_date_only_1.slice(0,10))).format("LL"),this.hasEndDate()){const t=this.isSameDay(this.item.start_date_date_only_1,this.item.end_date_and_time_1);t||(e+=" - "+Ue()(String(this.item.end_date_and_time_1.slice(0,10))).format("LL"))}return e}},methods:{isSameDay(e,t){return Ue()(String(e)).format("L")===Ue()(String(t)).format("L")},hasTime(){return void 0!==this.item.start_date_and_time_1},hasEndDate(){return void 0!==this.item.end_date_and_time_1}}},Wt=Vt,Ht=(0,f.Z)(Wt,Zt,Ut,!1,null,null,null),Qt=Ht.exports,Xt=function(){var e=this,t=e._self._c;return t("article",{staticClass:"results-list__item results-list__item--business",attrs:{"data-id":"results-list-item"}},[t("div",{staticClass:"business-item"},[t("div",{staticClass:"business-item__outcome-wrapper"},[t("div",{staticClass:"business-item__outcome",class:e.outcomeClass},[e.item.outcome_friendly?t("div",{staticClass:"business-item__outcome-text u-primary-title u-type-16"}
1,[e._v(" "+e._s(e.item.outcome_friendly[0])+" "),t("span",{staticClass:"visuallyhidden"},[e._v("("+e._s(e.item.outcome_category)+")")])]):e._e()])]),t("div",{staticClass:"business-item__content"},[e.item.business_item_type_friendly?t("span",{staticClass:"results-list__tophat u-secondary-dark"},[e._v(e._s(e.item.business_item_type_friendly[0]))]):e._e(),t("h3",{staticClass:"business-item__title u-medium-title u-sans-serif u-sans-serif-title u-type-28 u-type-until-bp-small-24"},[t("a",{staticClass:"u-primary-very-dark u-hover-tertiary-dark",attrs:{href:e.href}},[e._v(" "+e._s(e.item.title)+" ")])]),t("p",{staticClass:"business-item__description u-sans-serif u-type-16",domProps:{innerHTML:e._s(e.proposedAdoptedText)}})])])])},es=[],ts={name:"ResultsListBusinessItemItem",props:["item"],data(){return{}},computed:{href(){return this.item.path},title(){return this.item.title},outcomeClass(){return"Advancing"===this.item.outcome_category?"business-item__outcome--good u-bg-secondary-light":"Awaiting Debate"===this.item.outcome_friendly[0]&&"0"===this.item.print_motion?"business-item__outcome--neutral u-bg-primary-light":"Declined"===this.item.outcome_category?"business-item__outcome--bad u-bg-tertiary-very-dark":"business-item__outcome--neutral u-bg-primary-light"},proposedAdoptedText(){return"Declined"===this.item.outcome_category?"Defeated"===this.item.outcome_friendly[0]?"This "+this.item.business_item_type_friendly[0]+" has been defeated.":"Object to Consideration"===this.item.outcome_friendly[0]?"This "+this.item.business_item_type_friendly[0]+" has been objected to.":"Ruled Out of Order"===this.item.outcome_friendly[0]?"This "+this.item.business_item_type_friendly[0]+" has been ruled out of order.":"Withdrawn"===this.item.outcome_friendly[0]?"This "+this.item.business_item_type_friendly[0]+" has been withdrawn.":"Language forthcoming.":1===this.item.has_consolidated?"Consolidated"===this.item.outcome_friendly[0]?this.truncateText(25,this.item.consolidated_text):this.truncateText(25,this.item.consolidated_text+this.item.proposed_adopted_text):this.truncateText(25,this.item.proposed_adopted_text)}},methods:{isTruncatable(e,t){return t?.split(" ").length>e-1||!1},truncateText(e,t){return this.isTruncatable(e,t)?`${t.split(" ").slice(0,e-1).join(" ")}...`:t}}},ss=ts,is=(0,f.Z)(ss,Xt,es,!1,null,null,null),as=is.exports,rs={name:"ResultsList",mixins:[j],components:{ResultsListBusinessItemItem:as,ResultsListEventItem:Qt,ResultsListLetterItem:Yt,ResultsListBillItem:qt,ResultsListCardItem:Rt,ResultsListItem:Pt},computed:{...(0,m.Se)({showSpinner:"getShowSpinner",locked:"getLocked",resultsItems:"getResultsItems"}),isTakeAction(){return"take_action"===this.route},isBills(){return"bills"===this.route},isFederalComments(){return"federal_comments"===this.route},isLettersAndTestimony(){return"letters_and_testimony"===this.route},isBusinessItems(){return"business_items"===this.route},isEdJusticeTakeAction(){return"edjustice_take_action"===this.route},route(){return this.$route.name}}},ls=rs,ns=(0,f.Z)(ls,wt,Ft,!1,null,null,null),os=ns.exports,us=function(){var e=this,t=e._self._c;return t("nav",{staticClass:"results-pagination container--large",attrs:{"aria-label":"pagination"}},[t("ul",{staticClass:"results-pagination__list",attrs:{"aria-label":"pagination"}},[e.currentPage>1?t("li",{staticClass:"results-pagination__list-item results-pagination__list-item--first",on:{click:function(t){return t.preventDefault(),e.updateCurrentPage(1)}}},[t("a",{attrs:{href:"."}},[e._v("First")])]):e._e(),e.currentPage>1?t("li",{staticClass:"results-pagination__list-item results-pagination__list-item--previous",on:{click:function(t){return t.preventDefault(),e.updateCurrentPage(e.currentPage-1)}}},[t("a",{attrs:{href:"."}},[e._v("Previous")])]):e._e(),e.currentPage-2>0?t("li",{staticClass:"results-pagination__list-item",on:{click:function(t){return t.preventDefault(),e.updateCurrentPage(e.currentPage-2)}}},[t("a",{attrs:{href:"."}},[e._v(e._s(e.currentPage-2))])]):e._e(),e.currentPage-1>0?t("li",{staticClass:"results-pagination__list-item",on:{click:function(t){return t.preventDefault(),e.updateCurrentPage(e.currentPage-1)}}},[t("a",{attrs:{href:"."}}
1,[e._v(e._s(e.currentPage-1))])]):e._e(),t("li",{staticClass:"results-pagination__list-item is-active"},[e._v(e._s(e.currentPage))]),e.currentPage+1<=e.resultsData.totalPages?t("li",{staticClass:"results-pagination__list-item",on:{click:function(t){return t.preventDefault(),e.updateCurrentPage(e.currentPage+1)}}},[t("a",{attrs:{href:"."}},[e._v(e._s(e.currentPage+1))])]):e._e(),e.currentPage+2<=e.resultsData.totalPages?t("li",{staticClass:"results-pagination__list-item",on:{click:function(t){return t.preventDefault(),e.updateCurrentPage(e.currentPage+2)}}},[t("a",{attrs:{href:"."}},[e._v(e._s(e.currentPage+2))])]):e._e(),e.resultsData.totalPages>1&&this.currentPage<e.resultsData.totalPages?t("li",{staticClass:"results-pagination__list-item results-pagination__list-item--next",on:{click:function(t){return t.preventDefault(),e.updateCurrentPage(e.currentPage+1)}}},[t("a",{attrs:{href:"."}},[e._v("Next")])]):e._e(),e.resultsData.totalPages>1&&this.currentPage<e.resultsData.totalPages?t("li",{staticClass:"results-pagination__list-item results-pagination__list-item--last",on:{click:function(t){return t.preventDefault(),e.updateCurrentPage(e.resultsData.totalPages)}}},[t("a",{attrs:{href:"."}},[e._v("Last")])]):e._e()])])},ds=[],cs={name:"ResultsPagination",computed:{...(0,m.Se)({currentPage:"getCurrentPage",resultsData:"getResultsData"})},methods:{updateCurrentPage(e){this.$store.commit("updateCurrentPage",e),this.$emit("update"),this.scrollToTop()},scrollToTop(){document.getElementById("results-meta").scrollIntoView()}}},ps=cs,hs=(0,f.Z)(ps,us,ds,!1,null,null,null),ms=hs.exports;const _s=window.drupalSettings.ra.ra_year,gs=window.drupalSettings.searchFilters.type,fs=window.drupalSettings.searchFilters.article_type,ys=window.drupalSettings.searchFilters.resource_type,vs=window.drupalSettings.searchFilters.campaign,ws=window.drupalSettings.searchFilters.issues,Fs=window.drupalSettings.searchFilters.professional_practice,Cs=window.drupalSettings.searchFilters.academic_subject,bs=window.drupalSettings.searchFilters.grade_level,As=window.drupalSettings.searchFilters.role,Ts=window.drupalSettings.searchFilters.year,Ss=window.drupalSettings.searchFilters.state,ks=window.drupalSettings.searchFilters.nea_today,Ps=window.drupalSettings.searchFilters.professional_development_format,Ns=window.drupalSettings.searchFilters.theme,Is=window.drupalSettings.searchFilters.reading_level,Es=window.drupalSettings.searchFilters.genre,js=window.drupalSettings.searchFilters.action_type,Ls=window.drupalSettings.searchFilters.congress,Rs=window.drupalSettings.searchFilters.position,xs=window.drupalSettings.searchFilters.chamber,Os=window.drupalSettings.searchFilters.federal_department,Ds=window.drupalSettings.searchFilters.federal_comments_year,$s=window.drupalSettings.searchFilters.quick_action,Bs=window.drupalSettings.searchFilters.federal_legislation_issues,qs=window.drupalSettings.searchFilters.nea_today_section,Ms=window.drupalSettings.featuredNodes,zs=window.drupalSettings.searchSettings,Ks=window.drupalSettings.engineKey,{ACTIVITY_TID:Gs,ADVICE_TID:Js,BOOK_RECOMMENDATION_TID:Ys,EDJUSTICE_CAMPAIGN_TID:Zs,EYE_ON_EQUITY_TID:Us,FEDERAL_COMMENT_TID:Vs,FEDERAL_FUNDING_GUIDE_TID:Ws,PODCAST_TID:Hs,PROFESSIONAL_DEVELOPMENT_TID:Qs,REPORT_TID:Xs}=window.drupalSettings.search.tids;var ei={name:"Search",mixins:[j],components:{Filters:fe,ResultsMeta:vt,ResultsList:os,ResultsPagination:ms},watch:{autocompleteTerm:function(){this.hasKeyword&&""!==this.autocompleteTerm&&this.autocompleteTerm.length>=3&&this.autocompleteQuery()},searchTerm:function(){this.$store.commit("updateCurrentPage",1),this.query()},activeFilters:function(){this.query()}},computed:{...(0,m.Se)({searchTerm:"getSearchTerm",autocompleteTerm:"getAutocompleteTerm",currentPage:"getCurrentPage",perPage:"getPerPage",activeFilters:"getActiveFilters",allTypeFilters:"getAllTypeFilters",allGroupOneFilters:"getAllGroupOneFilters",allIssueFilters:"getAllIssueFilters",allRoleFilters:"getAllRoleFilters",allStateFilters:"getAllStateFilters",allCampaignFilters:"getAllCampaignFilters",allArticleTypeFilters:"getAllArticleTypeFilters",allResourceTypeFilters:"getAllResourceTypeFilters",allProfessionalPracticeFilters:"getAllProfessionalPracticeFilters",allFormatFilters:"getAllFormatFilters",allAcademicSubjectFilters:"getAllAcademicSubjectFilters",allGradeLevelFilters:"getAllGradeLevelFilters",allNEATodayFilters:"getAllNEATodayFilters",allThemeFilters:"getAllThemeFilters",allReadingLevelFilters:"getAllReadingLevelFilters",allGenreFilters:"getAllGenreFilters",allActionTypeFilters:"getAllActionTypeFilters",allCongressFilters:"getAllCongressFilters",allPositionFilters:"getAllPositionFilters",allChamberFilters:"getAllChamberFilters",allFederalDepartmentFilters:"getAllFederalDepartmentFilters",allFederalCommentsYearFilters:"getAllFederalCommentsYearFilters",allQuickActionFilters:"getAllQuickActionFilters",allFederalLegislationIssueFilters:"getAllFederalLegislationIssueFilters",allNeaTodaySectionFilters:"getAllNeaTodaySectionFilters",additionalParameters:"getAdditionalParameters",initial:"getInitial",pageIntro:"getPageIntro"}),featuredNodesClass(){return this.isBills?"featured-bills":this.isLettersAndTestimony?"featured-letters":"featured-resources"},featuredNodesTitle(){return this.isBills?"Featured Bills":this.isLettersAndTestimony?"Featured Letters & Testimony":this.isTakeAction||this.isEdJusticeTakeAction?null:this.isResourceLibrary||this.isEdJusticeResourceLibrary?"Featured Resources":this.isProfessionalDevelopmentResources?"Featured Workshops":this.isNewFromNEA||this.isEdJusticeSeeThe
1Latest||this.isNEATodayNewsAndArticles?"Featured Stories":this.isResearchAndReports?"Featured Reports":this.isSchoolMe?"Featured Podcasts":void 0},isSearch(){return"search"===this.route},isFederalEducationFunding(){return"federal_education_funding"===this.route},isFindYourBook(){return"find_your_book"===this.route},isNewFromNEA(){return"new_from_nea"===this.route},isToolsAndTips(){return"tools_and_tips"===this.route},isProfessionalDevelopmentResources(){return"professional_learning_resources"===this.route},isResearchAndReports(){return"research_and_reports"===this.route},isSchoolMe(){return"school_me"===this.route},isResourceLibrary(){return"resource_library"===this.route},isEdJusticeResourceLibrary(){return"edjustice_resource_library"===this.route},isEdJusticeSeeTheLatest(){return"edjustice_see_the_latest"===this.route},isTakeAction(){return"take_action"===this.route},isEdJusticeTakeAction(){return"edjustice_take_action"===this.route},isBills(){return"bills"===this.route},isFederalComments(){return"federal_comments"===this.route},isLettersAndTestimony(){return"letters_and_testimony"===this.route},isNEATodayNewsAndArticles(){return"nea_today_news_and_articles"===this.route},route(){return this.$route.name},title(){return this.search_settings[this.route].title?this.search_settings[this.route]&&this.search_settings[this.route].title?this.search_settings[this.route].title:"":this.pageIntro[this.route]?this.pageIntro[this.route].title:""},summary(){return this.search_settings[this.route].summary?this.search_settings[this.route]&&this.search_settings[this.route].summary?this.search_settings[this.route].summary:"":this.pageIntro[this.route]?this.pageIntro[this.route].summary:""},sortByDate(){return""===this.searchTerm},hasKeyword(){return!0},hasTypeFilter(){return this.search_settings[this.route].type},hasIssueFilter(){return this.search_settings[this.route].issue},hasStateFilter(){return this.search_settings[this.route].state},hasCampaignFilter(){return this.search_settings[this.route].campaign},hasRoleFilter(){return this.search_settings[this.route].role},hasProfessionalPracticeFilter(){return this.search_settings[this.route].professional_practice},hasFromNeaTodayFilter(){return this.search_settings[this.route].from_nea_today},hasFormatFilter(){return this.search_settings[this.route].format},hasAcademicSubjectFilter(){return this.search_settings[this.route].academic_subject},hasGradeLevelFilter(){return this.search_settings[this.route].grade_level},hasActionTypeFilter(){return this.search_settings[this.route].action_type},hasQuickActionFilter(){return this.search_settings[this.route].i_am_in_a_hurry},hasCongressFilter(){return this.search_settings[this.route].congress},hasPositionFilter(){return this.search_settings[this.route].position},hasChamberFilter(){return this.search_settings[this.route].chamber},hasFederalDepartmentFilter(){return this.search_settings[this.route].federal_department},hasFederalLegislationIssueFilter(){return this.search_settings[this.route].federal_legislation_issue},hasYearFilter(){return this.search_settings[this.route].year},hasSectionFilter(){return this.search_settings[this.route].nea_today_section}},methods:{query(){let e,t=this;e=this.isProfessionalDevelopmentResources||this.isFederalEducationFunding?this.packageProfessionalResourceDevelopmentData():this.isFindYourBook?this.packageFindYourBookData():this.isTakeAction||this.isEdJusticeTakeAction?this.packageTakeActionData():this.isBills||this.isLettersAndTestimony?this.packageBillsLettersAndTestimonyData():this.isFederalComments?this.packageFederalCommentsData():this.packageData(),this.sortByDate&&(e.sort_field={page:"publish_date"},e.sort_direction={page:"desc"}),e.filters.page.issue&&(e.filters.page.issue=this.removeParentIssue(e.filters.page.issue)),e=this.removeUnusedFilters(e),this.packageUrl(e),e=this.setDefaultFilterValues(e),this.$store.commit("updateLocked",!0),this.axios.post(this.api,e,this.headers).then((s=>{t.$store.commit("updateLocked",!1);let i={};i.currentCount=s.data.record_count,i.totalCount=s.data.info.page.total_result_count,i.totalPages=s.data.info.page.num_pages,i.currentPage=s.data.info.page.current_page,t.$store.commit("updateResultsData",i),t.$store.commit("updateResultsItems",s.data.records.page),t.$store.commit("updateFullResponse",s),t.$store.commit("updateFacets",s.data.info.page.facets),t.initial&&(e.filters&&e.filters.page&&(this.isProfessionalDevelopmentResources||this.isFederalEducationFunding?(e.filters.page.issue&&t.updateInitialFilters(t.allIssueFilters,e.filters.page.issue),e.filters.page.professional_practice&&t.updateInitialFilters(t.allProfessionalPracticeFilters,e.filters.page.professional_practice),this.isProfessionalDevelopmentResources&&e.filters.page.session_format&&t.updateInitialFilters(t.allFormatFilters,e.filters.page.session_format)):this.isFindYourBook?(e.filters.page.theme&&t.updateInitialFilters(t.allThemeFilters,e.filters.page.theme),e.filters.page.reading_level&&t.updateInitialFilters(t.allReadingLevelFilters,e.filters.page.reading_level),e.filters.page.genre&&t.updateInitialFilters(t.allGenreFilters,e.filters.page.genre)):this.isTakeAction||this.isEdJusticeTakeAction?(e.filters.page.issue&&t.updateInitialFilters(t.allIssueFilters,e.filters.page.issue),e.filters.page.action_type&&t.updateInitialFilters(t.allActionTypeFilters,e.filters.page.action_type),e.filters.page.quick_action&&t.updateInitialFilters(t.allQuickActionFilters,e.filters.page.quick_action)):this.isBills||this.isLettersAndTestimony?(e.filters.page.federal_legislation_issue&&t.updateInitialFilters(t.allFederalLegislationIssueFilters,e.filters.page.federal_legislation_issue),e.filters.page.congress&&t.updateInitialFilters(t.allCongressFilters,e.filters.page.congress),e.filters.page.position&&t.updateInitialFilters(t.allPositionFilters,e.filters.page.position),e.filters.page.chamber&&t.updateInitialFilters(t.allChamberFilters,e.filters.page.chamber)):this.isFederalComments?(e.filters.page.federal_legislation_issue&&t.updateInitialFilters(t.allFederalLegislationIssueFilters,e.filters.page.federal_legislation_issue),e.filters.page.federal_department&&t.updateInitialFilters(t.allFederalDepartmentFilters,e.filters.page.federal_department),e.filters.page.federal_comments_year&&t.updateInitialFilters(t.allFederalCommentsYearFilters,e.filters.page.federal_comments_year)):this.isEdJusticeResourceLibrary?(e.filters.page.group_one&&t.updateInitialFilters(t.allGroupOneFilters,e.filters.page.group_one),e.filters.page.issue&&t.updateInitialFilters(t.allIssueFilters,e.filters.page.issue)):this.isEdJusticeSeeThe
1Latest?(e.filters.page.group_one&&t.updateInitialFilters(t.allGroupOneFilters,e.filters.page.group_one),e.filters.page.issue&&t.updateInitialFilters(t.allIssueFilters,e.filters.page.issue),e.filters.page.state&&t.updateInitialFilters(t.allStateFilters,e.filters.page.state),e.filters.page.role&&t.updateInitialFilters(t.allRoleFilters,e.filters.page.role)):(e.filters.page.issue&&t.updateInitialFilters(t.allIssueFilters,e.filters.page.issue),e.filters.page.nea_today_section&&t.updateInitialFilters(t.allNeaTodaySectionFilters,e.filters.page.nea_today_section),e.filters.page.state&&t.updateInitialFilters(t.allStateFilters,e.filters.page.state),e.filters.page.campaign&&t.updateInitialFilters(t.allCampaignFilters,e.filters.page.campaign),e.filters.page.academic_subject&&t.updateInitialFilters(t.allAcademicSubjectFilters,e.filters.page.academic_subject),e.filters.page.grade_level&&t.updateInitialFilters(t.allGradeLevelFilters,e.filters.page.grade_level),e.filters.page.group_one&&t.updateInitialFilters(t.allGroupOneFilters,e.filters.page.group_one),e.filters.page.role&&t.updateInitialFilters(t.allRoleFilters,e.filters.page.role),e.filters.page.year&&t.updateInitialFilters(t.allYearFilters,e.filters.page.year),e.filters.page.professional_practice&&t.updateInitialFilters(t.allProfessionalPracticeFilters,e.filters.page.professional_practice),e.filters.page.nea_today&&t.updateInitialFilters(t.allNEATodayFilters,e.filters.page.nea_today))),t.$store.commit("updateInitial",!1)),t.newFacetCounts(e,s)})).catch((function(e){}))},autocompleteQuery(){let e,t=this;e=this.isProfessionalDevelopmentResources||this.isFederalEducationFunding?this.packageProfessionalResourceDevelopmentData():this.isFindYourBook?this.packageFindYourBookData():this.isTakeAction?this.packageTakeActionData():this.isBills||this.isLettersAndTestimony?this.packageBillsLettersAndTestimonyData():this.packageData(),e.filters.page.issue&&(e.filters.page.issue=this.removeParentIssue(e.filters.page.issue)),e=this.removeUnusedFilters(e),e=this.setDefaultFilterValues(e),e.q=this.autocompleteTerm,e.per_page="5",e.page="1",this.axios.post(this.api,e,this.headers).then((function(e){let s={};s.currentCount=e.data.record_count,s.totalCount=e.data.info.page.total_result_count,s.totalPages=e.data.info.page.num_pages,s.currentPage=e.data.info.page.current_page,t.$store.commit("updateAutocompleteResultsData",s),t.$store.commit("updateAutocompleteResultsItems",e.data.records.page)})).catch((function(e){}))},newFacetCounts:function(e,t){let s=this;if(e&&e.filters&&e.filters.page)if(this.isProfessionalDevelopmentResources||this.isFederalEducationFunding){if(s.$store.commit("updateNewIssueCount",t.data.info.page.facets.issue),s.$store.commit("updateNewProfessionalPracticeCount",t.data.info.page.facets.professional_practice),s.$store.commit("updateNewFormatCount",t.data.info.page.facets.session_format),e.filters.page.issue&&e.filters.page.issue.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.issue,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewIssueCount",e.data.info.page.facets.issue)}))}if(e.filters.page.professional_practice&&e.filters.page.professional_practice.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.professional_practice,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewProfessionalPracticeCount",e.data.info.page.facets.professional_practice)}))}if(e.filters.page.session_format&&e.filters.page.session_format.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.session_format,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewFormatCount",e.data.info.page.facets.session_format)}))}}else if(this.isFindYourBook){if(s.$store.commit("updateNewThemeCount",t.data.info.page.facets.theme),s.$store.commit("updateNewReadingLevelCount",t.data.info.page.facets.reading_level),s.$store.commit("updateNewGenreCount",t.data.info.page.facets.genre),e.filters.page.theme&&e.filters.page.theme.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.theme,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewThemeCount",e.data.info.page.facets.theme)}))}if(e.filters.page.reading_level&&e.filters.page.reading_level.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.reading_level,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewReadingLevelCount",e.data.info.page.facets.reading_level)}))}if(e.filters.page.genre&&e.filters.page.genre.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.genre,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewGenreCount",e.data.info.page.facets.genre)}))}}else if(this.isTakeAction||this.isEdJusticeTakeAction){if(s.$store.commit("updateNewIssueCount",t.data.info.page.facets.issue),s.$store.commit("updateNewActionTypeCount",t.data.info.page.facets.action_type),s.$store.commit("updateNewQuickActionCount",t.data.info.page.facets.quick_action),e.filters.page.issue&&e.filters.page.issue.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.issue,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewIssueCount",e.data.info.page.facets.issue)}))}if(e.filters.page.action_type&&e.filters.page.action_type.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.action_type,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewActionTypeCount",e.data.info.page.facets.action_type)}))}if(e.filters.page.quick_action&&e.filters.page.quick_action.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.quick_action,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewQuickActionCount",e.data.info.page.facets.quick_action)}))}}else if(this.isBills||this.isLettersAndTestimony){if(s.$store.commit("updateNewFederalLegislationIssueC
1ount",t.data.info.page.facets.federal_legislation_issue),s.$store.commit("updateNewCongressCount",t.data.info.page.facets.congress),s.$store.commit("updateNewPositionCount",t.data.info.page.facets.position),s.$store.commit("updateNewChamberCount",t.data.info.page.facets.chamber),e.filters.page.federal_legislation_issue&&e.filters.page.federal_legislation_issue.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.federal_legislation_issue,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewFederalLegislationIssueCount",e.data.info.page.facets.federal_legislation_issue)}))}if(e.filters.page.congress&&e.filters.page.congress.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.congress,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewCongressCount",e.data.info.page.facets.congress)}))}if(e.filters.page.position&&e.filters.page.position.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.position,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewPositionCount",e.data.info.page.facets.position)}))}if(e.filters.page.chamber&&e.filters.page.chamber.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.chamber,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewChamberCount",e.data.info.page.facets.chamber)}))}}else if(this.isFederalComments){const i=[{filterName:"federal_legislation_issue",updateMethod:"updateNewFederalLegislationIssueCount"},{filterName:"federal_department",updateMethod:"updateNewFederalDepartmentCount"},{filterName:"federal_comments_year",updateMethod:"updateNewFederalCommentsYearCount"}];i.forEach((i=>{if(s.$store.commit(i.updateMethod,t.data.info.page.facets[i.filterName]),e?.filters?.page[i.filterName]?.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page[i.filterName],this.axios.post(this.api,t,this.headers).then((e=>{e?.data?.info?.page?.facets&&s.$store.commit(i.updateMethod,e.data.info.page.facets[i.filterName])})).catch((e=>{console.log(e)}))}}))}else{if(s.$store.commit("updateNewGroupOneCount",t.data.info.page.facets.group_one),s.$store.commit("updateNewProfessionalPracticeCount",t.data.info.page.facets.professional_practice),s.$store.commit("updateNewRoleCount",t.data.info.page.facets.role),s.$store.commit("updateNewYearCount",t.data.info.page.facets.year),s.$store.commit("updateNewNEATodayCount",t.data.info.page.facets.nea_today),s.$store.commit("updateNewNEATodaySectionCount",t.data.info.page.facets.nea_today_section),s.$store.commit("updateNewIssueCount",t.data.info.page.facets.issue),s.$store.commit("updateNewStateCount",t.data.info.page.facets.state),s.$store.commit("updateNewCampaignCount",t.data.info.page.facets.campaign),s.$store.commit("updateNewAcademicSubjectCount",t.data.info.page.facets.academic_subject),s.$store.commit("updateNewGradeLevelCount",t.data.info.page.facets.grade_level),e.filters.page.group_one&&e.filters.page.group_one.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.group_one,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewGroupOneCount",e.data.info.page.facets.group_one)}))}if(e.filters.page.issue&&e.filters.page.issue.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.issue,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewIssueCount",e.data.info.page.facets.issue)}))}if(e.filters.page.state&&e.filters.page.state.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.state,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewStateCount",e.data.info.page.facets.state)}))}if(e.filters.page.nea_today_section&&e.filters.page.nea_today_section.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.nea_today_section,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewNeaTodaySectionCount",e.data.info.page.facets.nea_today_section)}))}if(e.filters.page.campaign&&e.filters.page.campaign.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.campaign,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewCampaignCount",e.data.info.page.facets.campaign)}))}if(e.filters.page.academic_subject&&e.filters.page.academic_subject.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.academic_subject,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewAcademicSubjectCount",e.data.info.page.facets.academic_subject)}))}if(e.filters.page.grade_level&&e.filters.page.grade_level.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.grade_level,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewGradeLevelCount",e.data.info.page.facets.grade_level)}))}if(e.filters.page.professional_practice&&e.filters.page.professional_practice.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.professional_practice,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewProfessionalPracticeCount",e.data.info.page.facets.professional_practice)}))}if(e.filters.page.role&&e.filters.page.role.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.role,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewRoleCount",e.data.info.page.facets.role)}))}if(e.filters.page.year&&e.filters.page.year.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.year,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewYearCount",e.data.info.page.facets.year)}))}if(e.filters.page.nea_today&&e.filters.page.nea_today.length>0){let t=JSON.parse(JSON.stringify(e));delete t.filters.page.nea_today,this.axios.post(this.api,t,this.headers).then((function(e){e&&e.data&&e.data.info&&e.data.info.page&&e.data.info.page.facets&&s.$store.commit("updateNewNEATodayCount",e.data.info.page.facets.nea_today)}))}}},getActiveFiltersByKind(e){let t=this.activeFilters.filter((t=>t.kind===e)),s=t.map((e=>e.value));return s.length>0?s:[]},packageUrl(e){let t=this.$route.path+"?";if(this.initial){const e=String(window.location.search),t=new URLSearchParams(e);
1this.additionalParameters.forEach((e=>{t.has(e)&&(this.additional_parameters_string+=t.get(e)?e+"="+t.get(e)+"&":"")}))}e.q&&""!==e.q&&(t+="q=",t+=e.q,t+="&"),e.filters&&e.filters.page&&e.filters.page&&Object.keys(e.filters.page).length>0&&Object.keys(e.filters.page).forEach((s=>{if(e.filters.page[s]&&e.filters.page[s].values&&e.filters.page[s].values.length>0){let i={};Object.keys(e.filters.page[s]).forEach((t=>{let a=this.getParameter(s,e.filters.page[s][t]),r="nea_today"===e.filters.page[s][t]||"quick_action"===e.filters.page[s][t]?"1":e.filters.page[s][t];void 0===i[a]&&(i[a]=[]),i[a].push(r)})),Object.keys(i).forEach((e=>{t+=e,t+="=",t+=i[e].toString(),t+="&"}))}else if(e.filters.page[s]&&e.filters.page[s].length>0){let i={};Object.keys(e.filters.page[s]).forEach((t=>{let a=this.getParameter(s,e.filters.page[s][t]),r="nea_today"===e.filters.page[s][t]||"quick_action"===e.filters.page[s][t]?"1":e.filters.page[s][t];void 0===i[a]&&(i[a]=[]),i[a].push(r)})),Object.keys(i).forEach((e=>{t+=e,t+="=",t+=i[e].toString(),t+="&"}))}})),t+=this.additional_parameters_string,history.replaceState({},this.$route.path,t)},removeUnusedFilters(e){return this.isProfessionalDevelopmentResources||this.isFederalEducationFunding?(e.filters&&e.filters.page&&0===e.filters.page.group_one.length&&delete e.filters.page.group_one,e.filters&&e.filters.page&&e.filters.page.professional_practice&&0===e.filters.page.professional_practice.length&&delete e.filters.page.professional_practice,e.filters&&e.filters.page&&e.filters.page.academic_subject&&0===e.filters.page.academic_subject.length&&delete e.filters.page.academic_subject,e.filters&&e.filters.page&&e.filters.page.session_format&&0===e.filters.page.session_format.length&&delete e.filters.page.session_format,e.filters&&e.filters.page&&e.filters.page.issue&&0===e.filters.page.issue.length&&delete e.filters.page.issue,e.filters&&e.filters.page&&e.filters.page.type&&0===e.filters.page.type.length&&delete e.filters.page.type):this.isFindYourBook?(e.filters&&e.filters.page&&e.filters.page.genre&&0===e.filters.page.genre.length&&delete e.filters.page.genre,e.filters&&e.filters.page&&e.filters.page.group_one&&0===e.filters.page.group_one.length&&delete e.filters.page.group_one,e.filters&&e.filters.page&&e.filters.page.reading_leve&&0===e.filters.page.reading_level.length&&delete e.filters.page.reading_level,e.filters&&e.filters.page&&e.filters.page.theme&&0===e.filters.page.theme.length&&delete e.filters.page.theme,e.filters&&e.filters.page&&e.filters.page.type&&0===e.filters.page.type.length&&delete e.filters.page.type,e.filters&&e.filters.page&&0===Object.keys(e.filters.page).length&&delete e.filters.page,e.filters&&0===Object.keys(e.filters).length&&delete e.filters):this.isTakeAction||this.isEdJusticeTakeAction?(e.filters&&e.filters.page&&e.filters.page.issue&&0===e.filters.page.issue.length&&delete e.filters.page.issue,e.filters&&e.filters.page&&e.filters.page.action_type&&0===e.filters.page.action_type.length&&delete e.filters.page.action_type,e.filters&&e.filters.page&&e.filters.page.quick_action&&0===e.filters.page.quick_action.length&&delete e.filters.page.quick_action,e.filters&&e.filters.page&&e.filters.page.type&&0===e.filters.page.type.length&&delete e.filters.page.type):this.isBills||this.isLettersAndTestimony?(e.filters&&e.filters.page&&e.filters.page.federal_legislation_issue&&0===e.filters.page.federal_legislation_issue.length&&delete e.filters.page.federal_legislation_issue,e.filters&&e.filters.page&&e.filters.page.congress&&0===e.filters.page.congress.length&&delete e.filters.page.congress,e.filters&&e.filters.page&&e.filters.page.position&&0===e.filters.page.position.length&&delete e.filters.page.position,e.filters&&e.filters.page&&e.filters.page.chamber&&0===e.filters.page.chamber.length&&delete e.filters.page.chamber,e.filters&&e.filters.page&&e.filters.page.type&&0===e.filters.page.type.length&&delete e.filters.page.type):this.isFederalComments?(0===e?.filters?.page?.federal_legislation_issue?.length&&delete e.filters.page.federal_legislation_issue,0===e?.filters?.page?.federal_department?.length&&delete e.filters.page.federal_department,0===e?.filters?.page?.federal_comments_year?.length&&delete e.filters.page.federal_comments_year,0===e?.filters?.page?.type?.length&&delete e.filters.page.type):(e.filters&&e.filters.page&&0===e.filters.page.group_one.length&&delete e.filters.page.group_one,e.filters&&e.filters.page&&e.filters.page.professional_practice&&0===e.filters.page.professional_practice.length&&delete e.filters.page.professional_practice,e.filters&&e.filters.page&&e.filters.page.role&&0===e.filters.page.role.length&&delete e.filters.page.role,e.filters&&e.filters.page&&e.filters.page.year&&0===e.filters.page.year.length&&delete e.filters.page.year,e.filters&&e.filters.page&&e.filters.page.nea_today&&0===e.filters.page.nea_today.length&&delete e.filters.page.nea_today,e.filters&&e.filters.page&&e.filters.page.nea_today_section&&0===e.filters.page.nea_today_section.length&&delete e.filters.page.nea_today_section,e.filters&&e.filters.page&&0===e.filters.page.campaign.length&&delete e.filters.page.campaign,e.filters&&e.filters.page&&0===e.filters.page.academic_subject.length&&delete e.filters.page.academic_subject,e.filters&&e.filters.page&&0===e.filters.page.grade_level.length&&delete e.filters.page.grade_level,e.filters&&e.filters.page&&0===e.filters.page.state.length&&delete e.filters.page.state,e.filters&&e.filters.page&&e.filters.page.issue&&0===e.filters.page.issue.length&&delete e.filters.page.issue,e.filters&&e.filters.page&&e.filters.page.type&&0===e.filters.page.type.length&&delete e.filters.page.type),e},setDefaultFilterValues(e){return this.isResourceLibrary&&(e.filters.page.type=["report","resource","issue_explainer","toolkit","nea_today_issue"],this.isOEA&&(e.filters.page.event_type=[`!${Us}`])),this.isEdJusticeResourceLibrary&&(e.filters.page.type=["report","resource","issue_explainer","toolkit"],e.filters.page.campaign=[`${Zs}
1`]),this.isEdJusticeSeeTheLatest&&(e.filters.page.type=["article","longform"],e.filters.page.campaign=[`${Zs}`]),this.isProfessionalDevelopmentResources&&(e.filters.page.type="resource",Qs&&(e.filters.page.group_one=`${Qs}`)),this.isFindYourBook&&(e.filters.page.type="resource",Ys&&(e.filters.page.group_one=`${Ys}`)),this.isNewFromNEA&&(e.filters.page.type=["article","longform"]),this.isNEATodayNewsAndArticles&&(e.filters.page.type=["article","longform"],e.filters.page.nea_today=["1"]),this.isToolsAndTips&&(e.filters.page.type="resource",e.filters.page.resource_type=[`${Gs}`,`${Js}`,`${Hs}`],Ys&&e.filters.page.resource_type.push(`${Ys}`)),this.isFederalEducationFunding&&(e.filters.page.type="resource",Ws&&(e.filters.page.group_one=`${Ws}`)),this.isSearch&&(e.filters.page.type=["!bill","!letter","!business_item"]),this.isTakeAction&&(e.filters.page.type="action"),this.isEdJusticeTakeAction&&(e.filters.page.type="action",e.filters.page.campaign=[`${Zs}`]),this.isBills&&(e.filters.page.type="bill"),this.isLettersAndTestimony&&(e.filters.page.type="letter",e.filters.page.letter_type=[`!${Vs}`]),this.isFederalComments&&(e.filters.page.type=["letter"],e.filters.page.letter_type=[`${Vs}`]),this.isResearchAndReports&&(e.filters.page.type=["report","resource"],e.filters.page.resource_type=[`${Xs}`]),this.isSchoolMe&&(e.filters.page.type=["resource"],e.filters.page.resource_type=[`${Hs}`]),e.filters.page.is_ra_event_resource=["!1"],e},updateInitialFilters(e,t){e&&t&&t.forEach((t=>{for(const[s,i]of Object.entries(e)){if(i.value===t){let e=this.activeFilters;e.push(i),this.$store.commit("updateActiveFilters",e)}if(i.children)for(const[e,s]of Object.entries(i.children))if(s.value===t){let e=this.activeFilters;e.push(s),e.push(i),this.$store.commit("updateActiveFilters",e)}}}))},removeParentIssue(e){for(const[t,s]of Object.entries(this.allIssueFilters))if(s.children&&e.includes(s.value))for(const[i,a]of Object.entries(s.children))if(s.children&&e.includes(a.value)){let t=e.indexOf(s.value);-1!==t&&e.splice(t,1)}return e},packageData(){const e=String(window.location.search),t=new URLSearchParams(e);let s;if(this.initial){let e=t.has("q")?t.get("q"):"";e!==this.searchTerm&&(this.$store.commit("updateSearchTerm",e),this.$store.commit("updateAutocompleteTerm",e));let i=t.has("article_type")?t.get("article_type").split(","):[],a=t.has("resource_type")?t.get("resource_type").split(","):[],r=[...i,...a];s={q:this.hasKeyword&&t.has("q")?t.get("q"):"",per_page:this.perPage,facets:{page:["type","issue","state","campaign","academic_subject","grade_level","group_one","professional_practice","role","year","nea_today","nea_today_section"]},page:this.currentPage,filters:{page:{type:[],issue:this.hasIssueFilter&&t.has("issue")?t.get("issue").split(","):[],state:this.hasStateFilter&&t.has("state")?t.get("state").split(","):[],campaign:this.hasCampaignFilter&&t.has("campaign")?t.get("
1campaign").split(","):[],academic_subject:this.hasAcademicSubjectFilter&&t.has("academic_subject")?t.get("academic_subject").split(","):[],grade_level:this.hasGradeLevelFilter&&t.has("grade_level")?t.get("grade_level").split(","):[],group_one:this.hasTypeFilter?r:[],professional_practice:this.hasProfessionalPracticeFilter&&t.has("professional_practice")?t.get("professional_practice").split(","):[],role:this.hasRoleFilter&&t.has("role")?t.get("role").split(","):[],year:this.hasYearFilter&&t.has("year")?t.get("year").split(","):[],nea_today:this.hasFromNeaTodayFilter&&t.has("nea_today")?t.get("nea_today").split(","):[],nea_today_section:this.hasSectionFilter&&t.has("nea_today_section")?t.get("nea_today_section").split(","):[]}}}}else s={q:this.hasKeyword?this.searchTerm:"",per_page:this.perPage,facets:{page:["type","issue","state","campaign","academic_subject","grade_level","group_one","professional_practice","role","year","nea_today","nea_today_section"]},page:this.currentPage,filters:{page:{type:[],issue:this.hasIssueFilter?this.getActiveFiltersByKind("issue"):[],state:this.hasStateFilter?this.getActiveFiltersByKind("state"):[],campaign:this.hasCampaignFilter?this.getActiveFiltersByKind("campaign"):[],academic_subject:this.hasAcademicSubjectFilter?this.getActiveFiltersByKind("academic_subject"):[],grade_level:this.hasGradeLevelFilter?this.getActiveFiltersByKind("grade_level"):[],group_one:this.hasTypeFilter?this.getActiveFiltersByKind("group_one"):[],professional_practice:this.hasProfessionalPracticeFilter?this.getActiveFiltersByKind("professional_practice"):[],role:this.hasRoleFilter?this.getActiveFiltersByKind("role"):[],year:this.hasYearFilter?this.getActiveFiltersByKind("year"):[],nea_today:this.hasFromNeaTodayFilter?this.getActiveFiltersByKind("nea_today"):[],nea_today_section:this.hasSectionFilter?this.getActiveFiltersByKind("nea_today_section"):[]}}};return s},packageProfessionalResourceDevelopmentData(){const e=String(window.location.search),t=new URLSearchParams(e);let s;if(this.initial){let e=t.has("q")?t.get("q"):"";e!==this.searchTerm&&(this.$store.commit("updateSearchTerm",e),this.$store.commit("updateAutocompleteTerm",e)),s={q:this.hasKeyword&&t.has("q")?t.get("q"):"",per_page:this.perPage,facets:{page:["type","issue","academic_subject","session_format","group_one","professional_practice"]},page:this.currentPage,filters:{page:{type:[],issue:this.hasIssueFilter&&t.has("issue")?t.get("issue").split(","):[],group_one:[],professional_practice:this.hasProfessionalPracticeFilter&&t.has("professional_practice")?t.get("professional_practice").split(","):[],academic_subject:this.hasAcademicSubjectFilter&&t.has("academic_subject")?t.get("academic_subject").split(","):[],session_format:this.hasFormatFilter&&t.has("session_format")?t.get("session_format").split(","):[]}}}}else s={q:this.hasKeyword?this.searchTerm:"",per_page:this.perPage,facets:{page:["type","issue","academic_subject","session_format","group_one","professional_practice"]},page:this.currentPage,filters:{page:{type:[],issue:this.hasIssueFilter?this.getActiveFiltersByKind("issue"):[],group_one:[],professional_practice:this.hasProfessionalPracticeFilter?this.getActiveFiltersByKind("professional_practice"):[],academic_subject:this.hasAcademicSubjectFilter?this.getActiveFiltersByKind("academic_subject"):[],session_format:this.hasFormatFilter?this.getActiveFiltersByKind("session_format"):[]}}};return this.isProfessionalDevelopmentResources&&(s.filters.page.issue=[],s.filters.page.academic_subject=[]),this.isFederalEducationFunding&&(s.filters.page.session_format=[]),s},packageFindYourBookData(){const e=String(window.location.search),t=new URLSearchParams(e);let s;if(this.initial){let e=t.has("q")?t.get("q"):"";e!==this.searchTerm&&(this.$store.commit("updateSearchTerm",e),this.$store.commit("updateAutocompleteTerm",e)),s={q:t.has("q")?t.get("q"):"",per_page:this.perPage,facets:{page:["type","group_one","theme","reading_level","genre"]},page:this.currentPage,filters:{page:{type:[],theme:t.has("theme")?t.get("theme").split(","):[],reading_level:t.has("reading_level")?t.get("reading_level").split(","):[],group_one:[],genre:t.has("genre")?t.get("genre").split(","):[]}}}}else s={q:this.searchTerm,per_page:this.perPage,facets:{page:["type","group_one","theme","reading_level","genre"]},page:this.currentPage,filters:{page:{type:[],theme:this.getActiveFiltersByKind("theme"),reading_level:this.getActiveFiltersByKind("reading_level"),group_one:[],genre:this.getActiveFiltersByKind("genre")}}};return s},packageTakeActionData(){const e=String(window.location.search),t=new URLSearchParams(e);let s;if(this.initial){let e=t.has("q")?t.get("q"):"";e!==this.searchTerm&&(this.$store.commit("updateSearchTerm",e),this.$store.commit("updateAutocompleteTerm",e)),s={q:t.has("q")?t.get("q"):"",per_page:this.perPage,facets:{page:["type","issue","action_type","quick_action"]},page:this.currentPage,filters:{page:{type:[],issue:t.has("issue")?t.get("issue").split(","):[],action_type:t.has("action_type")?t.get("action_type").split(","):[],quick_action:t.has("quick_action")?t.get("quick_action").split(","):[]}}}}else s={q:this.searchTerm,per_page:this.perPage,facets:{page:["type","issue","action_type","quick_action"]},page:this.currentPage,filters:{page:{type:[],issue:this.getActiveFiltersByKind("issue"),action_type:this.getActiveFiltersByKind("action_type"),quick_action:this.getActiveFiltersByKind("quick_action")}}};return s},packageBillsLettersAndTestimonyData(){const e=String(window.location.search),t=new URLSearchParams(e);let s;if(this.initial){let e=t.has("q")?t.get("q"):"";e!==this.searchTerm&&(this.$store.commit("updateSearchTerm",e),this.$store.commit("updateAutocompleteTerm",e)),s={q:t.has("q")?t.get("q"):"",per_page:this.perPage,facets:{page:["type","federal_legislation_issue","congress","position","chamber"]},page:this.currentPage,filters:{page:{type:[],federal_legislation_issue:t.has("federal_legislation_issue")?t.get("federal_legislation_issue").split(","):[],congress:t.has("congress")?t.get("
1congress").split(","):[],position:t.has("position")?t.get("position").split(","):[],chamber:t.has("chamber")?t.get("chamber").split(","):[]}}}}else s={q:this.searchTerm,per_page:this.perPage,facets:{page:["type","federal_legislation_issue","congress","position","chamber"]},page:this.currentPage,filters:{page:{type:[],federal_legislation_issue:this.getActiveFiltersByKind("federal_legislation_issue"),congress:this.getActiveFiltersByKind("congress"),position:this.getActiveFiltersByKind("position"),chamber:this.getActiveFiltersByKind("chamber")}}};return s},packageFederalCommentsData(){const e=String(window.location.search),t=new URLSearchParams(e);let s;if(this.initial){let e=t.has("q")?t.get("q"):"";e!==this.searchTerm&&(this.$store.commit("updateSearchTerm",e),this.$store.commit("updateAutocompleteTerm",e)),s={q:t.has("q")?t.get("q"):"",per_page:this.perPage,facets:{page:["type","federal_legislation_issue","federal_department","federal_comments_year"]},page:this.currentPage,filters:{page:{type:[],federal_legislation_issue:t.has("federal_legislation_issue")?t.get("federal_legislation_issue").split(","):[],federal_department:t.has("federal_department")?t.get("federal_department").split(","):[],federal_comments_year:t.has("federal_comments_year")?t.get("federal_comments_year").split(","):[]}}}}else s={q:this.searchTerm,per_page:this.perPage,facets:{page:["type","federal_legislation_issue","federal_department","federal_comments_year"]},page:this.currentPage,filters:{page:{type:[],federal_legislation_issue:this.getActiveFiltersByKind("federal_legislation_issue"),federal_department:this.getActiveFiltersByKind("federal_department"),federal_comments_year:this.getActiveFiltersByKind("federal_comments_year")}}};return s},getParameter(e,t){let s={};if("group_one"!==e)return e;s=this.allGroupOneFilters;for(const[i,a]of Object.entries(s))if(a.kind===e&&a.value===t)return a.parameter}},data(){return{api:`https://search-api.swiftype.com/api/v1/public/engines/search.json?engine_key=${Ks}`,featured_nodes:null,ra_year:null,search_settings:zs,headers:{headers:{"Content-Type":"application/json;charset=UTF-8","Access-Control-Allow-Origin":"*",Accept:"application/json"}},additional_parameters_string:""}},mounted(){this.$store.commit("updateAllIssueFilters",ws),this.$store.commit("updateAllTypeFilters",gs),this.$store.commit("updateAllGroupOneFilters",{...fs,...ys}),this.$store.commit("updateAllArticleTypeFilters",fs),this.$store.commit("updateAllResourceTypeFilters",ys),this.$store.commit("updateAllCampaignFilters",vs),this.$store.commit("updateAllProfessionalPracticeFilters",Fs),this.$store.commit("updateAllFormatFilters",Ps),this.$store.commit("updateAllAcademicSubjectFilters",Cs),this.$store.commit("updateAllGradeLevelFilters",bs),this.$store.commit("updateAllRoleFilters",As),this.$store.commit("updateAllYearFilters",Ts),this.$store.commit("updateAllStateFilters",Ss),this.isNEATodayNewsAndArticles||this.$store.commit("updateAllNEATodayFilters",ks),this.$store.commit("updateAllThemeFilters",Ns),this.$store.commit("updateAllReadingLevelFilters",Is),this.$store.commit("updateAllGenreFilters",Es),this.$store.commit("updateAllActionTypeFilters",js),this.$store.commit("updateAllCongressFilters",Ls),this.$store.commit("updateAllPositionFilters",Rs),this.$store.commit("updateAllChamberFilters",xs),this.$store.commit("updateAllFederalDepartmentFilters",Os),this.$store.commit("updateAllFederalCommentsYearFilters",Ds),this.$store.commit("updateAllQuickActionFilters",$s),this.$store.commit("updateAllFederalLegislationIssueFilters",Bs),this.$store.commit("updateAllNEATodaySectionFilters",qs),this.$store.commit("updateRaYear",_s),(this.isTakeAction||this.isEdJusticeTakeAction)&&this.$store.commit("updatePerPage",12),this.query(),this.featured_nodes=Ms}},ti=ei,si=(0,f.Z)(ti,l,n,!1,null,null,null),ii=si.exports,ai=function(){var e=this,t=e._self._c;return t("div",{staticClass:"results-body"},[t("div",{staticClass:"results-intro u-light-blue u-bg-primary-light-gradient"},[t("div",{staticClass:"container--large"},[t("div",{staticClass:"results-intro__title-wrapper"},[t("h1",{staticClass:"results-intro__title u-primary-very-dark u-page-title",domProps:{innerHTML:e._s(e.title)}}),e.last_updated?t("span",{staticClass:"results-intro__timestamp"}
1,[e._v("Last updated "+e._s(e.last_updated))]):e._e()]),t("div",{staticClass:"results-intro__summary u-primary-very-dark u-sans-serif u-type-20",staticStyle:{"white-space":"pre-line"},domProps:{innerHTML:e._s(e.summary)}}),e.featured_nodes?t("div",{class:e.featuredNodesClass+" container--large"},[t("h2",{class:e.featuredNodesClass+"__title u-bg-secondary-dark"},[e._v(" "+e._s(e.featuredNodesTitle)+" ")]),t("div",{staticClass:"featured-events__items u-border-color-primary-dark",domProps:{innerHTML:e._s(e.featured_nodes)}})]):e._e(),t("filters")],1)]),t("results-meta",{on:{datesSetChanged:e.datesSetChanged,calendarViewChanged:e.query}}),e.calendarView?e._e():[t("results-list"),e.calendarView?e._e():t("results-pagination",{on:{update:e.query}})]],2)},ri=[];function li(e){const t=e.querySelectorAll(".js-expand-hide"),s=e.querySelector(".js-expand-trigger"),i=e.querySelector(".js-expand-toggle"),a=e.querySelector(".js-expand-target");i&&i.addEventListener("click",(t=>{t.preventDefault();const s="true"==i.getAttribute("aria-expanded");$(a).slideToggle(300),e.classList.toggle("is-open"),i.setAttribute("aria-expanded",!s)})),s&&s.addEventListener("click",(i=>{i.preventDefault(),$(a).slideDown(300),e.classList.add("is-open"),s.setAttribute("aria-expanded",!0),s.setAttribute("aria-disabled",!0),a.setAttribute("aria-hidden",!1),t.forEach((e=>e.setAttribute("aria-hidden",!0)))}))}const ni=window.drupalSettings.ra.ra_year,oi=window.drupalSettings.searchFilters.type,ui=window.drupalSettings.searchFilters.resource_type,di=window.drupalSettings.searchFilters.state,ci=window.drupalSettings.searchFilters.event_type,pi=window.drupalSettings.searchFilters.region,hi=window.drupalSettings.searchFilters.show_past_events,mi=window.drupalSettings.searchFilters.issues,_i=window.drupalSettings.searchFilters.campaign,gi=window.drupalSettings.searchFilters.role,fi=window.drupalSettings.searchFilters.professional_practice,yi=window.drupalSettings.searchFilters.business_item_type,vi=window.drupalSettings.searchFilters.outcome,wi=window.drupalSettings.searchFilters.strategic_objective,Fi=window.drupalSettings.featuredNodes,Ci=window.drupalSettings.searchSettings,bi=Ci.IS_MAIN_SITE&&"/"+drupalSettings.path.currentPath!==Ci.standard_events.path?window.drupalSettings.ra.engineKey:window.drupalSettings.engineKey,{EVENT_TID:Ai,EYE_ON_EQUITY_TID:Ti}=window.drupalSettings.search.tids;var Si={name:"SearchAPI",mixins:[j],components:{Filters:fe,ResultsMeta:vt,ResultsList:os,ResultsPagination:ms},watch:{autocompleteTerm:function(){this.hasKeyword&&""!==this.autocompleteTerm&&this.autocompleteTerm.length>=3&&this.autocompleteQuery()},searchTerm:function(){this.$store.commit("updateCurrentPage",1),this.query()},activeFilters:function(){this.locked||this.initial||this.query()},featured_nodes:function(e){e&&this.$nextTick((()=>{const e=document.querySelectorAll(".js-expand.is-async");e.forEach((e=>li(e)))}))}},computed:{...(0,m.Se)({locked:"getLocked",today:"getToday",datesSet:"getDatesSet",calendarView:"getCalendarView",searchTerm:"getSearchTerm",autocompleteTerm:"getAutocompleteTerm",currentPage:"getCurrentPage",perPage:"getPerPage",perPageCalendar:"getPerPageCalendar",resultsData:"getResultsData",activeFilters:"getActiveFilters",allTypeFilters:"getAllTypeFilters",allStateFilters:"getAllStateFilters",allIssueFilters:"getAllIssueFilters",allRoleFilters:"getAllRoleFilters",allProfessionalPracticeFilters:"getAllProfessionalPracticeFilters",allCampaignFilters:"getAllCampaignFilters",allResourceTypeFilters:"getAllResourceTypeFilters",allEventTypeFilters:"getAllEventTypeFilters",allRegionFilters:"getAllRegionFilters",allShowPastEventsFilters:"getAllShowPastEventsFilters",allBusinessItemTypeFilters:"getAllBusinessItemTypeFilters",allOutcomeFilters:"getAllOutcomeFilters",allStrategicObjectiveFilters:"getAllStrategicObjectiveFilters",additionalParameters:"getAdditionalParameters",initial:"getInitial",pageIntro:"getPageIntro",mobileBreakpoint:"getMobileBreakpoint",windowInnerWidth:"getWindowInnerWidth",calendarResultsItems:"getCalendarResultsItems",resultsItems:"getResultsItems"}),featuredNodesClass(){return"featured-events"},featuredNodesTitle(){if(this.isAnEventCalendar)return"Featured Events"},isSearch(){return"search"===this.route},isBusinessItems(){return"business_items"===this.route},route(){return this.$route.name},title(){return this.search_settings[this.route].title?this.search_settings[this.route]&&this.search_settings[this.route].title?this.search_settings[this.route].title:"":this.pageIntro[this.route]?this.pageIntro[this.route].title:""},summary(){return this.search_settings[this.route].summary?this.search_settings[this.route]&&this.search_settings[this.route].summary?this.search_settings[this.route].summary:"":this.pageIntro[this.route]?this.pageIntro[this.route].summary:""},hasKeyword(){return!0},hasStateFilter(){return this.search_settings[this.route].state},hasEventTypeFilter(){return this.search_settings[this.route].event_type},hasIssueFilter(){return this.search_settings[this.route].issue},hasRoleFilter(){return this.search_settings[this.route].role},hasProfessionalPracticeFilter(){return this.search_settings[this.route].professional_practice},hasCampaignFilter(){return this.search_settings[this.route].campaign},hasShowPastEventsFilter(){return this.search_settings[this.route].show_past_events},hasBusinessItemTypeFilter(){return this.search_settings[this.route].business_item_type},hasOutcomeFilter(){return this.search_settings[this.route].outcome},hasStrategicObjectiveFilter(){return this.search_settings[this.route].strategic_objective}}
1,methods:{getLastUpdatedDate(){let e="";e=Ci.IS_MAIN_SITE?this.isBusinessItems?"/api/nbi/last-updated":"/api/last_updated_date":"/api/nea-search-last-updated-date-affiliate-events",this.axios.get(e).then((e=>{this.last_updated=e.data})).catch((e=>{console.log(e.response.data.message)})).finally((()=>{}))},datesSetChanged(e){this.datesSet.startStr===e.startStr&&this.datesSet.endStr===e.endStr||(this.$store.commit("updateDatesSet",e),this.locked||this.query())},query(){this.getLastUpdatedDate();let e=this,t=this.packageData();this.isAnEventCalendar&&(t.sort_field={page:"event_sort_date_and_time"},t.sort_direction={page:"asc"}),t.filters.page.issue&&(t.filters.page.issue=this.removeParentIssue(t.filters.page.issue)),this.isBusinessItems&&(t.sort_field={page:"sort"},t.sort_direction={page:"asc"}),t=this.removeUnusedFilters(t),this.packageUrl(t),t=this.setDefaultFilterValues(t),this.$store.commit("updateLocked",!0),this.axios.post(this.api,t,this.headers).then((s=>{e.$store.commit("updateLocked",!1);let i={};i.currentCount=s.data.record_count,i.totalCount=s.data.info.page.total_result_count,i.totalPages=s.data.info.page.num_pages,i.currentPage=s.data.info.page.current_page,e.$store.commit("updateResultsData",i),e.calendarView&&s.data.info.page.num_pages>1?1===s.data.info.page.current_page&&(this.$store.commit("updateLocked",!0),e.$store.commit("updateResultsItems",[]),e.$store.commit("updateCalendarResultsItems",[...s.data.records.page]),this.recursiveQuery(s,t,2)):(e.$store.commit("updateResultsItems",s.data.records.page),e.$store.commit("updateFullResponse",s),e.$store.commit("updateFacets",s.data.info.page.facets),e.initial&&(t.filters&&t.filters.page&&(t.filters.page.state&&e.updateInitialFilters(e.allStateFilters,t.filters.page.state),t.filters.page.event_type&&e.updateInitialFilters(e.allEventTypeFilters,t.filters.page.event_type),t.filters.page.issue&&e.updateInitialFilters(e.allIssueFilters,t.filters.page.issue),t.filters.page.campaign&&e.updateInitialFilters(e.allCampaignFilters,t.filters.page.campaign),t.filters.page.role&&e.updateInitialFilters(e.allRoleFilters,t.filters.page.role),t.filters.page.professional_practice&&e.updateInitialFilters(e.allProfessionalPracticeFilters,t.filters.page.professional_practice),t.filters.page.business_item_type&&e.updateInitialFilters(e.allBusinessItemTypeFilters,t.filters.page.business_item_type),t.filters.page.outcome&&e.updateInitialFilters(e.allOutcomeFilters,t.filters.page.outcome),t.filters.page.region&&e.updateInitialFilters(e.allRegionFilters,t.filters.page.region),t.filters.page.strategic_objective&&e.updateInitialFilters(e.allStrategicObjectiveFilters,t.filters.page.strategic_objective),e.hasShowPastEventsFilter&&void 0===t.filters.page.event_conclusion_date_and_time&&e.updateInitialFilters(e.allShowPastEventsFilters,["1"])),e.$store.commit("updateInitial",!1)),e.newFacetCounts(t,s))})).catch((function(e){}))},recursiveQuery(e,t,s){t.page=s;let i=this;this.axios.post(this.api,t,this.headers).then((a=>{a.data.info.page.current_page===e.data.info.page.num_pages?(this.$store.commit("updateResultsItems",[...i.calendarResultsItems,...a.data.records.page]),this.$store.commit("updateCalendarResultsItems",[]),i.$store.commit("updateFullResponse",e),i.$store.commit("updateFacets",e.data.info.page.facets),i.initial&&(t.filters&&t.filters.page&&(t.filters.page.state&&i.updateInitialFilters(i.allStateFilters,t.filters.page.state),t.filters.page.event_type&&i.updateInitialFilters(i.allEventTypeFilters,t.filters.page.event_type),t.filters.page.issue&&i.updateInitialFilters(i.allIssueFilters,t.filters.page.issue),t.filters.page.role&&i.updateInitialFilters(i.allRoleFilters,t.filters.page.role),t.filters.page.professional_practice&&i.updateInitialFilters(i.allProfessionalPracticeFilters,t.filters.page.professional_practice),t.filters.page.campaign&&i.updateInitialFilters(i.allCampaignFilters,t.filters.page.campaign),t.filters.page.region&&i.updateInitialFilters(i.allRegionFilters,t.filters.page.region),t.filters.page.business_item_type&&i.updateInitialFilters(i.allBusinessItemTypeFilters,t.filters.page.business_item_type),t.filters.page.outcome&&i.updateInitialFilters(i.allOutcomeFilters,t.filters.page.outcome),t.filters.page.strategic_objective&&i.updateInitialFilters(i.allStrategicObjectiveFilters,t.filters.page.strategic_objective),i.hasShowPastEventsFilter&&void 0===t.filters.page.event_c
1onclusion_date_and_time&&i.updateInitialFilters(i.allShowPastEventsFilters,["1"])),i.$store.commit("updateInitial",!1)),i.newFacetCounts(t,e),this.$store.commit("updateLocked",!1)):(s=a.data.info.page.current_page+1,this.$store.commit("updateCalendarResultsItems",[...i.calendarResultsItems,...a.data.records.page]),this.recursiveQuery(e,t,s))})).catch((function(e){}))},autocompleteQuery(){let e=this,t=this.packageData();t=this.removeUnusedFilters(t),t=this.setDefaultFilterValues(t),t.q=this.autocompleteTerm,t.per_page="5",t.page="1",t.filters.page.issue&&(t.filters.page.issue=this.removeParentIssue(t.filters.page.issue)),this.axios.post(this.api,t,this.headers).then((function(t){let s={};s.currentCount=t.data.record_count,s.totalCount=t.data.info.page.total_result_count,s.totalPages=t.data.info.page.num_pages,s.currentPage=t.data.info.page.current_page,e.$store.commit("updateAutocompleteResultsData",s),e.$store.commit("updateAutocompleteResultsItems",t.data.records.page)})).catch((function(e){}))},newFacetCounts:function(e,t){if(e&&e.filters&&e.filters.page){this.$store.commit("updateNewStateCount",t.data.info.page.facets.state),this.$store.commit("updateNewEventTypeCount",t.data.info.page.facets.event_type),this.$store.commit("updateNewIssueCount",t.data.info.page.facets.issue),this.$store.commit("updateNewCampaignCount",t.data.info.page.facets.campaign),this.$store.commit("updateNewRoleCount",t.data.info.page.facets.role),this.$store.commit("updateNewProfessionalPracticeCount",t.data.info.page.facets.professional_practice),this.$store.commit("updateNewRegionCount",t.data.info.page.facets.region);const s=[{field:"state",commitFunction:"updateNewStateCount"},{field:"event_type",commitFunction:"updateNewEventTypeCount"},{field:"region",commitFunction:"updateNewRegionCount"},{field:"business_item_type",commitFunction:"updateNewBusinessItemTypeCount"},{field:"outcome",commitFunction:"updateNewOutcomeCount"},{field:"strategic_objective",commitFunction:"updateNewStrategicObjectiveCount"},{field:"issue",commitFunction:"updateNewIssueCount"},{field:"professional_practice",commitFunction:"updateNewProfessionalPracticeCount"},{field:"role",commitFunction:"updateNewRoleCount"},{field:"campaign",commitFunction:"updateNewCampaignCount"}];s.forEach((t=>{if(e.filters.page[t.field]?.length>0){let s=JSON.parse(JSON.stringify(e));delete s.filters.page[t.field],"event_type"===t.field&&this.isOEA&&this.isAnEventCalendar,this.axios.post(this.api,s,this.headers).then((e=>{e?.data?.info?.page?.facets&&this.$store.commit(t.commitFunction,e.data.info.page.facets[t.field])}))}}))}},getActiveFiltersByKind(e){let t=this.activeFilters.filter((t=>t.kind===e)),s=t.map((e=>e.value));return s.length>0?s:[]},packageUrl(e){let t=this.$route.path+"?";if(this.initial){const e=String(window.location.search),t=new URLSearchParams(e);this.additionalParameters.forEach((e=>{t.has(e)&&(this.additional_parameters_string+=t.get(e)?e+"="+t.get(e)+"&":"")}))}e.q&&""!==e.q&&(t+="q=",t+=e.q,t+="&"),0!==this.getActiveFiltersByKind("show_past_events").length&&(t+="show_past_events=1&"),e.filters&&e.filters.page&&e.filters.page&&Object.keys(e.filters.page).length>0&&Object.keys(e.filters.page).forEach((s=>{if(e.filters.page[s]&&e.filters.page[s].values&&e.filters.page[s].values.length>0){let i={};Object.keys(e.filters.page[s]).forEach((t=>{let a=this.getParameter(s,e.filters.page[s][t]),r=e.filters.page[s][t];void 0===i[a]&&(i[a]=[]),i[a].push(r)}
1)),Object.keys(i).forEach((e=>{t+=e,t+="=",t+=i[e].toString(),t+="&"}))}else if(e.filters.page[s]&&e.filters.page[s].length>0){let i={};Object.keys(e.filters.page[s]).forEach((t=>{let a=this.getParameter(s,e.filters.page[s][t]),r=e.filters.page[s][t];void 0===i[a]&&(i[a]=[]),i[a].push(r)})),Object.keys(i).forEach((e=>{t+=e,t+="=",t+=i[e].toString(),t+="&"}))}})),t+=this.additional_parameters_string,history.replaceState({},this.$route.path,t)},removeUnusedFilters(e){const t=["business_item_type","event_conclusion_date_and_time","event_start_date_and_time","event_type","outcome","region","state","strategic_objective","type","issue","role","campaign","professional_practice"];return t.forEach((t=>{e.filters?.page[t]&&(0!==e.filters.page[t]?.length&&"{}"!==JSON.stringify(e.filters.page[t])||delete e.filters.page[t])})),e},setDefaultFilterValues(e){return this.isAnEventCalendar&&(e.filters.page.type=["resource"],e.filters.page.resource_type=[Ai],e.filters.page.has_dates="1"),this.isBusinessItems&&(e.filters.page.type=["business_item"]),this.isAffiliateEvents&&(e.filters.page.is_ra_event_resource=["!1"]),e},updateInitialFilters(e,t){e&&t&&t.forEach((t=>{for(const[s,i]of Object.entries(e)){if(i.value===t){let e=this.activeFilters;e.push(i),this.$store.commit("updateActiveFilters",e)}if(i.children)for(const[e,s]of Object.entries(i.children))if(s.value===t){let e=this.activeFilters;e.push(s),e.push(i),this.$store.commit("updateActiveFilters",e)}}}))},removeParentIssue(e){for(const[t,s]of Object.entries(this.allIssueFilters))if(s.children&&e.includes(s.value))for(const[i,a]of Object.entries(s.children))if(s.children&&e.includes(a.value)){let t=e.indexOf(s.value);-1!==t&&e.splice(t,1)}return e},packageData(){const e=String(window.location.search),t=new URLSearchParams(e);let s,i={};if(this.initial){let e=t.has("q")?t.get("q"):"";e!==this.searchTerm&&(this.$store.commit("updateSearchTerm",e),this.$store.commit("updateAutocompleteTerm",e)),t.has("show_past_events")||(i.type="range",i.from=this.today),s={q:this.hasKeyword&&t.has("q")?t.get("q"):"",per_page:this.perPage,facets:{page:["type","state","event_type","event_conclusion_date_and_time","business_item_type","outcome","region","strategic_objective","issue","campaign","role","professional_practice"]},page:this.currentPage,filters:{page:{type:[],state:this.hasStateFilter&&t.has("state")?t.get("state").split(","):[],event_type:this.hasEventTypeFilter&&t.has("event_type")?t.get("event_type").split(","):[],issue:this.hasIssueFilter&&t.has("issue")?t.get("issue").split(","):[],role:this.hasRoleFilter&&t.has("role")?t.get("role").split(","):[],professional_practice:this.hasProfessionalPracticeFilter&&t.has("professional_practice")?t.get("professional_practice").split(","):[],campaign:this.hasCampaignFilter&&t.has("campaign")?t.get("
1campaign").split(","):[],event_conclusion_date_and_time:this.hasShowPastEventsFilter?i:{},business_item_type:this.hasBusinessItemTypeFilter&&t.has("business_item_type")?t.get("business_item_type").split(","):[],outcome:this.hasOutcomeFilter&&t.has("outcome")?t.get("outcome").split(","):[],region:this.hasRegionFilter&&t.has("region")?t.get("region").split(","):[],strategic_objective:this.hasStrategicObjectiveFilter&&t.has("strategic_objective")?t.get("strategic_objective").split(","):[]}}}}else 0===this.getActiveFiltersByKind("show_past_events").length&&(i.type="range",i.from=this.today),s={q:this.hasKeyword?this.searchTerm:"",per_page:this.perPage,facets:{page:["type","state","event_type","campaign","role","issue","professional_practice","event_conclusion_date_and_time","business_item_type","outcome","region","strategic_objective"]},page:this.currentPage,filters:{page:{type:[],state:this.hasStateFilter?this.getActiveFiltersByKind("state"):[],event_type:this.hasEventTypeFilter?this.getActiveFiltersByKind("event_type"):[],issue:this.hasIssueFilter?this.getActiveFiltersByKind("issue"):[],role:this.hasRoleFilter?this.getActiveFiltersByKind("role"):[],professional_practice:this.hasProfessionalPracticeFilter?this.getActiveFiltersByKind("professional_practice"):[],campaign:this.hasCampaignFilter?this.getActiveFiltersByKind("campaign"):[],event_conclusion_date_and_time:this.hasShowPastEventsFilter?i:{},business_item_type:this.hasBusinessItemTypeFilter?this.getActiveFiltersByKind("business_item_type"):[],outcome:this.hasOutcomeFilter?this.getActiveFiltersByKind("outcome"):[],region:this.hasRegionFilter?this.getActiveFiltersByKind("region"):[],strategic_objective:this.hasStrategicObjectiveFilter?this.getActiveFiltersByKind("strategic_objective"):[]}}};return s},getParameter(e,t){let s={};if("group_one"!==e)return e;s=this.allGroupOneFilters;for(const[i,a]of Object.entries(s))if(a.kind===e&&a.value===t)return a.parameter}},data(){return{api:`https://search-api.swiftype.com/api/v1/public/engines/search.json?engine_key=${bi}`,featured_nodes:null,ra_year:null,search_settings:Ci,headers:{headers:{"Content-Type":"application/json;charset=UTF-8","Access-Control-Allow-Origin":"*",Accept:"application/json"}},last_updated:"",additional_parameters_string:""}},mounted(){(this.isCalendarOfEvents||this.isAffiliateEvents)&&this.windowInnerWidth>this.mobileBreakpoint&&this.$store.commit("updateCalendarView",!0),this.isAnEventCalendar&&this.calendarView&&this.$store.commit("updatePerPage",this.perPageCalendar),this.$store.commit("updateToday",(new Date).toISOString().slice(0,10)),this.$store.commit("updateAllTypeFilters",oi),this.$store.commit("updateAllResourceTypeFilters",ui),this.$store.commit("updateAllStateFilters",di),this.$store.commit("updateAllEventTypeFilters",ci),this.$store.commit("updateAllRegionFilters",pi),this.$store.commit("updateAllShowPastEventsFilters",hi),this.$store.commit("updateAllBusinessItemTypeFilters",yi),this.$store.commit("updateAllOutcomeFilters",vi),this.$store.commit("updateAllStrategicObjectiveFilters",wi),this.$store.commit("updateAllIssueFilters",mi),this.$store.commit("updateAllCampaignFilters",_i),this.$store.commit("updateAllProfessionalPracticeFilters",fi),this.$store.commit("updateAllRoleFilters",gi),this.$store.commit("updateRaYear",ni),this.query(),this.featured_nodes=Fi}},ki=Si,Pi=(0,f.Z)(ki,ai,ri,!1,null,null,null),Ni=Pi.exports,Ii={name:"app",mixins:[j],components:{Search:ii,SearchAPI:Ni},data(){return{loaded:!1}},computed:{route(){return this.$route.name},isBusinessItems(){return"business_items"===this.route}},mounted(){const e=!0;this.$store.commit("updateIsAuthenticated",e),this.loaded=!0}},Ei=Ii,ji=(0,f.Z)(Ei,a,r,!1,null,null,null),Li=ji.exports,Ri=s(8345);const xi=window.drupalSettings.searchSettings;i.ZP.use(Ri.Z);var Oi=new Ri.Z({mode:"history",routes:[{path:xi.search.path,name:"search",component:ii},{path:"/search/node",redirect:xi.search.path},{path:xi.research_and_reports.path,name:"research_and_reports",component:ii},{path:xi.school_me.path,name:"school_me",component:ii},{path:xi.resource_library.path,name:"resource_library",component:ii},{path:xi.new_from_nea.path,name:"new_from_nea",component:ii},{path:xi.tools_and_tips.path,name:"tools_and_tips",component:ii},{path:xi.professional_learning_resources.path,name:"professional_learning_resources",component:ii},{path:xi.standard_events.path,name:"standard_events",component:Ni},{path:xi.ra_agenda.path,name:"ra_agenda",component:Ni},{path:xi.ra_calendar.path,name:"ra_calendar",component:Ni},{path:xi.business_items.path,name:"business_items",component:Ni},{path:xi.federal_education_funding.path,name:"federal_education_funding",component:ii},{path:xi.take_action.path,name:"take_action",component:ii},{path:xi.bills.path,name:"bills",component:ii},{path:xi.letters_and_testimony.path,name:"letters_and_testimony",component:ii},{path:xi.federal_comments.path,name:"federal_comments",component:ii},{path:"/professional-excellence/student-engagement/read-across-america/find-your-book",name:"find_your_book",component:ii},{path:xi.edjustice_take_action.path,name:"edjustice_take_action",component:ii},{path:xi.edjustice_resource_library.path,name:"edjustice_resource_library",component:ii},{path:xi.edjustice_see_the_latest.path,name:"edjustice_see_the_latest",component:ii},{path:xi.nea_today_news_and_articles.path,name:"nea_today_news_and_articles",component:ii}]});i.ZP.use(m.ZP);var Di=new m.ZP.Store({state:{today:"",datesSet:{},windowInnerWidth:null,mobileBreakpoint:900,resetToCalendarView:!1,calendarView:!1,locked:!1,showSpinner:!1,initial:!0,searchTerm:"",autocompleteTerm:"",fullResponse:{},resultsItems:[],calendarResultsItems:[],resultsData:{},autocompleteResultsItems:[],autocompleteResultsData:{},facets:{},activeFilters:[],allTypeFilters:[],allIssueFilters:[],allGroupOneFilters:[],allArticleTypeFilters:[],allResourceTypeFilters:[],allCampaignFilters:[],allGroupTwoFilters:[],allRoleFilters:[],allYearFilters:[],allStateFilters:[],allProfessionalPracticeFilters:[],allFormatFilters:[],allAcademicSubjectFilters:[],allGradeLevelFilters:[],allNEATodayFilters:[],allThemeFilters:[],allReadingLevelFilters:[],allGenreFilters:[],allActionTypeFilters:[],allCongressFilters:[],allPositionFilters:[],allChamberFilters:[],allFederalDepartmentFilters:[],allFederalCommentsYearFilters:[],allQuickActionFilters:[],allFederalLegislationIssueFilters:[],allEventTypeFilters:[],allRegionFilters:[],allShowPastEventsFilters:[],allBusinessItemTypeFilters:[],allOutcomeFilters:[],allStrategicObjectiveFilters:[],allNEATodaySectionFilters:[],currentPage:1,perPage:10,perPageList:10,perPageCalendar:100,newTypeCount:null,newGroupOneCount:null,newGroupTwoCount:null,newArticleTypeCount:null,newResourceTypeCount:null,newCampaignCount:null,newAcademicSubjectCount:null,newGradeLevelCount:null,newRoleCount:null,newYearCount:null,newIssueCount:null,newStateCount:null,newNEATodayCount:null,newProfessionalPracticeCount:null,newFormatCount:null,newThemeCount:null,newReadingLevelCount:null,newGenreCount:null,newActionTypeCount:null,newCongressCount:null,newPositionCount:null,newChamberCount:null,newFederalDepartmentCount:null,newFederalCommentsYearCount:null,newQuickActionCount:null,newFederalLegislationIssueC
1ount:null,newEventTypeCount:null,newRegionCount:null,newShowPastEventsCount:null,newBusinessItemTypeCount:null,newOutcomeCount:null,newStrategicObjectiveCount:null,newNEATodaySectionCount:null,raYear:null,additionalParameters:["utm_source","utm_medium","utm_campaign","utm_term","utm_content","ms"],pageIntro:{search:{title:"Search",summary:"Type a phrase in the search box or use the filters below to start browsing our articles and resources."},resource_library:{title:"Resource Library",summary:"Whether you're focused on your classroom, community, or capitol, we have tools to help you transform teaching and learning."},new_from_nea:{title:"New From NEA",summary:"Read the latest on our advocacy, our members, and the education trends we're watching."},professional_learning_resources:{title:"Professional Learning Resources",summary:'<p>From our affiliates to yours, workshops, webinars, and blended learning opportunities to support NEA members throughout their careers.</p><p>Looking for advice articles, podcasts, or other tools for educators? Visit our <a href="/resource-library">Resource Library</a>.</p>'},federal_education_funding:{title:"Federal Education Funding",summary:"<p>Browse federal education grants by issue, professional practice, and more as you advocate for great public schools for all students.</p>"},find_your_book:{title:"Find Your Book",summary:"Inspire and engage your students with books that reflect their experiences and expand their horizons."},take_action:{title:"Take Action",summary:"We need to dismantle unjust systems. We need to fully fund public schools. We need to hold our elected leaders accountable to our communities. And we need your help to make it happen."},letters_and_testimony:{title:"Letters & Testimony",summary:"NEA speaks up for the rights of students. Browse recent messages to Congressional leadership, and add your voice."},bills:{title:"Bills",summary:"Learn NEA's position on pending legislation related to public education, and take action to protect our schools."},ra_agenda:{title:"RA Agenda",summary:"Browse the list to explore all events, or find specific events by state, type, or keyword search."},ra_calendar:{title:"Calendar of Events",summary:"Browse the list to explore all events, or find specific events by state, type, or keyword search."}},openDropdown:null,isAuthenticated:!1,nextUrl:null},getters:{getToday:e=>e.today,getDatesSet:e=>e.datesSet,getWindowInnerWidth:e=>e.windowInnerWidth,getMobileBreakpoint:e=>e.mobileBreakpoint,getResetToCalendarView:e=>e.resetToCalendarView,getCalendarView:e=>e.calendarView,getSearchTerm:e=>e.searchTerm,getAutocompleteTerm:e=>e.autocompleteTerm,getCurrentPage:e=>e.currentPage,getPerPage:e=>e.perPage,getPerPageCalendar:e=>e.perPageCalendar,getPerPageList:e=>e.perPageList,getLocked:e=>e.locked,getShowSpinner:e=>e.showSpinner,getInitial:e=>e.initial,getFullResponse:e=>e.fullResponse,getResultsItems:e=>e.resultsItems,getResultsData:e=>e.resultsData,getCalendarResultsItems:e=>e.calendarResultsItems,getAutocompleteResultsItems:e=>e.autocompleteResultsItems,getAutocompleteResultsData:e=>e.autocompleteResultsData,getAllTypeFilters:e=>e.allTypeFilters,getAllIssueFilters:e=>e.allIssueFilters,getAllGroupOneFilters:e=>e.allGroupOneFilters,getAllGroupTwoFilters:e=>e.allGroupTwoFilters,getAllArticleTypeFilters:e=>e.allArticleTypeFilters,getAllResourceTypeFilters:e=>e.allResourceTypeFilters,getAllRoleFilters:e=>e.allRoleFilters,getAllYearFilters:e=>e.allYearFilters,getAllCampaignFilters:e=>e.allCampaignFilters,getAllStateFilters:e=>e.allStateFilters,getAllProfessionalPracticeFilters:e=>e.allProfessionalPracticeFilters,getAllFormatFilters:e=>e.allFormatFilters,getAllAcademicSubjectFilters:e=>e.allAcademicSubjectFilters,getAllGradeLevelFilters:e=>e.allGradeLevelFilters,getAllNEATodayFilters:e=>e.allNEATodayFilters,getAllThemeFilters:e=>e.allThemeFilters,getAllReadingLevelFilters:e=>e.allReadingLevelFilters,getAllGenreFilters:e=>e.allGenreFilters,getAllActionTypeFilters:e=>e.allActionTypeFilters,getAllCongressFilters:e=>e.allCongressFilters,getAllPositionFilters:e=>e.allPositionFilters,getAllChamberFilters:e=>e.allChamberFilters,getAllFederalDepartmentFilters:e=>e.allFederalDepartmentFilters,getAllFederalCommentsYearFilters:e=>e.allFederalCommentsYearFilters,getAllQuickActionFilters:e=>e.allQuickActionFilters,getAllFederalLegislationIssueFilters:e=>e.allFederalLegislationIssueFilters,getAllEventTypeFilters:e=>e.allEventTypeFilters,getAllRegionFilters:e=>e.allRegionFilters,getAllShowPastEventsFilters:e=>e.allShowPastEventsFilters,getAllBusinessItemTypeFilters:e=>e.allBusinessItemTypeFilters,getAllOutcomeFilters:e=>e.allOutcomeFilters,getAllStrategicObjectiveFilters:e=>e.allStrategicObjectiveFilters,getAllNEATodaySectionFilters:e=>e.allNEATodaySectionFilters,getRaYear:e=>e.raYear,getActiveFilters:e=>e.activeFilters,getFacets:e=>e.facets,getNewTypeCount:e=>e.newTypeCount,getNewArticleTypeCount:e=>e.newArticleTypeCount,getNewGroupOneCount:e=>e.newGroupOneCount,getNewGroupTwoCount:e=>e.newGroupTwoCount,getNewResourceTypeCount:e=>e.newResourceTypeCount,getNewCampaignCount:e=>e.newCampaignCount,getNewRoleCount:e=>e.newRoleCount,getNewYearCount:e=>e.newYearCount,getNewIssueCount:e=>e.newIssueCount,getNewStateCount:e=>e.newStateCount,getNewNEATodayCount:e=>e.newNEATodayCount,getNewProfessionalPracticeCount:e=>e.newProfessionalPracticeCount,getNewFormatCount:e=>e.newFormatCount,getNewAcademicSubjectCount:e=>e.newAcademicSubjectCount,getNewGradeLevelCount:e=>e.newGradeLevelCount,getNewThemeCount:e=>e.newThemeCount,getNewReadingLevelCount:e=>e.newReadingLevelCount,getNewGenreCount:e=>e.newGenreCount,getNewActionTypeCount:e=>e.newActionTypeCount,getNewCongressCount:e=>e.newCongressCount,getNewPositionCount:e=>e.newPositionCount,getNewChamberCount:e=>e.newChamberCount,getNewFederalDepartmentCount:e=>e.newFederalDepartmentCount,getNewFederalCommentsYearCount:e=>e.newFederalCommentsYearCount,getNewQuickActionCount:e=>
1e.newQuickActionCount,getNewFederalLegislationIssueCount:e=>e.newFederalLegislationIssueCount,getNewEventTypeCount:e=>e.newEventTypeCount,getNewRegionCount:e=>e.newRegionCount,getNewBusinessItemTypeCount:e=>e.newBusinessItemTypeCount,getNewOutcomeCount:e=>e.newOutcomeCount,getNewStrategicObjectiveCount:e=>e.newStrategicObjectiveCount,getNewNEATodaySectionCount:e=>e.newNEATodaySectionCount,getPageIntro:e=>e.pageIntro,getOpenDropdown:e=>e.openDropdown,getIsAuthenticated:e=>e.isAuthenticated,getNextUrl:e=>e.nextUrl,getAdditionalParameters:e=>e.additionalParameters},mutations:{updateToday(e,t){e.today=t},updateDatesSet(e,t){e.datesSet=t},updateWindowInnerWidth(e,t){e.windowInnerWidth=t},updateMobileBreakpoint(e,t){e.mobileBreakpoint=t},updateResetToCalendarView(e,t){e.resetToCalendarView=t},updateCalendarView(e,t){e.calendarView=t},updateLocked(e,t){e.locked=t,!1===e.locked&&(e.showSpinner=!1)},updateShowSpinner(e,t){e.showSpinner=t},updateNewTypeCount(e,t){e.newTypeCount=t},updateNewArticleTypeCount(e,t){e.newArticleTypeCount=t},updateNewGroupOneCount(e,t){e.newGroupOneCount=t},updateNewGroupTwoCount(e,t){e.newGroupTwoCount=t},updateNewResourceTypeCount(e,t){e.newResourceTypeCount=t},updateNewIssueCount(e,t){e.newIssueCount=t},updateNewCampaignCount(e,t){e.newCampaignCount=t},updateNewRoleCount(e,t){e.newRoleCount=t},updateNewYearCount(e,t){e.newYearCount=t},updateNewStateCount(e,t){e.newStateCount=t},updateNewNEATodayCount(e,t){e.newNEATodayCount=t},updateNewProfessionalPracticeCount(e,t){e.newProfessionalPracticeCount=t},updateNewFormatCount(e,t){e.newFormatCount=t},updateNewAcademicSubjectCount(e,t){e.newAcademicSubjectCount=t},updateNewGradeLevelCount(e,t){e.newGradeLevelCount=t},updateNewThemeCount(e,t){e.newThemeCount=t},updateNewReadingLevelCount(e,t){e.newReadingLevelCount=t},updateNewGenreCount(e,t){e.newGenreCount=t},updateNewActionTypeCount(e,t){e.newActionTypeCount=t},updateNewCongressCount(e,t){e.newCongressCount=t},updateNewPositionCount(e,t){e.newPositionCount=t},updateNewChamberCount(e,t){e.newChamberCount=t},updateNewFederalDepartmentCount(e,t){e.newFederalDepartmentCount=t},updateNewFederalCommentsYearCount(e,t){e.newFederalCommentsYearCount=t},updateNewQuickActionCount(e,t){e.newQuickActionCount=t},updateNewFederalLegislationIssueCount(e,t){e.newFederalLegislationIssueCount=t},updateNewEventTypeCount(e,t){e.newEventTypeCount=t},updateNewRegionCount(e,t){e.newRegionCount=t},updateNewShowPastEventsCount(e,t){e.newShowPastEventsCount=t},updateNewBusinessItemTypeCount(e,t){e.newBusinessItemTypeCount=t},updateNewOutcomeCount(e,t){e.newOutcomeCount=t},updateNewStrategicObjectiveCount(e,t){e.newStrategicObjectiveCount=t},updateNewNEATodaySectionCount(e,t){e.newNEATodaySectionCount=t},updateRaYear(e,t){e.raYear=t},updateSearchTerm(e,t){e.searchTerm=t},updateAutocompleteTerm(e,t){e.autocompleteTerm=t},updateCurrentPage(e,t){e.currentPage=t},updateInitial(e,t){e.initial=t},updateFullResponse(e,t){e.fullResponse=t},updateAutocompleteResultsItems(e,t){e.autocompleteResultsItems=t},updateAutocompleteResultsData(e,t){e.autocompleteResultsData=t},updateResultsItems(e,t){e.resultsItems=t},updateResultsData(e,t){e.resultsData=t},updateCalendarResultsItems(e,t){e.calendarResultsItems=t},updateActiveFilters(e,t){e.activeFilters=t},updateAllTypeFilters(e,t){e.allTypeFilters=t},updateAllGroupOneFilters(e,t){e.allGroupOneFilters=t},updateAllGroupTwoFilters(e,t){e.allGroupTwoFilters=t},updateAllIssueFilters(e,t){e.allIssueFilters=t},updateAllArticleTypeFilters(e,t){e.allArticleTypeFilters=t},updateAllResourceTypeFilters(e,t){e.allResourceTypeFilters=t},updateAllCampaignFilters(e,t){e.allCampaignFilters=t},updateAllRoleFilters(e,t){e.allRoleFilters=t},updateAllYearFilters(e,t){e.allYearFilters=t},updateAllStateFilters(e,t){e.allStateFilters=t},updateAllNEATodayFilters(e,t){e.allNEATodayFilters=t},updateAllProfessionalPracticeFilters(e,t){e.allProfessionalPracticeFilters=t},updateAllFormatFilters(e,t){e.allFormatFilters=t},updateAllAcademicSubjectFilters(e,t){e.allAcademicSubjectFilters=t},updateAllGradeLevelFilters(e,t){e.allGradeLevelFilters=t},updateAllThemeFilters(e,t){e.allThemeFilters=t},updateAllReadingLevelFilters(e,t){e.allReadingLevelFilters=t},updateAllGenreFilters(e,t){e.allGenreFilters=t},updateAllActionTypeFilters(e,t){e.allActionTypeFilters=t},updateAllCongressFilters(e,t){e.allCongressFilters=t},updateAllPositionFilters(e,t){e.allPositionFilters=t},updateAllChamberFilters(e,t){e.allChamberFilters=t},updateAllFederalDepartmentFilters(e,t){e.allFederalDepartmentFilters=t},updateAllFederalCommentsYearFilters(e,t){e.allFederalCommentsYearFilters=t},updateAllQuickActionFilters(e,t){e.allQuickActionFilters=t},updateAllFederalLegislationIssueFilters(e,t){e.allFederalLegislationIssueFilters=t},updateAllEventTypeFilters(e,t){e.allEventTypeFilters=t},updateAllRegionFilters(e,t){e.allRegionFilters=t},updateAllShowPastEventsFilters(e,t){e.allShowPastEventsFilters=t},updateAllBusinessItemTypeFilters(e,t){e.allBusinessItemTypeFilters=t},updateAllOutcomeFilters(e,t){e.allOutcomeFilters=t},updateAllStrategicObjectiveFilters(e,t){e.allStrategicObjectiveFilters=t},updateAllNEATodaySectionFilters(e,t){e.allNEATodaySectionFilters=t},updatePerPage(e,t){e.perPage=t},updateFacets(e,t){e.facets=t},updateOpenDropdown(e,t){e.openDropdown=t},updateIsAuthenticated(e,t){e.isAuthenticated=t},updateNextUrl(e,t){e.nextUrl=t}},actions:{}}),$i=s(9669),Bi=s.n($i),qi=s(5382),Mi=s.n(qi);const zi={bind:function(e,t,s){e.clickOutsideEvent=function(i){e==i.target||e.contains(i.target)||s.context[t.expression](i)},document.body.addEventListener("click",e.clickOutsideEvent)},unbind:function(e){document.body.removeEventListener("click",e.clickOutsideEvent)}};var Ki=s(5659),Gi=s.n(Ki);i.ZP.config.productionTip=!1,i.ZP.use(Mi(),Bi()),i.ZP.use(Gi()),i.ZP.filter("replaceSpacesWithHyphens",(function(e){return e?e.replace(/\s/g,"-"):""})),i.ZP.filter("lowercase",(function(e){return e?e.toString().toLowerCase():""})),i.ZP.filter("date",(function(e){let t=new Date(e),s=t.getFullYear(),i=t.getDate(),a=["January","February","March","April","May","June","July","August","September","October","November","December"],r=t.getMonth(),l=a[r];return l+" "+i+", "+s})),i.ZP.filter("strip",(function(e){return e?e.replace(/(<([^>]+)>)/gi,""):""})),i.ZP.directive("click-outside",zi),new i.ZP({router:Oi,store:Di,render:e=>e(Li)}).$mount("#app")},6700:function(e,t,s){var i={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":1146,"./es-us.js":1146,"./es.js":5655,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":1793,"./ru.js":1793,"./sd":950,"./sd.js":950,"./se"
1:490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function a(e){var t=r(e);return s(t)}function r(e){if(!s.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=r,e.exports=a,a.id=6700}},t={};function s(i){var a=t[i];if(void 0!==a)return a.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=e,function(){var e=[];s.O=function(t,i,a,r){if(!i){var l=1/0;for(d=0;d<e.length;d++){i=e[d][0],a=e[d][1],r=e[d][2];for(var n=!0,o=0;o<i.length;o++)(!1&r||l>=r)&&Object.keys(s.O).every((function(e){return s.O[e](i[o])}))?i.splice(o--,1):(n=!1,r<l&&(l=r));if(n){e.splice(d--,1);var u=a();void 0!==u&&(t=u)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[i,a,r]}}(),function(){s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,{a:t}),t}}(),function(){s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){s.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){var e={143:0};s.O.j=function(t){return 0===e[t]};var t=function(t,i){var a,r,l=i[0],n=i[1],o=i[2],u=0;if(l.some((function(t){return 0!==e[t]}))){for(a in n)s.o(n,a)&&(s.m[a]=n[a]);if(o)var d=o(s)}for(t&&t(i);u<l.length;u++)r=l[u],s.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return s.O(d)},i=self["webpackChunksearch"]=self["webpackChunksearch"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}();var i=s.O(void 0,[998],(function(){return s(5402)}));i=s.O(i)})(); 2//# sourceMappingURL=app.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.