@fluid-topics/ft-reader-toc 1.0.13 → 1.0.15

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.
@@ -3,13 +3,13 @@
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
- */var f;const c=window,u=c.trustedTypes,g=u?u.createPolicy("lit-html",{createHTML:t=>t}):void 0,x="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,y="?"+v,b=`<${y}>`,m=document,$=()=>m.createComment(""),w=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,z="[ \t\n\f\r]",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,N=/>/g,I=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),A=/'/g,O=/"/g,E=/^(?:script|style|textarea|title)$/i,j=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),T=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),L=new WeakMap,_=m.createTreeWalker(m,129,null,!1),F=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=S;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,a=r.exec(i),null!==a);)p=r.lastIndex,r===S?"!--"===a[1]?r=C:void 0!==a[1]?r=N:void 0!==a[2]?(E.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=I):void 0!==a[3]&&(r=I):r===I?">"===a[0]?(r=null!=n?n:S,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?I:'"'===a[3]?O:A):r===O||r===A?r=I:r===C||r===N?r=S:(r=I,n=void 0);const d=r===I&&t[e+1].startsWith("/>")?" ":"";s+=r===S?i+b:h>=0?(o.push(l),i.slice(0,h)+x+i.slice(h)+v+d):i+v+(-2===h?(o.push(void 0),e):d)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==g?g.createHTML(l):l,o]};class M{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,h]=F(t,e);if(this.el=M.createElement(a,i),_.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=_.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(x)||e.startsWith(v)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+x).split(v),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?W:"?"===e[1]?H:"@"===e[1]?G:R})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(E.test(o.tagName)){const t=o.textContent.split(v),e=t.length-1;if(e>0){o.textContent=u?u.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],$()),_.nextNode(),l.push({type:2,index:++n});o.append(t[e],$())}}}else if(8===o.nodeType)if(o.data===y)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(v,t+1));)l.push({type:7,index:n}),t+=v.length-1}n++}}static createElement(t,e){const i=m.createElement("template");return i.innerHTML=t,i}}function U(t,e,i=t,o){var n,s,r,l;if(e===T)return e;let a=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=w(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=U(t,a._$AS(t,e.values),a,o)),e}class Z{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:m).importNode(i,!0);_.currentNode=n;let s=_.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new P(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new K(s,this,t)),this._$AV.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=_.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class P{constructor(t,e,i,o){var n;this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=U(this,t,e),w(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>k(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==B&&w(this._$AH)?this._$AA.nextSibling.data=t:this.$(m.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=M.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new Z(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=L.get(t.strings);return void 0===e&&L.set(t.strings,e=new M(t)),e}T(t){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new P(this.k($()),this.k($()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class R{constructor(t,e,i,o,n){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=U(this,t,e,0),s=!w(t)||t!==this._$AH&&t!==T,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=U(this,o[i+r],e,r),l===T&&(l=this._$AH[r]),s||(s=!w(l)||l!==this._$AH[r]),l===B?t=B:t!==B&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class W extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===B?void 0:t}}const D=u?u.emptyScript:"";class H extends R{constructor(){super(...arguments),this.type=4}j(t){t&&t!==B?this.element.setAttribute(this.name,D):this.element.removeAttribute(this.name)}}class G extends R{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=U(this,t,e,0))&&void 0!==i?i:B)===T)return;const o=this._$AH,n=t===B&&o!==B||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==B&&(o===B||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class K{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}}const V=c.litHtmlPolyfillSupport;null==V||V(M,P),(null!==(f=c.litHtmlVersions)&&void 0!==f?f:c.litHtmlVersions=[]).push("2.7.3");
6
+ */var f;const c=window,u=c.trustedTypes,x=u?u.createPolicy("lit-html",{createHTML:t=>t}):void 0,g="$lit$",v=`lit$${(Math.random()+"").slice(9)}$`,y="?"+v,b=`<${y}>`,m=document,$=()=>m.createComment(""),w=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,z="[ \t\n\f\r]",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,N=/>/g,I=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),A=/'/g,O=/"/g,E=/^(?:script|style|textarea|title)$/i,j=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),T=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),L=new WeakMap,_=m.createTreeWalker(m,129,null,!1),F=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=S;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,a=r.exec(i),null!==a);)p=r.lastIndex,r===S?"!--"===a[1]?r=C:void 0!==a[1]?r=N:void 0!==a[2]?(E.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=I):void 0!==a[3]&&(r=I):r===I?">"===a[0]?(r=null!=n?n:S,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?I:'"'===a[3]?O:A):r===O||r===A?r=I:r===C||r===N?r=S:(r=I,n=void 0);const d=r===I&&t[e+1].startsWith("/>")?" ":"";s+=r===S?i+b:h>=0?(o.push(l),i.slice(0,h)+g+i.slice(h)+v+d):i+v+(-2===h?(o.push(void 0),e):d)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==x?x.createHTML(l):l,o]};class M{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,h]=F(t,e);if(this.el=M.createElement(a,i),_.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=_.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(g)||e.startsWith(v)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+g).split(v),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?W:"?"===e[1]?H:"@"===e[1]?G:R})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(E.test(o.tagName)){const t=o.textContent.split(v),e=t.length-1;if(e>0){o.textContent=u?u.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],$()),_.nextNode(),l.push({type:2,index:++n});o.append(t[e],$())}}}else if(8===o.nodeType)if(o.data===y)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(v,t+1));)l.push({type:7,index:n}),t+=v.length-1}n++}}static createElement(t,e){const i=m.createElement("template");return i.innerHTML=t,i}}function U(t,e,i=t,o){var n,s,r,l;if(e===T)return e;let a=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=w(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=U(t,a._$AS(t,e.values),a,o)),e}class Z{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:m).importNode(i,!0);_.currentNode=n;let s=_.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new P(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new K(s,this,t)),this._$AV.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=_.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class P{constructor(t,e,i,o){var n;this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=U(this,t,e),w(t)?t===B||null==t||""===t?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>k(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==B&&w(this._$AH)?this._$AA.nextSibling.data=t:this.$(m.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=M.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new Z(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=L.get(t.strings);return void 0===e&&L.set(t.strings,e=new M(t)),e}T(t){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new P(this.k($()),this.k($()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class R{constructor(t,e,i,o,n){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=U(this,t,e,0),s=!w(t)||t!==this._$AH&&t!==T,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=U(this,o[i+r],e,r),l===T&&(l=this._$AH[r]),s||(s=!w(l)||l!==this._$AH[r]),l===B?t=B:t!==B&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class W extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===B?void 0:t}}const D=u?u.emptyScript:"";class H extends R{constructor(){super(...arguments),this.type=4}j(t){t&&t!==B?this.element.setAttribute(this.name,D):this.element.removeAttribute(this.name)}}class G extends R{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=U(this,t,e,0))&&void 0!==i?i:B)===T)return;const o=this._$AH,n=t===B&&o!==B||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==B&&(o===B||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class K{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}}const V=c.litHtmlPolyfillSupport;null==V||V(M,P),(null!==(f=c.litHtmlVersions)&&void 0!==f?f:c.litHtmlVersions=[]).push("2.7.3");
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2020 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
- const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t._$litStatic$},Y=t=>({_$litStatic$:t,r:X}),J=new Map,Q=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,h=0,p=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(s=i[h],n=q(s));)a+=n+e[++h],p=!0;h!==o&&l.push(s),r.push(a),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=J.get(t))&&(r.raw=r,J.set(t,e=r)),i=l}return t(e,...i)})(j);var tt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(tt||(tt={}));const et=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),it=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),ot={fontFamily:it,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},nt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",et),st=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",ot.fontSize,"20px"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ot.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ot.letterSpacing,"0.15px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",ot.lineHeight,"1.2"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ot.textTransform,"inherit"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",et),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ot.fontSize,"14px"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ot.fontWeight,"normal"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ot.letterSpacing,"0.105px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ot.lineHeight,"1.7"),gt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ot.textTransform,"inherit"),xt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",it),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ot.fontSize,"16px"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ot.fontWeight,"600"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ot.letterSpacing,"0.144px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ot.lineHeight,"1.5"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ot.textTransform,"inherit"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",it),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ot.fontSize,"14px"),zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ot.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ot.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ot.lineHeight,"1.7"),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ot.textTransform,"inherit"),It=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",it),At=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ot.fontSize,"16px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ot.fontWeight,"normal"),Et=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ot.letterSpacing,"0.496px"),jt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ot.lineHeight,"1.5"),Tt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ot.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",it),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ot.fontSize,"14px"),_t=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ot.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ot.letterSpacing,"0.252px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ot.lineHeight,"1.4"),Ut=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ot.textTransform,"inherit"),Zt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",it),Pt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ot.fontSize,"12px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ot.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ot.letterSpacing,"0.396px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ot.lineHeight,"1.33"),Ht=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ot.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",it),Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ot.fontSize,"10px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ot.fontWeight,"normal"),Xt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ot.letterSpacing,"0.33px"),qt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ot.lineHeight,"1.6"),Yt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ot.textTransform,"inherit"),Jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",it),Qt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ot.fontSize,"10px"),te=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ot.fontWeight,"normal"),ee=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ot.letterSpacing,"1.5px"),ie=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ot.lineHeight,"1.6"),oe=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ot.textTransform,"uppercase"),ne={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family",it),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size",ot.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ot.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ot.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height",ot.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ot.textTransform,"uppercase")},se=i.css`
12
+ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t._$litStatic$},Y=t=>({_$litStatic$:t,r:X}),J=new Map,Q=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,h=0,p=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(s=i[h],n=q(s));)a+=n+e[++h],p=!0;h!==o&&l.push(s),r.push(a),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=J.get(t))&&(r.raw=r,J.set(t,e=r)),i=l}return t(e,...i)})(j);var tt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(tt||(tt={}));const et=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),it=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),ot={fontFamily:it,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},nt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",et),st=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",ot.fontSize,"20px"),rt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ot.fontWeight,"normal"),lt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ot.letterSpacing,"0.15px"),at=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",ot.lineHeight,"1.2"),ht=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ot.textTransform,"inherit"),pt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",et),dt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ot.fontSize,"14px"),ft=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ot.fontWeight,"normal"),ct=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ot.letterSpacing,"0.105px"),ut=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ot.lineHeight,"1.7"),xt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ot.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",it),vt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ot.fontSize,"16px"),yt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ot.fontWeight,"600"),bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ot.letterSpacing,"0.144px"),mt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ot.lineHeight,"1.5"),$t=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ot.textTransform,"inherit"),wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",it),kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ot.fontSize,"14px"),zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ot.fontWeight,"normal"),St=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ot.letterSpacing,"0.098px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ot.lineHeight,"1.7"),Nt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ot.textTransform,"inherit"),It=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",it),At=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ot.fontSize,"16px"),Ot=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ot.fontWeight,"normal"),Et=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ot.letterSpacing,"0.496px"),jt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ot.lineHeight,"1.5"),Tt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ot.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",it),Lt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ot.fontSize,"14px"),_t=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ot.fontWeight,"normal"),Ft=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ot.letterSpacing,"0.252px"),Mt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ot.lineHeight,"1.4"),Ut=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ot.textTransform,"inherit"),Zt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",it),Pt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ot.fontSize,"12px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ot.fontWeight,"normal"),Wt=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ot.letterSpacing,"0.396px"),Dt=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ot.lineHeight,"1.33"),Ht=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ot.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",it),Kt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ot.fontSize,"10px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ot.fontWeight,"normal"),Xt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ot.letterSpacing,"0.33px"),qt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ot.lineHeight,"1.6"),Yt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ot.textTransform,"inherit"),Jt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",it),Qt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ot.fontSize,"10px"),te=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ot.fontWeight,"normal"),ee=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ot.letterSpacing,"1.5px"),ie=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ot.lineHeight,"1.6"),oe=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ot.textTransform,"uppercase"),ne={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family",it),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size",ot.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ot.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ot.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height",ot.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ot.textTransform,"uppercase")},se=i.css`
13
13
  .ft-typography--title {
14
14
  font-family: ${nt};
15
15
  font-size: ${st};
@@ -25,11 +25,11 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
25
25
  font-weight: ${ft};
26
26
  letter-spacing: ${ct};
27
27
  line-height: ${ut};
28
- text-transform: ${gt};
28
+ text-transform: ${xt};
29
29
  }
30
30
  `,le=i.css`
31
31
  .ft-typography--subtitle1 {
32
- font-family: ${xt};
32
+ font-family: ${gt};
33
33
  font-size: ${vt};
34
34
  font-weight: ${yt};
35
35
  letter-spacing: ${bt};
@@ -100,18 +100,18 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
100
100
  line-height: ${ne.lineHeight};
101
101
  text-transform: ${ne.textTransform};
102
102
  }
103
- `,ge=i.css`
103
+ `,xe=i.css`
104
104
  .ft-typography {
105
105
  vertical-align: inherit;
106
106
  }
107
- `;var xe=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ve extends e.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?Q`
107
+ `;var ge=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ve extends e.FtLitElement{constructor(){super(...arguments),this.variant=tt.body1}render(){return this.element?Q`
108
108
  <${Y(this.element)}
109
109
  class="ft-typography ft-typography--${this.variant}">
110
110
  <slot></slot>
111
111
  </${Y(this.element)}>
112
112
  `:Q`
113
113
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
114
- `}}ve.styles=[se,re,le,ae,he,pe,de,fe,ce,ue,ge],xe([r.property()],ve.prototype,"element",void 0),xe([r.property()],ve.prototype,"variant",void 0),e.customElement("ft-typography")(ve);const ye=e.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color",e.designSystemVariables.colorPrimary),be=i.css`
114
+ `}}ve.styles=[se,re,le,ae,he,pe,de,fe,ce,ue,xe],ge([r.property()],ve.prototype,"element",void 0),ge([r.property()],ve.prototype,"variant",void 0),e.customElement("ft-typography")(ve);const ye=e.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color",e.designSystemVariables.colorPrimary),be=i.css`
115
115
  :host {
116
116
  display: contents;
117
117
  }
@@ -130,7 +130,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
130
130
  @click=${t=>this.onLinkClick(t)}>
131
131
  <slot></slot>
132
132
  </a>
133
- `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),this.tocId&&(null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber)),this.click())}}ke.styles=be,we([r.property()],ke.prototype,"tocId",void 0),we([r.property()],ke.prototype,"section",void 0),we([r.property({type:Number})],ke.prototype,"pageNumber",void 0),we([r.property({type:Boolean})],ke.prototype,"removeStyle",void 0),e.customElement("ft-reader-internal-link")(ke),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;"}(me||(me={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}($e||($e={})),new Map([...["abw"].map((t=>[t,$e.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,$e.AUDIO])),...["avi"].map((t=>[t,$e.AVI])),...["chm","xhs"].map((t=>[t,$e.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,$e.CODE])),...["csv"].map((t=>[t,$e.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,$e.DITA])),...["epub"].map((t=>[t,$e.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,$e.EXCEL])),...["flac"].map((t=>[t,$e.FLAC])),...["gif"].map((t=>[t,$e.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,$e.GZIP])),...["html","htm","xhtml"].map((t=>[t,$e.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,$e.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,$e.JPEG])),...["json"].map((t=>[t,$e.JSON])),...["m4a","m4p"].map((t=>[t,$e.M4A])),...["mov","qt"].map((t=>[t,$e.MOV])),...["mp3"].map((t=>[t,$e.MP3])),...["mp4","m4v"].map((t=>[t,$e.MP4])),...["ogg","oga"].map((t=>[t,$e.OGG])),...["pdf","ps"].map((t=>[t,$e.PDF])),...["png"].map((t=>[t,$e.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,$e.POWERPOINT])),...["rar"].map((t=>[t,$e.RAR])),...["stp"].map((t=>[t,$e.STP])),...["txt","rtf","md","mdown"].map((t=>[t,$e.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,$e.VIDEO])),...["wav"].map((t=>[t,$e.WAV])),...["wma"].map((t=>[t,$e.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,$e.WORD])),...["xml","xsl","rdf"].map((t=>[t,$e.XML])),...["yaml","yml","x-yaml"].map((t=>[t,$e.YAML])),...["zip"].map((t=>[t,$e.ZIP]))]);const ze={size:e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Se=i.css`
133
+ `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),this.tocId&&(null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber)),this.click())}}ke.styles=be,we([r.property()],ke.prototype,"tocId",void 0),we([r.property()],ke.prototype,"section",void 0),we([r.property({type:Number})],ke.prototype,"pageNumber",void 0),we([r.property({type:Boolean})],ke.prototype,"removeStyle",void 0),e.customElement("ft-reader-internal-link")(ke),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;"}(me||(me={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}($e||($e={})),new Map([...["abw"].map((t=>[t,$e.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,$e.AUDIO])),...["avi"].map((t=>[t,$e.AVI])),...["chm","xhs"].map((t=>[t,$e.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,$e.CODE])),...["csv"].map((t=>[t,$e.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,$e.DITA])),...["epub"].map((t=>[t,$e.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,$e.EXCEL])),...["flac"].map((t=>[t,$e.FLAC])),...["gif"].map((t=>[t,$e.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,$e.GZIP])),...["html","htm","xhtml"].map((t=>[t,$e.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,$e.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,$e.JPEG])),...["json"].map((t=>[t,$e.JSON])),...["m4a","m4p"].map((t=>[t,$e.M4A])),...["mov","qt"].map((t=>[t,$e.MOV])),...["mp3"].map((t=>[t,$e.MP3])),...["mp4","m4v"].map((t=>[t,$e.MP4])),...["ogg","oga"].map((t=>[t,$e.OGG])),...["pdf","ps"].map((t=>[t,$e.PDF])),...["png"].map((t=>[t,$e.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,$e.POWERPOINT])),...["rar"].map((t=>[t,$e.RAR])),...["stp"].map((t=>[t,$e.STP])),...["txt","rtf","md","mdown"].map((t=>[t,$e.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,$e.VIDEO])),...["wav"].map((t=>[t,$e.WAV])),...["wma"].map((t=>[t,$e.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,$e.WORD])),...["xml","xsl","rdf"].map((t=>[t,$e.XML])),...["yaml","yml","x-yaml"].map((t=>[t,$e.YAML])),...["zip"].map((t=>[t,$e.ZIP]))]);const ze={size:e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Se=i.css`
134
134
  :host, i.ft-icon {
135
135
  display: inline-flex;
136
136
  align-items: center;
@@ -599,30 +599,30 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
599
599
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
600
600
  <div class="ft-size-watcher--watcher"></div>
601
601
  </div>
602
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=li.S:this.size<976?this.category=li.M:this.size<1024?this.category=li.L:this.size<1440?this.category=li.XL:this.category=li.XXL,this.dispatchEvent(new fi(this.size,this.category)))}),this.debounceTimeout)}}ci.elementDefinitions={},ci.styles=pi,di([r.property({type:Number})],ci.prototype,"debounceTimeout",void 0),di([r.property({type:Boolean})],ci.prototype,"local",void 0),di([r.property({type:Number,reflect:!0})],ci.prototype,"size",void 0),di([r.property({type:String,reflect:!0})],ci.prototype,"category",void 0),di([r.query(".ft-size-watcher--watcher")],ci.prototype,"watcher",void 0),e.customElement("ft-size-watcher")(ci);const ui={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},gi={tabulationSize:e.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:e.FtCssVariableFactory.extend("--ft-reader-toc-text-color",e.designSystemVariables.colorOnSurface),hoverColor:e.FtCssVariableFactory.extend("--ft-reader-toc-hover-color",e.designSystemVariables.colorPrimary),highlightedTextColor:e.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color",e.designSystemVariables.colorPrimary),highlightedFontWeight:e.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:e.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontSize:e.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","SIZE","16px")},xi=i.css`
602
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=li.S:this.size<976?this.category=li.M:this.size<1024?this.category=li.L:this.size<1440?this.category=li.XL:this.category=li.XXL,this.dispatchEvent(new fi(this.size,this.category)))}),this.debounceTimeout)}}ci.elementDefinitions={},ci.styles=pi,di([r.property({type:Number})],ci.prototype,"debounceTimeout",void 0),di([r.property({type:Boolean})],ci.prototype,"local",void 0),di([r.property({type:Number,reflect:!0})],ci.prototype,"size",void 0),di([r.property({type:String,reflect:!0})],ci.prototype,"category",void 0),di([r.query(".ft-size-watcher--watcher")],ci.prototype,"watcher",void 0),e.customElement("ft-size-watcher")(ci);const ui={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},xi={tabulationSize:e.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:e.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:e.FtCssVariableFactory.extend("--ft-reader-toc-text-color",e.designSystemVariables.colorOnSurface),hoverColor:e.FtCssVariableFactory.extend("--ft-reader-toc-hover-color",e.designSystemVariables.colorPrimary),highlightedTextColor:e.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color",e.designSystemVariables.colorPrimary),highlightedFontWeight:e.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:e.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontSize:e.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","SIZE","16px")},gi=i.css`
603
603
  .ft-reader-toc {
604
- color: ${gi.textColor};
604
+ color: ${xi.textColor};
605
605
  }
606
606
 
607
607
  .ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
608
- background-color: ${gi.highlightedBackgroundColor};
609
- color: ${gi.highlightedTextColor};
610
- ${e.setVariable(ot.fontWeight,gi.highlightedFontWeight)}
608
+ background-color: ${xi.highlightedBackgroundColor};
609
+ color: ${xi.highlightedTextColor};
610
+ ${e.setVariable(ot.fontWeight,xi.highlightedFontWeight)}
611
611
  }
612
612
 
613
613
  .ft-reader-toc--link-container {
614
614
  display: flex;
615
615
  gap: 4px;
616
- padding: ${gi.verticalSpacing} 4px; /* left padding is override on inline style */
616
+ padding: ${xi.verticalSpacing} 4px; /* left padding is override on inline style */
617
617
  align-items: center;
618
618
  }
619
619
 
620
620
  .ft-reader-toc--link-container ft-reader-internal-link:hover {
621
- color: ${gi.hoverColor};
621
+ color: ${xi.hoverColor};
622
622
  }
623
623
 
624
624
  ft-button {
625
- ${e.setVariable(Qe.iconSize,gi.iconFontSize)};
625
+ ${e.setVariable(Qe.iconSize,xi.iconFontSize)};
626
626
  }
627
627
 
628
628
  .ft-reader-toc--toggle-container {
@@ -630,11 +630,11 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
630
630
  }
631
631
 
632
632
  .ft-reader-toc-mobile .ft-reader-toc--toggle-container {
633
- width: calc(${gi.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
633
+ width: calc(${xi.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
634
634
  }
635
635
 
636
636
  .ft-reader-toc-desktop .ft-reader-toc--toggle-container {
637
- width: calc(${gi.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
637
+ width: calc(${xi.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
638
638
  }
639
639
 
640
640
  .ft-reader-toc-expanded .ft-reader-toc--toggle-container {
@@ -685,7 +685,7 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
685
685
  ${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
686
686
  </ft-button>
687
687
  </div>
688
- `:i.nothing}renderNode(t){var e,n,r;const l=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.includes(t.tocId),a=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),h=t.children.length>0,p=this.isCurrentPageToc?(null!==(r=null===(n=this.currentPage)||void 0===n?void 0:n.breadcrumb.length)&&void 0!==r?r:0)+1:0,d=t.depth-1-p,f={"padding-left":`calc( ${gi.tabulationSize} * ${d} + 4px)`};return i.html`
688
+ `:i.nothing}renderNode(t){var e,n,r;const l=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.includes(t.tocId),a=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),h=t.children.length>0,p=this.isCurrentPageToc?(null!==(r=null===(n=this.currentPage)||void 0===n?void 0:n.breadcrumb.length)&&void 0!==r?r:0)+1:0,d=t.depth-1-p,f={"padding-left":`calc( ${xi.tabulationSize} * ${d} + 4px)`};return i.html`
689
689
  <div class="ft-reader-toc--node ${l?"ft-reader-toc--node-highlighted":""}">
690
690
  <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${s.styleMap(f)}>
691
691
  ${this.nodesToExpandExist&&!this.expanded?i.html`
@@ -721,4 +721,4 @@ const X=Symbol.for(""),q=t=>{if((null==t?void 0:t.r)===X)return null==t?void 0:t
721
721
  </div>
722
722
  `:i.nothing}
723
723
  </div>
724
- `}buildAutomaticallyExpandedNodes(t){var e,i;let o=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let n of t){let t=n;for(;t&&!o.has(t);)o.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(i=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===i?void 0:i.parentTocId}return o}manuallyToggle(t,e){e?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}yi.elementDefinitions={"ft-button":hi,"ft-reader-internal-link":ke,"ft-size-watcher":ci,"ft-typography":ve},yi.styles=xi,vi([r.property({type:Boolean})],yi.prototype,"expanded",void 0),vi([r.property()],yi.prototype,"iconVariant",void 0),vi([r.property()],yi.prototype,"collapseIcon",void 0),vi([r.property()],yi.prototype,"expandIcon",void 0),vi([r.property({type:Boolean})],yi.prototype,"expandCollapseAll",void 0),vi([r.property({type:Boolean})],yi.prototype,"expandCollapseAllHideLabel",void 0),vi([r.property({type:Boolean})],yi.prototype,"expandCollapseAllTrailingIcon",void 0),vi([r.property()],yi.prototype,"expandCollapseAllAlignment",void 0),vi([r.property({type:Boolean})],yi.prototype,"expandCollapseAllHideIcon",void 0),vi([r.property()],yi.prototype,"expandCollapseAllIconVariant",void 0),vi([r.property()],yi.prototype,"collapseAllIcon",void 0),vi([r.property()],yi.prototype,"expandAllIcon",void 0),vi([r.property({type:Boolean})],yi.prototype,"autoCollapse",void 0),vi([r.property()],yi.prototype,"scope",void 0),vi([r.property({type:Boolean})],yi.prototype,"hideIfEmpty",void 0),vi([r.property({type:Boolean,reflect:!0})],yi.prototype,"empty",void 0),vi([e.jsonProperty({})],yi.prototype,"labels",void 0),vi([e.redux({selector:(t,e)=>{var i,o,n;return e.isCurrentPageToc?(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?null===(o=t.currentPage)||void 0===o?void 0:o.toc:void 0:(null===(n=t.paginationConfiguration)||void 0===n?void 0:n.splitCurrentPageToc)?t.pagesToc:t.toc}})],yi.prototype,"toc",void 0),vi([e.redux({selector:t=>{var e;return null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc}})],yi.prototype,"splitToc",void 0),vi([e.redux()],yi.prototype,"currentPage",void 0),vi([e.redux({selector:(t,e)=>{var i,o;return(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(o=t.currentPage)||void 0===o?void 0:o.rootTocId]:t.visibleTopics}})],yi.prototype,"highlightedTocIds",void 0),vi([r.state({hasChanged:(t,i)=>!e.deepEqual(t,i)})],yi.prototype,"automaticallyExpandedNodes",void 0),vi([r.state({hasChanged:(t,i)=>!e.deepEqual(t,i)})],yi.prototype,"manuallyExpandedNodes",void 0),vi([r.state({hasChanged:(t,i)=>!e.deepEqual(t,i)})],yi.prototype,"manuallyCollapsedNodes",void 0),vi([r.state()],yi.prototype,"expandAll",void 0),vi([r.state()],yi.prototype,"viewportSize",void 0),e.customElement("ft-reader-toc")(yi),t.DEFAULT_LABELS=ui,t.FtReaderToc=yi,t.FtReaderTocCssVariables=gi,t.styles=xi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litStyleMap,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
724
+ `}buildAutomaticallyExpandedNodes(t){var e,i;let o=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let n of t){let t=n;for(;t&&!o.has(t);)o.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(i=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===i?void 0:i.parentTocId}return o}manuallyToggle(t,e){e?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}yi.elementDefinitions={"ft-button":hi,"ft-reader-internal-link":ke,"ft-size-watcher":ci,"ft-typography":ve},yi.styles=gi,vi([r.property({type:Boolean})],yi.prototype,"expanded",void 0),vi([r.property()],yi.prototype,"iconVariant",void 0),vi([r.property()],yi.prototype,"collapseIcon",void 0),vi([r.property()],yi.prototype,"expandIcon",void 0),vi([r.property({type:Boolean})],yi.prototype,"expandCollapseAll",void 0),vi([r.property({type:Boolean})],yi.prototype,"expandCollapseAllHideLabel",void 0),vi([r.property({type:Boolean})],yi.prototype,"expandCollapseAllTrailingIcon",void 0),vi([r.property()],yi.prototype,"expandCollapseAllAlignment",void 0),vi([r.property({type:Boolean})],yi.prototype,"expandCollapseAllHideIcon",void 0),vi([r.property()],yi.prototype,"expandCollapseAllIconVariant",void 0),vi([r.property()],yi.prototype,"collapseAllIcon",void 0),vi([r.property()],yi.prototype,"expandAllIcon",void 0),vi([r.property({type:Boolean})],yi.prototype,"autoCollapse",void 0),vi([r.property()],yi.prototype,"scope",void 0),vi([r.property({type:Boolean})],yi.prototype,"hideIfEmpty",void 0),vi([r.property({type:Boolean,reflect:!0})],yi.prototype,"empty",void 0),vi([e.jsonProperty({})],yi.prototype,"labels",void 0),vi([e.redux({selector:(t,e)=>{var i,o,n;return e.isCurrentPageToc?(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?null===(o=t.currentPage)||void 0===o?void 0:o.toc:void 0:(null===(n=t.paginationConfiguration)||void 0===n?void 0:n.splitCurrentPageToc)?t.pagesToc:t.toc}})],yi.prototype,"toc",void 0),vi([e.redux({selector:t=>{var e;return null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc}})],yi.prototype,"splitToc",void 0),vi([e.redux()],yi.prototype,"currentPage",void 0),vi([e.redux({selector:(t,e)=>{var i,o;return(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(o=t.currentPage)||void 0===o?void 0:o.rootTocId]:t.visibleTopics}})],yi.prototype,"highlightedTocIds",void 0),vi([r.state({hasChanged:(t,i)=>!e.deepEqual(t,i)})],yi.prototype,"automaticallyExpandedNodes",void 0),vi([r.state({hasChanged:(t,i)=>!e.deepEqual(t,i)})],yi.prototype,"manuallyExpandedNodes",void 0),vi([r.state({hasChanged:(t,i)=>!e.deepEqual(t,i)})],yi.prototype,"manuallyCollapsedNodes",void 0),vi([r.state()],yi.prototype,"expandAll",void 0),vi([r.state()],yi.prototype,"viewportSize",void 0),e.customElement("ft-reader-toc")(yi),t.DEFAULT_LABELS=ui,t.FtReaderToc=yi,t.FtReaderTocCssVariables=xi,t.styles=gi}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litStyleMap,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,a=new Set(n.observedAttributes||[]);d(n,a,l);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(n,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)s.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const y=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Fi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,a=new Set(n.observedAttributes||[]);d(n,a,l);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(n,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)s.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){x.push(this),o.upgrade.apply(o,arguments),x.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=x[x.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),a=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let x=[document];const y=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){x.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),x.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){x.push(this),i.set.call(this,t),x.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Fi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -240,7 +240,7 @@ var vt,xt;let yt=class extends R{constructor(){super(...arguments),this.renderOp
240
240
  * Copyright 2017 Google LLC
241
241
  * SPDX-License-Identifier: BSD-3-Clause
242
242
  */
243
- class Fi extends Kt{constructor(t){if(super(t),this.et=Q,t.type!==Wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.ft=void 0,this.et=t;if(t===G)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Fi.directiveName="unsafeHTML",Fi.resultType=1;const Ii=Ht(Fi);var Li,Bi;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;"}(Li||(Li={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Bi||(Bi={})),new Map([...["abw"].map((t=>[t,Bi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Bi.AUDIO])),...["avi"].map((t=>[t,Bi.AVI])),...["chm","xhs"].map((t=>[t,Bi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Bi.CODE])),...["csv"].map((t=>[t,Bi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Bi.DITA])),...["epub"].map((t=>[t,Bi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Bi.EXCEL])),...["flac"].map((t=>[t,Bi.FLAC])),...["gif"].map((t=>[t,Bi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Bi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Bi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Bi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Bi.JPEG])),...["json"].map((t=>[t,Bi.JSON])),...["m4a","m4p"].map((t=>[t,Bi.M4A])),...["mov","qt"].map((t=>[t,Bi.MOV])),...["mp3"].map((t=>[t,Bi.MP3])),...["mp4","m4v"].map((t=>[t,Bi.MP4])),...["ogg","oga"].map((t=>[t,Bi.OGG])),...["pdf","ps"].map((t=>[t,Bi.PDF])),...["png"].map((t=>[t,Bi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Bi.POWERPOINT])),...["rar"].map((t=>[t,Bi.RAR])),...["stp"].map((t=>[t,Bi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Bi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Bi.VIDEO])),...["wav"].map((t=>[t,Bi.WAV])),...["wma"].map((t=>[t,Bi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Bi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Bi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Bi.YAML])),...["zip"].map((t=>[t,Bi.ZIP]))]);const Ti={size:gt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:gt.extend("--ft-icon-fluid-topics-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.extend("--ft-icon-file-format-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:gt.extend("--ft-icon-material-font-family",gt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:gt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Pi=b`
243
+ class Fi extends Kt{constructor(t){if(super(t),this.et=Q,t.type!==Wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.ft=void 0,this.et=t;if(t===G)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Fi.directiveName="unsafeHTML",Fi.resultType=1;const Ii=Ht(Fi);var Li,Bi;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;"}(Li||(Li={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Bi||(Bi={})),new Map([...["abw"].map((t=>[t,Bi.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Bi.AUDIO])),...["avi"].map((t=>[t,Bi.AVI])),...["chm","xhs"].map((t=>[t,Bi.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Bi.CODE])),...["csv"].map((t=>[t,Bi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Bi.DITA])),...["epub"].map((t=>[t,Bi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Bi.EXCEL])),...["flac"].map((t=>[t,Bi.FLAC])),...["gif"].map((t=>[t,Bi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Bi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Bi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Bi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Bi.JPEG])),...["json"].map((t=>[t,Bi.JSON])),...["m4a","m4p"].map((t=>[t,Bi.M4A])),...["mov","qt"].map((t=>[t,Bi.MOV])),...["mp3"].map((t=>[t,Bi.MP3])),...["mp4","m4v"].map((t=>[t,Bi.MP4])),...["ogg","oga"].map((t=>[t,Bi.OGG])),...["pdf","ps"].map((t=>[t,Bi.PDF])),...["png"].map((t=>[t,Bi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Bi.POWERPOINT])),...["rar"].map((t=>[t,Bi.RAR])),...["stp"].map((t=>[t,Bi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Bi.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Bi.VIDEO])),...["wav"].map((t=>[t,Bi.WAV])),...["wma"].map((t=>[t,Bi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Bi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Bi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Bi.YAML])),...["zip"].map((t=>[t,Bi.ZIP]))]);const Ti={size:gt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:gt.extend("--ft-icon-fluid-topics-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.extend("--ft-icon-file-format-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:gt.extend("--ft-icon-material-font-family",gt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:gt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Pi=b`
244
244
  :host, i.ft-icon {
245
245
  display: inline-flex;
246
246
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-toc",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Main table of content for integrated reader",
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-icon": "1.0.13",
23
- "@fluid-topics/ft-reader-context": "1.0.13",
24
- "@fluid-topics/ft-size-watcher": "1.0.13",
25
- "@fluid-topics/ft-typography": "1.0.13",
26
- "@fluid-topics/ft-wc-utils": "1.0.13",
22
+ "@fluid-topics/ft-icon": "1.0.15",
23
+ "@fluid-topics/ft-reader-context": "1.0.15",
24
+ "@fluid-topics/ft-size-watcher": "1.0.15",
25
+ "@fluid-topics/ft-typography": "1.0.15",
26
+ "@fluid-topics/ft-wc-utils": "1.0.15",
27
27
  "lit": "2.7.2"
28
28
  },
29
- "gitHead": "3ce26f9002e59dd63fced5c00272dcb4cf863d10"
29
+ "gitHead": "1790145546a4c4eb194a606ec2decb59f7339532"
30
30
  }