@fluid-topics/ft-reader-feedback 1.0.0-alpha.1 → 1.0.0

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,4 +1,4 @@
1
- !function(t,e,i,o,s,n,r){var a=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class l extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const h=Symbol("registerInterval");class d extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[h]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[h]):this.dispatchEvent(new l)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=h,a([o.state()],i.prototype,"stateManager",void 0),i}(e.FtLitElementRedux)){}const p=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),c={color:p,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",p),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system")},f=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),u=f,b=e.FtCssVariableFactory.extend("--ft-ripple-background-color",f),v=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),g=v,x=e.FtCssVariableFactory.extend("--ft-ripple-background-color",v),y=i.css`
1
+ !function(t,e,i,o,s,n,r){var a=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class l extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const h=Symbol("registerInterval");class d extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[h]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[h]):this.dispatchEvent(new l)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=h,a([o.state()],i.prototype,"stateManager",void 0),i}(e.FtLitElementRedux)){}const p=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),c={color:p,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color",p),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},f=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),u=f,b=e.FtCssVariableFactory.extend("--ft-ripple-background-color",f),v=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),g=v,x=e.FtCssVariableFactory.extend("--ft-ripple-background-color",v),y=i.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -11,6 +11,7 @@
11
11
 
12
12
  .ft-ripple:not(.ft-ripple--unbounded) {
13
13
  overflow: hidden;
14
+ border-radius: ${c.borderRadius};
14
15
  }
15
16
 
16
17
  .ft-ripple .ft-ripple--background,
@@ -87,7 +88,7 @@
87
88
  opacity: ${c.opacityContentOnSurfacePressed};
88
89
  transform: translate(-50%, -50%) scale(1);
89
90
  }
90
- `,m=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),$=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),w={fontFamily:$,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")},k={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-title-font-family",m),fontSize:e.FtCssVariableFactory.extend("--ft-typography-title-font-size",w.fontSize,"20px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",w.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",w.letterSpacing,"0.15px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-title-line-height",w.lineHeight,"1.2"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",w.textTransform,"inherit")},_={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",m),fontSize:e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",w.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",w.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",w.letterSpacing,"0.105px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",w.lineHeight,"1.7"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",w.textTransform,"inherit")},S=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",$),I=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",w.fontSize,"16px"),z=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",w.fontWeight,"600"),C=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",w.letterSpacing,"0.144px"),T=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",w.lineHeight,"1.5"),O=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",w.textTransform,"inherit"),R=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",$),N=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",w.fontSize,"14px"),D=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",w.fontWeight,"normal"),E=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",w.letterSpacing,"0.098px"),A=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",w.lineHeight,"1.7"),B=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",w.textTransform,"inherit"),j={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",$),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",w.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",w.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",w.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",w.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",w.textTransform,"inherit")},M=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",$),U=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",w.fontSize,"14px"),F=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",w.fontWeight,"normal"),L=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",w.letterSpacing,"0.252px"),P=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",w.lineHeight,"1.4"),H=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",w.textTransform,"inherit"),Z={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",$),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",w.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",w.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",w.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",w.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",w.textTransform,"inherit")},W=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",$),V=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",w.fontSize,"10px"),G=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",w.fontWeight,"normal"),K=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",w.letterSpacing,"0.33px"),Y=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",w.lineHeight,"1.6"),q=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",w.textTransform,"inherit"),X=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",$),J=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",w.fontSize,"10px"),Q=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",w.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",w.letterSpacing,"1.5px"),et=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",w.lineHeight,"1.6"),it=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",w.textTransform,"uppercase"),ot={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family",$),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size",w.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",w.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",w.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height",w.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",w.textTransform,"uppercase")},st=i.css`
91
+ `,m=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),$=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),w={fontFamily:$,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")},k={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-title-font-family",m),fontSize:e.FtCssVariableFactory.extend("--ft-typography-title-font-size",w.fontSize,"20px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",w.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",w.letterSpacing,"0.15px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-title-line-height",w.lineHeight,"1.2"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",w.textTransform,"inherit")},_={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",m),fontSize:e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",w.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",w.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",w.letterSpacing,"0.105px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",w.lineHeight,"1.7"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",w.textTransform,"inherit")},S=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",$),I=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",w.fontSize,"16px"),z=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",w.fontWeight,"600"),C=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",w.letterSpacing,"0.144px"),T=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",w.lineHeight,"1.5"),O=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",w.textTransform,"inherit"),R=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",$),N=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",w.fontSize,"14px"),D=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",w.fontWeight,"normal"),E=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",w.letterSpacing,"0.098px"),A=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",w.lineHeight,"1.7"),B=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",w.textTransform,"inherit"),j={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",$),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",w.fontSize,"16px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",w.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",w.letterSpacing,"0.496px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",w.lineHeight,"1.5"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",w.textTransform,"inherit")},M=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",$),U=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",w.fontSize,"14px"),F=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",w.fontWeight,"normal"),L=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",w.letterSpacing,"0.252px"),P=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",w.lineHeight,"1.4"),Z=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",w.textTransform,"inherit"),H={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",$),fontSize:e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",w.fontSize,"12px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",w.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",w.letterSpacing,"0.396px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",w.lineHeight,"1.33"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",w.textTransform,"inherit")},W=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",$),V=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",w.fontSize,"10px"),G=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",w.fontWeight,"normal"),K=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",w.letterSpacing,"0.33px"),Y=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",w.lineHeight,"1.6"),q=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",w.textTransform,"inherit"),X=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",$),J=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",w.fontSize,"10px"),Q=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",w.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",w.letterSpacing,"1.5px"),et=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",w.lineHeight,"1.6"),it=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",w.textTransform,"uppercase"),ot={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family",$),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size",w.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",w.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",w.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height",w.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",w.textTransform,"uppercase")},st=i.css`
91
92
  .ft-typography--title {
92
93
  font-family: ${k.fontFamily};
93
94
  font-size: ${k.fontSize};
@@ -140,16 +141,16 @@
140
141
  font-weight: ${F};
141
142
  letter-spacing: ${L};
142
143
  line-height: ${P};
143
- text-transform: ${H};
144
+ text-transform: ${Z};
144
145
  }
145
146
  `,dt=i.css`
146
147
  .ft-typography--caption {
147
- font-family: ${Z.fontFamily};
148
- font-size: ${Z.fontSize};
149
- font-weight: ${Z.fontWeight};
150
- letter-spacing: ${Z.letterSpacing};
151
- line-height: ${Z.lineHeight};
152
- text-transform: ${Z.textTransform};
148
+ font-family: ${H.fontFamily};
149
+ font-size: ${H.fontSize};
150
+ font-weight: ${H.fontWeight};
151
+ letter-spacing: ${H.letterSpacing};
152
+ line-height: ${H.lineHeight};
153
+ text-transform: ${H.textTransform};
153
154
  }
154
155
  `,pt=i.css`
155
156
  .ft-typography--breadcrumb {
@@ -286,6 +287,7 @@
286
287
 
287
288
  /* Ugly fix because font is broken */
288
289
  font-size: calc(0.75 * ${gt.size});
290
+ line-height: ${gt.size};
289
291
  position: relative;
290
292
  top: -4%;
291
293
  justify-content: center;
@@ -298,7 +300,7 @@
298
300
  .ft-icon--material {
299
301
  font-family: ${gt.materialFontFamily}, "Material Icons", sans-serif;
300
302
  }
301
- `,yt=e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorPrimary),mt={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusL),color:yt,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size",ot.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color",yt),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},$t=e.FtCssVariableFactory.extend("--ft-button-primary-color",e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorOnPrimary)),wt={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color",e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorPrimary)),color:$t,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",$t)},kt=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius",e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusM)),_t=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),St=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),It=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),zt=[e.noTextSelect,i.css`
303
+ `,yt=e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorPrimary),mt={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusL),color:yt,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size",ot.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color",yt),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},$t=e.FtCssVariableFactory.extend("--ft-button-primary-color",e.FtCssVariableFactory.extend("--ft-button-color",e.designSystemVariables.colorOnPrimary)),wt={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color",e.FtCssVariableFactory.extend("--ft-button-background-color",e.designSystemVariables.colorPrimary)),color:$t,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",$t)},kt=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius",e.FtCssVariableFactory.extend("--ft-button-border-radius",e.designSystemVariables.borderRadiusM)),_t=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),St=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),It=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),zt=[i.css`
302
304
  :host {
303
305
  display: inline-block;
304
306
  max-width: 100%;
@@ -338,11 +340,10 @@
338
340
  border: none;
339
341
  pointer-events: auto;
340
342
 
341
- --ft-button-internal-line-height: calc(${mt.fontSize} + 2px);
343
+ --ft-button-internal-line-height: max(calc(${mt.fontSize} + 2px), ${mt.iconSize});
342
344
  --ft-button-internal-color: ${mt.color};
343
345
  ${e.setVariable(gt.size,mt.iconSize)};
344
346
  ${e.setVariable(c.color,mt.rippleColor)};
345
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${mt.iconSize});
346
347
 
347
348
  border-radius: ${mt.borderRadius};
348
349
  padding: ${mt.verticalPadding} ${mt.horizontalPadding};
@@ -371,11 +372,11 @@
371
372
  }
372
373
 
373
374
  .ft-button--round {
374
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${mt.verticalPadding});
375
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${mt.verticalPadding});
375
376
  }
376
377
 
377
378
  .ft-button--round.ft-button--dense {
378
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${_t});
379
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${_t});
379
380
  }
380
381
 
381
382
  .ft-button[disabled] {
@@ -401,7 +402,7 @@
401
402
  display: block;
402
403
  margin: 0 ${mt.iconPadding};
403
404
  ${e.setVariable(ot.fontSize,"1em")};
404
- ${e.setVariable(ot.lineHeight,"var(--ft-button-internal-content-height)")};
405
+ ${e.setVariable(ot.lineHeight,"var(--ft-button-internal-line-height)")};
405
406
  }
406
407
 
407
408
  .ft-button--dense .ft-button--label {
@@ -436,7 +437,7 @@
436
437
  ${e.setVariable(bt.size,mt.iconSize)};
437
438
  ${e.setVariable(bt.color,"var(--ft-button-internal-color)")};
438
439
  }
439
- `],Ct={textColor:e.FtCssVariableFactory.extend("--ft-switch-text-color",e.designSystemVariables.colorOnSurfaceHigh),backgroundColor:e.FtCssVariableFactory.extend("--ft-switch-background-color",e.designSystemVariables.colorSurface),selectedTextColor:e.FtCssVariableFactory.extend("--ft-switch-selected-text-color",e.designSystemVariables.colorPrimary),selectedBackgroundColor:e.FtCssVariableFactory.extend("--ft-switch-selected-background-color",e.designSystemVariables.colorPrimary),borderColor:e.FtCssVariableFactory.extend("--ft-switch-border-color",e.designSystemVariables.colorOutline),borderRadius:e.FtCssVariableFactory.extend("--ft-switch-border-radius",e.designSystemVariables.borderRadiusL),fontSize:e.FtCssVariableFactory.extend("--ft-switch-font-size",ot.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-switch-icon-size","SIZE","24px"),iconColor:e.FtCssVariableFactory.extend("--ft-switch-text-color",e.designSystemVariables.colorOnSurfaceMedium),rippleColor:e.FtCssVariableFactory.extend("--ft-switch-ripple-color",e.designSystemVariables.colorPrimary),outlineColor:e.FtCssVariableFactory.extend("--ft-switch-outline-color",e.designSystemVariables.colorPrimary)},Tt={feedbackInputMinWidth:e.FtCssVariableFactory.create("--ft-reader-feedback-input-min-width","SIZE","300px"),ratedDateColor:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:e.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-color",e.designSystemVariables.colorOnPrimary),sendFeedbackBackgroundColor:e.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-background-color",e.designSystemVariables.colorPrimary),filledRatingColor:e.FtCssVariableFactory.extend("--ft-reader-feedback-filled-rating-color",e.designSystemVariables.colorPrimary),emptyRatingColor:e.FtCssVariableFactory.extend("--ft-reader-feedback-empty-rating-color",e.designSystemVariables.colorOnSurfaceMedium),mainTitleFontSize:e.FtCssVariableFactory.external(k.fontSize,"Typography"),sectionTitleFontSize:e.FtCssVariableFactory.external(_.fontSize,"Typography")},Ot=i.css`
440
+ `,e.noTextSelect],Ct={textColor:e.FtCssVariableFactory.extend("--ft-switch-text-color",e.designSystemVariables.colorOnSurfaceHigh),backgroundColor:e.FtCssVariableFactory.extend("--ft-switch-background-color",e.designSystemVariables.colorSurface),selectedTextColor:e.FtCssVariableFactory.extend("--ft-switch-selected-text-color",e.designSystemVariables.colorPrimary),selectedBackgroundColor:e.FtCssVariableFactory.extend("--ft-switch-selected-background-color",e.designSystemVariables.colorPrimary),borderColor:e.FtCssVariableFactory.extend("--ft-switch-border-color",e.designSystemVariables.colorOutline),borderRadius:e.FtCssVariableFactory.extend("--ft-switch-border-radius",e.designSystemVariables.borderRadiusL),fontSize:e.FtCssVariableFactory.extend("--ft-switch-font-size",ot.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-switch-icon-size","SIZE","24px"),iconColor:e.FtCssVariableFactory.extend("--ft-switch-text-color",e.designSystemVariables.colorOnSurfaceMedium),rippleColor:e.FtCssVariableFactory.extend("--ft-switch-ripple-color",e.designSystemVariables.colorPrimary),outlineColor:e.FtCssVariableFactory.extend("--ft-switch-outline-color",e.designSystemVariables.colorPrimary)},Tt={feedbackInputMinWidth:e.FtCssVariableFactory.create("--ft-reader-feedback-input-min-width","SIZE","300px"),ratedDateColor:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:e.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-color",e.designSystemVariables.colorOnPrimary),sendFeedbackBackgroundColor:e.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-background-color",e.designSystemVariables.colorPrimary),filledRatingColor:e.FtCssVariableFactory.extend("--ft-reader-feedback-filled-rating-color",e.designSystemVariables.colorPrimary),emptyRatingColor:e.FtCssVariableFactory.extend("--ft-reader-feedback-empty-rating-color",e.designSystemVariables.colorOnSurfaceMedium),mainTitleFontSize:e.FtCssVariableFactory.external(k.fontSize,"Typography"),sectionTitleFontSize:e.FtCssVariableFactory.external(_.fontSize,"Typography")},Ot=i.css`
440
441
  .ft-reader-feedback {
441
442
  box-sizing: border-box;
442
443
  display: flex;
@@ -514,7 +515,7 @@
514
515
  * @license
515
516
  * Copyright 2017 Google LLC
516
517
  * SPDX-License-Identifier: BSD-3-Clause
517
- */;var Rt;const Nt=window,Dt=Nt.trustedTypes,Et=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,At="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Bt,Mt=`<${jt}>`,Ut=document,Ft=()=>Ut.createComment(""),Lt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,Ht="[ \t\n\f\r]",Zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wt=/-->/g,Vt=/>/g,Gt=RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Kt=/'/g,Yt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Xt=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Jt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),te=new WeakMap,ee=Ut.createTreeWalker(Ut,129,null,!1),ie=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=Zt;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,d=0;for(;d<i.length&&(r.lastIndex=d,l=r.exec(i),null!==l);)d=r.lastIndex,r===Zt?"!--"===l[1]?r=Wt:void 0!==l[1]?r=Vt:void 0!==l[2]?(qt.test(l[2])&&(s=RegExp("</"+l[2],"g")),r=Gt):void 0!==l[3]&&(r=Gt):r===Gt?">"===l[0]?(r=null!=s?s:Zt,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?Gt:'"'===l[3]?Yt:Kt):r===Yt||r===Kt?r=Gt:r===Wt||r===Vt?r=Zt:(r=Gt,s=void 0);const p=r===Gt&&t[e+1].startsWith("/>")?" ":"";n+=r===Zt?i+Mt:h>=0?(o.push(a),i.slice(0,h)+At+i.slice(h)+Bt+p):i+Bt+(-2===h?(o.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==Et?Et.createHTML(a):a,o]};class oe{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,a=this.parts,[l,h]=ie(t,e);if(this.el=oe.createElement(l,i),ee.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=ee.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(At)||e.startsWith(Bt)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+At).split(Bt),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?le:"?"===e[1]?de:"@"===e[1]?pe:ae})}else a.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(qt.test(o.tagName)){const t=o.textContent.split(Bt),e=t.length-1;if(e>0){o.textContent=Dt?Dt.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],Ft()),ee.nextNode(),a.push({type:2,index:++s});o.append(t[e],Ft())}}}else if(8===o.nodeType)if(o.data===jt)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(Bt,t+1));)a.push({type:7,index:s}),t+=Bt.length-1}s++}}static createElement(t,e){const i=Ut.createElement("template");return i.innerHTML=t,i}}function se(t,e,i=t,o){var s,n,r,a;if(e===Jt)return e;let l=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const h=Lt(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=se(t,l._$AS(t,e.values),l,o)),e}class ne{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,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:Ut).importNode(i,!0);ee.currentNode=s;let n=ee.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new re(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new ce(n,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(n=ee.nextNode(),r++)}return s}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 re{constructor(t,e,i,o){var s;this.type=2,this._$AH=Qt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=se(this,t,e),Lt(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Jt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Pt(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!==Qt&&Lt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ut.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=oe.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new ne(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=te.get(t.strings);return void 0===e&&te.set(t.strings,e=new oe(t)),e}T(t){Pt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new re(this.k(Ft()),this.k(Ft()),this,this.options)):i=e[o],i._$AI(s),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 ae{constructor(t,e,i,o,s){this.type=1,this._$AH=Qt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Qt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=se(this,t,e,0),n=!Lt(t)||t!==this._$AH&&t!==Jt,n&&(this._$AH=t);else{const o=t;let r,a;for(t=s[0],r=0;r<s.length-1;r++)a=se(this,o[i+r],e,r),a===Jt&&(a=this._$AH[r]),n||(n=!Lt(a)||a!==this._$AH[r]),a===Qt?t=Qt:t!==Qt&&(t+=(null!=a?a:"")+s[r+1]),this._$AH[r]=a}n&&!o&&this.j(t)}j(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class le extends ae{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Qt?void 0:t}}const he=Dt?Dt.emptyScript:"";class de extends ae{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Qt?this.element.setAttribute(this.name,he):this.element.removeAttribute(this.name)}}class pe extends ae{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=se(this,t,e,0))&&void 0!==i?i:Qt)===Jt)return;const o=this._$AH,s=t===Qt&&o!==Qt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==Qt&&(o===Qt||s);s&&this.element.removeEventListener(this.name,this,o),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 ce{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){se(this,t)}}const fe=Nt.litHtmlPolyfillSupport;null==fe||fe(oe,re),(null!==(Rt=Nt.litHtmlVersions)&&void 0!==Rt?Rt:Nt.litHtmlVersions=[]).push("2.7.3");
518
+ */;var Rt;const Nt=window,Dt=Nt.trustedTypes,Et=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,At="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Bt,Mt=`<${jt}>`,Ut=document,Ft=()=>Ut.createComment(""),Lt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,Zt="[ \t\n\f\r]",Ht=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wt=/-->/g,Vt=/>/g,Gt=RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Kt=/'/g,Yt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Xt=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Jt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),te=new WeakMap,ee=Ut.createTreeWalker(Ut,129,null,!1),ie=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=Ht;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,d=0;for(;d<i.length&&(r.lastIndex=d,l=r.exec(i),null!==l);)d=r.lastIndex,r===Ht?"!--"===l[1]?r=Wt:void 0!==l[1]?r=Vt:void 0!==l[2]?(qt.test(l[2])&&(s=RegExp("</"+l[2],"g")),r=Gt):void 0!==l[3]&&(r=Gt):r===Gt?">"===l[0]?(r=null!=s?s:Ht,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?Gt:'"'===l[3]?Yt:Kt):r===Yt||r===Kt?r=Gt:r===Wt||r===Vt?r=Ht:(r=Gt,s=void 0);const p=r===Gt&&t[e+1].startsWith("/>")?" ":"";n+=r===Ht?i+Mt:h>=0?(o.push(a),i.slice(0,h)+At+i.slice(h)+Bt+p):i+Bt+(-2===h?(o.push(void 0),e):p)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==Et?Et.createHTML(a):a,o]};class oe{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,a=this.parts,[l,h]=ie(t,e);if(this.el=oe.createElement(l,i),ee.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=ee.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(At)||e.startsWith(Bt)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+At).split(Bt),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?le:"?"===e[1]?de:"@"===e[1]?pe:ae})}else a.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(qt.test(o.tagName)){const t=o.textContent.split(Bt),e=t.length-1;if(e>0){o.textContent=Dt?Dt.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],Ft()),ee.nextNode(),a.push({type:2,index:++s});o.append(t[e],Ft())}}}else if(8===o.nodeType)if(o.data===jt)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(Bt,t+1));)a.push({type:7,index:s}),t+=Bt.length-1}s++}}static createElement(t,e){const i=Ut.createElement("template");return i.innerHTML=t,i}}function se(t,e,i=t,o){var s,n,r,a;if(e===Jt)return e;let l=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const h=Lt(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=se(t,l._$AS(t,e.values),l,o)),e}class ne{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,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:Ut).importNode(i,!0);ee.currentNode=s;let n=ee.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new re(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new ce(n,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(n=ee.nextNode(),r++)}return s}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 re{constructor(t,e,i,o){var s;this.type=2,this._$AH=Qt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}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=se(this,t,e),Lt(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Jt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Pt(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!==Qt&&Lt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ut.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=oe.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new ne(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=te.get(t.strings);return void 0===e&&te.set(t.strings,e=new oe(t)),e}T(t){Pt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new re(this.k(Ft()),this.k(Ft()),this,this.options)):i=e[o],i._$AI(s),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 ae{constructor(t,e,i,o,s){this.type=1,this._$AH=Qt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Qt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=se(this,t,e,0),n=!Lt(t)||t!==this._$AH&&t!==Jt,n&&(this._$AH=t);else{const o=t;let r,a;for(t=s[0],r=0;r<s.length-1;r++)a=se(this,o[i+r],e,r),a===Jt&&(a=this._$AH[r]),n||(n=!Lt(a)||a!==this._$AH[r]),a===Qt?t=Qt:t!==Qt&&(t+=(null!=a?a:"")+s[r+1]),this._$AH[r]=a}n&&!o&&this.j(t)}j(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class le extends ae{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Qt?void 0:t}}const he=Dt?Dt.emptyScript:"";class de extends ae{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Qt?this.element.setAttribute(this.name,he):this.element.removeAttribute(this.name)}}class pe extends ae{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=se(this,t,e,0))&&void 0!==i?i:Qt)===Jt)return;const o=this._$AH,s=t===Qt&&o!==Qt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==Qt&&(o===Qt||s);s&&this.element.removeEventListener(this.name,this,o),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 ce{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){se(this,t)}}const fe=Nt.litHtmlPolyfillSupport;null==fe||fe(oe,re),(null!==(Rt=Nt.litHtmlVersions)&&void 0!==Rt?Rt:Nt.litHtmlVersions=[]).push("2.7.3");
518
519
  /**
519
520
  * @license
520
521
  * Copyright 2020 Google LLC
@@ -528,7 +529,7 @@ const ue=Symbol.for(""),be=t=>{if((null==t?void 0:t.r)===ue)return null==t?void
528
529
  `:xe`
529
530
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
530
531
  `}}_e.styles=[st,nt,rt,at,lt,ht,dt,pt,ct,ft,ut],ke([o.property()],_e.prototype,"element",void 0),ke([o.property()],_e.prototype,"variant",void 0),e.customElement("ft-typography")(_e),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]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(we||(we={}));var Se=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ie extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(we).includes(this.variant)?this.variant:we.fluid_topics,e=t!==we.material||!!this.value;return i.html`
531
- <i class="ft-icon ${"ft-icon--"+t}">
532
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
532
533
  ${s.unsafeHTML(this.resolvedIcon)}
533
534
  <slot ?hidden=${e}></slot>
534
535
  </i>
@@ -707,7 +708,7 @@ const ue=Symbol.for(""),be=t=>{if((null==t?void 0:t.r)===ue)return null==t?void
707
708
  </ft-tooltip>
708
709
  `}onChange(){this.selected=!this.unselectable||!this.selected}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?i.html`
709
710
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
710
- `:i.nothing}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}Pe.elementDefinitions={"ft-ripple":je,"ft-typography":_e,"ft-tooltip":Ae,"ft-icon":Ie},Pe.styles=[e.safariEllipsisFix,Ue],Fe([o.property()],Pe.prototype,"value",void 0),Fe([o.property()],Pe.prototype,"icon",void 0),Fe([o.property()],Pe.prototype,"iconVariant",void 0),Fe([o.property()],Pe.prototype,"label",void 0),Fe([o.property()],Pe.prototype,"tooltipPosition",void 0),Fe([o.property({type:Boolean,reflect:!0})],Pe.prototype,"selected",void 0),Fe([o.property({type:Boolean})],Pe.prototype,"trailingIcon",void 0),Fe([o.property({type:Boolean})],Pe.prototype,"unselectable",void 0),Fe([o.query(".ft-switch-option--content slot")],Pe.prototype,"slottedContent",void 0),Fe([o.query(".ft-switch-option--input")],Pe.prototype,"input",void 0);var He=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ze extends CustomEvent{constructor(t){super("change",{detail:t})}}class We extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}updated(t){var e;super.updated(t),t.has("selectedOption")&&(this.updateOptions(),this.dispatchEvent(new Ze(null===(e=this.selectedOption)||void 0===e?void 0:e.value))),t.has("unselectable")&&this.options.forEach((t=>t.unselectable=this.unselectable))}render(){const t={"ft-switch":!0,"ft-switch--dense":this.dense};return i.html`
711
+ `:i.nothing}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}Pe.elementDefinitions={"ft-ripple":je,"ft-typography":_e,"ft-tooltip":Ae,"ft-icon":Ie},Pe.styles=[e.safariEllipsisFix,Ue],Fe([o.property()],Pe.prototype,"value",void 0),Fe([o.property()],Pe.prototype,"icon",void 0),Fe([o.property()],Pe.prototype,"iconVariant",void 0),Fe([o.property()],Pe.prototype,"label",void 0),Fe([o.property()],Pe.prototype,"tooltipPosition",void 0),Fe([o.property({type:Boolean,reflect:!0})],Pe.prototype,"selected",void 0),Fe([o.property({type:Boolean})],Pe.prototype,"trailingIcon",void 0),Fe([o.property({type:Boolean})],Pe.prototype,"unselectable",void 0),Fe([o.query(".ft-switch-option--content slot")],Pe.prototype,"slottedContent",void 0),Fe([o.query(".ft-switch-option--input")],Pe.prototype,"input",void 0);var Ze=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class He extends CustomEvent{constructor(t){super("change",{detail:t})}}class We extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}updated(t){var e;super.updated(t),t.has("selectedOption")&&(this.updateOptions(),this.dispatchEvent(new He(null===(e=this.selectedOption)||void 0===e?void 0:e.value))),t.has("unselectable")&&this.options.forEach((t=>t.unselectable=this.unselectable))}render(){const t={"ft-switch":!0,"ft-switch--dense":this.dense};return i.html`
711
712
  <div @keydown=${this.onKeyDown} tabindex="0" class="${n.classMap(t)}">
712
713
  <slot @slotchange=${this.onSlotchange}
713
714
  @option-change=${this.onOptionChange}></slot>
@@ -746,7 +747,7 @@ const ue=Symbol.for(""),be=t=>{if((null==t?void 0:t.r)===ue)return null==t?void
746
747
  --ft-switch-internal-vertical-padding: 2px;
747
748
  --ft-switch-internal-horizontal-padding: 4px;
748
749
  }
749
- `,He([o.property({type:Boolean})],We.prototype,"dense",void 0),He([o.property({type:Boolean})],We.prototype,"unselectable",void 0),He([o.query(".ft-switch slot")],We.prototype,"slottedContent",void 0),He([o.state()],We.prototype,"selectedOption",void 0),He([o.query(".ft-switch")],We.prototype,"ftSwitchDiv",void 0),e.customElement("ft-switch")(We),e.customElement("ft-switch-option")(Pe);const Ve=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),Ge=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),Ke=i.css`
750
+ `,Ze([o.property({type:Boolean})],We.prototype,"dense",void 0),Ze([o.property({type:Boolean})],We.prototype,"unselectable",void 0),Ze([o.query(".ft-switch slot")],We.prototype,"slottedContent",void 0),Ze([o.state()],We.prototype,"selectedOption",void 0),Ze([o.query(".ft-switch")],We.prototype,"ftSwitchDiv",void 0),e.customElement("ft-switch")(We),e.customElement("ft-switch-option")(Pe);const Ve=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),Ge=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),Ke=i.css`
750
751
  :host {
751
752
  display: block;
752
753
  }
@@ -826,8 +827,8 @@ const ue=Symbol.for(""),be=t=>{if((null==t?void 0:t.r)===ue)return null==t?void
826
827
  transition: font-size 250ms, line-height 250ms, color 250ms;
827
828
  max-width: calc(${Je.labelMaxWidth} - 2 * (${Je.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
828
829
  text-overflow: ellipsis;
829
- ${e.setVariable(Z.fontSize,Je.fontSize)};
830
- ${e.setVariable(Z.lineHeight,Je.fontSize)};
830
+ ${e.setVariable(H.fontSize,Je.fontSize)};
831
+ ${e.setVariable(H.lineHeight,Je.fontSize)};
831
832
  }
832
833
 
833
834
  .ft-input-label--in-error .ft-input-label--text {
@@ -859,8 +860,8 @@ const ue=Symbol.for(""),be=t=>{if((null==t?void 0:t.r)===ue)return null==t?void
859
860
  }
860
861
 
861
862
  .ft-input-label--raised .ft-input-label--text {
862
- ${e.setVariable(Z.fontSize,Je.raisedFontSize)};
863
- ${e.setVariable(Z.lineHeight,Je.raisedFontSize)};
863
+ ${e.setVariable(H.fontSize,Je.raisedFontSize)};
864
+ ${e.setVariable(H.lineHeight,Je.raisedFontSize)};
864
865
  }
865
866
 
866
867
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -1192,7 +1193,7 @@ const ue=Symbol.for(""),be=t=>{if((null==t?void 0:t.r)===ue)return null==t?void
1192
1193
  @rate=${this.rate}
1193
1194
  @send-feedback=${this.sendFeedback}
1194
1195
  ></ft-reader-feedback>
1195
- `}updated(t){var e,i,o;super.updated(t),t.has("map")&&this.map&&this.updateData(),["map","configuration","user","mailSubject"].some((e=>t.has(e)))&&this.map&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,null!==(i=null===(e=this.service)||void 0===e?void 0:e.getLink())&&void 0!==i?i:"",this.map.metadata,this.configuration,null!=(null===(o=this.user)||void 0===o?void 0:o.userId))}connectedCallback(){super.connectedCallback(),this.updateData()}onStoreAvailable(t){super.onStoreAvailable(t),this.updateData()}updateData(){this.updateDebouncer.run((async()=>{var t,e;this.map&&((null===(t=this.user)||void 0===t?void 0:t.userId)||null==this.ratingSummary)&&(this.ratingSummary=await(null===(e=this.service)||void 0===e?void 0:e.getMapRating()))}))}rate(t){this.ratingSummary&&(this.ratingSummary={...this.ratingSummary,rating:null==t.detail?void 0:{type:this.ratingSummary.type,value:t.detail,date:new Date}},this.sendRatingDebouncer.run((()=>this.sendRating(t.detail))))}async sendRating(t){var i,o,s;if(!this.editorMode&&this.ratingSummary){try{null==t?await(null===(i=this.service)||void 0===i?void 0:i.unrateMap()):await(null===(o=this.service)||void 0===o?void 0:o.rateMap(null===(s=this.ratingSummary)||void 0===s?void 0:s.type,t))}catch{this.dispatchEvent(new e.FtNotificationEvent({type:"error",message:Oi.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Ni.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var i;try{this.editorMode?this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Ni.messages.feedbackAndRatingDisabledInEditor()})):(await(null===(i=this.service)||void 0===i?void 0:i.sendMapFeedback(t.detail)),this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Oi.messages.feedbackSuccess()}))),this.readerFeedback.clearFeedbackInput()}catch{this.dispatchEvent(new e.FtNotificationEvent({type:"error",message:Oi.messages.feedbackFailure()}))}}}Ui.elementDefinitions={"ft-reader-feedback":Ai},Mi([e.redux({store:pi.name,selector:t=>{var e;return null===(e=t.session)||void 0===e?void 0:e.profile}})],Ui.prototype,"user",void 0),Mi([e.redux({store:"reader"})],Ui.prototype,"map",void 0),Mi([e.redux({store:pi.name})],Ui.prototype,"editorMode",void 0),Mi([e.redux({store:"reader",selector:t=>{var e;return null===(e=t.configuration)||void 0===e?void 0:e.feedback}})],Ui.prototype,"configuration",void 0),Mi([o.state()],Ui.prototype,"ratingSummary",void 0),Mi([o.property({type:Boolean})],Ui.prototype,"hideTitle",void 0),Mi([o.property()],Ui.prototype,"iconVariant",void 0),Mi([o.property()],Ui.prototype,"emptyStarIcon",void 0),Mi([o.property()],Ui.prototype,"filledStarIcon",void 0),Mi([o.property()],Ui.prototype,"emptyLikeIcon",void 0),Mi([o.property()],Ui.prototype,"filledLikeIcon",void 0),Mi([o.property()],Ui.prototype,"emptyDislikeIcon",void 0),Mi([o.property()],Ui.prototype,"filledDislikeIcon",void 0),Mi([o.query("ft-reader-feedback")],Ui.prototype,"readerFeedback",void 0),Mi([Ti(Bi.properties["mail.map_feedback.subject"]((t=>{var e;return[null===(e=t.map)||void 0===e?void 0:e.title]})))],Ui.prototype,"mailSubject",void 0);var Fi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Li extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const Pi=Symbol("registerInterval");class Hi extends(function(t){var e;class i extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[Pi]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[Pi]):this.dispatchEvent(new Li)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=Pi,Fi([o.state()],i.prototype,"tocNode",void 0),Fi([o.state()],i.prototype,"disableContextInteractions",void 0),i}(d)){}var Zi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Wi extends(ki(Hi)){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.iconVariant=we.fluid_topics,this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.feedbackLinkBuilder=new ji,this.i18nProperties={feedbackMainTitle:Oi.properties.topicFeedbackMainTitle(),ratingSectionTitle:Oi.properties.topicRatingSectionTitle(),dichotomousRatingSectionTitle:Oi.properties.topicDichotomousRatingSectionTitle(),feedbackSectionTitle:Oi.properties.topicFeedbackSectionTitle()},this.updateDebouncer=new e.Debouncer(100),this.sendRatingDebouncer=new e.Debouncer(500),this.addStore(pi)}render(){return null==this.map||null==this.tocNode?i.nothing:i.html`
1196
+ `}updated(t){var e,i,o;super.updated(t),t.has("map")&&this.map&&this.updateData(),["map","configuration","user","mailSubject"].some((e=>t.has(e)))&&this.map&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,null!==(i=null===(e=this.service)||void 0===e?void 0:e.getLink())&&void 0!==i?i:"",this.map.metadata,this.configuration,null!=(null===(o=this.user)||void 0===o?void 0:o.userId))}connectedCallback(){super.connectedCallback(),this.updateData()}onStoreAvailable(t){super.onStoreAvailable(t),this.updateData()}updateData(){this.updateDebouncer.run((async()=>{var t,e;this.map&&((null===(t=this.user)||void 0===t?void 0:t.userId)||null==this.ratingSummary)&&(this.ratingSummary=await(null===(e=this.service)||void 0===e?void 0:e.getMapRating()))}))}rate(t){this.ratingSummary&&(this.ratingSummary={...this.ratingSummary,rating:null==t.detail?void 0:{type:this.ratingSummary.type,value:t.detail,date:new Date}},this.sendRatingDebouncer.run((()=>this.sendRating(t.detail))))}async sendRating(t){var i,o,s;if(!this.editorMode&&this.ratingSummary){try{null==t?await(null===(i=this.service)||void 0===i?void 0:i.unrateMap()):await(null===(o=this.service)||void 0===o?void 0:o.rateMap(null===(s=this.ratingSummary)||void 0===s?void 0:s.type,t))}catch{this.dispatchEvent(new e.FtNotificationEvent({type:"error",message:Oi.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Ni.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var i;try{this.editorMode?this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Ni.messages.feedbackAndRatingDisabledInEditor()})):(await(null===(i=this.service)||void 0===i?void 0:i.sendMapFeedback(t.detail)),this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Oi.messages.feedbackSuccess()}))),this.readerFeedback.clearFeedbackInput()}catch{this.dispatchEvent(new e.FtNotificationEvent({type:"error",message:Oi.messages.feedbackFailure()}))}}}Ui.elementDefinitions={"ft-reader-feedback":Ai},Mi([e.redux({store:pi.name,selector:t=>{var e;return null===(e=t.session)||void 0===e?void 0:e.profile}})],Ui.prototype,"user",void 0),Mi([e.redux({store:"reader"})],Ui.prototype,"map",void 0),Mi([e.redux({store:pi.name})],Ui.prototype,"editorMode",void 0),Mi([e.redux({store:"reader",selector:t=>{var e;return null===(e=t.configuration)||void 0===e?void 0:e.feedback}})],Ui.prototype,"configuration",void 0),Mi([o.state()],Ui.prototype,"ratingSummary",void 0),Mi([o.property({type:Boolean})],Ui.prototype,"hideTitle",void 0),Mi([o.property()],Ui.prototype,"iconVariant",void 0),Mi([o.property()],Ui.prototype,"emptyStarIcon",void 0),Mi([o.property()],Ui.prototype,"filledStarIcon",void 0),Mi([o.property()],Ui.prototype,"emptyLikeIcon",void 0),Mi([o.property()],Ui.prototype,"filledLikeIcon",void 0),Mi([o.property()],Ui.prototype,"emptyDislikeIcon",void 0),Mi([o.property()],Ui.prototype,"filledDislikeIcon",void 0),Mi([o.query("ft-reader-feedback")],Ui.prototype,"readerFeedback",void 0),Mi([Ti(Bi.properties["mail.map_feedback.subject"]((t=>{var e;return[null===(e=t.map)||void 0===e?void 0:e.title]})))],Ui.prototype,"mailSubject",void 0);var Fi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Li extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const Pi=Symbol("registerInterval");class Zi extends(function(t){var e;class i extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[Pi]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[Pi]):this.dispatchEvent(new Li)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=Pi,Fi([o.state()],i.prototype,"tocNode",void 0),Fi([o.state()],i.prototype,"disableContextInteractions",void 0),i}(d)){}var Hi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Wi extends(ki(Zi)){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.iconVariant=we.fluid_topics,this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.feedbackLinkBuilder=new ji,this.i18nProperties={feedbackMainTitle:Oi.properties.topicFeedbackMainTitle(),ratingSectionTitle:Oi.properties.topicRatingSectionTitle(),dichotomousRatingSectionTitle:Oi.properties.topicDichotomousRatingSectionTitle(),feedbackSectionTitle:Oi.properties.topicFeedbackSectionTitle()},this.updateDebouncer=new e.Debouncer(100),this.sendRatingDebouncer=new e.Debouncer(500),this.addStore(pi)}render(){return null==this.map||null==this.tocNode?i.nothing:i.html`
1196
1197
  <ft-reader-feedback
1197
1198
  .i18nProperties=${this.i18nProperties}
1198
1199
  ?ratingAllowed=${this.tocNode.hasRating}
@@ -1211,4 +1212,4 @@ const ue=Symbol.for(""),be=t=>{if((null==t?void 0:t.r)===ue)return null==t?void
1211
1212
  @rate=${this.rate}
1212
1213
  @send-feedback=${this.sendFeedback}
1213
1214
  ></ft-reader-feedback>
1214
- `}updated(t){var e,i,o;super.updated(t),["tocNode","user"].some((e=>t.has(e)))&&this.tocNode&&this.updateData(),["map","tocNode","configuration","user","mailSubject"].some((e=>t.has(e)))&&this.map&&this.tocNode&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,null!==(i=null===(e=this.service)||void 0===e?void 0:e.getLink(this.tocNode.tocId))&&void 0!==i?i:"",this.map.metadata,this.configuration,null!=(null===(o=this.user)||void 0===o?void 0:o.userId))}connectedCallback(){super.connectedCallback(),this.updateData()}updateData(){this.updateDebouncer.run((async()=>{var t,e;this.tocNode&&((null===(t=this.user)||void 0===t?void 0:t.userId)||null==this.ratingSummary)&&(this.ratingSummary=await(null===(e=this.service)||void 0===e?void 0:e.getTopicRating(this.tocNode.tocId)))}))}rate(t){this.ratingSummary&&this.tocNode&&(this.ratingSummary={...this.ratingSummary,rating:null==t.detail?void 0:{tocId:this.tocNode.tocId,type:this.ratingSummary.type,value:t.detail,date:new Date}},this.sendRatingDebouncer.run((()=>this.sendRating(t.detail))))}async sendRating(t){var i,o,s;if(!this.editorMode&&this.ratingSummary&&this.tocNode){try{null==t?await(null===(i=this.service)||void 0===i?void 0:i.unrateTopic(this.tocNode.tocId)):await(null===(o=this.service)||void 0===o?void 0:o.rateTopic(this.tocNode.tocId,null===(s=this.ratingSummary)||void 0===s?void 0:s.type,t))}catch{this.dispatchEvent(new e.FtNotificationEvent({type:"error",message:Oi.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Ni.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var i;try{!this.editorMode&&this.tocNode?(await(null===(i=this.service)||void 0===i?void 0:i.sendTopicFeedback(this.tocNode.tocId,t.detail)),this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Oi.messages.feedbackSuccess()})),this.readerFeedback.clearFeedbackInput()):this.editorMode&&this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Ni.messages.feedbackAndRatingDisabledInEditor()}))}catch{this.dispatchEvent(new e.FtNotificationEvent({type:"error",message:Oi.messages.feedbackFailure()}))}}}Wi.elementDefinitions={"ft-reader-feedback":Ai},Zi([e.redux({store:pi.name,selector:t=>{var e;return null===(e=t.session)||void 0===e?void 0:e.profile}})],Wi.prototype,"user",void 0),Zi([e.redux({store:"reader"})],Wi.prototype,"map",void 0),Zi([e.redux({store:pi.name})],Wi.prototype,"editorMode",void 0),Zi([e.redux({store:"reader",selector:t=>{var e;return null===(e=t.configuration)||void 0===e?void 0:e.feedback}})],Wi.prototype,"configuration",void 0),Zi([o.state()],Wi.prototype,"ratingSummary",void 0),Zi([o.property({type:Boolean})],Wi.prototype,"hideTitle",void 0),Zi([o.property()],Wi.prototype,"iconVariant",void 0),Zi([o.property()],Wi.prototype,"emptyStarIcon",void 0),Zi([o.property()],Wi.prototype,"filledStarIcon",void 0),Zi([o.property()],Wi.prototype,"emptyLikeIcon",void 0),Zi([o.property()],Wi.prototype,"filledLikeIcon",void 0),Zi([o.property()],Wi.prototype,"emptyDislikeIcon",void 0),Zi([o.property()],Wi.prototype,"filledDislikeIcon",void 0),Zi([o.query("ft-reader-feedback")],Wi.prototype,"readerFeedback",void 0),Zi([Ti(Bi.properties["mail.feedback.subject"]((t=>{var e,i;return[null===(e=t.tocNode)||void 0===e?void 0:e.title,null===(i=t.map)||void 0===i?void 0:i.title]})))],Wi.prototype,"mailSubject",void 0),e.customElement("ft-reader-map-feedback")(Ui),e.customElement("ft-reader-topic-feedback")(Wi),t.FtReaderFeedbackCssVariables=Tt,t.FtReaderMapFeedback=Ui,t.FtReaderTopicFeedback=Wi,t.styles=Ot}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap,ftGlobals.litRepeat);
1215
+ `}updated(t){var e,i,o;super.updated(t),["tocNode","user"].some((e=>t.has(e)))&&this.tocNode&&this.updateData(),["map","tocNode","configuration","user","mailSubject"].some((e=>t.has(e)))&&this.map&&this.tocNode&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,null!==(i=null===(e=this.service)||void 0===e?void 0:e.getLink(this.tocNode.tocId))&&void 0!==i?i:"",this.map.metadata,this.configuration,null!=(null===(o=this.user)||void 0===o?void 0:o.userId))}connectedCallback(){super.connectedCallback(),this.updateData()}updateData(){this.updateDebouncer.run((async()=>{var t,e;this.tocNode&&((null===(t=this.user)||void 0===t?void 0:t.userId)||null==this.ratingSummary)&&(this.ratingSummary=await(null===(e=this.service)||void 0===e?void 0:e.getTopicRating(this.tocNode.tocId)))}))}rate(t){this.ratingSummary&&this.tocNode&&(this.ratingSummary={...this.ratingSummary,rating:null==t.detail?void 0:{tocId:this.tocNode.tocId,type:this.ratingSummary.type,value:t.detail,date:new Date}},this.sendRatingDebouncer.run((()=>this.sendRating(t.detail))))}async sendRating(t){var i,o,s;if(!this.editorMode&&this.ratingSummary&&this.tocNode){try{null==t?await(null===(i=this.service)||void 0===i?void 0:i.unrateTopic(this.tocNode.tocId)):await(null===(o=this.service)||void 0===o?void 0:o.rateTopic(this.tocNode.tocId,null===(s=this.ratingSummary)||void 0===s?void 0:s.type,t))}catch{this.dispatchEvent(new e.FtNotificationEvent({type:"error",message:Oi.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Ni.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var i;try{!this.editorMode&&this.tocNode?(await(null===(i=this.service)||void 0===i?void 0:i.sendTopicFeedback(this.tocNode.tocId,t.detail)),this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Oi.messages.feedbackSuccess()})),this.readerFeedback.clearFeedbackInput()):this.editorMode&&this.dispatchEvent(new e.FtNotificationEvent({type:"info",message:Ni.messages.feedbackAndRatingDisabledInEditor()}))}catch{this.dispatchEvent(new e.FtNotificationEvent({type:"error",message:Oi.messages.feedbackFailure()}))}}}Wi.elementDefinitions={"ft-reader-feedback":Ai},Hi([e.redux({store:pi.name,selector:t=>{var e;return null===(e=t.session)||void 0===e?void 0:e.profile}})],Wi.prototype,"user",void 0),Hi([e.redux({store:"reader"})],Wi.prototype,"map",void 0),Hi([e.redux({store:pi.name})],Wi.prototype,"editorMode",void 0),Hi([e.redux({store:"reader",selector:t=>{var e;return null===(e=t.configuration)||void 0===e?void 0:e.feedback}})],Wi.prototype,"configuration",void 0),Hi([o.state()],Wi.prototype,"ratingSummary",void 0),Hi([o.property({type:Boolean})],Wi.prototype,"hideTitle",void 0),Hi([o.property()],Wi.prototype,"iconVariant",void 0),Hi([o.property()],Wi.prototype,"emptyStarIcon",void 0),Hi([o.property()],Wi.prototype,"filledStarIcon",void 0),Hi([o.property()],Wi.prototype,"emptyLikeIcon",void 0),Hi([o.property()],Wi.prototype,"filledLikeIcon",void 0),Hi([o.property()],Wi.prototype,"emptyDislikeIcon",void 0),Hi([o.property()],Wi.prototype,"filledDislikeIcon",void 0),Hi([o.query("ft-reader-feedback")],Wi.prototype,"readerFeedback",void 0),Hi([Ti(Bi.properties["mail.feedback.subject"]((t=>{var e,i;return[null===(e=t.tocNode)||void 0===e?void 0:e.title,null===(i=t.map)||void 0===i?void 0:i.title]})))],Wi.prototype,"mailSubject",void 0),e.customElement("ft-reader-map-feedback")(Ui),e.customElement("ft-reader-topic-feedback")(Wi),t.FtReaderFeedbackCssVariables=Tt,t.FtReaderMapFeedback=Ui,t.FtReaderTopicFeedback=Wi,t.styles=Ot}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML,ftGlobals.litClassMap,ftGlobals.litRepeat);
@@ -93,7 +93,7 @@ var yt,gt;let mt=class extends N{constructor(){super(...arguments),this.renderOp
93
93
  display: inline-block;
94
94
  width: 0;
95
95
  }
96
- `;class Tt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,n;t=this.resolvePluralKey(t,e);let o=null!==(n=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==n?n:"";return e.forEach(((t,e)=>o=o.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),o}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function At(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ut(t){return!!t&&!!t[$e]}function zt(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===Se}(t)||Array.isArray(t)||!!t[we]||!!(null===(e=t.constructor)||void 0===e?void 0:e[we])||Wt(t)||Ht(t))}function Ft(t,e,i){void 0===i&&(i=!1),0===Pt(t)?(i?Object.keys:ke)(t).forEach((function(n){i&&"symbol"==typeof n||e(n,t[n],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function Pt(t){var e=t[$e];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Wt(t)?2:Ht(t)?3:0}function Dt(t,e){return 2===Pt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Bt(t,e,i){var n=Pt(t);2===n?t.set(e,i):3===n?t.add(i):t[e]=i}function Lt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Wt(t){return ye&&t instanceof Map}function Ht(t){return ge&&t instanceof Set}function Kt(t){return t.o||t.t}function Zt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Oe(t);delete e[$e];for(var i=ke(e),n=0;n<i.length;n++){var o=i[n],r=e[o];!1===r.writable&&(r.writable=!0,r.configurable=!0),(r.get||r.set)&&(e[o]={configurable:!0,writable:!0,enumerable:r.enumerable,value:t[o]})}return Object.create(Object.getPrototypeOf(t),e)}function Vt(t,e){return void 0===e&&(e=!1),Gt(t)||Ut(t)||!zt(t)||(Pt(t)>1&&(t.set=t.add=t.clear=t.delete=qt),Object.freeze(t),e&&Ft(t,(function(t,e){return Vt(e,!0)}),!0)),t}function qt(){At(2)}function Gt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Jt(t){var e=_e[t];return e||At(18,t),e}function Xt(){return ve}function Yt(t,e){e&&(Jt("Patches"),t.u=[],t.s=[],t.v=e)}function Qt(t){te(t),t.p.forEach(ie),t.p=null}function te(t){t===ve&&(ve=t.l)}function ee(t){return ve={p:[],l:ve,h:t,m:!0,_:0}}function ie(t){var e=t[$e];0===e.i||1===e.i?e.j():e.g=!0}function ne(t,e){e._=e.p.length;var i=e.p[0],n=void 0!==t&&t!==i;return e.h.O||Jt("ES5").S(e,t,n),n?(i[$e].P&&(Qt(e),At(4)),zt(t)&&(t=oe(e,t),e.l||se(e,t)),e.u&&Jt("Patches").M(i[$e].t,t,e.u,e.s)):t=oe(e,i,[]),Qt(e),e.u&&e.v(e.u,e.s),t!==xe?t:void 0}function oe(t,e,i){if(Gt(e))return e;var n=e[$e];if(!n)return Ft(e,(function(o,r){return re(t,n,e,o,r,i)}),!0),e;if(n.A!==t)return e;if(!n.P)return se(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=Zt(n.k):n.o,r=o,s=!1;3===n.i&&(r=new Set(o),o.clear(),s=!0),Ft(r,(function(e,r){return re(t,n,o,e,r,i,s)})),se(t,o,!1),i&&t.u&&Jt("Patches").N(n,i,t.u,t.s)}return n.o}function re(t,e,i,n,o,r,s){if(Ut(o)){var a=oe(t,o,r&&e&&3!==e.i&&!Dt(e.R,n)?r.concat(n):void 0);if(Bt(i,n,a),!Ut(a))return;t.m=!1}else s&&i.add(o);if(zt(o)&&!Gt(o)){if(!t.h.D&&t._<1)return;oe(t,o),e&&e.A.l||se(t,o)}}function se(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&Vt(e,i)}function ae(t,e){var i=t[$e];return(i?Kt(i):t)[e]}function le(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var n=Object.getOwnPropertyDescriptor(i,e);if(n)return n;i=Object.getPrototypeOf(i)}}function ce(t){t.P||(t.P=!0,t.l&&ce(t.l))}function ue(t){t.o||(t.o=Zt(t.t))}function he(t,e,i){var n=Wt(e)?Jt("MapSet").F(e,i):Ht(e)?Jt("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),n={i:i?1:0,A:e?e.A:Xt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},o=n,r=Ce;i&&(o=[n],r=Ee);var s=Proxy.revocable(o,r),a=s.revoke,l=s.proxy;return n.k=l,n.j=a,l}(e,i):Jt("ES5").J(e,i);return(i?i.A:Xt()).p.push(n),n}function fe(t){return Ut(t)||At(22,t),function t(e){if(!zt(e))return e;var i,n=e[$e],o=Pt(e);if(n){if(!n.P&&(n.i<4||!Jt("ES5").K(n)))return n.t;n.I=!0,i=de(e,o),n.I=!1}else i=de(e,o);return Ft(i,(function(e,o){n&&function(t,e){return 2===Pt(t)?t.get(e):t[e]}(n.t,e)===o||Bt(i,e,t(o))})),3===o?new Set(i):i}(t)}function de(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Zt(t)}var pe,ve,be="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ye="undefined"!=typeof Map,ge="undefined"!=typeof Set,me="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,xe=be?Symbol.for("immer-nothing"):((pe={})["immer-nothing"]=!0,pe),we=be?Symbol.for("immer-draftable"):"__$immer_draftable",$e=be?Symbol.for("immer-state"):"__$immer_state",Se=""+Object.prototype.constructor,ke="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Oe=Object.getOwnPropertyDescriptors||function(t){var e={};return ke(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},_e={},Ce={get:function(t,e){if(e===$e)return t;var i=Kt(t);if(!Dt(i,e))return function(t,e,i){var n,o=le(e,i);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(t.k):void 0}(t,i,e);var n=i[e];return t.I||!zt(n)?n:n===ae(t.t,e)?(ue(t),t.o[e]=he(t.A.h,n,t)):n},has:function(t,e){return e in Kt(t)},ownKeys:function(t){return Reflect.ownKeys(Kt(t))},set:function(t,e,i){var n=le(Kt(t),e);if(null==n?void 0:n.set)return n.set.call(t.k,i),!0;if(!t.P){var o=ae(Kt(t),e),r=null==o?void 0:o[$e];if(r&&r.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Lt(i,o)&&(void 0!==i||Dt(t.t,e)))return!0;ue(t),ce(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ae(t.t,e)||e in t.t?(t.R[e]=!1,ue(t),ce(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=Kt(t),n=Reflect.getOwnPropertyDescriptor(i,e);return n?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:n.enumerable,value:i[e]}:n},defineProperty:function(){At(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){At(12)}},Ee={};Ft(Ce,(function(t,e){Ee[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ee.deleteProperty=function(t,e){return Ee.set.call(this,t,e,void 0)},Ee.set=function(t,e,i){return Ce.set.call(this,t[0],e,i,t[0])};var je=function(){function t(t){var e=this;this.O=me,this.D=!0,this.produce=function(t,i,n){if("function"==typeof t&&"function"!=typeof i){var o=i;i=t;var r=e;return function(t){var e=this;void 0===t&&(t=o);for(var n=arguments.length,s=Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return r.produce(t,(function(t){var n;return(n=i).call.apply(n,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&At(6),void 0!==n&&"function"!=typeof n&&At(7),zt(t)){var a=ee(e),l=he(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?Qt(a):te(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return Yt(a,n),ne(t,a)}),(function(t){throw Qt(a),t})):(Yt(a,n),ne(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===xe&&(s=void 0),e.D&&Vt(s,!0),n){var u=[],h=[];Jt("Patches").M(t,s,u,h),n(u,h)}return s}At(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(o))}))};var n,o,r=e.produce(t,i,(function(t,e){n=t,o=e}));return"undefined"!=typeof Promise&&r instanceof Promise?r.then((function(t){return[t,n,o]})):[r,n,o]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){zt(t)||At(8),Ut(t)&&(t=fe(t));var e=ee(this),i=he(this,t,void 0);return i[$e].C=!0,te(e),i},e.finishDraft=function(t,e){var i=(t&&t[$e]).A;return Yt(i,e),ne(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!me&&At(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var n=e[i];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}i>-1&&(e=e.slice(i+1));var o=Jt("Patches").$;return Ut(t)?o(t,e):this.produce(t,(function(t){return o(t,e)}))},t}(),Re=new je,Ne=Re.produce;function Ie(t){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ie(t)}function Me(t){var e=function(t,e){if("object"!==Ie(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==Ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ie(e)?e:String(e)}function Te(t,e,i){return(e=Me(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ae(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Ue(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ae(Object(i),!0).forEach((function(e){Te(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ae(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function ze(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Re.produceWithPatches.bind(Re),Re.setAutoFreeze.bind(Re),Re.setUseProxies.bind(Re),Re.applyPatches.bind(Re),Re.createDraft.bind(Re),Re.finishDraft.bind(Re);var Fe="function"==typeof Symbol&&Symbol.observable||"@@observable",Pe=function(){return Math.random().toString(36).substring(7).split("").join(".")},De={INIT:"@@redux/INIT"+Pe(),REPLACE:"@@redux/REPLACE"+Pe(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Pe()}};function Be(t,e,i){var n;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(ze(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(ze(1));return i(Be)(t,e)}if("function"!=typeof t)throw new Error(ze(2));var o=t,r=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function u(){if(l)throw new Error(ze(3));return r}function h(t){if("function"!=typeof t)throw new Error(ze(4));if(l)throw new Error(ze(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(ze(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function f(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ze(7));if(void 0===t.type)throw new Error(ze(8));if(l)throw new Error(ze(9));try{l=!0,r=o(r,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return f({type:De.INIT}),(n={dispatch:f,subscribe:h,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ze(10));o=t,f({type:De.REPLACE})}})[Fe]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ze(11));function i(){t.next&&t.next(u())}return i(),{unsubscribe:e(i)}}})[Fe]=function(){return this},t},n}function Le(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++){var o=e[n];"function"==typeof t[o]&&(i[o]=t[o])}var r,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:De.INIT}))throw new Error(ze(12));if(void 0===i(void 0,{type:De.PROBE_UNKNOWN_ACTION()}))throw new Error(ze(13))}))}(i)}catch(t){r=t}return function(t,e){if(void 0===t&&(t={}),r)throw r;for(var n=!1,o={},a=0;a<s.length;a++){var l=s[a],c=i[l],u=t[l],h=c(u,e);if(void 0===h)throw e&&e.type,new Error(ze(14));o[l]=h,n=n||h!==u}return(n=n||s.length!==Object.keys(t).length)?o:t}}function We(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function He(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),n=function(){throw new Error(ze(15))},o={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},r=e.map((function(t){return t(o)}));return n=We.apply(void 0,r)(i.dispatch),Ue(Ue({},i),{},{dispatch:n})}}}function Ke(t){return function(e){var i=e.dispatch,n=e.getState;return function(e){return function(o){return"function"==typeof o?o(i,n,t):e(o)}}}}var Ze=Ke();Ze.withExtraArgument=Ke;var Ve,qe=Ze,Ge=(Ve=function(t,e){return Ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},Ve(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}Ve(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),Je=function(t,e){var i,n,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(o=2&r[0]?n.return:r[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;switch(n=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,n=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=e.call(t,s)}catch(t){r=[6,t],n=0}finally{i=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},Xe=function(t,e){for(var i=0,n=e.length,o=t.length;i<n;i++,o++)t[o]=e[i];return t},Ye=Object.defineProperty,Qe=Object.defineProperties,ti=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,oi=function(t,e,i){return e in t?Ye(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},ri=function(t,e){for(var i in e||(e={}))ii.call(e,i)&&oi(t,i,e[i]);if(ei)for(var n=0,o=ei(e);n<o.length;n++){i=o[n];ni.call(e,i)&&oi(t,i,e[i])}return t},si=function(t,e){return Qe(t,ti(e))},ai="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?We:We.apply(null,arguments)};var li=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return Ge(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Xe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Xe([void 0],t.concat(this))))},e}(Array),ci=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return Ge(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Xe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Xe([void 0],t.concat(this))))},e}(Array);function ui(t){return zt(t)?Ne(t,(function(){})):t}function hi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var n=new li;i&&(!function(t){return"boolean"==typeof t}(i)?n.push(qe.withExtraArgument(i.extraArgument)):n.push(qe));return n}(t)}}function fi(t){var e,i=hi(),n=t||{},o=n.reducer,r=void 0===o?void 0:o,s=n.middleware,a=void 0===s?i():s,l=n.devTools,c=void 0===l||l,u=n.preloadedState,h=void 0===u?void 0:u,f=n.enhancers,d=void 0===f?void 0:f;if("function"==typeof r)e=r;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(r))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Le(r)}var p=a;"function"==typeof p&&(p=p(i));var v=He.apply(void 0,p),b=We;c&&(b=ai(ri({trace:!1},"object"==typeof c&&c)));var y=new ci(v),g=y;return Array.isArray(d)?g=Xe([v],d):"function"==typeof d&&(g=d(y)),Be(e,h,b.apply(void 0,g))}function di(t,e){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var o=e.apply(void 0,i);if(!o)throw new Error("prepareAction did not return an object");return ri(ri({type:t,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function pi(t){var e,i={},n=[],o={addCase:function(t,e){var n="string"==typeof t?t:t.type;if(n in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[n]=e,o},addMatcher:function(t,e){return n.push({matcher:t,reducer:e}),o},addDefaultCase:function(t){return e=t,o}};return t(o),[i,n,e]}function vi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,n="function"==typeof t.initialState?t.initialState:ui(t.initialState),o=t.reducers||{},r=Object.keys(o),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?pi(t.extraReducers):[t.extraReducers],i=e[0],o=void 0===i?{}:i,r=e[1],s=void 0===r?[]:r,l=e[2],c=void 0===l?void 0:l,u=ri(ri({},o),a);return function(t,e,i,n){void 0===i&&(i=[]);var o,r="function"==typeof e?pi(e):[e,i,n],s=r[0],a=r[1],l=r[2];if(function(t){return"function"==typeof t}(t))o=function(){return ui(t())};else{var c=ui(t);o=function(){return c}}function u(t,e){void 0===t&&(t=o());var i=Xe([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var n;if(Ut(t))return void 0===(n=i(t,e))?t:n;if(zt(t))return Ne(t,(function(t){return i(t,e)}));if(void 0===(n=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return t}),t)}return u.getInitialState=o,u}(n,(function(t){for(var e in u)t.addCase(e,u[e]);for(var i=0,n=s;i<n.length;i++){var o=n[i];t.addMatcher(o.matcher,o.reducer)}c&&t.addDefaultCase(c)}))}return r.forEach((function(t){var i,n,r=o[t],c=e+"/"+t;"reducer"in r?(i=r.reducer,n=r.prepare):i=r,s[t]=i,a[c]=i,l[t]=n?di(c,n):di(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var bi=["name","message","stack","code"],yi=function(t,e){this.payload=t,this.meta=e},gi=function(t,e){this.payload=t,this.meta=e},mi=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,n=bi;i<n.length;i++){var o=n[i];"string"==typeof t[o]&&(e[o]=t[o])}return e}return{message:String(t)}};function xi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var n=di(t+"/fulfilled",(function(t,e,i,n){return{payload:t,meta:si(ri({},n||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),o=di(t+"/pending",(function(t,e,i){return{payload:void 0,meta:si(ri({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),r=di(t+"/rejected",(function(t,e,n,o,r){return{payload:o,error:(i&&i.serializeError||mi)(t||"Rejected"),meta:si(ri({},r||{}),{arg:n,requestId:e,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var u,h=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),f=new s;function d(t){u=t,f.abort()}var p=function(){return s=this,p=null,v=function(){var s,p,v,b,y,g;return Je(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return f.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),a(o(h,t,null==(p=null==i?void 0:i.getPendingMeta)?void 0:p.call(i,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:h,signal:f.signal,abort:d,rejectWithValue:function(t,e){return new yi(t,e)},fulfillWithValue:function(t,e){return new gi(t,e)}})).then((function(e){if(e instanceof yi)throw e;return e instanceof gi?n(e.payload,h,t,e.meta):n(e,h,t)}))])];case 3:return v=m.sent(),[3,5];case 4:return g=m.sent(),v=g instanceof yi?r(null,h,t,g.payload,g.meta):r(g,h,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&r.match(v)&&v.meta.condition||a(v),[2,v]}var x}))},new Promise((function(t,e){var i=function(t){try{o(v.next(t))}catch(t){e(t)}},n=function(t){try{o(v.throw(t))}catch(t){e(t)}},o=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,n)};o((v=v.apply(s,p)).next())}));var s,p,v}();return Object.assign(p,{abort:d,requestId:h,arg:t,unwrap:function(){return p.then(xi)}})}}),{pending:o,rejected:r,fulfilled:n,typePrefix:t})}t.withTypes=function(){return t}}();var wi,$i,Si="listenerMiddleware";di(Si+"/add"),di(Si+"/removeAll"),di(Si+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=o[t];return i?i.enumerable=e:o[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[$e];return Ce.get(e,t)},set:function(e){var i=this[$e];Ce.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][$e];if(!o.P)switch(o.i){case 5:n(o)&&ce(o);break;case 4:i(o)&&ce(o)}}}function i(t){for(var e=t.t,i=t.k,n=ke(i),o=n.length-1;o>=0;o--){var r=n[o];if(r!==$e){var s=e[r];if(void 0===s&&!Dt(e,r))return!0;var a=i[r],l=a&&a[$e];if(l?l.t!==s:!Lt(a,s))return!0}}var c=!!e[$e];return n.length!==ke(e).length+(c?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var n=0;n<e.length;n++)if(!e.hasOwnProperty(n))return!0;return!1}var o={};!function(t,e){_e[t]||(_e[t]=e)}("ES5",{J:function(e,i){var n=Array.isArray(e),o=function(e,i){if(e){for(var n=Array(i.length),o=0;o<i.length;o++)Object.defineProperty(n,""+o,t(o,!0));return n}var r=Oe(i);delete r[$e];for(var s=ke(r),a=0;a<s.length;a++){var l=s[a];r[l]=t(l,e||!!r[l].enumerable)}return Object.create(Object.getPrototypeOf(i),r)}(n,e),r={i:n?5:4,A:i?i.A:Xt(),P:!1,I:!1,R:{},l:i,t:e,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,$e,{value:r,writable:!0}),o},S:function(t,i,o){o?Ut(i)&&i[$e].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[$e];if(i){var o=i.t,r=i.k,s=i.R,a=i.i;if(4===a)Ft(r,(function(e){e!==$e&&(void 0!==o[e]||Dt(o,e)?s[e]||t(r[e]):(s[e]=!0,ce(i)))})),Ft(o,(function(t){void 0!==r[t]||Dt(r,t)||(s[t]=!1,ce(i))}));else if(5===a){if(n(i)&&(ce(i),s.length=!0),r.length<o.length)for(var l=r.length;l<o.length;l++)s[l]=!1;else for(var c=o.length;c<r.length;c++)s[c]=!0;for(var u=Math.min(r.length,o.length),h=0;h<u;h++)r.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&t(r[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):n(t)}})}();const ki=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const o={hasChanged:(t,e)=>!h(t,e),attribute:!1,...e};r(o)(t,i);const s=t;s.reduxProperties=s.reduxProperties||new Map,s.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}},Oi=Symbol("internalStoresUnsubscribers"),_i=Symbol("internalStores");class Ci extends Nt{constructor(){super(...arguments),this[wi]=new Map,this[$i]=new Map}getUnnamedStore(){if(this[_i].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_i].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[_i].get(t)}addStore(t,e){e=null!=e?e:t.name,this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[_i].delete(e)}setupStore(t,e){this[_i].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_i].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){this[Oi].set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this[Oi]).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this[Oi].has(t)&&this[Oi].get(t)(),this[Oi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}wi=Oi,$i=_i;class Ei{static get(t){window.ftReduxStores||(window.ftReduxStores={});const e="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(function(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}(n))return n;if(null==i)return;const o=vi(i),r=fi({reducer:o.reducer});return window.ftReduxStores[i.name]=new Ei(o,r)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const n=t[e];if(n)return(...t)=>{const e=n(...t);return this.reduxStore.dispatch(e),e}}})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var ji,Ri,Ni;const Ii=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ni=null===(Ri=null===(ji=window.safari)||void 0===ji?void 0:ji.pushNotification)||void 0===Ri?void 0:Ri.toString())&&void 0!==Ni?Ni:"");var Mi=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Ti extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ai=Symbol("registerInterval");class Ui extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Ai]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ai]):this.dispatchEvent(new Ti)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ai,Mi([s()],i.prototype,"stateManager",void 0),i}(Ci)){}const zi=wt.extend("--ft-ripple-color",St.colorContent),Fi={color:zi,backgroundColor:wt.extend("--ft-ripple-background-color",zi),opacityContentOnSurfacePressed:wt.external(St.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wt.external(St.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wt.external(St.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wt.external(St.opacityContentOnSurfaceSelected,"Design system")},Pi=wt.extend("--ft-ripple-color",St.colorPrimary),Di=Pi,Bi=wt.extend("--ft-ripple-background-color",Pi),Li=wt.extend("--ft-ripple-color",St.colorSecondary),Wi=Li,Hi=wt.extend("--ft-ripple-background-color",Li),Ki=x`
96
+ `;class Tt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,n;t=this.resolvePluralKey(t,e);let o=null!==(n=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==n?n:"";return e.forEach(((t,e)=>o=o.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),o}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function At(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ut(t){return!!t&&!!t[$e]}function zt(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===Se}(t)||Array.isArray(t)||!!t[we]||!!(null===(e=t.constructor)||void 0===e?void 0:e[we])||Wt(t)||Ht(t))}function Ft(t,e,i){void 0===i&&(i=!1),0===Pt(t)?(i?Object.keys:ke)(t).forEach((function(n){i&&"symbol"==typeof n||e(n,t[n],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function Pt(t){var e=t[$e];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Wt(t)?2:Ht(t)?3:0}function Dt(t,e){return 2===Pt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Bt(t,e,i){var n=Pt(t);2===n?t.set(e,i):3===n?t.add(i):t[e]=i}function Lt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Wt(t){return ye&&t instanceof Map}function Ht(t){return ge&&t instanceof Set}function Kt(t){return t.o||t.t}function Zt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Oe(t);delete e[$e];for(var i=ke(e),n=0;n<i.length;n++){var o=i[n],r=e[o];!1===r.writable&&(r.writable=!0,r.configurable=!0),(r.get||r.set)&&(e[o]={configurable:!0,writable:!0,enumerable:r.enumerable,value:t[o]})}return Object.create(Object.getPrototypeOf(t),e)}function Vt(t,e){return void 0===e&&(e=!1),Gt(t)||Ut(t)||!zt(t)||(Pt(t)>1&&(t.set=t.add=t.clear=t.delete=qt),Object.freeze(t),e&&Ft(t,(function(t,e){return Vt(e,!0)}),!0)),t}function qt(){At(2)}function Gt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Jt(t){var e=_e[t];return e||At(18,t),e}function Xt(){return ve}function Yt(t,e){e&&(Jt("Patches"),t.u=[],t.s=[],t.v=e)}function Qt(t){te(t),t.p.forEach(ie),t.p=null}function te(t){t===ve&&(ve=t.l)}function ee(t){return ve={p:[],l:ve,h:t,m:!0,_:0}}function ie(t){var e=t[$e];0===e.i||1===e.i?e.j():e.g=!0}function ne(t,e){e._=e.p.length;var i=e.p[0],n=void 0!==t&&t!==i;return e.h.O||Jt("ES5").S(e,t,n),n?(i[$e].P&&(Qt(e),At(4)),zt(t)&&(t=oe(e,t),e.l||se(e,t)),e.u&&Jt("Patches").M(i[$e].t,t,e.u,e.s)):t=oe(e,i,[]),Qt(e),e.u&&e.v(e.u,e.s),t!==xe?t:void 0}function oe(t,e,i){if(Gt(e))return e;var n=e[$e];if(!n)return Ft(e,(function(o,r){return re(t,n,e,o,r,i)}),!0),e;if(n.A!==t)return e;if(!n.P)return se(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=Zt(n.k):n.o,r=o,s=!1;3===n.i&&(r=new Set(o),o.clear(),s=!0),Ft(r,(function(e,r){return re(t,n,o,e,r,i,s)})),se(t,o,!1),i&&t.u&&Jt("Patches").N(n,i,t.u,t.s)}return n.o}function re(t,e,i,n,o,r,s){if(Ut(o)){var a=oe(t,o,r&&e&&3!==e.i&&!Dt(e.R,n)?r.concat(n):void 0);if(Bt(i,n,a),!Ut(a))return;t.m=!1}else s&&i.add(o);if(zt(o)&&!Gt(o)){if(!t.h.D&&t._<1)return;oe(t,o),e&&e.A.l||se(t,o)}}function se(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&Vt(e,i)}function ae(t,e){var i=t[$e];return(i?Kt(i):t)[e]}function le(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var n=Object.getOwnPropertyDescriptor(i,e);if(n)return n;i=Object.getPrototypeOf(i)}}function ce(t){t.P||(t.P=!0,t.l&&ce(t.l))}function ue(t){t.o||(t.o=Zt(t.t))}function he(t,e,i){var n=Wt(e)?Jt("MapSet").F(e,i):Ht(e)?Jt("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),n={i:i?1:0,A:e?e.A:Xt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},o=n,r=Ce;i&&(o=[n],r=Ee);var s=Proxy.revocable(o,r),a=s.revoke,l=s.proxy;return n.k=l,n.j=a,l}(e,i):Jt("ES5").J(e,i);return(i?i.A:Xt()).p.push(n),n}function fe(t){return Ut(t)||At(22,t),function t(e){if(!zt(e))return e;var i,n=e[$e],o=Pt(e);if(n){if(!n.P&&(n.i<4||!Jt("ES5").K(n)))return n.t;n.I=!0,i=de(e,o),n.I=!1}else i=de(e,o);return Ft(i,(function(e,o){n&&function(t,e){return 2===Pt(t)?t.get(e):t[e]}(n.t,e)===o||Bt(i,e,t(o))})),3===o?new Set(i):i}(t)}function de(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Zt(t)}var pe,ve,be="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ye="undefined"!=typeof Map,ge="undefined"!=typeof Set,me="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,xe=be?Symbol.for("immer-nothing"):((pe={})["immer-nothing"]=!0,pe),we=be?Symbol.for("immer-draftable"):"__$immer_draftable",$e=be?Symbol.for("immer-state"):"__$immer_state",Se=""+Object.prototype.constructor,ke="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Oe=Object.getOwnPropertyDescriptors||function(t){var e={};return ke(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},_e={},Ce={get:function(t,e){if(e===$e)return t;var i=Kt(t);if(!Dt(i,e))return function(t,e,i){var n,o=le(e,i);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(t.k):void 0}(t,i,e);var n=i[e];return t.I||!zt(n)?n:n===ae(t.t,e)?(ue(t),t.o[e]=he(t.A.h,n,t)):n},has:function(t,e){return e in Kt(t)},ownKeys:function(t){return Reflect.ownKeys(Kt(t))},set:function(t,e,i){var n=le(Kt(t),e);if(null==n?void 0:n.set)return n.set.call(t.k,i),!0;if(!t.P){var o=ae(Kt(t),e),r=null==o?void 0:o[$e];if(r&&r.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Lt(i,o)&&(void 0!==i||Dt(t.t,e)))return!0;ue(t),ce(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ae(t.t,e)||e in t.t?(t.R[e]=!1,ue(t),ce(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=Kt(t),n=Reflect.getOwnPropertyDescriptor(i,e);return n?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:n.enumerable,value:i[e]}:n},defineProperty:function(){At(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){At(12)}},Ee={};Ft(Ce,(function(t,e){Ee[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ee.deleteProperty=function(t,e){return Ee.set.call(this,t,e,void 0)},Ee.set=function(t,e,i){return Ce.set.call(this,t[0],e,i,t[0])};var je=function(){function t(t){var e=this;this.O=me,this.D=!0,this.produce=function(t,i,n){if("function"==typeof t&&"function"!=typeof i){var o=i;i=t;var r=e;return function(t){var e=this;void 0===t&&(t=o);for(var n=arguments.length,s=Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return r.produce(t,(function(t){var n;return(n=i).call.apply(n,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&At(6),void 0!==n&&"function"!=typeof n&&At(7),zt(t)){var a=ee(e),l=he(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?Qt(a):te(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return Yt(a,n),ne(t,a)}),(function(t){throw Qt(a),t})):(Yt(a,n),ne(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===xe&&(s=void 0),e.D&&Vt(s,!0),n){var u=[],h=[];Jt("Patches").M(t,s,u,h),n(u,h)}return s}At(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(o))}))};var n,o,r=e.produce(t,i,(function(t,e){n=t,o=e}));return"undefined"!=typeof Promise&&r instanceof Promise?r.then((function(t){return[t,n,o]})):[r,n,o]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){zt(t)||At(8),Ut(t)&&(t=fe(t));var e=ee(this),i=he(this,t,void 0);return i[$e].C=!0,te(e),i},e.finishDraft=function(t,e){var i=(t&&t[$e]).A;return Yt(i,e),ne(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!me&&At(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var n=e[i];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}i>-1&&(e=e.slice(i+1));var o=Jt("Patches").$;return Ut(t)?o(t,e):this.produce(t,(function(t){return o(t,e)}))},t}(),Re=new je,Ne=Re.produce;function Ie(t){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ie(t)}function Me(t){var e=function(t,e){if("object"!==Ie(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==Ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ie(e)?e:String(e)}function Te(t,e,i){return(e=Me(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ae(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Ue(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ae(Object(i),!0).forEach((function(e){Te(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ae(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function ze(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Re.produceWithPatches.bind(Re),Re.setAutoFreeze.bind(Re),Re.setUseProxies.bind(Re),Re.applyPatches.bind(Re),Re.createDraft.bind(Re),Re.finishDraft.bind(Re);var Fe="function"==typeof Symbol&&Symbol.observable||"@@observable",Pe=function(){return Math.random().toString(36).substring(7).split("").join(".")},De={INIT:"@@redux/INIT"+Pe(),REPLACE:"@@redux/REPLACE"+Pe(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Pe()}};function Be(t,e,i){var n;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(ze(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(ze(1));return i(Be)(t,e)}if("function"!=typeof t)throw new Error(ze(2));var o=t,r=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function u(){if(l)throw new Error(ze(3));return r}function h(t){if("function"!=typeof t)throw new Error(ze(4));if(l)throw new Error(ze(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(ze(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function f(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ze(7));if(void 0===t.type)throw new Error(ze(8));if(l)throw new Error(ze(9));try{l=!0,r=o(r,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return f({type:De.INIT}),(n={dispatch:f,subscribe:h,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ze(10));o=t,f({type:De.REPLACE})}})[Fe]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ze(11));function i(){t.next&&t.next(u())}return i(),{unsubscribe:e(i)}}})[Fe]=function(){return this},t},n}function Le(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++){var o=e[n];"function"==typeof t[o]&&(i[o]=t[o])}var r,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:De.INIT}))throw new Error(ze(12));if(void 0===i(void 0,{type:De.PROBE_UNKNOWN_ACTION()}))throw new Error(ze(13))}))}(i)}catch(t){r=t}return function(t,e){if(void 0===t&&(t={}),r)throw r;for(var n=!1,o={},a=0;a<s.length;a++){var l=s[a],c=i[l],u=t[l],h=c(u,e);if(void 0===h)throw e&&e.type,new Error(ze(14));o[l]=h,n=n||h!==u}return(n=n||s.length!==Object.keys(t).length)?o:t}}function We(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function He(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),n=function(){throw new Error(ze(15))},o={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},r=e.map((function(t){return t(o)}));return n=We.apply(void 0,r)(i.dispatch),Ue(Ue({},i),{},{dispatch:n})}}}function Ke(t){return function(e){var i=e.dispatch,n=e.getState;return function(e){return function(o){return"function"==typeof o?o(i,n,t):e(o)}}}}var Ze=Ke();Ze.withExtraArgument=Ke;var Ve,qe=Ze,Ge=(Ve=function(t,e){return Ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},Ve(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}Ve(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),Je=function(t,e){var i,n,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(o=2&r[0]?n.return:r[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;switch(n=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,n=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=e.call(t,s)}catch(t){r=[6,t],n=0}finally{i=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},Xe=function(t,e){for(var i=0,n=e.length,o=t.length;i<n;i++,o++)t[o]=e[i];return t},Ye=Object.defineProperty,Qe=Object.defineProperties,ti=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,ni=Object.prototype.propertyIsEnumerable,oi=function(t,e,i){return e in t?Ye(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},ri=function(t,e){for(var i in e||(e={}))ii.call(e,i)&&oi(t,i,e[i]);if(ei)for(var n=0,o=ei(e);n<o.length;n++){i=o[n];ni.call(e,i)&&oi(t,i,e[i])}return t},si=function(t,e){return Qe(t,ti(e))},ai="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?We:We.apply(null,arguments)};var li=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return Ge(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Xe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Xe([void 0],t.concat(this))))},e}(Array),ci=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return Ge(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Xe([void 0],t[0].concat(this)))):new(e.bind.apply(e,Xe([void 0],t.concat(this))))},e}(Array);function ui(t){return zt(t)?Ne(t,(function(){})):t}function hi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var n=new li;i&&(!function(t){return"boolean"==typeof t}(i)?n.push(qe.withExtraArgument(i.extraArgument)):n.push(qe));return n}(t)}}function fi(t){var e,i=hi(),n=t||{},o=n.reducer,r=void 0===o?void 0:o,s=n.middleware,a=void 0===s?i():s,l=n.devTools,c=void 0===l||l,u=n.preloadedState,h=void 0===u?void 0:u,f=n.enhancers,d=void 0===f?void 0:f;if("function"==typeof r)e=r;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(r))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Le(r)}var p=a;"function"==typeof p&&(p=p(i));var v=He.apply(void 0,p),b=We;c&&(b=ai(ri({trace:!1},"object"==typeof c&&c)));var y=new ci(v),g=y;return Array.isArray(d)?g=Xe([v],d):"function"==typeof d&&(g=d(y)),Be(e,h,b.apply(void 0,g))}function di(t,e){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var o=e.apply(void 0,i);if(!o)throw new Error("prepareAction did not return an object");return ri(ri({type:t,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function pi(t){var e,i={},n=[],o={addCase:function(t,e){var n="string"==typeof t?t:t.type;if(n in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[n]=e,o},addMatcher:function(t,e){return n.push({matcher:t,reducer:e}),o},addDefaultCase:function(t){return e=t,o}};return t(o),[i,n,e]}function vi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,n="function"==typeof t.initialState?t.initialState:ui(t.initialState),o=t.reducers||{},r=Object.keys(o),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?pi(t.extraReducers):[t.extraReducers],i=e[0],o=void 0===i?{}:i,r=e[1],s=void 0===r?[]:r,l=e[2],c=void 0===l?void 0:l,u=ri(ri({},o),a);return function(t,e,i,n){void 0===i&&(i=[]);var o,r="function"==typeof e?pi(e):[e,i,n],s=r[0],a=r[1],l=r[2];if(function(t){return"function"==typeof t}(t))o=function(){return ui(t())};else{var c=ui(t);o=function(){return c}}function u(t,e){void 0===t&&(t=o());var i=Xe([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var n;if(Ut(t))return void 0===(n=i(t,e))?t:n;if(zt(t))return Ne(t,(function(t){return i(t,e)}));if(void 0===(n=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return t}),t)}return u.getInitialState=o,u}(n,(function(t){for(var e in u)t.addCase(e,u[e]);for(var i=0,n=s;i<n.length;i++){var o=n[i];t.addMatcher(o.matcher,o.reducer)}c&&t.addDefaultCase(c)}))}return r.forEach((function(t){var i,n,r=o[t],c=e+"/"+t;"reducer"in r?(i=r.reducer,n=r.prepare):i=r,s[t]=i,a[c]=i,l[t]=n?di(c,n):di(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var bi=["name","message","stack","code"],yi=function(t,e){this.payload=t,this.meta=e},gi=function(t,e){this.payload=t,this.meta=e},mi=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,n=bi;i<n.length;i++){var o=n[i];"string"==typeof t[o]&&(e[o]=t[o])}return e}return{message:String(t)}};function xi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var n=di(t+"/fulfilled",(function(t,e,i,n){return{payload:t,meta:si(ri({},n||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),o=di(t+"/pending",(function(t,e,i){return{payload:void 0,meta:si(ri({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),r=di(t+"/rejected",(function(t,e,n,o,r){return{payload:o,error:(i&&i.serializeError||mi)(t||"Rejected"),meta:si(ri({},r||{}),{arg:n,requestId:e,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var u,h=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),f=new s;function d(t){u=t,f.abort()}var p=function(){return s=this,p=null,v=function(){var s,p,v,b,y,g;return Je(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return f.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),a(o(h,t,null==(p=null==i?void 0:i.getPendingMeta)?void 0:p.call(i,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:h,signal:f.signal,abort:d,rejectWithValue:function(t,e){return new yi(t,e)},fulfillWithValue:function(t,e){return new gi(t,e)}})).then((function(e){if(e instanceof yi)throw e;return e instanceof gi?n(e.payload,h,t,e.meta):n(e,h,t)}))])];case 3:return v=m.sent(),[3,5];case 4:return g=m.sent(),v=g instanceof yi?r(null,h,t,g.payload,g.meta):r(g,h,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&r.match(v)&&v.meta.condition||a(v),[2,v]}var x}))},new Promise((function(t,e){var i=function(t){try{o(v.next(t))}catch(t){e(t)}},n=function(t){try{o(v.throw(t))}catch(t){e(t)}},o=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,n)};o((v=v.apply(s,p)).next())}));var s,p,v}();return Object.assign(p,{abort:d,requestId:h,arg:t,unwrap:function(){return p.then(xi)}})}}),{pending:o,rejected:r,fulfilled:n,typePrefix:t})}t.withTypes=function(){return t}}();var wi,$i,Si="listenerMiddleware";di(Si+"/add"),di(Si+"/removeAll"),di(Si+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=o[t];return i?i.enumerable=e:o[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[$e];return Ce.get(e,t)},set:function(e){var i=this[$e];Ce.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][$e];if(!o.P)switch(o.i){case 5:n(o)&&ce(o);break;case 4:i(o)&&ce(o)}}}function i(t){for(var e=t.t,i=t.k,n=ke(i),o=n.length-1;o>=0;o--){var r=n[o];if(r!==$e){var s=e[r];if(void 0===s&&!Dt(e,r))return!0;var a=i[r],l=a&&a[$e];if(l?l.t!==s:!Lt(a,s))return!0}}var c=!!e[$e];return n.length!==ke(e).length+(c?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var n=0;n<e.length;n++)if(!e.hasOwnProperty(n))return!0;return!1}var o={};!function(t,e){_e[t]||(_e[t]=e)}("ES5",{J:function(e,i){var n=Array.isArray(e),o=function(e,i){if(e){for(var n=Array(i.length),o=0;o<i.length;o++)Object.defineProperty(n,""+o,t(o,!0));return n}var r=Oe(i);delete r[$e];for(var s=ke(r),a=0;a<s.length;a++){var l=s[a];r[l]=t(l,e||!!r[l].enumerable)}return Object.create(Object.getPrototypeOf(i),r)}(n,e),r={i:n?5:4,A:i?i.A:Xt(),P:!1,I:!1,R:{},l:i,t:e,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,$e,{value:r,writable:!0}),o},S:function(t,i,o){o?Ut(i)&&i[$e].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[$e];if(i){var o=i.t,r=i.k,s=i.R,a=i.i;if(4===a)Ft(r,(function(e){e!==$e&&(void 0!==o[e]||Dt(o,e)?s[e]||t(r[e]):(s[e]=!0,ce(i)))})),Ft(o,(function(t){void 0!==r[t]||Dt(r,t)||(s[t]=!1,ce(i))}));else if(5===a){if(n(i)&&(ce(i),s.length=!0),r.length<o.length)for(var l=r.length;l<o.length;l++)s[l]=!1;else for(var c=o.length;c<r.length;c++)s[c]=!0;for(var u=Math.min(r.length,o.length),h=0;h<u;h++)r.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&t(r[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):n(t)}})}();const ki=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const o={hasChanged:(t,e)=>!h(t,e),attribute:!1,...e};r(o)(t,i);const s=t;s.reduxProperties=s.reduxProperties||new Map,s.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}},Oi=Symbol("internalStoresUnsubscribers"),_i=Symbol("internalStores");class Ci extends Nt{constructor(){super(...arguments),this[wi]=new Map,this[$i]=new Map}getUnnamedStore(){if(this[_i].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_i].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[_i].get(t)}addStore(t,e){e=null!=e?e:t.name,this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[_i].delete(e)}setupStore(t,e){this[_i].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_i].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){this[Oi].set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this[Oi]).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this[Oi].has(t)&&this[Oi].get(t)(),this[Oi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}wi=Oi,$i=_i;class Ei{static get(t){window.ftReduxStores||(window.ftReduxStores={});const e="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(function(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}(n))return n;if(null==i)return;const o=vi(i),r=fi({reducer:o.reducer});return window.ftReduxStores[i.name]=new Ei(o,r)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const n=t[e];if(n)return(...t)=>{const e=n(...t);return this.reduxStore.dispatch(e),e}}})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var ji,Ri,Ni;const Ii=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ni=null===(Ri=null===(ji=window.safari)||void 0===ji?void 0:ji.pushNotification)||void 0===Ri?void 0:Ri.toString())&&void 0!==Ni?Ni:"");var Mi=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Ti extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ai=Symbol("registerInterval");class Ui extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Ai]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ai]):this.dispatchEvent(new Ti)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ai,Mi([s()],i.prototype,"stateManager",void 0),i}(Ci)){}const zi=wt.extend("--ft-ripple-color",St.colorContent),Fi={color:zi,backgroundColor:wt.extend("--ft-ripple-background-color",zi),opacityContentOnSurfacePressed:wt.external(St.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wt.external(St.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wt.external(St.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wt.external(St.opacityContentOnSurfaceSelected,"Design system"),borderRadius:wt.create("--ft-ripple-border-radius","SIZE","0px")},Pi=wt.extend("--ft-ripple-color",St.colorPrimary),Di=Pi,Bi=wt.extend("--ft-ripple-background-color",Pi),Li=wt.extend("--ft-ripple-color",St.colorSecondary),Wi=Li,Hi=wt.extend("--ft-ripple-background-color",Li),Ki=x`
97
97
  :host {
98
98
  display: contents;
99
99
  }
@@ -106,6 +106,7 @@ var yt,gt;let mt=class extends N{constructor(){super(...arguments),this.renderOp
106
106
 
107
107
  .ft-ripple:not(.ft-ripple--unbounded) {
108
108
  overflow: hidden;
109
+ border-radius: ${Fi.borderRadius};
109
110
  }
110
111
 
111
112
  .ft-ripple .ft-ripple--background,
@@ -381,6 +382,7 @@ var yt,gt;let mt=class extends N{constructor(){super(...arguments),this.renderOp
381
382
 
382
383
  /* Ugly fix because font is broken */
383
384
  font-size: calc(0.75 * ${Hn.size});
385
+ line-height: ${Hn.size};
384
386
  position: relative;
385
387
  top: -4%;
386
388
  justify-content: center;
@@ -393,7 +395,7 @@ var yt,gt;let mt=class extends N{constructor(){super(...arguments),this.renderOp
393
395
  .ft-icon--material {
394
396
  font-family: ${Hn.materialFontFamily}, "Material Icons", sans-serif;
395
397
  }
396
- `,Zn=wt.extend("--ft-button-color",St.colorPrimary),Vn={backgroundColor:wt.extend("--ft-button-background-color",St.colorSurface),borderRadius:wt.extend("--ft-button-border-radius",St.borderRadiusL),color:Zn,fontSize:wt.extend("--ft-button-font-size",Rn.fontSize),iconSize:wt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:wt.extend("--ft-button-ripple-color",Zn),verticalPadding:wt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:wt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:wt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:wt.external(St.colorOpacityDisabled,"Design system")},qn=wt.extend("--ft-button-primary-color",wt.extend("--ft-button-color",St.colorOnPrimary)),Gn={backgroundColor:wt.extend("--ft-button-primary-background-color",wt.extend("--ft-button-background-color",St.colorPrimary)),color:qn,rippleColor:wt.extend("--ft-button-primary-ripple-color",qn)},Jn=wt.extend("--ft-button-dense-border-radius",wt.extend("--ft-button-border-radius",St.borderRadiusM)),Xn=wt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Yn=wt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Qn=wt.create("--ft-button-dense-icon-padding","SIZE","4px"),to=[It,x`
398
+ `,Zn=wt.extend("--ft-button-color",St.colorPrimary),Vn={backgroundColor:wt.extend("--ft-button-background-color",St.colorSurface),borderRadius:wt.extend("--ft-button-border-radius",St.borderRadiusL),color:Zn,fontSize:wt.extend("--ft-button-font-size",Rn.fontSize),iconSize:wt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:wt.extend("--ft-button-ripple-color",Zn),verticalPadding:wt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:wt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:wt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:wt.external(St.colorOpacityDisabled,"Design system")},qn=wt.extend("--ft-button-primary-color",wt.extend("--ft-button-color",St.colorOnPrimary)),Gn={backgroundColor:wt.extend("--ft-button-primary-background-color",wt.extend("--ft-button-background-color",St.colorPrimary)),color:qn,rippleColor:wt.extend("--ft-button-primary-ripple-color",qn)},Jn=wt.extend("--ft-button-dense-border-radius",wt.extend("--ft-button-border-radius",St.borderRadiusM)),Xn=wt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Yn=wt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Qn=wt.create("--ft-button-dense-icon-padding","SIZE","4px"),to=[x`
397
399
  :host {
398
400
  display: inline-block;
399
401
  max-width: 100%;
@@ -433,11 +435,10 @@ var yt,gt;let mt=class extends N{constructor(){super(...arguments),this.renderOp
433
435
  border: none;
434
436
  pointer-events: auto;
435
437
 
436
- --ft-button-internal-line-height: calc(${Vn.fontSize} + 2px);
438
+ --ft-button-internal-line-height: max(calc(${Vn.fontSize} + 2px), ${Vn.iconSize});
437
439
  --ft-button-internal-color: ${Vn.color};
438
440
  ${$t(Hn.size,Vn.iconSize)};
439
441
  ${$t(Fi.color,Vn.rippleColor)};
440
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Vn.iconSize});
441
442
 
442
443
  border-radius: ${Vn.borderRadius};
443
444
  padding: ${Vn.verticalPadding} ${Vn.horizontalPadding};
@@ -466,11 +467,11 @@ var yt,gt;let mt=class extends N{constructor(){super(...arguments),this.renderOp
466
467
  }
467
468
 
468
469
  .ft-button--round {
469
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${Vn.verticalPadding});
470
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vn.verticalPadding});
470
471
  }
471
472
 
472
473
  .ft-button--round.ft-button--dense {
473
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${Xn});
474
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xn});
474
475
  }
475
476
 
476
477
  .ft-button[disabled] {
@@ -496,7 +497,7 @@ var yt,gt;let mt=class extends N{constructor(){super(...arguments),this.renderOp
496
497
  display: block;
497
498
  margin: 0 ${Vn.iconPadding};
498
499
  ${$t(Rn.fontSize,"1em")};
499
- ${$t(Rn.lineHeight,"var(--ft-button-internal-content-height)")};
500
+ ${$t(Rn.lineHeight,"var(--ft-button-internal-line-height)")};
500
501
  }
501
502
 
502
503
  .ft-button--dense .ft-button--label {
@@ -531,7 +532,7 @@ var yt,gt;let mt=class extends N{constructor(){super(...arguments),this.renderOp
531
532
  ${$t(Ln.size,Vn.iconSize)};
532
533
  ${$t(Ln.color,"var(--ft-button-internal-color)")};
533
534
  }
534
- `],eo={textColor:wt.extend("--ft-switch-text-color",St.colorOnSurfaceHigh),backgroundColor:wt.extend("--ft-switch-background-color",St.colorSurface),selectedTextColor:wt.extend("--ft-switch-selected-text-color",St.colorPrimary),selectedBackgroundColor:wt.extend("--ft-switch-selected-background-color",St.colorPrimary),borderColor:wt.extend("--ft-switch-border-color",St.colorOutline),borderRadius:wt.extend("--ft-switch-border-radius",St.borderRadiusL),fontSize:wt.extend("--ft-switch-font-size",Rn.fontSize),iconSize:wt.create("--ft-switch-icon-size","SIZE","24px"),iconColor:wt.extend("--ft-switch-text-color",St.colorOnSurfaceMedium),rippleColor:wt.extend("--ft-switch-ripple-color",St.colorPrimary),outlineColor:wt.extend("--ft-switch-outline-color",St.colorPrimary)},io={feedbackInputMinWidth:wt.create("--ft-reader-feedback-input-min-width","SIZE","300px"),ratedDateColor:wt.external(St.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:wt.extend("--ft-reader-feedback-send-feedback-color",St.colorOnPrimary),sendFeedbackBackgroundColor:wt.extend("--ft-reader-feedback-send-feedback-background-color",St.colorPrimary),filledRatingColor:wt.extend("--ft-reader-feedback-filled-rating-color",St.colorPrimary),emptyRatingColor:wt.extend("--ft-reader-feedback-empty-rating-color",St.colorOnSurfaceMedium),mainTitleFontSize:wt.external(Gi.fontSize,"Typography"),sectionTitleFontSize:wt.external(Ji.fontSize,"Typography")},no=x`
535
+ `,It],eo={textColor:wt.extend("--ft-switch-text-color",St.colorOnSurfaceHigh),backgroundColor:wt.extend("--ft-switch-background-color",St.colorSurface),selectedTextColor:wt.extend("--ft-switch-selected-text-color",St.colorPrimary),selectedBackgroundColor:wt.extend("--ft-switch-selected-background-color",St.colorPrimary),borderColor:wt.extend("--ft-switch-border-color",St.colorOutline),borderRadius:wt.extend("--ft-switch-border-radius",St.borderRadiusL),fontSize:wt.extend("--ft-switch-font-size",Rn.fontSize),iconSize:wt.create("--ft-switch-icon-size","SIZE","24px"),iconColor:wt.extend("--ft-switch-text-color",St.colorOnSurfaceMedium),rippleColor:wt.extend("--ft-switch-ripple-color",St.colorPrimary),outlineColor:wt.extend("--ft-switch-outline-color",St.colorPrimary)},io={feedbackInputMinWidth:wt.create("--ft-reader-feedback-input-min-width","SIZE","300px"),ratedDateColor:wt.external(St.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:wt.extend("--ft-reader-feedback-send-feedback-color",St.colorOnPrimary),sendFeedbackBackgroundColor:wt.extend("--ft-reader-feedback-send-feedback-background-color",St.colorPrimary),filledRatingColor:wt.extend("--ft-reader-feedback-filled-rating-color",St.colorPrimary),emptyRatingColor:wt.extend("--ft-reader-feedback-empty-rating-color",St.colorOnSurfaceMedium),mainTitleFontSize:wt.external(Gi.fontSize,"Typography"),sectionTitleFontSize:wt.external(Ji.fontSize,"Typography")},no=x`
535
536
  .ft-reader-feedback {
536
537
  box-sizing: border-box;
537
538
  display: flex;
@@ -628,7 +629,7 @@ const fo=1,po=2,vo=t=>(...e)=>({_$litDirective$:t,values:e});class bo{constructo
628
629
  * Copyright 2017 Google LLC
629
630
  * SPDX-License-Identifier: BSD-3-Clause
630
631
  */class yo extends bo{constructor(t){if(super(t),this.et=et,t.type!==po)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.ft=void 0,this.et=t;if(t===tt)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:[]}}}yo.directiveName="unsafeHTML",yo.resultType=1;const go=vo(yo);var mo,xo,wo;!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;"}(mo||(mo={})),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;"}(xo||(xo={})),new Map([...["abw"].map((t=>[t,xo.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,xo.AUDIO])),...["avi"].map((t=>[t,xo.AVI])),...["chm","xhs"].map((t=>[t,xo.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,xo.CODE])),...["csv"].map((t=>[t,xo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,xo.DITA])),...["epub"].map((t=>[t,xo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,xo.EXCEL])),...["flac"].map((t=>[t,xo.FLAC])),...["gif"].map((t=>[t,xo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,xo.GZIP])),...["html","htm","xhtml"].map((t=>[t,xo.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,xo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,xo.JPEG])),...["json"].map((t=>[t,xo.JSON])),...["m4a","m4p"].map((t=>[t,xo.M4A])),...["mov","qt"].map((t=>[t,xo.MOV])),...["mp3"].map((t=>[t,xo.MP3])),...["mp4","m4v"].map((t=>[t,xo.MP4])),...["ogg","oga"].map((t=>[t,xo.OGG])),...["pdf","ps"].map((t=>[t,xo.PDF])),...["png"].map((t=>[t,xo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,xo.POWERPOINT])),...["rar"].map((t=>[t,xo.RAR])),...["stp"].map((t=>[t,xo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,xo.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,xo.VIDEO])),...["wav"].map((t=>[t,xo.WAV])),...["wma"].map((t=>[t,xo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,xo.WORD])),...["xml","xsl","rdf"].map((t=>[t,xo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,xo.YAML])),...["zip"].map((t=>[t,xo.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(wo||(wo={}));var $o=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class So extends Nt{constructor(){super(...arguments),this.resolvedIcon=et}render(){const t=this.variant&&Object.values(wo).includes(this.variant)?this.variant:wo.fluid_topics,e=t!==wo.material||!!this.value;return Q`
631
- <i class="ft-icon ${"ft-icon--"+t}">
632
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
632
633
  ${go(this.resolvedIcon)}
633
634
  <slot ?hidden=${e}></slot>
634
635
  </i>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-feedback",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0",
4
4
  "description": "Feedback forms for a map and its topics in an integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-app-context": "1.0.0-alpha.1",
23
- "@fluid-topics/ft-reader-context": "1.0.0-alpha.1",
24
- "@fluid-topics/ft-wc-utils": "1.0.0-alpha.1",
22
+ "@fluid-topics/ft-app-context": "1.0.0",
23
+ "@fluid-topics/ft-reader-context": "1.0.0",
24
+ "@fluid-topics/ft-wc-utils": "1.0.0",
25
25
  "lit": "2.7.2"
26
26
  },
27
- "gitHead": "bb54c217f788a915a443db6f496f02e176d05306"
27
+ "gitHead": "90895771e0ea740f1a0d972b9fd3796051757255"
28
28
  }