@fluid-topics/ft-reader-navigation-button 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,7 +47,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
47
47
  input::-webkit-search-results-decoration {
48
48
  display: none;
49
49
  }
50
- `;var Ds={};var ga={};z(ga,{ParametrizedLabelResolver:()=>ma});var ma=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,a;t=this.resolvePluralKey(t,o);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...o)}static replaceParameters(t,...o){return o.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=a=>o?.includes("date")?t.toLocaleDateString(a):o?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var ja={};z(ja,{FtCommandQueue:()=>Ur,FtLitElementRedux:()=>ee,FtReduxStore:()=>Ga,clearAllStores:()=>ru,isFtReduxStore:()=>Re,redux:()=>ba,reduxEventListener:()=>xp,reduxReactive:()=>bp});var bp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},ba=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:Or,attribute:!1,...t};_(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}},xp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var Ur=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function Re(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Us,Bs,Ms,So=Symbol("internalReduxEventsUnsubscribers"),te=Symbol("internalStoresUnsubscribers"),Ne=Symbol("internalStores"),ee=class extends Y{constructor(){super(...arguments),this[Us]=new Map,this[Bs]=new Map,this[Ms]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Ne].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ne].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Ne].get(t)}addStore(t,o){var n;o=(n=o??(Re(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Ne].delete(o)}setupStore(t,o){this[Ne].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ne].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[te].has(t.store):this[te].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[te].set(t,o.subscribe(()=>this.updateFromStores())),Re(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(t)}unsubscribeFromStores(){this[te].forEach((t,o)=>this.unsubscribeFromStore(o)),this[So].forEach(t=>t()),this[So]=[]}unsubscribeFromStore(t){this[te].has(t)&&this[te].get(t)(),this[te].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Us=te,Bs=Ne,Ms=So;ee.reduxProperties=new Map;ee.reduxReactiveProperties=new Set;ee.reduxEventListeners=new Map;function bt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function jt(e){return!!e&&!!e[K]}function Ot(e){var t;return!!e&&(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)===Rp}(e)||Array.isArray(e)||!!e[Vs]||!!(!((t=e.constructor)===null||t===void 0)&&t[Vs])||Ra(e)||Na(e))}function _e(e,t,o){o===void 0&&(o=!1),Ge(e)===0?(o?Object.keys:ze)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Ge(e){var t=e[K];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ra(e)?2:Na(e)?3:0}function He(e,t){return Ge(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function vp(e,t){return Ge(e)===2?e.get(t):e[t]}function Ks(e,t,o){var n=Ge(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Zs(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ra(e){return Ap&&e instanceof Map}function Na(e){return wp&&e instanceof Set}function re(e){return e.o||e.t}function _a(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Xs(e);delete t[K];for(var o=ze(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Pa(e,t){return t===void 0&&(t=!1),Ta(e)||jt(e)||!Ot(e)||(Ge(e)>1&&(e.set=e.add=e.clear=e.delete=Sp),Object.freeze(e),t&&_e(e,function(o,n){return Pa(n,!0)},!0)),e}function Sp(){bt(2)}function Ta(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Lt(e){var t=wa[e];return t||bt(18,e),t}function Op(e,t){wa[e]||(wa[e]=t)}function Ea(){return Mr}function xa(e,t){t&&(Lt("Patches"),e.u=[],e.s=[],e.v=t)}function Oo(e){Ca(e),e.p.forEach(Ep),e.p=null}function Ca(e){e===Mr&&(Mr=e.l)}function Ws(e){return Mr={p:[],l:Mr,h:e,m:!0,_:0}}function Ep(e){var t=e[K];t.i===0||t.i===1?t.j():t.g=!0}function va(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Lt("ES5").S(t,e,n),n?(o[K].P&&(Oo(t),bt(4)),Ot(e)&&(e=Eo(t,e),t.l||Co(t,e)),t.u&&Lt("Patches").M(o[K].t,e,t.u,t.s)):e=Eo(t,o,[]),Oo(t),t.u&&t.v(t.u,t.s),e!==Ys?e:void 0}function Eo(e,t,o){if(Ta(t))return t;var n=t[K];if(!n)return _e(t,function(l,d){return Fs(e,n,t,l,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Co(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=_a(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),_e(i,function(l,d){return Fs(e,n,a,l,d,o,s)}),Co(e,a,!1),o&&e.u&&Lt("Patches").N(n,o,e.u,e.s)}return n.o}function Fs(e,t,o,n,a,i,s){if(jt(a)){var l=Eo(e,a,i&&t&&t.i!==3&&!He(t.R,n)?i.concat(n):void 0);if(Ks(o,n,l),!jt(l))return;e.m=!1}else s&&o.add(a);if(Ot(a)&&!Ta(a)){if(!e.h.D&&e._<1)return;Eo(e,a),t&&t.A.l||Co(e,a)}}function Co(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Pa(t,o)}function Sa(e,t){var o=e[K];return(o?re(o):e)[t]}function Hs(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function oe(e){e.P||(e.P=!0,e.l&&oe(e.l))}function Oa(e){e.o||(e.o=_a(e.t))}function Aa(e,t,o){var n=Ra(t)?Lt("MapSet").F(t,o):Na(t)?Lt("MapSet").T(t,o):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ea(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=Wr;s&&(d=[l],p=Br);var h=Proxy.revocable(d,p),f=h.revoke,m=h.proxy;return l.k=m,l.j=f,m}(t,o):Lt("ES5").J(t,o);return(o?o.A:Ea()).p.push(n),n}function Cp(e){return jt(e)||bt(22,e),function t(o){if(!Ot(o))return o;var n,a=o[K],i=Ge(o);if(a){if(!a.P&&(a.i<4||!Lt("ES5").K(a)))return a.t;a.I=!0,n=zs(o,i),a.I=!1}else n=zs(o,i);return _e(n,function(s,l){a&&vp(a.t,s)===l||Ks(n,s,t(l))}),i===3?new Set(n):n}(e)}function zs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return _a(e)}function qs(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[K];return Wr.get(p,s)},set:function(p){var h=this[K];Wr.set(h,s,p)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][K];if(!d.P)switch(d.i){case 5:n(d)&&oe(d);break;case 4:o(d)&&oe(d)}}}function o(s){for(var l=s.t,d=s.k,p=ze(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==K){var m=l[f];if(m===void 0&&!He(l,f))return!0;var b=d[f],x=b&&b[K];if(x?x.t!==m:!Zs(b,m))return!0}}var O=!!l[K];return p.length!==ze(l).length+(O?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 p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&bt(3,JSON.stringify(re(s)))}var i={};Op("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(f,m){if(f){for(var b=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(b,""+x,e(x,!0));return b}var O=Xs(m);delete O[K];for(var R=ze(O),P=0;P<R.length;P++){var T=R[P];O[T]=e(T,f||!!O[T].enumerable)}return Object.create(Object.getPrototypeOf(m),O)}(d,s),h={i:d?5:4,A:l?l.A:Ea(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,K,{value:h,writable:!0}),p},S:function(s,l,d){d?jt(l)&&l[K].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var f=h[K];if(f){var m=f.t,b=f.k,x=f.R,O=f.i;if(O===4)_e(b,function(S){S!==K&&(m[S]!==void 0||He(m,S)?x[S]||p(b[S]):(x[S]=!0,oe(f)))}),_e(m,function(S){b[S]!==void 0||He(b,S)||(x[S]=!1,oe(f))});else if(O===5){if(n(f)&&(oe(f),x.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)x[R]=!1;else for(var P=m.length;P<b.length;P++)x[P]=!0;for(var T=Math.min(b.length,m.length),E=0;E<T;E++)b.hasOwnProperty(E)||(x[E]=!0),x[E]===void 0&&p(b[E])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Gs,Mr,La=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ap=typeof Map<"u",wp=typeof Set<"u",js=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ys=La?Symbol.for("immer-nothing"):((Gs={})["immer-nothing"]=!0,Gs),Vs=La?Symbol.for("immer-draftable"):"__$immer_draftable",K=La?Symbol.for("immer-state"):"__$immer_state";var Rp=""+Object.prototype.constructor,ze=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Xs=Object.getOwnPropertyDescriptors||function(e){var t={};return ze(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},wa={},Wr={get:function(e,t){if(t===K)return e;var o=re(e);if(!He(o,t))return function(a,i,s){var l,d=Hs(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!Ot(n)?n:n===Sa(e.t,t)?(Oa(e),e.o[t]=Aa(e.A.h,n,e)):n},has:function(e,t){return t in re(e)},ownKeys:function(e){return Reflect.ownKeys(re(e))},set:function(e,t,o){var n=Hs(re(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Sa(re(e),t),i=a?.[K];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Zs(o,a)&&(o!==void 0||He(e.t,t)))return!0;Oa(e),oe(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Sa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Oa(e),oe(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=re(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){bt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){bt(12)}},Br={};_e(Wr,function(e,t){Br[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Br.deleteProperty=function(e,t){return Br.set.call(this,e,t,void 0)},Br.set=function(e,t,o){return Wr.set.call(this,e[0],t,o,e[0])};var Np=function(){function e(o){var n=this;this.O=js,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(O){var R=this;O===void 0&&(O=l);for(var P=arguments.length,T=Array(P>1?P-1:0),E=1;E<P;E++)T[E-1]=arguments[E];return d.produce(O,function(S){var C;return(C=i).call.apply(C,[R,S].concat(T))})}}var p;if(typeof i!="function"&&bt(6),s!==void 0&&typeof s!="function"&&bt(7),Ot(a)){var h=Ws(n),f=Aa(n,a,void 0),m=!0;try{p=i(f),m=!1}finally{m?Oo(h):Ca(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return xa(h,s),va(O,h)},function(O){throw Oo(h),O}):(xa(h,s),va(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===Ys&&(p=void 0),n.D&&Pa(p,!0),s){var b=[],x=[];Lt("Patches").M(a,p,b,x),s(b,x)}return p}bt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),m=1;m<h;m++)f[m-1]=arguments[m];return n.produceWithPatches(p,function(b){return a.apply(void 0,[b].concat(f))})};var s,l,d=n.produce(a,i,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Ot(o)||bt(8),jt(o)&&(o=Cp(o));var n=Ws(this),a=Aa(this,o,void 0);return a[K].C=!0,Ca(n),a},t.finishDraft=function(o,n){var a=o&&o[K],i=a.A;return xa(i,n),va(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!js&&bt(20),this.O=o},t.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=Lt("Patches").$;return jt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),gt=new Np,_p=gt.produce,Dg=gt.produceWithPatches.bind(gt),Ug=gt.setAutoFreeze.bind(gt),Bg=gt.setUseProxies.bind(gt),Mg=gt.applyPatches.bind(gt),Wg=gt.createDraft.bind(gt),Fg=gt.finishDraft.bind(gt),Ao=_p;function ne(e){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(e)}function Ia(e,t){if(ne(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ne(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $a(e){var t=Ia(e,"string");return ne(t)==="symbol"?t:String(t)}function ka(e,t,o){return t=$a(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Js(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function wo(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Js(Object(o),!0).forEach(function(n){ka(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Js(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function st(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Qs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Da=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ro={INIT:"@@redux/INIT"+Da(),REPLACE:"@@redux/REPLACE"+Da(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Da()}};function Pp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ua(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(st(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(st(1));return o(Ua)(e,t)}if(typeof e!="function")throw new Error(st(2));var a=e,i=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(st(3));return i}function f(O){if(typeof O!="function")throw new Error(st(4));if(d)throw new Error(st(5));var R=!0;return p(),l.push(O),function(){if(R){if(d)throw new Error(st(6));R=!1,p();var T=l.indexOf(O);l.splice(T,1),s=null}}}function m(O){if(!Pp(O))throw new Error(st(7));if(typeof O.type>"u")throw new Error(st(8));if(d)throw new Error(st(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var R=s=l,P=0;P<R.length;P++){var T=R[P];T()}return O}function b(O){if(typeof O!="function")throw new Error(st(10));a=O,m({type:Ro.REPLACE})}function x(){var O,R=f;return O={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(st(11));function E(){T.next&&T.next(h())}E();var S=R(E);return{unsubscribe:S}}},O[Qs]=function(){return this},O}return m({type:Ro.INIT}),n={dispatch:m,subscribe:f,getState:h,replaceReducer:b},n[Qs]=x,n}function Tp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Ro.INIT});if(typeof n>"u")throw new Error(st(12));if(typeof o(void 0,{type:Ro.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(st(13))})}function tc(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,l;try{Tp(o)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var m=!1,b={},x=0;x<i.length;x++){var O=i[x],R=o[O],P=p[O],T=R(P,h);if(typeof T>"u"){var E=h&&h.type;throw new Error(st(14))}b[O]=T,m=m||T!==P}return m=m||i.length!==Object.keys(p).length,m?b:p}}function je(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function ec(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(st(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=je.apply(void 0,l)(a.dispatch),wo(wo({},a),{},{dispatch:i})}}}function rc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var oc=rc();oc.withExtraArgument=rc;var Ba=oc;var cc=function(){var e=function(t,o){return e=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])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Lp=function(e,t){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(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(h){p=[6,h],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ve=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Ip=Object.defineProperty,$p=Object.defineProperties,kp=Object.getOwnPropertyDescriptors,nc=Object.getOwnPropertySymbols,Dp=Object.prototype.hasOwnProperty,Up=Object.prototype.propertyIsEnumerable,ac=function(e,t,o){return t in e?Ip(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},ae=function(e,t){for(var o in t||(t={}))Dp.call(t,o)&&ac(e,o,t[o]);if(nc)for(var n=0,a=nc(t);n<a.length;n++){var o=a[n];Up.call(t,o)&&ac(e,o,t[o])}return e},Ma=function(e,t){return $p(e,kp(t))},Bp=function(e,t,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(p){a(p)}},s=function(d){try{l(o.throw(d))}catch(p){a(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(e,t)).next())})};var Mp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?je:je.apply(null,arguments)},ab=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Wp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Fp=function(e){cc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,Ve([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ve([void 0],o.concat(this))))},t}(Array),Hp=function(e){cc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,Ve([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ve([void 0],o.concat(this))))},t}(Array);function Ha(e){return Ot(e)?Ao(e,function(){}):e}function zp(e){return typeof e=="boolean"}function Gp(){return function(t){return jp(t)}}function jp(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=new Fp;if(o&&(zp(o)?l.push(Ba):l.push(Ba.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var p}return l}var Wa=!0;function lc(e){var t=Gp(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,f=o.enhancers,m=f===void 0?void 0:f,b;if(typeof a=="function")b=a;else if(Wp(a))b=tc(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 x=s;if(typeof x=="function"&&(x=x(t),!Wa&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Wa&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=ec.apply(void 0,x),R=je;d&&(R=Mp(ae({trace:!Wa},typeof d=="object"&&d)));var P=new Hp(O),T=P;Array.isArray(m)?T=Ve([O],m):typeof m=="function"&&(T=m(P));var E=R.apply(void 0,T);return Ua(b,h,E)}function ie(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ae(ae({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function dc(e){var t={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function Vp(e){return typeof e=="function"}function Kp(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?dc(t):[t,o,n],i=a[0],s=a[1],l=a[2],d;if(Vp(e))d=function(){return Ha(e())};else{var p=Ha(e);d=function(){return p}}function h(f,m){f===void 0&&(f=d());var b=Ve([i[m.type]],s.filter(function(x){var O=x.matcher;return O(m)}).map(function(x){var O=x.reducer;return O}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,O){if(O)if(jt(x)){var R=x,P=O(R,m);return P===void 0?x:P}else{if(Ot(x))return Ao(x,function(T){return O(T,m)});var P=O(x,m);if(P===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return x},f)}return h.getInitialState=d,h}function Zp(e,t){return e+"/"+t}function pc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Ha(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var f=n[h],m=Zp(t,h),b,x;"reducer"in f?(b=f.reducer,x=f.prepare):b=f,i[h]=b,s[m]=b,l[h]=x?ie(m,x):ie(m)});function d(){var h=typeof e.extraReducers=="function"?dc(e.extraReducers):[e.extraReducers],f=h[0],m=f===void 0?{}:f,b=h[1],x=b===void 0?[]:b,O=h[2],R=O===void 0?void 0:O,P=ae(ae({},m),s);return Kp(o,function(T){for(var E in P)T.addCase(E,P[E]);for(var S=0,C=x;S<C.length;S++){var L=C[S];T.addMatcher(L.matcher,L.reducer)}R&&T.addDefaultCase(R)})}var p;return{name:t,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var qp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Yp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=qp[Math.random()*64|0];return t},Xp=["name","message","stack","code"],Fa=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),ic=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Jp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Xp;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},lb=function(){function e(t,o,n){var a=ie(t+"/fulfilled",function(h,f,m,b){return{payload:h,meta:Ma(ae({},b||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),i=ie(t+"/pending",function(h,f,m){return{payload:void 0,meta:Ma(ae({},m||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=ie(t+"/rejected",function(h,f,m,b,x){return{payload:b,error:(n&&n.serializeError||Jp)(h||"Rejected"),meta:Ma(ae({},x||{}),{arg:m,requestId:f,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(f,m,b){var x=n?.idGenerator?n.idGenerator(h):Yp(),O=new d,R,P=!1;function T(S){R=S,O.abort()}var E=function(){return Bp(this,null,function(){var S,C,L,U,F,W,$;return Lp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),U=(S=n?.condition)==null?void 0:S.call(n,h,{getState:m,extra:b}),tu(U)?[4,U]:[3,2];case 1:U=y.sent(),y.label=2;case 2:if(U===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,F=new Promise(function(v,I){return O.signal.addEventListener("abort",function(){return I({name:"AbortError",message:R||"Aborted"})})}),f(i(x,h,(C=n?.getPendingMeta)==null?void 0:C.call(n,{requestId:x,arg:h},{getState:m,extra:b}))),[4,Promise.race([F,Promise.resolve(o(h,{dispatch:f,getState:m,extra:b,requestId:x,signal:O.signal,abort:T,rejectWithValue:function(v,I){return new Fa(v,I)},fulfillWithValue:function(v,I){return new ic(v,I)}})).then(function(v){if(v instanceof Fa)throw v;return v instanceof ic?a(v.payload,x,h,v.meta):a(v,x,h)})])];case 3:return L=y.sent(),[3,5];case 4:return W=y.sent(),L=W instanceof Fa?s(null,x,h,W.payload,W.meta):s(W,x,h),[3,5];case 5:return $=n&&!n.dispatchConditionRejection&&s.match(L)&&L.meta.condition,$||f(L),[2,L]}})})}();return Object.assign(E,{abort:T,requestId:x,arg:h,unwrap:function(){return E.then(Qp)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Qp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function tu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var uc="listener",fc="completed",hc="cancelled",db="task-"+hc,pb="task-"+fc,ub=uc+"-"+hc,fb=uc+"-"+fc;var za="listenerMiddleware";var hb=ie(za+"/add"),yb=ie(za+"/removeAll"),mb=ie(za+"/remove");var sc,gb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(sc||(sc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},eu=function(e){return function(t){setTimeout(t,e)}},bb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:eu(10);qs();window.ftReduxStores||(window.ftReduxStores={});var Ga=class e extends Oe{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Re(i))return i;if(a==null)return;let s=pc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=lc({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[a.name]=new e(s,l)}constructor(t,o){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Ur,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function ru(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Re(t)&&t.clear()}var Za={};z(Za,{scrollHelper:()=>ou});var Va,No=new Map,Ka=class{lock(t,o){if(o){let n=No.get(o);if(n==null||n===t)return No.set(o,t),o}}release(t,o){o&&No.get(o)===t&&No.delete(o)}findFirstScrollableParent(t){let o,n=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let p=d,h=this.elementCanScroll(p);if(h&&p.clientHeight&&p.clientHeight<p.scrollHeight){s=p;break}else h&&l==null&&(l=p)}o=(i=s??l)!==null&&i!==void 0?i:document.body};return t.addEventListener("find-scrollable-parent",n),t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),t.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){let n=0;for(;o&&o.offsetParent!==t.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,l=Er(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",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Va=window.FluidTopicsScrollHelper)!==null&&Va!==void 0?Va:new Ka;var ou=window.FluidTopicsScrollHelper;var qa={};z(qa,{shadowQuerySelector:()=>nu,shadowQuerySelectorAll:()=>au});function nu(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function au(e,t,...o){let n=[...e.querySelectorAll(t)];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 Ya={};z(Ya,{SearchPlaceConverter:()=>To,SearchPlaceQueryParams:()=>G,isSearchPlaceQueryParams:()=>Mc,serializeRequest:()=>cu});var iu=Rl(mc(),1);var gc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(gc||(gc={}));var bc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(bc||(bc={}));var xc;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(xc||(xc={}));var vc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(vc||(vc={}));var Sc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Sc||(Sc={}));var Oc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Oc||(Oc={}));var Ec;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ec||(Ec={}));var Cc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Cc||(Cc={}));var Ac;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ac||(Ac={}));var wc;(function(e){e.ASC="ASC",e.DESC="DESC"})(wc||(wc={}));var Rc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Rc||(Rc={}));var Nc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Nc||(Nc={}));var $c=e=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(e);var _c;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(_c||(_c={}));var Pc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Pc||(Pc={}));var Tc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Tc||(Tc={}));var Fr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Fr||(Fr={}));var kc=e=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(e);var Lc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Lc||(Lc={}));var Ic;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ic||(Ic={}));var ot;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(ot||(ot={}));var Dc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Dc||(Dc={}));var Uc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Uc||(Uc={}));var Db={[ot.PERSONAL_BOOK_SHARE_USER]:[ot.PERSONAL_BOOK_USER],[ot.HTML_EXPORT_USER]:[ot.PERSONAL_BOOK_USER],[ot.PDF_EXPORT_USER]:[ot.PERSONAL_BOOK_USER],[ot.KHUB_ADMIN]:[ot.CONTENT_PUBLISHER],[ot.ADMIN]:[ot.KHUB_ADMIN,ot.USERS_ADMIN,ot.PORTAL_ADMIN],[ot.DEVELOPER]:[ot.BETA_USER,ot.DEBUG_USER]};function su(e){return`"${e}"`}function Bc(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function cu(e,t){return new To(e).serialize(t)}var G;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page"})(G||(G={}));var lu=new Set(Object.values(G));function Mc(e){return lu.has(e)}var To=class{constructor(t,o={},n=20,a=!1,i="en-US"){this.baseUrl=t,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(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=this.toURLSearchParams(t).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(t,o=!1){var n,a,i,s,l,d,p,h,f,m,b,x;let O=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&O.append(G.LOCALE,t.contentLocale):O.append(G.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&O.append(G.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&O.append(G.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&O.append(G.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((a=t.sort)===null||a===void 0?void 0:a.length)>0&&t.sort[0].key==="ft:lastEdition"&&O.append(G.SORT,"last_update");let R=(s=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(R.length>0){let S=R.map(C=>{var L,U;let F=((U=(L=C.valueFilter)===null||L===void 0?void 0:L.values)!==null&&U!==void 0?U:[]).map(W=>this.escapeFilters(W)).map(W=>encodeURIComponent(su(Bc(W)))).join("_");return`${C.key}~${F}`}).join("*");O.append(G.VALUE_FILTERS,S)}let P=(d=(l=t.metadataFilters)===null||l===void 0?void 0:l.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(P.length>0){let S=P.map(C=>{var L;return`${C.key}~${(L=C.dateFilter)===null||L===void 0?void 0:L.type.toLowerCase()}`}).join("*");O.append(G.DATE_FILTERS,S)}let T=(h=(p=t.metadataFilters)===null||p===void 0?void 0:p.filter(S=>S.rangeFilter))!==null&&h!==void 0?h:[];if(T.length>0){let S=T.map(C=>{var L,U;return`${C.key}~${(L=C.rangeFilter)===null||L===void 0?void 0:L.from}_${(U=C.rangeFilter)===null||U===void 0?void 0:U.to}`}).join("*");O.append(G.RANGE_FILTERS,S)}let E=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let S in E)O.append(S,E[S]);return!((m=t.paging)===null||m===void 0)&&m.perPage&&((x=(b=t.paging)===null||b===void 0?void 0:b.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&O.append(G.PER_PAGE,String(t.paging.perPage)),O}parse(t){var o;let n=t.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(t){var o,n,a,i,s,l,d,p;let h=t.get(G.LOCALE)==="all"?void 0:t.get(G.LOCALE),f=((o=t.get(G.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),m=((n=t.get(G.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(a=t.get(G.SCOPE))!==null&&a!==void 0?a:"default",x=+((i=t.get(G.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),O={};for(let R of t.keys())Mc(R)||(O[R]=t.get(R));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=t.get(G.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:$c(f)?f:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[m])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(t),facets:[],paging:{page:1,perPage:Er(1,isNaN(x)?this.defaultPerPage:x,1e3)},otherQueryParams:O}}parseCompatFilters(t){var o,n,a,i,s,l;let d=[];return t.has(G.FILTERS)&&(d=this.parseValueFilters((o=t.get(G.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(G.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(G.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(G.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(G.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(G.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Bc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:Fr[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replace(a,o);return t}parseLegacyPeriodFilter(t){if(kc(t))return[{key:"ft:lastEdition",dateFilter:{type:Fr[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Ja={};z(Ja,{toFtFormComponent:()=>Xa});var Lo=Symbol("elementInternals");function Xa(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[Lo].form}constructor(...a){super(a),this[Lo]=this.attachInternals(),this[Lo].role=t}setFormValue(a){this[Lo].setFormValue(a)}}return o}var ti={};z(ti,{DateFormatter:()=>Qa});var Qa=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,a)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var ei,ri,oi,ni,ai=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((oi=(ri=(ei=window.safari)===null||ei===void 0?void 0:ei.pushNotification)===null||ri===void 0?void 0:ri.toString())!==null&&oi!==void 0?oi:"")==="[object SafariRemoteNotification]",du="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ni=window.ftGlobals)!==null&&ni!==void 0?ni:{lit:Yo,litDecorators:Jo,litRepeat:Qo,litClassMap:tn,litStyleMap:en,litUnsafeHTML:on,wcUtils:{...un,...an,...hn,...ti,...yn,...bn,...Kn,...dn,...ca,...Vn,...ua,...da,...$s,...mn,...ha,...ya,...Ds,...ga,...ja,...la,...Za,...qa,...Ya,...Ja,isSafari:ai,isTouchScreen:du,setVariable:A}};var ii={outlineColor:r.extend("--ft-reader-internal-link-outline-color","",j.colorPrimary)},Wc=D`
50
+ `;var Ds={};var ga={};z(ga,{ParametrizedLabelResolver:()=>ma});var ma=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,a;t=this.resolvePluralKey(t,o);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...o)}static replaceParameters(t,...o){return o.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=a=>o?.includes("date")?t.toLocaleDateString(a):o?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var ja={};z(ja,{FtCommandQueue:()=>Ur,FtLitElementRedux:()=>ee,FtReduxStore:()=>Ga,clearAllStores:()=>ru,isFtReduxStore:()=>Re,redux:()=>ba,reduxEventListener:()=>xp,reduxReactive:()=>bp});var bp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},ba=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:Or,attribute:!1,...t};_(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}},xp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var Ur=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function Re(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Us,Bs,Ms,So=Symbol("internalReduxEventsUnsubscribers"),te=Symbol("internalStoresUnsubscribers"),Ne=Symbol("internalStores"),ee=class extends Y{constructor(){super(...arguments),this[Us]=new Map,this[Bs]=new Map,this[Ms]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Ne].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ne].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Ne].get(t)}addStore(t,o){var n;o=(n=o??(Re(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Ne].delete(o)}setupStore(t,o){this[Ne].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ne].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[te].has(t.store):this[te].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[te].set(t,o.subscribe(()=>this.updateFromStores())),Re(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(t)}unsubscribeFromStores(){this[te].forEach((t,o)=>this.unsubscribeFromStore(o)),this[So].forEach(t=>t()),this[So]=[]}unsubscribeFromStore(t){this[te].has(t)&&this[te].get(t)(),this[te].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Us=te,Bs=Ne,Ms=So;ee.reduxProperties=new Map;ee.reduxReactiveProperties=new Set;ee.reduxEventListeners=new Map;function bt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function jt(e){return!!e&&!!e[K]}function Ot(e){var t;return!!e&&(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)===Rp}(e)||Array.isArray(e)||!!e[Vs]||!!(!((t=e.constructor)===null||t===void 0)&&t[Vs])||Ra(e)||Na(e))}function _e(e,t,o){o===void 0&&(o=!1),Ge(e)===0?(o?Object.keys:ze)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Ge(e){var t=e[K];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ra(e)?2:Na(e)?3:0}function He(e,t){return Ge(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function vp(e,t){return Ge(e)===2?e.get(t):e[t]}function Ks(e,t,o){var n=Ge(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Zs(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ra(e){return Ap&&e instanceof Map}function Na(e){return wp&&e instanceof Set}function re(e){return e.o||e.t}function _a(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Xs(e);delete t[K];for(var o=ze(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Pa(e,t){return t===void 0&&(t=!1),Ta(e)||jt(e)||!Ot(e)||(Ge(e)>1&&(e.set=e.add=e.clear=e.delete=Sp),Object.freeze(e),t&&_e(e,function(o,n){return Pa(n,!0)},!0)),e}function Sp(){bt(2)}function Ta(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Lt(e){var t=wa[e];return t||bt(18,e),t}function Op(e,t){wa[e]||(wa[e]=t)}function Ea(){return Mr}function xa(e,t){t&&(Lt("Patches"),e.u=[],e.s=[],e.v=t)}function Oo(e){Ca(e),e.p.forEach(Ep),e.p=null}function Ca(e){e===Mr&&(Mr=e.l)}function Ws(e){return Mr={p:[],l:Mr,h:e,m:!0,_:0}}function Ep(e){var t=e[K];t.i===0||t.i===1?t.j():t.g=!0}function va(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Lt("ES5").S(t,e,n),n?(o[K].P&&(Oo(t),bt(4)),Ot(e)&&(e=Eo(t,e),t.l||Co(t,e)),t.u&&Lt("Patches").M(o[K].t,e,t.u,t.s)):e=Eo(t,o,[]),Oo(t),t.u&&t.v(t.u,t.s),e!==Ys?e:void 0}function Eo(e,t,o){if(Ta(t))return t;var n=t[K];if(!n)return _e(t,function(l,d){return Fs(e,n,t,l,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Co(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=_a(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),_e(i,function(l,d){return Fs(e,n,a,l,d,o,s)}),Co(e,a,!1),o&&e.u&&Lt("Patches").N(n,o,e.u,e.s)}return n.o}function Fs(e,t,o,n,a,i,s){if(jt(a)){var l=Eo(e,a,i&&t&&t.i!==3&&!He(t.R,n)?i.concat(n):void 0);if(Ks(o,n,l),!jt(l))return;e.m=!1}else s&&o.add(a);if(Ot(a)&&!Ta(a)){if(!e.h.D&&e._<1)return;Eo(e,a),t&&t.A.l||Co(e,a)}}function Co(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Pa(t,o)}function Sa(e,t){var o=e[K];return(o?re(o):e)[t]}function Hs(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function oe(e){e.P||(e.P=!0,e.l&&oe(e.l))}function Oa(e){e.o||(e.o=_a(e.t))}function Aa(e,t,o){var n=Ra(t)?Lt("MapSet").F(t,o):Na(t)?Lt("MapSet").T(t,o):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ea(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=Wr;s&&(d=[l],p=Br);var h=Proxy.revocable(d,p),f=h.revoke,m=h.proxy;return l.k=m,l.j=f,m}(t,o):Lt("ES5").J(t,o);return(o?o.A:Ea()).p.push(n),n}function Cp(e){return jt(e)||bt(22,e),function t(o){if(!Ot(o))return o;var n,a=o[K],i=Ge(o);if(a){if(!a.P&&(a.i<4||!Lt("ES5").K(a)))return a.t;a.I=!0,n=zs(o,i),a.I=!1}else n=zs(o,i);return _e(n,function(s,l){a&&vp(a.t,s)===l||Ks(n,s,t(l))}),i===3?new Set(n):n}(e)}function zs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return _a(e)}function qs(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[K];return Wr.get(p,s)},set:function(p){var h=this[K];Wr.set(h,s,p)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][K];if(!d.P)switch(d.i){case 5:n(d)&&oe(d);break;case 4:o(d)&&oe(d)}}}function o(s){for(var l=s.t,d=s.k,p=ze(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==K){var m=l[f];if(m===void 0&&!He(l,f))return!0;var b=d[f],x=b&&b[K];if(x?x.t!==m:!Zs(b,m))return!0}}var O=!!l[K];return p.length!==ze(l).length+(O?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 p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&bt(3,JSON.stringify(re(s)))}var i={};Op("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(f,m){if(f){for(var b=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(b,""+x,e(x,!0));return b}var O=Xs(m);delete O[K];for(var R=ze(O),P=0;P<R.length;P++){var T=R[P];O[T]=e(T,f||!!O[T].enumerable)}return Object.create(Object.getPrototypeOf(m),O)}(d,s),h={i:d?5:4,A:l?l.A:Ea(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,K,{value:h,writable:!0}),p},S:function(s,l,d){d?jt(l)&&l[K].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var f=h[K];if(f){var m=f.t,b=f.k,x=f.R,O=f.i;if(O===4)_e(b,function(S){S!==K&&(m[S]!==void 0||He(m,S)?x[S]||p(b[S]):(x[S]=!0,oe(f)))}),_e(m,function(S){b[S]!==void 0||He(b,S)||(x[S]=!1,oe(f))});else if(O===5){if(n(f)&&(oe(f),x.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)x[R]=!1;else for(var P=m.length;P<b.length;P++)x[P]=!0;for(var T=Math.min(b.length,m.length),E=0;E<T;E++)b.hasOwnProperty(E)||(x[E]=!0),x[E]===void 0&&p(b[E])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Gs,Mr,La=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ap=typeof Map<"u",wp=typeof Set<"u",js=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ys=La?Symbol.for("immer-nothing"):((Gs={})["immer-nothing"]=!0,Gs),Vs=La?Symbol.for("immer-draftable"):"__$immer_draftable",K=La?Symbol.for("immer-state"):"__$immer_state";var Rp=""+Object.prototype.constructor,ze=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Xs=Object.getOwnPropertyDescriptors||function(e){var t={};return ze(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},wa={},Wr={get:function(e,t){if(t===K)return e;var o=re(e);if(!He(o,t))return function(a,i,s){var l,d=Hs(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!Ot(n)?n:n===Sa(e.t,t)?(Oa(e),e.o[t]=Aa(e.A.h,n,e)):n},has:function(e,t){return t in re(e)},ownKeys:function(e){return Reflect.ownKeys(re(e))},set:function(e,t,o){var n=Hs(re(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Sa(re(e),t),i=a?.[K];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Zs(o,a)&&(o!==void 0||He(e.t,t)))return!0;Oa(e),oe(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Sa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Oa(e),oe(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=re(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){bt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){bt(12)}},Br={};_e(Wr,function(e,t){Br[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Br.deleteProperty=function(e,t){return Br.set.call(this,e,t,void 0)},Br.set=function(e,t,o){return Wr.set.call(this,e[0],t,o,e[0])};var Np=function(){function e(o){var n=this;this.O=js,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(O){var R=this;O===void 0&&(O=l);for(var P=arguments.length,T=Array(P>1?P-1:0),E=1;E<P;E++)T[E-1]=arguments[E];return d.produce(O,function(S){var C;return(C=i).call.apply(C,[R,S].concat(T))})}}var p;if(typeof i!="function"&&bt(6),s!==void 0&&typeof s!="function"&&bt(7),Ot(a)){var h=Ws(n),f=Aa(n,a,void 0),m=!0;try{p=i(f),m=!1}finally{m?Oo(h):Ca(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return xa(h,s),va(O,h)},function(O){throw Oo(h),O}):(xa(h,s),va(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===Ys&&(p=void 0),n.D&&Pa(p,!0),s){var b=[],x=[];Lt("Patches").M(a,p,b,x),s(b,x)}return p}bt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),m=1;m<h;m++)f[m-1]=arguments[m];return n.produceWithPatches(p,function(b){return a.apply(void 0,[b].concat(f))})};var s,l,d=n.produce(a,i,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Ot(o)||bt(8),jt(o)&&(o=Cp(o));var n=Ws(this),a=Aa(this,o,void 0);return a[K].C=!0,Ca(n),a},t.finishDraft=function(o,n){var a=o&&o[K],i=a.A;return xa(i,n),va(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!js&&bt(20),this.O=o},t.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=Lt("Patches").$;return jt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),gt=new Np,_p=gt.produce,Dg=gt.produceWithPatches.bind(gt),Ug=gt.setAutoFreeze.bind(gt),Bg=gt.setUseProxies.bind(gt),Mg=gt.applyPatches.bind(gt),Wg=gt.createDraft.bind(gt),Fg=gt.finishDraft.bind(gt),Ao=_p;function ne(e){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(e)}function Ia(e,t){if(ne(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ne(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $a(e){var t=Ia(e,"string");return ne(t)==="symbol"?t:String(t)}function ka(e,t,o){return t=$a(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Js(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function wo(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Js(Object(o),!0).forEach(function(n){ka(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Js(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function st(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Qs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Da=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ro={INIT:"@@redux/INIT"+Da(),REPLACE:"@@redux/REPLACE"+Da(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Da()}};function Pp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ua(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(st(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(st(1));return o(Ua)(e,t)}if(typeof e!="function")throw new Error(st(2));var a=e,i=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(st(3));return i}function f(O){if(typeof O!="function")throw new Error(st(4));if(d)throw new Error(st(5));var R=!0;return p(),l.push(O),function(){if(R){if(d)throw new Error(st(6));R=!1,p();var T=l.indexOf(O);l.splice(T,1),s=null}}}function m(O){if(!Pp(O))throw new Error(st(7));if(typeof O.type>"u")throw new Error(st(8));if(d)throw new Error(st(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var R=s=l,P=0;P<R.length;P++){var T=R[P];T()}return O}function b(O){if(typeof O!="function")throw new Error(st(10));a=O,m({type:Ro.REPLACE})}function x(){var O,R=f;return O={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(st(11));function E(){T.next&&T.next(h())}E();var S=R(E);return{unsubscribe:S}}},O[Qs]=function(){return this},O}return m({type:Ro.INIT}),n={dispatch:m,subscribe:f,getState:h,replaceReducer:b},n[Qs]=x,n}function Tp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Ro.INIT});if(typeof n>"u")throw new Error(st(12));if(typeof o(void 0,{type:Ro.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(st(13))})}function tc(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,l;try{Tp(o)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var m=!1,b={},x=0;x<i.length;x++){var O=i[x],R=o[O],P=p[O],T=R(P,h);if(typeof T>"u"){var E=h&&h.type;throw new Error(st(14))}b[O]=T,m=m||T!==P}return m=m||i.length!==Object.keys(p).length,m?b:p}}function je(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function ec(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(st(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=je.apply(void 0,l)(a.dispatch),wo(wo({},a),{},{dispatch:i})}}}function rc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var oc=rc();oc.withExtraArgument=rc;var Ba=oc;var cc=function(){var e=function(t,o){return e=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])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Lp=function(e,t){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(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(h){p=[6,h],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ve=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Ip=Object.defineProperty,$p=Object.defineProperties,kp=Object.getOwnPropertyDescriptors,nc=Object.getOwnPropertySymbols,Dp=Object.prototype.hasOwnProperty,Up=Object.prototype.propertyIsEnumerable,ac=function(e,t,o){return t in e?Ip(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},ae=function(e,t){for(var o in t||(t={}))Dp.call(t,o)&&ac(e,o,t[o]);if(nc)for(var n=0,a=nc(t);n<a.length;n++){var o=a[n];Up.call(t,o)&&ac(e,o,t[o])}return e},Ma=function(e,t){return $p(e,kp(t))},Bp=function(e,t,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(p){a(p)}},s=function(d){try{l(o.throw(d))}catch(p){a(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(e,t)).next())})};var Mp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?je:je.apply(null,arguments)},ab=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Wp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Fp=function(e){cc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,Ve([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ve([void 0],o.concat(this))))},t}(Array),Hp=function(e){cc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,Ve([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ve([void 0],o.concat(this))))},t}(Array);function Ha(e){return Ot(e)?Ao(e,function(){}):e}function zp(e){return typeof e=="boolean"}function Gp(){return function(t){return jp(t)}}function jp(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=new Fp;if(o&&(zp(o)?l.push(Ba):l.push(Ba.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var p}return l}var Wa=!0;function lc(e){var t=Gp(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,f=o.enhancers,m=f===void 0?void 0:f,b;if(typeof a=="function")b=a;else if(Wp(a))b=tc(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 x=s;if(typeof x=="function"&&(x=x(t),!Wa&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Wa&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=ec.apply(void 0,x),R=je;d&&(R=Mp(ae({trace:!Wa},typeof d=="object"&&d)));var P=new Hp(O),T=P;Array.isArray(m)?T=Ve([O],m):typeof m=="function"&&(T=m(P));var E=R.apply(void 0,T);return Ua(b,h,E)}function ie(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ae(ae({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function dc(e){var t={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function Vp(e){return typeof e=="function"}function Kp(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?dc(t):[t,o,n],i=a[0],s=a[1],l=a[2],d;if(Vp(e))d=function(){return Ha(e())};else{var p=Ha(e);d=function(){return p}}function h(f,m){f===void 0&&(f=d());var b=Ve([i[m.type]],s.filter(function(x){var O=x.matcher;return O(m)}).map(function(x){var O=x.reducer;return O}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,O){if(O)if(jt(x)){var R=x,P=O(R,m);return P===void 0?x:P}else{if(Ot(x))return Ao(x,function(T){return O(T,m)});var P=O(x,m);if(P===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return x},f)}return h.getInitialState=d,h}function Zp(e,t){return e+"/"+t}function pc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Ha(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var f=n[h],m=Zp(t,h),b,x;"reducer"in f?(b=f.reducer,x=f.prepare):b=f,i[h]=b,s[m]=b,l[h]=x?ie(m,x):ie(m)});function d(){var h=typeof e.extraReducers=="function"?dc(e.extraReducers):[e.extraReducers],f=h[0],m=f===void 0?{}:f,b=h[1],x=b===void 0?[]:b,O=h[2],R=O===void 0?void 0:O,P=ae(ae({},m),s);return Kp(o,function(T){for(var E in P)T.addCase(E,P[E]);for(var S=0,C=x;S<C.length;S++){var L=C[S];T.addMatcher(L.matcher,L.reducer)}R&&T.addDefaultCase(R)})}var p;return{name:t,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var qp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Yp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=qp[Math.random()*64|0];return t},Xp=["name","message","stack","code"],Fa=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),ic=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Jp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Xp;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},lb=function(){function e(t,o,n){var a=ie(t+"/fulfilled",function(h,f,m,b){return{payload:h,meta:Ma(ae({},b||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),i=ie(t+"/pending",function(h,f,m){return{payload:void 0,meta:Ma(ae({},m||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=ie(t+"/rejected",function(h,f,m,b,x){return{payload:b,error:(n&&n.serializeError||Jp)(h||"Rejected"),meta:Ma(ae({},x||{}),{arg:m,requestId:f,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(f,m,b){var x=n?.idGenerator?n.idGenerator(h):Yp(),O=new d,R,P=!1;function T(S){R=S,O.abort()}var E=function(){return Bp(this,null,function(){var S,C,L,U,F,W,$;return Lp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),U=(S=n?.condition)==null?void 0:S.call(n,h,{getState:m,extra:b}),tu(U)?[4,U]:[3,2];case 1:U=y.sent(),y.label=2;case 2:if(U===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,F=new Promise(function(v,I){return O.signal.addEventListener("abort",function(){return I({name:"AbortError",message:R||"Aborted"})})}),f(i(x,h,(C=n?.getPendingMeta)==null?void 0:C.call(n,{requestId:x,arg:h},{getState:m,extra:b}))),[4,Promise.race([F,Promise.resolve(o(h,{dispatch:f,getState:m,extra:b,requestId:x,signal:O.signal,abort:T,rejectWithValue:function(v,I){return new Fa(v,I)},fulfillWithValue:function(v,I){return new ic(v,I)}})).then(function(v){if(v instanceof Fa)throw v;return v instanceof ic?a(v.payload,x,h,v.meta):a(v,x,h)})])];case 3:return L=y.sent(),[3,5];case 4:return W=y.sent(),L=W instanceof Fa?s(null,x,h,W.payload,W.meta):s(W,x,h),[3,5];case 5:return $=n&&!n.dispatchConditionRejection&&s.match(L)&&L.meta.condition,$||f(L),[2,L]}})})}();return Object.assign(E,{abort:T,requestId:x,arg:h,unwrap:function(){return E.then(Qp)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Qp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function tu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var uc="listener",fc="completed",hc="cancelled",db="task-"+hc,pb="task-"+fc,ub=uc+"-"+hc,fb=uc+"-"+fc;var za="listenerMiddleware";var hb=ie(za+"/add"),yb=ie(za+"/removeAll"),mb=ie(za+"/remove");var sc,gb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(sc||(sc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},eu=function(e){return function(t){setTimeout(t,e)}},bb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:eu(10);qs();window.ftReduxStores||(window.ftReduxStores={});var Ga=class e extends Oe{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Re(i))return i;if(a==null)return;let s=pc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=lc({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[a.name]=new e(s,l)}constructor(t,o){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Ur,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function ru(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Re(t)&&t.clear()}var Za={};z(Za,{scrollHelper:()=>ou});var Va,No=new Map,Ka=class{lock(t,o){if(o){let n=No.get(o);if(n==null||n===t)return No.set(o,t),o}}release(t,o){o&&No.get(o)===t&&No.delete(o)}findFirstScrollableParent(t){let o,n=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let p=d,h=this.elementCanScroll(p);if(h&&p.clientHeight&&p.clientHeight<p.scrollHeight){s=p;break}else h&&l==null&&(l=p)}o=(i=s??l)!==null&&i!==void 0?i:document.body};return t.addEventListener("find-scrollable-parent",n),t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),t.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){var n,a;let i=0;for(;o&&o.offsetParent!==t.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)-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,l=Er(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",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Va=window.FluidTopicsScrollHelper)!==null&&Va!==void 0?Va:new Ka;var ou=window.FluidTopicsScrollHelper;var qa={};z(qa,{shadowQuerySelector:()=>nu,shadowQuerySelectorAll:()=>au});function nu(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function au(e,t,...o){let n=[...e.querySelectorAll(t)];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 Ya={};z(Ya,{SearchPlaceConverter:()=>To,SearchPlaceQueryParams:()=>G,isSearchPlaceQueryParams:()=>Mc,serializeRequest:()=>cu});var iu=Rl(mc(),1);var gc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(gc||(gc={}));var bc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(bc||(bc={}));var xc;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(xc||(xc={}));var vc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(vc||(vc={}));var Sc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Sc||(Sc={}));var Oc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Oc||(Oc={}));var Ec;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ec||(Ec={}));var Cc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Cc||(Cc={}));var Ac;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ac||(Ac={}));var wc;(function(e){e.ASC="ASC",e.DESC="DESC"})(wc||(wc={}));var Rc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Rc||(Rc={}));var Nc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Nc||(Nc={}));var $c=e=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(e);var _c;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(_c||(_c={}));var Pc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Pc||(Pc={}));var Tc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Tc||(Tc={}));var Fr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Fr||(Fr={}));var kc=e=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(e);var Lc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Lc||(Lc={}));var Ic;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ic||(Ic={}));var ot;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(ot||(ot={}));var Dc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Dc||(Dc={}));var Uc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Uc||(Uc={}));var Db={[ot.PERSONAL_BOOK_SHARE_USER]:[ot.PERSONAL_BOOK_USER],[ot.HTML_EXPORT_USER]:[ot.PERSONAL_BOOK_USER],[ot.PDF_EXPORT_USER]:[ot.PERSONAL_BOOK_USER],[ot.KHUB_ADMIN]:[ot.CONTENT_PUBLISHER],[ot.ADMIN]:[ot.KHUB_ADMIN,ot.USERS_ADMIN,ot.PORTAL_ADMIN],[ot.DEVELOPER]:[ot.BETA_USER,ot.DEBUG_USER]};function su(e){return`"${e}"`}function Bc(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function cu(e,t){return new To(e).serialize(t)}var G;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page"})(G||(G={}));var lu=new Set(Object.values(G));function Mc(e){return lu.has(e)}var To=class{constructor(t,o={},n=20,a=!1,i="en-US"){this.baseUrl=t,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(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=this.toURLSearchParams(t).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(t,o=!1){var n,a,i,s,l,d,p,h,f,m,b,x;let O=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&O.append(G.LOCALE,t.contentLocale):O.append(G.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&O.append(G.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&O.append(G.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&O.append(G.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((a=t.sort)===null||a===void 0?void 0:a.length)>0&&t.sort[0].key==="ft:lastEdition"&&O.append(G.SORT,"last_update");let R=(s=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(R.length>0){let S=R.map(C=>{var L,U;let F=((U=(L=C.valueFilter)===null||L===void 0?void 0:L.values)!==null&&U!==void 0?U:[]).map(W=>this.escapeFilters(W)).map(W=>encodeURIComponent(su(Bc(W)))).join("_");return`${C.key}~${F}`}).join("*");O.append(G.VALUE_FILTERS,S)}let P=(d=(l=t.metadataFilters)===null||l===void 0?void 0:l.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(P.length>0){let S=P.map(C=>{var L;return`${C.key}~${(L=C.dateFilter)===null||L===void 0?void 0:L.type.toLowerCase()}`}).join("*");O.append(G.DATE_FILTERS,S)}let T=(h=(p=t.metadataFilters)===null||p===void 0?void 0:p.filter(S=>S.rangeFilter))!==null&&h!==void 0?h:[];if(T.length>0){let S=T.map(C=>{var L,U;return`${C.key}~${(L=C.rangeFilter)===null||L===void 0?void 0:L.from}_${(U=C.rangeFilter)===null||U===void 0?void 0:U.to}`}).join("*");O.append(G.RANGE_FILTERS,S)}let E=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let S in E)O.append(S,E[S]);return!((m=t.paging)===null||m===void 0)&&m.perPage&&((x=(b=t.paging)===null||b===void 0?void 0:b.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&O.append(G.PER_PAGE,String(t.paging.perPage)),O}parse(t){var o;let n=t.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(t){var o,n,a,i,s,l,d,p;let h=t.get(G.LOCALE)==="all"?void 0:t.get(G.LOCALE),f=((o=t.get(G.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),m=((n=t.get(G.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(a=t.get(G.SCOPE))!==null&&a!==void 0?a:"default",x=+((i=t.get(G.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),O={};for(let R of t.keys())Mc(R)||(O[R]=t.get(R));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=t.get(G.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:$c(f)?f:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[m])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(t),facets:[],paging:{page:1,perPage:Er(1,isNaN(x)?this.defaultPerPage:x,1e3)},otherQueryParams:O}}parseCompatFilters(t){var o,n,a,i,s,l;let d=[];return t.has(G.FILTERS)&&(d=this.parseValueFilters((o=t.get(G.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(G.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(G.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(G.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(G.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(G.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Bc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:Fr[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replace(a,o);return t}parseLegacyPeriodFilter(t){if(kc(t))return[{key:"ft:lastEdition",dateFilter:{type:Fr[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Ja={};z(Ja,{toFtFormComponent:()=>Xa});var Lo=Symbol("elementInternals");function Xa(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[Lo].form}constructor(...a){super(a),this[Lo]=this.attachInternals(),this[Lo].role=t}setFormValue(a){this[Lo].setFormValue(a)}}return o}var ti={};z(ti,{DateFormatter:()=>Qa});var Qa=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,a)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var ei,ri,oi,ni,ai=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((oi=(ri=(ei=window.safari)===null||ei===void 0?void 0:ei.pushNotification)===null||ri===void 0?void 0:ri.toString())!==null&&oi!==void 0?oi:"")==="[object SafariRemoteNotification]",du="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ni=window.ftGlobals)!==null&&ni!==void 0?ni:{lit:Yo,litDecorators:Jo,litRepeat:Qo,litClassMap:tn,litStyleMap:en,litUnsafeHTML:on,wcUtils:{...un,...an,...hn,...ti,...yn,...bn,...Kn,...dn,...ca,...Vn,...ua,...da,...$s,...mn,...ha,...ya,...Ds,...ga,...ja,...la,...Za,...qa,...Ya,...Ja,isSafari:ai,isTouchScreen:du,setVariable:A}};var ii={outlineColor:r.extend("--ft-reader-internal-link-outline-color","",j.colorPrimary)},Wc=D`
51
51
  :host {
52
52
  display: contents;
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-navigation-button",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "description": "Button used to navigate between pages in an integrated reader context.",
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-button": "1.2.15",
23
- "@fluid-topics/ft-reader-context": "1.2.15",
24
- "@fluid-topics/ft-reader-internal-link": "1.2.15",
25
- "@fluid-topics/ft-tooltip": "1.2.15",
26
- "@fluid-topics/ft-wc-utils": "1.2.15",
22
+ "@fluid-topics/ft-button": "1.2.16",
23
+ "@fluid-topics/ft-reader-context": "1.2.16",
24
+ "@fluid-topics/ft-reader-internal-link": "1.2.16",
25
+ "@fluid-topics/ft-tooltip": "1.2.16",
26
+ "@fluid-topics/ft-wc-utils": "1.2.16",
27
27
  "lit": "3.1.0"
28
28
  },
29
- "gitHead": "158c47a3701bd302f5e9ed9103d9709158596371"
29
+ "gitHead": "ede6b43f06ac3cf4720eace3f556b8917e364248"
30
30
  }