@fluid-topics/ft-reader-topic-content 0.3.49 → 0.3.50

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.
@@ -1,6 +1,6 @@
1
- !function(e,t,i,s,o){const x={colorError:t.FtCssVariableFactory.external(t.designSystemVariables.colorError,"Design system"),fontFamily:t.FtCssVariableFactory.external(t.designSystemVariables.contentFont,"Design system")},n=i.css`
1
+ !function(e,t,i,s,o){const n={colorError:t.FtCssVariableFactory.external(t.designSystemVariables.colorError,"Design system"),fontFamily:t.FtCssVariableFactory.external(t.designSystemVariables.contentFont,"Design system")},x=i.css`
2
2
  .topic {
3
- font-family: ${x.fontFamily};
3
+ font-family: ${n.fontFamily};
4
4
  overflow-x: auto;
5
5
  }
6
6
 
@@ -9,24 +9,27 @@
9
9
  }
10
10
 
11
11
  .topic-on-error ft-icon {
12
- color: ${x.colorError}
12
+ color: ${n.colorError}
13
13
  }
14
14
 
15
15
  .topic-loading {
16
16
  height: 100vh;
17
17
  }
18
- `;var a=function(e,t,i,s){for(var o,x=arguments.length,n=x<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s,a=e.length-1;a>=0;a--)(o=e[a])&&(n=(x<3?o(n):x>3?o(t,i,n):o(t,i))||n);return x>3&&n&&Object.defineProperty(t,i,n),n};class l extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class r extends(function(e){class t extends e{constructor(){super(...arguments),this.registerIntervalReader=0}setReaderStateManager(e){this.stateManager=e,this.store=e.store}get service(){var e;return null===(e=this.stateManager)||void 0===e?void 0:e.service}connectedCallback(){super.connectedCallback(),this.registerIntervalReader=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.store?window.clearInterval(this.registerIntervalReader):this.dispatchEvent(new l)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return a([s.state()],t.prototype,"stateManager",void 0),t}(t.FtLitElementRedux)){}var c,d,p=function(e,t,i,s){for(var o,x=arguments.length,n=x<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s,a=e.length-1;a>=0;a--)(o=e[a])&&(n=(x<3?o(n):x>3?o(t,i,n):o(t,i))||n);return x>3&&n&&Object.defineProperty(t,i,n),n};class f extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}class v extends(function(e){class t extends e{constructor(){super(...arguments),this.disableContextInteractions=!1,this.registerIntervalTopic=0}connectedCallback(){super.connectedCallback(),this.registerIntervalTopic=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this.registerIntervalTopic):this.dispatchEvent(new f)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return p([s.state()],t.prototype,"tocNode",void 0),p([s.state()],t.prototype,"disableContextInteractions",void 0),t}(r)){}!function(e){e.DESKTOP="&#xe95e",e.TABLET_LANDSCAPE="&#xe95f",e.TABLET_PORTRAIT="&#xe960",e.MOBILE_LANDSCAPE="&#xe961",e.MOBILE_PORTRAIT="&#xe962",e.THIN_ARROW_UP="&#xe95c;",e.CONTEXTUAL="&#xe95b;",e.UNSTRUCTURED_DOC="&#xe95a;",e.RESET="&#xe958;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.MY_COLLECTIONS="&#xe955;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_LIBRARY="&#xe959;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.FEEDBACK_PLAIN="&#xe951;",e.STAR_PLAIN="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN_PLAIN="&#xe94d;",e.THUMBS_DOWN="&#xe94e;",e.THUMBS_UP_PLAIN="&#xe94f;",e.THUMBS_UP="&#xe950;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.SHORTCUT_MENU="&#xe946;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.ACCOUNT_SETTINGS="&#xe943;",e.ONLINE="&#xe941;",e.OFFLINE="&#xe816;",e.UPLOAD="&#xe940;",e.BOOK_PLAIN="&#xe93f;",e.SYNC="&#xe93d;",e.SHARED_PBK="&#xe931;",e.COLLECTIONS="&#xe92a;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.BOOKS="&#xe806;",e.LOCKER="&#xe93b;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SAVE="&#xe93a;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.FILTERS="&#xe935;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.STRIPE_ARROW_LEFT="&#xe933;",e.ATTACHMENTS="&#xe932;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.EXPORT="&#xe80f;",e.MENU="&#xe807;",e.TAG="&#xe93e;",e.TAG_PLAIN="&#xe942;",e.COPY_TO_CLIPBOARD="&#xe930;",e.COLUMNS="&#xe928;",e.ARTICLE="&#xe927;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.LOGOUT="&#xe923;",e.SIGN_IN="&#xe922;",e.THIN_ARROW="&#xe921;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.INFO="&#xe919;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.SHARE="&#xe80f1;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.TOPICS="&#xe900;",e.EYE="&#xf06e",e.DISC="&#xe901;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN_THEME="&#xe911;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.HOME="&#xe80b;",e.TRANSLATE="&#xe924;",e.USER="&#xe813;",e.ADMIN="&#xe902;",e.ANALYTICS="&#xe929;",e.ADMIN_KHUB="&#xe90f;",e.ADMIN_USERS="&#xe910;",e.ADMIN_INTEGRATION="&#xe93c;",e.ADMIN_PORTAL="&#xe912;"}(c||(c={})),function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"}(d||(d={})),new Map([...["abw"].map((e=>[e,d.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((e=>[e,d.AUDIO])),...["avi"].map((e=>[e,d.AVI])),...["chm","xhs"].map((e=>[e,d.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((e=>[e,d.CODE])),...["csv"].map((e=>[e,d.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,d.DITA])),...["epub"].map((e=>[e,d.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,d.EXCEL])),...["flac"].map((e=>[e,d.FLAC])),...["gif"].map((e=>[e,d.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,d.GZIP])),...["html","htm","xhtml"].map((e=>[e,d.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,d.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,d.JPEG])),...["json"].map((e=>[e,d.JSON])),...["m4a","m4p"].map((e=>[e,d.M4A])),...["mov","qt"].map((e=>[e,d.MOV])),...["mp3"].map((e=>[e,d.MP3])),...["mp4","m4v"].map((e=>[e,d.MP4])),...["ogg","oga"].map((e=>[e,d.OGG])),...["pdf","ps"].map((e=>[e,d.PDF])),...["png"].map((e=>[e,d.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,d.POWERPOINT])),...["rar"].map((e=>[e,d.RAR])),...["stp"].map((e=>[e,d.STP])),...["txt","rtf","md","mdown"].map((e=>[e,d.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((e=>[e,d.VIDEO])),...["wav"].map((e=>[e,d.WAV])),...["wma"].map((e=>[e,d.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,d.WORD])),...["xml","xsl","rdf"].map((e=>[e,d.XML])),...["yaml","yml","x-yaml"].map((e=>[e,d.YAML])),...["zip"].map((e=>[e,d.ZIP]))]);const h=t.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),m=t.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),u=t.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),b=t.FtCssVariableFactory.extend("--ft-icon-material-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),g=t.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),w=i.css`
19
- :host {
20
- display: inline-block;
18
+ `;var a=function(e,t,i,s){for(var o,n=arguments.length,x=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s,a=e.length-1;a>=0;a--)(o=e[a])&&(x=(n<3?o(x):n>3?o(t,i,x):o(t,i))||x);return n>3&&x&&Object.defineProperty(t,i,x),x};class l extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class r extends(function(e){class t extends e{constructor(){super(...arguments),this.registerIntervalReader=0}setReaderStateManager(e){this.stateManager=e,this.store=e.store}get service(){var e;return null===(e=this.stateManager)||void 0===e?void 0:e.service}connectedCallback(){super.connectedCallback(),this.registerIntervalReader=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.store?window.clearInterval(this.registerIntervalReader):this.dispatchEvent(new l)}disconnectedCallback(){super.disconnectedCallback(),this.store=void 0,this.stateManager=void 0}}return a([s.state()],t.prototype,"stateManager",void 0),t}(t.FtLitElementRedux)){}var c,d,p=function(e,t,i,s){for(var o,n=arguments.length,x=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s,a=e.length-1;a>=0;a--)(o=e[a])&&(x=(n<3?o(x):n>3?o(t,i,x):o(t,i))||x);return n>3&&x&&Object.defineProperty(t,i,x),x};class f extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}class v extends(function(e){class t extends e{constructor(){super(...arguments),this.disableContextInteractions=!1,this.registerIntervalTopic=0}connectedCallback(){super.connectedCallback(),this.registerIntervalTopic=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this.registerIntervalTopic):this.dispatchEvent(new f)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return p([s.state()],t.prototype,"tocNode",void 0),p([s.state()],t.prototype,"disableContextInteractions",void 0),t}(r)){}!function(e){e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.STAR="&#xe94c;",e.STAR_PLAIN="&#xe900;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.THIN_ARROW_UP="&#xe95c;",e.CONTEXTUAL="&#xe95b;",e.UNSTRUCTURED_DOC="&#xe95a;",e.RESET="&#xe958;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.MY_COLLECTIONS="&#xe955;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_LIBRARY="&#xe959;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.FEEDBACK_PLAIN="&#xe951;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.SHORTCUT_MENU="&#xe946;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.ACCOUNT_SETTINGS="&#xe943;",e.ONLINE="&#xe941;",e.OFFLINE="&#xe816;",e.UPLOAD="&#xe940;",e.BOOK_PLAIN="&#xe93f;",e.SYNC="&#xe93d;",e.SHARED_PBK="&#xe931;",e.COLLECTIONS="&#xe92a;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.BOOKS="&#xe806;",e.LOCKER="&#xe93b;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SAVE="&#xe93a;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.FILTERS="&#xe935;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.STRIPE_ARROW_LEFT="&#xe933;",e.ATTACHMENTS="&#xe932;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.EXPORT="&#xe80f;",e.MENU="&#xe807;",e.TAG="&#xe93e;",e.TAG_PLAIN="&#xe942;",e.COPY_TO_CLIPBOARD="&#xe930;",e.COLUMNS="&#xe928;",e.ARTICLE="&#xe927;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.LOGOUT="&#xe923;",e.SIGN_IN="&#xe922;",e.THIN_ARROW="&#xe921;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.INFO="&#xe919;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.SHARE="&#xe80f1;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.TOPICS="&#xe901;",e.EYE="&#xf06e;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN_THEME="&#xe911;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.HOME="&#xe80b;",e.TRANSLATE="&#xe924;",e.USER="&#xe813;",e.ADMIN="&#xe90f;",e.ANALYTICS="&#xe929;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_USERS="&#xe912;",e.ADMIN_INTEGRATION="&#xe93c;",e.ADMIN_PORTAL="&#xe94b;"}(c||(c={})),function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"}(d||(d={})),new Map([...["abw"].map((e=>[e,d.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((e=>[e,d.AUDIO])),...["avi"].map((e=>[e,d.AVI])),...["chm","xhs"].map((e=>[e,d.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((e=>[e,d.CODE])),...["csv"].map((e=>[e,d.CSV])),...["dita","ditamap","ditaval"].map((e=>[e,d.DITA])),...["epub"].map((e=>[e,d.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((e=>[e,d.EXCEL])),...["flac"].map((e=>[e,d.FLAC])),...["gif"].map((e=>[e,d.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((e=>[e,d.GZIP])),...["html","htm","xhtml"].map((e=>[e,d.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((e=>[e,d.IMAGE])),...["jpeg","jpg","jpe"].map((e=>[e,d.JPEG])),...["json"].map((e=>[e,d.JSON])),...["m4a","m4p"].map((e=>[e,d.M4A])),...["mov","qt"].map((e=>[e,d.MOV])),...["mp3"].map((e=>[e,d.MP3])),...["mp4","m4v"].map((e=>[e,d.MP4])),...["ogg","oga"].map((e=>[e,d.OGG])),...["pdf","ps"].map((e=>[e,d.PDF])),...["png"].map((e=>[e,d.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((e=>[e,d.POWERPOINT])),...["rar"].map((e=>[e,d.RAR])),...["stp"].map((e=>[e,d.STP])),...["txt","rtf","md","mdown"].map((e=>[e,d.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((e=>[e,d.VIDEO])),...["wav"].map((e=>[e,d.WAV])),...["wma"].map((e=>[e,d.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((e=>[e,d.WORD])),...["xml","xsl","rdf"].map((e=>[e,d.XML])),...["yaml","yml","x-yaml"].map((e=>[e,d.YAML])),...["zip"].map((e=>[e,d.ZIP]))]);const h=t.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),m=t.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),u=t.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),b=t.FtCssVariableFactory.extend("--ft-icon-material-font-family",t.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),g=t.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),w=i.css`
19
+ :host, i.ft-icon {
20
+ display: inline-flex;
21
+ align-items: center;
22
+ justify-content: center;
21
23
  }
22
24
 
23
- :host, i.ft-icon {
25
+ :host {
24
26
  width: ${h};
25
27
  height: ${h};
26
- text-align: center;
27
28
  }
28
29
 
29
30
  i.ft-icon {
31
+ width: 100%;
32
+ height: 100%;
30
33
  font-size: ${h};
31
34
  line-height: 1;
32
35
  font-weight: normal;
@@ -41,8 +44,13 @@
41
44
  vertical-align: ${g};
42
45
  }
43
46
 
44
- .ft-icon--fluid-topics {
47
+ i.ft-icon.ft-icon--fluid-topics {
45
48
  font-family: ${m}, ft-icons, fticons, sans-serif;
49
+
50
+ /* Ugly fix because font is broken */
51
+ font-size: calc(0.9 * ${h});
52
+ position: relative;
53
+ top: -5%;
46
54
  }
47
55
 
48
56
  .ft-icon--file-format {
@@ -52,12 +60,12 @@
52
60
  .ft-icon--material {
53
61
  font-family: ${b}, "Material Icons", sans-serif;
54
62
  }
55
- `;var y;!function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"}(y||(y={}));var $=function(e,t,i,s){for(var o,x=arguments.length,n=x<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s,a=e.length-1;a>=0;a--)(o=e[a])&&(n=(x<3?o(n):x>3?o(t,i,n):o(t,i))||n);return x>3&&n&&Object.defineProperty(t,i,n),n};class j extends t.FtLitElement{constructor(){super(...arguments),this.variant=y.fluid_topics,this.resolvedIcon=i.nothing}render(){const e="material"!==this.variant||this.value;return i.html`
63
+ `;var y;!function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"}(y||(y={}));var $=function(e,t,i,s){for(var o,n=arguments.length,x=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s,a=e.length-1;a>=0;a--)(o=e[a])&&(x=(n<3?o(x):n>3?o(t,i,x):o(t,i))||x);return n>3&&x&&Object.defineProperty(t,i,x),x};class j extends t.FtLitElement{constructor(){super(...arguments),this.variant=y.fluid_topics,this.resolvedIcon=i.nothing}render(){const e="material"!==this.variant||this.value;return i.html`
56
64
  <i class="ft-icon ${"ft-icon--"+this.variant}">
57
65
  ${o.unsafeHTML(this.resolvedIcon)}
58
66
  <slot ?hidden=${e}></slot>
59
67
  </i>
60
- `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}update(e){super.update(e),["value","variant"].some((t=>e.has(t)))&&this.resolveIcon()}resolveIcon(){var e,t;let s=this.value||this.textContent;switch(this.variant){case y.file_format:this.resolvedIcon=null!==(e=d[s.replace("-","_").toUpperCase()])&&void 0!==e?e:s;break;case y.fluid_topics:this.resolvedIcon=null!==(t=c[s.replace("-","_").toUpperCase()])&&void 0!==t?t:s;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(e){super.firstUpdated(e),setTimeout((()=>this.resolveIcon()))}}j.elementDefinitions={},j.styles=w,$([s.property()],j.prototype,"variant",void 0),$([s.property()],j.prototype,"value",void 0),$([s.state()],j.prototype,"resolvedIcon",void 0),$([s.query("slot")],j.prototype,"slottedContent",void 0),t.customElement("ft-icon")(j);var k=function(e,t,i,s){for(var o,x=arguments.length,n=x<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s,a=e.length-1;a>=0;a--)(o=e[a])&&(n=(x<3?o(n):x>3?o(t,i,n):o(t,i))||n);return x>3&&n&&Object.defineProperty(t,i,n),n};class N extends v{render(){var e;return this.map&&(this.error||this.content)?i.html`
68
+ `}get textContent(){var e,t;return null!==(t=null===(e=this.slottedContent)||void 0===e?void 0:e.assignedNodes().map((e=>e.textContent)).join("").trim())&&void 0!==t?t:""}update(e){super.update(e),["value","variant"].some((t=>e.has(t)))&&this.resolveIcon()}resolveIcon(){var e,t;let s=this.value||this.textContent;switch(this.variant){case y.file_format:this.resolvedIcon=null!==(e=d[s.replace("-","_").toUpperCase()])&&void 0!==e?e:s;break;case y.fluid_topics:this.resolvedIcon=null!==(t=c[s.replace("-","_").toUpperCase()])&&void 0!==t?t:s;break;default:this.resolvedIcon=this.value||i.nothing}}firstUpdated(e){super.firstUpdated(e),setTimeout((()=>this.resolveIcon()))}}j.elementDefinitions={},j.styles=w,$([s.property()],j.prototype,"variant",void 0),$([s.property()],j.prototype,"value",void 0),$([s.state()],j.prototype,"resolvedIcon",void 0),$([s.query("slot")],j.prototype,"slottedContent",void 0),t.customElement("ft-icon")(j);var k=function(e,t,i,s){for(var o,n=arguments.length,x=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s,a=e.length-1;a>=0;a--)(o=e[a])&&(x=(n<3?o(x):n>3?o(t,i,x):o(t,i))||x);return n>3&&x&&Object.defineProperty(t,i,x),x};class N extends v{render(){var e;return this.map&&(this.error||this.content)?i.html`
61
69
  <style>
62
70
  @import "${null===(e=this.map)||void 0===e?void 0:e.contentStyles.topicStylesheetUrl}";
63
71
  </style>
@@ -66,13 +74,13 @@
66
74
  </section>
67
75
  `:i.html`
68
76
  <section class="topic-loading"></section>
69
- `}updated(e){super.updated(e),(e.has("map")||e.has("tocNode"))&&this.updateContent()}updateContent(){var e;this.error=void 0,this.content=void 0,this.map&&this.tocNode&&(null===(e=this.service)||void 0===e||e.getTopicContent(this.tocNode.contentId).then((e=>this.content=e||'<div class="empty-topic"></div>')).catch((e=>this.error=e)))}contentAvailableCallback(e){var t,i,s,o,x,n;if(super.contentAvailableCallback(e),!this.disableContextInteractions&&(null===(t=this.scrollTarget)||void 0===t?void 0:t.section)&&(null===(i=this.tocNode)||void 0===i?void 0:i.tocId)&&(null===(s=this.tocNode)||void 0===s?void 0:s.tocId)===this.scrollTarget.tocId&&this.content){(null!==(x=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(`[id="${this.scrollTarget.section}"], [name="${this.scrollTarget.section}"]`))&&void 0!==x?x:this).scrollIntoView({block:"start"}),null===(n=this.stateManager)||void 0===n||n.scrollDone()}}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}renderTopicContent(){var e,t,s,x;if(this.error){let t=this.is404Error()?"topicMissingAdvice":"somethingWentWrong";return i.html`
77
+ `}updated(e){super.updated(e),(e.has("map")||e.has("tocNode"))&&this.updateContent()}updateContent(){var e;this.error=void 0,this.content=void 0,this.map&&this.tocNode&&(null===(e=this.service)||void 0===e||e.getTopicContent(this.tocNode.contentId).then((e=>this.content=e||'<div class="empty-topic"></div>')).catch((e=>this.error=e)))}contentAvailableCallback(e){var t,i,s,o,n,x;if(super.contentAvailableCallback(e),!this.disableContextInteractions&&(null===(t=this.scrollTarget)||void 0===t?void 0:t.section)&&(null===(i=this.tocNode)||void 0===i?void 0:i.tocId)&&(null===(s=this.tocNode)||void 0===s?void 0:s.tocId)===this.scrollTarget.tocId&&this.content){(null!==(n=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(`[id="${this.scrollTarget.section}"], [name="${this.scrollTarget.section}"]`))&&void 0!==n?n:this).scrollIntoView({block:"start"}),null===(x=this.stateManager)||void 0===x||x.scrollDone()}}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}renderTopicContent(){var e,t,s,n;if(this.error){let t=this.is404Error()?"topicMissingAdvice":"somethingWentWrong";return i.html`
70
78
  <div class="topic-on-error">
71
79
  <ft-icon>WARNING</ft-icon>
72
80
  <div>${null===(e=this.service)||void 0===e?void 0:e.resolveLabel(t)}</div>
73
81
  </div>
74
- `}const n=null!==(s=null===(t=this.map)||void 0===t?void 0:t.contentStyles.customCssClasses.join(" "))&&void 0!==s?s:"";return i.html`
75
- <div class="depth-${null===(x=this.tocNode)||void 0===x?void 0:x.depth} content-locale-${this.contentLocale} ${n}">
82
+ `}const x=null!==(s=null===(t=this.map)||void 0===t?void 0:t.contentStyles.customCssClasses.join(" "))&&void 0!==s?s:"";return i.html`
83
+ <div class="depth-${null===(n=this.tocNode)||void 0===n?void 0:n.depth} content-locale-${this.contentLocale} ${x}">
76
84
  ${o.unsafeHTML(`${this.content}`)}
77
85
  </div>
78
- `}is404Error(){return 404===this.error.status}}N.styles=n,k([t.redux((e=>{var t;return null===(t=e.map)||void 0===t?void 0:t.lang}))],N.prototype,"contentLocale",void 0),k([t.redux()],N.prototype,"map",void 0),k([t.redux()],N.prototype,"scrollTarget",void 0),k([s.state()],N.prototype,"content",void 0),k([s.state()],N.prototype,"error",void 0),t.customElement("ft-reader-topic-content")(N),e.FtReaderTopicContent=N,e.FtReaderTopicContentCssVariables=x,e.styles=n,Object.defineProperty(e,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
86
+ `}is404Error(){return 404===this.error.status}}N.styles=x,k([t.redux((e=>{var t;return null===(t=e.map)||void 0===t?void 0:t.lang}))],N.prototype,"contentLocale",void 0),k([t.redux()],N.prototype,"map",void 0),k([t.redux()],N.prototype,"scrollTarget",void 0),k([s.state()],N.prototype,"content",void 0),k([s.state()],N.prototype,"error",void 0),t.customElement("ft-reader-topic-content")(N),e.FtReaderTopicContent=N,e.FtReaderTopicContentCssVariables=n,e.styles=x,Object.defineProperty(e,"t",{value:!0})}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
@@ -51,7 +51,7 @@ var n;null===(n=window.HTMLSlotElement)||void 0===n||n.prototype.assignedElement
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
53
  */
54
- var $;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:C}),(null!==(m=b.reactiveElementVersions)&&void 0!==m?m:b.reactiveElementVersions=[]).push("1.4.1");const E=window,R=E.trustedTypes,M=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,k=`lit$${(Math.random()+"").slice(9)}$`,U="?"+k,j=`<${U}>`,F=document,A=(t="")=>F.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,W=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,K=/"/g,z=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),Z=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,s=[];let o,n=2===e?"<svg>":"",r=_;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===_?"!--"===l[1]?r=P:void 0!==l[1]?r=W:void 0!==l[2]?(z.test(l[2])&&(o=RegExp("</"+l[2],"g")),r=B):void 0!==l[3]&&(r=B):r===B?">"===l[0]?(r=null!=o?o:_,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?B:'"'===l[3]?K:D):r===K||r===D?r=B:r===P||r===W?r=_:(r=B,o=void 0);const u=r===B&&t[e+1].startsWith("/>")?" ":"";n+=r===_?i+j:c>=0?(s.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+k+u):i+k+(-2===c?(s.push(void 0),e):u)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==M?M.createHTML(a):a,s]};class X{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const r=t.length-1,a=this.parts,[l,c]=q(t,e);if(this.el=X.createElement(l,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=J.nextNode())&&a.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(k)){const i=c[n++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(k),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?st:"@"===e[1]?ot:tt})}else a.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(z.test(s.tagName)){const t=s.textContent.split(k),e=t.length-1;if(e>0){s.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],A()),J.nextNode(),a.push({type:2,index:++o});s.append(t[e],A())}}}else if(8===s.nodeType)if(s.data===U)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(k,t+1));)a.push({type:7,index:o}),t+=k.length-1}o++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function G(t,e,i=t,s){var o,n,r,a;if(e===I)return e;let l=void 0!==s?null===(o=i._$Co)||void 0===o?void 0:o[s]:i._$Cl;const c=L(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,s)),void 0!==s?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[s]=l:i._$Cl=l),void 0!==l&&(e=G(t,l._$AS(t,e.values),l,s)),e}class Q{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);J.currentNode=o;let n=J.nextNode(),r=0,a=0,l=s[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new Y(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new nt(n,this,t)),this.u.push(e),l=s[++a]}r!==(null==l?void 0:l.index)&&(n=J.nextNode(),r++)}return o}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,s){var o;this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cm=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=G(this,t,e),L(t)?t===V||null==t||""===t?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==I&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==V&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=X.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.p(i);else{const t=new Q(o,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new X(t)),e}k(t){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new Y(this.O(A()),this.O(A()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,s,o){this.type=1,this._$AH=V,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=V}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(void 0===o)t=G(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const s=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=G(this,s[i+r],e,r),a===I&&(a=this._$AH[r]),n||(n=!L(a)||a!==this._$AH[r]),a===V?t=V:t!==V&&(t+=(null!=a?a:"")+o[r+1]),this._$AH[r]=a}n&&!s&&this.j(t)}j(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===V?void 0:t}}const it=R?R.emptyScript:"";class st extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==V?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class ot extends tt{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=G(this,t,e,0))&&void 0!==i?i:V)===I)return;const s=this._$AH,o=t===V&&s!==V||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==V&&(s===V||o);o&&this.element.removeEventListener(this.name,this,s),n&&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 nt{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){G(this,t)}}const rt=E.litHtmlPolyfillSupport;null==rt||rt(X,Y),(null!==($=E.litHtmlVersions)&&void 0!==$?$:E.litHtmlVersions=[]).push("2.4.0");
54
+ var $;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:C}),(null!==(m=b.reactiveElementVersions)&&void 0!==m?m:b.reactiveElementVersions=[]).push("1.4.1");const E=window,R=E.trustedTypes,M=R?R.createPolicy("lit-html",{createHTML:t=>t}):void 0,k=`lit$${(Math.random()+"").slice(9)}$`,U="?"+k,j=`<${U}>`,F=document,A=(t="")=>F.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,W=/>/g,B=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),D=/'/g,z=/"/g,K=/^(?:script|style|textarea|title)$/i,H=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),I=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),Z=new WeakMap,J=F.createTreeWalker(F,129,null,!1),q=(t,e)=>{const i=t.length-1,s=[];let o,n=2===e?"<svg>":"",r=_;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(r.lastIndex=h,l=r.exec(i),null!==l);)h=r.lastIndex,r===_?"!--"===l[1]?r=P:void 0!==l[1]?r=W:void 0!==l[2]?(K.test(l[2])&&(o=RegExp("</"+l[2],"g")),r=B):void 0!==l[3]&&(r=B):r===B?">"===l[0]?(r=null!=o?o:_,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?B:'"'===l[3]?z:D):r===z||r===D?r=B:r===P||r===W?r=_:(r=B,o=void 0);const u=r===B&&t[e+1].startsWith("/>")?" ":"";n+=r===_?i+j:c>=0?(s.push(a),i.slice(0,c)+"$lit$"+i.slice(c)+k+u):i+k+(-2===c?(s.push(void 0),e):u)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==M?M.createHTML(a):a,s]};class X{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const r=t.length-1,a=this.parts,[l,c]=q(t,e);if(this.el=X.createElement(l,i),J.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=J.nextNode())&&a.length<r;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(k)){const i=c[n++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(k),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?et:"?"===e[1]?st:"@"===e[1]?ot:tt})}else a.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(K.test(s.tagName)){const t=s.textContent.split(k),e=t.length-1;if(e>0){s.textContent=R?R.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],A()),J.nextNode(),a.push({type:2,index:++o});s.append(t[e],A())}}}else if(8===s.nodeType)if(s.data===U)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(k,t+1));)a.push({type:7,index:o}),t+=k.length-1}o++}}static createElement(t,e){const i=F.createElement("template");return i.innerHTML=t,i}}function G(t,e,i=t,s){var o,n,r,a;if(e===I)return e;let l=void 0!==s?null===(o=i._$Co)||void 0===o?void 0:o[s]:i._$Cl;const c=L(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,s)),void 0!==s?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[s]=l:i._$Cl=l),void 0!==l&&(e=G(t,l._$AS(t,e.values),l,s)),e}class Q{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:F).importNode(i,!0);J.currentNode=o;let n=J.nextNode(),r=0,a=0,l=s[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new Y(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new nt(n,this,t)),this.u.push(e),l=s[++a]}r!==(null==l?void 0:l.index)&&(n=J.nextNode(),r++)}return o}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{constructor(t,e,i,s){var o;this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cm=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=G(this,t,e),L(t)?t===V||null==t||""===t?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==I&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==V&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=X.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.p(i);else{const t=new Q(o,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new X(t)),e}k(t){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new Y(this.O(A()),this.O(A()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class tt{constructor(t,e,i,s,o){this.type=1,this._$AH=V,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=V}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(void 0===o)t=G(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==I,n&&(this._$AH=t);else{const s=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=G(this,s[i+r],e,r),a===I&&(a=this._$AH[r]),n||(n=!L(a)||a!==this._$AH[r]),a===V?t=V:t!==V&&(t+=(null!=a?a:"")+o[r+1]),this._$AH[r]=a}n&&!s&&this.j(t)}j(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===V?void 0:t}}const it=R?R.emptyScript:"";class st extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==V?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class ot extends tt{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=G(this,t,e,0))&&void 0!==i?i:V)===I)return;const s=this._$AH,o=t===V&&s!==V||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==V&&(s===V||o);o&&this.element.removeEventListener(this.name,this,s),n&&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 nt{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){G(this,t)}}const rt=E.litHtmlPolyfillSupport;null==rt||rt(X,Y),(null!==($=E.litHtmlVersions)&&void 0!==$?$:E.litHtmlVersions=[]).push("2.4.0");
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
@@ -115,18 +115,21 @@ var at,lt;class ct extends C{constructor(){super(...arguments),this.renderOption
115
115
  * @license
116
116
  * Copyright 2017 Google LLC
117
117
  * SPDX-License-Identifier: BSD-3-Clause
118
- */class Mt extends Rt{constructor(t){if(super(t),this.it=V,t.type!==Et)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===V||null==t)return this._t=void 0,this.it=t;if(t===I)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Mt.directiveName="unsafeHTML",Mt.resultType=1;const kt=(t=>(...e)=>({_$litDirective$:t,values:e}))(Mt);var Ut,jt;!function(t){t.DESKTOP="&#xe95e",t.TABLET_LANDSCAPE="&#xe95f",t.TABLET_PORTRAIT="&#xe960",t.MOBILE_LANDSCAPE="&#xe961",t.MOBILE_PORTRAIT="&#xe962",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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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="&#xe900;",t.EYE="&#xf06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(Ut||(Ut={})),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;"}(jt||(jt={})),new Map([...["abw"].map((t=>[t,jt.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,jt.AUDIO])),...["avi"].map((t=>[t,jt.AVI])),...["chm","xhs"].map((t=>[t,jt.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,jt.CODE])),...["csv"].map((t=>[t,jt.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,jt.DITA])),...["epub"].map((t=>[t,jt.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,jt.EXCEL])),...["flac"].map((t=>[t,jt.FLAC])),...["gif"].map((t=>[t,jt.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,jt.GZIP])),...["html","htm","xhtml"].map((t=>[t,jt.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,jt.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,jt.JPEG])),...["json"].map((t=>[t,jt.JSON])),...["m4a","m4p"].map((t=>[t,jt.M4A])),...["mov","qt"].map((t=>[t,jt.MOV])),...["mp3"].map((t=>[t,jt.MP3])),...["mp4","m4v"].map((t=>[t,jt.MP4])),...["ogg","oga"].map((t=>[t,jt.OGG])),...["pdf","ps"].map((t=>[t,jt.PDF])),...["png"].map((t=>[t,jt.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,jt.POWERPOINT])),...["rar"].map((t=>[t,jt.RAR])),...["stp"].map((t=>[t,jt.STP])),...["txt","rtf","md","mdown"].map((t=>[t,jt.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,jt.VIDEO])),...["wav"].map((t=>[t,jt.WAV])),...["wma"].map((t=>[t,jt.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,jt.WORD])),...["xml","xsl","rdf"].map((t=>[t,jt.XML])),...["yaml","yml","x-yaml"].map((t=>[t,jt.YAML])),...["zip"].map((t=>[t,jt.ZIP]))]);const Ft=ut.create("--ft-icon-font-size","SIZE","24px"),At=ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Lt=ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Tt=ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),_t=ut.create("--ft-icon-vertical-align","UNKNOWN","unset"),Pt=f`
119
- :host {
120
- display: inline-block;
118
+ */class Mt extends Rt{constructor(t){if(super(t),this.it=V,t.type!==Et)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===V||null==t)return this._t=void 0,this.it=t;if(t===I)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Mt.directiveName="unsafeHTML",Mt.resultType=1;const kt=(t=>(...e)=>({_$litDirective$:t,values:e}))(Mt);var Ut,jt;!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;"}(Ut||(Ut={})),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;"}(jt||(jt={})),new Map([...["abw"].map((t=>[t,jt.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,jt.AUDIO])),...["avi"].map((t=>[t,jt.AVI])),...["chm","xhs"].map((t=>[t,jt.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,jt.CODE])),...["csv"].map((t=>[t,jt.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,jt.DITA])),...["epub"].map((t=>[t,jt.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,jt.EXCEL])),...["flac"].map((t=>[t,jt.FLAC])),...["gif"].map((t=>[t,jt.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,jt.GZIP])),...["html","htm","xhtml"].map((t=>[t,jt.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,jt.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,jt.JPEG])),...["json"].map((t=>[t,jt.JSON])),...["m4a","m4p"].map((t=>[t,jt.M4A])),...["mov","qt"].map((t=>[t,jt.MOV])),...["mp3"].map((t=>[t,jt.MP3])),...["mp4","m4v"].map((t=>[t,jt.MP4])),...["ogg","oga"].map((t=>[t,jt.OGG])),...["pdf","ps"].map((t=>[t,jt.PDF])),...["png"].map((t=>[t,jt.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,jt.POWERPOINT])),...["rar"].map((t=>[t,jt.RAR])),...["stp"].map((t=>[t,jt.STP])),...["txt","rtf","md","mdown"].map((t=>[t,jt.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,jt.VIDEO])),...["wav"].map((t=>[t,jt.WAV])),...["wma"].map((t=>[t,jt.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,jt.WORD])),...["xml","xsl","rdf"].map((t=>[t,jt.XML])),...["yaml","yml","x-yaml"].map((t=>[t,jt.YAML])),...["zip"].map((t=>[t,jt.ZIP]))]);const Ft=ut.create("--ft-icon-font-size","SIZE","24px"),At=ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),Lt=ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),Tt=ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),_t=ut.create("--ft-icon-vertical-align","UNKNOWN","unset"),Pt=f`
119
+ :host, i.ft-icon {
120
+ display: inline-flex;
121
+ align-items: center;
122
+ justify-content: center;
121
123
  }
122
124
 
123
- :host, i.ft-icon {
125
+ :host {
124
126
  width: ${Ft};
125
127
  height: ${Ft};
126
- text-align: center;
127
128
  }
128
129
 
129
130
  i.ft-icon {
131
+ width: 100%;
132
+ height: 100%;
130
133
  font-size: ${Ft};
131
134
  line-height: 1;
132
135
  font-weight: normal;
@@ -141,8 +144,13 @@ var at,lt;class ct extends C{constructor(){super(...arguments),this.renderOption
141
144
  vertical-align: ${_t};
142
145
  }
143
146
 
144
- .ft-icon--fluid-topics {
147
+ i.ft-icon.ft-icon--fluid-topics {
145
148
  font-family: ${At}, ft-icons, fticons, sans-serif;
149
+
150
+ /* Ugly fix because font is broken */
151
+ font-size: calc(0.9 * ${Ft});
152
+ position: relative;
153
+ top: -5%;
146
154
  }
147
155
 
148
156
  .ft-icon--file-format {
@@ -163,7 +171,7 @@ var at,lt;class ct extends C{constructor(){super(...arguments),this.renderOption
163
171
  * Copyright 2017 Google LLC
164
172
  * SPDX-License-Identifier: BSD-3-Clause
165
173
  */
166
- function(t,e){return(({finisher:t,descriptor:e})=>(i,s)=>{var o;if(void 0===s){const s=null!==(o=i.originalKey)&&void 0!==o?o:i.key,n=null!=e?{kind:"method",placement:"prototype",key:s,descriptor:e(i.key)}:{...i,key:s};return null!=t&&(n.finisher=function(e){t(e,s)}),n}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,s,e(s)),null==t||t(o,s)}})({descriptor:i=>{const s={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;s.get=function(){var i,s;return void 0===this[e]&&(this[e]=null!==(s=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==s?s:null),this[e]}}return s}})}("slot")],Dt.prototype,"slottedContent",void 0),r("ft-icon")(Dt);var Kt=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class zt extends $t{render(){var t;return this.map&&(this.error||this.content)?H`
174
+ function(t,e){return(({finisher:t,descriptor:e})=>(i,s)=>{var o;if(void 0===s){const s=null!==(o=i.originalKey)&&void 0!==o?o:i.key,n=null!=e?{kind:"method",placement:"prototype",key:s,descriptor:e(i.key)}:{...i,key:s};return null!=t&&(n.finisher=function(e){t(e,s)}),n}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,s,e(s)),null==t||t(o,s)}})({descriptor:i=>{const s={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;s.get=function(){var i,s;return void 0===this[e]&&(this[e]=null!==(s=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==s?s:null),this[e]}}return s}})}("slot")],Dt.prototype,"slottedContent",void 0),r("ft-icon")(Dt);var zt=function(t,e,i,s){for(var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Kt extends $t{render(){var t;return this.map&&(this.error||this.content)?H`
167
175
  <style>
168
176
  @import "${null===(t=this.map)||void 0===t?void 0:t.contentStyles.topicStylesheetUrl}";
169
177
  </style>
@@ -181,4 +189,4 @@ function(t,e){return(({finisher:t,descriptor:e})=>(i,s)=>{var o;if(void 0===s){c
181
189
  <div class="depth-${null===(s=this.tocNode)||void 0===s?void 0:s.depth} content-locale-${this.contentLocale} ${o}">
182
190
  ${kt(`${this.content}`)}
183
191
  </div>
184
- `}is404Error(){return 404===this.error.status}}zt.styles=gt,Kt([xt((t=>{var e;return null===(e=t.map)||void 0===e?void 0:e.lang}))],zt.prototype,"contentLocale",void 0),Kt([xt()],zt.prototype,"map",void 0),Kt([xt()],zt.prototype,"scrollTarget",void 0),Kt([o()],zt.prototype,"content",void 0),Kt([o()],zt.prototype,"error",void 0),r("ft-reader-topic-content")(zt),t.FtReaderTopicContent=zt,t.FtReaderTopicContentCssVariables=yt,t.styles=gt,Object.defineProperty(t,"i",{value:!0})}({});
192
+ `}is404Error(){return 404===this.error.status}}Kt.styles=gt,zt([xt((t=>{var e;return null===(e=t.map)||void 0===e?void 0:e.lang}))],Kt.prototype,"contentLocale",void 0),zt([xt()],Kt.prototype,"map",void 0),zt([xt()],Kt.prototype,"scrollTarget",void 0),zt([o()],Kt.prototype,"content",void 0),zt([o()],Kt.prototype,"error",void 0),r("ft-reader-topic-content")(Kt),t.FtReaderTopicContent=Kt,t.FtReaderTopicContentCssVariables=yt,t.styles=gt,Object.defineProperty(t,"i",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-topic-content",
3
- "version": "0.3.49",
3
+ "version": "0.3.50",
4
4
  "description": "Content of a topic in integrated reader.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,13 +19,13 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-chip": "0.3.49",
23
- "@fluid-topics/ft-reader-context": "0.3.49",
24
- "@fluid-topics/ft-reader-topic-context": "0.3.49",
25
- "@fluid-topics/ft-tooltip": "0.3.49",
26
- "@fluid-topics/ft-wc-utils": "0.3.49",
22
+ "@fluid-topics/ft-chip": "0.3.50",
23
+ "@fluid-topics/ft-reader-context": "0.3.50",
24
+ "@fluid-topics/ft-reader-topic-context": "0.3.50",
25
+ "@fluid-topics/ft-tooltip": "0.3.50",
26
+ "@fluid-topics/ft-wc-utils": "0.3.50",
27
27
  "@fluid-topics/public-api": "1.0.28",
28
28
  "lit": "2.2.8"
29
29
  },
30
- "gitHead": "3584a4f0b3edc500a360c2afe2ef3e5cdbb604b6"
30
+ "gitHead": "ed73266ceb5360df2eefd4cbb314c1b9b2e811dc"
31
31
  }