=o)return n;var c=e-F(u);if(c<1)return u;var a=f?ne(f,0,c).join(""):n.slice(0,c);if(i===r)return a+u;if(f&&(c+=a.length-c),Qf(i)){if(n.slice(c).search(i)){var l,s=a;for(i.global||(i=Ri(i.source,ui(rt.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;a=a.slice(0,h===r?c:h)}}else if(n.indexOf(Ho(i),c)!=c){var p=a.lastIndexOf(i);p>-1&&(a=a.slice(0,p))}return a+u},q.unescape=function(n){return(n=ui(n))&&Tn.test(n)?n.replace(Un,fr):n},q.uniqueId=function(n){var t=++Ti;return ui(n)+t},q.upperCase=kc,q.upperFirst=Ic,q.each=Cu,q.eachRight=Lu,q.first=Au,yi(q,($f={},Gt(q,function(n,t){Bi.call(q.prototype,t)||($f[t]=n)}),$f),{chain:!1}),q.VERSION="4.17.21",i(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){q[n].placeholder=q}),i(["drop","take"],function(n,t){st.prototype[n]=function(e){e=e===r?1:so(ni(e),0);var u=this.__filtered__&&!t?new st(this):this.clone();return u.__filtered__?u.__takeCount__=ho(e,u.__takeCount__):u.__views__.push({size:ho(e,4294967295),type:n+(u.__dir__<0?"Right":"")}),u},st.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),i(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;st.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:Fe(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),i(["head","last"],function(n,t){var r="take"+(t?"Right":"");st.prototype[n]=function(){return this[r](1).value()[0]}}),i(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");st.prototype[n]=function(){return this.__filtered__?new st(this):this[r](1)}}),st.prototype.compact=function(){return this.filter(vi)},st.prototype.find=function(n){return this.filter(n).head()},st.prototype.findLast=function(n){return this.reverse().find(n)},st.prototype.invokeMap=Lr(function(n,t){return"function"==typeof n?new st(this):this.map(function(r){return _r(r,n,t)})}),st.prototype.reject=function(n){return this.filter(Du(Fe(n)))},st.prototype.slice=function(n,t){n=ni(n);var e=this;return e.__filtered__&&(n>0||t<0)?new st(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),t!==r&&(e=(t=ni(t))<0?e.dropRight(-t):e.take(t-n)),e)},st.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},st.prototype.toArray=function(){return this.take(4294967295)},Gt(st.prototype,function(n,t){var e=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),i=q[u?"take"+("last"==t?"Right":""):t],o=u||/^find/.test(t);i&&(q.prototype[t]=function(){var t=this.__wrapped__,f=u?[1]:arguments,c=_instanceof(t,st),a=f[0],l=c||Gf(t),s=function(n){var t=i.apply(q,h([n],f));return u&&p?t[0]:t};l&&e&&"function"==typeof a&&1!=a.length&&(c=l=!1);var p=this.__chain__,_=!!this.__actions__.length,v=o&&!p,g=c&&!_;if(!o&&l){t=g?t:new st(this);var y=n.apply(t,f);return y.__actions__.push({func:zu,args:[s],thisArg:r}),new Kn(y,p)}return v&&g?n.apply(this,f):(y=this.thru(s),v?u?y.value()[0]:y.value():y)})}),i(["pop","push","shift","sort","splice","unshift"],function(n){var t=zi[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);q.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Gf(u)?u:[],n)}return this[r](function(r){return t.apply(Gf(r)?r:[],n)})}}),Gt(st.prototype,function(n,t){var r=q[t];if(r){var e=r.name+"";Bi.call(ko,e)||(ko[e]=[]),ko[e].push({name:t,func:r})}}),ko[Ko(r,Q).name]=[{name:"wrapper",func:r}],st.prototype.clone=function(){var n=new st(this.__wrapped__);return n.__actions__=ce(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=ce(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=ce(this.__views__),n},st.prototype.reverse=function(){if(this.__filtered__){var n=new st(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},st.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=Gf(n),e=t<0,u=r?n.length:0,i=Ze(0,u,this.__views__),o=i.start,f=i.end,c=f-o,a=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=ho(c,this.__takeCount__);if(!r||!e&&u==c&&p==c)return Kr(n,this.__actions__);var _=[];n:for(;c--&&h=this.__values__.length;return{done:n,value:n?r:this.__values__[this.__index__++]}},q.prototype.plant=function(n){for(var t,e=this;_instanceof(e,H);){var u=mu(e);u.__index__=0,u.__values__=r,t?i.__wrapped__=u:t=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,t},q.prototype.reverse=function(){var n=this.__wrapped__;if(_instanceof(n,st)){var t=n;return this.__actions__.length&&(t=new st(this)),(t=t.reverse()).__actions__.push({func:zu,args:[Ou],thisArg:r}),new Kn(t,this.__chain__)}return this.thru(Ou)},q.prototype.toJSON=q.prototype.valueOf=q.prototype.value=function(){return Kr(this.__wrapped__,this.__actions__)},q.prototype.first=q.prototype.head,Qi&&(q.prototype[Qi]=function(){return this}),q}();Kt?((Kt.exports=cr)._=cr,Gt._=cr):Zt._=cr}).call(_vendor_browser__commonjsHelpers.commonjsGlobal)});exports.lodash=lodash;
}, {"1160":1160}];
window.modules["620"] = [function(require,module,exports){"use strict";var _vendor_browser__cnnprivate_zionDaltonSdk_node_modules_es6Promise_dist_es6Promise=require(1190),_vendor_browser__cnnprivate_zionDaltonSdk_dist_config_index=require(1186),_vendor_browser__cnnprivate_zionDaltonSdk_dist_errors_SDKError=require(1181),_vendor_browser__cnnprivate_zionDaltonSdk_dist_auth_index=require(1182),_vendor_browser__cnnprivate_zionDaltonSdk_dist_zion_index=require(1191),_vendor_browser__cnnprivate_zionDaltonSdk_dist_auth_token=require(1184),_vendor_browser__cnnprivate_zionDaltonSdk_dist_auth_email=require(1179),_vendor_browser__cnnprivate_zionDaltonSdk_dist_auth_legaldocs=require(1183),_vendor_browser__cnnprivate_zionDaltonSdk_dist_entitlements_index=require(1189),_vendor_browser__cnnprivate_zionDaltonSdk_dist_dim_index=require(1188),_vendor_browser__cnnprivate_zionDaltonSdk_dist_preferences_index=require(1192),_vendor_browser__cnnprivate_zionDaltonSdk_dist_newsletter_index=require(1193),_vendor_browser__cnnprivate_zionDaltonSdk_dist_util_index=require(1194),_vendor_browser__cnnprivate_zionDaltonSdk_dist_user_attributes=require(1195);_vendor_browser__cnnprivate_zionDaltonSdk_node_modules_es6Promise_dist_es6Promise.es6Promise.polyfill();var getAPIConfig=_vendor_browser__cnnprivate_zionDaltonSdk_dist_config_index.config.getAPIConfig;function AuthClient(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(n.env&&0!==n.env.length||n.url&&0!==n.url.length))throw new _vendor_browser__cnnprivate_zionDaltonSdk_dist_errors_SDKError.SDKError_1("Must provide an environment or url");if(this.api=getAPIConfig(n),"undefined"!=typeof window)try{window.onload=function(){e.publishZionData(e.getStoredUID())}}catch(e){console.log("Could not send cnn user id to message bus")}}_vendor_browser__cnnprivate_zionDaltonSdk_dist_auth_index.auth(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_zion_index.zion(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_auth_token.token(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_auth_email.email(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_auth_legaldocs.legaldocs(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_entitlements_index.entitlements(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_dim_index.dim(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_preferences_index.preferences(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_newsletter_index.newsletter(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_util_index.util(AuthClient),_vendor_browser__cnnprivate_zionDaltonSdk_dist_user_attributes.attributes(AuthClient);var dist=AuthClient;exports.dist=dist;
}, {"1179":1179,"1181":1181,"1182":1182,"1183":1183,"1184":1184,"1186":1186,"1188":1188,"1189":1189,"1190":1190,"1191":1191,"1192":1192,"1193":1193,"1194":1194,"1195":1195}];
window.modules["621"] = [function(require,module,exports){"use strict";var _vendor_browser_svelte_store_index=require(626),_lib_browser_common_clients_MyElection_types=require(623),createElectionEventStore=function(){var e=_vendor_browser_svelte_store_index.writable({}),t=e.subscribe,r=e.set,o=e.update;return{addContest:function(e){o(function(t){return t[e]=!0,t})},removeContest:function(e){o(function(t){return delete t[e],t})},addContests:function(e){o(function(t){var r=!0,o=!1,n=void 0;try{for(var s,i=e[Symbol.iterator]();!(r=(s=i.next()).done);r=!0){t[s.value]=!0}}catch(e){o=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw n}}return t})},removeContests:function(e){o(function(t){var r=!0,o=!1,n=void 0;try{for(var s,i=e[Symbol.iterator]();!(r=(s=i.next()).done);r=!0){delete t[s.value]}}catch(e){o=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw n}}return t})},set:r,subscribe:t}};function createFollowedContestsStore(){var e={};return Object.keys(_lib_browser_common_clients_MyElection_types.ELECTION_EVENTS).forEach(function(t){var r=_lib_browser_common_clients_MyElection_types.ELECTION_EVENTS[t];e[r]=createElectionEventStore()}),e}var store={followedContests:createFollowedContestsStore(),authenticated:_vendor_browser_svelte_store_index.writable(!1)};exports.store=store;
}, {"623":623,"626":626}];
window.modules["622"] = [function(require,module,exports){"use strict";var COLLECTION_KEY_PREFIX="politics.myElections.",LOGOUT_EVENT_NAME="logout";function generateCollectionKey(t){return"".concat(COLLECTION_KEY_PREFIX).concat(t)}function isFilterMatch(t,e){var o=!0;t&&e&&(o=RegExp(e).test(t));return o}var followedContestsTransforms={objToArr:function(t){return Object.keys(t)},arrToObj:function(t){var e={};return t.forEach(function(t){e[t]=!0}),e}};exports.LOGOUT_EVENT_NAME=LOGOUT_EVENT_NAME,exports.followedContestsTransforms=followedContestsTransforms,exports.generateCollectionKey=generateCollectionKey,exports.isFilterMatch=isFilterMatch;
}, {}];
window.modules["623"] = [function(require,module,exports){"use strict";var ELECTION_EVENTS=function(E){return E.GENERALS_2024_NOVEMBER_05="20241105",E.GENERALS_2022_NOVEMBER_08="20221108",E.NOV_2021="20211102",E.GENERALS_2020_NOVEMBER_03="20201103",E}(ELECTION_EVENTS||{}),FILTER=function(E){return E.STATE="state",E.CONTEST_TYPE="contest_type",E}(FILTER||{}),CONTEST_TYPE_FILTER_REGEXP=function(E){return E.SENATE_ALL="^S[0-9]*?[A-Z]$",E.SECRETARY_OF_STATE_ALL="^SS[A-Z]$",E.GOVERNOR_ALL="^G[A-Z]$",E.HOUSE_ALL="^H[A-Z]$",E.BALLOT_MEASURES_ALL="^I[0-9]*[A-Z]$",E}(CONTEST_TYPE_FILTER_REGEXP||{}),SUBSCRIPTION_TYPE=function(E){return E.AUTH="authenticated",E.FOLLOWED_CONTESTS="followedContests",E}(SUBSCRIPTION_TYPE||{});exports.CONTEST_TYPE_FILTER_REGEXP=CONTEST_TYPE_FILTER_REGEXP,exports.ELECTION_EVENTS=ELECTION_EVENTS,exports.FILTER=FILTER,exports.SUBSCRIPTION_TYPE=SUBSCRIPTION_TYPE;
}, {}];
window.modules["624"] = [function(require,module,exports){"use strict";var _lib_browser_common_constants_namespace=require(625),_lib_browser_common_clients_MyElection_client=require(616);function getMyElectionClient(n){if("undefined"==typeof window)return console.error("[MyElection] client must not be created on the server, returning null"),null;var e="".concat(n.env,"-").concat(n.electionEvent);return window[_lib_browser_common_constants_namespace.MY_ELECTION_NAMESPACE]||(window[_lib_browser_common_constants_namespace.MY_ELECTION_NAMESPACE]={}),window[_lib_browser_common_constants_namespace.MY_ELECTION_NAMESPACE][e]||(window[_lib_browser_common_constants_namespace.MY_ELECTION_NAMESPACE][e]=new _lib_browser_common_clients_MyElection_client.MyElectionClient(n)),window[_lib_browser_common_constants_namespace.MY_ELECTION_NAMESPACE][e]}exports.getMyElectionClient=getMyElectionClient;
}, {"616":616,"625":625}];
window.modules["625"] = [function(require,module,exports){"use strict";var TOOLTIP_NAMESPACE="CNN_POLITICS_TOOLTIP",POLLER_NAMESPACE="CNN_POLITICS_POLLER",MY_ELECTION_NAMESPACE="CNN_POLITICS_MYELECTION",POLLER_NAMESPACE_V2="CNN_POLITICS_POLLER_V2";exports.MY_ELECTION_NAMESPACE=MY_ELECTION_NAMESPACE,exports.POLLER_NAMESPACE=POLLER_NAMESPACE,exports.POLLER_NAMESPACE_V2=POLLER_NAMESPACE_V2,exports.TOOLTIP_NAMESPACE=TOOLTIP_NAMESPACE;
}, {}];
window.modules["626"] = [function(require,module,exports){"use strict";var _vendor_browser_svelte_internal_index=require(596),subscriber_queue=[];function readable(e,r){return{subscribe:writable(e,r).subscribe}}function writable(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_vendor_browser_svelte_internal_index.noop,i=function(n){if(_vendor_browser_svelte_internal_index.safe_not_equal(e,n)&&(e=n,r)){var i=!subscriber_queue.length,_=!0,o=!1,u=void 0;try{for(var s,l=t[Symbol.iterator]();!(_=(s=l.next()).done);_=!0){var a=s.value;a[1](),subscriber_queue.push(a,e)}}catch(e){o=!0,u=e}finally{try{_||null==l.return||l.return()}finally{if(o)throw u}}if(i){for(var b=0;b1&&void 0!==arguments[1]?arguments[1]:_vendor_browser_svelte_internal_index.noop];return t.add(o),1===t.size&&(r=n(i)||_vendor_browser_svelte_internal_index.noop),_(e),function(){t.delete(o),0===t.size&&(r(),r=null)}}}}function derived(e,r,n){var i=!Array.isArray(e),t=i?[e]:e,_=r.length<2;return readable(n,function(e){var n=!1,o=[],u=0,s=_vendor_browser_svelte_internal_index.noop,l=function(){if(!u){s();var n=r(i?o[0]:o,e);_?e(n):s=_vendor_browser_svelte_internal_index.is_function(n)?n:_vendor_browser_svelte_internal_index.noop}},a=t.map(function(e,r){return _vendor_browser_svelte_internal_index.subscribe(e,function(e){o[r]=e,u&=~(1<e.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var n=0,t=new Array(r);ne.length)&&(r=e.length);for(var t=0,n=new Array(r);te.length)&&(r=e.length);for(var n=0,o=new Array(r);n2&&void 0!==arguments[2])||arguments[2];return e.isValid?_vendor_browser_luxon_src_impl_formatter.Formatter.create(_vendor_browser_luxon_src_impl_locale.Locale.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,r):null}function toISODate(e,r){var n=e.c.year>9999||e.c.year<0,o="";return n&&e.c.year>=0&&(o+="+"),o+=_vendor_browser_luxon_src_impl_util.padStart(e.c.year,n?6:4),r?(o+="-",o+=_vendor_browser_luxon_src_impl_util.padStart(e.c.month),o+="-",o+=_vendor_browser_luxon_src_impl_util.padStart(e.c.day)):(o+=_vendor_browser_luxon_src_impl_util.padStart(e.c.month),o+=_vendor_browser_luxon_src_impl_util.padStart(e.c.day)),o}function toISOTime(e,r,n,o,t,i){var s=_vendor_browser_luxon_src_impl_util.padStart(e.c.hour);return r?(s+=":",s+=_vendor_browser_luxon_src_impl_util.padStart(e.c.minute),0===e.c.second&&n||(s+=":")):s+=_vendor_browser_luxon_src_impl_util.padStart(e.c.minute),0===e.c.second&&n||(s+=_vendor_browser_luxon_src_impl_util.padStart(e.c.second),0===e.c.millisecond&&o||(s+=".",s+=_vendor_browser_luxon_src_impl_util.padStart(e.c.millisecond,3))),t&&(e.isOffsetFixed&&0===e.offset&&!i?s+="Z":e.o<0?(s+="-",s+=_vendor_browser_luxon_src_impl_util.padStart(Math.trunc(-e.o/60)),s+=":",s+=_vendor_browser_luxon_src_impl_util.padStart(Math.trunc(-e.o%60))):(s+="+",s+=_vendor_browser_luxon_src_impl_util.padStart(Math.trunc(e.o/60)),s+=":",s+=_vendor_browser_luxon_src_impl_util.padStart(Math.trunc(e.o%60)))),i&&(s+="["+e.zone.ianaName+"]"),s}var defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0},orderedUnits=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(e){var r={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!r)throw new _vendor_browser_luxon_src_errors.InvalidUnitError(e);return r}function quickDT(e,r){var n,o,t=_vendor_browser_luxon_src_impl_zoneUtil.normalizeZone(r.zone,_vendor_browser_luxon_src_settings.Settings.defaultZone),i=_vendor_browser_luxon_src_impl_locale.Locale.fromObject(r),s=_vendor_browser_luxon_src_settings.Settings.now();if(_vendor_browser_luxon_src_impl_util.isUndefined(e.year))n=s;else{var _=!0,l=!1,a=void 0;try{for(var u,c=orderedUnits[Symbol.iterator]();!(_=(u=c.next()).done);_=!0){var d=u.value;_vendor_browser_luxon_src_impl_util.isUndefined(e[d])&&(e[d]=defaultUnitValues[d])}}catch(e){l=!0,a=e}finally{try{_||null==c.return||c.return()}finally{if(l)throw a}}var f,m=_vendor_browser_luxon_src_impl_conversions.hasInvalidGregorianData(e)||_vendor_browser_luxon_src_impl_conversions.hasInvalidTimeData(e);if(m)return DateTime.invalid(m);n=(f=_slicedToArray(objToTS(e,t.offset(s),t),2))[0],o=f[1]}return new DateTime({ts:n,zone:t,loc:i,o:o})}function diffRelative(e,r,n){var o=!!_vendor_browser_luxon_src_impl_util.isUndefined(n.round)||n.round,t=function(e,t){return e=_vendor_browser_luxon_src_impl_util.roundTo(e,o||n.calendary?0:2,!0),r.loc.clone(n).relFormatter(n).format(e,t)},i=function(o){return n.calendary?r.hasSame(e,o)?0:r.startOf(o).diff(e.startOf(o),o).get(o):r.diff(e,o).get(o)};if(n.unit)return t(i(n.unit),n.unit);var s=!0,_=!1,l=void 0;try{for(var a,u=n.units[Symbol.iterator]();!(s=(a=u.next()).done);s=!0){var c=a.value,d=i(c);if(Math.abs(d)>=1)return t(d,c)}}catch(e){_=!0,l=e}finally{try{s||null==u.return||u.return()}finally{if(_)throw l}}return t(e>r?-0:0,n.units[n.units.length-1])}function lastOpts(e){var r,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[n,r]}var DateTime=function(){function e(r){_classCallCheck(this,e);var n=r.zone||_vendor_browser_luxon_src_settings.Settings.defaultZone,o=r.invalid||(Number.isNaN(r.ts)?new _vendor_browser_luxon_src_impl_invalid.Invalid("invalid input"):null)||(n.isValid?null:unsupportedZone(n));this.ts=_vendor_browser_luxon_src_impl_util.isUndefined(r.ts)?_vendor_browser_luxon_src_settings.Settings.now():r.ts;var t=null,i=null;if(!o)if(r.old&&r.old.ts===this.ts&&r.old.zone.equals(n)){var s;t=(s=[r.old.c,r.old.o])[0],i=s[1]}else{var _=n.offset(this.ts);t=tsToObj(this.ts,_),t=(o=Number.isNaN(t.year)?new _vendor_browser_luxon_src_impl_invalid.Invalid("invalid input"):null)?null:t,i=o?null:_}this._zone=n,this.loc=r.loc||_vendor_browser_luxon_src_impl_locale.Locale.create(),this.invalid=o,this.weekData=null,this.c=t,this.o=i,this.isLuxonDateTime=!0}return _createClass(e,[{key:"get",value:function(e){return this[e]}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?_vendor_browser_luxon_src_impl_conversions.gregorianToOrdinal(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?_vendor_browser_luxon_src_info.Info.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?_vendor_browser_luxon_src_info.Info.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?_vendor_browser_luxon_src_info.Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?_vendor_browser_luxon_src_info.Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return _vendor_browser_luxon_src_impl_util.isLeapYear(this.year)}},{key:"daysInMonth",get:function(){return _vendor_browser_luxon_src_impl_util.daysInMonth(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?_vendor_browser_luxon_src_impl_util.daysInYear(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?_vendor_browser_luxon_src_impl_util.weeksInWeekYear(this.weekYear):NaN}},{key:"resolvedLocaleOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=_vendor_browser_luxon_src_impl_formatter.Formatter.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r.locale,numberingSystem:r.numberingSystem,outputCalendar:r.calendar}}},{key:"toUTC",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setZone(_vendor_browser_luxon_src_zones_fixedOffsetZone.FixedOffsetZone.instance(e),r)}},{key:"toLocal",value:function(){return this.setZone(_vendor_browser_luxon_src_settings.Settings.defaultZone)}},{key:"setZone",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.keepLocalTime,t=void 0!==o&&o,i=n.keepCalendarTime,s=void 0!==i&&i;if((r=_vendor_browser_luxon_src_impl_zoneUtil.normalizeZone(r,_vendor_browser_luxon_src_settings.Settings.defaultZone)).equals(this.zone))return this;if(r.isValid){var _=this.ts;if(t||s){var l=r.offset(this.ts);_=_slicedToArray(objToTS(this.toObject(),l,r),1)[0]}return clone(this,{ts:_,zone:r})}return e.invalid(unsupportedZone(r))}},{key:"reconfigure",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.locale,n=e.numberingSystem,o=e.outputCalendar;return clone(this,{loc:this.loc.clone({locale:r,numberingSystem:n,outputCalendar:o})})}},{key:"setLocale",value:function(e){return this.reconfigure({locale:e})}},{key:"set",value:function(e){if(!this.isValid)return this;var r,n=_vendor_browser_luxon_src_impl_util.normalizeObject(e,normalizeUnit),o=!_vendor_browser_luxon_src_impl_util.isUndefined(n.weekYear)||!_vendor_browser_luxon_src_impl_util.isUndefined(n.weekNumber)||!_vendor_browser_luxon_src_impl_util.isUndefined(n.weekday),t=!_vendor_browser_luxon_src_impl_util.isUndefined(n.ordinal),i=!_vendor_browser_luxon_src_impl_util.isUndefined(n.year),s=!_vendor_browser_luxon_src_impl_util.isUndefined(n.month)||!_vendor_browser_luxon_src_impl_util.isUndefined(n.day),_=i||s,l=n.weekYear||n.weekNumber;if((_||t)&&l)throw new _vendor_browser_luxon_src_errors.ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(s&&t)throw new _vendor_browser_luxon_src_errors.ConflictingSpecificationError("Can't mix ordinal dates with month/day");o?r=_vendor_browser_luxon_src_impl_conversions.weekToGregorian(_objectSpread({},_vendor_browser_luxon_src_impl_conversions.gregorianToWeek(this.c),n)):_vendor_browser_luxon_src_impl_util.isUndefined(n.ordinal)?(r=_objectSpread({},this.toObject(),n),_vendor_browser_luxon_src_impl_util.isUndefined(n.day)&&(r.day=Math.min(_vendor_browser_luxon_src_impl_util.daysInMonth(r.year,r.month),r.day))):r=_vendor_browser_luxon_src_impl_conversions.ordinalToGregorian(_objectSpread({},_vendor_browser_luxon_src_impl_conversions.gregorianToOrdinal(this.c),n));var a=_slicedToArray(objToTS(r,this.o,this.zone),2);return clone(this,{ts:a[0],o:a[1]})}},{key:"plus",value:function(e){return this.isValid?clone(this,adjustTime(this,_vendor_browser_luxon_src_duration.Duration.fromDurationLike(e))):this}},{key:"minus",value:function(e){return this.isValid?clone(this,adjustTime(this,_vendor_browser_luxon_src_duration.Duration.fromDurationLike(e).negate())):this}},{key:"startOf",value:function(e){if(!this.isValid)return this;var r={},n=_vendor_browser_luxon_src_duration.Duration.normalizeUnit(e);switch(n){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0}if("weeks"===n&&(r.weekday=1),"quarters"===n){var o=Math.ceil(this.month/3);r.month=3*(o-1)+1}return this.set(r)}},{key:"endOf",value:function(e){return this.isValid?this.plus(_defineProperty({},e,1)).startOf(e).minus(1):this}},{key:"toFormat",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.isValid?_vendor_browser_luxon_src_impl_formatter.Formatter.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):INVALID}},{key:"toLocaleString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_vendor_browser_luxon_src_impl_formats.DATE_SHORT,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.isValid?_vendor_browser_luxon_src_impl_formatter.Formatter.create(this.loc.clone(r),e).formatDateTime(this):INVALID}},{key:"toLocaleParts",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.isValid?_vendor_browser_luxon_src_impl_formatter.Formatter.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}},{key:"toISO",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.format,n=void 0===r?"extended":r,o=e.suppressSeconds,t=void 0!==o&&o,i=e.suppressMilliseconds,s=void 0!==i&&i,_=e.includeOffset,l=void 0===_||_,a=e.extendedZone,u=void 0!==a&&a;if(!this.isValid)return null;var c="extended"===n,d=toISODate(this,c);return d+="T",d+=toISOTime(this,c,t,s,l,u)}},{key:"toISODate",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).format,r=void 0===e?"extended":e;return this.isValid?toISODate(this,"extended"===r):null}},{key:"toISOWeekDate",value:function(){return toTechFormat(this,"kkkk-'W'WW-c")}},{key:"toISOTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.suppressMilliseconds,n=void 0!==r&&r,o=e.suppressSeconds,t=void 0!==o&&o,i=e.includeOffset,s=void 0===i||i,_=e.includePrefix,l=void 0!==_&&_,a=e.extendedZone,u=void 0!==a&&a,c=e.format,d=void 0===c?"extended":c;return this.isValid?(l?"T":"")+toISOTime(this,"extended"===d,t,n,s,u):null}},{key:"toRFC2822",value:function(){return toTechFormat(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}},{key:"toHTTP",value:function(){return toTechFormat(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}},{key:"toSQLDate",value:function(){return this.isValid?toISODate(this,!0):null}},{key:"toSQLTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.includeOffset,n=void 0===r||r,o=e.includeZone,t=void 0!==o&&o,i=e.includeOffsetSpace,s="HH:mm:ss.SSS";return(t||n)&&((void 0===i||i)&&(s+=" "),t?s+="z":n&&(s+="ZZ")),toTechFormat(this,s,!0)}},{key:"toSQL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.isValid?"".concat(this.toSQLDate()," ").concat(this.toSQLTime(e)):null}},{key:"toString",value:function(){return this.isValid?this.toISO():INVALID}},{key:"valueOf",value:function(){return this.toMillis()}},{key:"toMillis",value:function(){return this.isValid?this.ts:NaN}},{key:"toSeconds",value:function(){return this.isValid?this.ts/1e3:NaN}},{key:"toUnixInteger",value:function(){return this.isValid?Math.floor(this.ts/1e3):NaN}},{key:"toJSON",value:function(){return this.toISO()}},{key:"toBSON",value:function(){return this.toJSDate()}},{key:"toObject",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.isValid)return{};var r=_objectSpread({},this.c);return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}},{key:"toJSDate",value:function(){return new Date(this.isValid?this.ts:NaN)}},{key:"diff",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"milliseconds",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.isValid||!e.isValid)return _vendor_browser_luxon_src_duration.Duration.invalid("created by diffing an invalid DateTime");var o=_objectSpread({locale:this.locale,numberingSystem:this.numberingSystem},n),t=_vendor_browser_luxon_src_impl_util.maybeArray(r).map(_vendor_browser_luxon_src_duration.Duration.normalizeUnit),i=e.valueOf()>this.valueOf(),s=i?this:e,_=i?e:this,l=_vendor_browser_luxon_src_impl_diff.diff(s,_,t,o);return i?l.negate():l}},{key:"diffNow",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"milliseconds",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.diff(e.now(),r,n)}},{key:"until",value:function(e){return this.isValid?_vendor_browser_luxon_src_interval.Interval.fromDateTimes(this,e):this}},{key:"hasSame",value:function(e,r){if(!this.isValid)return!1;var n=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(r)<=n&&n<=o.endOf(r)}},{key:"equals",value:function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}},{key:"toRelative",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.isValid)return null;var n=r.base||e.fromObject({},{zone:this.zone}),o=r.padding?this0&&void 0!==arguments[0]?arguments[0]:{};return this.isValid?diffRelative(r.base||e.fromObject({},{zone:this.zone}),this,_objectSpreadProps(_objectSpread({},r),{numeric:"auto",units:["years","months","days"],calendary:!0})):null}}],[{key:"now",value:function(){return new e({})}},{key:"local",value:function(){var e=_slicedToArray(lastOpts(arguments),2),r=e[0],n=_slicedToArray(e[1],7);return quickDT({year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]},r)}},{key:"utc",value:function(){var e=_slicedToArray(lastOpts(arguments),2),r=e[0],n=_slicedToArray(e[1],7),o=n[0],t=n[1],i=n[2],s=n[3],_=n[4],l=n[5],a=n[6];return r.zone=_vendor_browser_luxon_src_zones_fixedOffsetZone.FixedOffsetZone.utcInstance,quickDT({year:o,month:t,day:i,hour:s,minute:_,second:l,millisecond:a},r)}},{key:"fromJSDate",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=_vendor_browser_luxon_src_impl_util.isDate(r)?r.valueOf():NaN;if(Number.isNaN(o))return e.invalid("invalid input");var t=_vendor_browser_luxon_src_impl_zoneUtil.normalizeZone(n.zone,_vendor_browser_luxon_src_settings.Settings.defaultZone);return t.isValid?new e({ts:o,zone:t,loc:_vendor_browser_luxon_src_impl_locale.Locale.fromObject(n)}):e.invalid(unsupportedZone(t))}},{key:"fromMillis",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(_vendor_browser_luxon_src_impl_util.isNumber(r))return r<-MAX_DATE||r>MAX_DATE?e.invalid("Timestamp out of range"):new e({ts:r,zone:_vendor_browser_luxon_src_impl_zoneUtil.normalizeZone(n.zone,_vendor_browser_luxon_src_settings.Settings.defaultZone),loc:_vendor_browser_luxon_src_impl_locale.Locale.fromObject(n)});throw new _vendor_browser_luxon_src_errors.InvalidArgumentError("fromMillis requires a numerical input, but received a ".concat(void 0===r?"undefined":_typeof(r)," with value ").concat(r))}},{key:"fromSeconds",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(_vendor_browser_luxon_src_impl_util.isNumber(r))return new e({ts:1e3*r,zone:_vendor_browser_luxon_src_impl_zoneUtil.normalizeZone(n.zone,_vendor_browser_luxon_src_settings.Settings.defaultZone),loc:_vendor_browser_luxon_src_impl_locale.Locale.fromObject(n)});throw new _vendor_browser_luxon_src_errors.InvalidArgumentError("fromSeconds requires a numerical input")}},{key:"fromObject",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r=r||{};var o=_vendor_browser_luxon_src_impl_zoneUtil.normalizeZone(n.zone,_vendor_browser_luxon_src_settings.Settings.defaultZone);if(!o.isValid)return e.invalid(unsupportedZone(o));var t=_vendor_browser_luxon_src_settings.Settings.now(),i=_vendor_browser_luxon_src_impl_util.isUndefined(n.specificOffset)?o.offset(t):n.specificOffset,s=_vendor_browser_luxon_src_impl_util.normalizeObject(r,normalizeUnit),_=!_vendor_browser_luxon_src_impl_util.isUndefined(s.ordinal),l=!_vendor_browser_luxon_src_impl_util.isUndefined(s.year),a=!_vendor_browser_luxon_src_impl_util.isUndefined(s.month)||!_vendor_browser_luxon_src_impl_util.isUndefined(s.day),u=l||a,c=s.weekYear||s.weekNumber,d=_vendor_browser_luxon_src_impl_locale.Locale.fromObject(n);if((u||_)&&c)throw new _vendor_browser_luxon_src_errors.ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&_)throw new _vendor_browser_luxon_src_errors.ConflictingSpecificationError("Can't mix ordinal dates with month/day");var f,m,v=c||s.weekday&&!u,h=tsToObj(t,i);v?(f=orderedWeekUnits,m=defaultWeekUnitValues,h=_vendor_browser_luxon_src_impl_conversions.gregorianToWeek(h)):_?(f=orderedOrdinalUnits,m=defaultOrdinalUnitValues,h=_vendor_browser_luxon_src_impl_conversions.gregorianToOrdinal(h)):(f=orderedUnits,m=defaultUnitValues);var y=!1,b=!0,p=!1,w=void 0;try{for(var T,g=f[Symbol.iterator]();!(b=(T=g.next()).done);b=!0){var x=T.value,k=s[x];_vendor_browser_luxon_src_impl_util.isUndefined(k)?s[x]=y?m[x]:h[x]:y=!0}}catch(e){p=!0,w=e}finally{try{b||null==g.return||g.return()}finally{if(p)throw w}}var S=(v?_vendor_browser_luxon_src_impl_conversions.hasInvalidWeekData(s):_?_vendor_browser_luxon_src_impl_conversions.hasInvalidOrdinalData(s):_vendor_browser_luxon_src_impl_conversions.hasInvalidGregorianData(s))||_vendor_browser_luxon_src_impl_conversions.hasInvalidTimeData(s);if(S)return e.invalid(S);var O=_slicedToArray(objToTS(v?_vendor_browser_luxon_src_impl_conversions.weekToGregorian(s):_?_vendor_browser_luxon_src_impl_conversions.ordinalToGregorian(s):s,i,o),2),D=new e({ts:O[0],zone:o,o:O[1],loc:d});return s.weekday&&u&&r.weekday!==D.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of ".concat(s.weekday," and a date of ").concat(D.toISO())):D}},{key:"fromISO",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_slicedToArray(_vendor_browser_luxon_src_impl_regexParser.parseISODate(e),2);return parseDataToDateTime(n[0],n[1],r,"ISO 8601",e)}},{key:"fromRFC2822",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_slicedToArray(_vendor_browser_luxon_src_impl_regexParser.parseRFC2822Date(e),2);return parseDataToDateTime(n[0],n[1],r,"RFC 2822",e)}},{key:"fromHTTP",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_slicedToArray(_vendor_browser_luxon_src_impl_regexParser.parseHTTPDate(e),2);return parseDataToDateTime(n[0],n[1],r,"HTTP",r)}},{key:"fromFormat",value:function(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(_vendor_browser_luxon_src_impl_util.isUndefined(r)||_vendor_browser_luxon_src_impl_util.isUndefined(n))throw new _vendor_browser_luxon_src_errors.InvalidArgumentError("fromFormat requires an input string and a format");var t=o.locale,i=void 0===t?null:t,s=o.numberingSystem,_=void 0===s?null:s,l=_vendor_browser_luxon_src_impl_locale.Locale.fromOpts({locale:i,numberingSystem:_,defaultToEN:!0}),a=_slicedToArray(_vendor_browser_luxon_src_impl_tokenParser.parseFromTokens(l,r,n),4),u=a[0],c=a[1],d=a[2],f=a[3];return f?e.invalid(f):parseDataToDateTime(u,c,o,"format ".concat(n),r,d)}},{key:"fromString",value:function(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.fromFormat(r,n,o)}},{key:"fromSQL",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_slicedToArray(_vendor_browser_luxon_src_impl_regexParser.parseSQL(e),2);return parseDataToDateTime(n[0],n[1],r,"SQL",e)}},{key:"invalid",value:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!r)throw new _vendor_browser_luxon_src_errors.InvalidArgumentError("need to specify a reason the DateTime is invalid");var o=_instanceof(r,_vendor_browser_luxon_src_impl_invalid.Invalid)?r:new _vendor_browser_luxon_src_impl_invalid.Invalid(r,n);if(_vendor_browser_luxon_src_settings.Settings.throwOnInvalid)throw new _vendor_browser_luxon_src_errors.InvalidDateTimeError(o);return new e({invalid:o})}},{key:"isDateTime",value:function(e){return e&&e.isLuxonDateTime||!1}},{key:"min",value:function(){for(var r=arguments.length,n=new Array(r),o=0;o2&&void 0!==arguments[2]?arguments[2]:{},o=n.locale,t=void 0===o?null:o,i=n.numberingSystem,s=void 0===i?null:i,_=_vendor_browser_luxon_src_impl_locale.Locale.fromOpts({locale:t,numberingSystem:s,defaultToEN:!0});return _vendor_browser_luxon_src_impl_tokenParser.explainFromTokens(_,e,r)}},{key:"fromStringExplain",value:function(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.fromFormatExplain(r,n,o)}},{key:"DATE_SHORT",get:function(){return _vendor_browser_luxon_src_impl_formats.DATE_SHORT}},{key:"DATE_MED",get:function(){return _vendor_browser_luxon_src_impl_formats.DATE_MED}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return _vendor_browser_luxon_src_impl_formats.DATE_MED_WITH_WEEKDAY}},{key:"DATE_FULL",get:function(){return _vendor_browser_luxon_src_impl_formats.DATE_FULL}},{key:"DATE_HUGE",get:function(){return _vendor_browser_luxon_src_impl_formats.DATE_HUGE}},{key:"TIME_SIMPLE",get:function(){return _vendor_browser_luxon_src_impl_formats.TIME_SIMPLE}},{key:"TIME_WITH_SECONDS",get:function(){return _vendor_browser_luxon_src_impl_formats.TIME_WITH_SECONDS}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return _vendor_browser_luxon_src_impl_formats.TIME_WITH_SHORT_OFFSET}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return _vendor_browser_luxon_src_impl_formats.TIME_WITH_LONG_OFFSET}},{key:"TIME_24_SIMPLE",get:function(){return _vendor_browser_luxon_src_impl_formats.TIME_24_SIMPLE}},{key:"TIME_24_WITH_SECONDS",get:function(){return _vendor_browser_luxon_src_impl_formats.TIME_24_WITH_SECONDS}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return _vendor_browser_luxon_src_impl_formats.TIME_24_WITH_SHORT_OFFSET}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return _vendor_browser_luxon_src_impl_formats.TIME_24_WITH_LONG_OFFSET}},{key:"DATETIME_SHORT",get:function(){return _vendor_browser_luxon_src_impl_formats.DATETIME_SHORT}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return _vendor_browser_luxon_src_impl_formats.DATETIME_SHORT_WITH_SECONDS}},{key:"DATETIME_MED",get:function(){return _vendor_browser_luxon_src_impl_formats.DATETIME_MED}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return _vendor_browser_luxon_src_impl_formats.DATETIME_MED_WITH_SECONDS}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return _vendor_browser_luxon_src_impl_formats.DATETIME_MED_WITH_WEEKDAY}},{key:"DATETIME_FULL",get:function(){return _vendor_browser_luxon_src_impl_formats.DATETIME_FULL}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return _vendor_browser_luxon_src_impl_formats.DATETIME_FULL_WITH_SECONDS}},{key:"DATETIME_HUGE",get:function(){return _vendor_browser_luxon_src_impl_formats.DATETIME_HUGE}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return _vendor_browser_luxon_src_impl_formats.DATETIME_HUGE_WITH_SECONDS}}]),e}();function friendlyDateTime(e){if(DateTime.isDateTime(e))return e;if(e&&e.valueOf&&_vendor_browser_luxon_src_impl_util.isNumber(e.valueOf()))return DateTime.fromJSDate(e);if(e&&"object"==typeof e)return DateTime.fromObject(e);throw new _vendor_browser_luxon_src_errors.InvalidArgumentError("Unknown datetime argument: ".concat(e,", of type ").concat(void 0===e?"undefined":_typeof(e)))}exports.DateTime=DateTime,exports.friendlyDateTime=friendlyDateTime;
}, {"719":719,"720":720,"721":721,"723":723,"725":725,"1823":1823,"1824":1824,"1825":1825,"1826":1826,"1827":1827,"1828":1828,"1829":1829,"1830":1830,"1831":1831,"1832":1832,"1833":1833}];
window.modules["719"] = [function(require,module,exports){"use strict";var _vendor_browser_luxon_src_errors=require(1823),_vendor_browser_luxon_src_impl_formatter=require(1824),_vendor_browser_luxon_src_impl_invalid=require(1833),_vendor_browser_luxon_src_impl_locale=require(1825),_vendor_browser_luxon_src_impl_regexParser=require(1829),_vendor_browser_luxon_src_impl_util=require(1826),_vendor_browser_luxon_src_settings=require(723);function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t2&&void 0!==arguments[2]&&arguments[2]?r.values:_objectSpread({},e.values,r.values||{}),loc:e.loc.clone(r.loc),conversionAccuracy:r.conversionAccuracy||e.conversionAccuracy};return new Duration(t)}function antiTrunc(e){return e<0?Math.floor(e):Math.ceil(e)}function convert(e,r,t,n,i){var s=e[i][t],o=r[t]/s,a=!(Math.sign(o)===Math.sign(n[i]))&&0!==n[i]&&Math.abs(o)<=1?antiTrunc(o):Math.trunc(o);n[i]+=a,r[t]-=a*s}function normalizeValues(e,r){reverseUnits.reduce(function(t,n){return _vendor_browser_luxon_src_impl_util.isUndefined(r[n])?t:(t&&convert(e,r,t,r,n),n)},null)}var Duration=function(){function e(r){_classCallCheck(this,e);var t="longterm"===r.conversionAccuracy||!1;this.values=r.values,this.loc=r.loc||_vendor_browser_luxon_src_impl_locale.Locale.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=r.invalid||null,this.matrix=t?accurateMatrix:casualMatrix,this.isLuxonDuration=!0}return _createClass(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"toFormat",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=_objectSpreadProps(_objectSpread({},r),{floor:!1!==r.round&&!1!==r.floor});return this.isValid?_vendor_browser_luxon_src_impl_formatter.Formatter.create(this.loc,t).formatDurationFromString(this,e):INVALID}},{key:"toHuman",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this,t=orderedUnits.map(function(t){var n=r.values[t];return _vendor_browser_luxon_src_impl_util.isUndefined(n)?null:r.loc.numberFormatter(_objectSpreadProps(_objectSpread({style:"unit",unitDisplay:"long"},e),{unit:t.slice(0,-1)})).format(n)}).filter(function(e){return e});return this.loc.listFormatter(_objectSpread({type:"conjunction",style:e.listStyle||"narrow"},e)).format(t)}},{key:"toObject",value:function(){return this.isValid?_objectSpread({},this.values):{}}},{key:"toISO",value:function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=_vendor_browser_luxon_src_impl_util.roundTo(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}},{key:"toISOTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.isValid)return null;var r=this.toMillis();if(r<0||r>=864e5)return null;e=_objectSpread({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var t=this.shiftTo("hours","minutes","seconds","milliseconds"),n="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===t.seconds&&0===t.milliseconds||(n+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===t.milliseconds||(n+=".SSS"));var i=t.toFormat(n);return e.includePrefix&&(i="T"+i),i}},{key:"toJSON",value:function(){return this.toISO()}},{key:"toString",value:function(){return this.toISO()}},{key:"toMillis",value:function(){return this.as("milliseconds")}},{key:"valueOf",value:function(){return this.toMillis()}},{key:"plus",value:function(r){if(!this.isValid)return this;var t=e.fromDurationLike(r),n={},i=!0,s=!1,o=void 0;try{for(var a,l=orderedUnits[Symbol.iterator]();!(i=(a=l.next()).done);i=!0){var u=a.value;(_vendor_browser_luxon_src_impl_util.hasOwnProperty(t.values,u)||_vendor_browser_luxon_src_impl_util.hasOwnProperty(this.values,u))&&(n[u]=t.get(u)+this.get(u))}}catch(e){s=!0,o=e}finally{try{i||null==l.return||l.return()}finally{if(s)throw o}}return clone(this,{values:n},!0)}},{key:"minus",value:function(r){if(!this.isValid)return this;var t=e.fromDurationLike(r);return this.plus(t.negate())}},{key:"mapUnits",value:function(e){if(!this.isValid)return this;var r={},t=!0,n=!1,i=void 0;try{for(var s,o=Object.keys(this.values)[Symbol.iterator]();!(t=(s=o.next()).done);t=!0){var a=s.value;r[a]=_vendor_browser_luxon_src_impl_util.asNumber(e(this.values[a],a))}}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}return clone(this,{values:r},!0)}},{key:"get",value:function(r){return this[e.normalizeUnit(r)]}},{key:"set",value:function(r){return this.isValid?clone(this,{values:_objectSpread({},this.values,_vendor_browser_luxon_src_impl_util.normalizeObject(r,e.normalizeUnit))}):this}},{key:"reconfigure",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.locale,t=e.numberingSystem,n=e.conversionAccuracy,i={loc:this.loc.clone({locale:r,numberingSystem:t})};return n&&(i.conversionAccuracy=n),clone(this,i)}},{key:"as",value:function(e){return this.isValid?this.shiftTo(e).get(e):NaN}},{key:"normalize",value:function(){if(!this.isValid)return this;var e=this.toObject();return normalizeValues(this.matrix,e),clone(this,{values:e},!0)}},{key:"shiftTo",value:function(){for(var r=arguments.length,t=new Array(r),n=0;n=0){i=_;var v=0;for(var y in o)v+=this.matrix[y][_]*o[y],o[y]=0;_vendor_browser_luxon_src_impl_util.isNumber(a[_])&&(v+=a[_]);var f=Math.trunc(v);for(var m in s[_]=f,o[_]=(1e3*v-1e3*f)/1e3,a)orderedUnits.indexOf(m)>orderedUnits.indexOf(_)&&convert(this.matrix,a,m,s,_)}else _vendor_browser_luxon_src_impl_util.isNumber(a[_])&&(o[_]=a[_])}}catch(e){u=!0,c=e}finally{try{l||null==h.return||h.return()}finally{if(u)throw c}}for(var b in o)0!==o[b]&&(s[i]+=b===i?o[b]:o[b]/this.matrix[i][b]);return clone(this,{values:s},!0).normalize()}},{key:"negate",value:function(){if(!this.isValid)return this;var e={},r=!0,t=!1,n=void 0;try{for(var i,s=Object.keys(this.values)[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var o=i.value;e[o]=0===this.values[o]?0:-this.values[o]}}catch(e){t=!0,n=e}finally{try{r||null==s.return||s.return()}finally{if(t)throw n}}return clone(this,{values:e},!0)}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"equals",value:function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;var r,t,n=!0,i=!1,s=void 0;try{for(var o,a=orderedUnits[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;if(r=this.values[l],t=e.values[l],!(void 0===r||0===r?void 0===t||0===t:r===t))return!1}}catch(e){i=!0,s=e}finally{try{n||null==a.return||a.return()}finally{if(i)throw s}}return!0}}],[{key:"fromMillis",value:function(r,t){return e.fromObject({milliseconds:r},t)}},{key:"fromObject",value:function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==r||"object"!=typeof r)throw new _vendor_browser_luxon_src_errors.InvalidArgumentError("Duration.fromObject: argument expected to be an object, got ".concat(null===r?"null":void 0===r?"undefined":_typeof(r)));return new e({values:_vendor_browser_luxon_src_impl_util.normalizeObject(r,e.normalizeUnit),loc:_vendor_browser_luxon_src_impl_locale.Locale.fromObject(t),conversionAccuracy:t.conversionAccuracy})}},{key:"fromDurationLike",value:function(r){if(_vendor_browser_luxon_src_impl_util.isNumber(r))return e.fromMillis(r);if(e.isDuration(r))return r;if("object"==typeof r)return e.fromObject(r);throw new _vendor_browser_luxon_src_errors.InvalidArgumentError("Unknown duration argument ".concat(r," of type ").concat(void 0===r?"undefined":_typeof(r)))}},{key:"fromISO",value:function(r,t){var n=_slicedToArray(_vendor_browser_luxon_src_impl_regexParser.parseISODuration(r),1)[0];return n?e.fromObject(n,t):e.invalid("unparsable",'the input "'.concat(r,"\" can't be parsed as ISO 8601"))}},{key:"fromISOTime",value:function(r,t){var n=_slicedToArray(_vendor_browser_luxon_src_impl_regexParser.parseISOTimeOnly(r),1)[0];return n?e.fromObject(n,t):e.invalid("unparsable",'the input "'.concat(r,"\" can't be parsed as ISO 8601"))}},{key:"invalid",value:function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!r)throw new _vendor_browser_luxon_src_errors.InvalidArgumentError("need to specify a reason the Duration is invalid");var n=_instanceof(r,_vendor_browser_luxon_src_impl_invalid.Invalid)?r:new _vendor_browser_luxon_src_impl_invalid.Invalid(r,t);if(_vendor_browser_luxon_src_settings.Settings.throwOnInvalid)throw new _vendor_browser_luxon_src_errors.InvalidDurationError(n);return new e({invalid:n})}},{key:"normalizeUnit",value:function(e){var r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!r)throw new _vendor_browser_luxon_src_errors.InvalidUnitError(e);return r}},{key:"isDuration",value:function(e){return e&&e.isLuxonDuration||!1}}]),e}();exports.Duration=Duration;
}, {"723":723,"1823":1823,"1824":1824,"1825":1825,"1826":1826,"1829":1829,"1833":1833}];
window.modules["720"] = [function(require,module,exports){"use strict";var _vendor_browser_luxon_src_datetime=require(718),_vendor_browser_luxon_src_duration=require(719),_vendor_browser_luxon_src_settings=require(723),_vendor_browser_luxon_src_errors=require(1823),_vendor_browser_luxon_src_impl_invalid=require(1833);function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:"milliseconds";return this.isValid?this.toDuration.apply(this,[e]).get(e):NaN}},{key:"count",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"milliseconds";if(!this.isValid)return NaN;var t=this.start.startOf(e),r=this.end.startOf(e);return Math.floor(r.diff(t,e).get(e))+1}},{key:"hasSame",value:function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}},{key:"isEmpty",value:function(){return this.s.valueOf()===this.e.valueOf()}},{key:"isAfter",value:function(e){return!!this.isValid&&this.s>e}},{key:"isBefore",value:function(e){return!!this.isValid&&this.e<=e}},{key:"contains",value:function(e){return!!this.isValid&&(this.s<=e&&this.e>e)}},{key:"set",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.start,n=t.end;return this.isValid?e.fromDateTimes(r||this.s,n||this.e):this}},{key:"splitAt",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n+this.e?this.e:u;s.push(e.fromDateTimes(o,c)),o=c,l+=1}return s}},{key:"splitBy",value:function(t){var r=_vendor_browser_luxon_src_duration.Duration.fromDurationLike(t);if(!this.isValid||!r.isValid||0===r.as("milliseconds"))return[];for(var n,i=this.s,a=1,s=[];i+this.e?this.e:o,s.push(e.fromDateTimes(i,n)),i=n,a+=1}return s}},{key:"divideEqually",value:function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}},{key:"overlaps",value:function(e){return this.e>e.s&&this.s=e.e)}},{key:"equals",value:function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))}},{key:"intersection",value:function(t){if(!this.isValid)return this;var r=this.s>t.s?this.s:t.s,n=this.e=n?null:e.fromDateTimes(r,n)}},{key:"union",value:function(t){if(!this.isValid)return this;var r=this.st.e?this.e:t.e;return e.fromDateTimes(r,n)}},{key:"difference",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:{}).separator,r=void 0===t?" â ":t;return this.isValid?"".concat(this.s.toFormat(e)).concat(r).concat(this.e.toFormat(e)):INVALID}},{key:"toDuration",value:function(e,t){return this.isValid?this.e.diff(this.s,e,t):_vendor_browser_luxon_src_duration.Duration.invalid(this.invalidReason)}},{key:"mapEndpoints",value:function(t){return e.fromDateTimes(t(this.s),t(this.e))}}],[{key:"invalid",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!t)throw new _vendor_browser_luxon_src_errors.InvalidArgumentError("need to specify a reason the Interval is invalid");var n=_instanceof(t,_vendor_browser_luxon_src_impl_invalid.Invalid)?t:new _vendor_browser_luxon_src_impl_invalid.Invalid(t,r);if(_vendor_browser_luxon_src_settings.Settings.throwOnInvalid)throw new _vendor_browser_luxon_src_errors.InvalidIntervalError(n);return new e({invalid:n})}},{key:"fromDateTimes",value:function(t,r){var n=_vendor_browser_luxon_src_datetime.friendlyDateTime(t),i=_vendor_browser_luxon_src_datetime.friendlyDateTime(r),a=validateStartEnd(n,i);return null==a?new e({start:n,end:i}):a}},{key:"after",value:function(t,r){var n=_vendor_browser_luxon_src_duration.Duration.fromDurationLike(r),i=_vendor_browser_luxon_src_datetime.friendlyDateTime(t);return e.fromDateTimes(i,i.plus(n))}},{key:"before",value:function(t,r){var n=_vendor_browser_luxon_src_duration.Duration.fromDurationLike(r),i=_vendor_browser_luxon_src_datetime.friendlyDateTime(t);return e.fromDateTimes(i.minus(n),i)}},{key:"fromISO",value:function(t,r){var n=_slicedToArray((t||"").split("/",2),2),i=n[0],a=n[1];if(i&&a){var s,o,l,u;try{o=(s=_vendor_browser_luxon_src_datetime.DateTime.fromISO(i,r)).isValid}catch(e){o=!1}try{u=(l=_vendor_browser_luxon_src_datetime.DateTime.fromISO(a,r)).isValid}catch(e){u=!1}if(o&&u)return e.fromDateTimes(s,l);if(o){var c=_vendor_browser_luxon_src_duration.Duration.fromISO(a,r);if(c.isValid)return e.after(s,c)}else if(u){var d=_vendor_browser_luxon_src_duration.Duration.fromISO(i,r);if(d.isValid)return e.before(l,d)}}return e.invalid("unparsable",'the input "'.concat(t,"\" can't be parsed as ISO 8601"))}},{key:"isInterval",value:function(e){return e&&e.isLuxonInterval||!1}},{key:"merge",value:function(e){var t=_slicedToArray(e.sort(function(e,t){return e.s-t.s}).reduce(function(e,t){var r=_slicedToArray(e,2),n=r[0],i=r[1];return i?i.overlaps(t)||i.abutsStart(t)?[n,i.union(t)]:[n.concat([i]),t]:[n,t]},[[],null]),2),r=t[0],n=t[1];return n&&r.push(n),r}},{key:"xor",value:function(t){var r,n=null,i=0,a=[],s=t.map(function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]}),o=(r=Array.prototype).concat.apply(r,_toConsumableArray(s)).sort(function(e,t){return e.time-t.time}),l=!0,u=!1,c=void 0;try{for(var d,f=o[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var v=d.value;1===(i+="s"===v.type?1:-1)?n=v.time:(n&&+n!=+v.time&&a.push(e.fromDateTimes(n,v.time)),n=null)}}catch(e){u=!0,c=e}finally{try{l||null==f.return||f.return()}finally{if(u)throw c}}return e.merge(a)}}]),e}();exports.Interval=Interval;
}, {"718":718,"719":719,"723":723,"1823":1823,"1833":1833}];
window.modules["721"] = [function(require,module,exports){"use strict";var _vendor_browser_luxon_src_datetime=require(718),_vendor_browser_luxon_src_settings=require(723),_vendor_browser_luxon_src_impl_locale=require(1825),_vendor_browser_luxon_src_zones_IANAZone=require(724),_vendor_browser_luxon_src_impl_zoneUtil=require(1827),_vendor_browser_luxon_src_impl_util=require(1826);function _classCallCheck(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,o){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:_vendor_browser_luxon_src_settings.Settings.defaultZone,o=_vendor_browser_luxon_src_datetime.DateTime.now().setZone(e).set({month:12});return!e.isUniversal&&o.offset!==o.set({month:6}).offset}},{key:"isValidIANAZone",value:function(e){return _vendor_browser_luxon_src_zones_IANAZone.IANAZone.isValidZone(e)}},{key:"normalizeZone",value:function(e){return _vendor_browser_luxon_src_impl_zoneUtil.normalizeZone(e,_vendor_browser_luxon_src_settings.Settings.defaultZone)}},{key:"months",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o.locale,r=void 0===n?null:n,l=o.numberingSystem,t=void 0===l?null:l,i=o.locObj,_=void 0===i?null:i,s=o.outputCalendar,u=void 0===s?"gregory":s;return(_||_vendor_browser_luxon_src_impl_locale.Locale.create(r,t,u)).months(e)}},{key:"monthsFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o.locale,r=void 0===n?null:n,l=o.numberingSystem,t=void 0===l?null:l,i=o.locObj,_=void 0===i?null:i,s=o.outputCalendar,u=void 0===s?"gregory":s;return(_||_vendor_browser_luxon_src_impl_locale.Locale.create(r,t,u)).months(e,!0)}},{key:"weekdays",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o.locale,r=void 0===n?null:n,l=o.numberingSystem,t=void 0===l?null:l,i=o.locObj;return((void 0===i?null:i)||_vendor_browser_luxon_src_impl_locale.Locale.create(r,t,null)).weekdays(e)}},{key:"weekdaysFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o.locale,r=void 0===n?null:n,l=o.numberingSystem,t=void 0===l?null:l,i=o.locObj;return((void 0===i?null:i)||_vendor_browser_luxon_src_impl_locale.Locale.create(r,t,null)).weekdays(e,!0)}},{key:"meridiems",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).locale,o=void 0===e?null:e;return _vendor_browser_luxon_src_impl_locale.Locale.create(o).meridiems()}},{key:"eras",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"short",o=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).locale,n=void 0===o?null:o;return _vendor_browser_luxon_src_impl_locale.Locale.create(n,null,"gregory").eras(e)}},{key:"features",value:function(){return{relative:_vendor_browser_luxon_src_impl_util.hasRelative()}}}]),e}();exports.Info=Info;
}, {"718":718,"723":723,"724":724,"1825":1825,"1826":1826,"1827":1827}];
window.modules["722"] = [function(require,module,exports){"use strict";var _vendor_browser_luxon_src_errors=require(1823);function _classCallCheck(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(r,e){for(var o=0;oe.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0?_:1e3+_))/6e4}},{key:"equals",value:function(e){return"iana"===e.type&&e.name===this.name}},{key:"isValid",get:function(){return this.valid}}],[{key:"create",value:function(e){return ianaZoneCache[e]||(ianaZoneCache[e]=new r(e)),ianaZoneCache[e]}},{key:"resetCache",value:function(){ianaZoneCache={},dtfCache={}}},{key:"isValidSpecifier",value:function(e){return this.isValidZone(e)}},{key:"isValidZone",value:function(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}}]),r}();exports.IANAZone=IANAZone;
}, {"722":722,"1826":1826}];
window.modules["725"] = [function(require,module,exports){"use strict";var _vendor_browser_luxon_src_impl_util=require(1826),_vendor_browser_luxon_src_zone=require(722);function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:_lib_browser_common_helpers_analytics_types.initialCNNModel,o=arguments.length>2?arguments[2]:void 0,n=e.componentKey,t=e.href,r=void 0===t?"":t,s=e.suppressOperators,i=e.language,l=void 0===i?_lib_browser_common_languageManager_constants_index.DEFAULT_LANGUAGE:i,c=e.myElectionClientOptions,a=void 0===c?{env:"production",myElectionEnabled:!1,logInUrl:"",signUpUrl:""}:c;("object"!=typeof a||Array.isArray(a))&&(a={env:"production",myElectionEnabled:!1,logInUrl:"",signUpUrl:""});var b,m=_vendor_browser_svelte_store_index.readable({componentKey:n||DEFAULT_COMPONENT_KEY});if(_vendor_browser_lodash_get.get_1(a,"myElectionEnabled",!1)&&n){var E=a.electionEvent||_lib_browser_common_helpers_getElectionEvent.getElectionEvent(n);if(a.env&&E){a.electionEvent=E;var d=_lib_browser_common_clients_MyElection_singleton.getMyElectionClient(a);d.isAuthenticated()&&d.init([E]),b=_vendor_browser_svelte_store_index.readable({client:d})}}var v=_vendor_browser_svelte_store_index.writable(0),w=o&&_lib_browser_common_helpers_analytics_getComponentName.getComponentName(o),y=_vendor_browser_svelte_store_index.derived(m,function(e){var o=e.componentKey;return _lib_browser_common_helpers_analytics_utils.createAnalyticsContext(o,_||_lib_browser_common_helpers_analytics_types.initialCNNModel,r,w)}),p=_vendor_browser_svelte_store_index.writable({}),g=_vendor_browser_svelte_store_index.writable({}),x=_vendor_browser_svelte_store_index.readable(s),T=_vendor_browser_svelte_store_index.writable(0),C=_vendor_browser_svelte_store_index.readable(l);return new Map([[_lib_browser_common_constants_contextKeys.IDENTITY_CONTEXT_KEY,m],[_lib_browser_common_constants_contextKeys.NEXT_UPDATE_CONTEXT_KEY,v],[_lib_browser_common_constants_contextKeys.ANALYTICS_CONTEXT_KEY,y],[_lib_browser_common_constants_contextKeys.FEATURE_FLAGS_CONTEXT_KEY,p],[_lib_browser_common_constants_contextKeys.COLOR_OVERRIDES_CONTEXT_KEY,g],[_lib_browser_common_constants_contextKeys.EXTERNAL_CONFIG_LAST_UPDATED,T],[_lib_browser_common_constants_contextKeys.SUPPRESS_OPERATORS_KEY,x],[_lib_browser_common_constants_contextKeys.MY_ELECTION_CLIENT_KEY,b],[_lib_browser_common_constants_contextKeys.COMPONENT_LANGUAGE_KEY,C]])}exports.createComponentContext=createComponentContext;
}, {"618":618,"624":624,"626":626,"743":743,"780":780,"785":785,"786":786,"793":793,"794":794}];
window.modules["793"] = [function(require,module,exports){"use strict";function _arrayLikeToArray(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e1&&void 0!==arguments[1]?arguments[1]:{};r.headers=r.headers||{};var n=getHeaderRules();for(var t in n)e.includes(t)&&(r.headers=mergeHeaders(r.headers,n[t]));return r};function getDomainString(e){if("string"==typeof e)return new URL(e).hostname;if(_instanceof(e,URL))return e.hostname;if(_instanceof(e,Request))return new URL(e.url).hostname;throw new Error("Unsupported type for requestInfo")}function mergeHeaders(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};if(_instanceof(e,Headers))e.forEach(function(e,r){n[r]=e});else{if("object"!=typeof e)throw new Error("Unsupported headers type");n=_objectSpread({},e)}return _objectSpread({},n,r)}exports.getDomainString=getDomainString,exports.setCommonHeaders=setCommonHeaders;
}, {}];
window.modules["804"] = [function(require,module,exports){"use strict";var _vendor_browser_crossFetch_dist_browserPonyfill=require(805),_lib_browser_common_helpers_fetcher__fetcher=require(801),isoFetcher=function(e,r){return _lib_browser_common_helpers_fetcher__fetcher._fetcher(_vendor_browser_crossFetch_dist_browserPonyfill.fetch,e,r)};exports.isoFetcher=isoFetcher;
}, {"801":801,"805":805}];
window.modules["805"] = [function(require,module,exports){"use strict";var _vendor_browser__commonjsHelpers=require(1160);function _instanceof(t,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var browserPonyfill=_vendor_browser__commonjsHelpers.createCommonjsModule(function(t,e){var r,o,n="undefined"!=typeof self?self:_vendor_browser__commonjsHelpers.commonjsGlobal,s=((r=function(){this.fetch=!1,this.DOMException=n.DOMException}).prototype=n,new r);o=s,function(t){var e=function(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()},r=function(t){return"string"!=typeof t&&(t=String(t)),t},n=function(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return p.iterable&&(e[Symbol.iterator]=function(){return e}),e},s=function(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0},i=function(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})},a=function(t){var e=new FileReader,r=i(e);return e.readAsArrayBuffer(t),r},h=function(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer},f=function(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:p.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:p.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:p.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():p.arrayBuffer&&p.blob&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):p.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||b(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):p.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},p.blob&&(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(a)}),this.text=function(){var t,e,r,o=s(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=i(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o-1?e:t},c=function(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}}),e},d=function(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new m(e.headers),this.url=e.url||"",this._initBody(t)},l=function(e,r){return new Promise(function(o,n){var s=new _(e,r);if(s.signal&&s.signal.aborted)return n(new t.DOMException("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,r={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new m,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}}),e)};r.url="responseURL"in i?i.responseURL:r.headers.get("X-Request-URL");var n="response"in i?i.response:i.responseText;o(new d(n,r))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.onabort=function(){n(new t.DOMException("Aborted","AbortError"))},i.open(s.method,s.url,!0),"include"===s.credentials?i.withCredentials=!0:"omit"===s.credentials&&(i.withCredentials=!1),"responseType"in i&&p.blob&&(i.responseType="blob"),s.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),s.signal&&(s.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&s.signal.removeEventListener("abort",a)}),i.send(void 0===s._bodyInit?null:s._bodyInit)})},p={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};if(p.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=ArrayBuffer.isView||function(t){return t&&y.indexOf(Object.prototype.toString.call(t))>-1};function m(t){this.map={},_instanceof(t,m)?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}m.prototype.append=function(t,o){t=e(t),o=r(o);var n=this.map[t];this.map[t]=n?n+", "+o:o},m.prototype.delete=function(t){delete this.map[e(t)]},m.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},m.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},m.prototype.set=function(t,o){this.map[e(t)]=r(o)},m.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},m.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),n(t)},m.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),n(t)},m.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),n(t)},p.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(t,e){var r=(e=e||{}).body;if(_instanceof(t,_)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new m(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new m(e.headers)),this.method=u(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},f.call(_.prototype),f.call(d.prototype),d.prototype.clone=function(){return new d(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},d.error=function(){var t=new d(null,{status:0,statusText:""});return t.type="error",t};var v=[301,302,303,307,308];d.redirect=function(t,e){if(-1===v.indexOf(e))throw new RangeError("Invalid status code");return new d(null,{status:e,headers:{location:t}})},t.DOMException=o.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}l.polyfill=!0,o.fetch||(o.fetch=l,o.Headers=m,o.Request=_,o.Response=d),t.Headers=m,t.Request=_,t.Response=d,t.fetch=l,Object.defineProperty(t,"__esModule",{value:!0})}({}),s.fetch.ponyfill=!0,delete s.fetch.polyfill;var i=s;(e=i.fetch).default=i.fetch,e.fetch=i.fetch,e.Headers=i.Headers,e.Request=i.Request,e.Response=i.Response,t.exports=e}),fetch=_vendor_browser__commonjsHelpers.getDefaultExportFromCjs(browserPonyfill);exports.fetch=fetch;
}, {"1160":1160}];
window.modules["816"] = [function(require,module,exports){"use strict";var _lib_browser_common_helpers_poller=require(817),_lib_browser_common_constants_namespace=require(625),_vendor_browser_lodash_isEqual=require(657);function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!=typeof t?_assertThisInitialized(e):t}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _typeof=function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,o=_getPrototypeOf(e);if(t){var n=_getPrototypeOf(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return _possibleConstructorReturn(this,r)}}var DEFAULT_STORE_VALUE=null,DEFAULT_INTERVAL=10,PollerV2=function(e){_inherits(r,_lib_browser_common_helpers_poller.Poller);var t=_createSuper(r);function r(){var e;return _classCallCheck(this,r),(e=t.apply(this,arguments))._stores={},e}var o=r.prototype;return o.unregister=function(){document.removeEventListener("visibilitychange",this.handleVisibilityChange),this._observer&&this._observer.disconnect()},o.tick=function(){for(var e in this._stores)try{this._stores[e].paused||this.poll(e)}catch(t){console.error("[Poller][tick()] error fetching feed '".concat(e,"'"),t)}},o.subscribe=function(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e?(this._stores[e]||(this.initStore(e),this.poll(e,r)),o.elementToObserve&&this.setObserver(o.elementToObserve,e),this._stores[e].store.subscribe(this.createSubscriberV2(t))):function(){return null}},o.createSubscriberV2=function(e){var t,r=!1;return function(o){if(r)_vendor_browser_lodash_isEqual.isEqual_1(t,o)||(t=o,e(o));else{var n=_vendor_browser_lodash_isEqual.isEqual_1(o,DEFAULT_STORE_VALUE);r=!0,n||(t=o,e(o))}}},o.setObserver=function(e,t){var r=this,o=e;o.setAttribute("feedURL",t),this._stores[t].visibleComponents||(this._stores[t].visibleComponents=new Set),this._observer||(this._observer=new IntersectionObserver(function(e){e.forEach(function(e){var t=e.target.getAttribute("feedURL");r._stores[t]&&(e.isIntersecting?(r._stores[t].visibleComponents.add(e.target),r._stores[t].visibleComponents.size>=1&&(r._stores[t].paused=!1)):(r._stores[t].visibleComponents.delete(e.target),r._stores[t].visibleComponents.size<1&&(r._stores[t].paused=!0)))})})),this._observer.unobserve(o),this._observer.observe(o)},r}();function getPoller(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DEFAULT_INTERVAL,t=e>0?e:DEFAULT_INTERVAL,r="interval-".concat(t);if("undefined"==typeof window)throw new Error("Poller cannot be used server-side");return window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE_V2]||(window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE_V2]={}),window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE_V2][r]||(window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE_V2][r]=new PollerV2(t)),window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE_V2][r]}exports.getPoller=getPoller;
}, {"625":625,"657":657,"817":817}];
window.modules["817"] = [function(require,module,exports){"use strict";var _vendor_browser_svelte_store_index=require(626),_vendor_browser_fetchRetry_dist_fetchRetry_umd=require(818),_vendor_browser_lodash_isEqual=require(657),_lib_browser_common_constants_namespace=require(625),_lib_browser_common_helpers_fetcher_isoFetch=require(804);function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var DEFAULT_INTERVAL=10,POLLING_INTERVAL_FLOOR=5,DEFAULT_STORE_VALUE=null,fetch=_vendor_browser_fetchRetry_dist_fetchRetry_umd.fetchRetry_umd(_lib_browser_common_helpers_fetcher_isoFetch.isoFetcher,{retries:2,retryDelay:1e3}),Poller=function(){function e(t){_classCallCheck(this,e),this._interval=DEFAULT_INTERVAL,this._stores={},this._global_subscribers={},t>=POLLING_INTERVAL_FLOOR&&(this._interval=t),this._all=_vendor_browser_svelte_store_index.writable(null),this.handleVisibilityChange=this.handleVisibilityChange.bind(this),this.tick=this.tick.bind(this),document.addEventListener("visibilitychange",this.handleVisibilityChange)}var t=e.prototype;return t.unregister=function(){document.removeEventListener("visibilitychange",this.handleVisibilityChange)},t.start=function(){this._timer||(this._timer=setInterval(this.tick,1e3*this._interval))},t.stop=function(){this._timer&&(clearInterval(this._timer),this._timer=null)},t.handleVisibilityChange=function(){document.hidden?this.stop():Object.keys(this._stores).length>0&&(this.tick(),this.start())},t.poll=function(e,t){var r=this;fetch(e).then(function(e){if(!e.ok)throw new Error("Invalid response code: ".concat(e.status));return e.json()}).then(function(t){r._stores[e]&&r._stores[e].set(t),r._all.set(t)}).catch(function(t){return console.error("[Poller][poll()] error fetching feed '".concat(e,"'"),t)}).finally(function(){return"function"==typeof t&&t()})},t.tick=function(){for(var e in this._stores)try{this.poll(e)}catch(t){console.error("[Poller][tick()] error fetching feed '".concat(e,"'"),t)}},t.initStore=function(e){var t=this;this._stores[e]={set:function(){},store:_vendor_browser_svelte_store_index.readable(DEFAULT_STORE_VALUE,function(r){return t._stores[e].set=r,t._timer||t.start(),function(){delete t._stores[e],0===Object.keys(t._stores).length&&t.stop()}})}},t.subscribe=function(e,t,r){return e?(this._stores[e]||(this.initStore(e),this.poll(e,r)),this._stores[e].store.subscribe(this.createSubscriber(t))):function(){return null}},t.subscribeAll=function(e){return this._all.subscribe(e)},t.createSubscriber=function(e){var t,r=!1;return function(s){if(r)_vendor_browser_lodash_isEqual.isEqual_1(t,s)||(t=s,e(s));else{var n=_vendor_browser_lodash_isEqual.isEqual_1(s,DEFAULT_STORE_VALUE);r=!0,n||(t=s,e(s))}}},e}();function getPoller(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DEFAULT_INTERVAL,t=e>0?e:DEFAULT_INTERVAL,r="interval-".concat(t);if("undefined"==typeof window)throw new Error("Poller cannot be used server-side");return window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE]||(window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE]={}),window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE][r]||(window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE][r]=new Poller(t)),window[_lib_browser_common_constants_namespace.POLLER_NAMESPACE][r]}exports.DEFAULT_INTERVAL=DEFAULT_INTERVAL,exports.Poller=Poller,exports.getPoller=getPoller;
}, {"625":625,"626":626,"657":657,"804":804,"818":818}];
window.modules["818"] = [function(require,module,exports){"use strict";var _vendor_browser__commonjsHelpers=require(1160);function _instanceof(e,r){return null!=r&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](e):e instanceof r}var fetchRetry_umd=_vendor_browser__commonjsHelpers.createCommonjsModule(function(e,r){var t,n;_vendor_browser__commonjsHelpers.commonjsGlobal,e.exports=(t=function(e){return Number.isInteger(e)&&e>=0},n=function(e){this.name="ArgumentError",this.message=e},function(e,r){if(r=r||{},"function"!=typeof e)throw new n("fetch must be a function");if("object"!=typeof r)throw new n("defaults must be an object");if(void 0!==r.retries&&!t(r.retries))throw new n("retries must be a positive integer");if(void 0!==r.retryDelay&&!t(r.retryDelay)&&"function"!=typeof r.retryDelay)throw new n("retryDelay must be a positive integer or a function returning a positive integer");if(void 0!==r.retryOn&&!Array.isArray(r.retryOn)&&"function"!=typeof r.retryOn)throw new n("retryOn property expects an array or function");return r=Object.assign({retries:3,retryDelay:1e3,retryOn:[]},r),function(o,i){var s=r.retries,f=r.retryDelay,u=r.retryOn;if(i&&void 0!==i.retries){if(!t(i.retries))throw new n("retries must be a positive integer");s=i.retries}if(i&&void 0!==i.retryDelay){if(!t(i.retryDelay)&&"function"!=typeof i.retryDelay)throw new n("retryDelay must be a positive integer or a function returning a positive integer");f=i.retryDelay}if(i&&i.retryOn){if(!Array.isArray(i.retryOn)&&"function"!=typeof i.retryOn)throw new n("retryOn property expects an array or function");u=i.retryOn}return new Promise(function(r,t){var n=function(e,r,t){var n="function"==typeof f?f(e,r,t):f;setTimeout(function(){y(++e)},n)},y=function(f){var y="undefined"!=typeof Request&&_instanceof(o,Request)?o.clone():o;e(y,i).then(function(e){if(Array.isArray(u)&&-1===u.indexOf(e.status))r(e);else if("function"==typeof u)try{return Promise.resolve(u(f,null,e)).then(function(t){t?n(f,null,e):r(e)}).catch(t)}catch(e){t(e)}else f2&&void 0!==arguments[2]&&arguments[2],r=_lib_sdk_browser__externalConfig_featureFlags_isFlagged_ts.isFlagged(e,s);return g?!r:r}exports.isFlaggedOff=isFlaggedOff;
}, {"903":903}];
window.modules["867"] = [function(require,module,exports){"use strict";function _arrayLikeToArray(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e1&&void 0!==arguments[1]?arguments[1]:"state",e={};try{e=JSON.parse(t.dataset[r])}catch(t){console.error("failed to parse props",t)}return e}exports.getProps=getProps;
}, {}];
window.modules["869"] = [function(require,module,exports){"use strict";var _lib_browser_common_helpers_poller=require(817),_lib_browser_common_helpers_context=require(792),_lib_browser_common_constants_contextKeys=require(743),_lib_sdk_browser__browser_shouldNotRender_ts=require(870),_lib_sdk_browser__browser_realizeUnsubscribe_ts=require(871),_lib_sdk_browser__externalConfig_contextManager_ts=require(872);function _defineProperty(e,r,o){return r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function mount(e,r){var o,t,n,s=r.target,_=r.props,l=r.feeds,i=r.componentKey,c=r.cnnModel,b=!!s.querySelector("[class*=cnn-pcl-]");!c&&(null===window||void 0===window?void 0:null===(o=window.CNN)||void 0===o?void 0:o.contentModel)&&(c=window.CNN.contentModel);var u,a,d=null==s?void 0:null===(t=s.dataset)||void 0===t?void 0:t.uri,m=_lib_browser_common_helpers_context.createComponentContext(r,c,d),w="function"==typeof e?e:null==e?void 0:e.default,p=new w({target:s,props:_,hydrate:b,context:m}),f=[];l&&(f=Object.keys(l).map(function(e){var r=l[e],o=r.uri,t=r.reducer,n=r.pollInterval,c=r.useNextUpdateRefreshTime;n&&(void 0!==c&&c&&(a=n),u=u?Math.min(u,n):n);var d=_lib_browser_common_helpers_poller.getPoller(n),f=!1;return d.subscribe(o,function(r){var o=t?t(r):r;if("featureFlags"===e){var n=_lib_sdk_browser__externalConfig_contextManager_ts.contextManager(m,r).featureFlagsData,l=void 0===n?{}:n;if(f)!_lib_sdk_browser__browser_shouldNotRender_ts.shouldNotRender(i,l)&&(p=new w({target:s,props:_,hydrate:b,context:m}),f=!1);_lib_sdk_browser__browser_shouldNotRender_ts.shouldNotRender(i,l)&&(p.$destroy(),f=!0)}else p.$set(_defineProperty({},e,o))})}),m.get(_lib_browser_common_constants_contextKeys.NEXT_UPDATE_CONTEXT_KEY).set(a||u||_lib_browser_common_helpers_poller.DEFAULT_INTERVAL));return{component:p,getComponentInstance:function(){return p},unsubscribe:_lib_sdk_browser__browser_realizeUnsubscribe_ts.realizeUnsubscribe(f,null===(n=m.get(_lib_browser_common_constants_contextKeys.MY_ELECTION_CLIENT_KEY))||void 0===n?void 0:n.unsubscribe)}}exports.mount=mount;
}, {"743":743,"792":792,"817":817,"870":870,"871":871,"872":872}];
window.modules["870"] = [function(require,module,exports){"use strict";var _lib_sdk_browser__externalConfig_featureFlags_makeTargetFeature_ts=require(873),_lib_sdk_browser__externalConfig_featureFlags_constants_ts=require(874),_lib_sdk_browser__externalConfig_featureFlags_isFlaggedOff_ts=require(860);function shouldNotRender(e,r){var t=_lib_sdk_browser__externalConfig_featureFlags_constants_ts.features.ENTIRE_COMPONENT,s=_lib_sdk_browser__externalConfig_featureFlags_makeTargetFeature_ts.makeTargetFeature(e,t);return _lib_sdk_browser__externalConfig_featureFlags_isFlaggedOff_ts.isFlaggedOff(s,r)}exports.shouldNotRender=shouldNotRender;
}, {"860":860,"873":873,"874":874}];
window.modules["871"] = [function(require,module,exports){"use strict";function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return[e+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""),t].filter(function(e){return e}).join("-")}exports.makeTargetFeature=makeTargetFeature;
}, {}];
window.modules["874"] = [function(require,module,exports){"use strict";var features=function(T){return T.PROJECTED_WINNER="ProjectedWinner",T.KEY_RACE="KeyRace",T.FLIPPED_RACE="FlippedRace",T.DROPPED_OUT="DroppedOut",T.TOO_CLOSE="TooClose",T.NEXT_UPDATE_TIMER="NextUpdateTimer",T.LAST_UPDATED_TIMESTAMP="LastUpdatedTimestamp",T.PERCENT_REPORTING="PercentReporting",T.DISTRICT_COLUMN="DistrictColumn",T.CANDIDATE_NAME_COLUMN="CandidateNameColumn",T.PARTY_COLOR_DOT="PartyColorDot",T.RUNOFF_CANDIDATE="RunoffCandidate",T.VOTES_PERCENT_COLUMN="VotesPercentColumn",T.VOTES_BAR_COLUMN="VotesBarColumn",T.VOTES_COLUMN="VotesColumn",T.DELEGATES_COLUMN="DelegatesColumn",T.TABLE_CHECKMARK="TableCheckmark",T.INCUMBENT_LABEL="IncumbentLabel",T.CRM_PARTY_LABEL="CrmPartyLabel",T.CRM_MINI_PARTY_LABEL="CrmMiniPartyLabel",T.DROP_OUT_TREATMENT="DropOutTreatment",T.AHEAD_COUNT="AheadCount",T.STATE_ELECTION_MAP_LEGEND="StateElectionMapLegend",T.STATE_MAP="StateMap",T.MAP_TOOLTIP="MapTooltip",T.POINTS_OF_INTEREST="PointsOfInterest",T.LIVE_INDICATOR_OFF="LiveIndicatorOff",T.LAST_UPDATED_HEADLINE="LastUpdatedHeadline",T.CRM_FOOTER_LINK="CrmFooterLink",T.CRM_FOOTER="CrmFooter",T.RESULTS_LIST_FOOTER="ResultsListFooter",T.DROPDOWN_MENUS="DropdownMenus",T.ENTIRE_COMPONENT="EntireComponent",T.BOP_CHECKMARK_LEFT="BopCheckmarkLeft",T.BOP_CHECKMARK_RIGHT="BopCheckmarkRight",T.BOP_TOOLTIP_LEFT="BopTooltipLeft",T.BOP_TOOLTIP_RIGHT="BopTooltipRight",T.BOP_FLIPPED_SEATS_TEXT_LEFT="BopFlippedSeatsTextLeft",T.BOP_FLIPPED_SEATS_TEXT_RIGHT="BopFlippedSeatsTextRight",T.BOP_NOT_UP_FOR_ELECTION_TEXT_LEFT="BopNotUpForElectionTextLeft",T.BOP_NOT_UP_FOR_ELECTION_TEXT_RIGHT="BopNotUpForElectionTextRight",T.BOP_PREVIOUS_CAUCUSES_AS_TEXT_LEFT="BopPreviousCaucusesAsTextLeft",T.BOP_PREVIOUS_CAUCUSES_AS_TEXT_RIGHT="BopPreviousCaucusesAsTextRight",T.BOP_PREVIOUS_CAUCUSES_AS_EXTRA_TEXT_LEFT="BopPreviousCaucusesAsExtraTextLeft",T.BOP_PREVIOUS_CAUCUSES_AS_EXTRA_TEXT_RIGHT="BopPreviousCaucusesAsExtraTextRight",T.BOP_TOOLTIP_EXPLAINER="BopTooltipExplainer",T.EDITORIAL_CONTENT="EditorialContent",T.ELECTORAL_AND_DELEGATE_TOTALS="ElectoralAndDelegateTotals",T.MY_ELECTION_FOLLOW_BUTTON_OFF="MyElectionFollowButtonOff",T.DURING_MODE="DuringMode",T.NATIONAL_MAP_LEGEND="NationalMapLegend",T.NATIONAL_MAP_LEGEND_META_KEYS="NationalMapMetaKeys",T.NATIONAL_MAP_ZOOM_OPTIONS="NationalMapZoomOptions",T.NATIONAL_MAP_INFO_PANEL="NationalMapInfoPanel",T.NATIONAL_MAP_CTA="NationalMapCTA",T.NATIONAL_MAP_PG_TREATMENT="NationalMapPgTreatment",T.NATIONAL_MAP_TREATMENT_DISCLAIMER="NationalMapTreatmentDisclaimer",T.DELEGATE_TRACKER_PROJECTED_WINNER="DelegateTrackerProjectedWinner",T.DELEGATE_TRACKER_CHECKMARK="DelegateTrackerCheckmark",T.DELEGATE_TRACKER_PROGRESS_BAR="DelegateTrackerProgressBar",T.DELEGATE_TRACKER_DROPPED_OUT="DelegateTrackerDroppedOut",T.DELEGATE_TRACKER_FOOTER="DelegateTrackerFooter",T.DELEGATE_TRACKER_FOOTER_LINK="DelegateTrackerFooterLink",T.DELEGATE_TRACKER_AHEAD_COUNT="DelegateTrackerAheadCount",T.PRESIDENTIAL_BOP_HEADSHOT_LEFT="PresidentialBopHeadshotLeft",T.PRESIDENTIAL_BOP_HEADSHOT_RIGHT="PresidentialBopHeadshotRight",T.PRESIDENTIAL_BOP_VOTES="PresidentialBopVotes",T.PRESIDENTIAL_BOP_VOTE_PERCENT="PresidentialBopVotePercent",T.PRESIDENTIAL_BOP_THIRD_PARTY_LIST="PresidentialBopThirdPartyList",T.FLIPPER_TICKER_COUNT="FlipperTickerCount",T.FLIPPER_TICKER_BOTTOM_PAGINATION="FlipperTickerBottomPagination",T.CRM_HEADSHOT="CrmHeadshot",T.CRM_POLLS_CLOSE_TIME="CrmPollsCloseTime",T.ROAD_TO_270_PAYWALL="RoadTo270PayWall",T.ROAD_TO_270_PAYWALL_SUBSCRIPTION="RoadTo270PayWallSubscription",T.CRM_MINI_PERCENT_COLUMN="CRMMiniPercentColumn",T.CRM_MINI_VOTES="CRMMiniVotesColumn",T.YOUR_ELECTION_TAB_BAR="YourElectionTabBar",T.YOUR_ELECTION_DASHBOARD="YourElectionDashboard",T.YOUR_ELECTION_RACE_DETAILS_LINKS="YourElectionRaceDetailsLinks",T}(features||{});exports.features=features;
}, {}];
window.modules["875"] = [function(require,module,exports){"use strict";var _lib_sdk_browser__externalConfig_constants_ts=require(876),_lib_sdk_browser__browser_checkActionConfig_ts=require(867);function _arrayLikeToArray(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e65536)throw new TypeError("pattern is too long");var i=this.options;if(!i.noglobstar&&"**"===t)return GLOBSTAR;if(""===t)return"";for(var r,a,s="",c=!!i.nocase,o=!1,h=[],u=[],p=!1,m=-1,f=-1,l="."===t.charAt(0)?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",g=this,d=0,b=t.length;d-1;M--){var R=u[M],k=s.slice(0,R.reStart),A=s.slice(R.reStart,R.reEnd-8),O=s.slice(R.reEnd-8,R.reEnd),_=s.slice(R.reEnd);O+=_;var j=k.split("(").length-1,T=_;for(d=0;d