politico-assets
Advanced tools
Comparing version 0.2.22 to 0.2.23
@@ -10,2 +10,2 @@ !function(t){function e(s){if(i[s])return i[s].exports;var n=i[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,s){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=5)}([function(t,e,i){"use strict";(function(t){var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(){function i(t){var i=Array.isArray(t)?{label:t[0],value:t[1]}:"object"==(void 0===t?"undefined":e(t))&&"label"in t&&"value"in t?t:{label:t,value:t};this.label=i.label||i.value,this.value=i.value}function s(t,e,i){for(var s in e){var n=e[s],a=t.input.getAttribute("data-"+s.toLowerCase());"number"==typeof n?t[s]=parseInt(a):!1===n?t[s]=null!==a:n instanceof Function?t[s]=null:t[s]=a,t[s]||0===t[s]||(t[s]=s in i?i[s]:n)}}function n(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function a(t,e){return l.call((e||document).querySelectorAll(t))}function o(){a("input.awesomplete").forEach(function(t){new r(t)})}var r=function t(e,i){var a=this;this.isOpened=!1,this.input=n(e),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),i=i||{},s(this,{minChars:2,maxItems:10,autoFirst:!1,data:t.DATA,filter:t.FILTER_CONTAINS,sort:!1!==i.sort&&t.SORT_BYLENGTH,item:t.ITEM,replace:t.REPLACE},i),this.index=-1,this.container=n.create("div",{className:"awesomplete",around:e}),this.ul=n.create("ul",{hidden:"hidden",inside:this.container}),this.status=n.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-relevant":"additions",inside:this.container}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;a.opened&&(13===e&&a.selected?(t.preventDefault(),a.select()):27===e?a.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),a[38===e?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(t){var e=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),a.select(e,t.target))}}}},n.bind(this.input,this._events.input),n.bind(this.input.form,this._events.form),n.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||i.list||[],t.all.push(this)};r.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=n(t))&&t.children){var e=[];l.apply(t.children).forEach(function(t){if(!t.disabled){var i=t.textContent.trim(),s=t.value||i,n=t.label||i;""!==s&&e.push({label:n,value:s})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(t){this.opened&&(this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,n.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.ul.removeAttribute("hidden"),this.isOpened=!0,this.autoFirst&&-1===this.index&&this.goto(0),n.fire(this.input,"awesomplete-open")},destroy:function(){n.unbind(this.input,this._events.input),n.unbind(this.input.form,this._events.form);var t=this.container.parentNode;t.insertBefore(this.input,this.container),t.removeChild(this.container),this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete");var e=r.all.indexOf(this);-1!==e&&r.all.splice(e,1)},next:function(){var t=this.ul.children.length;this.goto(this.index<t-1?this.index+1:t?0:-1)},previous:function(){var t=this.ul.children.length,e=this.index-1;this.goto(this.selected&&-1!==e?e:t-1)},goto:function(t){var e=this.ul.children;this.selected&&e[this.index].setAttribute("aria-selected","false"),this.index=t,t>-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent,this.ul.scrollTop=e[t].offsetTop-this.ul.clientHeight+e[t].clientHeight,n.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e){if(t?this.index=n.siblingIndex(t):t=this.ul.children[this.index],t){var i=this.suggestions[this.index];n.fire(this.input,"awesomplete-select",{text:i,origin:e||t})&&(this.replace(i),this.close({reason:"select"}),n.fire(this.input,"awesomplete-selectcomplete",{text:i}))}},evaluate:function(){var t=this,e=this.input.value;e.length>=this.minChars&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(s){return new i(t.data(s,e))}).filter(function(i){return t.filter(i,e)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(i){t.ul.appendChild(t.item(i,e))}),0===this.ul.children.length?this.close({reason:"nomatches"}):this.open()):this.close({reason:"nomatches"})}},r.all=[],r.FILTER_CONTAINS=function(t,e){return RegExp(n.regExpEscape(e.trim()),"i").test(t)},r.FILTER_STARTSWITH=function(t,e){return RegExp("^"+n.regExpEscape(e.trim()),"i").test(t)},r.SORT_BYLENGTH=function(t,e){return t.length!==e.length?t.length-e.length:t<e?-1:1},r.ITEM=function(t,e){return n.create("li",{innerHTML:""===e.trim()?t:t.replace(RegExp(n.regExpEscape(e.trim()),"gi"),"<mark>$&</mark>"),"aria-selected":"false"})},r.REPLACE=function(t){this.input.value=t.value},r.DATA=function(t){return t},Object.defineProperty(i.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),i.prototype.toString=i.prototype.valueOf=function(){return""+this.label};var l=Array.prototype.slice;n.create=function(t,e){var i=document.createElement(t);for(var s in e){var a=e[s];if("inside"===s)n(a).appendChild(i);else if("around"===s){var o=n(a);o.parentNode.insertBefore(i,o),i.appendChild(o)}else s in i?i[s]=a:i.setAttribute(s,a)}return i},n.bind=function(t,e){if(t)for(var i in e){var s=e[i];i.split(/\s+/).forEach(function(e){t.addEventListener(e,s)})}},n.unbind=function(t,e){if(t)for(var i in e){var s=e[i];i.split(/\s+/).forEach(function(e){t.removeEventListener(e,s)})}},n.fire=function(t,e,i){var s=document.createEvent("HTMLEvents");s.initEvent(e,!0,!0);for(var n in i)s[n]=i[n];return t.dispatchEvent(s)},n.regExpEscape=function(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},n.siblingIndex=function(t){for(var e=0;t=t.previousElementSibling;e++);return e},"undefined"!=typeof Document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o)),r.$=n,r.$$=a,"undefined"!=typeof self&&(self.Awesomplete=r),"object"==e(t)&&t.exports&&(t.exports=r)}()}).call(e,i(7)(t))},function(t,e,i){"use strict";var s,n,a;"function"==typeof Symbol&&Symbol.iterator;/*! | ||
*/ | ||
!function(o){n=[i(8)],s=o,void 0!==(a="function"==typeof s?s.apply(e,n):s)&&(t.exports=a)}(function(t){function e(t){return C.call(t).slice(8,-1).toLowerCase()}function i(t){return"string"==typeof t}function s(t){return"number"==typeof t&&!isNaN(t)}function n(t){return void 0===t}function a(t){return"date"===e(t)}function o(t,e){var i=[];return Array.from?Array.from(t).slice(e||0):(s(e)&&i.push(e),i.slice.apply(t,i))}function r(t,e){var i=o(arguments,2);return function(){return t.apply(e,i.concat(o(arguments)))}}function l(t){return t%4==0&&t%100!=0||t%400==0}function h(t,e){return[31,l(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]}function u(t){var e,i,s=String(t).toLowerCase(),n=s.match(y);if(!n||0===n.length)throw new Error("Invalid date format.");for(t={source:s,parts:n},e=n.length,i=0;i<e;i++)switch(n[i]){case"dd":case"d":t.hasDay=!0;break;case"mm":case"m":t.hasMonth=!0;break;case"yyyy":case"yy":t.hasYear=!0}return t}function c(e,i){i=t.isPlainObject(i)?i:{},i.language&&(i=t.extend({},c.LANGUAGES[i.language],i)),this.$element=t(e),this.options=t.extend({},c.DEFAULTS,i),this.isBuilt=!1,this.isShown=!1,this.isInput=!1,this.isInline=!1,this.initialValue="",this.initialDate=null,this.startDate=null,this.endDate=null,this.init()}var d=t(window),p=window.document,f=t(p),g=window.Number,m="datepicker",v="click.datepicker",y=/(y|m|d)+/g,b=/\d+/g,w=/^\d{2,4}$/,k=["datepicker-top-left","datepicker-top-right","datepicker-bottom-left","datepicker-bottom-right"].join(" "),x="datepicker-hide",D=Math.min,C=Object.prototype.toString;c.prototype={constructor:c,init:function(){var e=this.options,i=this.$element,s=e.startDate,n=e.endDate,a=e.date;this.$trigger=t(e.trigger),this.isInput=i.is("input")||i.is("textarea"),this.isInline=e.inline&&(e.container||!this.isInput),this.format=u(e.format),this.oldValue=this.initialValue=this.getValue(),a=this.parseDate(a||this.initialValue),s&&(s=this.parseDate(s),a.getTime()<s.getTime()&&(a=new Date(s)),this.startDate=s),n&&(n=this.parseDate(n),s&&n.getTime()<s.getTime()&&(n=new Date(s)),a.getTime()>n.getTime()&&(a=new Date(n)),this.endDate=n),this.date=a,this.viewDate=new Date(a),this.initialDate=new Date(this.date),this.bind(),(e.autoShow||this.isInline)&&this.show(),e.autoPick&&this.pick()},build:function(){var e,i=this.options,s=this.$element;this.isBuilt||(this.isBuilt=!0,this.$picker=e=t(i.template),this.$week=e.find('[data-view="week"]'),this.$yearsPicker=e.find('[data-view="years picker"]'),this.$yearsPrev=e.find('[data-view="years prev"]'),this.$yearsNext=e.find('[data-view="years next"]'),this.$yearsCurrent=e.find('[data-view="years current"]'),this.$years=e.find('[data-view="years"]'),this.$monthsPicker=e.find('[data-view="months picker"]'),this.$yearPrev=e.find('[data-view="year prev"]'),this.$yearNext=e.find('[data-view="year next"]'),this.$yearCurrent=e.find('[data-view="year current"]'),this.$months=e.find('[data-view="months"]'),this.$daysPicker=e.find('[data-view="days picker"]'),this.$monthPrev=e.find('[data-view="month prev"]'),this.$monthNext=e.find('[data-view="month next"]'),this.$monthCurrent=e.find('[data-view="month current"]'),this.$days=e.find('[data-view="days"]'),this.isInline?t(i.container||s).append(e.addClass("datepicker-inline")):(t(p.body).append(e.addClass("datepicker-dropdown")),e.addClass(x)),this.fillWeek())},unbuild:function(){this.isBuilt&&(this.isBuilt=!1,this.$picker.remove())},bind:function(){var e=this.options,i=this.$element;t.isFunction(e.show)&&i.on("show.datepicker",e.show),t.isFunction(e.hide)&&i.on("hide.datepicker",e.hide),t.isFunction(e.pick)&&i.on("pick.datepicker",e.pick),this.isInput&&i.on("keyup.datepicker",t.proxy(this.keyup,this)),this.isInline||(e.trigger?this.$trigger.on(v,t.proxy(this.toggle,this)):this.isInput?i.on("focus.datepicker",t.proxy(this.show,this)):i.on(v,t.proxy(this.show,this)))},unbind:function(){var e=this.options,i=this.$element;t.isFunction(e.show)&&i.off("show.datepicker",e.show),t.isFunction(e.hide)&&i.off("hide.datepicker",e.hide),t.isFunction(e.pick)&&i.off("pick.datepicker",e.pick),this.isInput&&i.off("keyup.datepicker",this.keyup),this.isInline||(e.trigger?this.$trigger.off(v,this.toggle):this.isInput?i.off("focus.datepicker",this.show):i.off(v,this.show))},showView:function(t){var e=this.$yearsPicker,i=this.$monthsPicker,s=this.$daysPicker,n=this.format;if(n.hasYear||n.hasMonth||n.hasDay)switch(g(t)){case 2:case"years":i.addClass(x),s.addClass(x),n.hasYear?(this.fillYears(),e.removeClass(x),this.place()):this.showView(0);break;case 1:case"months":e.addClass(x),s.addClass(x),n.hasMonth?(this.fillMonths(),i.removeClass(x),this.place()):this.showView(2);break;default:e.addClass(x),i.addClass(x),n.hasDay?(this.fillDays(),s.removeClass(x),this.place()):this.showView(1)}},hideView:function(){!this.isInline&&this.options.autoHide&&this.hide()},place:function(){if(!this.isInline){var t=this.options,e=this.$element,i=this.$picker,s=f.outerWidth(),n=f.outerHeight(),a=e.outerWidth(),o=e.outerHeight(),r=i.width(),l=i.height(),h=e.offset(),u=h.left,c=h.top,d=parseFloat(t.offset)||10,p="datepicker-top-left";c>l&&c+o+l>n?(c-=l+d,p="datepicker-bottom-left"):c+=o+d,u+r>s&&(u=u+a-r,p=p.replace("left","right")),i.removeClass(k).addClass(p).css({top:c,left:u,zIndex:parseInt(t.zIndex,10)})}},trigger:function(e,i){var s=t.Event(e,i);return this.$element.trigger(s),s},createItem:function(e){var i=this.options,s=i.itemTag,n={text:"",view:"",muted:!1,picked:!1,disabled:!1,highlighted:!1},a=[];return t.extend(n,e),n.muted&&a.push(i.mutedClass),n.highlighted&&a.push(i.highlightedClass),n.picked&&a.push(i.pickedClass),n.disabled&&a.push(i.disabledClass),"<"+s+' class="'+a.join(" ")+'"'+(n.view?' data-view="'+n.view+'"':"")+">"+n.text+"</"+s+">"},fillAll:function(){this.fillYears(),this.fillMonths(),this.fillDays()},fillWeek:function(){var e,i=this.options,s=parseInt(i.weekStart,10)%7,n=i.daysMin,a="";for(n=t.merge(n.slice(s),n.slice(0,s)),e=0;e<=6;e++)a+=this.createItem({text:n[e]});this.$week.html(a)},fillYears:function(){var e,i=this.options,s=i.disabledClass||"",n=i.yearSuffix||"",a=t.isFunction(i.filter)&&i.filter,o=this.startDate,r=this.endDate,l=this.viewDate,h=l.getFullYear(),u=l.getMonth(),c=l.getDate(),d=this.date,p=d.getFullYear(),f=!1,g=!1,m=!1,v=!1,y=!1,b="";for(e=-5;e<=6;e++)d=new Date(h+e,u,c),y=-5===e||6===e,v=h+e===p,m=!1,o&&(m=d.getFullYear()<o.getFullYear(),-5===e&&(f=m)),!m&&r&&(m=d.getFullYear()>r.getFullYear(),6===e&&(g=m)),!m&&a&&(m=!1===a.call(this.$element,d)),b+=this.createItem({text:h+e,view:m?"year disabled":v?"year picked":"year",muted:y,picked:v,disabled:m});this.$yearsPrev.toggleClass(s,f),this.$yearsNext.toggleClass(s,g),this.$yearsCurrent.toggleClass(s,!0).html(h+-5+n+" - "+(h+6)+n),this.$years.html(b)},fillMonths:function(){var e,i=this.options,s=i.disabledClass||"",n=i.monthsShort,a=t.isFunction(i.filter)&&i.filter,o=this.startDate,r=this.endDate,l=this.viewDate,h=l.getFullYear(),u=l.getDate(),c=this.date,d=c.getFullYear(),p=c.getMonth(),f=!1,g=!1,m=!1,v=!1,y="";for(e=0;e<=11;e++)c=new Date(h,e,u),v=h===d&&e===p,m=!1,o&&(f=c.getFullYear()===o.getFullYear(),m=f&&c.getMonth()<o.getMonth()),!m&&r&&(g=c.getFullYear()===r.getFullYear(),m=g&&c.getMonth()>r.getMonth()),!m&&a&&(m=!1===a.call(this.$element,c)),y+=this.createItem({index:e,text:n[e],view:m?"month disabled":v?"month picked":"month",picked:v,disabled:m});this.$yearPrev.toggleClass(s,f),this.$yearNext.toggleClass(s,g),this.$yearCurrent.toggleClass(s,f&&g).html(h+i.yearSuffix||""),this.$months.html(y)},fillDays:function(){var e,i,s,n=this.options,a=n.disabledClass||"",o=n.yearSuffix||"",r=n.monthsShort,l=parseInt(n.weekStart,10)%7,u=t.isFunction(n.filter)&&n.filter,c=this.startDate,d=this.endDate,p=this.viewDate,f=p.getFullYear(),g=p.getMonth(),m=f,v=g,y=f,b=new Date,w=b.getFullYear(),k=b.getMonth(),x=b.getDate(),D=g,C=this.date,$=C.getFullYear(),S=C.getMonth(),T=C.getDate(),j=!1,A=!1,I=!1,E=!1,M=[],F=[],_=[];for(0===g?(m-=1,v=11):v-=1,e=h(m,v),C=new Date(f,g,1),s=C.getDay()-l,s<=0&&(s+=7),c&&(j=C.getTime()<=c.getTime()),i=e-(s-1);i<=e;i++)C=new Date(m,v,i),I=!1,c&&(I=C.getTime()<c.getTime()),!I&&u&&(I=!1===u.call(this.$element,C)),M.push(this.createItem({text:i,view:"day prev",muted:!0,disabled:I,highlighted:m===w&&v===k&&C.getDate()===x}));for(11===g?(y+=1,D=0):D+=1,e=h(f,g),s=42-(M.length+e),C=new Date(f,g,e),d&&(A=C.getTime()>=d.getTime()),i=1;i<=s;i++)C=new Date(y,D,i),I=!1,d&&(I=C.getTime()>d.getTime()),!I&&u&&(I=!1===u.call(this.$element,C)),F.push(this.createItem({text:i,view:"day next",muted:!0,disabled:I,highlighted:y===w&&D===k&&C.getDate()===x}));for(i=1;i<=e;i++)C=new Date(f,g,i),E=f===$&&g===S&&i===T,I=!1,c&&(I=C.getTime()<c.getTime()),!I&&d&&(I=C.getTime()>d.getTime()),!I&&u&&(I=!1===u.call(this.$element,C)),_.push(this.createItem({text:i,view:I?"day disabled":E?"day picked":"day",picked:E,disabled:I,highlighted:f===w&&g===k&&C.getDate()===x}));this.$monthPrev.toggleClass(a,j),this.$monthNext.toggleClass(a,A),this.$monthCurrent.toggleClass(a,j&&A).html(n.yearFirst?f+o+" "+r[g]:r[g]+" "+f+o),this.$days.html(M.join("")+_.join(" ")+F.join(""))},click:function(e){var i,s,n,a,o,r,l=t(e.target),h=this.viewDate;if(e.stopPropagation(),e.preventDefault(),!l.hasClass("disabled"))switch(i=h.getFullYear(),s=h.getMonth(),n=h.getDate(),r=l.data("view")){case"years prev":case"years next":i="years prev"===r?i-10:i+10,o=l.text(),a=w.test(o),a&&(i=parseInt(o,10),this.date=new Date(i,s,D(n,28))),this.viewDate=new Date(i,s,D(n,28)),this.fillYears(),a&&(this.showView(1),this.pick("year"));break;case"year prev":case"year next":i="year prev"===r?i-1:i+1,this.viewDate=new Date(i,s,D(n,28)),this.fillMonths();break;case"year current":this.format.hasYear&&this.showView(2);break;case"year picked":this.format.hasMonth?this.showView(1):this.hideView(),this.pick("year");break;case"year":i=parseInt(l.text(),10),this.date=new Date(i,s,D(n,28)),this.viewDate=new Date(i,s,D(n,28)),this.format.hasMonth?this.showView(1):this.hideView(),this.pick("year");break;case"month prev":case"month next":s="month prev"===r?s-1:"month next"===r?s+1:s,this.viewDate=new Date(i,s,D(n,28)),this.fillDays();break;case"month current":this.format.hasMonth&&this.showView(1);break;case"month picked":this.format.hasDay?this.showView(0):this.hideView(),this.pick("month");break;case"month":s=t.inArray(l.text(),this.options.monthsShort),this.date=new Date(i,s,D(n,28)),this.viewDate=new Date(i,s,D(n,28)),this.format.hasDay?this.showView(0):this.hideView(),this.pick("month");break;case"day prev":case"day next":case"day":s="day prev"===r?s-1:"day next"===r?s+1:s,n=parseInt(l.text(),10),this.date=new Date(i,s,n),this.viewDate=new Date(i,s,n),this.fillDays(),"day"===r&&this.hideView(),this.pick("day");break;case"day picked":this.hideView(),this.pick("day")}},clickDoc:function(t){for(var e,i=t.target,s=this.$element[0],n=this.$trigger[0];i!==p;){if(i===n||i===s){e=!0;break}i=i.parentNode}e||this.hide()},keyup:function(){this.update()},keyupDoc:function(t){this.isInput&&t.target!==this.$element[0]&&this.isShown&&("Tab"===t.key||9===t.keyCode)&&this.hide()},getValue:function(){var t=this.$element,e="";return this.isInput?e=t.val():this.isInline?this.options.container&&(e=t.text()):e=t.text(),e},setValue:function(t){var e=this.$element;t=i(t)?t:"",this.isInput?e.val(t):this.isInline?this.options.container&&e.text(t):e.text(t)},show:function(){this.isBuilt||this.build(),this.isShown||this.trigger("show.datepicker").isDefaultPrevented()||(this.isShown=!0,this.$picker.removeClass(x).on(v,t.proxy(this.click,this)),this.showView(this.options.startView),this.isInline||(d.on("resize.datepicker",this._place=r(this.place,this)),f.on(v,this._clickDoc=r(this.clickDoc,this)),f.on("keyup.datepicker",this._keyupDoc=r(this.keyupDoc,this)),this.place()))},hide:function(){this.isShown&&(this.trigger("hide.datepicker").isDefaultPrevented()||(this.isShown=!1,this.$picker.addClass(x).off(v,this.click),this.isInline||(d.off("resize.datepicker",this._place),f.off(v,this._clickDoc),f.off("keyup.datepicker",this._keyupDoc))))},toggle:function(){this.isShown?this.hide():this.show()},update:function(){var t=this.getValue();t!==this.oldValue&&(this.setDate(t,!0),this.oldValue=t)},pick:function(t){var e=this.$element,i=this.date;this.trigger("pick.datepicker",{view:t||"",date:i}).isDefaultPrevented()||(this.setValue(i=this.formatDate(this.date)),this.isInput&&e.trigger("change"))},reset:function(){this.setDate(this.initialDate,!0),this.setValue(this.initialValue),this.isShown&&this.showView(this.options.startView)},getMonthName:function(e,i){var a=this.options,o=a.months;return t.isNumeric(e)?e=g(e):n(i)&&(i=e),!0===i&&(o=a.monthsShort),o[s(e)?e:this.date.getMonth()]},getDayName:function(e,i,a){var o=this.options,r=o.days;return t.isNumeric(e)?e=g(e):(n(a)&&(a=i),n(i)&&(i=e)),r=!0===a?o.daysMin:!0===i?o.daysShort:r,r[s(e)?e:this.date.getDay()]},getDate:function(t){var e=this.date;return t?this.formatDate(e):new Date(e)},setDate:function(e,s){var n=this.options.filter;if(a(e)||i(e)){if(e=this.parseDate(e),t.isFunction(n)&&!1===n.call(this.$element,e))return;this.date=e,this.viewDate=new Date(e),s||this.pick(),this.isBuilt&&this.fillAll()}},setStartDate:function(t){(a(t)||i(t))&&(this.startDate=this.parseDate(t),this.isBuilt&&this.fillAll())},setEndDate:function(t){(a(t)||i(t))&&(this.endDate=this.parseDate(t),this.isBuilt&&this.fillAll())},parseDate:function(t){var e,s,n,o,r,l,h=this.format,u=[];if(a(t))return new Date(t.getFullYear(),t.getMonth(),t.getDate());if(i(t)&&(u=t.match(b)||[]),t=new Date,s=t.getFullYear(),n=t.getDate(),o=t.getMonth(),e=h.parts.length,u.length===e)for(l=0;l<e;l++)switch(r=parseInt(u[l],10)||1,h.parts[l]){case"dd":case"d":n=r;break;case"mm":case"m":o=r-1;break;case"yy":s=2e3+r;break;case"yyyy":s=r}return new Date(s,o,n)},formatDate:function(t){var e,i,s,n,o,r=this.format,l="";if(a(t))for(l=r.source,i=t.getFullYear(),n={d:t.getDate(),m:t.getMonth()+1,yy:i.toString().substring(2),yyyy:i},n.dd=(n.d<10?"0":"")+n.d,n.mm=(n.m<10?"0":"")+n.m,e=r.parts.length,o=0;o<e;o++)s=r.parts[o],l=l.replace(s,n[s]);return l},destroy:function(){this.unbind(),this.unbuild(),this.$element.removeData(m)}},c.LANGUAGES={},c.DEFAULTS={autoShow:!1,autoHide:!1,autoPick:!1,inline:!1,container:null,trigger:null,language:"",format:"mm/dd/yyyy",date:null,startDate:null,endDate:null,startView:0,weekStart:0,yearFirst:!1,yearSuffix:"",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],itemTag:"li",mutedClass:"muted",pickedClass:"picked",disabledClass:"disabled",highlightedClass:"highlighted",template:'<div class="datepicker-container"><div class="datepicker-panel" data-view="years picker"><ul><li data-view="years prev">‹</li><li data-view="years current"></li><li data-view="years next">›</li></ul><ul data-view="years"></ul></div><div class="datepicker-panel" data-view="months picker"><ul><li data-view="year prev">‹</li><li data-view="year current"></li><li data-view="year next">›</li></ul><ul data-view="months"></ul></div><div class="datepicker-panel" data-view="days picker"><ul><li data-view="month prev">‹</li><li data-view="month current"></li><li data-view="month next">›</li></ul><ul data-view="week"></ul><ul data-view="days"></ul></div></div>',offset:10,zIndex:1e3,filter:null,show:null,hide:null,pick:null},c.setDefaults=function(e){e=t.isPlainObject(e)?e:{},e.language&&(e=t.extend({},c.LANGUAGES[e.language],e)),t.extend(c.DEFAULTS,e)},c.other=t.fn.datepicker,t.fn.datepicker=function(e){var s,a=o(arguments,1);return this.each(function(){var n,o,r=t(this),l=r.data(m);if(!l){if(/destroy/.test(e))return;n=t.extend({},r.data(),t.isPlainObject(e)&&e),r.data(m,l=new c(this,n))}i(e)&&t.isFunction(o=l[e])&&(s=o.apply(l,a))}),n(s)?this:s},t.fn.datepicker.Constructor=c,t.fn.datepicker.languages=c.LANGUAGES,t.fn.datepicker.setDefaults=c.setDefaults,t.fn.datepicker.noConflict=function(){return t.fn.datepicker=c.other,this}})},function(t,e,i){"use strict";!function(t){t.fn.autocomplete=function(e){var i=this,s=t("body"),n=e.case_sensitive||"yes",a=e.min_length||0,o=e.limit_number_suggestions||666,r=[];if(i.length){var l=function(){t("#js-codeit").html("You have to code a function or a redirection to display more results ;)")};i.each(function(e){var i=t(this),s=i.attr("id"),a=t('label[for="'+s+'"]'),o=e+1,l=i.data(),h=void 0!==l.comboboxPrefixClass?l.comboboxPrefixClass+"-":"",u=void 0!==l.comboboxHelpText?l.comboboxHelpText:"Use tabulation (or down) key to access and browse suggestions after input. Confirm your choice with enter key, or esc key to close suggestions box.",c=t("#"+i.attr("list")),d=void 0!==l.comboboxButtonTitle?l.comboboxButtonTitle:"clear this field",p=void 0!==l.comboboxButtonText?l.comboboxButtonText:"X",f=void 0!==l.comboboxCaseSensitive?l.comboboxCaseSensitive:n,g=[];i.attr({"data-number":o,autocorrect:"off",autocapitalize:"off",spellcheck:"off",autocomplete:"off","aria-describedby":h+"help-text"+o,"aria-autocomplete":"list","data-lastval":"","aria-owns":h+"suggest_"+o}),c.find("option").each(function(t,e){g.push(e.value)}),r[o]="no"===f?g.sort(function(t,e){return t=t.toLowerCase(),e=e.toLowerCase(),t==e?0:t>e?1:-1}):g.sort(),i.wrap('<div class="'+h+'container js-container" data-combobox-prefix-class="'+h+'"></div>');var m=i.parent();m.append('<div id="'+h+"suggest_"+o+'" class="js-suggest '+h+'suggestions"><div role="listbox"></div></div>'),c.remove(),m.prepend('<div id="'+h+"suggestion-text"+o+'" class="js-suggestion-text '+h+'suggestion-text invisible" aria-live="assertive"></div>'),m.prepend('<span id="'+h+"help-text"+o+'" class="'+h+'help-text invisible">'+u+"</span>"),a.attr("id","label-id-"+s),i.after('<button class="js-clear-button '+h+'clear-button" aria-label="'+d+'" title="'+d+'" aria-describedby="label-id-'+s+'" type="button">'+p+"</button>")}),s.on("keyup",".js-combobox",function(e){var i=t(this),s=i.data(),l=i.parent(),h=l.parents("form"),u=l.data(),c=void 0!==u.comboboxPrefixClass?u.comboboxPrefixClass:"",d=l.find(".js-suggest div"),p=(d.find(".js-suggestion"),l.find(".js-suggestion-text")),f=void 0!==s.suggestionSingle?s.suggestionSingle:"There is ",g=void 0!==s.suggestionPlural?s.suggestionPlural:"There are ",m=void 0!==s.suggestionWord?s.suggestionWord:"suggestion",v=void 0!==s.comboboxMinLength?Math.abs(s.comboboxMinLength):a,y=void 0!==s.comboboxCaseSensitive?s.comboboxCaseSensitive:n,b=void 0!==s.comboboxLimitNumberSuggestions?Math.abs(s.comboboxLimitNumberSuggestions):o,w=void 0!==s.comboboxSearchOption?s.comboboxSearchOption:"beginning",k=(void 0!==s.comboboxSeeMoreText&&s.comboboxSeeMoreText,i.attr("data-number")),x=i.val(),D="";if(13===e.keyCode)h.submit();else if(27!==e.keyCode){i.attr("data-lastval",x);var C=r[k].length,$=0,S=0;if(d.empty(),""!=x&&x.length>=v){for(;$<C;)S<b&&("containing"===w&&"yes"===y&&r[k][$].indexOf(x)>=0||"no"===y&&r[k][$].toUpperCase().indexOf(x.toUpperCase())>=0||"beginning"===w&&"yes"===y&&r[k][$].substring(0,x.length)===x||"no"===y&&r[k][$].substring(0,x.length).toUpperCase()===x.toUpperCase())&&(d.append('<div id="suggestion-'+k+"-"+S+'" class="js-suggestion '+c+'suggestion" tabindex="-1" role="option">'+r[k][$]+"</div>"),S++),$++;if(S>=b&&S++,S>1&&(D=g+S+" "+m+"s."),1===S&&(D=f+S+" "+m+"."),0===S&&(D=f+S+" "+m+"."),S>=0){var T=p.text();if(D!=T){var j=t("<p>").text(D);p.attr("aria-live","polite"),p.empty(),p.append(j)}}}}}).on("click",function(e){var i=t(e.target),s=t(".js-suggestion-text:not(:empty)"),n=s.parents(".js-container"),a=n.find(".js-combobox"),o=n.find(".js-suggest div");i.is(".js-suggestion")||i.is(".js-combobox")||!s.length||(a.val(a.attr("data-lastval")),o.empty(),s.empty())}).on("keydown",".js-combobox",function(e){var i=t(this),s=i.parent(),n=s.find(".js-combobox"),a=s.find(".js-suggest div"),o=a.find(".js-suggestion"),r=s.find(".js-suggestion-text"),l=void 0===i.attr("data-combobox-notab-options"),h=o.first();(!e.shiftKey&&9==e.keyCode&&l||40==e.keyCode)&&o.length&&(n.val(h.html()),o.first().focus(),e.preventDefault()),(27==e.keyCode||!1===l&&9==e.keyCode)&&(n.val(n.attr("data-lastval")),a.empty(),r.empty(),27==e.keyCode&&(e.preventDefault(),setTimeout(function(){n.focus()},300)))}).on("keydown",".js-suggestion",function(e){var i=t(this),s=i.parents(".js-container"),n=s.find(".js-combobox"),a=void 0===n.attr("data-combobox-notab-options"),o=s.find(".js-suggest div"),r=s.find(".js-suggestion-text"),h=i.next(),u=i.prev();if((27==e.keyCode||!1===a&&9==e.keyCode)&&(27==e.keyCode&&(n.val(n.attr("data-lastval")),o.empty(),r.empty(),setTimeout(function(){n.focus()},300),e.preventDefault()),!1===a&&9==e.keyCode&&(o.empty(),r.empty(),n.focus())),13!=e.keyCode&&32!=e.keyCode||(i.hasClass("js-seemore")?(n.val(n.attr("data-lastval")),o.empty(),r.empty(),setTimeout(function(){n.focus()},300),setTimeout(function(){l()},301),e.preventDefault()):(n.val(i.html()),n.attr("data-lastval",i.html()),o.empty(),r.empty(),setTimeout(function(){n.focus()},300),e.preventDefault())),!e.shiftKey&&9==e.keyCode&&a||40==e.keyCode){if(h.length)n.val(h.html()),h.focus();else if(n.val(n.attr("data-lastval")),e.shiftKey||9!=e.keyCode)setTimeout(function(){n.focus()},300);else{var c=jQuery.Event("keydown");c.which=27,c.keyCode=27,i.trigger(c)}e.preventDefault()}(e.shiftKey&&9==e.keyCode&&a||38==e.keyCode)&&(u.length?(n.val(u.html()),u.focus()):n.val(n.attr("data-lastval")).focus(),e.preventDefault())}).on("click",".js-clear-button",function(e){var i=t(this),s=i.parent(),n=s.find(".js-combobox"),a=s.find(".js-suggest div"),o=s.find(".js-suggestion-text");a.empty(),o.empty(),n.val(""),n.attr("data-lastval","")}).on("click",".js-suggestion",function(e){var i=t(this),s=i.html(),n=i.parents(".js-container"),a=n.find(".js-combobox"),o=n.find(".js-suggest div"),r=n.find(".js-suggestion-text");i.hasClass("js-seemore")?(o.empty(),r.empty(),a.focus(),l()):(a.val(s).focus(),o.empty(),r.empty())})}}}(jQuery)},function(t,e,i){"use strict";function s(t){return(0,o.debounce)(function(){var e=$(this),i=e.val();i.length>1&&0==h&&(h=!0,$.ajax({type:"GET",url:"/legislative-compass/_search_crsIssueArea_lookup",data:{text:i},success:n(t,e)}))},333)}function n(t,e){return function(i){if(h=!1,null!=i&&void 0==i.success){var s=$(t).val()||[],n=i.map(function(t){return t.name||t.term}),o=n.concat(s.filter(function(t){return n.indexOf(t)<0})),r=o.map(a),l=e.val();$(t).html(r).val(s).trigger("chosen:updated"),e.val(l)}}}function a(t){var e=document.createElement("option");return e.value=t,e.innerText=t,e}var o=i(6),r=(0,o.debounce)(function(){var t=$(this).val(),e=$(this);if(t.length>1&&0==h){h=!0;var i=null!=$("#states").val()?$("#states").val().toString():"",s={text:t,jurisdiction:""!=i?i:"US"};$.ajax({type:"GET",url:"/legislative-compass/_search_committee_lookup",data:s,success:n("#committee-filter",e)})}},333),l=(0,o.debounce)(function(){var t=$(this).val();t.includes("Rep.")?(rollCallVoteSearch(),$("#voteCast").prop("disabled",!1)):($("#voteCast").prop("disabled",!0),$("#voteCast").val("")),t.length>1&&0==h&&(h=!0,$.ajax({type:"GET",url:"/legislative-compass/_search_legislator_lookup",data:{text:t}}).done(function(t){h=!1;var e=t.map(function(t){return t.name});c=c.concat(e.filter(function(t){return c.indexOf(t)<0})),d.list=c}))},333),h=!1;$(document).on("input","#committeeFilterList input",r).on("input","#crsIssueAreaListItem input",s("#crsIssueArea")).on("input","#issueArea_chosen input",s("#issueArea")).on("input","#legislator",l),document.getElementById("legislator").addEventListener("awesomplete-selectcomplete",function(t){this.value.includes("Rep.")?(rollCallVoteSearch(),$("#voteCast").prop("disabled",!1)):($("#voteCast").prop("disabled",!0),$("#voteCast").val(""))});var u=$("#legislator"),c=[],d=void 0;u.length&&(c=$("#legislatorList option").toArray().map(function(t){return t.value}),d=new Awesomplete(u[0]),d.list=c)},function(t,e,i){"use strict";!function(){function t(){var i,s=this.querySelectorAll("template"),n=[],a=0;if(e){for(i=this.cloneNode(!0),s=i.content.querySelectorAll("template");s[a];a++)s[a].clone=t;return i}for(;s[a];a++)n.push(s[a].content);for(i=this.cloneNode(!0),i.content=this.content,i.clone=t,s=i.querySelectorAll("template"),a=0;s[a];a++)s[a].content=n[a],s[a].clone=t;return i}var e="content"in document.createElement("template");if(!e)for(var i,s,n,a,o,r=Array.prototype.slice.call(document.getElementsByTagName("template")),l=0;i=r[l++];){for(s=i.children,n=document.createDocumentFragment(),o=0;a=s[o];o++)n.appendChild(a);i.content=n}for(var i,r=document.querySelectorAll("template"),l=0;i=r[l++];)i.clone=t}()},function(t,e,i){"use strict";i(4),i(1),i(2),i(0),i(3),$(document).ready(function(){var t=new Date;$(".js-datepicker").datepicker({daysMin:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],endDate:t,offset:-1}),$(".js-chosen").chosen()}),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&$("html").addClass("ios")},function(t,e,i){"use strict";function s(t,e,i){var s;return function(){var n=this,a=arguments,o=function(){s=null,i||t.apply(n,a)},r=i&&!s;clearTimeout(s),s=setTimeout(o,e),r&&t.apply(n,a)}}Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=s},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){t.exports=jQuery}]); | ||
!function(o){n=[i(8)],s=o,void 0!==(a="function"==typeof s?s.apply(e,n):s)&&(t.exports=a)}(function(t){function e(t){return C.call(t).slice(8,-1).toLowerCase()}function i(t){return"string"==typeof t}function s(t){return"number"==typeof t&&!isNaN(t)}function n(t){return void 0===t}function a(t){return"date"===e(t)}function o(t,e){var i=[];return Array.from?Array.from(t).slice(e||0):(s(e)&&i.push(e),i.slice.apply(t,i))}function r(t,e){var i=o(arguments,2);return function(){return t.apply(e,i.concat(o(arguments)))}}function l(t){return t%4==0&&t%100!=0||t%400==0}function h(t,e){return[31,l(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]}function u(t){var e,i,s=String(t).toLowerCase(),n=s.match(y);if(!n||0===n.length)throw new Error("Invalid date format.");for(t={source:s,parts:n},e=n.length,i=0;i<e;i++)switch(n[i]){case"dd":case"d":t.hasDay=!0;break;case"mm":case"m":t.hasMonth=!0;break;case"yyyy":case"yy":t.hasYear=!0}return t}function c(e,i){i=t.isPlainObject(i)?i:{},i.language&&(i=t.extend({},c.LANGUAGES[i.language],i)),this.$element=t(e),this.options=t.extend({},c.DEFAULTS,i),this.isBuilt=!1,this.isShown=!1,this.isInput=!1,this.isInline=!1,this.initialValue="",this.initialDate=null,this.startDate=null,this.endDate=null,this.init()}var d=t(window),p=window.document,f=t(p),g=window.Number,m="datepicker",v="click.datepicker",y=/(y|m|d)+/g,b=/\d+/g,w=/^\d{2,4}$/,k=["datepicker-top-left","datepicker-top-right","datepicker-bottom-left","datepicker-bottom-right"].join(" "),x="datepicker-hide",D=Math.min,C=Object.prototype.toString;c.prototype={constructor:c,init:function(){var e=this.options,i=this.$element,s=e.startDate,n=e.endDate,a=e.date;this.$trigger=t(e.trigger),this.isInput=i.is("input")||i.is("textarea"),this.isInline=e.inline&&(e.container||!this.isInput),this.format=u(e.format),this.oldValue=this.initialValue=this.getValue(),a=this.parseDate(a||this.initialValue),s&&(s=this.parseDate(s),a.getTime()<s.getTime()&&(a=new Date(s)),this.startDate=s),n&&(n=this.parseDate(n),s&&n.getTime()<s.getTime()&&(n=new Date(s)),a.getTime()>n.getTime()&&(a=new Date(n)),this.endDate=n),this.date=a,this.viewDate=new Date(a),this.initialDate=new Date(this.date),this.bind(),(e.autoShow||this.isInline)&&this.show(),e.autoPick&&this.pick()},build:function(){var e,i=this.options,s=this.$element;this.isBuilt||(this.isBuilt=!0,this.$picker=e=t(i.template),this.$week=e.find('[data-view="week"]'),this.$yearsPicker=e.find('[data-view="years picker"]'),this.$yearsPrev=e.find('[data-view="years prev"]'),this.$yearsNext=e.find('[data-view="years next"]'),this.$yearsCurrent=e.find('[data-view="years current"]'),this.$years=e.find('[data-view="years"]'),this.$monthsPicker=e.find('[data-view="months picker"]'),this.$yearPrev=e.find('[data-view="year prev"]'),this.$yearNext=e.find('[data-view="year next"]'),this.$yearCurrent=e.find('[data-view="year current"]'),this.$months=e.find('[data-view="months"]'),this.$daysPicker=e.find('[data-view="days picker"]'),this.$monthPrev=e.find('[data-view="month prev"]'),this.$monthNext=e.find('[data-view="month next"]'),this.$monthCurrent=e.find('[data-view="month current"]'),this.$days=e.find('[data-view="days"]'),this.isInline?t(i.container||s).append(e.addClass("datepicker-inline")):(t(p.body).append(e.addClass("datepicker-dropdown")),e.addClass(x)),this.fillWeek())},unbuild:function(){this.isBuilt&&(this.isBuilt=!1,this.$picker.remove())},bind:function(){var e=this.options,i=this.$element;t.isFunction(e.show)&&i.on("show.datepicker",e.show),t.isFunction(e.hide)&&i.on("hide.datepicker",e.hide),t.isFunction(e.pick)&&i.on("pick.datepicker",e.pick),this.isInput&&i.on("keyup.datepicker",t.proxy(this.keyup,this)),this.isInline||(e.trigger?this.$trigger.on(v,t.proxy(this.toggle,this)):this.isInput?i.on("focus.datepicker",t.proxy(this.show,this)):i.on(v,t.proxy(this.show,this)))},unbind:function(){var e=this.options,i=this.$element;t.isFunction(e.show)&&i.off("show.datepicker",e.show),t.isFunction(e.hide)&&i.off("hide.datepicker",e.hide),t.isFunction(e.pick)&&i.off("pick.datepicker",e.pick),this.isInput&&i.off("keyup.datepicker",this.keyup),this.isInline||(e.trigger?this.$trigger.off(v,this.toggle):this.isInput?i.off("focus.datepicker",this.show):i.off(v,this.show))},showView:function(t){var e=this.$yearsPicker,i=this.$monthsPicker,s=this.$daysPicker,n=this.format;if(n.hasYear||n.hasMonth||n.hasDay)switch(g(t)){case 2:case"years":i.addClass(x),s.addClass(x),n.hasYear?(this.fillYears(),e.removeClass(x),this.place()):this.showView(0);break;case 1:case"months":e.addClass(x),s.addClass(x),n.hasMonth?(this.fillMonths(),i.removeClass(x),this.place()):this.showView(2);break;default:e.addClass(x),i.addClass(x),n.hasDay?(this.fillDays(),s.removeClass(x),this.place()):this.showView(1)}},hideView:function(){!this.isInline&&this.options.autoHide&&this.hide()},place:function(){if(!this.isInline){var t=this.options,e=this.$element,i=this.$picker,s=f.outerWidth(),n=f.outerHeight(),a=e.outerWidth(),o=e.outerHeight(),r=i.width(),l=i.height(),h=e.offset(),u=h.left,c=h.top,d=parseFloat(t.offset)||10,p="datepicker-top-left";c>l&&c+o+l>n?(c-=l+d,p="datepicker-bottom-left"):c+=o+d,u+r>s&&(u=u+a-r,p=p.replace("left","right")),i.removeClass(k).addClass(p).css({top:c,left:u,zIndex:parseInt(t.zIndex,10)})}},trigger:function(e,i){var s=t.Event(e,i);return this.$element.trigger(s),s},createItem:function(e){var i=this.options,s=i.itemTag,n={text:"",view:"",muted:!1,picked:!1,disabled:!1,highlighted:!1},a=[];return t.extend(n,e),n.muted&&a.push(i.mutedClass),n.highlighted&&a.push(i.highlightedClass),n.picked&&a.push(i.pickedClass),n.disabled&&a.push(i.disabledClass),"<"+s+' class="'+a.join(" ")+'"'+(n.view?' data-view="'+n.view+'"':"")+">"+n.text+"</"+s+">"},fillAll:function(){this.fillYears(),this.fillMonths(),this.fillDays()},fillWeek:function(){var e,i=this.options,s=parseInt(i.weekStart,10)%7,n=i.daysMin,a="";for(n=t.merge(n.slice(s),n.slice(0,s)),e=0;e<=6;e++)a+=this.createItem({text:n[e]});this.$week.html(a)},fillYears:function(){var e,i=this.options,s=i.disabledClass||"",n=i.yearSuffix||"",a=t.isFunction(i.filter)&&i.filter,o=this.startDate,r=this.endDate,l=this.viewDate,h=l.getFullYear(),u=l.getMonth(),c=l.getDate(),d=this.date,p=d.getFullYear(),f=!1,g=!1,m=!1,v=!1,y=!1,b="";for(e=-5;e<=6;e++)d=new Date(h+e,u,c),y=-5===e||6===e,v=h+e===p,m=!1,o&&(m=d.getFullYear()<o.getFullYear(),-5===e&&(f=m)),!m&&r&&(m=d.getFullYear()>r.getFullYear(),6===e&&(g=m)),!m&&a&&(m=!1===a.call(this.$element,d)),b+=this.createItem({text:h+e,view:m?"year disabled":v?"year picked":"year",muted:y,picked:v,disabled:m});this.$yearsPrev.toggleClass(s,f),this.$yearsNext.toggleClass(s,g),this.$yearsCurrent.toggleClass(s,!0).html(h+-5+n+" - "+(h+6)+n),this.$years.html(b)},fillMonths:function(){var e,i=this.options,s=i.disabledClass||"",n=i.monthsShort,a=t.isFunction(i.filter)&&i.filter,o=this.startDate,r=this.endDate,l=this.viewDate,h=l.getFullYear(),u=l.getDate(),c=this.date,d=c.getFullYear(),p=c.getMonth(),f=!1,g=!1,m=!1,v=!1,y="";for(e=0;e<=11;e++)c=new Date(h,e,u),v=h===d&&e===p,m=!1,o&&(f=c.getFullYear()===o.getFullYear(),m=f&&c.getMonth()<o.getMonth()),!m&&r&&(g=c.getFullYear()===r.getFullYear(),m=g&&c.getMonth()>r.getMonth()),!m&&a&&(m=!1===a.call(this.$element,c)),y+=this.createItem({index:e,text:n[e],view:m?"month disabled":v?"month picked":"month",picked:v,disabled:m});this.$yearPrev.toggleClass(s,f),this.$yearNext.toggleClass(s,g),this.$yearCurrent.toggleClass(s,f&&g).html(h+i.yearSuffix||""),this.$months.html(y)},fillDays:function(){var e,i,s,n=this.options,a=n.disabledClass||"",o=n.yearSuffix||"",r=n.monthsShort,l=parseInt(n.weekStart,10)%7,u=t.isFunction(n.filter)&&n.filter,c=this.startDate,d=this.endDate,p=this.viewDate,f=p.getFullYear(),g=p.getMonth(),m=f,v=g,y=f,b=new Date,w=b.getFullYear(),k=b.getMonth(),x=b.getDate(),D=g,C=this.date,$=C.getFullYear(),S=C.getMonth(),T=C.getDate(),j=!1,A=!1,I=!1,E=!1,M=[],F=[],_=[];for(0===g?(m-=1,v=11):v-=1,e=h(m,v),C=new Date(f,g,1),s=C.getDay()-l,s<=0&&(s+=7),c&&(j=C.getTime()<=c.getTime()),i=e-(s-1);i<=e;i++)C=new Date(m,v,i),I=!1,c&&(I=C.getTime()<c.getTime()),!I&&u&&(I=!1===u.call(this.$element,C)),M.push(this.createItem({text:i,view:"day prev",muted:!0,disabled:I,highlighted:m===w&&v===k&&C.getDate()===x}));for(11===g?(y+=1,D=0):D+=1,e=h(f,g),s=42-(M.length+e),C=new Date(f,g,e),d&&(A=C.getTime()>=d.getTime()),i=1;i<=s;i++)C=new Date(y,D,i),I=!1,d&&(I=C.getTime()>d.getTime()),!I&&u&&(I=!1===u.call(this.$element,C)),F.push(this.createItem({text:i,view:"day next",muted:!0,disabled:I,highlighted:y===w&&D===k&&C.getDate()===x}));for(i=1;i<=e;i++)C=new Date(f,g,i),E=f===$&&g===S&&i===T,I=!1,c&&(I=C.getTime()<c.getTime()),!I&&d&&(I=C.getTime()>d.getTime()),!I&&u&&(I=!1===u.call(this.$element,C)),_.push(this.createItem({text:i,view:I?"day disabled":E?"day picked":"day",picked:E,disabled:I,highlighted:f===w&&g===k&&C.getDate()===x}));this.$monthPrev.toggleClass(a,j),this.$monthNext.toggleClass(a,A),this.$monthCurrent.toggleClass(a,j&&A).html(n.yearFirst?f+o+" "+r[g]:r[g]+" "+f+o),this.$days.html(M.join("")+_.join(" ")+F.join(""))},click:function(e){var i,s,n,a,o,r,l=t(e.target),h=this.viewDate;if(e.stopPropagation(),e.preventDefault(),!l.hasClass("disabled"))switch(i=h.getFullYear(),s=h.getMonth(),n=h.getDate(),r=l.data("view")){case"years prev":case"years next":i="years prev"===r?i-10:i+10,o=l.text(),a=w.test(o),a&&(i=parseInt(o,10),this.date=new Date(i,s,D(n,28))),this.viewDate=new Date(i,s,D(n,28)),this.fillYears(),a&&(this.showView(1),this.pick("year"));break;case"year prev":case"year next":i="year prev"===r?i-1:i+1,this.viewDate=new Date(i,s,D(n,28)),this.fillMonths();break;case"year current":this.format.hasYear&&this.showView(2);break;case"year picked":this.format.hasMonth?this.showView(1):this.hideView(),this.pick("year");break;case"year":i=parseInt(l.text(),10),this.date=new Date(i,s,D(n,28)),this.viewDate=new Date(i,s,D(n,28)),this.format.hasMonth?this.showView(1):this.hideView(),this.pick("year");break;case"month prev":case"month next":s="month prev"===r?s-1:"month next"===r?s+1:s,this.viewDate=new Date(i,s,D(n,28)),this.fillDays();break;case"month current":this.format.hasMonth&&this.showView(1);break;case"month picked":this.format.hasDay?this.showView(0):this.hideView(),this.pick("month");break;case"month":s=t.inArray(l.text(),this.options.monthsShort),this.date=new Date(i,s,D(n,28)),this.viewDate=new Date(i,s,D(n,28)),this.format.hasDay?this.showView(0):this.hideView(),this.pick("month");break;case"day prev":case"day next":case"day":s="day prev"===r?s-1:"day next"===r?s+1:s,n=parseInt(l.text(),10),this.date=new Date(i,s,n),this.viewDate=new Date(i,s,n),this.fillDays(),"day"===r&&this.hideView(),this.pick("day");break;case"day picked":this.hideView(),this.pick("day")}},clickDoc:function(t){for(var e,i=t.target,s=this.$element[0],n=this.$trigger[0];i!==p;){if(i===n||i===s){e=!0;break}i=i.parentNode}e||this.hide()},keyup:function(){this.update()},keyupDoc:function(t){this.isInput&&t.target!==this.$element[0]&&this.isShown&&("Tab"===t.key||9===t.keyCode)&&this.hide()},getValue:function(){var t=this.$element,e="";return this.isInput?e=t.val():this.isInline?this.options.container&&(e=t.text()):e=t.text(),e},setValue:function(t){var e=this.$element;t=i(t)?t:"",this.isInput?e.val(t):this.isInline?this.options.container&&e.text(t):e.text(t)},show:function(){this.isBuilt||this.build(),this.isShown||this.trigger("show.datepicker").isDefaultPrevented()||(this.isShown=!0,this.$picker.removeClass(x).on(v,t.proxy(this.click,this)),this.showView(this.options.startView),this.isInline||(d.on("resize.datepicker",this._place=r(this.place,this)),f.on(v,this._clickDoc=r(this.clickDoc,this)),f.on("keyup.datepicker",this._keyupDoc=r(this.keyupDoc,this)),this.place()))},hide:function(){this.isShown&&(this.trigger("hide.datepicker").isDefaultPrevented()||(this.isShown=!1,this.$picker.addClass(x).off(v,this.click),this.isInline||(d.off("resize.datepicker",this._place),f.off(v,this._clickDoc),f.off("keyup.datepicker",this._keyupDoc))))},toggle:function(){this.isShown?this.hide():this.show()},update:function(){var t=this.getValue();t!==this.oldValue&&(this.setDate(t,!0),this.oldValue=t)},pick:function(t){var e=this.$element,i=this.date;this.trigger("pick.datepicker",{view:t||"",date:i}).isDefaultPrevented()||(this.setValue(i=this.formatDate(this.date)),this.isInput&&e.trigger("change"))},reset:function(){this.setDate(this.initialDate,!0),this.setValue(this.initialValue),this.isShown&&this.showView(this.options.startView)},getMonthName:function(e,i){var a=this.options,o=a.months;return t.isNumeric(e)?e=g(e):n(i)&&(i=e),!0===i&&(o=a.monthsShort),o[s(e)?e:this.date.getMonth()]},getDayName:function(e,i,a){var o=this.options,r=o.days;return t.isNumeric(e)?e=g(e):(n(a)&&(a=i),n(i)&&(i=e)),r=!0===a?o.daysMin:!0===i?o.daysShort:r,r[s(e)?e:this.date.getDay()]},getDate:function(t){var e=this.date;return t?this.formatDate(e):new Date(e)},setDate:function(e,s){var n=this.options.filter;if(a(e)||i(e)){if(e=this.parseDate(e),t.isFunction(n)&&!1===n.call(this.$element,e))return;this.date=e,this.viewDate=new Date(e),s||this.pick(),this.isBuilt&&this.fillAll()}},setStartDate:function(t){(a(t)||i(t))&&(this.startDate=this.parseDate(t),this.isBuilt&&this.fillAll())},setEndDate:function(t){(a(t)||i(t))&&(this.endDate=this.parseDate(t),this.isBuilt&&this.fillAll())},parseDate:function(t){var e,s,n,o,r,l,h=this.format,u=[];if(a(t))return new Date(t.getFullYear(),t.getMonth(),t.getDate());if(i(t)&&(u=t.match(b)||[]),t=new Date,s=t.getFullYear(),n=t.getDate(),o=t.getMonth(),e=h.parts.length,u.length===e)for(l=0;l<e;l++)switch(r=parseInt(u[l],10)||1,h.parts[l]){case"dd":case"d":n=r;break;case"mm":case"m":o=r-1;break;case"yy":s=2e3+r;break;case"yyyy":s=r}return new Date(s,o,n)},formatDate:function(t){var e,i,s,n,o,r=this.format,l="";if(a(t))for(l=r.source,i=t.getFullYear(),n={d:t.getDate(),m:t.getMonth()+1,yy:i.toString().substring(2),yyyy:i},n.dd=(n.d<10?"0":"")+n.d,n.mm=(n.m<10?"0":"")+n.m,e=r.parts.length,o=0;o<e;o++)s=r.parts[o],l=l.replace(s,n[s]);return l},destroy:function(){this.unbind(),this.unbuild(),this.$element.removeData(m)}},c.LANGUAGES={},c.DEFAULTS={autoShow:!1,autoHide:!1,autoPick:!1,inline:!1,container:null,trigger:null,language:"",format:"mm/dd/yyyy",date:null,startDate:null,endDate:null,startView:0,weekStart:0,yearFirst:!1,yearSuffix:"",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],itemTag:"li",mutedClass:"muted",pickedClass:"picked",disabledClass:"disabled",highlightedClass:"highlighted",template:'<div class="datepicker-container"><div class="datepicker-panel" data-view="years picker"><ul><li data-view="years prev">‹</li><li data-view="years current"></li><li data-view="years next">›</li></ul><ul data-view="years"></ul></div><div class="datepicker-panel" data-view="months picker"><ul><li data-view="year prev">‹</li><li data-view="year current"></li><li data-view="year next">›</li></ul><ul data-view="months"></ul></div><div class="datepicker-panel" data-view="days picker"><ul><li data-view="month prev">‹</li><li data-view="month current"></li><li data-view="month next">›</li></ul><ul data-view="week"></ul><ul data-view="days"></ul></div></div>',offset:10,zIndex:1e3,filter:null,show:null,hide:null,pick:null},c.setDefaults=function(e){e=t.isPlainObject(e)?e:{},e.language&&(e=t.extend({},c.LANGUAGES[e.language],e)),t.extend(c.DEFAULTS,e)},c.other=t.fn.datepicker,t.fn.datepicker=function(e){var s,a=o(arguments,1);return this.each(function(){var n,o,r=t(this),l=r.data(m);if(!l){if(/destroy/.test(e))return;n=t.extend({},r.data(),t.isPlainObject(e)&&e),r.data(m,l=new c(this,n))}i(e)&&t.isFunction(o=l[e])&&(s=o.apply(l,a))}),n(s)?this:s},t.fn.datepicker.Constructor=c,t.fn.datepicker.languages=c.LANGUAGES,t.fn.datepicker.setDefaults=c.setDefaults,t.fn.datepicker.noConflict=function(){return t.fn.datepicker=c.other,this}})},function(t,e,i){"use strict";!function(t){t.fn.autocomplete=function(e){var i=this,s=t("body"),n=e.case_sensitive||"yes",a=e.min_length||0,o=e.limit_number_suggestions||666,r=[];if(i.length){var l=function(){t("#js-codeit").html("You have to code a function or a redirection to display more results ;)")};i.each(function(e){var i=t(this),s=i.attr("id"),a=t('label[for="'+s+'"]'),o=e+1,l=i.data(),h=void 0!==l.comboboxPrefixClass?l.comboboxPrefixClass+"-":"",u=void 0!==l.comboboxHelpText?l.comboboxHelpText:"Use tabulation (or down) key to access and browse suggestions after input. Confirm your choice with enter key, or esc key to close suggestions box.",c=t("#"+i.attr("list")),d=void 0!==l.comboboxButtonTitle?l.comboboxButtonTitle:"clear this field",p=void 0!==l.comboboxButtonText?l.comboboxButtonText:"X",f=void 0!==l.comboboxCaseSensitive?l.comboboxCaseSensitive:n,g=[];i.attr({"data-number":o,autocorrect:"off",autocapitalize:"off",spellcheck:"off",autocomplete:"off","aria-describedby":h+"help-text"+o,"aria-autocomplete":"list","data-lastval":"","aria-owns":h+"suggest_"+o}),c.find("option").each(function(t,e){g.push(e.value)}),r[o]="no"===f?g.sort(function(t,e){return t=t.toLowerCase(),e=e.toLowerCase(),t==e?0:t>e?1:-1}):g.sort(),i.wrap('<div class="'+h+'container js-container" data-combobox-prefix-class="'+h+'"></div>');var m=i.parent();m.append('<div id="'+h+"suggest_"+o+'" class="js-suggest '+h+'suggestions"><div role="listbox"></div></div>'),c.remove(),m.prepend('<div id="'+h+"suggestion-text"+o+'" class="js-suggestion-text '+h+'suggestion-text invisible" aria-live="assertive"></div>'),m.prepend('<span id="'+h+"help-text"+o+'" class="'+h+'help-text invisible">'+u+"</span>"),a.attr("id","label-id-"+s),i.after('<button class="js-clear-button '+h+'clear-button" aria-label="'+d+'" title="'+d+'" aria-describedby="label-id-'+s+'" type="button">'+p+"</button>")}),s.on("keyup",".js-combobox",function(e){var i=t(this),s=i.data(),l=i.parent(),h=l.parents("form"),u=l.data(),c=void 0!==u.comboboxPrefixClass?u.comboboxPrefixClass:"",d=l.find(".js-suggest div"),p=(d.find(".js-suggestion"),l.find(".js-suggestion-text")),f=void 0!==s.suggestionSingle?s.suggestionSingle:"There is ",g=void 0!==s.suggestionPlural?s.suggestionPlural:"There are ",m=void 0!==s.suggestionWord?s.suggestionWord:"suggestion",v=void 0!==s.comboboxMinLength?Math.abs(s.comboboxMinLength):a,y=void 0!==s.comboboxCaseSensitive?s.comboboxCaseSensitive:n,b=void 0!==s.comboboxLimitNumberSuggestions?Math.abs(s.comboboxLimitNumberSuggestions):o,w=void 0!==s.comboboxSearchOption?s.comboboxSearchOption:"beginning",k=(void 0!==s.comboboxSeeMoreText&&s.comboboxSeeMoreText,i.attr("data-number")),x=i.val(),D="";if(13===e.keyCode)h.submit();else if(27!==e.keyCode){i.attr("data-lastval",x);var C=r[k].length,$=0,S=0;if(d.empty(),""!=x&&x.length>=v){for(;$<C;)S<b&&("containing"===w&&"yes"===y&&r[k][$].indexOf(x)>=0||"no"===y&&r[k][$].toUpperCase().indexOf(x.toUpperCase())>=0||"beginning"===w&&"yes"===y&&r[k][$].substring(0,x.length)===x||"no"===y&&r[k][$].substring(0,x.length).toUpperCase()===x.toUpperCase())&&(d.append('<div id="suggestion-'+k+"-"+S+'" class="js-suggestion '+c+'suggestion" tabindex="-1" role="option">'+r[k][$]+"</div>"),S++),$++;if(S>=b&&S++,S>1&&(D=g+S+" "+m+"s."),1===S&&(D=f+S+" "+m+"."),0===S&&(D=f+S+" "+m+"."),S>=0){var T=p.text();if(D!=T){var j=t("<p>").text(D);p.attr("aria-live","polite"),p.empty(),p.append(j)}}}}}).on("click",function(e){var i=t(e.target),s=t(".js-suggestion-text:not(:empty)"),n=s.parents(".js-container"),a=n.find(".js-combobox"),o=n.find(".js-suggest div");i.is(".js-suggestion")||i.is(".js-combobox")||!s.length||(a.val(a.attr("data-lastval")),o.empty(),s.empty())}).on("keydown",".js-combobox",function(e){var i=t(this),s=i.parent(),n=s.find(".js-combobox"),a=s.find(".js-suggest div"),o=a.find(".js-suggestion"),r=s.find(".js-suggestion-text"),l=void 0===i.attr("data-combobox-notab-options"),h=o.first();(!e.shiftKey&&9==e.keyCode&&l||40==e.keyCode)&&o.length&&(n.val(h.html()),o.first().focus(),e.preventDefault()),(27==e.keyCode||!1===l&&9==e.keyCode)&&(n.val(n.attr("data-lastval")),a.empty(),r.empty(),27==e.keyCode&&(e.preventDefault(),setTimeout(function(){n.focus()},300)))}).on("keydown",".js-suggestion",function(e){var i=t(this),s=i.parents(".js-container"),n=s.find(".js-combobox"),a=void 0===n.attr("data-combobox-notab-options"),o=s.find(".js-suggest div"),r=s.find(".js-suggestion-text"),h=i.next(),u=i.prev();if((27==e.keyCode||!1===a&&9==e.keyCode)&&(27==e.keyCode&&(n.val(n.attr("data-lastval")),o.empty(),r.empty(),setTimeout(function(){n.focus()},300),e.preventDefault()),!1===a&&9==e.keyCode&&(o.empty(),r.empty(),n.focus())),13!=e.keyCode&&32!=e.keyCode||(i.hasClass("js-seemore")?(n.val(n.attr("data-lastval")),o.empty(),r.empty(),setTimeout(function(){n.focus()},300),setTimeout(function(){l()},301),e.preventDefault()):(n.val(i.html()),n.attr("data-lastval",i.html()),o.empty(),r.empty(),setTimeout(function(){n.focus()},300),e.preventDefault())),!e.shiftKey&&9==e.keyCode&&a||40==e.keyCode){if(h.length)n.val(h.html()),h.focus();else if(n.val(n.attr("data-lastval")),e.shiftKey||9!=e.keyCode)setTimeout(function(){n.focus()},300);else{var c=jQuery.Event("keydown");c.which=27,c.keyCode=27,i.trigger(c)}e.preventDefault()}(e.shiftKey&&9==e.keyCode&&a||38==e.keyCode)&&(u.length?(n.val(u.html()),u.focus()):n.val(n.attr("data-lastval")).focus(),e.preventDefault())}).on("click",".js-clear-button",function(e){var i=t(this),s=i.parent(),n=s.find(".js-combobox"),a=s.find(".js-suggest div"),o=s.find(".js-suggestion-text");a.empty(),o.empty(),n.val(""),n.attr("data-lastval","")}).on("click",".js-suggestion",function(e){var i=t(this),s=i.html(),n=i.parents(".js-container"),a=n.find(".js-combobox"),o=n.find(".js-suggest div"),r=n.find(".js-suggestion-text");i.hasClass("js-seemore")?(o.empty(),r.empty(),a.focus(),l()):(a.val(s).focus(),o.empty(),r.empty())})}}}(jQuery)},function(t,e,i){"use strict";function s(t){return(0,o.debounce)(function(){var e=$(this),i=e.val().trim();i.length>1&&0==h&&(h=!0,$.ajax({type:"GET",url:"/legislative-compass/_search_crsIssueArea_lookup",data:{text:i},success:n(t,e)}))},333)}function n(t,e){return function(i){if(h=!1,null!=i&&void 0==i.success){var s=$(t).val()||[],n=i.map(function(t){return t.name||t.term}),o=s.concat(n.filter(function(t){return s.indexOf(t)<0})),r=o.map(a),l=e.val();$(t).html(r).val(s).trigger("chosen:updated"),e.val(l)}}}function a(t){var e=document.createElement("option");return e.value=t,e.innerText=t,e}var o=i(6),r=(0,o.debounce)(function(){var t=$(this).val(),e=$(this);if(t.length>1&&0==h){h=!0;var i=null!=$("#states").val()?$("#states").val().toString():"",s={text:t,jurisdiction:""!=i?i:"US"};$.ajax({type:"GET",url:"/legislative-compass/_search_committee_lookup",data:s,success:n("#committee-filter",e)})}},333),l=(0,o.debounce)(function(){var t=$(this).val();t.includes("Rep.")?(rollCallVoteSearch(),$("#voteCast").prop("disabled",!1)):($("#voteCast").prop("disabled",!0),$("#voteCast").val("")),t.length>1&&0==h&&(h=!0,$.ajax({type:"GET",url:"/legislative-compass/_search_legislator_lookup",data:{text:t}}).done(function(t){h=!1;var e=t.map(function(t){return t.name});c=c.concat(e.filter(function(t){return c.indexOf(t)<0})),d.list=c}))},333),h=!1;$(document).on("input","#committeeFilterList input",r).on("input","#crsIssueAreaListItem input",s("#crsIssueArea")).on("input","#issueArea_chosen input",s("#issueArea")).on("input","#legislator",l);var u=$("#legislator"),c=[],d=void 0;u.length&&(u.on("awesomplete-selectcomplete",function(t){this.value.includes("Rep.")?(rollCallVoteSearch(),$("#voteCast").prop("disabled",!1)):($("#voteCast").prop("disabled",!0),$("#voteCast").val(""))}),c=$("#legislatorList option").toArray().map(function(t){return t.value}),d=new Awesomplete(u[0]),d.list=c)},function(t,e,i){"use strict";!function(){function t(){var i,s=this.querySelectorAll("template"),n=[],a=0;if(e){for(i=this.cloneNode(!0),s=i.content.querySelectorAll("template");s[a];a++)s[a].clone=t;return i}for(;s[a];a++)n.push(s[a].content);for(i=this.cloneNode(!0),i.content=this.content,i.clone=t,s=i.querySelectorAll("template"),a=0;s[a];a++)s[a].content=n[a],s[a].clone=t;return i}var e="content"in document.createElement("template");if(!e)for(var i,s,n,a,o,r=Array.prototype.slice.call(document.getElementsByTagName("template")),l=0;i=r[l++];){for(s=i.children,n=document.createDocumentFragment(),o=0;a=s[o];o++)n.appendChild(a);i.content=n}for(var i,r=document.querySelectorAll("template"),l=0;i=r[l++];)i.clone=t}()},function(t,e,i){"use strict";i(4),i(1),i(2),i(0),i(3),$(document).ready(function(){var t=new Date;$(".js-datepicker").datepicker({daysMin:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],endDate:t,offset:-1}),$(".js-chosen").chosen()}),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&$("html").addClass("ios")},function(t,e,i){"use strict";function s(t,e,i){var s;return function(){var n=this,a=arguments,o=function(){s=null,i||t.apply(n,a)},r=i&&!s;clearTimeout(s),s=setTimeout(o,e),r&&t.apply(n,a)}}Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=s},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){t.exports=jQuery}]); |
{ | ||
"name": "politico-assets", | ||
"version": "0.2.22", | ||
"version": "0.2.23", | ||
"description": "Minified front end assets used by politico.com", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
181871