@fluid-topics/ft-analytics-sessions-chart 1.2.14 → 1.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -47,7 +47,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ft-conte
|
|
|
47
47
|
input::-webkit-search-results-decoration {
|
|
48
48
|
display: none;
|
|
49
49
|
}
|
|
50
|
-
`;var Vc={};var Da={};G(Da,{ParametrizedLabelResolver:()=>Ta});var Ta=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,a;e=this.resolvePluralKey(e,r);let i=(a=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((o,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let a=`${String(e)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var si={};G(si,{FtCommandQueue:()=>Qr,FtLitElementRedux:()=>or,FtReduxStore:()=>ii,clearAllStores:()=>zp,isFtReduxStore:()=>Bt,redux:()=>ap,reduxEventListener:()=>ip,reduxReactive:()=>np});var np=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},ap=t=>{let e=t??{};return(r,o)=>{var a;let i={hasChanged:Wr,attribute:!1,...e};W(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[o],store:e.store})}},ip=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var Qr=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(o=>o.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}};function Bt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Kc,Zc,qc,Vo=Symbol("internalReduxEventsUnsubscribers"),ht=Symbol("internalStoresUnsubscribers"),Ht=Symbol("internalStores"),or=class extends pe{constructor(){super(...arguments),this[Kc]=new Map,this[Zc]=new Map,this[qc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Ht].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ht].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ht].get(e)}addStore(e,r){var o;r=(o=r??(Bt(e)?e.name:void 0))!==null&&o!==void 0?o:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Ht].delete(r)}setupStore(e,r){this[Ht].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ht].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let o=this.constructor.getPropertyOptions(r);if(!o?.attribute||!this.hasAttribute(typeof o?.attribute=="string"?o.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[ht].has(e.store):this[ht].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var o;this[ht].set(e,r.subscribe(()=>this.updateFromStores())),Bt(r)&&r.eventBus&&((o=this.reduxConstructor.reduxEventListeners)===null||o===void 0||o.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=l=>this[i](l);r.addEventListener(a.eventName,s),this[Vo].push(()=>r.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ht].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Vo].forEach(e=>e()),this[Vo]=[]}unsubscribeFromStore(e){this[ht].has(e)&&this[ht].get(e)(),this[ht].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Kc=ht,Zc=Ht,qc=Vo;or.reduxProperties=new Map;or.reduxReactiveProperties=new Set;or.reduxEventListeners=new Map;function Oe(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function et(t){return!!t&&!!t[J]}function Re(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===hp}(t)||Array.isArray(t)||!!t[ol]||!!(!((e=t.constructor)===null||e===void 0)&&e[ol])||za(t)||Ya(t))}function zt(t,e,r){r===void 0&&(r=!1),ir(t)===0?(r?Object.keys:ar)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,a){return e(a,o,t)})}function ir(t){var e=t[J];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:za(t)?2:Ya(t)?3:0}function nr(t,e){return ir(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function sp(t,e){return ir(t)===2?t.get(e):t[e]}function nl(t,e,r){var o=ir(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function al(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function za(t){return fp&&t instanceof Map}function Ya(t){return pp&&t instanceof Set}function yt(t){return t.o||t.t}function ja(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=cl(t);delete e[J];for(var r=ar(e),o=0;o<r.length;o++){var a=r[o],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Ga(t,e){return e===void 0&&(e=!1),Va(t)||et(t)||!Re(t)||(ir(t)>1&&(t.set=t.add=t.clear=t.delete=cp),Object.freeze(t),e&&zt(t,function(r,o){return Ga(o,!0)},!0)),t}function cp(){Oe(2)}function Va(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Be(t){var e=Ha[t];return e||Oe(18,t),e}function lp(t,e){Ha[t]||(Ha[t]=e)}function Wa(){return to}function Ma(t,e){e&&(Be("Patches"),t.u=[],t.s=[],t.v=e)}function Ko(t){$a(t),t.p.forEach(dp),t.p=null}function $a(t){t===to&&(to=t.l)}function Jc(t){return to={p:[],l:to,h:t,m:!0,_:0}}function dp(t){var e=t[J];e.i===0||e.i===1?e.j():e.g=!0}function La(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||Be("ES5").S(e,t,o),o?(r[J].P&&(Ko(e),Oe(4)),Re(t)&&(t=Zo(e,t),e.l||qo(e,t)),e.u&&Be("Patches").M(r[J].t,t,e.u,e.s)):t=Zo(e,r,[]),Ko(e),e.u&&e.v(e.u,e.s),t!==sl?t:void 0}function Zo(t,e,r){if(Va(e))return e;var o=e[J];if(!o)return zt(e,function(l,d){return Xc(t,o,e,l,d,r)},!0),e;if(o.A!==t)return e;if(!o.P)return qo(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=ja(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),zt(i,function(l,d){return Xc(t,o,a,l,d,r,s)}),qo(t,a,!1),r&&t.u&&Be("Patches").N(o,r,t.u,t.s)}return o.o}function Xc(t,e,r,o,a,i,s){if(et(a)){var l=Zo(t,a,i&&e&&e.i!==3&&!nr(e.R,o)?i.concat(o):void 0);if(nl(r,o,l),!et(l))return;t.m=!1}else s&&r.add(a);if(Re(a)&&!Va(a)){if(!t.h.D&&t._<1)return;Zo(t,a),e&&e.A.l||qo(t,a)}}function qo(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ga(e,r)}function Fa(t,e){var r=t[J];return(r?yt(r):t)[e]}function Qc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function mt(t){t.P||(t.P=!0,t.l&&mt(t.l))}function Ua(t){t.o||(t.o=ja(t.t))}function Ba(t,e,r){var o=za(e)?Be("MapSet").F(e,r):Ya(e)?Be("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Wa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=ro;s&&(d=[l],u=eo);var h=Proxy.revocable(d,u),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m}(e,r):Be("ES5").J(e,r);return(r?r.A:Wa()).p.push(o),o}function up(t){return et(t)||Oe(22,t),function e(r){if(!Re(r))return r;var o,a=r[J],i=ir(r);if(a){if(!a.P&&(a.i<4||!Be("ES5").K(a)))return a.t;a.I=!0,o=el(r,i),a.I=!1}else o=el(r,i);return zt(o,function(s,l){a&&sp(a.t,s)===l||nl(o,s,e(l))}),i===3?new Set(o):o}(t)}function el(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ja(t)}function il(){function t(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[J];return ro.get(u,s)},set:function(u){var h=this[J];ro.set(h,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][J];if(!d.P)switch(d.i){case 5:o(d)&&mt(d);break;case 4:r(d)&&mt(d)}}}function r(s){for(var l=s.t,d=s.k,u=ar(d),h=u.length-1;h>=0;h--){var p=u[h];if(p!==J){var m=l[p];if(m===void 0&&!nr(l,p))return!0;var g=d[p],b=g&&g[J];if(b?b.t!==m:!al(g,m))return!0}}var S=!!l[J];return u.length!==ar(l).length+(S?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&Oe(3,JSON.stringify(yt(s)))}var i={};lp("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(p,m){if(p){for(var g=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(g,""+b,t(b,!0));return g}var S=cl(m);delete S[J];for(var C=ar(S),A=0;A<C.length;A++){var R=C[A];S[R]=t(R,p||!!S[R].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(d,s),h={i:d?5:4,A:l?l.A:Wa(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,J,{value:h,writable:!0}),u},S:function(s,l,d){d?et(l)&&l[J].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var p=h[J];if(p){var m=p.t,g=p.k,b=p.R,S=p.i;if(S===4)zt(g,function(v){v!==J&&(m[v]!==void 0||nr(m,v)?b[v]||u(g[v]):(b[v]=!0,mt(p)))}),zt(m,function(v){g[v]!==void 0||nr(g,v)||(b[v]=!1,mt(p))});else if(S===5){if(o(p)&&(mt(p),b.length=!0),g.length<m.length)for(var C=g.length;C<m.length;C++)b[C]=!1;else for(var A=m.length;A<g.length;A++)b[A]=!0;for(var R=Math.min(g.length,m.length),O=0;O<R;O++)g.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&u(g[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var tl,to,Ka=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",fp=typeof Map<"u",pp=typeof Set<"u",rl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",sl=Ka?Symbol.for("immer-nothing"):((tl={})["immer-nothing"]=!0,tl),ol=Ka?Symbol.for("immer-draftable"):"__$immer_draftable",J=Ka?Symbol.for("immer-state"):"__$immer_state";var hp=""+Object.prototype.constructor,ar=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,cl=Object.getOwnPropertyDescriptors||function(t){var e={};return ar(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ha={},ro={get:function(t,e){if(e===J)return t;var r=yt(t);if(!nr(r,e))return function(a,i,s){var l,d=Qc(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,r,e);var o=r[e];return t.I||!Re(o)?o:o===Fa(t.t,e)?(Ua(t),t.o[e]=Ba(t.A.h,o,t)):o},has:function(t,e){return e in yt(t)},ownKeys:function(t){return Reflect.ownKeys(yt(t))},set:function(t,e,r){var o=Qc(yt(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var a=Fa(yt(t),e),i=a?.[J];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(al(r,a)&&(r!==void 0||nr(t.t,e)))return!0;Ua(t),mt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Fa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ua(t),mt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=yt(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){Oe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Oe(12)}},eo={};zt(ro,function(t,e){eo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),eo.deleteProperty=function(t,e){return eo.set.call(this,t,e,void 0)},eo.set=function(t,e,r){return ro.set.call(this,t[0],e,r,t[0])};var yp=function(){function t(r){var o=this;this.O=rl,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=o;return function(S){var C=this;S===void 0&&(S=l);for(var A=arguments.length,R=Array(A>1?A-1:0),O=1;O<A;O++)R[O-1]=arguments[O];return d.produce(S,function(v){var w;return(w=i).call.apply(w,[C,v].concat(R))})}}var u;if(typeof i!="function"&&Oe(6),s!==void 0&&typeof s!="function"&&Oe(7),Re(a)){var h=Jc(o),p=Ba(o,a,void 0),m=!0;try{u=i(p),m=!1}finally{m?Ko(h):$a(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return Ma(h,s),La(S,h)},function(S){throw Ko(h),S}):(Ma(h,s),La(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===sl&&(u=void 0),o.D&&Ga(u,!0),s){var g=[],b=[];Be("Patches").M(a,u,g,b),s(g,b)}return u}Oe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return o.produceWithPatches(u,function(g){return a.apply(void 0,[g].concat(p))})};var s,l,d=o.produce(a,i,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Re(r)||Oe(8),et(r)&&(r=up(r));var o=Jc(this),a=Ba(this,r,void 0);return a[J].C=!0,$a(o),a},e.finishDraft=function(r,o){var a=r&&r[J],i=a.A;return Ma(i,o),La(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!rl&&Oe(20),this.O=r},e.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=Be("Patches").$;return et(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},t}(),xe=new yp,mp=xe.produce,wO=xe.produceWithPatches.bind(xe),EO=xe.setAutoFreeze.bind(xe),CO=xe.setUseProxies.bind(xe),_O=xe.applyPatches.bind(xe),AO=xe.createDraft.bind(xe),NO=xe.finishDraft.bind(xe),Jo=mp;function gt(t){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gt(t)}function Za(t,e){if(gt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(gt(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function qa(t){var e=Za(t,"string");return gt(e)==="symbol"?e:String(e)}function Ja(t,e,r){return e=qa(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ll(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,o)}return r}function Xo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ll(Object(r),!0).forEach(function(o){Ja(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ll(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var dl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Xa=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qo={INIT:"@@redux/INIT"+Xa(),REPLACE:"@@redux/REPLACE"+Xa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xa()}};function gp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Qa(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(le(1));return r(Qa)(t,e)}if(typeof t!="function")throw new Error(le(2));var a=t,i=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(le(3));return i}function p(S){if(typeof S!="function")throw new Error(le(4));if(d)throw new Error(le(5));var C=!0;return u(),l.push(S),function(){if(C){if(d)throw new Error(le(6));C=!1,u();var R=l.indexOf(S);l.splice(R,1),s=null}}}function m(S){if(!gp(S))throw new Error(le(7));if(typeof S.type>"u")throw new Error(le(8));if(d)throw new Error(le(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var C=s=l,A=0;A<C.length;A++){var R=C[A];R()}return S}function g(S){if(typeof S!="function")throw new Error(le(10));a=S,m({type:Qo.REPLACE})}function b(){var S,C=p;return S={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(le(11));function O(){R.next&&R.next(h())}O();var v=C(O);return{unsubscribe:v}}},S[dl]=function(){return this},S}return m({type:Qo.INIT}),o={dispatch:m,subscribe:p,getState:h,replaceReducer:g},o[dl]=b,o}function bp(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:Qo.INIT});if(typeof o>"u")throw new Error(le(12));if(typeof r(void 0,{type:Qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function ul(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var a=e[o];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,l;try{bp(r)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var p;for(var m=!1,g={},b=0;b<i.length;b++){var S=i[b],C=r[S],A=u[S],R=C(A,h);if(typeof R>"u"){var O=h&&h.type;throw new Error(le(14))}g[S]=R,m=m||R!==A}return m=m||i.length!==Object.keys(u).length,m?g:u}}function sr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function fl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(le(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=sr.apply(void 0,l)(a.dispatch),Xo(Xo({},a),{},{dispatch:i})}}}function pl(t){var e=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var hl=pl();hl.withExtraArgument=pl;var ei=hl;var xl=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),xp=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(h){u=[6,h],a=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},cr=function(t,e){for(var r=0,o=e.length,a=t.length;r<o;r++,a++)t[a]=e[r];return t},vp=Object.defineProperty,Sp=Object.defineProperties,Op=Object.getOwnPropertyDescriptors,yl=Object.getOwnPropertySymbols,wp=Object.prototype.hasOwnProperty,Ep=Object.prototype.propertyIsEnumerable,ml=function(t,e,r){return e in t?vp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},bt=function(t,e){for(var r in e||(e={}))wp.call(e,r)&&ml(t,r,e[r]);if(yl)for(var o=0,a=yl(e);o<a.length;o++){var r=a[o];Ep.call(e,r)&&ml(t,r,e[r])}return t},ti=function(t,e){return Sp(t,Op(e))},Cp=function(t,e,r){return new Promise(function(o,a){var i=function(d){try{l(r.next(d))}catch(u){a(u)}},s=function(d){try{l(r.throw(d))}catch(u){a(u)}},l=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(t,e)).next())})};var _p=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?sr:sr.apply(null,arguments)},GO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Ap(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Np=function(t){xl(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,cr([void 0],r[0].concat(this)))):new(e.bind.apply(e,cr([void 0],r.concat(this))))},e}(Array),Rp=function(t){xl(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,cr([void 0],r[0].concat(this)))):new(e.bind.apply(e,cr([void 0],r.concat(this))))},e}(Array);function ni(t){return Re(t)?Jo(t,function(){}):t}function kp(t){return typeof t=="boolean"}function Pp(){return function(e){return Ip(e)}}function Ip(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,a=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,l=new Np;if(r&&(kp(r)?l.push(ei):l.push(ei.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var u}return l}var ri=!0;function vl(t){var e=Pp(),r=t||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,h=u===void 0?void 0:u,p=r.enhancers,m=p===void 0?void 0:p,g;if(typeof a=="function")g=a;else if(Ap(a))g=ul(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!ri&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ri&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=fl.apply(void 0,b),C=sr;d&&(C=_p(bt({trace:!ri},typeof d=="object"&&d)));var A=new Rp(S),R=A;Array.isArray(m)?R=cr([S],m):typeof m=="function"&&(R=m(A));var O=C.apply(void 0,R);return Qa(g,h,O)}function xt(t,e){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return bt(bt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function Sl(t){var e={},r=[],o,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return t(a),[e,r,o]}function Tp(t){return typeof t=="function"}function Dp(t,e,r,o){r===void 0&&(r=[]);var a=typeof e=="function"?Sl(e):[e,r,o],i=a[0],s=a[1],l=a[2],d;if(Tp(t))d=function(){return ni(t())};else{var u=ni(t);d=function(){return u}}function h(p,m){p===void 0&&(p=d());var g=cr([i[m.type]],s.filter(function(b){var S=b.matcher;return S(m)}).map(function(b){var S=b.reducer;return S}));return g.filter(function(b){return!!b}).length===0&&(g=[l]),g.reduce(function(b,S){if(S)if(et(b)){var C=b,A=S(C,m);return A===void 0?b:A}else{if(Re(b))return Jo(b,function(R){return S(R,m)});var A=S(b,m);if(A===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return b},p)}return h.getInitialState=d,h}function Mp(t,e){return t+"/"+e}function Ol(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ni(t.initialState),o=t.reducers||{},a=Object.keys(o),i={},s={},l={};a.forEach(function(h){var p=o[h],m=Mp(e,h),g,b;"reducer"in p?(g=p.reducer,b=p.prepare):g=p,i[h]=g,s[m]=g,l[h]=b?xt(m,b):xt(m)});function d(){var h=typeof t.extraReducers=="function"?Sl(t.extraReducers):[t.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],b=g===void 0?[]:g,S=h[2],C=S===void 0?void 0:S,A=bt(bt({},m),s);return Dp(r,function(R){for(var O in A)R.addCase(O,A[O]);for(var v=0,w=b;v<w.length;v++){var k=w[v];R.addMatcher(k.matcher,k.reducer)}C&&R.addDefaultCase(C)})}var u;return{name:e,reducer:function(h,p){return u||(u=d()),u(h,p)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Lp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Fp=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Lp[Math.random()*64|0];return e},Up=["name","message","stack","code"],oi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),gl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Wp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Up;r<o.length;r++){var a=o[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},qO=function(){function t(e,r,o){var a=xt(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:ti(bt({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),i=xt(e+"/pending",function(h,p,m){return{payload:void 0,meta:ti(bt({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=xt(e+"/rejected",function(h,p,m,g,b){return{payload:g,error:(o&&o.serializeError||Wp)(h||"Rejected"),meta:ti(bt({},b||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(p,m,g){var b=o?.idGenerator?o.idGenerator(h):Fp(),S=new d,C,A=!1;function R(v){C=v,S.abort()}var O=function(){return Cp(this,null,function(){var v,w,k,D,B,$,I;return xp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),D=(v=o?.condition)==null?void 0:v.call(o,h,{getState:m,extra:g}),Bp(D)?[4,D]:[3,2];case 1:D=y.sent(),y.label=2;case 2:if(D===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,B=new Promise(function(x,P){return S.signal.addEventListener("abort",function(){return P({name:"AbortError",message:C||"Aborted"})})}),p(i(b,h,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:b,arg:h},{getState:m,extra:g}))),[4,Promise.race([B,Promise.resolve(r(h,{dispatch:p,getState:m,extra:g,requestId:b,signal:S.signal,abort:R,rejectWithValue:function(x,P){return new oi(x,P)},fulfillWithValue:function(x,P){return new gl(x,P)}})).then(function(x){if(x instanceof oi)throw x;return x instanceof gl?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return k=y.sent(),[3,5];case 4:return $=y.sent(),k=$ instanceof oi?s(null,b,h,$.payload,$.meta):s($,b,h),[3,5];case 5:return I=o&&!o.dispatchConditionRejection&&s.match(k)&&k.meta.condition,I||p(k),[2,k]}})})}();return Object.assign(O,{abort:R,requestId:b,arg:h,unwrap:function(){return O.then($p)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function $p(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Bp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var wl="listener",El="completed",Cl="cancelled",JO="task-"+Cl,XO="task-"+El,QO=wl+"-"+Cl,ew=wl+"-"+El;var ai="listenerMiddleware";var tw=xt(ai+"/add"),rw=xt(ai+"/removeAll"),ow=xt(ai+"/remove");var bl,nw=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(bl||(bl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Hp=function(t){return function(e){setTimeout(e,t)}},aw=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Hp(10);il();window.ftReduxStores||(window.ftReduxStores={});var ii=class t extends Lt{static get(e){var r;let o=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if(Bt(i))return i;if(a==null)return;let s=Ol({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=vl({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[a.name]=new t(s,l)}constructor(e,r){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Qr,this.actions=new Proxy(this.reduxSlice.actions,{get:(o,a,i)=>{let s=a,l=o[s];return l?(...d)=>{let u=l(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function zp(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Bt(e)&&e.clear()}var di={};G(di,{scrollHelper:()=>Yp});var ci,en=new Map,li=class{lock(e,r){if(r){let o=en.get(r);if(o==null||o===e)return en.set(r,e),r}}release(e,r){r&&en.get(r)===e&&en.delete(r)}findFirstScrollableParent(e){let r,o=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let u=d,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&l==null&&(l=u)}r=(i=s??l)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",o),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",o),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let o=0;for(;r&&r.offsetParent!==e.offsetParent;)o+=r.offsetTop,r=r.offsetParent;return o+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,e),i=a-o.clientHeight+e.clientHeight,s=a,l=$r(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(ci=window.FluidTopicsScrollHelper)!==null&&ci!==void 0?ci:new li;var Yp=window.FluidTopicsScrollHelper;var ui={};G(ui,{shadowQuerySelector:()=>jp,shadowQuerySelectorAll:()=>Gp});function jp(t,e,...r){var o;let a=t.querySelector(e);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function Gp(t,e,...r){let o=[...t.querySelectorAll(e)];for(let a of r)o=o.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return o}var fi={};G(fi,{SearchPlaceConverter:()=>on,SearchPlaceQueryParams:()=>V,isSearchPlaceQueryParams:()=>ql,serializeRequest:()=>Zp});var Vp=ru(Al(),1);var Nl;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Nl||(Nl={}));var Rl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Rl||(Rl={}));var kl;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(kl||(kl={}));var Pl;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Pl||(Pl={}));var Il;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Il||(Il={}));var Tl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Tl||(Tl={}));var Dl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Dl||(Dl={}));var Ml;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Ml||(Ml={}));var Ll;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Ll||(Ll={}));var Fl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Fl||(Fl={}));var Ul;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Ul||(Ul={}));var Wl;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Wl||(Wl={}));var jl=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);var $l;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})($l||($l={}));var Bl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Bl||(Bl={}));var Hl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Hl||(Hl={}));var oo;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(oo||(oo={}));var Gl=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);var zl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(zl||(zl={}));var Yl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Yl||(Yl={}));var ae;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ae||(ae={}));var Vl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Vl||(Vl={}));var Kl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Kl||(Kl={}));var ww={[ae.PERSONAL_BOOK_SHARE_USER]:[ae.PERSONAL_BOOK_USER],[ae.HTML_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.PDF_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.KHUB_ADMIN]:[ae.CONTENT_PUBLISHER],[ae.ADMIN]:[ae.KHUB_ADMIN,ae.USERS_ADMIN,ae.PORTAL_ADMIN],[ae.DEVELOPER]:[ae.BETA_USER,ae.DEBUG_USER]};function Kp(t){return`"${t}"`}function Zl(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Zp(t,e){return new on(t).serialize(e)}var V;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(V||(V={}));var qp=new Set(Object.values(V));function ql(t){return qp.has(t)}var on=class{constructor(e,r={},o=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=o,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=this.toURLSearchParams(e).toString(),a=r==null||r.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=o,i.toString()}toURLSearchParams(e,r=!1){var o,a,i,s,l,d,u,h,p,m,g,b;let S=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&S.append(V.LOCALE,e.contentLocale):S.append(V.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&S.append(V.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&S.append(V.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(V.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&S.append(V.SORT,"last_update");let C=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(C.length>0){let v=C.map(w=>{var k,D;let B=((D=(k=w.valueFilter)===null||k===void 0?void 0:k.values)!==null&&D!==void 0?D:[]).map($=>this.escapeFilters($)).map($=>encodeURIComponent(Kp(Zl($)))).join("_");return`${w.key}~${B}`}).join("*");S.append(V.VALUE_FILTERS,v)}let A=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(A.length>0){let v=A.map(w=>{var k;return`${w.key}~${(k=w.dateFilter)===null||k===void 0?void 0:k.type.toLowerCase()}`}).join("*");S.append(V.DATE_FILTERS,v)}let R=(h=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(v=>v.rangeFilter))!==null&&h!==void 0?h:[];if(R.length>0){let v=R.map(w=>{var k,D;return`${w.key}~${(k=w.rangeFilter)===null||k===void 0?void 0:k.from}_${(D=w.rangeFilter)===null||D===void 0?void 0:D.to}`}).join("*");S.append(V.RANGE_FILTERS,v)}let O=(p=e.otherQueryParams)!==null&&p!==void 0?p:{};for(let v in O)S.append(v,O[v]);return!((m=e.paging)===null||m===void 0)&&m.perPage&&((b=(g=e.paging)===null||g===void 0?void 0:g.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&S.append(V.PER_PAGE,String(e.paging.perPage)),S}parse(e){var r;let o=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(o.slice(1).join("?"))),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,o,a,i,s,l,d,u;let h=e.get(V.LOCALE)==="all"?void 0:e.get(V.LOCALE),p=((r=e.get(V.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),m=((o=e.get(V.SORT))!==null&&o!==void 0?o:"DEFAULT").toUpperCase(),g=(a=e.get(V.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=e.get(V.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S={};for(let C of e.keys())ql(C)||(S[C]=e.get(C));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(V.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[g])!==null&&l!==void 0?l:"DEFAULT",virtualField:jl(p)?p:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[m])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:$r(1,isNaN(b)?this.defaultPerPage:b,1e3)},otherQueryParams:S}}parseCompatFilters(e){var r,o,a,i,s,l;let d=[];return e.has(V.FILTERS)&&(d=this.parseValueFilters((r=e.get(V.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(V.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(V.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(V.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(V.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(V.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Zl).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:oo[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(o,a);return e}unescapeFilterValue(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(Gl(e))return[{key:"ft:lastEdition",dateFilter:{type:oo[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var pi={};G(pi,{toFtFormComponent:()=>Jp});var nn=Symbol("elementInternals");function Jp(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[nn].form}constructor(...a){super(a),this[nn]=this.attachInternals(),this[nn].role=e}setFormValue(a){this[nn].setFormValue(a)}}return r}var yi={};G(yi,{DateFormatter:()=>hi});var hi=class{static format(e,r,o,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(o,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var mi,gi,bi,xi,Xp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((bi=(gi=(mi=window.safari)===null||mi===void 0?void 0:mi.pushNotification)===null||gi===void 0?void 0:gi.toString())!==null&&bi!==void 0?bi:"")==="[object SafariRemoteNotification]",Qp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(xi=window.ftGlobals)!==null&&xi!==void 0?xi:{lit:Hn,litDecorators:Yn,litRepeat:jn,litClassMap:Gn,litStyleMap:Vn,litUnsafeHTML:Kn,wcUtils:{...ra,...qn,...na,...yi,...aa,...sa,...ua,...ea,...Ca,...da,...Ra,...Aa,...jc,...ia,...Pa,...Ia,...Vc,...Da,...si,..._a,...di,...ui,...fi,...pi,isSafari:Xp,isTouchScreen:Qp,setVariable:$o}};var rd;function _(){return rd.apply(null,arguments)}function eh(t){rd=t}function Pe(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Gt(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Y(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Pi(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(Y(t,e))return!1;return!0}function me(t){return t===void 0}function it(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function fo(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function od(t,e){var r=[],o,a=t.length;for(o=0;o<a;++o)r.push(e(t[o],o));return r}function St(t,e){for(var r in e)Y(e,r)&&(t[r]=e[r]);return Y(e,"toString")&&(t.toString=e.toString),Y(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Ye(t,e,r,o){return Ad(t,e,r,o,!0).utc()}function th(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function L(t){return t._pf==null&&(t._pf=th()),t._pf}var Ei;Array.prototype.some?Ei=Array.prototype.some:Ei=function(t){var e=Object(this),r=e.length>>>0,o;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};function Ii(t){if(t._isValid==null){var e=L(t),r=Ei.call(e.parsedDateParts,function(a){return a!=null}),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(o=o&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=o;else return o}return t._isValid}function gn(t){var e=Ye(NaN);return t!=null?St(L(e),t):L(e).userInvalidated=!0,e}var Jl=_.momentProperties=[],vi=!1;function Ti(t,e){var r,o,a,i=Jl.length;if(me(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),me(e._i)||(t._i=e._i),me(e._f)||(t._f=e._f),me(e._l)||(t._l=e._l),me(e._strict)||(t._strict=e._strict),me(e._tzm)||(t._tzm=e._tzm),me(e._isUTC)||(t._isUTC=e._isUTC),me(e._offset)||(t._offset=e._offset),me(e._pf)||(t._pf=L(e)),me(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)o=Jl[r],a=e[o],me(a)||(t[o]=a);return t}function po(t){Ti(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),vi===!1&&(vi=!0,_.updateOffset(this),vi=!1)}function Ie(t){return t instanceof po||t!=null&&t._isAMomentObject!=null}function nd(t){_.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Ee(t,e){var r=!0;return St(function(){if(_.deprecationHandler!=null&&_.deprecationHandler(null,t),r){var o=[],a,i,s,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
50
|
+
`;var Vc={};var Da={};G(Da,{ParametrizedLabelResolver:()=>Ta});var Ta=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,a;e=this.resolvePluralKey(e,r);let i=(a=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((o,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let a=`${String(e)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var si={};G(si,{FtCommandQueue:()=>Qr,FtLitElementRedux:()=>or,FtReduxStore:()=>ii,clearAllStores:()=>zp,isFtReduxStore:()=>Bt,redux:()=>ap,reduxEventListener:()=>ip,reduxReactive:()=>np});var np=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},ap=t=>{let e=t??{};return(r,o)=>{var a;let i={hasChanged:Wr,attribute:!1,...e};W(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[o],store:e.store})}},ip=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var Qr=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(o=>o.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}};function Bt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Kc,Zc,qc,Vo=Symbol("internalReduxEventsUnsubscribers"),ht=Symbol("internalStoresUnsubscribers"),Ht=Symbol("internalStores"),or=class extends pe{constructor(){super(...arguments),this[Kc]=new Map,this[Zc]=new Map,this[qc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Ht].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ht].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ht].get(e)}addStore(e,r){var o;r=(o=r??(Bt(e)?e.name:void 0))!==null&&o!==void 0?o:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Ht].delete(r)}setupStore(e,r){this[Ht].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ht].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let o=this.constructor.getPropertyOptions(r);if(!o?.attribute||!this.hasAttribute(typeof o?.attribute=="string"?o.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[ht].has(e.store):this[ht].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var o;this[ht].set(e,r.subscribe(()=>this.updateFromStores())),Bt(r)&&r.eventBus&&((o=this.reduxConstructor.reduxEventListeners)===null||o===void 0||o.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=l=>this[i](l);r.addEventListener(a.eventName,s),this[Vo].push(()=>r.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ht].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Vo].forEach(e=>e()),this[Vo]=[]}unsubscribeFromStore(e){this[ht].has(e)&&this[ht].get(e)(),this[ht].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Kc=ht,Zc=Ht,qc=Vo;or.reduxProperties=new Map;or.reduxReactiveProperties=new Set;or.reduxEventListeners=new Map;function Oe(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function et(t){return!!t&&!!t[J]}function Re(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===hp}(t)||Array.isArray(t)||!!t[ol]||!!(!((e=t.constructor)===null||e===void 0)&&e[ol])||za(t)||Ya(t))}function zt(t,e,r){r===void 0&&(r=!1),ir(t)===0?(r?Object.keys:ar)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,a){return e(a,o,t)})}function ir(t){var e=t[J];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:za(t)?2:Ya(t)?3:0}function nr(t,e){return ir(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function sp(t,e){return ir(t)===2?t.get(e):t[e]}function nl(t,e,r){var o=ir(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function al(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function za(t){return fp&&t instanceof Map}function Ya(t){return pp&&t instanceof Set}function yt(t){return t.o||t.t}function ja(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=cl(t);delete e[J];for(var r=ar(e),o=0;o<r.length;o++){var a=r[o],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Ga(t,e){return e===void 0&&(e=!1),Va(t)||et(t)||!Re(t)||(ir(t)>1&&(t.set=t.add=t.clear=t.delete=cp),Object.freeze(t),e&&zt(t,function(r,o){return Ga(o,!0)},!0)),t}function cp(){Oe(2)}function Va(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Be(t){var e=Ha[t];return e||Oe(18,t),e}function lp(t,e){Ha[t]||(Ha[t]=e)}function Wa(){return to}function Ma(t,e){e&&(Be("Patches"),t.u=[],t.s=[],t.v=e)}function Ko(t){$a(t),t.p.forEach(dp),t.p=null}function $a(t){t===to&&(to=t.l)}function Jc(t){return to={p:[],l:to,h:t,m:!0,_:0}}function dp(t){var e=t[J];e.i===0||e.i===1?e.j():e.g=!0}function La(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||Be("ES5").S(e,t,o),o?(r[J].P&&(Ko(e),Oe(4)),Re(t)&&(t=Zo(e,t),e.l||qo(e,t)),e.u&&Be("Patches").M(r[J].t,t,e.u,e.s)):t=Zo(e,r,[]),Ko(e),e.u&&e.v(e.u,e.s),t!==sl?t:void 0}function Zo(t,e,r){if(Va(e))return e;var o=e[J];if(!o)return zt(e,function(l,d){return Xc(t,o,e,l,d,r)},!0),e;if(o.A!==t)return e;if(!o.P)return qo(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=ja(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),zt(i,function(l,d){return Xc(t,o,a,l,d,r,s)}),qo(t,a,!1),r&&t.u&&Be("Patches").N(o,r,t.u,t.s)}return o.o}function Xc(t,e,r,o,a,i,s){if(et(a)){var l=Zo(t,a,i&&e&&e.i!==3&&!nr(e.R,o)?i.concat(o):void 0);if(nl(r,o,l),!et(l))return;t.m=!1}else s&&r.add(a);if(Re(a)&&!Va(a)){if(!t.h.D&&t._<1)return;Zo(t,a),e&&e.A.l||qo(t,a)}}function qo(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ga(e,r)}function Fa(t,e){var r=t[J];return(r?yt(r):t)[e]}function Qc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function mt(t){t.P||(t.P=!0,t.l&&mt(t.l))}function Ua(t){t.o||(t.o=ja(t.t))}function Ba(t,e,r){var o=za(e)?Be("MapSet").F(e,r):Ya(e)?Be("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Wa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=ro;s&&(d=[l],u=eo);var h=Proxy.revocable(d,u),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m}(e,r):Be("ES5").J(e,r);return(r?r.A:Wa()).p.push(o),o}function up(t){return et(t)||Oe(22,t),function e(r){if(!Re(r))return r;var o,a=r[J],i=ir(r);if(a){if(!a.P&&(a.i<4||!Be("ES5").K(a)))return a.t;a.I=!0,o=el(r,i),a.I=!1}else o=el(r,i);return zt(o,function(s,l){a&&sp(a.t,s)===l||nl(o,s,e(l))}),i===3?new Set(o):o}(t)}function el(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ja(t)}function il(){function t(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[J];return ro.get(u,s)},set:function(u){var h=this[J];ro.set(h,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][J];if(!d.P)switch(d.i){case 5:o(d)&&mt(d);break;case 4:r(d)&&mt(d)}}}function r(s){for(var l=s.t,d=s.k,u=ar(d),h=u.length-1;h>=0;h--){var p=u[h];if(p!==J){var m=l[p];if(m===void 0&&!nr(l,p))return!0;var g=d[p],b=g&&g[J];if(b?b.t!==m:!al(g,m))return!0}}var S=!!l[J];return u.length!==ar(l).length+(S?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&Oe(3,JSON.stringify(yt(s)))}var i={};lp("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(p,m){if(p){for(var g=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(g,""+b,t(b,!0));return g}var S=cl(m);delete S[J];for(var C=ar(S),A=0;A<C.length;A++){var R=C[A];S[R]=t(R,p||!!S[R].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(d,s),h={i:d?5:4,A:l?l.A:Wa(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,J,{value:h,writable:!0}),u},S:function(s,l,d){d?et(l)&&l[J].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var p=h[J];if(p){var m=p.t,g=p.k,b=p.R,S=p.i;if(S===4)zt(g,function(v){v!==J&&(m[v]!==void 0||nr(m,v)?b[v]||u(g[v]):(b[v]=!0,mt(p)))}),zt(m,function(v){g[v]!==void 0||nr(g,v)||(b[v]=!1,mt(p))});else if(S===5){if(o(p)&&(mt(p),b.length=!0),g.length<m.length)for(var C=g.length;C<m.length;C++)b[C]=!1;else for(var A=m.length;A<g.length;A++)b[A]=!0;for(var R=Math.min(g.length,m.length),O=0;O<R;O++)g.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&u(g[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var tl,to,Ka=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",fp=typeof Map<"u",pp=typeof Set<"u",rl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",sl=Ka?Symbol.for("immer-nothing"):((tl={})["immer-nothing"]=!0,tl),ol=Ka?Symbol.for("immer-draftable"):"__$immer_draftable",J=Ka?Symbol.for("immer-state"):"__$immer_state";var hp=""+Object.prototype.constructor,ar=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,cl=Object.getOwnPropertyDescriptors||function(t){var e={};return ar(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ha={},ro={get:function(t,e){if(e===J)return t;var r=yt(t);if(!nr(r,e))return function(a,i,s){var l,d=Qc(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,r,e);var o=r[e];return t.I||!Re(o)?o:o===Fa(t.t,e)?(Ua(t),t.o[e]=Ba(t.A.h,o,t)):o},has:function(t,e){return e in yt(t)},ownKeys:function(t){return Reflect.ownKeys(yt(t))},set:function(t,e,r){var o=Qc(yt(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var a=Fa(yt(t),e),i=a?.[J];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(al(r,a)&&(r!==void 0||nr(t.t,e)))return!0;Ua(t),mt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Fa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ua(t),mt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=yt(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){Oe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Oe(12)}},eo={};zt(ro,function(t,e){eo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),eo.deleteProperty=function(t,e){return eo.set.call(this,t,e,void 0)},eo.set=function(t,e,r){return ro.set.call(this,t[0],e,r,t[0])};var yp=function(){function t(r){var o=this;this.O=rl,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=o;return function(S){var C=this;S===void 0&&(S=l);for(var A=arguments.length,R=Array(A>1?A-1:0),O=1;O<A;O++)R[O-1]=arguments[O];return d.produce(S,function(v){var w;return(w=i).call.apply(w,[C,v].concat(R))})}}var u;if(typeof i!="function"&&Oe(6),s!==void 0&&typeof s!="function"&&Oe(7),Re(a)){var h=Jc(o),p=Ba(o,a,void 0),m=!0;try{u=i(p),m=!1}finally{m?Ko(h):$a(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return Ma(h,s),La(S,h)},function(S){throw Ko(h),S}):(Ma(h,s),La(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===sl&&(u=void 0),o.D&&Ga(u,!0),s){var g=[],b=[];Be("Patches").M(a,u,g,b),s(g,b)}return u}Oe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return o.produceWithPatches(u,function(g){return a.apply(void 0,[g].concat(p))})};var s,l,d=o.produce(a,i,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Re(r)||Oe(8),et(r)&&(r=up(r));var o=Jc(this),a=Ba(this,r,void 0);return a[J].C=!0,$a(o),a},e.finishDraft=function(r,o){var a=r&&r[J],i=a.A;return Ma(i,o),La(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!rl&&Oe(20),this.O=r},e.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=Be("Patches").$;return et(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},t}(),xe=new yp,mp=xe.produce,wO=xe.produceWithPatches.bind(xe),EO=xe.setAutoFreeze.bind(xe),CO=xe.setUseProxies.bind(xe),_O=xe.applyPatches.bind(xe),AO=xe.createDraft.bind(xe),NO=xe.finishDraft.bind(xe),Jo=mp;function gt(t){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gt(t)}function Za(t,e){if(gt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(gt(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function qa(t){var e=Za(t,"string");return gt(e)==="symbol"?e:String(e)}function Ja(t,e,r){return e=qa(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ll(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,o)}return r}function Xo(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ll(Object(r),!0).forEach(function(o){Ja(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ll(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var dl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Xa=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qo={INIT:"@@redux/INIT"+Xa(),REPLACE:"@@redux/REPLACE"+Xa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xa()}};function gp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Qa(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(le(1));return r(Qa)(t,e)}if(typeof t!="function")throw new Error(le(2));var a=t,i=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(le(3));return i}function p(S){if(typeof S!="function")throw new Error(le(4));if(d)throw new Error(le(5));var C=!0;return u(),l.push(S),function(){if(C){if(d)throw new Error(le(6));C=!1,u();var R=l.indexOf(S);l.splice(R,1),s=null}}}function m(S){if(!gp(S))throw new Error(le(7));if(typeof S.type>"u")throw new Error(le(8));if(d)throw new Error(le(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var C=s=l,A=0;A<C.length;A++){var R=C[A];R()}return S}function g(S){if(typeof S!="function")throw new Error(le(10));a=S,m({type:Qo.REPLACE})}function b(){var S,C=p;return S={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(le(11));function O(){R.next&&R.next(h())}O();var v=C(O);return{unsubscribe:v}}},S[dl]=function(){return this},S}return m({type:Qo.INIT}),o={dispatch:m,subscribe:p,getState:h,replaceReducer:g},o[dl]=b,o}function bp(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:Qo.INIT});if(typeof o>"u")throw new Error(le(12));if(typeof r(void 0,{type:Qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function ul(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var a=e[o];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,l;try{bp(r)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var p;for(var m=!1,g={},b=0;b<i.length;b++){var S=i[b],C=r[S],A=u[S],R=C(A,h);if(typeof R>"u"){var O=h&&h.type;throw new Error(le(14))}g[S]=R,m=m||R!==A}return m=m||i.length!==Object.keys(u).length,m?g:u}}function sr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function fl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(le(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=sr.apply(void 0,l)(a.dispatch),Xo(Xo({},a),{},{dispatch:i})}}}function pl(t){var e=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var hl=pl();hl.withExtraArgument=pl;var ei=hl;var xl=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),xp=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(h){u=[6,h],a=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},cr=function(t,e){for(var r=0,o=e.length,a=t.length;r<o;r++,a++)t[a]=e[r];return t},vp=Object.defineProperty,Sp=Object.defineProperties,Op=Object.getOwnPropertyDescriptors,yl=Object.getOwnPropertySymbols,wp=Object.prototype.hasOwnProperty,Ep=Object.prototype.propertyIsEnumerable,ml=function(t,e,r){return e in t?vp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},bt=function(t,e){for(var r in e||(e={}))wp.call(e,r)&&ml(t,r,e[r]);if(yl)for(var o=0,a=yl(e);o<a.length;o++){var r=a[o];Ep.call(e,r)&&ml(t,r,e[r])}return t},ti=function(t,e){return Sp(t,Op(e))},Cp=function(t,e,r){return new Promise(function(o,a){var i=function(d){try{l(r.next(d))}catch(u){a(u)}},s=function(d){try{l(r.throw(d))}catch(u){a(u)}},l=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(t,e)).next())})};var _p=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?sr:sr.apply(null,arguments)},GO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Ap(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Np=function(t){xl(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,cr([void 0],r[0].concat(this)))):new(e.bind.apply(e,cr([void 0],r.concat(this))))},e}(Array),Rp=function(t){xl(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,cr([void 0],r[0].concat(this)))):new(e.bind.apply(e,cr([void 0],r.concat(this))))},e}(Array);function ni(t){return Re(t)?Jo(t,function(){}):t}function kp(t){return typeof t=="boolean"}function Pp(){return function(e){return Ip(e)}}function Ip(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,a=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,l=new Np;if(r&&(kp(r)?l.push(ei):l.push(ei.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var u}return l}var ri=!0;function vl(t){var e=Pp(),r=t||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,h=u===void 0?void 0:u,p=r.enhancers,m=p===void 0?void 0:p,g;if(typeof a=="function")g=a;else if(Ap(a))g=ul(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!ri&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ri&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=fl.apply(void 0,b),C=sr;d&&(C=_p(bt({trace:!ri},typeof d=="object"&&d)));var A=new Rp(S),R=A;Array.isArray(m)?R=cr([S],m):typeof m=="function"&&(R=m(A));var O=C.apply(void 0,R);return Qa(g,h,O)}function xt(t,e){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return bt(bt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function Sl(t){var e={},r=[],o,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return t(a),[e,r,o]}function Tp(t){return typeof t=="function"}function Dp(t,e,r,o){r===void 0&&(r=[]);var a=typeof e=="function"?Sl(e):[e,r,o],i=a[0],s=a[1],l=a[2],d;if(Tp(t))d=function(){return ni(t())};else{var u=ni(t);d=function(){return u}}function h(p,m){p===void 0&&(p=d());var g=cr([i[m.type]],s.filter(function(b){var S=b.matcher;return S(m)}).map(function(b){var S=b.reducer;return S}));return g.filter(function(b){return!!b}).length===0&&(g=[l]),g.reduce(function(b,S){if(S)if(et(b)){var C=b,A=S(C,m);return A===void 0?b:A}else{if(Re(b))return Jo(b,function(R){return S(R,m)});var A=S(b,m);if(A===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return b},p)}return h.getInitialState=d,h}function Mp(t,e){return t+"/"+e}function Ol(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ni(t.initialState),o=t.reducers||{},a=Object.keys(o),i={},s={},l={};a.forEach(function(h){var p=o[h],m=Mp(e,h),g,b;"reducer"in p?(g=p.reducer,b=p.prepare):g=p,i[h]=g,s[m]=g,l[h]=b?xt(m,b):xt(m)});function d(){var h=typeof t.extraReducers=="function"?Sl(t.extraReducers):[t.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],b=g===void 0?[]:g,S=h[2],C=S===void 0?void 0:S,A=bt(bt({},m),s);return Dp(r,function(R){for(var O in A)R.addCase(O,A[O]);for(var v=0,w=b;v<w.length;v++){var k=w[v];R.addMatcher(k.matcher,k.reducer)}C&&R.addDefaultCase(C)})}var u;return{name:e,reducer:function(h,p){return u||(u=d()),u(h,p)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Lp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Fp=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Lp[Math.random()*64|0];return e},Up=["name","message","stack","code"],oi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),gl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Wp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Up;r<o.length;r++){var a=o[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},qO=function(){function t(e,r,o){var a=xt(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:ti(bt({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),i=xt(e+"/pending",function(h,p,m){return{payload:void 0,meta:ti(bt({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=xt(e+"/rejected",function(h,p,m,g,b){return{payload:g,error:(o&&o.serializeError||Wp)(h||"Rejected"),meta:ti(bt({},b||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(p,m,g){var b=o?.idGenerator?o.idGenerator(h):Fp(),S=new d,C,A=!1;function R(v){C=v,S.abort()}var O=function(){return Cp(this,null,function(){var v,w,k,D,B,$,I;return xp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),D=(v=o?.condition)==null?void 0:v.call(o,h,{getState:m,extra:g}),Bp(D)?[4,D]:[3,2];case 1:D=y.sent(),y.label=2;case 2:if(D===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,B=new Promise(function(x,P){return S.signal.addEventListener("abort",function(){return P({name:"AbortError",message:C||"Aborted"})})}),p(i(b,h,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:b,arg:h},{getState:m,extra:g}))),[4,Promise.race([B,Promise.resolve(r(h,{dispatch:p,getState:m,extra:g,requestId:b,signal:S.signal,abort:R,rejectWithValue:function(x,P){return new oi(x,P)},fulfillWithValue:function(x,P){return new gl(x,P)}})).then(function(x){if(x instanceof oi)throw x;return x instanceof gl?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return k=y.sent(),[3,5];case 4:return $=y.sent(),k=$ instanceof oi?s(null,b,h,$.payload,$.meta):s($,b,h),[3,5];case 5:return I=o&&!o.dispatchConditionRejection&&s.match(k)&&k.meta.condition,I||p(k),[2,k]}})})}();return Object.assign(O,{abort:R,requestId:b,arg:h,unwrap:function(){return O.then($p)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function $p(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Bp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var wl="listener",El="completed",Cl="cancelled",JO="task-"+Cl,XO="task-"+El,QO=wl+"-"+Cl,ew=wl+"-"+El;var ai="listenerMiddleware";var tw=xt(ai+"/add"),rw=xt(ai+"/removeAll"),ow=xt(ai+"/remove");var bl,nw=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(bl||(bl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Hp=function(t){return function(e){setTimeout(e,t)}},aw=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Hp(10);il();window.ftReduxStores||(window.ftReduxStores={});var ii=class t extends Lt{static get(e){var r;let o=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if(Bt(i))return i;if(a==null)return;let s=Ol({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=vl({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[a.name]=new t(s,l)}constructor(e,r){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Qr,this.actions=new Proxy(this.reduxSlice.actions,{get:(o,a,i)=>{let s=a,l=o[s];return l?(...d)=>{let u=l(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function zp(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Bt(e)&&e.clear()}var di={};G(di,{scrollHelper:()=>Yp});var ci,en=new Map,li=class{lock(e,r){if(r){let o=en.get(r);if(o==null||o===e)return en.set(r,e),r}}release(e,r){r&&en.get(r)===e&&en.delete(r)}findFirstScrollableParent(e){let r,o=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let u=d,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&l==null&&(l=u)}r=(i=s??l)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",o),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",o),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var o,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,e),i=a-o.clientHeight+e.clientHeight,s=a,l=$r(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(ci=window.FluidTopicsScrollHelper)!==null&&ci!==void 0?ci:new li;var Yp=window.FluidTopicsScrollHelper;var ui={};G(ui,{shadowQuerySelector:()=>jp,shadowQuerySelectorAll:()=>Gp});function jp(t,e,...r){var o;let a=t.querySelector(e);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function Gp(t,e,...r){let o=[...t.querySelectorAll(e)];for(let a of r)o=o.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return o}var fi={};G(fi,{SearchPlaceConverter:()=>on,SearchPlaceQueryParams:()=>V,isSearchPlaceQueryParams:()=>ql,serializeRequest:()=>Zp});var Vp=ru(Al(),1);var Nl;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Nl||(Nl={}));var Rl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Rl||(Rl={}));var kl;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(kl||(kl={}));var Pl;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Pl||(Pl={}));var Il;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Il||(Il={}));var Tl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Tl||(Tl={}));var Dl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Dl||(Dl={}));var Ml;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Ml||(Ml={}));var Ll;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Ll||(Ll={}));var Fl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Fl||(Fl={}));var Ul;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Ul||(Ul={}));var Wl;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Wl||(Wl={}));var jl=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);var $l;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})($l||($l={}));var Bl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Bl||(Bl={}));var Hl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Hl||(Hl={}));var oo;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(oo||(oo={}));var Gl=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);var zl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(zl||(zl={}));var Yl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Yl||(Yl={}));var ae;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ae||(ae={}));var Vl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Vl||(Vl={}));var Kl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Kl||(Kl={}));var ww={[ae.PERSONAL_BOOK_SHARE_USER]:[ae.PERSONAL_BOOK_USER],[ae.HTML_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.PDF_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.KHUB_ADMIN]:[ae.CONTENT_PUBLISHER],[ae.ADMIN]:[ae.KHUB_ADMIN,ae.USERS_ADMIN,ae.PORTAL_ADMIN],[ae.DEVELOPER]:[ae.BETA_USER,ae.DEBUG_USER]};function Kp(t){return`"${t}"`}function Zl(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Zp(t,e){return new on(t).serialize(e)}var V;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(V||(V={}));var qp=new Set(Object.values(V));function ql(t){return qp.has(t)}var on=class{constructor(e,r={},o=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=o,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=this.toURLSearchParams(e).toString(),a=r==null||r.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=o,i.toString()}toURLSearchParams(e,r=!1){var o,a,i,s,l,d,u,h,p,m,g,b;let S=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&S.append(V.LOCALE,e.contentLocale):S.append(V.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&S.append(V.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&S.append(V.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(V.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&S.append(V.SORT,"last_update");let C=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(C.length>0){let v=C.map(w=>{var k,D;let B=((D=(k=w.valueFilter)===null||k===void 0?void 0:k.values)!==null&&D!==void 0?D:[]).map($=>this.escapeFilters($)).map($=>encodeURIComponent(Kp(Zl($)))).join("_");return`${w.key}~${B}`}).join("*");S.append(V.VALUE_FILTERS,v)}let A=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(A.length>0){let v=A.map(w=>{var k;return`${w.key}~${(k=w.dateFilter)===null||k===void 0?void 0:k.type.toLowerCase()}`}).join("*");S.append(V.DATE_FILTERS,v)}let R=(h=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(v=>v.rangeFilter))!==null&&h!==void 0?h:[];if(R.length>0){let v=R.map(w=>{var k,D;return`${w.key}~${(k=w.rangeFilter)===null||k===void 0?void 0:k.from}_${(D=w.rangeFilter)===null||D===void 0?void 0:D.to}`}).join("*");S.append(V.RANGE_FILTERS,v)}let O=(p=e.otherQueryParams)!==null&&p!==void 0?p:{};for(let v in O)S.append(v,O[v]);return!((m=e.paging)===null||m===void 0)&&m.perPage&&((b=(g=e.paging)===null||g===void 0?void 0:g.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&S.append(V.PER_PAGE,String(e.paging.perPage)),S}parse(e){var r;let o=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(o.slice(1).join("?"))),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,o,a,i,s,l,d,u;let h=e.get(V.LOCALE)==="all"?void 0:e.get(V.LOCALE),p=((r=e.get(V.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),m=((o=e.get(V.SORT))!==null&&o!==void 0?o:"DEFAULT").toUpperCase(),g=(a=e.get(V.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=e.get(V.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S={};for(let C of e.keys())ql(C)||(S[C]=e.get(C));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(V.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[g])!==null&&l!==void 0?l:"DEFAULT",virtualField:jl(p)?p:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[m])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:$r(1,isNaN(b)?this.defaultPerPage:b,1e3)},otherQueryParams:S}}parseCompatFilters(e){var r,o,a,i,s,l;let d=[];return e.has(V.FILTERS)&&(d=this.parseValueFilters((r=e.get(V.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(V.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(V.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(V.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(V.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(V.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Zl).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:oo[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(o,a);return e}unescapeFilterValue(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(Gl(e))return[{key:"ft:lastEdition",dateFilter:{type:oo[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var pi={};G(pi,{toFtFormComponent:()=>Jp});var nn=Symbol("elementInternals");function Jp(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[nn].form}constructor(...a){super(a),this[nn]=this.attachInternals(),this[nn].role=e}setFormValue(a){this[nn].setFormValue(a)}}return r}var yi={};G(yi,{DateFormatter:()=>hi});var hi=class{static format(e,r,o,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(o,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var mi,gi,bi,xi,Xp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((bi=(gi=(mi=window.safari)===null||mi===void 0?void 0:mi.pushNotification)===null||gi===void 0?void 0:gi.toString())!==null&&bi!==void 0?bi:"")==="[object SafariRemoteNotification]",Qp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(xi=window.ftGlobals)!==null&&xi!==void 0?xi:{lit:Hn,litDecorators:Yn,litRepeat:jn,litClassMap:Gn,litStyleMap:Vn,litUnsafeHTML:Kn,wcUtils:{...ra,...qn,...na,...yi,...aa,...sa,...ua,...ea,...Ca,...da,...Ra,...Aa,...jc,...ia,...Pa,...Ia,...Vc,...Da,...si,..._a,...di,...ui,...fi,...pi,isSafari:Xp,isTouchScreen:Qp,setVariable:$o}};var rd;function _(){return rd.apply(null,arguments)}function eh(t){rd=t}function Pe(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Gt(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Y(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Pi(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(Y(t,e))return!1;return!0}function me(t){return t===void 0}function it(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function fo(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function od(t,e){var r=[],o,a=t.length;for(o=0;o<a;++o)r.push(e(t[o],o));return r}function St(t,e){for(var r in e)Y(e,r)&&(t[r]=e[r]);return Y(e,"toString")&&(t.toString=e.toString),Y(e,"valueOf")&&(t.valueOf=e.valueOf),t}function Ye(t,e,r,o){return Ad(t,e,r,o,!0).utc()}function th(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function L(t){return t._pf==null&&(t._pf=th()),t._pf}var Ei;Array.prototype.some?Ei=Array.prototype.some:Ei=function(t){var e=Object(this),r=e.length>>>0,o;for(o=0;o<r;o++)if(o in e&&t.call(this,e[o],o,e))return!0;return!1};function Ii(t){if(t._isValid==null){var e=L(t),r=Ei.call(e.parsedDateParts,function(a){return a!=null}),o=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(o=o&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=o;else return o}return t._isValid}function gn(t){var e=Ye(NaN);return t!=null?St(L(e),t):L(e).userInvalidated=!0,e}var Jl=_.momentProperties=[],vi=!1;function Ti(t,e){var r,o,a,i=Jl.length;if(me(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),me(e._i)||(t._i=e._i),me(e._f)||(t._f=e._f),me(e._l)||(t._l=e._l),me(e._strict)||(t._strict=e._strict),me(e._tzm)||(t._tzm=e._tzm),me(e._isUTC)||(t._isUTC=e._isUTC),me(e._offset)||(t._offset=e._offset),me(e._pf)||(t._pf=L(e)),me(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)o=Jl[r],a=e[o],me(a)||(t[o]=a);return t}function po(t){Ti(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),vi===!1&&(vi=!0,_.updateOffset(this),vi=!1)}function Ie(t){return t instanceof po||t!=null&&t._isAMomentObject!=null}function nd(t){_.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Ee(t,e){var r=!0;return St(function(){if(_.deprecationHandler!=null&&_.deprecationHandler(null,t),r){var o=[],a,i,s,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
51
51
|
[`+i+"] ";for(s in arguments[0])Y(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];o.push(a)}nd(t+`
|
|
52
52
|
Arguments: `+Array.prototype.slice.call(o).join("")+`
|
|
53
53
|
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Xl={};function ad(t,e){_.deprecationHandler!=null&&_.deprecationHandler(t,e),Xl[t]||(nd(e),Xl[t]=!0)}_.suppressDeprecationWarnings=!1;_.deprecationHandler=null;function je(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function rh(t){var e,r;for(r in t)Y(t,r)&&(e=t[r],je(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ci(t,e){var r=St({},t),o;for(o in e)Y(e,o)&&(Gt(t[o])&&Gt(e[o])?(r[o]={},St(r[o],t[o]),St(r[o],e[o])):e[o]!=null?r[o]=e[o]:delete r[o]);for(o in t)Y(t,o)&&!Y(e,o)&&Gt(t[o])&&(r[o]=St({},r[o]));return r}function Di(t){t!=null&&this.set(t)}var _i;Object.keys?_i=Object.keys:_i=function(t){var e,r=[];for(e in t)Y(t,e)&&r.push(e);return r};var oh={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function nh(t,e,r){var o=this._calendar[t]||this._calendar.sameElse;return je(o)?o.call(e,r):o}function ze(t,e,r){var o=""+Math.abs(t),a=e-o.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}var Mi=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,an=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Si={},pr={};function T(t,e,r,o){var a=o;typeof o=="string"&&(a=function(){return this[o]()}),t&&(pr[t]=a),e&&(pr[e[0]]=function(){return ze(a.apply(this,arguments),e[1],e[2])}),r&&(pr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function ah(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function ih(t){var e=t.match(Mi),r,o;for(r=0,o=e.length;r<o;r++)pr[e[r]]?e[r]=pr[e[r]]:e[r]=ah(e[r]);return function(a){var i="",s;for(s=0;s<o;s++)i+=je(e[s])?e[s].call(a,t):e[s];return i}}function cn(t,e){return t.isValid()?(e=id(e,t.localeData()),Si[e]=Si[e]||ih(e),Si[e](t)):t.localeData().invalidDate()}function id(t,e){var r=5;function o(a){return e.longDateFormat(a)||a}for(an.lastIndex=0;r>=0&&an.test(t);)t=t.replace(an,o),an.lastIndex=0,r-=1;return t}var sh={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function ch(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(Mi).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[t])}var lh="Invalid date";function dh(){return this._invalidDate}var uh="%d",fh=/\d{1,2}/;function ph(t){return this._ordinal.replace("%d",t)}var hh={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function yh(t,e,r,o){var a=this._relativeTime[r];return je(a)?a(t,e,r,o):a.replace(/%d/i,t)}function mh(t,e){var r=this._relativeTime[t>0?"future":"past"];return je(r)?r(e):r.replace(/%s/i,e)}var io={};function ue(t,e){var r=t.toLowerCase();io[r]=io[r+"s"]=io[e]=t}function Ce(t){return typeof t=="string"?io[t]||io[t.toLowerCase()]:void 0}function Li(t){var e={},r,o;for(o in t)Y(t,o)&&(r=Ce(o),r&&(e[r]=t[o]));return e}var sd={};function fe(t,e){sd[t]=e}function gh(t){var e=[],r;for(r in t)Y(t,r)&&e.push({unit:r,priority:sd[r]});return e.sort(function(o,a){return o.priority-a.priority}),e}function bn(t){return t%4===0&&t%100!==0||t%400===0}function we(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function F(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=we(e)),r}function mr(t,e){return function(r){return r!=null?(cd(this,t,r),_.updateOffset(this,e),this):un(this,t)}}function un(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function cd(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&bn(t.year())&&t.month()===1&&t.date()===29?(r=F(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),En(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function bh(t){return t=Ce(t),je(this[t])?this[t]():this}function xh(t,e){if(typeof t=="object"){t=Li(t);var r=gh(t),o,a=r.length;for(o=0;o<a;o++)this[r[o].unit](t[r[o].unit])}else if(t=Ce(t),je(this[t]))return this[t](e);return this}var ld=/\d/,Se=/\d\d/,dd=/\d{3}/,Fi=/\d{4}/,xn=/[+-]?\d{6}/,q=/\d\d?/,ud=/\d\d\d\d?/,fd=/\d\d\d\d\d\d?/,vn=/\d{1,3}/,Ui=/\d{1,4}/,Sn=/[+-]?\d{1,6}/,gr=/\d+/,On=/[+-]?\d+/,vh=/Z|[+-]\d\d:?\d\d/gi,wn=/Z|[+-]\d\d(?::?\d\d)?/gi,Sh=/[+-]?\d+(\.\d{1,3})?/,ho=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,fn;fn={};function N(t,e,r){fn[t]=je(e)?e:function(o,a){return o&&r?r:e}}function Oh(t,e){return Y(fn,t)?fn[t](e._strict,e._locale):new RegExp(wh(t))}function wh(t){return ve(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,o,a,i){return r||o||a||i}))}function ve(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ai={};function K(t,e){var r,o=e,a;for(typeof t=="string"&&(t=[t]),it(e)&&(o=function(i,s){s[e]=F(i)}),a=t.length,r=0;r<a;r++)Ai[t[r]]=o}function yo(t,e){K(t,function(r,o,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function Eh(t,e,r){e!=null&&Y(Ai,t)&&Ai[t](e,r._a,r,t)}var de=0,ot=1,He=2,ne=3,ke=4,nt=5,jt=6,Ch=7,_h=8;function Ah(t,e){return(t%e+e)%e}var ee;Array.prototype.indexOf?ee=Array.prototype.indexOf:ee=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function En(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=Ah(e,12);return t+=(e-r)/12,r===1?bn(t)?29:28:31-r%7%2}T("M",["MM",2],"Mo",function(){return this.month()+1});T("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});T("MMMM",0,0,function(t){return this.localeData().months(this,t)});ue("month","M");fe("month",8);N("M",q);N("MM",q,Se);N("MMM",function(t,e){return e.monthsShortRegex(t)});N("MMMM",function(t,e){return e.monthsRegex(t)});K(["M","MM"],function(t,e){e[ot]=F(t)-1});K(["MMM","MMMM"],function(t,e,r,o){var a=r._locale.monthsParse(t,o,r._strict);a!=null?e[ot]=a:L(r).invalidMonth=t});var Nh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),pd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),hd=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Rh=ho,kh=ho;function Ph(t,e){return t?Pe(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||hd).test(e)?"format":"standalone"][t.month()]:Pe(this._months)?this._months:this._months.standalone}function Ih(t,e){return t?Pe(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[hd.test(e)?"format":"standalone"][t.month()]:Pe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Th(t,e,r){var o,a,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=Ye([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null):(a=ee.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:(a=ee.call(this._longMonthsParse,s),a!==-1?a:null)):(a=ee.call(this._longMonthsParse,s),a!==-1?a:(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null))}function Dh(t,e,r){var o,a,i;if(this._monthsParseExact)return Th.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(a=Ye([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[o]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[o].test(t))return o;if(r&&e==="MMM"&&this._shortMonthsParse[o].test(t))return o;if(!r&&this._monthsParse[o].test(t))return o}}function yd(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=F(e);else if(e=t.localeData().monthsParse(e),!it(e))return t}return r=Math.min(t.date(),En(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function md(t){return t!=null?(yd(this,t),_.updateOffset(this,!0),this):un(this,"Month")}function Mh(){return En(this.year(),this.month())}function Lh(t){return this._monthsParseExact?(Y(this,"_monthsRegex")||gd.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Y(this,"_monthsShortRegex")||(this._monthsShortRegex=Rh),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function Fh(t){return this._monthsParseExact?(Y(this,"_monthsRegex")||gd.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Y(this,"_monthsRegex")||(this._monthsRegex=kh),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function gd(){function t(s,l){return l.length-s.length}var e=[],r=[],o=[],a,i;for(a=0;a<12;a++)i=Ye([2e3,a]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),o.sort(t),a=0;a<12;a++)e[a]=ve(e[a]),r[a]=ve(r[a]);for(a=0;a<24;a++)o[a]=ve(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}T("Y",0,0,function(){var t=this.year();return t<=9999?ze(t,4):"+"+t});T(0,["YY",2],0,function(){return this.year()%100});T(0,["YYYY",4],0,"year");T(0,["YYYYY",5],0,"year");T(0,["YYYYYY",6,!0],0,"year");ue("year","y");fe("year",1);N("Y",On);N("YY",q,Se);N("YYYY",Ui,Fi);N("YYYYY",Sn,xn);N("YYYYYY",Sn,xn);K(["YYYYY","YYYYYY"],de);K("YYYY",function(t,e){e[de]=t.length===2?_.parseTwoDigitYear(t):F(t)});K("YY",function(t,e){e[de]=_.parseTwoDigitYear(t)});K("Y",function(t,e){e[de]=parseInt(t,10)});function so(t){return bn(t)?366:365}_.parseTwoDigitYear=function(t){return F(t)+(F(t)>68?1900:2e3)};var bd=mr("FullYear",!0);function Uh(){return bn(this.year())}function Wh(t,e,r,o,a,i,s){var l;return t<100&&t>=0?(l=new Date(t+400,e,r,o,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,r,o,a,i,s),l}function co(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function pn(t,e,r){var o=7+e-r,a=(7+co(t,0,o).getUTCDay()-e)%7;return-a+o-1}function xd(t,e,r,o,a){var i=(7+r-o)%7,s=pn(t,o,a),l=1+7*(e-1)+i+s,d,u;return l<=0?(d=t-1,u=so(d)+l):l>so(t)?(d=t+1,u=l-so(t)):(d=t,u=l),{year:d,dayOfYear:u}}function lo(t,e,r){var o=pn(t.year(),e,r),a=Math.floor((t.dayOfYear()-o-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+at(s,e,r)):a>at(t.year(),e,r)?(i=a-at(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function at(t,e,r){var o=pn(t,e,r),a=pn(t+1,e,r);return(so(t)-o+a)/7}T("w",["ww",2],"wo","week");T("W",["WW",2],"Wo","isoWeek");ue("week","w");ue("isoWeek","W");fe("week",5);fe("isoWeek",5);N("w",q);N("ww",q,Se);N("W",q);N("WW",q,Se);yo(["w","ww","W","WW"],function(t,e,r,o){e[o.substr(0,1)]=F(t)});function $h(t){return lo(t,this._week.dow,this._week.doy).week}var Bh={dow:0,doy:6};function Hh(){return this._week.dow}function zh(){return this._week.doy}function Yh(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function jh(t){var e=lo(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}T("d",0,"do","day");T("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});T("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});T("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});T("e",0,0,"weekday");T("E",0,0,"isoWeekday");ue("day","d");ue("weekday","e");ue("isoWeekday","E");fe("day",11);fe("weekday",11);fe("isoWeekday",11);N("d",q);N("e",q);N("E",q);N("dd",function(t,e){return e.weekdaysMinRegex(t)});N("ddd",function(t,e){return e.weekdaysShortRegex(t)});N("dddd",function(t,e){return e.weekdaysRegex(t)});yo(["dd","ddd","dddd"],function(t,e,r,o){var a=r._locale.weekdaysParse(t,o,r._strict);a!=null?e.d=a:L(r).invalidWeekday=t});yo(["d","e","E"],function(t,e,r,o){e[o]=F(t)});function Gh(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function Vh(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Wi(t,e){return t.slice(e,7).concat(t.slice(0,e))}var Kh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qh=ho,Jh=ho,Xh=ho;function Qh(t,e){var r=Pe(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Wi(r,this._week.dow):t?r[t.day()]:r}function ey(t){return t===!0?Wi(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function ty(t){return t===!0?Wi(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function ry(t,e,r){var o,a,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=Ye([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1||(a=ee.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=ee.call(this._minWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function oy(t,e,r){var o,a,i;if(this._weekdaysParseExact)return ry.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(a=Ye([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[o].test(t))return o;if(r&&e==="ddd"&&this._shortWeekdaysParse[o].test(t))return o;if(r&&e==="dd"&&this._minWeekdaysParse[o].test(t))return o;if(!r&&this._weekdaysParse[o].test(t))return o}}function ny(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=Gh(t,this.localeData()),this.add(t-e,"d")):e}function ay(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function iy(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=Vh(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function sy(t){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||$i.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Y(this,"_weekdaysRegex")||(this._weekdaysRegex=qh),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function cy(t){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||$i.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Jh),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ly(t){return this._weekdaysParseExact?(Y(this,"_weekdaysRegex")||$i.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xh),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function $i(){function t(h,p){return p.length-h.length}var e=[],r=[],o=[],a=[],i,s,l,d,u;for(i=0;i<7;i++)s=Ye([2e3,1]).day(i),l=ve(this.weekdaysMin(s,"")),d=ve(this.weekdaysShort(s,"")),u=ve(this.weekdays(s,"")),e.push(l),r.push(d),o.push(u),a.push(l),a.push(d),a.push(u);e.sort(t),r.sort(t),o.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Bi(){return this.hours()%12||12}function dy(){return this.hours()||24}T("H",["HH",2],0,"hour");T("h",["hh",2],0,Bi);T("k",["kk",2],0,dy);T("hmm",0,0,function(){return""+Bi.apply(this)+ze(this.minutes(),2)});T("hmmss",0,0,function(){return""+Bi.apply(this)+ze(this.minutes(),2)+ze(this.seconds(),2)});T("Hmm",0,0,function(){return""+this.hours()+ze(this.minutes(),2)});T("Hmmss",0,0,function(){return""+this.hours()+ze(this.minutes(),2)+ze(this.seconds(),2)});function Sd(t,e){T(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Sd("a",!0);Sd("A",!1);ue("hour","h");fe("hour",13);function Od(t,e){return e._meridiemParse}N("a",Od);N("A",Od);N("H",q);N("h",q);N("k",q);N("HH",q,Se);N("hh",q,Se);N("kk",q,Se);N("hmm",ud);N("hmmss",fd);N("Hmm",ud);N("Hmmss",fd);K(["H","HH"],ne);K(["k","kk"],function(t,e,r){var o=F(t);e[ne]=o===24?0:o});K(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t});K(["h","hh"],function(t,e,r){e[ne]=F(t),L(r).bigHour=!0});K("hmm",function(t,e,r){var o=t.length-2;e[ne]=F(t.substr(0,o)),e[ke]=F(t.substr(o)),L(r).bigHour=!0});K("hmmss",function(t,e,r){var o=t.length-4,a=t.length-2;e[ne]=F(t.substr(0,o)),e[ke]=F(t.substr(o,2)),e[nt]=F(t.substr(a)),L(r).bigHour=!0});K("Hmm",function(t,e,r){var o=t.length-2;e[ne]=F(t.substr(0,o)),e[ke]=F(t.substr(o))});K("Hmmss",function(t,e,r){var o=t.length-4,a=t.length-2;e[ne]=F(t.substr(0,o)),e[ke]=F(t.substr(o,2)),e[nt]=F(t.substr(a))});function uy(t){return(t+"").toLowerCase().charAt(0)==="p"}var fy=/[ap]\.?m?\.?/i,py=mr("Hours",!0);function hy(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var wd={calendar:oh,longDateFormat:sh,invalidDate:lh,ordinal:uh,dayOfMonthOrdinalParse:fh,relativeTime:hh,months:Nh,monthsShort:pd,week:Bh,weekdays:Kh,weekdaysMin:Zh,weekdaysShort:vd,meridiemParse:fy},X={},no={},uo;function yy(t,e){var r,o=Math.min(t.length,e.length);for(r=0;r<o;r+=1)if(t[r]!==e[r])return r;return o}function Ql(t){return t&&t.toLowerCase().replace("_","-")}function my(t){for(var e=0,r,o,a,i;e<t.length;){for(i=Ql(t[e]).split("-"),r=i.length,o=Ql(t[e+1]),o=o?o.split("-"):null;r>0;){if(a=Cn(i.slice(0,r).join("-")),a)return a;if(o&&o.length>=r&&yy(i,o)>=r-1)break;r--}e++}return uo}function gy(t){return t.match("^[^/\\\\]*$")!=null}function Cn(t){var e=null,r;if(X[t]===void 0&&typeof module<"u"&&module&&module.exports&&gy(t))try{e=uo._abbr,r=Xi,r("./locale/"+t),wt(e)}catch{X[t]=null}return X[t]}function wt(t,e){var r;return t&&(me(e)?r=st(t):r=Hi(t,e),r?uo=r:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),uo._abbr}function Hi(t,e){if(e!==null){var r,o=wd;if(e.abbr=t,X[t]!=null)ad("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=X[t]._config;else if(e.parentLocale!=null)if(X[e.parentLocale]!=null)o=X[e.parentLocale]._config;else if(r=Cn(e.parentLocale),r!=null)o=r._config;else return no[e.parentLocale]||(no[e.parentLocale]=[]),no[e.parentLocale].push({name:t,config:e}),null;return X[t]=new Di(Ci(o,e)),no[t]&&no[t].forEach(function(a){Hi(a.name,a.config)}),wt(t),X[t]}else return delete X[t],null}function by(t,e){if(e!=null){var r,o,a=wd;X[t]!=null&&X[t].parentLocale!=null?X[t].set(Ci(X[t]._config,e)):(o=Cn(t),o!=null&&(a=o._config),e=Ci(a,e),o==null&&(e.abbr=t),r=new Di(e),r.parentLocale=X[t],X[t]=r),wt(t)}else X[t]!=null&&(X[t].parentLocale!=null?(X[t]=X[t].parentLocale,t===wt()&&wt(t)):X[t]!=null&&delete X[t]);return X[t]}function st(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return uo;if(!Pe(t)){if(e=Cn(t),e)return e;t=[t]}return my(t)}function xy(){return _i(X)}function zi(t){var e,r=t._a;return r&&L(t).overflow===-2&&(e=r[ot]<0||r[ot]>11?ot:r[He]<1||r[He]>En(r[de],r[ot])?He:r[ne]<0||r[ne]>24||r[ne]===24&&(r[ke]!==0||r[nt]!==0||r[jt]!==0)?ne:r[ke]<0||r[ke]>59?ke:r[nt]<0||r[nt]>59?nt:r[jt]<0||r[jt]>999?jt:-1,L(t)._overflowDayOfYear&&(e<de||e>He)&&(e=He),L(t)._overflowWeeks&&e===-1&&(e=Ch),L(t)._overflowWeekday&&e===-1&&(e=_h),L(t).overflow=e),t}var vy=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sy=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oy=/Z|[+-]\d\d(?::?\d\d)?/,sn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Oi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wy=/^\/?Date\((-?\d+)/i,Ey=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Cy={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Ed(t){var e,r,o=t._i,a=vy.exec(o)||Sy.exec(o),i,s,l,d,u=sn.length,h=Oi.length;if(a){for(L(t).iso=!0,e=0,r=u;e<r;e++)if(sn[e][1].exec(a[1])){s=sn[e][0],i=sn[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=h;e<r;e++)if(Oi[e][1].exec(a[3])){l=(a[2]||" ")+Oi[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(a[4])if(Oy.exec(a[4]))d="Z";else{t._isValid=!1;return}t._f=s+(l||"")+(d||""),ji(t)}else t._isValid=!1}function _y(t,e,r,o,a,i){var s=[Ay(t),pd.indexOf(e),parseInt(r,10),parseInt(o,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Ay(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Ny(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ry(t,e,r){if(t){var o=vd.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(o!==a)return L(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function ky(t,e,r){if(t)return Cy[t];if(e)return 0;var o=parseInt(r,10),a=o%100,i=(o-a)/100;return i*60+a}function Cd(t){var e=Ey.exec(Ny(t._i)),r;if(e){if(r=_y(e[4],e[3],e[2],e[5],e[6],e[7]),!Ry(e[1],r,t))return;t._a=r,t._tzm=ky(e[8],e[9],e[10]),t._d=co.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),L(t).rfc2822=!0}else t._isValid=!1}function Py(t){var e=wy.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Ed(t),t._isValid===!1)delete t._isValid;else return;if(Cd(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:_.createFromInputFallback(t)}_.createFromInputFallback=Ee("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function ur(t,e,r){return t??e??r}function Iy(t){var e=new Date(_.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Yi(t){var e,r,o=[],a,i,s;if(!t._d){for(a=Iy(t),t._w&&t._a[He]==null&&t._a[ot]==null&&Ty(t),t._dayOfYear!=null&&(s=ur(t._a[de],a[de]),(t._dayOfYear>so(s)||t._dayOfYear===0)&&(L(t)._overflowDayOfYear=!0),r=co(s,0,t._dayOfYear),t._a[ot]=r.getUTCMonth(),t._a[He]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=o[e]=a[e];for(;e<7;e++)t._a[e]=o[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[ne]===24&&t._a[ke]===0&&t._a[nt]===0&&t._a[jt]===0&&(t._nextDay=!0,t._a[ne]=0),t._d=(t._useUTC?co:Wh).apply(null,o),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ne]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(L(t).weekdayMismatch=!0)}}function Ty(t){var e,r,o,a,i,s,l,d,u;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=ur(e.GG,t._a[de],lo(Z(),1,4).year),o=ur(e.W,1),a=ur(e.E,1),(a<1||a>7)&&(d=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,u=lo(Z(),i,s),r=ur(e.gg,t._a[de],u.year),o=ur(e.w,u.week),e.d!=null?(a=e.d,(a<0||a>6)&&(d=!0)):e.e!=null?(a=e.e+i,(e.e<0||e.e>6)&&(d=!0)):a=i),o<1||o>at(r,i,s)?L(t)._overflowWeeks=!0:d!=null?L(t)._overflowWeekday=!0:(l=xd(r,o,a,i,s),t._a[de]=l.year,t._dayOfYear=l.dayOfYear)}_.ISO_8601=function(){};_.RFC_2822=function(){};function ji(t){if(t._f===_.ISO_8601){Ed(t);return}if(t._f===_.RFC_2822){Cd(t);return}t._a=[],L(t).empty=!0;var e=""+t._i,r,o,a,i,s,l=e.length,d=0,u,h;for(a=id(t._f,t._locale).match(Mi)||[],h=a.length,r=0;r<h;r++)i=a[r],o=(e.match(Oh(i,t))||[])[0],o&&(s=e.substr(0,e.indexOf(o)),s.length>0&&L(t).unusedInput.push(s),e=e.slice(e.indexOf(o)+o.length),d+=o.length),pr[i]?(o?L(t).empty=!1:L(t).unusedTokens.push(i),Eh(i,o,t)):t._strict&&!o&&L(t).unusedTokens.push(i);L(t).charsLeftOver=l-d,e.length>0&&L(t).unusedInput.push(e),t._a[ne]<=12&&L(t).bigHour===!0&&t._a[ne]>0&&(L(t).bigHour=void 0),L(t).parsedDateParts=t._a.slice(0),L(t).meridiem=t._meridiem,t._a[ne]=Dy(t._locale,t._a[ne],t._meridiem),u=L(t).era,u!==null&&(t._a[de]=t._locale.erasConvertYear(u,t._a[de])),Yi(t),zi(t)}function Dy(t,e,r){var o;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(o=t.isPM(r),o&&e<12&&(e+=12),!o&&e===12&&(e=0)),e)}function My(t){var e,r,o,a,i,s,l=!1,d=t._f.length;if(d===0){L(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,s=!1,e=Ti({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],ji(e),Ii(e)&&(s=!0),i+=L(e).charsLeftOver,i+=L(e).unusedTokens.length*10,L(e).score=i,l?i<o&&(o=i,r=e):(o==null||i<o||s)&&(o=i,r=e,s&&(l=!0));St(t,r||e)}function Ly(t){if(!t._d){var e=Li(t._i),r=e.day===void 0?e.date:e.day;t._a=od([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(o){return o&&parseInt(o,10)}),Yi(t)}}function Fy(t){var e=new po(zi(_d(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function _d(t){var e=t._i,r=t._f;return t._locale=t._locale||st(t._l),e===null||r===void 0&&e===""?gn({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ie(e)?new po(zi(e)):(fo(e)?t._d=e:Pe(r)?My(t):r?ji(t):Uy(t),Ii(t)||(t._d=null),t))}function Uy(t){var e=t._i;me(e)?t._d=new Date(_.now()):fo(e)?t._d=new Date(e.valueOf()):typeof e=="string"?Py(t):Pe(e)?(t._a=od(e.slice(0),function(r){return parseInt(r,10)}),Yi(t)):Gt(e)?Ly(t):it(e)?t._d=new Date(e):_.createFromInputFallback(t)}function Ad(t,e,r,o,a){var i={};return(e===!0||e===!1)&&(o=e,e=void 0),(r===!0||r===!1)&&(o=r,r=void 0),(Gt(t)&&Pi(t)||Pe(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=t,i._f=e,i._strict=o,Fy(i)}function Z(t,e,r,o){return Ad(t,e,r,o,!1)}var Wy=Ee("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Z.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:gn()}),$y=Ee("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Z.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:gn()});function Nd(t,e){var r,o;if(e.length===1&&Pe(e[0])&&(e=e[0]),!e.length)return Z();for(r=e[0],o=1;o<e.length;++o)(!e[o].isValid()||e[o][t](r))&&(r=e[o]);return r}function By(){var t=[].slice.call(arguments,0);return Nd("isBefore",t)}function Hy(){var t=[].slice.call(arguments,0);return Nd("isAfter",t)}var zy=function(){return Date.now?Date.now():+new Date},ao=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Yy(t){var e,r=!1,o,a=ao.length;for(e in t)if(Y(t,e)&&!(ee.call(ao,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(o=0;o<a;++o)if(t[ao[o]]){if(r)return!1;parseFloat(t[ao[o]])!==F(t[ao[o]])&&(r=!0)}return!0}function jy(){return this._isValid}function Gy(){return Te(NaN)}function _n(t){var e=Li(t),r=e.year||0,o=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,l=e.hour||0,d=e.minute||0,u=e.second||0,h=e.millisecond||0;this._isValid=Yy(e),this._milliseconds=+h+u*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+o*3+r*12,this._data={},this._locale=st(),this._bubble()}function ln(t){return t instanceof _n}function Ni(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function Vy(t,e,r){var o=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0,s;for(s=0;s<o;s++)(r&&t[s]!==e[s]||!r&&F(t[s])!==F(e[s]))&&i++;return i+a}function Rd(t,e){T(t,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+ze(~~(r/60),2)+e+ze(~~r%60,2)})}Rd("Z",":");Rd("ZZ","");N("Z",wn);N("ZZ",wn);K(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=Gi(wn,t)});var Ky=/([\+\-]|\d\d)/gi;function Gi(t,e){var r=(e||"").match(t),o,a,i;return r===null?null:(o=r[r.length-1]||[],a=(o+"").match(Ky)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function Vi(t,e){var r,o;return e._isUTC?(r=e.clone(),o=(Ie(t)||fo(t)?t.valueOf():Z(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),_.updateOffset(r,!1),r):Z(t).local()}function Ri(t){return-Math.round(t._d.getTimezoneOffset())}_.updateOffset=function(){};function Zy(t,e,r){var o=this._offset||0,a;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=Gi(wn,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=Ri(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),o!==t&&(!e||this._changeInProgress?Id(this,Te(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,_.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:Ri(this)}function qy(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Jy(t){return this.utcOffset(0,t)}function Xy(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ri(this),"m")),this}function Qy(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=Gi(vh,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function em(t){return this.isValid()?(t=t?Z(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function tm(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function rm(){if(!me(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Ti(t,this),t=_d(t),t._a?(e=t._isUTC?Ye(t._a):Z(t._a),this._isDSTShifted=this.isValid()&&Vy(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function om(){return this.isValid()?!this._isUTC:!1}function nm(){return this.isValid()?this._isUTC:!1}function kd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var am=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,im=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Te(t,e){var r=t,o=null,a,i,s;return ln(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:it(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=am.exec(t))?(a=o[1]==="-"?-1:1,r={y:0,d:F(o[He])*a,h:F(o[ne])*a,m:F(o[ke])*a,s:F(o[nt])*a,ms:F(Ni(o[jt]*1e3))*a}):(o=im.exec(t))?(a=o[1]==="-"?-1:1,r={y:Yt(o[2],a),M:Yt(o[3],a),w:Yt(o[4],a),d:Yt(o[5],a),h:Yt(o[6],a),m:Yt(o[7],a),s:Yt(o[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=sm(Z(r.from),Z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new _n(r),ln(t)&&Y(t,"_locale")&&(i._locale=t._locale),ln(t)&&Y(t,"_isValid")&&(i._isValid=t._isValid),i}Te.fn=_n.prototype;Te.invalid=Gy;function Yt(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function ed(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function sm(t,e){var r;return t.isValid()&&e.isValid()?(e=Vi(e,t),t.isBefore(e)?r=ed(t,e):(r=ed(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Pd(t,e){return function(r,o){var a,i;return o!==null&&!isNaN(+o)&&(ad(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=o,o=i),a=Te(r,o),Id(this,a,t),this}}function Id(t,e,r,o){var a=e._milliseconds,i=Ni(e._days),s=Ni(e._months);t.isValid()&&(o=o??!0,s&&yd(t,un(t,"Month")+s*r),i&&cd(t,"Date",un(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),o&&_.updateOffset(t,i||s))}var cm=Pd(1,"add"),lm=Pd(-1,"subtract");function Td(t){return typeof t=="string"||t instanceof String}function dm(t){return Ie(t)||fo(t)||Td(t)||it(t)||fm(t)||um(t)||t===null||t===void 0}function um(t){var e=Gt(t)&&!Pi(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=o.length;for(a=0;a<s;a+=1)i=o[a],r=r||Y(t,i);return e&&r}function fm(t){var e=Pe(t),r=!1;return e&&(r=t.filter(function(o){return!it(o)&&Td(t)}).length===0),e&&r}function pm(t){var e=Gt(t)&&!Pi(t),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<o.length;a+=1)i=o[a],r=r||Y(t,i);return e&&r}function hm(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function ym(t,e){arguments.length===1&&(arguments[0]?dm(arguments[0])?(t=arguments[0],e=void 0):pm(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||Z(),o=Vi(r,this).startOf("day"),a=_.calendarFormat(this,o)||"sameElse",i=e&&(je(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,Z(r)))}function mm(){return new po(this)}function gm(t,e){var r=Ie(t)?t:Z(t);return this.isValid()&&r.isValid()?(e=Ce(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function bm(t,e){var r=Ie(t)?t:Z(t);return this.isValid()&&r.isValid()?(e=Ce(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function xm(t,e,r,o){var a=Ie(t)?t:Z(t),i=Ie(e)?e:Z(e);return this.isValid()&&a.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function vm(t,e){var r=Ie(t)?t:Z(t),o;return this.isValid()&&r.isValid()?(e=Ce(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(e).valueOf()<=o&&o<=this.clone().endOf(e).valueOf())):!1}function Sm(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Om(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function wm(t,e,r){var o,a,i;if(!this.isValid())return NaN;if(o=Vi(t,this),!o.isValid())return NaN;switch(a=(o.utcOffset()-this.utcOffset())*6e4,e=Ce(e),e){case"year":i=dn(this,o)/12;break;case"month":i=dn(this,o);break;case"quarter":i=dn(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-a)/864e5;break;case"week":i=(this-o-a)/6048e5;break;default:i=this-o}return r?i:we(i)}function dn(t,e){if(t.date()<e.date())return-dn(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),o=t.clone().add(r,"months"),a,i;return e-o<0?(a=t.clone().add(r-1,"months"),i=(e-o)/(o-a)):(a=t.clone().add(r+1,"months"),i=(e-o)/(a-o)),-(r+i)||0}_.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";_.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Em(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Cm(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?cn(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):je(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",cn(r,"Z")):cn(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _m(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,o,a,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+o+a+i)}function Am(t){t||(t=this.isUtc()?_.defaultFormatUtc:_.defaultFormat);var e=cn(this,t);return this.localeData().postformat(e)}function Nm(t,e){return this.isValid()&&(Ie(t)&&t.isValid()||Z(t).isValid())?Te({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Rm(t){return this.from(Z(),t)}function km(t,e){return this.isValid()&&(Ie(t)&&t.isValid()||Z(t).isValid())?Te({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Pm(t){return this.to(Z(),t)}function Dd(t){var e;return t===void 0?this._locale._abbr:(e=st(t),e!=null&&(this._locale=e),this)}var Md=Ee("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Ld(){return this._locale}var hn=1e3,hr=60*hn,yn=60*hr,Fd=(365*400+97)*24*yn;function yr(t,e){return(t%e+e)%e}function Ud(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-Fd:new Date(t,e,r).valueOf()}function Wd(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-Fd:Date.UTC(t,e,r)}function Im(t){var e,r;if(t=Ce(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Wd:Ud,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=yr(e+(this._isUTC?0:this.utcOffset()*hr),yn);break;case"minute":e=this._d.valueOf(),e-=yr(e,hr);break;case"second":e=this._d.valueOf(),e-=yr(e,hn);break}return this._d.setTime(e),_.updateOffset(this,!0),this}function Tm(t){var e,r;if(t=Ce(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Wd:Ud,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=yn-yr(e+(this._isUTC?0:this.utcOffset()*hr),yn)-1;break;case"minute":e=this._d.valueOf(),e+=hr-yr(e,hr)-1;break;case"second":e=this._d.valueOf(),e+=hn-yr(e,hn)-1;break}return this._d.setTime(e),_.updateOffset(this,!0),this}function Dm(){return this._d.valueOf()-(this._offset||0)*6e4}function Mm(){return Math.floor(this.valueOf()/1e3)}function Lm(){return new Date(this.valueOf())}function Fm(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Um(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Wm(){return this.isValid()?this.toISOString():null}function $m(){return Ii(this)}function Bm(){return St({},L(this))}function Hm(){return L(this).overflow}function zm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}T("N",0,0,"eraAbbr");T("NN",0,0,"eraAbbr");T("NNN",0,0,"eraAbbr");T("NNNN",0,0,"eraName");T("NNNNN",0,0,"eraNarrow");T("y",["y",1],"yo","eraYear");T("y",["yy",2],0,"eraYear");T("y",["yyy",3],0,"eraYear");T("y",["yyyy",4],0,"eraYear");N("N",Ki);N("NN",Ki);N("NNN",Ki);N("NNNN",eg);N("NNNNN",tg);K(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,o){var a=r._locale.erasParse(t,o,r._strict);a?L(r).era=a:L(r).invalidEra=t});N("y",gr);N("yy",gr);N("yyy",gr);N("yyyy",gr);N("yo",rg);K(["y","yy","yyy","yyyy"],de);K(["yo"],function(t,e,r,o){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[de]=r._locale.eraYearOrdinalParse(t,a):e[de]=parseInt(t,10)});function Ym(t,e){var r,o,a,i=this._eras||st("en")._eras;for(r=0,o=i.length;r<o;++r){switch(typeof i[r].since){case"string":a=_(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=_(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function jm(t,e,r){var o,a,i=this.eras(),s,l,d;for(t=t.toUpperCase(),o=0,a=i.length;o<a;++o)if(s=i[o].name.toUpperCase(),l=i[o].abbr.toUpperCase(),d=i[o].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(l===t)return i[o];break;case"NNNN":if(s===t)return i[o];break;case"NNNNN":if(d===t)return i[o];break}else if([s,l,d].indexOf(t)>=0)return i[o]}function Gm(t,e){var r=t.since<=t.until?1:-1;return e===void 0?_(t.since).year():_(t.since).year()+(e-t.offset)*r}function Vm(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].name;return""}function Km(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].narrow;return""}function Zm(){var t,e,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return o[t].abbr;return""}function qm(){var t,e,r,o,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(r=a[t].since<=a[t].until?1:-1,o=this.clone().startOf("day").valueOf(),a[t].since<=o&&o<=a[t].until||a[t].until<=o&&o<=a[t].since)return(this.year()-_(a[t].since).year())*r+a[t].offset;return this.year()}function Jm(t){return Y(this,"_erasNameRegex")||Zi.call(this),t?this._erasNameRegex:this._erasRegex}function Xm(t){return Y(this,"_erasAbbrRegex")||Zi.call(this),t?this._erasAbbrRegex:this._erasRegex}function Qm(t){return Y(this,"_erasNarrowRegex")||Zi.call(this),t?this._erasNarrowRegex:this._erasRegex}function Ki(t,e){return e.erasAbbrRegex(t)}function eg(t,e){return e.erasNameRegex(t)}function tg(t,e){return e.erasNarrowRegex(t)}function rg(t,e){return e._eraYearOrdinalRegex||gr}function Zi(){var t=[],e=[],r=[],o=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)e.push(ve(s[a].name)),t.push(ve(s[a].abbr)),r.push(ve(s[a].narrow)),o.push(ve(s[a].name)),o.push(ve(s[a].abbr)),o.push(ve(s[a].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}T(0,["gg",2],0,function(){return this.weekYear()%100});T(0,["GG",2],0,function(){return this.isoWeekYear()%100});function An(t,e){T(0,[t,t.length],0,e)}An("gggg","weekYear");An("ggggg","weekYear");An("GGGG","isoWeekYear");An("GGGGG","isoWeekYear");ue("weekYear","gg");ue("isoWeekYear","GG");fe("weekYear",1);fe("isoWeekYear",1);N("G",On);N("g",On);N("GG",q,Se);N("gg",q,Se);N("GGGG",Ui,Fi);N("gggg",Ui,Fi);N("GGGGG",Sn,xn);N("ggggg",Sn,xn);yo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,o){e[o.substr(0,2)]=F(t)});yo(["gg","GG"],function(t,e,r,o){e[o]=_.parseTwoDigitYear(t)});function og(t){return $d.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ng(t){return $d.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function ag(){return at(this.year(),1,4)}function ig(){return at(this.isoWeekYear(),1,4)}function sg(){var t=this.localeData()._week;return at(this.year(),t.dow,t.doy)}function cg(){var t=this.localeData()._week;return at(this.weekYear(),t.dow,t.doy)}function $d(t,e,r,o,a){var i;return t==null?lo(this,o,a).year:(i=at(t,o,a),e>i&&(e=i),lg.call(this,t,e,r,o,a))}function lg(t,e,r,o,a){var i=xd(t,e,r,o,a),s=co(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}T("Q",0,"Qo","quarter");ue("quarter","Q");fe("quarter",7);N("Q",ld);K("Q",function(t,e){e[ot]=(F(t)-1)*3});function dg(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}T("D",["DD",2],"Do","date");ue("date","D");fe("date",9);N("D",q);N("DD",q,Se);N("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});K(["D","DD"],He);K("Do",function(t,e){e[He]=F(t.match(q)[0])});var Bd=mr("Date",!0);T("DDD",["DDDD",3],"DDDo","dayOfYear");ue("dayOfYear","DDD");fe("dayOfYear",4);N("DDD",vn);N("DDDD",dd);K(["DDD","DDDD"],function(t,e,r){r._dayOfYear=F(t)});function ug(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}T("m",["mm",2],0,"minute");ue("minute","m");fe("minute",14);N("m",q);N("mm",q,Se);K(["m","mm"],ke);var fg=mr("Minutes",!1);T("s",["ss",2],0,"second");ue("second","s");fe("second",15);N("s",q);N("ss",q,Se);K(["s","ss"],nt);var pg=mr("Seconds",!1);T("S",0,0,function(){return~~(this.millisecond()/100)});T(0,["SS",2],0,function(){return~~(this.millisecond()/10)});T(0,["SSS",3],0,"millisecond");T(0,["SSSS",4],0,function(){return this.millisecond()*10});T(0,["SSSSS",5],0,function(){return this.millisecond()*100});T(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});T(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});T(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});T(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ue("millisecond","ms");fe("millisecond",16);N("S",vn,ld);N("SS",vn,Se);N("SSS",vn,dd);var Ot,Hd;for(Ot="SSSS";Ot.length<=9;Ot+="S")N(Ot,gr);function hg(t,e){e[jt]=F(("0."+t)*1e3)}for(Ot="S";Ot.length<=9;Ot+="S")K(Ot,hg);Hd=mr("Milliseconds",!1);T("z",0,0,"zoneAbbr");T("zz",0,0,"zoneName");function yg(){return this._isUTC?"UTC":""}function mg(){return this._isUTC?"Coordinated Universal Time":""}var E=po.prototype;E.add=cm;E.calendar=ym;E.clone=mm;E.diff=wm;E.endOf=Tm;E.format=Am;E.from=Nm;E.fromNow=Rm;E.to=km;E.toNow=Pm;E.get=bh;E.invalidAt=Hm;E.isAfter=gm;E.isBefore=bm;E.isBetween=xm;E.isSame=vm;E.isSameOrAfter=Sm;E.isSameOrBefore=Om;E.isValid=$m;E.lang=Md;E.locale=Dd;E.localeData=Ld;E.max=$y;E.min=Wy;E.parsingFlags=Bm;E.set=xh;E.startOf=Im;E.subtract=lm;E.toArray=Fm;E.toObject=Um;E.toDate=Lm;E.toISOString=Cm;E.inspect=_m;typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E.toJSON=Wm;E.toString=Em;E.unix=Mm;E.valueOf=Dm;E.creationData=zm;E.eraName=Vm;E.eraNarrow=Km;E.eraAbbr=Zm;E.eraYear=qm;E.year=bd;E.isLeapYear=Uh;E.weekYear=og;E.isoWeekYear=ng;E.quarter=E.quarters=dg;E.month=md;E.daysInMonth=Mh;E.week=E.weeks=Yh;E.isoWeek=E.isoWeeks=jh;E.weeksInYear=sg;E.weeksInWeekYear=cg;E.isoWeeksInYear=ag;E.isoWeeksInISOWeekYear=ig;E.date=Bd;E.day=E.days=ny;E.weekday=ay;E.isoWeekday=iy;E.dayOfYear=ug;E.hour=E.hours=py;E.minute=E.minutes=fg;E.second=E.seconds=pg;E.millisecond=E.milliseconds=Hd;E.utcOffset=Zy;E.utc=Jy;E.local=Xy;E.parseZone=Qy;E.hasAlignedHourOffset=em;E.isDST=tm;E.isLocal=om;E.isUtcOffset=nm;E.isUtc=kd;E.isUTC=kd;E.zoneAbbr=yg;E.zoneName=mg;E.dates=Ee("dates accessor is deprecated. Use date instead.",Bd);E.months=Ee("months accessor is deprecated. Use month instead",md);E.years=Ee("years accessor is deprecated. Use year instead",bd);E.zone=Ee("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",qy);E.isDSTShifted=Ee("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",rm);function gg(t){return Z(t*1e3)}function bg(){return Z.apply(null,arguments).parseZone()}function zd(t){return t}var j=Di.prototype;j.calendar=nh;j.longDateFormat=ch;j.invalidDate=dh;j.ordinal=ph;j.preparse=zd;j.postformat=zd;j.relativeTime=yh;j.pastFuture=mh;j.set=rh;j.eras=Ym;j.erasParse=jm;j.erasConvertYear=Gm;j.erasAbbrRegex=Xm;j.erasNameRegex=Jm;j.erasNarrowRegex=Qm;j.months=Ph;j.monthsShort=Ih;j.monthsParse=Dh;j.monthsRegex=Fh;j.monthsShortRegex=Lh;j.week=$h;j.firstDayOfYear=zh;j.firstDayOfWeek=Hh;j.weekdays=Qh;j.weekdaysMin=ty;j.weekdaysShort=ey;j.weekdaysParse=oy;j.weekdaysRegex=sy;j.weekdaysShortRegex=cy;j.weekdaysMinRegex=ly;j.isPM=uy;j.meridiem=hy;function mn(t,e,r,o){var a=st(),i=Ye().set(o,e);return a[r](i,t)}function Yd(t,e,r){if(it(t)&&(e=t,t=void 0),t=t||"",e!=null)return mn(t,e,r,"month");var o,a=[];for(o=0;o<12;o++)a[o]=mn(t,o,r,"month");return a}function qi(t,e,r,o){typeof t=="boolean"?(it(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,it(e)&&(r=e,e=void 0),e=e||"");var a=st(),i=t?a._week.dow:0,s,l=[];if(r!=null)return mn(e,(r+i)%7,o,"day");for(s=0;s<7;s++)l[s]=mn(e,(s+i)%7,o,"day");return l}function xg(t,e){return Yd(t,e,"months")}function vg(t,e){return Yd(t,e,"monthsShort")}function Sg(t,e,r){return qi(t,e,r,"weekdays")}function Og(t,e,r){return qi(t,e,r,"weekdaysShort")}function wg(t,e,r){return qi(t,e,r,"weekdaysMin")}wt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,r=F(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}});_.lang=Ee("moment.lang is deprecated. Use moment.locale instead.",wt);_.langData=Ee("moment.langData is deprecated. Use moment.localeData instead.",st);var tt=Math.abs;function Eg(){var t=this._data;return this._milliseconds=tt(this._milliseconds),this._days=tt(this._days),this._months=tt(this._months),t.milliseconds=tt(t.milliseconds),t.seconds=tt(t.seconds),t.minutes=tt(t.minutes),t.hours=tt(t.hours),t.months=tt(t.months),t.years=tt(t.years),this}function jd(t,e,r,o){var a=Te(e,r);return t._milliseconds+=o*a._milliseconds,t._days+=o*a._days,t._months+=o*a._months,t._bubble()}function Cg(t,e){return jd(this,t,e,1)}function _g(t,e){return jd(this,t,e,-1)}function td(t){return t<0?Math.floor(t):Math.ceil(t)}function Ag(){var t=this._milliseconds,e=this._days,r=this._months,o=this._data,a,i,s,l,d;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=td(ki(r)+e)*864e5,e=0,r=0),o.milliseconds=t%1e3,a=we(t/1e3),o.seconds=a%60,i=we(a/60),o.minutes=i%60,s=we(i/60),o.hours=s%24,e+=we(s/24),d=we(Gd(e)),r+=d,e-=td(ki(d)),l=we(r/12),r%=12,o.days=e,o.months=r,o.years=l,this}function Gd(t){return t*4800/146097}function ki(t){return t*146097/4800}function Ng(t){if(!this.isValid())return NaN;var e,r,o=this._milliseconds;if(t=Ce(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+o/864e5,r=this._months+Gd(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(ki(this._months)),t){case"week":return e/7+o/6048e5;case"day":return e+o/864e5;case"hour":return e*24+o/36e5;case"minute":return e*1440+o/6e4;case"second":return e*86400+o/1e3;case"millisecond":return Math.floor(e*864e5)+o;default:throw new Error("Unknown unit "+t)}}function Rg(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+F(this._months/12)*31536e6:NaN}function ct(t){return function(){return this.as(t)}}var kg=ct("ms"),Pg=ct("s"),Ig=ct("m"),Tg=ct("h"),Dg=ct("d"),Mg=ct("w"),Lg=ct("M"),Fg=ct("Q"),Ug=ct("y");function Wg(){return Te(this)}function $g(t){return t=Ce(t),this.isValid()?this[t+"s"]():NaN}function Vt(t){return function(){return this.isValid()?this._data[t]:NaN}}var Bg=Vt("milliseconds"),Hg=Vt("seconds"),zg=Vt("minutes"),Yg=Vt("hours"),jg=Vt("days"),Gg=Vt("months"),Vg=Vt("years");function Kg(){return we(this.days()/7)}var rt=Math.round,fr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zg(t,e,r,o,a){return a.relativeTime(e||1,!!r,t,o)}function qg(t,e,r,o){var a=Te(t).abs(),i=rt(a.as("s")),s=rt(a.as("m")),l=rt(a.as("h")),d=rt(a.as("d")),u=rt(a.as("M")),h=rt(a.as("w")),p=rt(a.as("y")),m=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||l<=1&&["h"]||l<r.h&&["hh",l]||d<=1&&["d"]||d<r.d&&["dd",d];return r.w!=null&&(m=m||h<=1&&["w"]||h<r.w&&["ww",h]),m=m||u<=1&&["M"]||u<r.M&&["MM",u]||p<=1&&["y"]||["yy",p],m[2]=e,m[3]=+t>0,m[4]=o,Zg.apply(null,m)}function Jg(t){return t===void 0?rt:typeof t=="function"?(rt=t,!0):!1}function Xg(t,e){return fr[t]===void 0?!1:e===void 0?fr[t]:(fr[t]=e,t==="s"&&(fr.ss=e-1),!0)}function Qg(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=fr,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(o=Object.assign({},fr,e),e.s!=null&&e.ss==null&&(o.ss=e.s-1)),a=this.localeData(),i=qg(this,!r,o,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var wi=Math.abs;function dr(t){return(t>0)-(t<0)||+t}function Nn(){if(!this.isValid())return this.localeData().invalidDate();var t=wi(this._milliseconds)/1e3,e=wi(this._days),r=wi(this._months),o,a,i,s,l=this.asSeconds(),d,u,h,p;return l?(o=we(t/60),a=we(o/60),t%=60,o%=60,i=we(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",u=dr(this._months)!==dr(l)?"-":"",h=dr(this._days)!==dr(l)?"-":"",p=dr(this._milliseconds)!==dr(l)?"-":"",d+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(e?h+e+"D":"")+(a||o||t?"T":"")+(a?p+a+"H":"")+(o?p+o+"M":"")+(t?p+s+"S":"")):"P0D"}var H=_n.prototype;H.isValid=jy;H.abs=Eg;H.add=Cg;H.subtract=_g;H.as=Ng;H.asMilliseconds=kg;H.asSeconds=Pg;H.asMinutes=Ig;H.asHours=Tg;H.asDays=Dg;H.asWeeks=Mg;H.asMonths=Lg;H.asQuarters=Fg;H.asYears=Ug;H.valueOf=Rg;H._bubble=Ag;H.clone=Wg;H.get=$g;H.milliseconds=Bg;H.seconds=Hg;H.minutes=zg;H.hours=Yg;H.days=jg;H.weeks=Kg;H.months=Gg;H.years=Vg;H.humanize=Qg;H.toISOString=Nn;H.toString=Nn;H.toJSON=Nn;H.locale=Dd;H.localeData=Ld;H.toIsoString=Ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Nn);H.lang=Md;T("X",0,0,"unix");T("x",0,0,"valueOf");N("x",On);N("X",Sh);K("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)});K("x",function(t,e,r){r._d=new Date(F(t))});_.version="2.29.4";eh(Z);_.fn=E;_.min=By;_.max=Hy;_.now=zy;_.utc=Ye;_.unix=gg;_.months=xg;_.isDate=fo;_.locale=wt;_.invalid=gn;_.duration=Te;_.isMoment=Ie;_.weekdays=Sg;_.parseZone=bg;_.localeData=st;_.isDuration=ln;_.monthsShort=vg;_.weekdaysMin=wg;_.defineLocale=Hi;_.updateLocale=by;_.locales=xy;_.weekdaysShort=Og;_.normalizeUnits=Ce;_.relativeTimeRounding=Jg;_.relativeTimeThreshold=Xg;_.calendarFormat=hm;_.prototype=E;_.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var De=_;var ie;(function(t){t.DAY="DAY",t.WEEK="WEEK",t.MONTH="MONTH"})(ie||(ie={}));var Vd=re`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-analytics-sessions-chart",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"description": "Display sessions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "1.2.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.2.16",
|
|
23
23
|
"lit": "3.1.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"moment": "2.29.4"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "ede6b43f06ac3cf4720eace3f556b8917e364248"
|
|
29
29
|
}
|