@fluid-topics/ft-search-results-number 1.2.15 → 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,12 +47,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
47
47
|
input::-webkit-search-results-decoration {
|
|
48
48
|
display: none;
|
|
49
49
|
}
|
|
50
|
-
`;var Rs={};var oa={};B(oa,{ParametrizedLabelResolver:()=>br});var br=class r{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return r.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>r.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?r.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var Ia={};B(Ia,{FtCommandQueue:()=>xr,FtLitElementRedux:()=>ye,FtReduxStore:()=>We,clearAllStores:()=>ju,isFtReduxStore:()=>ct,redux:()=>Et,reduxEventListener:()=>su,reduxReactive:()=>iu});var iu=()=>(r,e)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Et=r=>{let e=r??{};return(o,n)=>{var a;let i={hasChanged:nr,attribute:!1,...e};U(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},su=r=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var xr=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function ct(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ns,Is,_s,so=Symbol("internalReduxEventsUnsubscribers"),ke=Symbol("internalStoresUnsubscribers"),lt=Symbol("internalStores"),ye=class extends Z{constructor(){super(...arguments),this[Ns]=new Map,this[Is]=new Map,this[_s]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[lt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[lt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[lt].get(e)}addStore(e,o){var n;o=(n=o??(ct(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[lt].delete(o)}setupStore(e,o){this[lt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[lt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[ke].has(e.store):this[ke].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[ke].set(e,o.subscribe(()=>this.updateFromStores())),ct(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.addEventListener(a.eventName,s),this[so].push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ke].forEach((e,o)=>this.unsubscribeFromStore(o)),this[so].forEach(e=>e()),this[so]=[]}unsubscribeFromStore(e){this[ke].has(e)&&this[ke].get(e)(),this[ke].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ns=ke,Is=lt,_s=so;ye.reduxProperties=new Map;ye.reduxReactiveProperties=new Set;ye.reduxEventListeners=new Map;function te(r){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ee(r){return!!r&&!!r[H]}function ae(r){var e;return!!r&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===yu}(r)||Array.isArray(r)||!!r[Ms]||!!(!((e=r.constructor)===null||e===void 0)&&e[Ms])||fa(r)||pa(r))}function dt(r,e,o){o===void 0&&(o=!1),Nt(r)===0?(o?Object.keys:Rt)(r).forEach(function(n){o&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,a){return e(a,n,r)})}function Nt(r){var e=r[H];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:fa(r)?2:pa(r)?3:0}function At(r,e){return Nt(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function cu(r,e){return Nt(r)===2?r.get(e):r[e]}function Ds(r,e,o){var n=Nt(r);n===2?r.set(e,o):n===3?r.add(o):r[e]=o}function $s(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function fa(r){return pu&&r instanceof Map}function pa(r){return hu&&r instanceof Set}function Ue(r){return r.o||r.t}function ha(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=Hs(r);delete e[H];for(var o=Rt(e),n=0;n<o.length;n++){var a=o[n],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:r[a]})}return Object.create(Object.getPrototypeOf(r),e)}function ya(r,e){return e===void 0&&(e=!1),ga(r)||Ee(r)||!ae(r)||(Nt(r)>1&&(r.set=r.add=r.clear=r.delete=lu),Object.freeze(r),e&&dt(r,function(o,n){return ya(n,!0)},!0)),r}function lu(){te(2)}function ga(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function ge(r){var e=ua[r];return e||te(18,r),e}function du(r,e){ua[r]||(ua[r]=e)}function ca(){return Sr}function na(r,e){e&&(ge("Patches"),r.u=[],r.s=[],r.v=e)}function co(r){la(r),r.p.forEach(uu),r.p=null}function la(r){r===Sr&&(Sr=r.l)}function Ps(r){return Sr={p:[],l:Sr,h:r,m:!0,_:0}}function uu(r){var e=r[H];e.i===0||e.i===1?e.j():e.g=!0}function aa(r,e){e._=e.p.length;var o=e.p[0],n=r!==void 0&&r!==o;return e.h.O||ge("ES5").S(e,r,n),n?(o[H].P&&(co(e),te(4)),ae(r)&&(r=lo(e,r),e.l||uo(e,r)),e.u&&ge("Patches").M(o[H].t,r,e.u,e.s)):r=lo(e,o,[]),co(e),e.u&&e.v(e.u,e.s),r!==Ws?r:void 0}function lo(r,e,o){if(ga(e))return e;var n=e[H];if(!n)return dt(e,function(l,d){return Ts(r,n,e,l,d,o)},!0),e;if(n.A!==r)return e;if(!n.P)return uo(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ha(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),dt(i,function(l,d){return Ts(r,n,a,l,d,o,s)}),uo(r,a,!1),o&&r.u&&ge("Patches").N(n,o,r.u,r.s)}return n.o}function Ts(r,e,o,n,a,i,s){if(Ee(a)){var l=lo(r,a,i&&e&&e.i!==3&&!At(e.R,n)?i.concat(n):void 0);if(Ds(o,n,l),!Ee(l))return;r.m=!1}else s&&o.add(a);if(ae(a)&&!ga(a)){if(!r.h.D&&r._<1)return;lo(r,a),e&&e.A.l||uo(r,a)}}function uo(r,e,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&ya(e,o)}function ia(r,e){var o=r[H];return(o?Ue(o):r)[e]}function Ls(r,e){if(e in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Me(r){r.P||(r.P=!0,r.l&&Me(r.l))}function sa(r){r.o||(r.o=ha(r.t))}function da(r,e,o){var n=fa(e)?ge("MapSet").F(e,o):pa(e)?ge("MapSet").T(e,o):r.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:ca(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=Or;s&&(d=[l],u=vr);var p=Proxy.revocable(d,u),h=p.revoke,g=p.proxy;return l.k=g,l.j=h,g}(e,o):ge("ES5").J(e,o);return(o?o.A:ca()).p.push(n),n}function fu(r){return Ee(r)||te(22,r),function e(o){if(!ae(o))return o;var n,a=o[H],i=Nt(o);if(a){if(!a.P&&(a.i<4||!ge("ES5").K(a)))return a.t;a.I=!0,n=Fs(o,i),a.I=!1}else n=Fs(o,i);return dt(n,function(s,l){a&&cu(a.t,s)===l||Ds(n,s,e(l))}),i===3?new Set(n):n}(r)}function Fs(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return ha(r)}function Bs(){function r(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[H];return Or.get(u,s)},set:function(u){var p=this[H];Or.set(p,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][H];if(!d.P)switch(d.i){case 5:n(d)&&Me(d);break;case 4:o(d)&&Me(d)}}}function o(s){for(var l=s.t,d=s.k,u=Rt(d),p=u.length-1;p>=0;p--){var h=u[p];if(h!==H){var g=l[h];if(g===void 0&&!At(l,h))return!0;var m=d[h],b=m&&m[H];if(b?b.t!==g:!$s(m,g))return!0}}var S=!!l[H];return u.length!==Rt(l).length+(S?0:1)}function n(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&&te(3,JSON.stringify(Ue(s)))}var i={};du("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(h,g){if(h){for(var m=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(m,""+b,r(b,!0));return m}var S=Hs(g);delete S[H];for(var w=Rt(S),E=0;E<w.length;E++){var A=w[E];S[A]=r(A,h||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(d,s),p={i:d?5:4,A:l?l.A:ca(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,H,{value:p,writable:!0}),u},S:function(s,l,d){d?Ee(l)&&l[H].A===s&&e(s.p):(s.u&&function u(p){if(p&&typeof p=="object"){var h=p[H];if(h){var g=h.t,m=h.k,b=h.R,S=h.i;if(S===4)dt(m,function(v){v!==H&&(g[v]!==void 0||At(g,v)?b[v]||u(m[v]):(b[v]=!0,Me(h)))}),dt(g,function(v){m[v]!==void 0||At(m,v)||(b[v]=!1,Me(h))});else if(S===5){if(n(h)&&(Me(h),b.length=!0),m.length<g.length)for(var w=m.length;w<g.length;w++)b[w]=!1;else for(var E=g.length;E<m.length;E++)b[E]=!0;for(var A=Math.min(m.length,g.length),O=0;O<A;O++)m.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&u(m[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ks,Sr,ma=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pu=typeof Map<"u",hu=typeof Set<"u",Us=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ws=ma?Symbol.for("immer-nothing"):((ks={})["immer-nothing"]=!0,ks),Ms=ma?Symbol.for("immer-draftable"):"__$immer_draftable",H=ma?Symbol.for("immer-state"):"__$immer_state";var yu=""+Object.prototype.constructor,Rt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Hs=Object.getOwnPropertyDescriptors||function(r){var e={};return Rt(r).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(r,o)}),e},ua={},Or={get:function(r,e){if(e===H)return r;var o=Ue(r);if(!At(o,e))return function(a,i,s){var l,d=Ls(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(r,o,e);var n=o[e];return r.I||!ae(n)?n:n===ia(r.t,e)?(sa(r),r.o[e]=da(r.A.h,n,r)):n},has:function(r,e){return e in Ue(r)},ownKeys:function(r){return Reflect.ownKeys(Ue(r))},set:function(r,e,o){var n=Ls(Ue(r),e);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var a=ia(Ue(r),e),i=a?.[H];if(i&&i.t===o)return r.o[e]=o,r.R[e]=!1,!0;if($s(o,a)&&(o!==void 0||At(r.t,e)))return!0;sa(r),Me(r)}return r.o[e]===o&&(o!==void 0||e in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[e])||(r.o[e]=o,r.R[e]=!0),!0},deleteProperty:function(r,e){return ia(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,sa(r),Me(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var o=Ue(r),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){te(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){te(12)}},vr={};dt(Or,function(r,e){vr[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),vr.deleteProperty=function(r,e){return vr.set.call(this,r,e,void 0)},vr.set=function(r,e,o){return Or.set.call(this,r[0],e,o,r[0])};var gu=function(){function r(o){var n=this;this.O=Us,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(S){var w=this;S===void 0&&(S=l);for(var E=arguments.length,A=Array(E>1?E-1:0),O=1;O<E;O++)A[O-1]=arguments[O];return d.produce(S,function(v){var C;return(C=i).call.apply(C,[w,v].concat(A))})}}var u;if(typeof i!="function"&&te(6),s!==void 0&&typeof s!="function"&&te(7),ae(a)){var p=Ps(n),h=da(n,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?co(p):la(p)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return na(p,s),aa(S,p)},function(S){throw co(p),S}):(na(p,s),aa(u,p))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===Ws&&(u=void 0),n.D&&ya(u,!0),s){var m=[],b=[];ge("Patches").M(a,u,m,b),s(m,b)}return u}te(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var p=arguments.length,h=Array(p>1?p-1:0),g=1;g<p;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(m){return a.apply(void 0,[m].concat(h))})};var s,l,d=n.produce(a,i,function(u,p){s=u,l=p});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=r.prototype;return e.createDraft=function(o){ae(o)||te(8),Ee(o)&&(o=fu(o));var n=Ps(this),a=da(this,o,void 0);return a[H].C=!0,la(n),a},e.finishDraft=function(o,n){var a=o&&o[H],i=a.A;return na(i,n),aa(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Us&&te(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=ge("Patches").$;return Ee(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},r}(),ee=new gu,mu=ee.produce,Tm=ee.produceWithPatches.bind(ee),Lm=ee.setAutoFreeze.bind(ee),Fm=ee.setUseProxies.bind(ee),km=ee.applyPatches.bind(ee),Um=ee.createDraft.bind(ee),Mm=ee.finishDraft.bind(ee),fo=mu;function De(r){"@babel/helpers - typeof";return De=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},De(r)}function ba(r,e){if(De(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,e||"default");if(De(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function xa(r){var e=ba(r,"string");return De(e)==="symbol"?e:String(e)}function va(r,e,o){return e=xa(e),e in r?Object.defineProperty(r,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[e]=o,r}function zs(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),o.push.apply(o,n)}return o}function po(r){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?zs(Object(o),!0).forEach(function(n){va(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):zs(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function q(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var js=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Sa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ho={INIT:"@@redux/INIT"+Sa(),REPLACE:"@@redux/REPLACE"+Sa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Sa()}};function bu(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function Oa(r,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(q(1));return o(Oa)(r,e)}if(typeof r!="function")throw new Error(q(2));var a=r,i=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function p(){if(d)throw new Error(q(3));return i}function h(S){if(typeof S!="function")throw new Error(q(4));if(d)throw new Error(q(5));var w=!0;return u(),l.push(S),function(){if(w){if(d)throw new Error(q(6));w=!1,u();var A=l.indexOf(S);l.splice(A,1),s=null}}}function g(S){if(!bu(S))throw new Error(q(7));if(typeof S.type>"u")throw new Error(q(8));if(d)throw new Error(q(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var w=s=l,E=0;E<w.length;E++){var A=w[E];A()}return S}function m(S){if(typeof S!="function")throw new Error(q(10));a=S,g({type:ho.REPLACE})}function b(){var S,w=h;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(q(11));function O(){A.next&&A.next(p())}O();var v=w(O);return{unsubscribe:v}}},S[js]=function(){return this},S}return g({type:ho.INIT}),n={dispatch:g,subscribe:h,getState:p,replaceReducer:m},n[js]=b,n}function xu(r){Object.keys(r).forEach(function(e){var o=r[e],n=o(void 0,{type:ho.INIT});if(typeof n>"u")throw new Error(q(12));if(typeof o(void 0,{type:ho.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(q(13))})}function Vs(r){for(var e=Object.keys(r),o={},n=0;n<e.length;n++){var a=e[n];typeof r[a]=="function"&&(o[a]=r[a])}var i=Object.keys(o),s,l;try{xu(o)}catch(d){l=d}return function(u,p){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var g=!1,m={},b=0;b<i.length;b++){var S=i[b],w=o[S],E=u[S],A=w(E,p);if(typeof A>"u"){var O=p&&p.type;throw new Error(q(14))}m[S]=A,g=g||A!==E}return g=g||i.length!==Object.keys(u).length,g?m:u}}function It(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Gs(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(q(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=It.apply(void 0,l)(a.dispatch),po(po({},a),{},{dispatch:i})}}}function Ks(r){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,r):s(l)}}};return e}var Zs=Ks();Zs.withExtraArgument=Ks;var Ca=Zs;var Qs=function(){var r=function(e,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},r(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),vu=function(r,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,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(p){return d([u,p])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=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 o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(r,o)}catch(p){u=[6,p],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},_t=function(r,e){for(var o=0,n=e.length,a=r.length;o<n;o++,a++)r[a]=e[o];return r},Su=Object.defineProperty,Ou=Object.defineProperties,Cu=Object.getOwnPropertyDescriptors,qs=Object.getOwnPropertySymbols,wu=Object.prototype.hasOwnProperty,Eu=Object.prototype.propertyIsEnumerable,Ys=function(r,e,o){return e in r?Su(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o},$e=function(r,e){for(var o in e||(e={}))wu.call(e,o)&&Ys(r,o,e[o]);if(qs)for(var n=0,a=qs(e);n<a.length;n++){var o=a[n];Eu.call(e,o)&&Ys(r,o,e[o])}return r},wa=function(r,e){return Ou(r,Cu(e))},Au=function(r,e,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(u){a(u)}},s=function(d){try{l(o.throw(d))}catch(u){a(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(r,e)).next())})};var Ru=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?It:It.apply(null,arguments)},tb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Nu(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Iu=function(r){Qs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,_t([void 0],o[0].concat(this)))):new(e.bind.apply(e,_t([void 0],o.concat(this))))},e}(Array),_u=function(r){Qs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,_t([void 0],o[0].concat(this)))):new(e.bind.apply(e,_t([void 0],o.concat(this))))},e}(Array);function Ra(r){return ae(r)?fo(r,function(){}):r}function Pu(r){return typeof r=="boolean"}function Tu(){return function(e){return Lu(e)}}function Lu(r){r===void 0&&(r={});var e=r.thunk,o=e===void 0?!0:e,n=r.immutableCheck,a=n===void 0?!0:n,i=r.serializableCheck,s=i===void 0?!0:i,l=new Iu;if(o&&(Pu(o)?l.push(Ca):l.push(Ca.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var u}return l}var Ea=!0;function ec(r){var e=Tu(),o=r||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,d=l===void 0?!0:l,u=o.preloadedState,p=u===void 0?void 0:u,h=o.enhancers,g=h===void 0?void 0:h,m;if(typeof a=="function")m=a;else if(Nu(a))m=Vs(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),!Ea&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ea&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Gs.apply(void 0,b),w=It;d&&(w=Ru($e({trace:!Ea},typeof d=="object"&&d)));var E=new _u(S),A=E;Array.isArray(g)?A=_t([S],g):typeof g=="function"&&(A=g(E));var O=w.apply(void 0,A);return Oa(m,p,O)}function Be(r,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return $e($e({type:r,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}function tc(r){var e={},o=[],n,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 o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return r(a),[e,o,n]}function Fu(r){return typeof r=="function"}function ku(r,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?tc(e):[e,o,n],i=a[0],s=a[1],l=a[2],d;if(Fu(r))d=function(){return Ra(r())};else{var u=Ra(r);d=function(){return u}}function p(h,g){h===void 0&&(h=d());var m=_t([i[g.type]],s.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return m.filter(function(b){return!!b}).length===0&&(m=[l]),m.reduce(function(b,S){if(S)if(Ee(b)){var w=b,E=S(w,g);return E===void 0?b:E}else{if(ae(b))return fo(b,function(A){return S(A,g)});var E=S(b,g);if(E===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return b},h)}return p.getInitialState=d,p}function Uu(r,e){return r+"/"+e}function rc(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:Ra(r.initialState),n=r.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(p){var h=n[p],g=Uu(e,p),m,b;"reducer"in h?(m=h.reducer,b=h.prepare):m=h,i[p]=m,s[g]=m,l[p]=b?Be(g,b):Be(g)});function d(){var p=typeof r.extraReducers=="function"?tc(r.extraReducers):[r.extraReducers],h=p[0],g=h===void 0?{}:h,m=p[1],b=m===void 0?[]:m,S=p[2],w=S===void 0?void 0:S,E=$e($e({},g),s);return ku(o,function(A){for(var O in E)A.addCase(O,E[O]);for(var v=0,C=b;v<C.length;v++){var R=C[v];A.addMatcher(R.matcher,R.reducer)}w&&A.addDefaultCase(w)})}var u;return{name:e,reducer:function(p,h){return u||(u=d()),u(p,h)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Mu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Du=function(r){r===void 0&&(r=21);for(var e="",o=r;o--;)e+=Mu[Math.random()*64|0];return e},$u=["name","message","stack","code"],Aa=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),Js=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),Bu=function(r){if(typeof r=="object"&&r!==null){for(var e={},o=0,n=$u;o<n.length;o++){var a=n[o];typeof r[a]=="string"&&(e[a]=r[a])}return e}return{message:String(r)}},ab=function(){function r(e,o,n){var a=Be(e+"/fulfilled",function(p,h,g,m){return{payload:p,meta:wa($e({},m||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=Be(e+"/pending",function(p,h,g){return{payload:void 0,meta:wa($e({},g||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=Be(e+"/rejected",function(p,h,g,m,b){return{payload:m,error:(n&&n.serializeError||Bu)(p||"Rejected"),meta:wa($e({},b||{}),{arg:g,requestId:h,rejectedWithValue:!!m,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p}();function u(p){return function(h,g,m){var b=n?.idGenerator?n.idGenerator(p):Du(),S=new d,w,E=!1;function A(v){w=v,S.abort()}var O=function(){return Au(this,null,function(){var v,C,R,P,D,M,I;return vu(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),P=(v=n?.condition)==null?void 0:v.call(n,p,{getState:g,extra:m}),Hu(P)?[4,P]:[3,2];case 1:P=y.sent(),y.label=2;case 2:if(P===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,D=new Promise(function(x,N){return S.signal.addEventListener("abort",function(){return N({name:"AbortError",message:w||"Aborted"})})}),h(i(b,p,(C=n?.getPendingMeta)==null?void 0:C.call(n,{requestId:b,arg:p},{getState:g,extra:m}))),[4,Promise.race([D,Promise.resolve(o(p,{dispatch:h,getState:g,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(x,N){return new Aa(x,N)},fulfillWithValue:function(x,N){return new Js(x,N)}})).then(function(x){if(x instanceof Aa)throw x;return x instanceof Js?a(x.payload,b,p,x.meta):a(x,b,p)})])];case 3:return R=y.sent(),[3,5];case 4:return M=y.sent(),R=M instanceof Aa?s(null,b,p,M.payload,M.meta):s(M,b,p),[3,5];case 5:return I=n&&!n.dispatchConditionRejection&&s.match(R)&&R.meta.condition,I||h(R),[2,R]}})})}();return Object.assign(O,{abort:A,requestId:b,arg:p,unwrap:function(){return O.then(Wu)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return r.withTypes=function(){return r},r}();function Wu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Hu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var oc="listener",nc="completed",ac="cancelled",ib="task-"+ac,sb="task-"+nc,cb=oc+"-"+ac,lb=oc+"-"+nc;var Na="listenerMiddleware";var db=Be(Na+"/add"),ub=Be(Na+"/removeAll"),fb=Be(Na+"/remove");var Xs,pb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Xs||(Xs=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},zu=function(r){return function(e){setTimeout(e,r)}},hb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zu(10);Bs();window.ftReduxStores||(window.ftReduxStores={});var We=class r extends nt{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(ct(i))return i;if(a==null)return;let s=rc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=ec({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 r(s,l)}constructor(e,o){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new xr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[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 ju(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))ct(e)&&e.clear()}var Ta={};B(Ta,{scrollHelper:()=>Vu});var _a,yo=new Map,Pa=class{lock(e,o){if(o){let n=yo.get(o);if(n==null||n===e)return yo.set(o,e),o}}release(e,o){o&&yo.get(o)===e&&yo.delete(o)}findFirstScrollableParent(e){let o,n=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let u=d,p=this.elementCanScroll(u);if(p&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else p&&l==null&&(l=u)}o=(i=s??l)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){let n=0;for(;o&&o.offsetParent!==e.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=vt(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(_a=window.FluidTopicsScrollHelper)!==null&&_a!==void 0?_a:new Pa;var Vu=window.FluidTopicsScrollHelper;var La={};B(La,{shadowQuerySelector:()=>Gu,shadowQuerySelectorAll:()=>Ku});function Gu(r,e,...o){var n;let a=r.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Ku(r,e,...o){let n=[...r.querySelectorAll(e)];for(let a of o)n=n.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 n}var Ua={};B(Ua,{SearchPlaceConverter:()=>wr,SearchPlaceQueryParams:()=>W,isSearchPlaceQueryParams:()=>Nc,serializeRequest:()=>Yu});var Zu=sl(sc(),1);var cc;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(cc||(cc={}));var lc;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(lc||(lc={}));var dc;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(dc||(dc={}));var uc;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(uc||(uc={}));var fc;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(fc||(fc={}));var pc;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(pc||(pc={}));var hc;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(hc||(hc={}));var yc;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(yc||(yc={}));var gc;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(gc||(gc={}));var mc;(function(r){r.ASC="ASC",r.DESC="DESC"})(mc||(mc={}));var bc;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(bc||(bc={}));var Fa;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Fa||(Fa={}));var Cc=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var xc;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(xc||(xc={}));var vc;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(vc||(vc={}));var Sc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Sc||(Sc={}));var Cr;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Cr||(Cr={}));var wc=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Oc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Oc||(Oc={}));var ka;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ka||(ka={}));var G;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(G||(G={}));var Ec;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Ec||(Ec={}));var Ac;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(Ac||(Ac={}));var Tb={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN],[G.DEVELOPER]:[G.BETA_USER,G.DEBUG_USER]};function qu(r){return`"${r}"`}function Rc(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Yu(r,e){return new wr(r).serialize(e)}var W;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(W||(W={}));var Ju=new Set(Object.values(W));function Nc(r){return Ju.has(r)}var wr=class{constructor(e,o={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=o,this.defaultPerPage=n,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,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=this.toURLSearchParams(e).toString(),a=o==null||o.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=n,i.toString()}toURLSearchParams(e,o=!1){var n,a,i,s,l,d,u,p,h,g,m,b;let S=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&S.append(W.LOCALE,e.contentLocale):S.append(W.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&S.append(W.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&S.append(W.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(W.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(W.SORT,"last_update");let w=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(w.length>0){let v=w.map(C=>{var R,P;let D=((P=(R=C.valueFilter)===null||R===void 0?void 0:R.values)!==null&&P!==void 0?P:[]).map(M=>this.escapeFilters(M)).map(M=>encodeURIComponent(qu(Rc(M)))).join("_");return`${C.key}~${D}`}).join("*");S.append(W.VALUE_FILTERS,v)}let E=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(E.length>0){let v=E.map(C=>{var R;return`${C.key}~${(R=C.dateFilter)===null||R===void 0?void 0:R.type.toLowerCase()}`}).join("*");S.append(W.DATE_FILTERS,v)}let A=(p=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(v=>v.rangeFilter))!==null&&p!==void 0?p:[];if(A.length>0){let v=A.map(C=>{var R,P;return`${C.key}~${(R=C.rangeFilter)===null||R===void 0?void 0:R.from}_${(P=C.rangeFilter)===null||P===void 0?void 0:P.to}`}).join("*");S.append(W.RANGE_FILTERS,v)}let O=(h=e.otherQueryParams)!==null&&h!==void 0?h:{};for(let v in O)S.append(v,O[v]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((b=(m=e.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&S.append(W.PER_PAGE,String(e.paging.perPage)),S}parse(e){var o;let n=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(e){var o,n,a,i,s,l,d,u;let p=e.get(W.LOCALE)==="all"?void 0:e.get(W.LOCALE),h=((o=e.get(W.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),g=((n=e.get(W.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),m=(a=e.get(W.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=e.get(W.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S={};for(let w of e.keys())Nc(w)||(S[w]=e.get(w));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(W.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Cc(h)?h:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:vt(1,isNaN(b)?this.defaultPerPage:b,1e3)},otherQueryParams:S}}parseCompatFilters(e){var o,n,a,i,s,l;let d=[];return e.has(W.FILTERS)&&(d=this.parseValueFilters((o=e.get(W.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(W.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(W.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(W.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(W.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(W.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Rc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Cr[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(wc(e))return[{key:"ft:lastEdition",dateFilter:{type:Cr[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Ma={};B(Ma,{toFtFormComponent:()=>Xu});var bo=Symbol("elementInternals");function Xu(r,e){class o extends r{static get formAssociated(){return!0}get form(){return this[bo].form}constructor(...a){super(a),this[bo]=this.attachInternals(),this[bo].role=e}setFormValue(a){this[bo].setFormValue(a)}}return o}var Da={};B(Da,{DateFormatter:()=>Tt});var Tt=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var $a,Ba,Wa,Ha,Qu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Wa=(Ba=($a=window.safari)===null||$a===void 0?void 0:$a.pushNotification)===null||Ba===void 0?void 0:Ba.toString())!==null&&Wa!==void 0?Wa:"")==="[object SafariRemoteNotification]",ef="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ha=window.ftGlobals)!==null&&Ha!==void 0?Ha:{lit:Ho,litDecorators:zo,litRepeat:jo,litClassMap:Vo,litStyleMap:Go,litUnsafeHTML:Ko,wcUtils:{...Qo,...Zo,...tn,...Da,...rn,...nn,...Fn,...Xo,...Zn,...Ln,...Xn,...Yn,...Es,...on,...ta,...ra,...Rs,...oa,...Ia,...qn,...Ta,...La,...Ua,...Ma,isSafari:Qu,isTouchScreen:ef,setVariable:Qr}};var xx={},Ic=k`
|
|
50
|
+
`;var Rs={};var oa={};B(oa,{ParametrizedLabelResolver:()=>br});var br=class r{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return r.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>r.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?r.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var Ia={};B(Ia,{FtCommandQueue:()=>xr,FtLitElementRedux:()=>ye,FtReduxStore:()=>We,clearAllStores:()=>ju,isFtReduxStore:()=>ct,redux:()=>Et,reduxEventListener:()=>su,reduxReactive:()=>iu});var iu=()=>(r,e)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Et=r=>{let e=r??{};return(o,n)=>{var a;let i={hasChanged:nr,attribute:!1,...e};U(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},su=r=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var xr=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function ct(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ns,Is,_s,so=Symbol("internalReduxEventsUnsubscribers"),ke=Symbol("internalStoresUnsubscribers"),lt=Symbol("internalStores"),ye=class extends Z{constructor(){super(...arguments),this[Ns]=new Map,this[Is]=new Map,this[_s]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[lt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[lt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[lt].get(e)}addStore(e,o){var n;o=(n=o??(ct(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[lt].delete(o)}setupStore(e,o){this[lt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[lt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[ke].has(e.store):this[ke].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[ke].set(e,o.subscribe(()=>this.updateFromStores())),ct(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.addEventListener(a.eventName,s),this[so].push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ke].forEach((e,o)=>this.unsubscribeFromStore(o)),this[so].forEach(e=>e()),this[so]=[]}unsubscribeFromStore(e){this[ke].has(e)&&this[ke].get(e)(),this[ke].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ns=ke,Is=lt,_s=so;ye.reduxProperties=new Map;ye.reduxReactiveProperties=new Set;ye.reduxEventListeners=new Map;function te(r){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ee(r){return!!r&&!!r[H]}function ae(r){var e;return!!r&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===yu}(r)||Array.isArray(r)||!!r[Ms]||!!(!((e=r.constructor)===null||e===void 0)&&e[Ms])||fa(r)||pa(r))}function dt(r,e,o){o===void 0&&(o=!1),Nt(r)===0?(o?Object.keys:Rt)(r).forEach(function(n){o&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,a){return e(a,n,r)})}function Nt(r){var e=r[H];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:fa(r)?2:pa(r)?3:0}function At(r,e){return Nt(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function cu(r,e){return Nt(r)===2?r.get(e):r[e]}function Ds(r,e,o){var n=Nt(r);n===2?r.set(e,o):n===3?r.add(o):r[e]=o}function $s(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function fa(r){return pu&&r instanceof Map}function pa(r){return hu&&r instanceof Set}function Ue(r){return r.o||r.t}function ha(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=Hs(r);delete e[H];for(var o=Rt(e),n=0;n<o.length;n++){var a=o[n],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:r[a]})}return Object.create(Object.getPrototypeOf(r),e)}function ya(r,e){return e===void 0&&(e=!1),ga(r)||Ee(r)||!ae(r)||(Nt(r)>1&&(r.set=r.add=r.clear=r.delete=lu),Object.freeze(r),e&&dt(r,function(o,n){return ya(n,!0)},!0)),r}function lu(){te(2)}function ga(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function ge(r){var e=ua[r];return e||te(18,r),e}function du(r,e){ua[r]||(ua[r]=e)}function ca(){return Sr}function na(r,e){e&&(ge("Patches"),r.u=[],r.s=[],r.v=e)}function co(r){la(r),r.p.forEach(uu),r.p=null}function la(r){r===Sr&&(Sr=r.l)}function Ps(r){return Sr={p:[],l:Sr,h:r,m:!0,_:0}}function uu(r){var e=r[H];e.i===0||e.i===1?e.j():e.g=!0}function aa(r,e){e._=e.p.length;var o=e.p[0],n=r!==void 0&&r!==o;return e.h.O||ge("ES5").S(e,r,n),n?(o[H].P&&(co(e),te(4)),ae(r)&&(r=lo(e,r),e.l||uo(e,r)),e.u&&ge("Patches").M(o[H].t,r,e.u,e.s)):r=lo(e,o,[]),co(e),e.u&&e.v(e.u,e.s),r!==Ws?r:void 0}function lo(r,e,o){if(ga(e))return e;var n=e[H];if(!n)return dt(e,function(l,d){return Ts(r,n,e,l,d,o)},!0),e;if(n.A!==r)return e;if(!n.P)return uo(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ha(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),dt(i,function(l,d){return Ts(r,n,a,l,d,o,s)}),uo(r,a,!1),o&&r.u&&ge("Patches").N(n,o,r.u,r.s)}return n.o}function Ts(r,e,o,n,a,i,s){if(Ee(a)){var l=lo(r,a,i&&e&&e.i!==3&&!At(e.R,n)?i.concat(n):void 0);if(Ds(o,n,l),!Ee(l))return;r.m=!1}else s&&o.add(a);if(ae(a)&&!ga(a)){if(!r.h.D&&r._<1)return;lo(r,a),e&&e.A.l||uo(r,a)}}function uo(r,e,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&ya(e,o)}function ia(r,e){var o=r[H];return(o?Ue(o):r)[e]}function Ls(r,e){if(e in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Me(r){r.P||(r.P=!0,r.l&&Me(r.l))}function sa(r){r.o||(r.o=ha(r.t))}function da(r,e,o){var n=fa(e)?ge("MapSet").F(e,o):pa(e)?ge("MapSet").T(e,o):r.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:ca(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=Or;s&&(d=[l],u=vr);var p=Proxy.revocable(d,u),h=p.revoke,g=p.proxy;return l.k=g,l.j=h,g}(e,o):ge("ES5").J(e,o);return(o?o.A:ca()).p.push(n),n}function fu(r){return Ee(r)||te(22,r),function e(o){if(!ae(o))return o;var n,a=o[H],i=Nt(o);if(a){if(!a.P&&(a.i<4||!ge("ES5").K(a)))return a.t;a.I=!0,n=Fs(o,i),a.I=!1}else n=Fs(o,i);return dt(n,function(s,l){a&&cu(a.t,s)===l||Ds(n,s,e(l))}),i===3?new Set(n):n}(r)}function Fs(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return ha(r)}function Bs(){function r(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[H];return Or.get(u,s)},set:function(u){var p=this[H];Or.set(p,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][H];if(!d.P)switch(d.i){case 5:n(d)&&Me(d);break;case 4:o(d)&&Me(d)}}}function o(s){for(var l=s.t,d=s.k,u=Rt(d),p=u.length-1;p>=0;p--){var h=u[p];if(h!==H){var g=l[h];if(g===void 0&&!At(l,h))return!0;var m=d[h],b=m&&m[H];if(b?b.t!==g:!$s(m,g))return!0}}var S=!!l[H];return u.length!==Rt(l).length+(S?0:1)}function n(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&&te(3,JSON.stringify(Ue(s)))}var i={};du("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(h,g){if(h){for(var m=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(m,""+b,r(b,!0));return m}var S=Hs(g);delete S[H];for(var w=Rt(S),E=0;E<w.length;E++){var A=w[E];S[A]=r(A,h||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(d,s),p={i:d?5:4,A:l?l.A:ca(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,H,{value:p,writable:!0}),u},S:function(s,l,d){d?Ee(l)&&l[H].A===s&&e(s.p):(s.u&&function u(p){if(p&&typeof p=="object"){var h=p[H];if(h){var g=h.t,m=h.k,b=h.R,S=h.i;if(S===4)dt(m,function(v){v!==H&&(g[v]!==void 0||At(g,v)?b[v]||u(m[v]):(b[v]=!0,Me(h)))}),dt(g,function(v){m[v]!==void 0||At(m,v)||(b[v]=!1,Me(h))});else if(S===5){if(n(h)&&(Me(h),b.length=!0),m.length<g.length)for(var w=m.length;w<g.length;w++)b[w]=!1;else for(var E=g.length;E<m.length;E++)b[E]=!0;for(var A=Math.min(m.length,g.length),O=0;O<A;O++)m.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&u(m[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ks,Sr,ma=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pu=typeof Map<"u",hu=typeof Set<"u",Us=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ws=ma?Symbol.for("immer-nothing"):((ks={})["immer-nothing"]=!0,ks),Ms=ma?Symbol.for("immer-draftable"):"__$immer_draftable",H=ma?Symbol.for("immer-state"):"__$immer_state";var yu=""+Object.prototype.constructor,Rt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Hs=Object.getOwnPropertyDescriptors||function(r){var e={};return Rt(r).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(r,o)}),e},ua={},Or={get:function(r,e){if(e===H)return r;var o=Ue(r);if(!At(o,e))return function(a,i,s){var l,d=Ls(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(r,o,e);var n=o[e];return r.I||!ae(n)?n:n===ia(r.t,e)?(sa(r),r.o[e]=da(r.A.h,n,r)):n},has:function(r,e){return e in Ue(r)},ownKeys:function(r){return Reflect.ownKeys(Ue(r))},set:function(r,e,o){var n=Ls(Ue(r),e);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var a=ia(Ue(r),e),i=a?.[H];if(i&&i.t===o)return r.o[e]=o,r.R[e]=!1,!0;if($s(o,a)&&(o!==void 0||At(r.t,e)))return!0;sa(r),Me(r)}return r.o[e]===o&&(o!==void 0||e in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[e])||(r.o[e]=o,r.R[e]=!0),!0},deleteProperty:function(r,e){return ia(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,sa(r),Me(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var o=Ue(r),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){te(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){te(12)}},vr={};dt(Or,function(r,e){vr[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),vr.deleteProperty=function(r,e){return vr.set.call(this,r,e,void 0)},vr.set=function(r,e,o){return Or.set.call(this,r[0],e,o,r[0])};var gu=function(){function r(o){var n=this;this.O=Us,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(S){var w=this;S===void 0&&(S=l);for(var E=arguments.length,A=Array(E>1?E-1:0),O=1;O<E;O++)A[O-1]=arguments[O];return d.produce(S,function(v){var C;return(C=i).call.apply(C,[w,v].concat(A))})}}var u;if(typeof i!="function"&&te(6),s!==void 0&&typeof s!="function"&&te(7),ae(a)){var p=Ps(n),h=da(n,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?co(p):la(p)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return na(p,s),aa(S,p)},function(S){throw co(p),S}):(na(p,s),aa(u,p))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===Ws&&(u=void 0),n.D&&ya(u,!0),s){var m=[],b=[];ge("Patches").M(a,u,m,b),s(m,b)}return u}te(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var p=arguments.length,h=Array(p>1?p-1:0),g=1;g<p;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(m){return a.apply(void 0,[m].concat(h))})};var s,l,d=n.produce(a,i,function(u,p){s=u,l=p});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=r.prototype;return e.createDraft=function(o){ae(o)||te(8),Ee(o)&&(o=fu(o));var n=Ps(this),a=da(this,o,void 0);return a[H].C=!0,la(n),a},e.finishDraft=function(o,n){var a=o&&o[H],i=a.A;return na(i,n),aa(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Us&&te(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=ge("Patches").$;return Ee(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},r}(),ee=new gu,mu=ee.produce,Tm=ee.produceWithPatches.bind(ee),Lm=ee.setAutoFreeze.bind(ee),Fm=ee.setUseProxies.bind(ee),km=ee.applyPatches.bind(ee),Um=ee.createDraft.bind(ee),Mm=ee.finishDraft.bind(ee),fo=mu;function De(r){"@babel/helpers - typeof";return De=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},De(r)}function ba(r,e){if(De(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,e||"default");if(De(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function xa(r){var e=ba(r,"string");return De(e)==="symbol"?e:String(e)}function va(r,e,o){return e=xa(e),e in r?Object.defineProperty(r,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[e]=o,r}function zs(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),o.push.apply(o,n)}return o}function po(r){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?zs(Object(o),!0).forEach(function(n){va(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):zs(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function q(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var js=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Sa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ho={INIT:"@@redux/INIT"+Sa(),REPLACE:"@@redux/REPLACE"+Sa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Sa()}};function bu(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function Oa(r,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(q(1));return o(Oa)(r,e)}if(typeof r!="function")throw new Error(q(2));var a=r,i=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function p(){if(d)throw new Error(q(3));return i}function h(S){if(typeof S!="function")throw new Error(q(4));if(d)throw new Error(q(5));var w=!0;return u(),l.push(S),function(){if(w){if(d)throw new Error(q(6));w=!1,u();var A=l.indexOf(S);l.splice(A,1),s=null}}}function g(S){if(!bu(S))throw new Error(q(7));if(typeof S.type>"u")throw new Error(q(8));if(d)throw new Error(q(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var w=s=l,E=0;E<w.length;E++){var A=w[E];A()}return S}function m(S){if(typeof S!="function")throw new Error(q(10));a=S,g({type:ho.REPLACE})}function b(){var S,w=h;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(q(11));function O(){A.next&&A.next(p())}O();var v=w(O);return{unsubscribe:v}}},S[js]=function(){return this},S}return g({type:ho.INIT}),n={dispatch:g,subscribe:h,getState:p,replaceReducer:m},n[js]=b,n}function xu(r){Object.keys(r).forEach(function(e){var o=r[e],n=o(void 0,{type:ho.INIT});if(typeof n>"u")throw new Error(q(12));if(typeof o(void 0,{type:ho.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(q(13))})}function Vs(r){for(var e=Object.keys(r),o={},n=0;n<e.length;n++){var a=e[n];typeof r[a]=="function"&&(o[a]=r[a])}var i=Object.keys(o),s,l;try{xu(o)}catch(d){l=d}return function(u,p){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var g=!1,m={},b=0;b<i.length;b++){var S=i[b],w=o[S],E=u[S],A=w(E,p);if(typeof A>"u"){var O=p&&p.type;throw new Error(q(14))}m[S]=A,g=g||A!==E}return g=g||i.length!==Object.keys(u).length,g?m:u}}function It(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Gs(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(q(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=It.apply(void 0,l)(a.dispatch),po(po({},a),{},{dispatch:i})}}}function Ks(r){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,r):s(l)}}};return e}var Zs=Ks();Zs.withExtraArgument=Ks;var Ca=Zs;var Qs=function(){var r=function(e,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},r(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),vu=function(r,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,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(p){return d([u,p])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=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 o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(r,o)}catch(p){u=[6,p],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},_t=function(r,e){for(var o=0,n=e.length,a=r.length;o<n;o++,a++)r[a]=e[o];return r},Su=Object.defineProperty,Ou=Object.defineProperties,Cu=Object.getOwnPropertyDescriptors,qs=Object.getOwnPropertySymbols,wu=Object.prototype.hasOwnProperty,Eu=Object.prototype.propertyIsEnumerable,Ys=function(r,e,o){return e in r?Su(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o},$e=function(r,e){for(var o in e||(e={}))wu.call(e,o)&&Ys(r,o,e[o]);if(qs)for(var n=0,a=qs(e);n<a.length;n++){var o=a[n];Eu.call(e,o)&&Ys(r,o,e[o])}return r},wa=function(r,e){return Ou(r,Cu(e))},Au=function(r,e,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(u){a(u)}},s=function(d){try{l(o.throw(d))}catch(u){a(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(r,e)).next())})};var Ru=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?It:It.apply(null,arguments)},tb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Nu(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Iu=function(r){Qs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,_t([void 0],o[0].concat(this)))):new(e.bind.apply(e,_t([void 0],o.concat(this))))},e}(Array),_u=function(r){Qs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,_t([void 0],o[0].concat(this)))):new(e.bind.apply(e,_t([void 0],o.concat(this))))},e}(Array);function Ra(r){return ae(r)?fo(r,function(){}):r}function Pu(r){return typeof r=="boolean"}function Tu(){return function(e){return Lu(e)}}function Lu(r){r===void 0&&(r={});var e=r.thunk,o=e===void 0?!0:e,n=r.immutableCheck,a=n===void 0?!0:n,i=r.serializableCheck,s=i===void 0?!0:i,l=new Iu;if(o&&(Pu(o)?l.push(Ca):l.push(Ca.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var u}return l}var Ea=!0;function ec(r){var e=Tu(),o=r||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,d=l===void 0?!0:l,u=o.preloadedState,p=u===void 0?void 0:u,h=o.enhancers,g=h===void 0?void 0:h,m;if(typeof a=="function")m=a;else if(Nu(a))m=Vs(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),!Ea&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ea&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Gs.apply(void 0,b),w=It;d&&(w=Ru($e({trace:!Ea},typeof d=="object"&&d)));var E=new _u(S),A=E;Array.isArray(g)?A=_t([S],g):typeof g=="function"&&(A=g(E));var O=w.apply(void 0,A);return Oa(m,p,O)}function Be(r,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return $e($e({type:r,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}function tc(r){var e={},o=[],n,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 o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return r(a),[e,o,n]}function Fu(r){return typeof r=="function"}function ku(r,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?tc(e):[e,o,n],i=a[0],s=a[1],l=a[2],d;if(Fu(r))d=function(){return Ra(r())};else{var u=Ra(r);d=function(){return u}}function p(h,g){h===void 0&&(h=d());var m=_t([i[g.type]],s.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return m.filter(function(b){return!!b}).length===0&&(m=[l]),m.reduce(function(b,S){if(S)if(Ee(b)){var w=b,E=S(w,g);return E===void 0?b:E}else{if(ae(b))return fo(b,function(A){return S(A,g)});var E=S(b,g);if(E===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return b},h)}return p.getInitialState=d,p}function Uu(r,e){return r+"/"+e}function rc(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:Ra(r.initialState),n=r.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(p){var h=n[p],g=Uu(e,p),m,b;"reducer"in h?(m=h.reducer,b=h.prepare):m=h,i[p]=m,s[g]=m,l[p]=b?Be(g,b):Be(g)});function d(){var p=typeof r.extraReducers=="function"?tc(r.extraReducers):[r.extraReducers],h=p[0],g=h===void 0?{}:h,m=p[1],b=m===void 0?[]:m,S=p[2],w=S===void 0?void 0:S,E=$e($e({},g),s);return ku(o,function(A){for(var O in E)A.addCase(O,E[O]);for(var v=0,C=b;v<C.length;v++){var R=C[v];A.addMatcher(R.matcher,R.reducer)}w&&A.addDefaultCase(w)})}var u;return{name:e,reducer:function(p,h){return u||(u=d()),u(p,h)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Mu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Du=function(r){r===void 0&&(r=21);for(var e="",o=r;o--;)e+=Mu[Math.random()*64|0];return e},$u=["name","message","stack","code"],Aa=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),Js=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),Bu=function(r){if(typeof r=="object"&&r!==null){for(var e={},o=0,n=$u;o<n.length;o++){var a=n[o];typeof r[a]=="string"&&(e[a]=r[a])}return e}return{message:String(r)}},ab=function(){function r(e,o,n){var a=Be(e+"/fulfilled",function(p,h,g,m){return{payload:p,meta:wa($e({},m||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=Be(e+"/pending",function(p,h,g){return{payload:void 0,meta:wa($e({},g||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=Be(e+"/rejected",function(p,h,g,m,b){return{payload:m,error:(n&&n.serializeError||Bu)(p||"Rejected"),meta:wa($e({},b||{}),{arg:g,requestId:h,rejectedWithValue:!!m,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p}();function u(p){return function(h,g,m){var b=n?.idGenerator?n.idGenerator(p):Du(),S=new d,w,E=!1;function A(v){w=v,S.abort()}var O=function(){return Au(this,null,function(){var v,C,R,P,D,M,I;return vu(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),P=(v=n?.condition)==null?void 0:v.call(n,p,{getState:g,extra:m}),Hu(P)?[4,P]:[3,2];case 1:P=y.sent(),y.label=2;case 2:if(P===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,D=new Promise(function(x,N){return S.signal.addEventListener("abort",function(){return N({name:"AbortError",message:w||"Aborted"})})}),h(i(b,p,(C=n?.getPendingMeta)==null?void 0:C.call(n,{requestId:b,arg:p},{getState:g,extra:m}))),[4,Promise.race([D,Promise.resolve(o(p,{dispatch:h,getState:g,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(x,N){return new Aa(x,N)},fulfillWithValue:function(x,N){return new Js(x,N)}})).then(function(x){if(x instanceof Aa)throw x;return x instanceof Js?a(x.payload,b,p,x.meta):a(x,b,p)})])];case 3:return R=y.sent(),[3,5];case 4:return M=y.sent(),R=M instanceof Aa?s(null,b,p,M.payload,M.meta):s(M,b,p),[3,5];case 5:return I=n&&!n.dispatchConditionRejection&&s.match(R)&&R.meta.condition,I||h(R),[2,R]}})})}();return Object.assign(O,{abort:A,requestId:b,arg:p,unwrap:function(){return O.then(Wu)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return r.withTypes=function(){return r},r}();function Wu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Hu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var oc="listener",nc="completed",ac="cancelled",ib="task-"+ac,sb="task-"+nc,cb=oc+"-"+ac,lb=oc+"-"+nc;var Na="listenerMiddleware";var db=Be(Na+"/add"),ub=Be(Na+"/removeAll"),fb=Be(Na+"/remove");var Xs,pb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Xs||(Xs=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},zu=function(r){return function(e){setTimeout(e,r)}},hb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zu(10);Bs();window.ftReduxStores||(window.ftReduxStores={});var We=class r extends nt{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(ct(i))return i;if(a==null)return;let s=rc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=ec({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 r(s,l)}constructor(e,o){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new xr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[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 ju(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))ct(e)&&e.clear()}var Ta={};B(Ta,{scrollHelper:()=>Vu});var _a,yo=new Map,Pa=class{lock(e,o){if(o){let n=yo.get(o);if(n==null||n===e)return yo.set(o,e),o}}release(e,o){o&&yo.get(o)===e&&yo.delete(o)}findFirstScrollableParent(e){let o,n=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let u=d,p=this.elementCanScroll(u);if(p&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else p&&l==null&&(l=u)}o=(i=s??l)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,a;let i=0;for(;o&&o.offsetParent!==e.offsetParent;)i+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return i+((a=o?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=vt(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(_a=window.FluidTopicsScrollHelper)!==null&&_a!==void 0?_a:new Pa;var Vu=window.FluidTopicsScrollHelper;var La={};B(La,{shadowQuerySelector:()=>Gu,shadowQuerySelectorAll:()=>Ku});function Gu(r,e,...o){var n;let a=r.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Ku(r,e,...o){let n=[...r.querySelectorAll(e)];for(let a of o)n=n.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 n}var Ua={};B(Ua,{SearchPlaceConverter:()=>wr,SearchPlaceQueryParams:()=>W,isSearchPlaceQueryParams:()=>Nc,serializeRequest:()=>Yu});var Zu=sl(sc(),1);var cc;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(cc||(cc={}));var lc;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(lc||(lc={}));var dc;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(dc||(dc={}));var uc;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(uc||(uc={}));var fc;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(fc||(fc={}));var pc;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(pc||(pc={}));var hc;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(hc||(hc={}));var yc;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(yc||(yc={}));var gc;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(gc||(gc={}));var mc;(function(r){r.ASC="ASC",r.DESC="DESC"})(mc||(mc={}));var bc;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(bc||(bc={}));var Fa;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Fa||(Fa={}));var Cc=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var xc;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(xc||(xc={}));var vc;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(vc||(vc={}));var Sc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Sc||(Sc={}));var Cr;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Cr||(Cr={}));var wc=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Oc;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Oc||(Oc={}));var ka;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ka||(ka={}));var G;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(G||(G={}));var Ec;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Ec||(Ec={}));var Ac;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(Ac||(Ac={}));var Tb={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN],[G.DEVELOPER]:[G.BETA_USER,G.DEBUG_USER]};function qu(r){return`"${r}"`}function Rc(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Yu(r,e){return new wr(r).serialize(e)}var W;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort",r.PER_PAGE="per-page"})(W||(W={}));var Ju=new Set(Object.values(W));function Nc(r){return Ju.has(r)}var wr=class{constructor(e,o={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=o,this.defaultPerPage=n,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,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=this.toURLSearchParams(e).toString(),a=o==null||o.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=n,i.toString()}toURLSearchParams(e,o=!1){var n,a,i,s,l,d,u,p,h,g,m,b;let S=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&S.append(W.LOCALE,e.contentLocale):S.append(W.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&S.append(W.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&S.append(W.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(W.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(W.SORT,"last_update");let w=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(w.length>0){let v=w.map(C=>{var R,P;let D=((P=(R=C.valueFilter)===null||R===void 0?void 0:R.values)!==null&&P!==void 0?P:[]).map(M=>this.escapeFilters(M)).map(M=>encodeURIComponent(qu(Rc(M)))).join("_");return`${C.key}~${D}`}).join("*");S.append(W.VALUE_FILTERS,v)}let E=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(E.length>0){let v=E.map(C=>{var R;return`${C.key}~${(R=C.dateFilter)===null||R===void 0?void 0:R.type.toLowerCase()}`}).join("*");S.append(W.DATE_FILTERS,v)}let A=(p=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(v=>v.rangeFilter))!==null&&p!==void 0?p:[];if(A.length>0){let v=A.map(C=>{var R,P;return`${C.key}~${(R=C.rangeFilter)===null||R===void 0?void 0:R.from}_${(P=C.rangeFilter)===null||P===void 0?void 0:P.to}`}).join("*");S.append(W.RANGE_FILTERS,v)}let O=(h=e.otherQueryParams)!==null&&h!==void 0?h:{};for(let v in O)S.append(v,O[v]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((b=(m=e.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&S.append(W.PER_PAGE,String(e.paging.perPage)),S}parse(e){var o;let n=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(e){var o,n,a,i,s,l,d,u;let p=e.get(W.LOCALE)==="all"?void 0:e.get(W.LOCALE),h=((o=e.get(W.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),g=((n=e.get(W.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),m=(a=e.get(W.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=e.get(W.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S={};for(let w of e.keys())Nc(w)||(S[w]=e.get(w));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(W.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Cc(h)?h:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:vt(1,isNaN(b)?this.defaultPerPage:b,1e3)},otherQueryParams:S}}parseCompatFilters(e){var o,n,a,i,s,l;let d=[];return e.has(W.FILTERS)&&(d=this.parseValueFilters((o=e.get(W.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(W.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(W.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(W.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(W.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(W.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Rc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Cr[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(wc(e))return[{key:"ft:lastEdition",dateFilter:{type:Cr[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Ma={};B(Ma,{toFtFormComponent:()=>Xu});var bo=Symbol("elementInternals");function Xu(r,e){class o extends r{static get formAssociated(){return!0}get form(){return this[bo].form}constructor(...a){super(a),this[bo]=this.attachInternals(),this[bo].role=e}setFormValue(a){this[bo].setFormValue(a)}}return o}var Da={};B(Da,{DateFormatter:()=>Tt});var Tt=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var $a,Ba,Wa,Ha,Qu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Wa=(Ba=($a=window.safari)===null||$a===void 0?void 0:$a.pushNotification)===null||Ba===void 0?void 0:Ba.toString())!==null&&Wa!==void 0?Wa:"")==="[object SafariRemoteNotification]",ef="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ha=window.ftGlobals)!==null&&Ha!==void 0?Ha:{lit:Ho,litDecorators:zo,litRepeat:jo,litClassMap:Vo,litStyleMap:Go,litUnsafeHTML:Ko,wcUtils:{...Qo,...Zo,...tn,...Da,...rn,...nn,...Fn,...Xo,...Zn,...Ln,...Xn,...Yn,...Es,...on,...ta,...ra,...Rs,...oa,...Ia,...qn,...Ta,...La,...Ua,...Ma,isSafari:Qu,isTouchScreen:ef,setVariable:Qr}};var x0={},Ic=k`
|
|
51
51
|
|
|
52
52
|
`;var _c=k`
|
|
53
53
|
`;var tf="ft-app-info",za=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},rf={session:(r,e)=>{oe(r.session,e.payload)||(r.session=e.payload,setTimeout(()=>L.dispatchEvent(new za(e.payload)),0))}},L=We.get({name:tf,reducers:rf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var ut=class r{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=L.getState(),a=e??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(e){return new Promise(o=>{let n=r.get(e);if(n)o(n);else{let a=L.subscribe(()=>{n=r.get(e),n&&(a(),o(n))})}})}};var Ae=class{constructor(e=!0,o){var n;this.overrideApi=o;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new de,this.cache=e?a.commonCache:new de}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ut.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ut.await()}clearCache(){this.cache.clearAll()}};var Pc,of=Symbol("clearAfterUnitTest"),xo=class extends Ae{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Pc]=()=>{this.defaultMessages={},this.cache=new de,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=L.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),Object.keys(o).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};oe(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new br((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(o){console.error(o)}}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>Xr(0).then(()=>o()).catch(()=>null)))}};Pc=of;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends xo{constructor(){super(async(r,e)=>(await this.awaitApi).getFluidTopicsMessageContext(r,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends xo{constructor(){super(async(r,e)=>(await this.awaitApi).getCustomMessageContext(r,e))}});var ft=window.FluidTopicsI18nService,Tc=window.FluidTopicsCustomI18nService;var Y=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},j=class extends Z{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>ut.get(),this.messageContexts=[],this.cache=new de,this.cleanSessionDebouncer=new Le}render(){return rt`
|
|
54
54
|
<slot></slot>
|
|
55
|
-
`}update(e){var o,n,a,i,s;super.update(e),e.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&L.actions.noCustom(this.noCustom),e.has("editorMode")&&L.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&L.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>ft.addContext(l)),e.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(L.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),L.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),L.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};j.elementDefinitions={};j.styles=_c;Y([U()],j.prototype,"baseUrl",void 0);Y([U()],j.prototype,"apiIntegrationIdentifier",void 0);Y([U()],j.prototype,"uiLocale",void 0);Y([ue(null)],j.prototype,"availableUiLocales",void 0);Y([ue(null)],j.prototype,"metadataConfiguration",void 0);Y([U({type:Boolean})],j.prototype,"editorMode",void 0);Y([U({type:Boolean})],j.prototype,"noCustom",void 0);Y([U({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);Y([U({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],j.prototype,"noCustomComponent",void 0);Y([U({type:Boolean})],j.prototype,"withManualResources",void 0);Y([U({type:Boolean})],j.prototype,"navigatorOnline",void 0);Y([U({type:Boolean})],j.prototype,"forcedOffline",void 0);Y([U({type:Object})],j.prototype,"apiProvider",void 0);Y([ue([])],j.prototype,"messageContexts",void 0);Y([ue(void 0)],j.prototype,"session",void 0);Y([ot()],j.prototype,"localesConfiguration",void 0);var vo=class extends Ae{async listMySearches(){let e=L.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var So=class extends Ae{async listMyBookmarks(){let e=L.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var nf="ft-user-assets",Oo=We.get({name:nf,initialState:{savedSearches:void 0,bookmarks:void 0}}),ja=class{constructor(){this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new So,this.savedSearchesService=new vo,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=L.getState();oe((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Oo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Oo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Oo.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Oo.actions.bookmarks(o)}}},
|
|
55
|
+
`}update(e){var o,n,a,i,s;super.update(e),e.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&L.actions.noCustom(this.noCustom),e.has("editorMode")&&L.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&L.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>ft.addContext(l)),e.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(L.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),L.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),L.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};j.elementDefinitions={};j.styles=_c;Y([U()],j.prototype,"baseUrl",void 0);Y([U()],j.prototype,"apiIntegrationIdentifier",void 0);Y([U()],j.prototype,"uiLocale",void 0);Y([ue(null)],j.prototype,"availableUiLocales",void 0);Y([ue(null)],j.prototype,"metadataConfiguration",void 0);Y([U({type:Boolean})],j.prototype,"editorMode",void 0);Y([U({type:Boolean})],j.prototype,"noCustom",void 0);Y([U({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);Y([U({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],j.prototype,"noCustomComponent",void 0);Y([U({type:Boolean})],j.prototype,"withManualResources",void 0);Y([U({type:Boolean})],j.prototype,"navigatorOnline",void 0);Y([U({type:Boolean})],j.prototype,"forcedOffline",void 0);Y([U({type:Object})],j.prototype,"apiProvider",void 0);Y([ue([])],j.prototype,"messageContexts",void 0);Y([ue(void 0)],j.prototype,"session",void 0);Y([ot()],j.prototype,"localesConfiguration",void 0);var vo=class extends Ae{async listMySearches(){let e=L.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var So=class extends Ae{async listMyBookmarks(){let e=L.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var nf="ft-user-assets",Oo=We.get({name:nf,initialState:{savedSearches:void 0,bookmarks:void 0}}),ja=class{constructor(){this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new So,this.savedSearchesService=new vo,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=L.getState();oe((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Oo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Oo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Oo.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Oo.actions.bookmarks(o)}}},sx=new ja;var Va=class{addCommand(e,o=!1){L.commands.add(e,o)}consumeCommand(e){return L.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Va;var Ga=class{highlightHtml(e,o,n){ea(e,o,n)}};window.FluidTopicsHighlightHtmlService=new Ga;var Ka=class{isDate(e){var o,n,a,i;return(i=(a=((n=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,o){var n,a,i;return Tt.format(e,(n=o?.locale)!==null&&n!==void 0?n:L.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Ka;ve("ft-app-context")(j);var Za=class r extends Event{constructor(){super(r.eventName)}};Za.eventName="search-context-clear-all-filters";var af=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ya=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},qa=Symbol("registerInterval");function sf(r){var e;class o extends r{constructor(){super(...arguments),this[e]=0}setSearchStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[qa]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[qa]):this.dispatchEvent(new Ya)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=qa,af([ot()],o.prototype,"stateManager",void 0),o}var Co=class extends sf(ye){};var Lc=k`
|
|
56
56
|
`;var cf=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ja=Symbol("i18nAttributes"),Xa=Symbol("i18nListAttributes"),wo=Symbol("i18nProperties"),Er=Symbol("i18nUnsubs");function Ao(r){var e;class o extends r{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Tc:ft}i18n(a,i,...s){var l;if(typeof a=="string")return this.i18nService.resolveMessage(a,i,...s);let d=(l=a.args)!==null&&l!==void 0?l:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...d)}onI18nUpdate(a){var i,s,l;(i=this[Ja])===null||i===void 0||i.forEach((d,u)=>{let p=this.getI18nAttributeValue(u);p&&(this[u]=this.getI18nAttributeMessage(p,d,a))}),(s=this[Xa])===null||s===void 0||s.forEach((d,u)=>{let p=this.getI18nListAttributeValues(u);this[u]=p?.map(h=>this.getI18nAttributeMessage(h,d,a))}),(l=this[wo])===null||l===void 0||l.forEach((d,u)=>{d.context.toLowerCase()===a.toLowerCase()&&(this[u]=this.i18n(d))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,i){return{...a,message:this.i18n({context:a.context,key:a.key,...i})}}getI18nAttributeMessage(a,i,s){var l;let d=!s||((l=a.context)===null||l===void 0?void 0:l.toLowerCase())===s.toLowerCase();return a.context&&a.key&&d?this.buildI18nAttributeMessage(a,i):a}update(a){var i,s,l;super.update(a),(i=this[Ja])===null||i===void 0||i.forEach((d,u)=>{let p=this.getI18nAttributeValue(u);p?.context&&p.key&&(a.has(u)||d.argsProvider!=null)&&(this.addI18nContextIfNeeded(p,a,u),this[u]=this.getI18nAttributeMessage(p,d))}),(s=this[Xa])===null||s===void 0||s.forEach((d,u)=>{let p=this.getI18nListAttributeValues(u);(a.has(u)||d.argsProvider!=null)&&(this[u]=p?.map(h=>(this.addI18nContextIfNeeded(h,a,u),this.getI18nAttributeMessage(h,d))))}),(l=this[wo])===null||l===void 0||l.forEach((d,u)=>{d.argsProvider!=null&&(this[u]=this.i18n(d))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,i,s){a.context&&a.key&&i.has(s)&&this.addI18nContext(a.context)}connectedCallback(){var a,i,s,l,d,u;super.connectedCallback(),new Set([...(i=(a=this[wo])===null||a===void 0?void 0:a.values())!==null&&i!==void 0?i:[],...[...(l=(s=this[Ja])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(p=>this.getI18nAttributeValue(p)),...[...(u=(d=this[Xa])===null||d===void 0?void 0:d.keys())!==null&&u!==void 0?u:[]].flatMap(p=>this.getI18nListAttributeValues(p))].map(p=>p?.context)).forEach(p=>p&&this.addI18nMessages(p))}addI18nMessages(a,i){a=a.toLowerCase(),this[Er].has(a)||this[Er].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,i??{}),this.onI18nUpdate(a)}addI18nContext(a,i){this.addI18nMessages(typeof a=="string"?a:a.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[Er].forEach(a=>a()),this[Er].clear()}}return e=Er,cf([U({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var Fc=class extends Ao(Z){},Eo=class extends Ao(ye){};var Ar=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ie=class extends Eo{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":z:rt`
|
|
57
57
|
<span class="ft-i18n">
|
|
58
58
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-results-number",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"description": "A component displaying the number of search results",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-i18n": "1.2.
|
|
23
|
-
"@fluid-topics/ft-search-context": "1.2.
|
|
24
|
-
"@fluid-topics/ft-search-result-context": "1.2.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.2.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.2.
|
|
22
|
+
"@fluid-topics/ft-i18n": "1.2.16",
|
|
23
|
+
"@fluid-topics/ft-search-context": "1.2.16",
|
|
24
|
+
"@fluid-topics/ft-search-result-context": "1.2.16",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.2.16",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.2.16",
|
|
27
27
|
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "ede6b43f06ac3cf4720eace3f556b8917e364248"
|
|
30
30
|
}
|