@fluid-topics/ft-reader-topic-content 1.0.8 → 1.0.9
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.
|
@@ -89,7 +89,7 @@ var ft,ht;let dt=class extends M{constructor(){super(...arguments),this.renderOp
|
|
|
89
89
|
display: inline-block;
|
|
90
90
|
width: 0;
|
|
91
91
|
}
|
|
92
|
-
`;class jt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var n,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(n=this.labels[t])&&void 0!==n?n:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,n)=>this.formatValue(t,n))))),r}resolvePluralKey(t,e){for(let n of e)if("number"==typeof n){const e=`${String(t)}[\\=${n}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const n=n=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(n):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(n):t.toLocaleString(n);try{return n(document.documentElement.lang)}catch(t){return n()}}}function Et(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ct(t){return!!t&&!!t[he]}function Nt(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===de}(t)||Array.isArray(t)||!!t[fe]||!!(null===(e=t.constructor)||void 0===e?void 0:e[fe])||Ut(t)||Pt(t))}function Rt(t,e,n){void 0===n&&(n=!1),0===Mt(t)?(n?Object.keys:ve)(t).forEach((function(i){n&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(n,i){return e(i,n,t)}))}function Mt(t){var e=t[he];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ut(t)?2:Pt(t)?3:0}function kt(t,e){return 2===Mt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function $t(t,e,n){var i=Mt(t);2===i?t.set(e,n):3===i?t.add(n):t[e]=n}function At(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Ut(t){return ae&&t instanceof Map}function Pt(t){return ce&&t instanceof Set}function Ft(t){return t.o||t.t}function Lt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=pe(t);delete e[he];for(var n=ve(e),i=0;i<n.length;i++){var r=n[i],o=e[r];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[r]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function It(t,e){return void 0===e&&(e=!1),_t(t)||Ct(t)||!Nt(t)||(Mt(t)>1&&(t.set=t.add=t.clear=t.delete=Tt),Object.freeze(t),e&&Rt(t,(function(t,e){return It(e,!0)}),!0)),t}function Tt(){Et(2)}function _t(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Bt(t){var e=be[t];return e||Et(18,t),e}function Wt(){return oe}function Dt(t,e){e&&(Bt("Patches"),t.u=[],t.s=[],t.v=e)}function Kt(t){zt(t),t.p.forEach(qt),t.p=null}function zt(t){t===oe&&(oe=t.l)}function Ht(t){return oe={p:[],l:oe,h:t,m:!0,_:0}}function qt(t){var e=t[he];0===e.i||1===e.i?e.j():e.g=!0}function Vt(t,e){e._=e.p.length;var n=e.p[0],i=void 0!==t&&t!==n;return e.h.O||Bt("ES5").S(e,t,i),i?(n[he].P&&(Kt(e),Et(4)),Nt(t)&&(t=Jt(e,t),e.l||Gt(e,t)),e.u&&Bt("Patches").M(n[he].t,t,e.u,e.s)):t=Jt(e,n,[]),Kt(e),e.u&&e.v(e.u,e.s),t!==le?t:void 0}function Jt(t,e,n){if(_t(e))return e;var i=e[he];if(!i)return Rt(e,(function(r,o){return Zt(t,i,e,r,o,n)}),!0),e;if(i.A!==t)return e;if(!i.P)return Gt(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=Lt(i.k):i.o,o=r,s=!1;3===i.i&&(o=new Set(r),r.clear(),s=!0),Rt(o,(function(e,o){return Zt(t,i,r,e,o,n,s)})),Gt(t,r,!1),n&&t.u&&Bt("Patches").N(i,n,t.u,t.s)}return i.o}function Zt(t,e,n,i,r,o,s){if(Ct(r)){var a=Jt(t,r,o&&e&&3!==e.i&&!kt(e.R,i)?o.concat(i):void 0);if($t(n,i,a),!Ct(a))return;t.m=!1}else s&&n.add(r);if(Nt(r)&&!_t(r)){if(!t.h.D&&t._<1)return;Jt(t,r),e&&e.A.l||Gt(t,r)}}function Gt(t,e,n){void 0===n&&(n=!1),!t.l&&t.h.D&&t.m&&It(e,n)}function Xt(t,e){var n=t[he];return(n?Ft(n):t)[e]}function Qt(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var i=Object.getOwnPropertyDescriptor(n,e);if(i)return i;n=Object.getPrototypeOf(n)}}function Yt(t){t.P||(t.P=!0,t.l&&Yt(t.l))}function te(t){t.o||(t.o=Lt(t.t))}function ee(t,e,n){var i=Ut(e)?Bt("MapSet").F(e,n):Pt(e)?Bt("MapSet").T(e,n):t.O?function(t,e){var n=Array.isArray(t),i={i:n?1:0,A:e?e.A:Wt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,o=xe;n&&(r=[i],o=me);var s=Proxy.revocable(r,o),a=s.revoke,c=s.proxy;return i.k=c,i.j=a,c}(e,n):Bt("ES5").J(e,n);return(n?n.A:Wt()).p.push(i),i}function ne(t){return Ct(t)||Et(22,t),function t(e){if(!Nt(e))return e;var n,i=e[he],r=Mt(e);if(i){if(!i.P&&(i.i<4||!Bt("ES5").K(i)))return i.t;i.I=!0,n=ie(e,r),i.I=!1}else n=ie(e,r);return Rt(n,(function(e,r){i&&function(t,e){return 2===Mt(t)?t.get(e):t[e]}(i.t,e)===r||$t(n,e,t(r))})),3===r?new Set(n):n}(t)}function ie(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Lt(t)}var re,oe,se="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ae="undefined"!=typeof Map,ce="undefined"!=typeof Set,ue="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,le=se?Symbol.for("immer-nothing"):((re={})["immer-nothing"]=!0,re),fe=se?Symbol.for("immer-draftable"):"__$immer_draftable",he=se?Symbol.for("immer-state"):"__$immer_state",de=""+Object.prototype.constructor,ve="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,pe=Object.getOwnPropertyDescriptors||function(t){var e={};return ve(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},be={},xe={get:function(t,e){if(e===he)return t;var n=Ft(t);if(!kt(n,e))return function(t,e,n){var i,r=Qt(e,n);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,n,e);var i=n[e];return t.I||!Nt(i)?i:i===Xt(t.t,e)?(te(t),t.o[e]=ee(t.A.h,i,t)):i},has:function(t,e){return e in Ft(t)},ownKeys:function(t){return Reflect.ownKeys(Ft(t))},set:function(t,e,n){var i=Qt(Ft(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,n),!0;if(!t.P){var r=Xt(Ft(t),e),o=null==r?void 0:r[he];if(o&&o.t===n)return t.o[e]=n,t.R[e]=!1,!0;if(At(n,r)&&(void 0!==n||kt(t.t,e)))return!0;te(t),Yt(t)}return t.o[e]===n&&(void 0!==n||e in t.o)||Number.isNaN(n)&&Number.isNaN(t.o[e])||(t.o[e]=n,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Xt(t.t,e)||e in t.t?(t.R[e]=!1,te(t),Yt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=Ft(t),i=Reflect.getOwnPropertyDescriptor(n,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:n[e]}:i},defineProperty:function(){Et(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Et(12)}},me={};Rt(xe,(function(t,e){me[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),me.deleteProperty=function(t,e){return me.set.call(this,t,e,void 0)},me.set=function(t,e,n){return xe.set.call(this,t[0],e,n,t[0])};var ye=function(){function t(t){var e=this;this.O=ue,this.D=!0,this.produce=function(t,n,i){if("function"==typeof t&&"function"!=typeof n){var r=n;n=t;var o=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,s=Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return o.produce(t,(function(t){var i;return(i=n).call.apply(i,[e,t].concat(s))}))}}var s;if("function"!=typeof n&&Et(6),void 0!==i&&"function"!=typeof i&&Et(7),Nt(t)){var a=Ht(e),c=ee(e,t,void 0),u=!0;try{s=n(c),u=!1}finally{u?Kt(a):zt(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return Dt(a,i),Vt(t,a)}),(function(t){throw Kt(a),t})):(Dt(a,i),Vt(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=n(t))&&(s=t),s===le&&(s=void 0),e.D&&It(s,!0),i){var l=[],f=[];Bt("Patches").M(t,s,l,f),i(l,f)}return s}Et(21,t)},this.produceWithPatches=function(t,n){if("function"==typeof t)return function(n){for(var i=arguments.length,r=Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];return e.produceWithPatches(n,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,o=e.produce(t,n,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,i,r]})):[o,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Nt(t)||Et(8),Ct(t)&&(t=ne(t));var e=Ht(this),n=ee(this,t,void 0);return n[he].C=!0,zt(e),n},e.finishDraft=function(t,e){var n=(t&&t[he]).A;return Dt(n,e),Vt(void 0,n)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ue&&Et(20),this.O=t},e.applyPatches=function(t,e){var n;for(n=e.length-1;n>=0;n--){var i=e[n];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}n>-1&&(e=e.slice(n+1));var r=Bt("Patches").$;return Ct(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),we=new ye,ge=we.produce;function Oe(t){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oe(t)}function Se(t){var e=function(t,e){if("object"!==Oe(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==Oe(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Oe(e)?e:String(e)}function je(t,e,n){return(e=Se(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ee(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ee(Object(n),!0).forEach((function(e){je(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ne(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}we.produceWithPatches.bind(we),we.setAutoFreeze.bind(we),we.setUseProxies.bind(we),we.applyPatches.bind(we),we.createDraft.bind(we),we.finishDraft.bind(we);var Re="function"==typeof Symbol&&Symbol.observable||"@@observable",Me=function(){return Math.random().toString(36).substring(7).split("").join(".")},ke={INIT:"@@redux/INIT"+Me(),REPLACE:"@@redux/REPLACE"+Me(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Me()}};function $e(t,e,n){var i;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Ne(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Ne(1));return n($e)(t,e)}if("function"!=typeof t)throw new Error(Ne(2));var r=t,o=e,s=[],a=s,c=!1;function u(){a===s&&(a=s.slice())}function l(){if(c)throw new Error(Ne(3));return o}function f(t){if("function"!=typeof t)throw new Error(Ne(4));if(c)throw new Error(Ne(5));var e=!0;return u(),a.push(t),function(){if(e){if(c)throw new Error(Ne(6));e=!1,u();var n=a.indexOf(t);a.splice(n,1),s=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Ne(7));if(void 0===t.type)throw new Error(Ne(8));if(c)throw new Error(Ne(9));try{c=!0,o=r(o,t)}finally{c=!1}for(var e=s=a,n=0;n<e.length;n++){(0,e[n])()}return t}return h({type:ke.INIT}),(i={dispatch:h,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ne(10));r=t,h({type:ke.REPLACE})}})[Re]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ne(11));function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[Re]=function(){return this},t},i}function Ae(t){for(var e=Object.keys(t),n={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(n[r]=t[r])}var o,s=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:ke.INIT}))throw new Error(Ne(12));if(void 0===n(void 0,{type:ke.PROBE_UNKNOWN_ACTION()}))throw new Error(Ne(13))}))}(n)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var i=!1,r={},a=0;a<s.length;a++){var c=s[a],u=n[c],l=t[c],f=u(l,e);if(void 0===f)throw e&&e.type,new Error(Ne(14));r[c]=f,i=i||f!==l}return(i=i||s.length!==Object.keys(t).length)?r:t}}function Ue(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Pe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),i=function(){throw new Error(Ne(15))},r={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},o=e.map((function(t){return t(r)}));return i=Ue.apply(void 0,o)(n.dispatch),Ce(Ce({},n),{},{dispatch:i})}}}function Fe(t){return function(e){var n=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(n,i,t):e(r)}}}}var Le=Fe();Le.withExtraArgument=Fe;var Ie,Te=Le,_e=(Ie=function(t,e){return Ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Ie(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Ie(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Be=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},We=function(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t},De=Object.defineProperty,Ke=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Je=function(t,e,n){return e in t?De(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Ze=function(t,e){for(var n in e||(e={}))qe.call(e,n)&&Je(t,n,e[n]);if(He)for(var i=0,r=He(e);i<r.length;i++){n=r[i];Ve.call(e,n)&&Je(t,n,e[n])}return t},Ge=function(t,e){return Ke(t,ze(e))},Xe="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ue:Ue.apply(null,arguments)};var Qe=function(t){function e(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=t.apply(this,n)||this;return Object.setPrototypeOf(r,e.prototype),r}return _e(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,We([void 0],t[0].concat(this)))):new(e.bind.apply(e,We([void 0],t.concat(this))))},e}(Array),Ye=function(t){function e(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=t.apply(this,n)||this;return Object.setPrototypeOf(r,e.prototype),r}return _e(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,We([void 0],t[0].concat(this)))):new(e.bind.apply(e,We([void 0],t.concat(this))))},e}(Array);function tn(t){return Nt(t)?ge(t,(function(){})):t}function en(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,n=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Qe;n&&(!function(t){return"boolean"==typeof t}(n)?i.push(Te.withExtraArgument(n.extraArgument)):i.push(Te));return i}(t)}}function nn(t){var e,n=en(),i=t||{},r=i.reducer,o=void 0===r?void 0:r,s=i.middleware,a=void 0===s?n():s,c=i.devTools,u=void 0===c||c,l=i.preloadedState,f=void 0===l?void 0:l,h=i.enhancers,d=void 0===h?void 0:h;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return e===n}(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Ae(o)}var v=a;"function"==typeof v&&(v=v(n));var p=Pe.apply(void 0,v),b=Ue;u&&(b=Xe(Ze({trace:!1},"object"==typeof u&&u)));var x=new Ye(p),m=x;return Array.isArray(d)?m=We([p],d):"function"==typeof d&&(m=d(x)),$e(e,f,b.apply(void 0,m))}function rn(t,e){function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var r=e.apply(void 0,n);if(!r)throw new Error("prepareAction did not return an object");return Ze(Ze({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:n[0]}}return n.toString=function(){return""+t},n.type=t,n.match=function(e){return e.type===t},n}function on(t){var e,n={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[n,i,e]}function sn(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var n,i="function"==typeof t.initialState?t.initialState:tn(t.initialState),r=t.reducers||{},o=Object.keys(r),s={},a={},c={};function u(){var e="function"==typeof t.extraReducers?on(t.extraReducers):[t.extraReducers],n=e[0],r=void 0===n?{}:n,o=e[1],s=void 0===o?[]:o,c=e[2],u=void 0===c?void 0:c,l=Ze(Ze({},r),a);return function(t,e,n,i){void 0===n&&(n=[]);var r,o="function"==typeof e?on(e):[e,n,i],s=o[0],a=o[1],c=o[2];if(function(t){return"function"==typeof t}(t))r=function(){return tn(t())};else{var u=tn(t);r=function(){return u}}function l(t,e){void 0===t&&(t=r());var n=We([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===n.filter((function(t){return!!t})).length&&(n=[c]),n.reduce((function(t,n){if(n){var i;if(Ct(t))return void 0===(i=n(t,e))?t:i;if(Nt(t))return ge(t,(function(t){return n(t,e)}));if(void 0===(i=n(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return l.getInitialState=r,l}(i,(function(t){for(var e in l)t.addCase(e,l[e]);for(var n=0,i=s;n<i.length;n++){var r=i[n];t.addMatcher(r.matcher,r.reducer)}u&&t.addDefaultCase(u)}))}return o.forEach((function(t){var n,i,o=r[t],u=e+"/"+t;"reducer"in o?(n=o.reducer,i=o.prepare):n=o,s[t]=n,a[u]=n,c[t]=i?rn(u,i):rn(u)})),{name:e,reducer:function(t,e){return n||(n=u()),n(t,e)},actions:c,caseReducers:s,getInitialState:function(){return n||(n=u()),n.getInitialState()}}}var an=["name","message","stack","code"],cn=function(t,e){this.payload=t,this.meta=e},un=function(t,e){this.payload=t,this.meta=e},ln=function(t){if("object"==typeof t&&null!==t){for(var e={},n=0,i=an;n<i.length;n++){var r=i[n];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function fn(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,n){var i=rn(t+"/fulfilled",(function(t,e,n,i){return{payload:t,meta:Ge(Ze({},i||{}),{arg:n,requestId:e,requestStatus:"fulfilled"})}})),r=rn(t+"/pending",(function(t,e,n){return{payload:void 0,meta:Ge(Ze({},n||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),o=rn(t+"/rejected",(function(t,e,i,r,o){return{payload:r,error:(n&&n.serializeError||ln)(t||"Rejected"),meta:Ge(Ze({},o||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,c,u){var l,f=(null==n?void 0:n.idGenerator)?n.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",n=t;n--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new s;function d(t){l=t,h.abort()}var v=function(){return s=this,v=null,p=function(){var s,v,p,b,x,m;return Be(this,(function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),b=null==(s=null==n?void 0:n.condition)?void 0:s.call(n,t,{getState:c,extra:u}),null===(w=b)||"object"!=typeof w||"function"!=typeof w.then?[3,2]:[4,b];case 1:b=y.sent(),y.label=2;case 2:if(!1===b||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return x=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:l||"Aborted"})}))})),a(r(f,t,null==(v=null==n?void 0:n.getPendingMeta)?void 0:v.call(n,{requestId:f,arg:t},{getState:c,extra:u}))),[4,Promise.race([x,Promise.resolve(e(t,{dispatch:a,getState:c,extra:u,requestId:f,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new cn(t,e)},fulfillWithValue:function(t,e){return new un(t,e)}})).then((function(e){if(e instanceof cn)throw e;return e instanceof un?i(e.payload,f,t,e.meta):i(e,f,t)}))])];case 3:return p=y.sent(),[3,5];case 4:return m=y.sent(),p=m instanceof cn?o(null,f,t,m.payload,m.meta):o(m,f,t),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(p)&&p.meta.condition||a(p),[2,p]}var w}))},new Promise((function(t,e){var n=function(t){try{r(p.next(t))}catch(t){e(t)}},i=function(t){try{r(p.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(n,i)};r((p=p.apply(s,v)).next())}));var s,v,p}();return Object.assign(v,{abort:d,requestId:f,arg:t,unwrap:function(){return v.then(fn)}})}}),{pending:r,rejected:o,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var hn,dn,vn="listenerMiddleware";rn(vn+"/add"),rn(vn+"/removeAll"),rn(vn+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var n=r[t];return n?n.enumerable=e:r[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[he];return xe.get(e,t)},set:function(e){var n=this[he];xe.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][he];if(!r.P)switch(r.i){case 5:i(r)&&Yt(r);break;case 4:n(r)&&Yt(r)}}}function n(t){for(var e=t.t,n=t.k,i=ve(n),r=i.length-1;r>=0;r--){var o=i[r];if(o!==he){var s=e[o];if(void 0===s&&!kt(e,o))return!0;var a=n[o],c=a&&a[he];if(c?c.t!==s:!At(a,s))return!0}}var u=!!e[he];return i.length!==ve(e).length+(u?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);if(n&&!n.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){be[t]||(be[t]=e)}("ES5",{J:function(e,n){var i=Array.isArray(e),r=function(e,n){if(e){for(var i=Array(n.length),r=0;r<n.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var o=pe(n);delete o[he];for(var s=ve(o),a=0;a<s.length;a++){var c=s[a];o[c]=t(c,e||!!o[c].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(i,e),o={i:i?5:4,A:n?n.A:Wt(),P:!1,I:!1,R:{},l:n,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,he,{value:o,writable:!0}),r},S:function(t,n,r){r?Ct(n)&&n[he].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var n=e[he];if(n){var r=n.t,o=n.k,s=n.R,a=n.i;if(4===a)Rt(o,(function(e){e!==he&&(void 0!==r[e]||kt(r,e)?s[e]||t(o[e]):(s[e]=!0,Yt(n)))})),Rt(r,(function(t){void 0!==o[t]||kt(o,t)||(s[t]=!1,Yt(n))}));else if(5===a){if(i(n)&&(Yt(n),s.length=!0),o.length<r.length)for(var c=o.length;c<r.length;c++)s[c]=!1;else for(var u=r.length;u<o.length;u++)s[u]=!0;for(var l=Math.min(o.length,r.length),f=0;f<l;f++)o.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(o[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?n(t):i(t)}})}();const pn=t=>{const e=null!=t?t:{};return(t,n)=>{var i;const r={hasChanged:(t,e)=>!u(t,e),attribute:!1,...e};s(r)(t,n);const o=t;o.reduxProperties=o.reduxProperties||new Map,o.reduxProperties.set(n,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[n],store:e.store})}},bn=Symbol("internalStoresUnsubscribers"),xn=Symbol("internalStores");class mn extends St{constructor(){super(...arguments),this[hn]=new Map,this[dn]=new Map}getUnnamedStore(){if(this[xn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[xn].get(t)}addStore(t,e){e=null!=e?e:yn(t)?t.name:void 0,this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[xn].delete(e)}setupStore(t,e){this[xn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[xn].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const n=this.constructor.getPropertyOptions(e);if(!(null==n?void 0:n.attribute)||!this.hasAttribute("string"==typeof(null==n?void 0:n.attribute)?n.attribute:e)){const n=this.getStore(t.store);n&&(this[e]=t.selector(n.getState(),this))}}))}subscribeToStore(t,e){this[bn].set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this[bn]).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this[bn].has(t)&&this[bn].get(t)(),this[bn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function yn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}hn=bn,dn=xn;class wn{static get(t){window.ftReduxStores||(window.ftReduxStores={});const e="string"==typeof t?t:t.name,n="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(yn(i))return i;if(null==n)return;const r=sn(n),o=nn({reducer:r.reducer});return window.ftReduxStores[n.name]=new wn(r,o)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,n)=>{const i=t[e];if(i)return(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),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(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()}}var gn,On;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(On=null===(gn=window.safari)||void 0===gn?void 0:gn.pushNotification)||void 0===On||On.toString());const Sn={colorError:pt.external(bt.colorError,"Design system"),fontFamily:pt.external(bt.contentFont,"Design system")},jn=m`
|
|
92
|
+
`;class jt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var n,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(n=this.labels[t])&&void 0!==n?n:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,n)=>this.formatValue(t,n))))),r}resolvePluralKey(t,e){for(let n of e)if("number"==typeof n){const e=`${String(t)}[\\=${n}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const n=n=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(n):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(n):t.toLocaleString(n);try{return n(document.documentElement.lang)}catch(t){return n()}}}function Et(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ct(t){return!!t&&!!t[he]}function Nt(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===de}(t)||Array.isArray(t)||!!t[fe]||!!(null===(e=t.constructor)||void 0===e?void 0:e[fe])||Ut(t)||Pt(t))}function Rt(t,e,n){void 0===n&&(n=!1),0===Mt(t)?(n?Object.keys:ve)(t).forEach((function(i){n&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(n,i){return e(i,n,t)}))}function Mt(t){var e=t[he];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ut(t)?2:Pt(t)?3:0}function kt(t,e){return 2===Mt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function $t(t,e,n){var i=Mt(t);2===i?t.set(e,n):3===i?t.add(n):t[e]=n}function At(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Ut(t){return ae&&t instanceof Map}function Pt(t){return ce&&t instanceof Set}function Ft(t){return t.o||t.t}function Lt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=pe(t);delete e[he];for(var n=ve(e),i=0;i<n.length;i++){var r=n[i],o=e[r];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[r]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function It(t,e){return void 0===e&&(e=!1),_t(t)||Ct(t)||!Nt(t)||(Mt(t)>1&&(t.set=t.add=t.clear=t.delete=Tt),Object.freeze(t),e&&Rt(t,(function(t,e){return It(e,!0)}),!0)),t}function Tt(){Et(2)}function _t(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Bt(t){var e=be[t];return e||Et(18,t),e}function Wt(){return oe}function Dt(t,e){e&&(Bt("Patches"),t.u=[],t.s=[],t.v=e)}function Kt(t){zt(t),t.p.forEach(qt),t.p=null}function zt(t){t===oe&&(oe=t.l)}function Ht(t){return oe={p:[],l:oe,h:t,m:!0,_:0}}function qt(t){var e=t[he];0===e.i||1===e.i?e.j():e.g=!0}function Vt(t,e){e._=e.p.length;var n=e.p[0],i=void 0!==t&&t!==n;return e.h.O||Bt("ES5").S(e,t,i),i?(n[he].P&&(Kt(e),Et(4)),Nt(t)&&(t=Jt(e,t),e.l||Gt(e,t)),e.u&&Bt("Patches").M(n[he].t,t,e.u,e.s)):t=Jt(e,n,[]),Kt(e),e.u&&e.v(e.u,e.s),t!==le?t:void 0}function Jt(t,e,n){if(_t(e))return e;var i=e[he];if(!i)return Rt(e,(function(r,o){return Zt(t,i,e,r,o,n)}),!0),e;if(i.A!==t)return e;if(!i.P)return Gt(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=Lt(i.k):i.o,o=r,s=!1;3===i.i&&(o=new Set(r),r.clear(),s=!0),Rt(o,(function(e,o){return Zt(t,i,r,e,o,n,s)})),Gt(t,r,!1),n&&t.u&&Bt("Patches").N(i,n,t.u,t.s)}return i.o}function Zt(t,e,n,i,r,o,s){if(Ct(r)){var a=Jt(t,r,o&&e&&3!==e.i&&!kt(e.R,i)?o.concat(i):void 0);if($t(n,i,a),!Ct(a))return;t.m=!1}else s&&n.add(r);if(Nt(r)&&!_t(r)){if(!t.h.D&&t._<1)return;Jt(t,r),e&&e.A.l||Gt(t,r)}}function Gt(t,e,n){void 0===n&&(n=!1),!t.l&&t.h.D&&t.m&&It(e,n)}function Xt(t,e){var n=t[he];return(n?Ft(n):t)[e]}function Qt(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var i=Object.getOwnPropertyDescriptor(n,e);if(i)return i;n=Object.getPrototypeOf(n)}}function Yt(t){t.P||(t.P=!0,t.l&&Yt(t.l))}function te(t){t.o||(t.o=Lt(t.t))}function ee(t,e,n){var i=Ut(e)?Bt("MapSet").F(e,n):Pt(e)?Bt("MapSet").T(e,n):t.O?function(t,e){var n=Array.isArray(t),i={i:n?1:0,A:e?e.A:Wt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,o=xe;n&&(r=[i],o=me);var s=Proxy.revocable(r,o),a=s.revoke,c=s.proxy;return i.k=c,i.j=a,c}(e,n):Bt("ES5").J(e,n);return(n?n.A:Wt()).p.push(i),i}function ne(t){return Ct(t)||Et(22,t),function t(e){if(!Nt(e))return e;var n,i=e[he],r=Mt(e);if(i){if(!i.P&&(i.i<4||!Bt("ES5").K(i)))return i.t;i.I=!0,n=ie(e,r),i.I=!1}else n=ie(e,r);return Rt(n,(function(e,r){i&&function(t,e){return 2===Mt(t)?t.get(e):t[e]}(i.t,e)===r||$t(n,e,t(r))})),3===r?new Set(n):n}(t)}function ie(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Lt(t)}var re,oe,se="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ae="undefined"!=typeof Map,ce="undefined"!=typeof Set,ue="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,le=se?Symbol.for("immer-nothing"):((re={})["immer-nothing"]=!0,re),fe=se?Symbol.for("immer-draftable"):"__$immer_draftable",he=se?Symbol.for("immer-state"):"__$immer_state",de=""+Object.prototype.constructor,ve="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,pe=Object.getOwnPropertyDescriptors||function(t){var e={};return ve(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},be={},xe={get:function(t,e){if(e===he)return t;var n=Ft(t);if(!kt(n,e))return function(t,e,n){var i,r=Qt(e,n);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,n,e);var i=n[e];return t.I||!Nt(i)?i:i===Xt(t.t,e)?(te(t),t.o[e]=ee(t.A.h,i,t)):i},has:function(t,e){return e in Ft(t)},ownKeys:function(t){return Reflect.ownKeys(Ft(t))},set:function(t,e,n){var i=Qt(Ft(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,n),!0;if(!t.P){var r=Xt(Ft(t),e),o=null==r?void 0:r[he];if(o&&o.t===n)return t.o[e]=n,t.R[e]=!1,!0;if(At(n,r)&&(void 0!==n||kt(t.t,e)))return!0;te(t),Yt(t)}return t.o[e]===n&&(void 0!==n||e in t.o)||Number.isNaN(n)&&Number.isNaN(t.o[e])||(t.o[e]=n,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Xt(t.t,e)||e in t.t?(t.R[e]=!1,te(t),Yt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=Ft(t),i=Reflect.getOwnPropertyDescriptor(n,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:n[e]}:i},defineProperty:function(){Et(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Et(12)}},me={};Rt(xe,(function(t,e){me[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),me.deleteProperty=function(t,e){return me.set.call(this,t,e,void 0)},me.set=function(t,e,n){return xe.set.call(this,t[0],e,n,t[0])};var ye=function(){function t(t){var e=this;this.O=ue,this.D=!0,this.produce=function(t,n,i){if("function"==typeof t&&"function"!=typeof n){var r=n;n=t;var o=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,s=Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return o.produce(t,(function(t){var i;return(i=n).call.apply(i,[e,t].concat(s))}))}}var s;if("function"!=typeof n&&Et(6),void 0!==i&&"function"!=typeof i&&Et(7),Nt(t)){var a=Ht(e),c=ee(e,t,void 0),u=!0;try{s=n(c),u=!1}finally{u?Kt(a):zt(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return Dt(a,i),Vt(t,a)}),(function(t){throw Kt(a),t})):(Dt(a,i),Vt(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=n(t))&&(s=t),s===le&&(s=void 0),e.D&&It(s,!0),i){var l=[],f=[];Bt("Patches").M(t,s,l,f),i(l,f)}return s}Et(21,t)},this.produceWithPatches=function(t,n){if("function"==typeof t)return function(n){for(var i=arguments.length,r=Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];return e.produceWithPatches(n,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,o=e.produce(t,n,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,i,r]})):[o,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Nt(t)||Et(8),Ct(t)&&(t=ne(t));var e=Ht(this),n=ee(this,t,void 0);return n[he].C=!0,zt(e),n},e.finishDraft=function(t,e){var n=(t&&t[he]).A;return Dt(n,e),Vt(void 0,n)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ue&&Et(20),this.O=t},e.applyPatches=function(t,e){var n;for(n=e.length-1;n>=0;n--){var i=e[n];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}n>-1&&(e=e.slice(n+1));var r=Bt("Patches").$;return Ct(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),we=new ye,ge=we.produce;function Oe(t){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oe(t)}function Se(t){var e=function(t,e){if("object"!==Oe(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!==Oe(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Oe(e)?e:String(e)}function je(t,e,n){return(e=Se(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ee(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ee(Object(n),!0).forEach((function(e){je(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ne(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}we.produceWithPatches.bind(we),we.setAutoFreeze.bind(we),we.setUseProxies.bind(we),we.applyPatches.bind(we),we.createDraft.bind(we),we.finishDraft.bind(we);var Re="function"==typeof Symbol&&Symbol.observable||"@@observable",Me=function(){return Math.random().toString(36).substring(7).split("").join(".")},ke={INIT:"@@redux/INIT"+Me(),REPLACE:"@@redux/REPLACE"+Me(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Me()}};function $e(t,e,n){var i;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Ne(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Ne(1));return n($e)(t,e)}if("function"!=typeof t)throw new Error(Ne(2));var r=t,o=e,s=[],a=s,c=!1;function u(){a===s&&(a=s.slice())}function l(){if(c)throw new Error(Ne(3));return o}function f(t){if("function"!=typeof t)throw new Error(Ne(4));if(c)throw new Error(Ne(5));var e=!0;return u(),a.push(t),function(){if(e){if(c)throw new Error(Ne(6));e=!1,u();var n=a.indexOf(t);a.splice(n,1),s=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Ne(7));if(void 0===t.type)throw new Error(Ne(8));if(c)throw new Error(Ne(9));try{c=!0,o=r(o,t)}finally{c=!1}for(var e=s=a,n=0;n<e.length;n++){(0,e[n])()}return t}return h({type:ke.INIT}),(i={dispatch:h,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ne(10));r=t,h({type:ke.REPLACE})}})[Re]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ne(11));function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[Re]=function(){return this},t},i}function Ae(t){for(var e=Object.keys(t),n={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(n[r]=t[r])}var o,s=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:ke.INIT}))throw new Error(Ne(12));if(void 0===n(void 0,{type:ke.PROBE_UNKNOWN_ACTION()}))throw new Error(Ne(13))}))}(n)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var i=!1,r={},a=0;a<s.length;a++){var c=s[a],u=n[c],l=t[c],f=u(l,e);if(void 0===f)throw e&&e.type,new Error(Ne(14));r[c]=f,i=i||f!==l}return(i=i||s.length!==Object.keys(t).length)?r:t}}function Ue(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Pe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),i=function(){throw new Error(Ne(15))},r={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},o=e.map((function(t){return t(r)}));return i=Ue.apply(void 0,o)(n.dispatch),Ce(Ce({},n),{},{dispatch:i})}}}function Fe(t){return function(e){var n=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(n,i,t):e(r)}}}}var Le=Fe();Le.withExtraArgument=Fe;var Ie,Te=Le,_e=(Ie=function(t,e){return Ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Ie(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Ie(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Be=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},We=function(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t},De=Object.defineProperty,Ke=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Je=function(t,e,n){return e in t?De(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Ze=function(t,e){for(var n in e||(e={}))qe.call(e,n)&&Je(t,n,e[n]);if(He)for(var i=0,r=He(e);i<r.length;i++){n=r[i];Ve.call(e,n)&&Je(t,n,e[n])}return t},Ge=function(t,e){return Ke(t,ze(e))},Xe="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ue:Ue.apply(null,arguments)};var Qe=function(t){function e(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=t.apply(this,n)||this;return Object.setPrototypeOf(r,e.prototype),r}return _e(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,We([void 0],t[0].concat(this)))):new(e.bind.apply(e,We([void 0],t.concat(this))))},e}(Array),Ye=function(t){function e(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=t.apply(this,n)||this;return Object.setPrototypeOf(r,e.prototype),r}return _e(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,We([void 0],t[0].concat(this)))):new(e.bind.apply(e,We([void 0],t.concat(this))))},e}(Array);function tn(t){return Nt(t)?ge(t,(function(){})):t}function en(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,n=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Qe;n&&(!function(t){return"boolean"==typeof t}(n)?i.push(Te.withExtraArgument(n.extraArgument)):i.push(Te));return i}(t)}}function nn(t){var e,n=en(),i=t||{},r=i.reducer,o=void 0===r?void 0:r,s=i.middleware,a=void 0===s?n():s,c=i.devTools,u=void 0===c||c,l=i.preloadedState,f=void 0===l?void 0:l,h=i.enhancers,d=void 0===h?void 0:h;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return e===n}(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Ae(o)}var v=a;"function"==typeof v&&(v=v(n));var p=Pe.apply(void 0,v),b=Ue;u&&(b=Xe(Ze({trace:!1},"object"==typeof u&&u)));var x=new Ye(p),m=x;return Array.isArray(d)?m=We([p],d):"function"==typeof d&&(m=d(x)),$e(e,f,b.apply(void 0,m))}function rn(t,e){function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var r=e.apply(void 0,n);if(!r)throw new Error("prepareAction did not return an object");return Ze(Ze({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:n[0]}}return n.toString=function(){return""+t},n.type=t,n.match=function(e){return e.type===t},n}function on(t){var e,n={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in n)throw new Error("addCase cannot be called with two reducers for the same action type");return n[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[n,i,e]}function sn(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var n,i="function"==typeof t.initialState?t.initialState:tn(t.initialState),r=t.reducers||{},o=Object.keys(r),s={},a={},c={};function u(){var e="function"==typeof t.extraReducers?on(t.extraReducers):[t.extraReducers],n=e[0],r=void 0===n?{}:n,o=e[1],s=void 0===o?[]:o,c=e[2],u=void 0===c?void 0:c,l=Ze(Ze({},r),a);return function(t,e,n,i){void 0===n&&(n=[]);var r,o="function"==typeof e?on(e):[e,n,i],s=o[0],a=o[1],c=o[2];if(function(t){return"function"==typeof t}(t))r=function(){return tn(t())};else{var u=tn(t);r=function(){return u}}function l(t,e){void 0===t&&(t=r());var n=We([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===n.filter((function(t){return!!t})).length&&(n=[c]),n.reduce((function(t,n){if(n){var i;if(Ct(t))return void 0===(i=n(t,e))?t:i;if(Nt(t))return ge(t,(function(t){return n(t,e)}));if(void 0===(i=n(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return l.getInitialState=r,l}(i,(function(t){for(var e in l)t.addCase(e,l[e]);for(var n=0,i=s;n<i.length;n++){var r=i[n];t.addMatcher(r.matcher,r.reducer)}u&&t.addDefaultCase(u)}))}return o.forEach((function(t){var n,i,o=r[t],u=e+"/"+t;"reducer"in o?(n=o.reducer,i=o.prepare):n=o,s[t]=n,a[u]=n,c[t]=i?rn(u,i):rn(u)})),{name:e,reducer:function(t,e){return n||(n=u()),n(t,e)},actions:c,caseReducers:s,getInitialState:function(){return n||(n=u()),n.getInitialState()}}}var an=["name","message","stack","code"],cn=function(t,e){this.payload=t,this.meta=e},un=function(t,e){this.payload=t,this.meta=e},ln=function(t){if("object"==typeof t&&null!==t){for(var e={},n=0,i=an;n<i.length;n++){var r=i[n];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function fn(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,n){var i=rn(t+"/fulfilled",(function(t,e,n,i){return{payload:t,meta:Ge(Ze({},i||{}),{arg:n,requestId:e,requestStatus:"fulfilled"})}})),r=rn(t+"/pending",(function(t,e,n){return{payload:void 0,meta:Ge(Ze({},n||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),o=rn(t+"/rejected",(function(t,e,i,r,o){return{payload:r,error:(n&&n.serializeError||ln)(t||"Rejected"),meta:Ge(Ze({},o||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,c,u){var l,f=(null==n?void 0:n.idGenerator)?n.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",n=t;n--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new s;function d(t){l=t,h.abort()}var v=function(){return s=this,v=null,p=function(){var s,v,p,b,x,m;return Be(this,(function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),b=null==(s=null==n?void 0:n.condition)?void 0:s.call(n,t,{getState:c,extra:u}),null===(w=b)||"object"!=typeof w||"function"!=typeof w.then?[3,2]:[4,b];case 1:b=y.sent(),y.label=2;case 2:if(!1===b||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return x=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:l||"Aborted"})}))})),a(r(f,t,null==(v=null==n?void 0:n.getPendingMeta)?void 0:v.call(n,{requestId:f,arg:t},{getState:c,extra:u}))),[4,Promise.race([x,Promise.resolve(e(t,{dispatch:a,getState:c,extra:u,requestId:f,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new cn(t,e)},fulfillWithValue:function(t,e){return new un(t,e)}})).then((function(e){if(e instanceof cn)throw e;return e instanceof un?i(e.payload,f,t,e.meta):i(e,f,t)}))])];case 3:return p=y.sent(),[3,5];case 4:return m=y.sent(),p=m instanceof cn?o(null,f,t,m.payload,m.meta):o(m,f,t),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(p)&&p.meta.condition||a(p),[2,p]}var w}))},new Promise((function(t,e){var n=function(t){try{r(p.next(t))}catch(t){e(t)}},i=function(t){try{r(p.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(n,i)};r((p=p.apply(s,v)).next())}));var s,v,p}();return Object.assign(v,{abort:d,requestId:f,arg:t,unwrap:function(){return v.then(fn)}})}}),{pending:r,rejected:o,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var hn,dn,vn="listenerMiddleware";rn(vn+"/add"),rn(vn+"/removeAll"),rn(vn+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var n=r[t];return n?n.enumerable=e:r[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[he];return xe.get(e,t)},set:function(e){var n=this[he];xe.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][he];if(!r.P)switch(r.i){case 5:i(r)&&Yt(r);break;case 4:n(r)&&Yt(r)}}}function n(t){for(var e=t.t,n=t.k,i=ve(n),r=i.length-1;r>=0;r--){var o=i[r];if(o!==he){var s=e[o];if(void 0===s&&!kt(e,o))return!0;var a=n[o],c=a&&a[he];if(c?c.t!==s:!At(a,s))return!0}}var u=!!e[he];return i.length!==ve(e).length+(u?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);if(n&&!n.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){be[t]||(be[t]=e)}("ES5",{J:function(e,n){var i=Array.isArray(e),r=function(e,n){if(e){for(var i=Array(n.length),r=0;r<n.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var o=pe(n);delete o[he];for(var s=ve(o),a=0;a<s.length;a++){var c=s[a];o[c]=t(c,e||!!o[c].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(i,e),o={i:i?5:4,A:n?n.A:Wt(),P:!1,I:!1,R:{},l:n,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,he,{value:o,writable:!0}),r},S:function(t,n,r){r?Ct(n)&&n[he].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var n=e[he];if(n){var r=n.t,o=n.k,s=n.R,a=n.i;if(4===a)Rt(o,(function(e){e!==he&&(void 0!==r[e]||kt(r,e)?s[e]||t(o[e]):(s[e]=!0,Yt(n)))})),Rt(r,(function(t){void 0!==o[t]||kt(o,t)||(s[t]=!1,Yt(n))}));else if(5===a){if(i(n)&&(Yt(n),s.length=!0),o.length<r.length)for(var c=o.length;c<r.length;c++)s[c]=!1;else for(var u=r.length;u<o.length;u++)s[u]=!0;for(var l=Math.min(o.length,r.length),f=0;f<l;f++)o.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(o[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?n(t):i(t)}})}();const pn=t=>{const e=null!=t?t:{};return(t,n)=>{var i;const r={hasChanged:(t,e)=>!u(t,e),attribute:!1,...e};s(r)(t,n);const o=t;o.reduxProperties=o.reduxProperties||new Map,o.reduxProperties.set(n,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[n],store:e.store})}},bn=Symbol("internalStoresUnsubscribers"),xn=Symbol("internalStores");class mn extends St{constructor(){super(...arguments),this[hn]=new Map,this[dn]=new Map}getUnnamedStore(){if(this[xn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[xn].get(t)}addStore(t,e){var n;e=null!==(n=null!=e?e:yn(t)?t.name:void 0)&&void 0!==n?n:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[xn].delete(e)}setupStore(t,e){this[xn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[xn].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const n=this.constructor.getPropertyOptions(e);if(!(null==n?void 0:n.attribute)||!this.hasAttribute("string"==typeof(null==n?void 0:n.attribute)?n.attribute:e)){const n=this.getStore(t.store);n&&(this[e]=t.selector(n.getState(),this))}}))}subscribeToStore(t,e){this[bn].set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this[bn]).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this[bn].has(t)&&this[bn].get(t)(),this[bn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function yn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}hn=bn,dn=xn;class wn{static get(t){window.ftReduxStores||(window.ftReduxStores={});const e="string"==typeof t?t:t.name,n="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(yn(i))return i;if(null==n)return;const r=sn(n),o=nn({reducer:r.reducer});return window.ftReduxStores[n.name]=new wn(r,o)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,n)=>{const i=t[e];if(i)return(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),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(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()}}var gn,On;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(On=null===(gn=window.safari)||void 0===gn?void 0:gn.pushNotification)||void 0===On||On.toString());const Sn={colorError:pt.external(bt.colorError,"Design system"),fontFamily:pt.external(bt.contentFont,"Design system")},jn=m`
|
|
93
93
|
.topic {
|
|
94
94
|
font-family: ${Sn.fontFamily};
|
|
95
95
|
overflow-x: auto;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-topic-content",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Content of a topic in integrated reader.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-chip": "1.0.
|
|
23
|
-
"@fluid-topics/ft-i18n": "1.0.
|
|
24
|
-
"@fluid-topics/ft-reader-context": "1.0.
|
|
25
|
-
"@fluid-topics/ft-reader-topic-context": "1.0.
|
|
26
|
-
"@fluid-topics/ft-tooltip": "1.0.
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-chip": "1.0.9",
|
|
23
|
+
"@fluid-topics/ft-i18n": "1.0.9",
|
|
24
|
+
"@fluid-topics/ft-reader-context": "1.0.9",
|
|
25
|
+
"@fluid-topics/ft-reader-topic-context": "1.0.9",
|
|
26
|
+
"@fluid-topics/ft-tooltip": "1.0.9",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "1.0.9",
|
|
28
28
|
"@fluid-topics/public-api": "1.0.34",
|
|
29
29
|
"lit": "2.7.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "33ec465f5c0ea39fc825eaecfba336841f69a3e3"
|
|
32
32
|
}
|