@fluid-topics/ft-search-bar 1.1.11 → 1.1.12

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.
@@ -568,7 +568,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
568
568
  </div>
569
569
  </div>
570
570
  </div>
571
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fo(this.slottedElement,this.tooltip,{platform:{...Zo,getOffsetParent:t=>Zo.getOffsetParent(t,Ko)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=_e(t,e),c={x:o,y:i},p=await io(e,s),f=Je(Ve(r)),h=Ye(f);let d=c[h],u=c[f];if(a){const t="y"===h?"bottom":"right";d=Ge(d+p["y"===h?"top":"left"],d,d-p[t])}if(n){const t="y"===f?"bottom":"right";u=Ge(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...e,[h]:d,[f]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),ao({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Mo.elementDefinitions={"ft-typography":se},Mo.styles=Fe,Po([i.property()],Mo.prototype,"text",void 0),Po([i.property({type:Boolean})],Mo.prototype,"manual",void 0),Po([i.property({type:Boolean})],Mo.prototype,"inline",void 0),Po([i.property({type:Number})],Mo.prototype,"delay",void 0),Po([i.property()],Mo.prototype,"position",void 0),Po([i.queryAssignedNodes()],Mo.prototype,"slotNodes",void 0),Po([i.query(".ft-tooltip--container")],Mo.prototype,"container",void 0),Po([i.query(".ft-tooltip")],Mo.prototype,"tooltip",void 0),Po([i.query(".ft-tooltip--content")],Mo.prototype,"tooltipContent",void 0),Po([i.state()],Mo.prototype,"visible",void 0),Po([i.eventOptions({passive:!0})],Mo.prototype,"onTouch",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onHover",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onOut",null),e.customElement("ft-tooltip")(Mo),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.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",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.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ao||(Ao={})),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;"}(Ho||(Ho={}));const jo=new Map([...["abw"].map((t=>[t,Ho.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,Ho.AUDIO])),...["avi"].map((t=>[t,Ho.AVI])),...["chm","xhs"].map((t=>[t,Ho.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,Ho.CODE])),...["csv"].map((t=>[t,Ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ho.DITA])),...["epub"].map((t=>[t,Ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ho.EXCEL])),...["flac"].map((t=>[t,Ho.FLAC])),...["gif"].map((t=>[t,Ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ho.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,Ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ho.JPEG])),...["json"].map((t=>[t,Ho.JSON])),...["m4a","m4p"].map((t=>[t,Ho.M4A])),...["mov","qt"].map((t=>[t,Ho.MOV])),...["mp3"].map((t=>[t,Ho.MP3])),...["mp4","m4v"].map((t=>[t,Ho.MP4])),...["ogg","oga"].map((t=>[t,Ho.OGG])),...["pdf","ps"].map((t=>[t,Ho.PDF])),...["png"].map((t=>[t,Ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ho.POWERPOINT])),...["rar"].map((t=>[t,Ho.RAR])),...["stp"].map((t=>[t,Ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ho.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,Ho.VIDEO])),...["wav"].map((t=>[t,Ho.WAV])),...["wma"].map((t=>[t,Ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ho.YAML])),...["zip"].map((t=>[t,Ho.ZIP]))]),To=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var Go;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Go||(Go={}));var _o=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Vo extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(Go).includes(this.variant)?this.variant:Go.fluid_topics,e=t!==Go.material||!!this.value;return o.html`
571
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fo(this.slottedElement,this.tooltip,{platform:{...Zo,getOffsetParent:t=>Zo.getOffsetParent(t,Ko)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=_e(t,e),c={x:o,y:i},p=await io(e,s),f=Je(Ve(r)),h=Ye(f);let d=c[h],u=c[f];if(a){const t="y"===h?"bottom":"right";d=Ge(d+p["y"===h?"top":"left"],d,d-p[t])}if(n){const t="y"===f?"bottom":"right";u=Ge(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...e,[h]:d,[f]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),ao({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Mo.elementDefinitions={"ft-typography":se},Mo.styles=Fe,Po([i.property()],Mo.prototype,"text",void 0),Po([i.property({type:Boolean})],Mo.prototype,"manual",void 0),Po([i.property({type:Boolean})],Mo.prototype,"inline",void 0),Po([i.property({type:Number})],Mo.prototype,"delay",void 0),Po([i.property()],Mo.prototype,"position",void 0),Po([i.queryAssignedNodes()],Mo.prototype,"slotNodes",void 0),Po([i.query(".ft-tooltip--container")],Mo.prototype,"container",void 0),Po([i.query(".ft-tooltip")],Mo.prototype,"tooltip",void 0),Po([i.query(".ft-tooltip--content")],Mo.prototype,"tooltipContent",void 0),Po([i.state()],Mo.prototype,"visible",void 0),Po([i.eventOptions({passive:!0})],Mo.prototype,"onTouch",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onHover",null),Po([i.eventOptions({passive:!0})],Mo.prototype,"onOut",null),e.customElement("ft-tooltip")(Mo),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.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",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.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ao||(Ao={})),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;"}(Ho||(Ho={}));const jo=new Map([...["abw"].map((t=>[t,Ho.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,Ho.AUDIO])),...["avi"].map((t=>[t,Ho.AVI])),...["chm","xhs"].map((t=>[t,Ho.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,Ho.CODE])),...["csv"].map((t=>[t,Ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ho.DITA])),...["epub"].map((t=>[t,Ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ho.EXCEL])),...["flac"].map((t=>[t,Ho.FLAC])),...["gif"].map((t=>[t,Ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ho.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,Ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ho.JPEG])),...["json"].map((t=>[t,Ho.JSON])),...["m4a","m4p"].map((t=>[t,Ho.M4A])),...["mov","qt"].map((t=>[t,Ho.MOV])),...["mp3"].map((t=>[t,Ho.MP3])),...["mp4","m4v"].map((t=>[t,Ho.MP4])),...["ogg","oga"].map((t=>[t,Ho.OGG])),...["pdf","ps"].map((t=>[t,Ho.PDF])),...["png"].map((t=>[t,Ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ho.POWERPOINT])),...["rar"].map((t=>[t,Ho.RAR])),...["stp"].map((t=>[t,Ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ho.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,Ho.VIDEO])),...["wav"].map((t=>[t,Ho.WAV])),...["wma"].map((t=>[t,Ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ho.YAML])),...["zip"].map((t=>[t,Ho.ZIP]))]),To=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var Go;Ho.ABW,Ho.AUDIO,Ho.AVI,Ho.CHM,Ho.CODE,Ho.CSV,Ho.DITA,Ho.EPUB,Ho.EXCEL,Ho.FLAC,Ho.GIF,Ho.GZIP,Ho.HTML,Ho.IMAGE,Ho.JPEG,Ho.JSON,Ho.M4A,Ho.MOV,Ho.MP3,Ho.MP4,Ho.OGG,Ho.PDF,Ho.PNG,Ho.POWERPOINT,Ho.RAR,Ho.STP,Ho.TEXT,Ho.UNKNOWN,Ho.VIDEO,Ho.WAV,Ho.WMA,Ho.WORD,Ho.XML,Ho.YAML,Ho.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Go||(Go={}));var _o=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Vo extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(Go).includes(this.variant)?this.variant:Go.fluid_topics,e=t!==Go.material||!!this.value;return o.html`
572
572
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
573
573
  ${n.unsafeHTML(this.resolvedIcon)}
574
574
  <slot ?hidden=${e}></slot>
@@ -12,48 +12,48 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=o.call(i,t);h||(h=p(t),e.call(i,t,h)),this===window.customElements&&(a.set(r,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=h(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const y=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(bn){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=o.call(i,t);h||(h=p(t),e.call(i,t,h)),this===window.customElements&&(a.set(r,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=h(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const y=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(bn){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),r=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
20
+ */const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(i&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&n.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return a(e)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:h,getOwnPropertySymbols:p,getPrototypeOf:f}=Object,d=globalThis,u=d.trustedTypes,b=u?u.emptyScript:"",g=d.reactiveElementPolyfillSupport,y=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?b:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!s(t,e),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const t=this.properties,e=[...h(t),...p(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{if(o)t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of i){const i=document.createElement("style"),r=e.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=o.cssText,t.appendChild(i)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[y("elementProperties")]=new Map,$[y("finalized")]=new Map,g?.({ReactiveElement:$}),(d.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:l,defineProperty:c,getOwnPropertyDescriptor:h,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,b=u.trustedTypes,g=b?b.emptyScript:"",y=u.reactiveElementPolyfillSupport,m=(t,e)=>t,v={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},x=(t,e)=>!l(t,e),$={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let w=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=$){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=h(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...p(t),...f(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(s(t))}else void 0!==t&&e.push(s(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:v).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:v;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??x)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[m("elementProperties")]=new Map,w[m("finalized")]=new Map,y?.({ReactiveElement:w}),(u.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},O=(t=w,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function S(t){return(e,o)=>"object"==typeof o?O(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
31
+ const O={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:x},S=(t=O,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function k(t){return(e,o)=>"object"==typeof o?S(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function k(t){return S({...t,state:!0,attribute:!1})}
36
+ */}function N(t){return k({...t,state:!0,attribute:!1})}
37
37
  /**
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */function N(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
41
+ */function C(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */const C=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
46
+ */const E=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;function E(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return C(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return C(0,0,{get(){return n(this)}})}}
51
+ */;function R(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return E(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return E(0,0,{get(){return n(this)}})}}
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */let R;class I{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}const L=t=>new Promise((e=>setTimeout(e,t)));function U(t,e){return t.flatMap((t=>[t,...U(e(t),e)]))}function z(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!z(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!z(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!z(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function F(t,e){const o=()=>JSON.parse(JSON.stringify(t));return S({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!z(t,e),...null!=e?e:{}})}
56
+ */let I;const L=t=>new Promise((e=>setTimeout(e,t)));function U(t,e){return t.flatMap((t=>[t,...U(e(t),e)]))}function z(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!z(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!z(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!z(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function F(t,e){const o=()=>JSON.parse(JSON.stringify(t));return k({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!z(t,e),...null!=e?e:{}})}
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2017 Google LLC
@@ -86,7 +86,7 @@ let Se=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
- */class Be extends Se{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Fe?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=We.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var De,Ke=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ze=Symbol("constructorPrototype"),Me=Symbol("constructorName"),Ae=Symbol("exportpartsDebouncer");class Pe extends Be{constructor(){super(),this[De]=new I(5),this[Me]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Me]&&Object.setPrototypeOf(this,this[Ze])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ae].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}De=Ae,Ke([S()],Pe.prototype,"exportpartsPrefix",void 0),Ke([F([])],Pe.prototype,"exportpartsPrefixes",void 0),Ke([S()],Pe.prototype,"customStylesheet",void 0);const je=Ce.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
89
+ */class Be extends Se{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Fe?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=We.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var De,Ke=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ze=Symbol("constructorPrototype"),Me=Symbol("constructorName"),Ae=Symbol("exportpartsDebouncer");class Pe extends Be{constructor(){super(),this[De]=new e(5),this[Me]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Me]&&Object.setPrototypeOf(this,this[Ze])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ae].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}De=Ae,Ke([k()],Pe.prototype,"exportpartsPrefix",void 0),Ke([F([])],Pe.prototype,"exportpartsPrefixes",void 0),Ke([k()],Pe.prototype,"customStylesheet",void 0);const je=Ce.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
90
90
  .highlight-html-match {
91
91
  background: ${je};
92
92
  }
@@ -151,11 +151,11 @@ let Se=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
151
151
  .ft-size-watcher--local .ft-size-watcher--watcher {
152
152
  width: 100%;
153
153
  }
154
- `;var Oo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class So extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class ko extends Pe{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=$o.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new I}render(){return le`
154
+ `;var Oo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class So extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class ko extends Pe{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=$o.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return le`
155
155
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
156
156
  <div class="ft-size-watcher--watcher"></div>
157
157
  </div>
158
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=$o.S:this.size<976?this.category=$o.M:this.size<1024?this.category=$o.L:this.size<1440?this.category=$o.XL:this.category=$o.XXL,this.dispatchEvent(new So(this.size,this.category)))}),this.debounceTimeout)}}ko.elementDefinitions={},ko.styles=wo,Oo([S({type:Number})],ko.prototype,"debounceTimeout",void 0),Oo([S({type:Boolean})],ko.prototype,"local",void 0),Oo([S({type:Number,reflect:!0})],ko.prototype,"size",void 0),Oo([S({type:String,reflect:!0})],ko.prototype,"category",void 0),Oo([E(".ft-size-watcher--watcher")],ko.prototype,"watcher",void 0),W("ft-size-watcher")(ko);
158
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=$o.S:this.size<976?this.category=$o.M:this.size<1024?this.category=$o.L:this.size<1440?this.category=$o.XL:this.category=$o.XXL,this.dispatchEvent(new So(this.size,this.category)))}),this.debounceTimeout)}}ko.elementDefinitions={},ko.styles=wo,Oo([k({type:Number})],ko.prototype,"debounceTimeout",void 0),Oo([k({type:Boolean})],ko.prototype,"local",void 0),Oo([k({type:Number,reflect:!0})],ko.prototype,"size",void 0),Oo([k({type:String,reflect:!0})],ko.prototype,"category",void 0),Oo([R(".ft-size-watcher--watcher")],ko.prototype,"watcher",void 0),W("ft-size-watcher")(ko);
159
159
  /**
160
160
  * @license
161
161
  * Copyright 2020 Google LLC
@@ -272,7 +272,7 @@ const No=Symbol.for(""),Co=t=>{if(t?.r===No)return t?._$litStatic$},Eo=t=>({_$li
272
272
  </${Eo(this.element)}>
273
273
  `:Io`
274
274
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
275
- `}}function Fi(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Bi(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>Bi(e,t.selected))),value:t.value}}function Di(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>Bi(t,!1)))}}Wi.styles=[$i,wi,Oi,Si,ki,Ni,Ci,Ei,Ri,Ii,Li,...Ui],zi([S()],Wi.prototype,"element",void 0),zi([S()],Wi.prototype,"variant",void 0),W("ft-typography")(Wi);const Ki=Ce.extend("--ft-ripple-color","",ze.colorContent),Zi={color:Ki,backgroundColor:Ce.extend("--ft-ripple-background-color","",Ki),opacityContentOnSurfacePressed:Ce.external(ze.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ce.external(ze.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ce.external(ze.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ce.external(ze.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ce.create("--ft-ripple-border-radius","","SIZE","0px")},Mi=Ce.extend("--ft-ripple-color","",ze.colorPrimary),Ai=Mi,Pi=Ce.extend("--ft-ripple-background-color","",Mi),ji=Ce.extend("--ft-ripple-color","",ze.colorSecondary),Hi=ji,Ti=Ce.extend("--ft-ripple-background-color","",ji),_i=Nt`
275
+ `}}function Fi(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Bi(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>Bi(e,t.selected))),value:t.value}}function Di(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>Bi(t,!1)))}}Wi.styles=[$i,wi,Oi,Si,ki,Ni,Ci,Ei,Ri,Ii,Li,...Ui],zi([k()],Wi.prototype,"element",void 0),zi([k()],Wi.prototype,"variant",void 0),W("ft-typography")(Wi);const Ki=Ce.extend("--ft-ripple-color","",ze.colorContent),Zi={color:Ki,backgroundColor:Ce.extend("--ft-ripple-background-color","",Ki),opacityContentOnSurfacePressed:Ce.external(ze.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ce.external(ze.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ce.external(ze.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ce.external(ze.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ce.create("--ft-ripple-border-radius","","SIZE","0px")},Mi=Ce.extend("--ft-ripple-color","",ze.colorPrimary),Ai=Mi,Pi=Ce.extend("--ft-ripple-background-color","",Mi),ji=Ce.extend("--ft-ripple-color","",ze.colorSecondary),Hi=ji,Ti=Ce.extend("--ft-ripple-background-color","",ji),_i=Nt`
276
276
  :host {
277
277
  display: contents;
278
278
  }
@@ -638,7 +638,7 @@ const No=Symbol.for(""),Co=t=>{if(t?.r===No)return t?._$litStatic$},Eo=t=>({_$li
638
638
  ${Ee(Vi.size,Xi.iconSize)};
639
639
  ${Ee(Vi.color,"var(--ft-button-internal-color)")};
640
640
  }
641
- `,He],ar=ho(class extends po{constructor(t){if(super(t),t.type!==lo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return it}});var sr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class lr extends Pe{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new I(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new I(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return le`
641
+ `,He],ar=ho(class extends po{constructor(t){if(super(t),t.type!==lo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return it}});var sr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class lr extends Pe{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return le`
642
642
  <style>
643
643
  .ft-ripple .ft-ripple--effect {
644
644
  left: ${this.originX}px;
@@ -649,7 +649,7 @@ const No=Symbol.for(""),Co=t=>{if(t?.r===No)return t?._$litStatic$},Eo=t=>({_$li
649
649
  <div class="ft-ripple--background"></div>
650
650
  <div class="ft-ripple--effect"></div>
651
651
  </div>
652
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}lr.elementDefinitions={},lr.styles=_i,sr([S({type:Boolean})],lr.prototype,"primary",void 0),sr([S({type:Boolean})],lr.prototype,"secondary",void 0),sr([S({type:Boolean})],lr.prototype,"unbounded",void 0),sr([S({type:Boolean})],lr.prototype,"activated",void 0),sr([S({type:Boolean})],lr.prototype,"selected",void 0),sr([S({type:Boolean})],lr.prototype,"disabled",void 0),sr([k()],lr.prototype,"hovered",void 0),sr([k()],lr.prototype,"focused",void 0),sr([k()],lr.prototype,"pressed",void 0),sr([k()],lr.prototype,"rippling",void 0),sr([k()],lr.prototype,"originX",void 0),sr([k()],lr.prototype,"originY",void 0),sr([E(".ft-ripple")],lr.prototype,"ripple",void 0),sr([E(".ft-ripple--effect")],lr.prototype,"rippleEffect",void 0),W("ft-ripple")(lr);const cr={distance:Ce.create("--ft-tooltip-distance","","SIZE","4px"),color:Ce.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ce.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ce.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ce.external(ze.borderRadiusS,"Design system"),maxWidth:Ce.create("--ft-tooltip-max-width","","SIZE","150px")},hr=Nt`
652
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}lr.elementDefinitions={},lr.styles=_i,sr([k({type:Boolean})],lr.prototype,"primary",void 0),sr([k({type:Boolean})],lr.prototype,"secondary",void 0),sr([k({type:Boolean})],lr.prototype,"unbounded",void 0),sr([k({type:Boolean})],lr.prototype,"activated",void 0),sr([k({type:Boolean})],lr.prototype,"selected",void 0),sr([k({type:Boolean})],lr.prototype,"disabled",void 0),sr([N()],lr.prototype,"hovered",void 0),sr([N()],lr.prototype,"focused",void 0),sr([N()],lr.prototype,"pressed",void 0),sr([N()],lr.prototype,"rippling",void 0),sr([N()],lr.prototype,"originX",void 0),sr([N()],lr.prototype,"originY",void 0),sr([R(".ft-ripple")],lr.prototype,"ripple",void 0),sr([R(".ft-ripple--effect")],lr.prototype,"rippleEffect",void 0),W("ft-ripple")(lr);const cr={distance:Ce.create("--ft-tooltip-distance","","SIZE","4px"),color:Ce.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ce.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ce.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ce.external(ze.borderRadiusS,"Design system"),maxWidth:Ce.create("--ft-tooltip-max-width","","SIZE","150px")},hr=Nt`
653
653
  .ft-tooltip--container {
654
654
  display: block;
655
655
  }
@@ -678,7 +678,7 @@ const No=Symbol.for(""),Co=t=>{if(t?.r===No)return t?._$litStatic$},Eo=t=>({_$li
678
678
  position: relative;
679
679
  word-break: break-word;
680
680
  }
681
- `,pr=["start","end"],fr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+pr[0],e+"-"+pr[1])),[]),dr=Math.min,ur=Math.max,br=Math.round,gr=t=>({x:t,y:t}),yr={left:"right",right:"left",bottom:"top",top:"bottom"},mr={start:"end",end:"start"};function vr(t,e,o){return ur(t,dr(e,o))}function xr(t,e){return"function"==typeof t?t(e):t}function $r(t){return t.split("-")[0]}function wr(t){return t.split("-")[1]}function Or(t){return"x"===t?"y":"x"}function Sr(t){return"y"===t?"height":"width"}function kr(t){return["top","bottom"].includes($r(t))?"y":"x"}function Nr(t){return Or(kr(t))}function Cr(t){return t.replace(/left|right|bottom|top/g,(t=>yr[t]))}function Er(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Rr(t,e,o){let{reference:i,floating:r}=t;const n=kr(e),a=Nr(e),s=Sr(a),l=$r(e),c="y"===n,h=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,f=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:h,y:i.y-r.height};break;case"bottom":d={x:h,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(wr(e)){case"start":d[a]-=f*(o&&c?-1:1);break;case"end":d[a]+=f*(o&&c?-1:1)}return d}async function Ir(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:f=!1,padding:d=0}=xr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),b=s[f?"floating"===p?"reference":"floating":p],g=Er(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(b)))||o?b:b.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:h,strategy:l})),y="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Er(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:l}):y);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function Lr(t,e,o){return(t?[...o.filter((e=>wr(e)===t)),...o.filter((e=>wr(e)!==t))]:o.filter((t=>$r(t)===t))).filter((o=>!t||(wr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>mr[t]))}(o)!==o)))}const Ur=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:f=fr,autoAlignment:d=!0,...u}=xr(t,e),b=void 0!==p||f===fr?Lr(p||null,d,f):f,g=await Ir(e,u),y=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=b[y];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=wr(t),r=Nr(t),n=Sr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Cr(a)),[a,Cr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:b[0]}};const x=[g[$r(m)],g[v[0]],g[v[1]]],$=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=b[y+1];if(w)return{data:{index:y+1,overflows:$},reset:{placement:w}};const O=$.map((t=>{const e=wr(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=O.filter((t=>t[2].slice(0,wr(t[0])?2:3).every((t=>t<=0)))),k=(null==(r=S[0])?void 0:r[0])||O[0][0];return k!==s?{data:{index:y+1,overflows:$},reset:{placement:k}}:{}}}};function zr(t){return Br(t)?(t.nodeName||"").toLowerCase():"#document"}function Wr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Fr(t){var e;return null==(e=(Br(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Br(t){return t instanceof Node||t instanceof Wr(t).Node}function Dr(t){return t instanceof Element||t instanceof Wr(t).Element}function Kr(t){return t instanceof HTMLElement||t instanceof Wr(t).HTMLElement}function Zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Wr(t).ShadowRoot)}function Mr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Tr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Ar(t){return["table","td","th"].includes(zr(t))}function Pr(t){const e=jr(),o=Tr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function jr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Hr(t){return["html","body","#document"].includes(zr(t))}function Tr(t){return Wr(t).getComputedStyle(t)}function _r(t){return Dr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Vr(t){if("html"===zr(t))return t;const e=t.assignedSlot||t.parentNode||Zr(t)&&t.host||Fr(t);return Zr(e)?e.host:e}function Gr(t){const e=Vr(t);return Hr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Kr(e)&&Mr(e)?e:Gr(e)}function qr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Gr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Wr(r);return n?e.concat(a,a.visualViewport||[],Mr(r)?r:[],a.frameElement&&o?qr(a.frameElement):[]):e.concat(r,qr(r,[],o))}function Yr(t){const e=Tr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Kr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=br(o)!==n||br(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Jr(t){return Dr(t)?t:t.contextElement}function Xr(t){const e=Jr(t);if(!Kr(e))return gr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Yr(e);let a=(n?br(o.width):o.width)/i,s=(n?br(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Qr=gr(0);function tn(t){const e=Wr(t);return jr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Qr}function en(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Jr(t);let a=gr(1);e&&(i?Dr(i)&&(a=Xr(i)):a=Xr(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Wr(t))&&e}(n,o,i)?tn(n):gr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,h=r.width/a.x,p=r.height/a.y;if(n){const t=Wr(n),e=i&&Dr(i)?Wr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Xr(o),e=o.getBoundingClientRect(),i=Tr(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,p*=t.y,l+=r,c+=n,o=Wr(o).frameElement}}return Er({width:h,height:p,x:l,y:c})}function on(t){return en(Fr(t)).left+_r(t).scrollLeft}function rn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Wr(t),i=Fr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=jr();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Fr(t),o=_r(t),i=t.ownerDocument.body,r=ur(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=ur(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+on(t);const s=-o.scrollTop;return"rtl"===Tr(i).direction&&(a+=ur(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Fr(t));else if(Dr(e))i=function(t,e){const o=en(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Kr(t)?Xr(t):gr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=tn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Er(i)}function nn(t,e){const o=Vr(t);return!(o===e||!Dr(o)||Hr(o))&&("fixed"===Tr(o).position||nn(o,e))}function an(t,e,o){const i=Kr(e),r=Fr(e),n="fixed"===o,a=en(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=gr(0);if(i||!i&&!n)if(("body"!==zr(e)||Mr(r))&&(s=_r(e)),i){const t=en(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=on(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function sn(t,e){return Kr(t)&&"fixed"!==Tr(t).position?e?e(t):t.offsetParent:null}function ln(t,e){const o=Wr(t);if(!Kr(t))return o;let i=sn(t,e);for(;i&&Ar(i)&&"static"===Tr(i).position;)i=sn(i,e);return i&&("html"===zr(i)||"body"===zr(i)&&"static"===Tr(i).position&&!Pr(i))?o:i||function(t){let e=Vr(t);for(;Kr(e)&&!Hr(e);){if(Pr(e))return e;e=Vr(e)}return null}(t)||o}const cn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Kr(o),n=Fr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=gr(1);const l=gr(0);if((r||!r&&"fixed"!==i)&&(("body"!==zr(o)||Mr(n))&&(a=_r(o)),Kr(o))){const t=en(o);s=Xr(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Fr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=qr(t,[],!1).filter((t=>Dr(t)&&"body"!==zr(t))),r=null;const n="fixed"===Tr(t).position;let a=n?Vr(t):t;for(;Dr(a)&&!Hr(a);){const e=Tr(a),o=Pr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Mr(a)&&!o&&nn(t,a))?i=i.filter((t=>t!==a)):r=e,a=Vr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=rn(e,o,r);return t.top=ur(i.top,t.top),t.right=dr(i.right,t.right),t.bottom=dr(i.bottom,t.bottom),t.left=ur(i.left,t.left),t}),rn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ln,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ln,n=this.getDimensions;return{reference:an(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Yr(t)},getScale:Xr,isElement:Dr,isRTL:function(t){return"rtl"===Tr(t).direction}},hn=(t,e,o)=>{const i=new Map,r={platform:cn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:p}=Rr(c,i,l),f=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:b}=s[o],{x:g,y,data:m,reset:v}=await b({x:h,y:p,initialPlacement:i,placement:f,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});h=null!=g?g:h,p=null!=y?y:p,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:h,y:p}=Rr(c,f,l))),o=-1)}return{x:h,y:p,placement:f,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function pn(t){return function(t){for(let e=t;e;e=fn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=fn(t);e;e=fn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function fn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var dn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class un extends Pe{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new I,this.revealDebouncer=new I}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return le`
681
+ `,pr=["start","end"],fr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+pr[0],e+"-"+pr[1])),[]),dr=Math.min,ur=Math.max,br=Math.round,gr=t=>({x:t,y:t}),yr={left:"right",right:"left",bottom:"top",top:"bottom"},mr={start:"end",end:"start"};function vr(t,e,o){return ur(t,dr(e,o))}function xr(t,e){return"function"==typeof t?t(e):t}function $r(t){return t.split("-")[0]}function wr(t){return t.split("-")[1]}function Or(t){return"x"===t?"y":"x"}function Sr(t){return"y"===t?"height":"width"}function kr(t){return["top","bottom"].includes($r(t))?"y":"x"}function Nr(t){return Or(kr(t))}function Cr(t){return t.replace(/left|right|bottom|top/g,(t=>yr[t]))}function Er(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Rr(t,e,o){let{reference:i,floating:r}=t;const n=kr(e),a=Nr(e),s=Sr(a),l=$r(e),c="y"===n,h=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,f=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:h,y:i.y-r.height};break;case"bottom":d={x:h,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(wr(e)){case"start":d[a]-=f*(o&&c?-1:1);break;case"end":d[a]+=f*(o&&c?-1:1)}return d}async function Ir(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:f=!1,padding:d=0}=xr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),b=s[f?"floating"===p?"reference":"floating":p],g=Er(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(b)))||o?b:b.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:h,strategy:l})),y="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Er(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:l}):y);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function Lr(t,e,o){return(t?[...o.filter((e=>wr(e)===t)),...o.filter((e=>wr(e)!==t))]:o.filter((t=>$r(t)===t))).filter((o=>!t||(wr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>mr[t]))}(o)!==o)))}const Ur=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:f=fr,autoAlignment:d=!0,...u}=xr(t,e),b=void 0!==p||f===fr?Lr(p||null,d,f):f,g=await Ir(e,u),y=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=b[y];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=wr(t),r=Nr(t),n=Sr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Cr(a)),[a,Cr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:b[0]}};const x=[g[$r(m)],g[v[0]],g[v[1]]],$=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=b[y+1];if(w)return{data:{index:y+1,overflows:$},reset:{placement:w}};const O=$.map((t=>{const e=wr(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=O.filter((t=>t[2].slice(0,wr(t[0])?2:3).every((t=>t<=0)))),k=(null==(r=S[0])?void 0:r[0])||O[0][0];return k!==s?{data:{index:y+1,overflows:$},reset:{placement:k}}:{}}}};function zr(t){return Br(t)?(t.nodeName||"").toLowerCase():"#document"}function Wr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Fr(t){var e;return null==(e=(Br(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Br(t){return t instanceof Node||t instanceof Wr(t).Node}function Dr(t){return t instanceof Element||t instanceof Wr(t).Element}function Kr(t){return t instanceof HTMLElement||t instanceof Wr(t).HTMLElement}function Zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Wr(t).ShadowRoot)}function Mr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Tr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Ar(t){return["table","td","th"].includes(zr(t))}function Pr(t){const e=jr(),o=Tr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function jr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Hr(t){return["html","body","#document"].includes(zr(t))}function Tr(t){return Wr(t).getComputedStyle(t)}function _r(t){return Dr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Vr(t){if("html"===zr(t))return t;const e=t.assignedSlot||t.parentNode||Zr(t)&&t.host||Fr(t);return Zr(e)?e.host:e}function Gr(t){const e=Vr(t);return Hr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Kr(e)&&Mr(e)?e:Gr(e)}function qr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Gr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Wr(r);return n?e.concat(a,a.visualViewport||[],Mr(r)?r:[],a.frameElement&&o?qr(a.frameElement):[]):e.concat(r,qr(r,[],o))}function Yr(t){const e=Tr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Kr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=br(o)!==n||br(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Jr(t){return Dr(t)?t:t.contextElement}function Xr(t){const e=Jr(t);if(!Kr(e))return gr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Yr(e);let a=(n?br(o.width):o.width)/i,s=(n?br(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Qr=gr(0);function tn(t){const e=Wr(t);return jr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Qr}function en(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Jr(t);let a=gr(1);e&&(i?Dr(i)&&(a=Xr(i)):a=Xr(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Wr(t))&&e}(n,o,i)?tn(n):gr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,h=r.width/a.x,p=r.height/a.y;if(n){const t=Wr(n),e=i&&Dr(i)?Wr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Xr(o),e=o.getBoundingClientRect(),i=Tr(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,p*=t.y,l+=r,c+=n,o=Wr(o).frameElement}}return Er({width:h,height:p,x:l,y:c})}function on(t){return en(Fr(t)).left+_r(t).scrollLeft}function rn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Wr(t),i=Fr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=jr();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Fr(t),o=_r(t),i=t.ownerDocument.body,r=ur(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=ur(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+on(t);const s=-o.scrollTop;return"rtl"===Tr(i).direction&&(a+=ur(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Fr(t));else if(Dr(e))i=function(t,e){const o=en(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Kr(t)?Xr(t):gr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=tn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Er(i)}function nn(t,e){const o=Vr(t);return!(o===e||!Dr(o)||Hr(o))&&("fixed"===Tr(o).position||nn(o,e))}function an(t,e,o){const i=Kr(e),r=Fr(e),n="fixed"===o,a=en(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=gr(0);if(i||!i&&!n)if(("body"!==zr(e)||Mr(r))&&(s=_r(e)),i){const t=en(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=on(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function sn(t,e){return Kr(t)&&"fixed"!==Tr(t).position?e?e(t):t.offsetParent:null}function ln(t,e){const o=Wr(t);if(!Kr(t))return o;let i=sn(t,e);for(;i&&Ar(i)&&"static"===Tr(i).position;)i=sn(i,e);return i&&("html"===zr(i)||"body"===zr(i)&&"static"===Tr(i).position&&!Pr(i))?o:i||function(t){let e=Vr(t);for(;Kr(e)&&!Hr(e);){if(Pr(e))return e;e=Vr(e)}return null}(t)||o}const cn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Kr(o),n=Fr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=gr(1);const l=gr(0);if((r||!r&&"fixed"!==i)&&(("body"!==zr(o)||Mr(n))&&(a=_r(o)),Kr(o))){const t=en(o);s=Xr(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Fr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=qr(t,[],!1).filter((t=>Dr(t)&&"body"!==zr(t))),r=null;const n="fixed"===Tr(t).position;let a=n?Vr(t):t;for(;Dr(a)&&!Hr(a);){const e=Tr(a),o=Pr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Mr(a)&&!o&&nn(t,a))?i=i.filter((t=>t!==a)):r=e,a=Vr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=rn(e,o,r);return t.top=ur(i.top,t.top),t.right=dr(i.right,t.right),t.bottom=dr(i.bottom,t.bottom),t.left=ur(i.left,t.left),t}),rn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ln,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ln,n=this.getDimensions;return{reference:an(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Yr(t)},getScale:Xr,isElement:Dr,isRTL:function(t){return"rtl"===Tr(t).direction}},hn=(t,e,o)=>{const i=new Map,r={platform:cn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:p}=Rr(c,i,l),f=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:b}=s[o],{x:g,y,data:m,reset:v}=await b({x:h,y:p,initialPlacement:i,placement:f,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});h=null!=g?g:h,p=null!=y?y:p,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:h,y:p}=Rr(c,f,l))),o=-1)}return{x:h,y:p,placement:f,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function pn(t){return function(t){for(let e=t;e;e=fn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=fn(t);e;e=fn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function fn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var dn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class un extends Pe{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return le`
682
682
  <div part="container"
683
683
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
684
684
  @mouseenter=${this.onHover}
@@ -696,24 +696,24 @@ const No=Symbol.for(""),Co=t=>{if(t?.r===No)return t?._$litStatic$},Eo=t=>({_$li
696
696
  </div>
697
697
  </div>
698
698
  </div>
699
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",hn(this.slottedElement,this.tooltip,{platform:{...cn,getOffsetParent:t=>cn.getOffsetParent(t,pn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=xr(t,e),c={x:o,y:i},h=await Ir(e,l),p=kr($r(r)),f=Or(p);let d=c[f],u=c[p];if(n){const t="y"===f?"bottom":"right";d=vr(d+h["y"===f?"top":"left"],d,d-h[t])}if(a){const t="y"===p?"bottom":"right";u=vr(u+h["y"===p?"top":"left"],u,u-h[t])}const b=s.fn({...e,[f]:d,[p]:u});return{...b,data:{x:b.x-o,y:b.y-i}}}}),Ur({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}un.elementDefinitions={"ft-typography":Wi},un.styles=hr,dn([S()],un.prototype,"text",void 0),dn([S({type:Boolean})],un.prototype,"manual",void 0),dn([S({type:Boolean})],un.prototype,"inline",void 0),dn([S({type:Number})],un.prototype,"delay",void 0),dn([S()],un.prototype,"position",void 0),dn([
699
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",hn(this.slottedElement,this.tooltip,{platform:{...cn,getOffsetParent:t=>cn.getOffsetParent(t,pn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=xr(t,e),c={x:o,y:i},h=await Ir(e,l),p=kr($r(r)),f=Or(p);let d=c[f],u=c[p];if(n){const t="y"===f?"bottom":"right";d=vr(d+h["y"===f?"top":"left"],d,d-h[t])}if(a){const t="y"===p?"bottom":"right";u=vr(u+h["y"===p?"top":"left"],u,u-h[t])}const b=s.fn({...e,[f]:d,[p]:u});return{...b,data:{x:b.x-o,y:b.y-i}}}}),Ur({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}un.elementDefinitions={"ft-typography":Wi},un.styles=hr,dn([k()],un.prototype,"text",void 0),dn([k({type:Boolean})],un.prototype,"manual",void 0),dn([k({type:Boolean})],un.prototype,"inline",void 0),dn([k({type:Number})],un.prototype,"delay",void 0),dn([k()],un.prototype,"position",void 0),dn([
700
700
  /**
701
701
  * @license
702
702
  * Copyright 2017 Google LLC
703
703
  * SPDX-License-Identifier: BSD-3-Clause
704
704
  */
705
- function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],un.prototype,"slotNodes",void 0),dn([E(".ft-tooltip--container")],un.prototype,"container",void 0),dn([E(".ft-tooltip")],un.prototype,"tooltip",void 0),dn([E(".ft-tooltip--content")],un.prototype,"tooltipContent",void 0),dn([k()],un.prototype,"visible",void 0),dn([N({passive:!0})],un.prototype,"onTouch",null),dn([N({passive:!0})],un.prototype,"onHover",null),dn([N({passive:!0})],un.prototype,"onOut",null),W("ft-tooltip")(un);
705
+ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],un.prototype,"slotNodes",void 0),dn([R(".ft-tooltip--container")],un.prototype,"container",void 0),dn([R(".ft-tooltip")],un.prototype,"tooltip",void 0),dn([R(".ft-tooltip--content")],un.prototype,"tooltipContent",void 0),dn([N()],un.prototype,"visible",void 0),dn([C({passive:!0})],un.prototype,"onTouch",null),dn([C({passive:!0})],un.prototype,"onHover",null),dn([C({passive:!0})],un.prototype,"onOut",null),W("ft-tooltip")(un);
706
706
  /**
707
707
  * @license
708
708
  * Copyright 2017 Google LLC
709
709
  * SPDX-License-Identifier: BSD-3-Clause
710
710
  */
711
- class bn extends po{constructor(t){if(super(t),this.et=rt,t.type!==co)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.vt=void 0,this.et=t;if(t===it)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}bn.directiveName="unsafeHTML",bn.resultType=1;const gn=ho(bn);var yn,mn;!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.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",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.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(yn||(yn={})),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;"}(mn||(mn={}));const vn=new Map([...["abw"].map((t=>[t,mn.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,mn.AUDIO])),...["avi"].map((t=>[t,mn.AVI])),...["chm","xhs"].map((t=>[t,mn.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,mn.CODE])),...["csv"].map((t=>[t,mn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,mn.DITA])),...["epub"].map((t=>[t,mn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,mn.EXCEL])),...["flac"].map((t=>[t,mn.FLAC])),...["gif"].map((t=>[t,mn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,mn.GZIP])),...["html","htm","xhtml"].map((t=>[t,mn.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,mn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,mn.JPEG])),...["json"].map((t=>[t,mn.JSON])),...["m4a","m4p"].map((t=>[t,mn.M4A])),...["mov","qt"].map((t=>[t,mn.MOV])),...["mp3"].map((t=>[t,mn.MP3])),...["mp4","m4v"].map((t=>[t,mn.MP4])),...["ogg","oga"].map((t=>[t,mn.OGG])),...["pdf","ps"].map((t=>[t,mn.PDF])),...["png"].map((t=>[t,mn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,mn.POWERPOINT])),...["rar"].map((t=>[t,mn.RAR])),...["stp"].map((t=>[t,mn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,mn.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,mn.VIDEO])),...["wav"].map((t=>[t,mn.WAV])),...["wma"].map((t=>[t,mn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,mn.WORD])),...["xml","xsl","rdf"].map((t=>[t,mn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,mn.YAML])),...["zip"].map((t=>[t,mn.ZIP]))]),xn=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var $n;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}($n||($n={}));var wn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class On extends Pe{constructor(){super(...arguments),this.resolvedIcon=he}render(){const t=this.variant&&Object.values($n).includes(this.variant)?this.variant:$n.fluid_topics,e=t!==$n.material||!!this.value;return le`
711
+ class bn extends po{constructor(t){if(super(t),this.et=rt,t.type!==co)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.vt=void 0,this.et=t;if(t===it)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}bn.directiveName="unsafeHTML",bn.resultType=1;const gn=ho(bn);var yn,mn;!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.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",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.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(yn||(yn={})),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;"}(mn||(mn={}));const vn=new Map([...["abw"].map((t=>[t,mn.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,mn.AUDIO])),...["avi"].map((t=>[t,mn.AVI])),...["chm","xhs"].map((t=>[t,mn.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,mn.CODE])),...["csv"].map((t=>[t,mn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,mn.DITA])),...["epub"].map((t=>[t,mn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,mn.EXCEL])),...["flac"].map((t=>[t,mn.FLAC])),...["gif"].map((t=>[t,mn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,mn.GZIP])),...["html","htm","xhtml"].map((t=>[t,mn.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,mn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,mn.JPEG])),...["json"].map((t=>[t,mn.JSON])),...["m4a","m4p"].map((t=>[t,mn.M4A])),...["mov","qt"].map((t=>[t,mn.MOV])),...["mp3"].map((t=>[t,mn.MP3])),...["mp4","m4v"].map((t=>[t,mn.MP4])),...["ogg","oga"].map((t=>[t,mn.OGG])),...["pdf","ps"].map((t=>[t,mn.PDF])),...["png"].map((t=>[t,mn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,mn.POWERPOINT])),...["rar"].map((t=>[t,mn.RAR])),...["stp"].map((t=>[t,mn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,mn.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,mn.VIDEO])),...["wav"].map((t=>[t,mn.WAV])),...["wma"].map((t=>[t,mn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,mn.WORD])),...["xml","xsl","rdf"].map((t=>[t,mn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,mn.YAML])),...["zip"].map((t=>[t,mn.ZIP]))]),xn=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var $n;mn.ABW,mn.AUDIO,mn.AVI,mn.CHM,mn.CODE,mn.CSV,mn.DITA,mn.EPUB,mn.EXCEL,mn.FLAC,mn.GIF,mn.GZIP,mn.HTML,mn.IMAGE,mn.JPEG,mn.JSON,mn.M4A,mn.MOV,mn.MP3,mn.MP4,mn.OGG,mn.PDF,mn.PNG,mn.POWERPOINT,mn.RAR,mn.STP,mn.TEXT,mn.UNKNOWN,mn.VIDEO,mn.WAV,mn.WMA,mn.WORD,mn.XML,mn.YAML,mn.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}($n||($n={}));var wn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class On extends Pe{constructor(){super(...arguments),this.resolvedIcon=he}render(){const t=this.variant&&Object.values($n).includes(this.variant)?this.variant:$n.fluid_topics,e=t!==$n.material||!!this.value;return le`
712
712
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
713
713
  ${gn(this.resolvedIcon)}
714
714
  <slot ?hidden=${e}></slot>
715
715
  </i>
716
- `}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:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case $n.file_format:this.resolvedIcon=null!==(t=mn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case $n.material:this.resolvedIcon=this.value||he;break;default:this.resolvedIcon=null!==(e=yn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}On.elementDefinitions={},On.styles=Yi,wn([S()],On.prototype,"variant",void 0),wn([S()],On.prototype,"value",void 0),wn([k()],On.prototype,"resolvedIcon",void 0),wn([E("slot")],On.prototype,"slottedContent",void 0),W("ft-icon")(On);class Sn extends Pe{render(){return le`
716
+ `}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:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case $n.file_format:this.resolvedIcon=null!==(t=mn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case $n.material:this.resolvedIcon=this.value||he;break;default:this.resolvedIcon=null!==(e=yn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}On.elementDefinitions={},On.styles=Yi,wn([k()],On.prototype,"variant",void 0),wn([k()],On.prototype,"value",void 0),wn([N()],On.prototype,"resolvedIcon",void 0),wn([R("slot")],On.prototype,"slottedContent",void 0),W("ft-icon")(On);class Sn extends Pe{render(){return le`
717
717
  <div class="ft-loader">
718
718
  <div></div>
719
719
  <div></div>
@@ -743,7 +743,7 @@ class bn extends po{constructor(t){if(super(t),this.et=rt,t.type!==co)throw Erro
743
743
  </ft-tooltip>
744
744
  `:t}resolveIcon(){return this.loading?le`
745
745
  <ft-loader part="loader icon"></ft-loader> `:this.icon?le`
746
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:he}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Nn.elementDefinitions={"ft-ripple":lr,"ft-tooltip":un,"ft-typography":Wi,"ft-icon":On,"ft-loader":Sn},kn([S({type:String,reflect:!0})],Nn.prototype,"role",void 0),kn([S()],Nn.prototype,"type",void 0),kn([S({type:Boolean})],Nn.prototype,"disabled",void 0),kn([S()],Nn.prototype,"label",void 0),kn([S()],Nn.prototype,"icon",void 0),kn([S()],Nn.prototype,"iconVariant",void 0),kn([S({type:Boolean})],Nn.prototype,"trailingIcon",void 0),kn([S({type:Boolean})],Nn.prototype,"loading",void 0),kn([S()],Nn.prototype,"tooltipPosition",void 0),kn([S({type:Boolean})],Nn.prototype,"hideTooltip",void 0),kn([S({type:Boolean})],Nn.prototype,"forceTooltip",void 0),kn([E(".ft-button")],Nn.prototype,"button",void 0),kn([E(".ft-button--label slot")],Nn.prototype,"slottedContent",void 0);var Cn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class En extends Nn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}En.styles=[_e,nr],Cn([S({type:Boolean})],En.prototype,"primary",void 0),Cn([S({type:Boolean})],En.prototype,"outlined",void 0),Cn([S({type:Boolean})],En.prototype,"dense",void 0),Cn([S({type:Boolean})],En.prototype,"round",void 0);const Rn=[Nt`
746
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:he}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Nn.elementDefinitions={"ft-ripple":lr,"ft-tooltip":un,"ft-typography":Wi,"ft-icon":On,"ft-loader":Sn},kn([k({type:String,reflect:!0})],Nn.prototype,"role",void 0),kn([k()],Nn.prototype,"type",void 0),kn([k({type:Boolean})],Nn.prototype,"disabled",void 0),kn([k()],Nn.prototype,"label",void 0),kn([k()],Nn.prototype,"icon",void 0),kn([k()],Nn.prototype,"iconVariant",void 0),kn([k({type:Boolean})],Nn.prototype,"trailingIcon",void 0),kn([k({type:Boolean})],Nn.prototype,"loading",void 0),kn([k()],Nn.prototype,"tooltipPosition",void 0),kn([k({type:Boolean})],Nn.prototype,"hideTooltip",void 0),kn([k({type:Boolean})],Nn.prototype,"forceTooltip",void 0),kn([R(".ft-button")],Nn.prototype,"button",void 0),kn([R(".ft-button--label slot")],Nn.prototype,"slottedContent",void 0);var Cn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class En extends Nn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}En.styles=[_e,nr],Cn([k({type:Boolean})],En.prototype,"primary",void 0),Cn([k({type:Boolean})],En.prototype,"outlined",void 0),Cn([k({type:Boolean})],En.prototype,"dense",void 0),Cn([k({type:Boolean})],En.prototype,"round",void 0);const Rn=[Nt`
747
747
  :host {
748
748
  display: inline-block;
749
749
  max-width: 100%;
@@ -961,7 +961,7 @@ class bn extends po{constructor(t){if(super(t),this.et=rt,t.type!==co)throw Erro
961
961
  width: ${Ue.smallIconOnlyWidth};
962
962
  padding: unset;
963
963
  }
964
- `,He];var In=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ln extends Nn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Lo.caption1medium:Lo.body2medium}}Ln.styles=[_e,Rn],In([S({type:Boolean})],Ln.prototype,"primary",void 0),In([S({type:Boolean})],Ln.prototype,"secondary",void 0),In([S({type:Boolean})],Ln.prototype,"tertiary",void 0),In([S({type:Boolean})],Ln.prototype,"neutral",void 0),In([S({type:Boolean})],Ln.prototype,"small",void 0),W("ft-button")(En),W("ftds-button")(Ln);const Un=Ce.extend("--ft-checkbox-text-color","",ze.colorOnSurfaceHigh),zn=Ce.external(ze.colorPrimary,"Design system"),Wn=Ce.external(ze.colorOnPrimary,"Design system"),Fn=Ce.extend("--ft-checkbox-border-color","",ze.colorOnSurfaceMedium),Bn=Ce.external(ze.colorOnSurfaceDisabled,"Design system"),Dn=Nt`
964
+ `,He];var In=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ln extends Nn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Lo.caption1medium:Lo.body2medium}}Ln.styles=[_e,Rn],In([k({type:Boolean})],Ln.prototype,"primary",void 0),In([k({type:Boolean})],Ln.prototype,"secondary",void 0),In([k({type:Boolean})],Ln.prototype,"tertiary",void 0),In([k({type:Boolean})],Ln.prototype,"neutral",void 0),In([k({type:Boolean})],Ln.prototype,"small",void 0),W("ft-button")(En),W("ftds-button")(Ln);const Un=Ce.extend("--ft-checkbox-text-color","",ze.colorOnSurfaceHigh),zn=Ce.external(ze.colorPrimary,"Design system"),Wn=Ce.external(ze.colorOnPrimary,"Design system"),Fn=Ce.extend("--ft-checkbox-border-color","",ze.colorOnSurfaceMedium),Bn=Ce.external(ze.colorOnSurfaceDisabled,"Design system"),Dn=Nt`
965
965
  * {
966
966
  box-sizing: border-box;
967
967
  }
@@ -1064,7 +1064,7 @@ class bn extends po{constructor(t){if(super(t),this.et=rt,t.type!==co)throw Erro
1064
1064
  <slot></slot>
1065
1065
  </ft-typography>
1066
1066
  </label>
1067
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Zn.elementDefinitions={"ft-ripple":lr,"ft-typography":Wi},Zn.styles=Dn,Kn([S()],Zn.prototype,"name",void 0),Kn([S({type:Boolean,reflect:!0})],Zn.prototype,"checked",void 0),Kn([S({type:Boolean})],Zn.prototype,"indeterminate",void 0),Kn([S({type:Boolean})],Zn.prototype,"disabled",void 0),Kn([E(".ft-checkbox")],Zn.prototype,"container",void 0),Kn([E("ft-ripple")],Zn.prototype,"ripple",void 0),W("ft-checkbox")(Zn);const Mn=Ce.extend("--ft-radio-text-color","",ze.colorOnSurfaceHigh),An=Ce.external(ze.colorPrimary,"Design system"),Pn=(Ce.external(ze.colorOnPrimary,"Design system"),Ce.extend("--ft-radio-border-color","",ze.colorOnSurfaceMedium)),jn=Ce.external(ze.colorOnSurfaceDisabled,"Design system"),Hn=Nt`
1067
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Zn.elementDefinitions={"ft-ripple":lr,"ft-typography":Wi},Zn.styles=Dn,Kn([k()],Zn.prototype,"name",void 0),Kn([k({type:Boolean,reflect:!0})],Zn.prototype,"checked",void 0),Kn([k({type:Boolean})],Zn.prototype,"indeterminate",void 0),Kn([k({type:Boolean})],Zn.prototype,"disabled",void 0),Kn([R(".ft-checkbox")],Zn.prototype,"container",void 0),Kn([R("ft-ripple")],Zn.prototype,"ripple",void 0),W("ft-checkbox")(Zn);const Mn=Ce.extend("--ft-radio-text-color","",ze.colorOnSurfaceHigh),An=Ce.external(ze.colorPrimary,"Design system"),Pn=(Ce.external(ze.colorOnPrimary,"Design system"),Ce.extend("--ft-radio-border-color","",ze.colorOnSurfaceMedium)),jn=Ce.external(ze.colorOnSurfaceDisabled,"Design system"),Hn=Nt`
1068
1068
  * {
1069
1069
  box-sizing: border-box;
1070
1070
  }
@@ -1168,7 +1168,7 @@ class bn extends po{constructor(t){if(super(t),this.et=rt,t.type!==co)throw Erro
1168
1168
  </ft-typography>
1169
1169
  </label>
1170
1170
  </div>
1171
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new _n(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new _n(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Vn.elementDefinitions={"ft-ripple":lr,"ft-typography":Wi},Vn.styles=Hn,Tn([S()],Vn.prototype,"value",void 0),Tn([S()],Vn.prototype,"name",void 0),Tn([S({type:Boolean,reflect:!0})],Vn.prototype,"checked",void 0),Tn([S({type:Boolean})],Vn.prototype,"disabled",void 0),Tn([E(".ft-radio")],Vn.prototype,"container",void 0),Tn([E("ft-ripple")],Vn.prototype,"ripple",void 0),Tn([E("input")],Vn.prototype,"input",void 0);const Gn=Nt`
1171
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new _n(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new _n(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Vn.elementDefinitions={"ft-ripple":lr,"ft-typography":Wi},Vn.styles=Hn,Tn([k()],Vn.prototype,"value",void 0),Tn([k()],Vn.prototype,"name",void 0),Tn([k({type:Boolean,reflect:!0})],Vn.prototype,"checked",void 0),Tn([k({type:Boolean})],Vn.prototype,"disabled",void 0),Tn([R(".ft-radio")],Vn.prototype,"container",void 0),Tn([R("ft-ripple")],Vn.prototype,"ripple",void 0),Tn([R("input")],Vn.prototype,"input",void 0);const Gn=Nt`
1172
1172
  :host {
1173
1173
  display: contents;
1174
1174
  }
@@ -1177,13 +1177,13 @@ class bn extends po{constructor(t){if(super(t),this.et=rt,t.type!==co)throw Erro
1177
1177
  @change=${this.onChange}
1178
1178
  @keydown=${this.onKeyDown}
1179
1179
  ></slot>
1180
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Yn.elementDefinitions={},Yn.styles=Gn,qn([S()],Yn.prototype,"name",void 0),qn([
1180
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Yn.elementDefinitions={},Yn.styles=Gn,qn([k()],Yn.prototype,"name",void 0),qn([
1181
1181
  /**
1182
1182
  * @license
1183
1183
  * Copyright 2021 Google LLC
1184
1184
  * SPDX-License-Identifier: BSD-3-Clause
1185
1185
  */
1186
- function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Yn.prototype,"radioButtons",void 0),W("ft-radio")(Vn),W("ft-radio-group")(Yn);const Jn={borderRadiusM:Ce.external(ze.borderRadiusM,"Design system"),colorOutline:Ce.external(ze.colorOutline,"Design system"),colorOnSurface:Ce.external(ze.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ce.external(ze.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ce.external(ze.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ce.external(ze.colorPrimary,"Design system"),colorOnPrimary:Ce.external(ze.colorOnPrimary,"Design system"),fontFamily:Ce.external(ai.fontFamily,"Body2 typography"),fontSize:Ce.external(ai.fontSize,"Body2 typography"),fontWeight:Ce.external(ai.fontWeight,"Body2 typography"),letterSpacing:Ce.external(ai.letterSpacing,"Body2 typography"),lineHeight:Ce.external(ai.lineHeight,"Body2 typography"),textTransform:Ce.external(ai.textTransform,"Body2 typography")},Xn=Nt`
1186
+ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Yn.prototype,"radioButtons",void 0),W("ft-radio")(Vn),W("ft-radio-group")(Yn);const Jn={borderRadiusM:Ce.external(ze.borderRadiusM,"Design system"),colorOutline:Ce.external(ze.colorOutline,"Design system"),colorOnSurface:Ce.external(ze.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ce.external(ze.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ce.external(ze.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ce.external(ze.colorPrimary,"Design system"),colorOnPrimary:Ce.external(ze.colorOnPrimary,"Design system"),fontFamily:Ce.external(ai.fontFamily,"Body2 typography"),fontSize:Ce.external(ai.fontSize,"Body2 typography"),fontWeight:Ce.external(ai.fontWeight,"Body2 typography"),letterSpacing:Ce.external(ai.letterSpacing,"Body2 typography"),lineHeight:Ce.external(ai.lineHeight,"Body2 typography"),textTransform:Ce.external(ai.textTransform,"Body2 typography")},Xn=Nt`
1187
1187
  .ft-filter-level--container {
1188
1188
  display: flex;
1189
1189
  flex-direction: column;
@@ -1313,7 +1313,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1313
1313
  @change=${t=>t.stopPropagation()}>
1314
1314
  ${t.renderOption?t.renderOption:t.label}
1315
1315
  </ft-radio>
1316
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}ta.elementDefinitions={"ft-button":En,"ft-ripple":lr,"ft-typography":Wi,"ft-checkbox":Zn,"ft-icon":On,"ft-radio":Vn},ta.styles=Xn,Qn([S({type:String})],ta.prototype,"filterId",void 0),Qn([S({type:Object})],ta.prototype,"parent",void 0),Qn([S({type:Array})],ta.prototype,"options",void 0),Qn([S({type:Boolean})],ta.prototype,"multivalued",void 0),Qn([S({type:Boolean})],ta.prototype,"disabled",void 0),Qn([S({type:Boolean})],ta.prototype,"hideSelectedOptions",void 0),Qn([S({type:Boolean})],ta.prototype,"preventNavigation",void 0),Qn([S({type:String})],ta.prototype,"filter",void 0),Qn([S({type:String})],ta.prototype,"moreValuesButtonLabel",void 0),Qn([S({type:String})],ta.prototype,"noValuesLabel",void 0),Qn([S({type:Number})],ta.prototype,"displayedValuesLimit",void 0),Qn([E(".ft-filter-level--container")],ta.prototype,"container",void 0),Qn([k()],ta.prototype,"displayedPages",void 0);const ea={buttonsColor:Ce.extend("--ft-snap-scroll-buttons-color","",ze.colorPrimary),buttonsZIndex:Ce.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ce.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ce.external(ze.colorSurface,"Design system")},oa=Nt`
1316
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}ta.elementDefinitions={"ft-button":En,"ft-ripple":lr,"ft-typography":Wi,"ft-checkbox":Zn,"ft-icon":On,"ft-radio":Vn},ta.styles=Xn,Qn([k({type:String})],ta.prototype,"filterId",void 0),Qn([k({type:Object})],ta.prototype,"parent",void 0),Qn([k({type:Array})],ta.prototype,"options",void 0),Qn([k({type:Boolean})],ta.prototype,"multivalued",void 0),Qn([k({type:Boolean})],ta.prototype,"disabled",void 0),Qn([k({type:Boolean})],ta.prototype,"hideSelectedOptions",void 0),Qn([k({type:Boolean})],ta.prototype,"preventNavigation",void 0),Qn([k({type:String})],ta.prototype,"filter",void 0),Qn([k({type:String})],ta.prototype,"moreValuesButtonLabel",void 0),Qn([k({type:String})],ta.prototype,"noValuesLabel",void 0),Qn([k({type:Number})],ta.prototype,"displayedValuesLimit",void 0),Qn([R(".ft-filter-level--container")],ta.prototype,"container",void 0),Qn([N()],ta.prototype,"displayedPages",void 0);const ea={buttonsColor:Ce.extend("--ft-snap-scroll-buttons-color","",ze.colorPrimary),buttonsZIndex:Ce.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ce.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ce.external(ze.colorSurface,"Design system")},oa=Nt`
1317
1317
  .ft-snap-scroll {
1318
1318
  box-sizing: border-box;
1319
1319
  position: relative;
@@ -1438,7 +1438,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1438
1438
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1439
1439
  background-color: ${ea.colorSurface};
1440
1440
  }
1441
- `;var ia=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ra extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class na extends Pe{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new I(200),this.updateScrollDebouncer=new I(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=ar({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ao}),e=this.controls&&this.withScroll;return le`
1441
+ `;var ia=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ra extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class na extends Pe{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e(200),this.updateScrollDebouncer=new e(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=ar({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ao}),e=this.controls&&this.withScroll;return le`
1442
1442
  <div part="container" class="${t}">
1443
1443
  <ft-button
1444
1444
  class="ft-snap-scroll--previous"
@@ -1462,7 +1462,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1462
1462
  @click=${this.next}
1463
1463
  ></ft-button>
1464
1464
  </div>
1465
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new ra(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}na.elementDefinitions={"ft-button":En},na.styles=oa,ia([S({type:Boolean})],na.prototype,"horizontal",void 0),ia([S({type:Boolean})],na.prototype,"hideScrollbar",void 0),ia([S({type:Boolean})],na.prototype,"controls",void 0),ia([S({type:Boolean})],na.prototype,"limitSize",void 0),ia([k()],na.prototype,"elements",void 0),ia([k()],na.prototype,"currentElement",void 0),ia([k()],na.prototype,"withScroll",void 0),ia([k()],na.prototype,"startReached",void 0),ia([k()],na.prototype,"endReached",void 0),ia([E(".ft-snap-scroll--content")],na.prototype,"contentSlot",void 0),W("ft-snap-scroll")(na);const aa=Ce.external(ze.colorOutline,"Design system"),sa=Ce.external(ze.colorOnSurface,"Design system"),la=Ce.external(ze.colorOnSurfaceMedium,"Design system"),ca=Ce.external(ze.colorPrimary,"Design system"),ha=Ce.external(ze.colorSurface,"Design system"),pa=Ce.external(ze.transitionDuration,"Design system"),fa=Ce.external(ze.transitionTimingFunction,"Design system"),da=[Ci,Nt`
1465
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new ra(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}na.elementDefinitions={"ft-button":En},na.styles=oa,ia([k({type:Boolean})],na.prototype,"horizontal",void 0),ia([k({type:Boolean})],na.prototype,"hideScrollbar",void 0),ia([k({type:Boolean})],na.prototype,"controls",void 0),ia([k({type:Boolean})],na.prototype,"limitSize",void 0),ia([N()],na.prototype,"elements",void 0),ia([N()],na.prototype,"currentElement",void 0),ia([N()],na.prototype,"withScroll",void 0),ia([N()],na.prototype,"startReached",void 0),ia([N()],na.prototype,"endReached",void 0),ia([R(".ft-snap-scroll--content")],na.prototype,"contentSlot",void 0),W("ft-snap-scroll")(na);const aa=Ce.external(ze.colorOutline,"Design system"),sa=Ce.external(ze.colorOnSurface,"Design system"),la=Ce.external(ze.colorOnSurfaceMedium,"Design system"),ca=Ce.external(ze.colorPrimary,"Design system"),ha=Ce.external(ze.colorSurface,"Design system"),pa=Ce.external(ze.transitionDuration,"Design system"),fa=Ce.external(ze.transitionTimingFunction,"Design system"),da=[Ci,Nt`
1466
1466
  :host {
1467
1467
  display: flex;
1468
1468
  max-height: 100%;
@@ -1574,7 +1574,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1574
1574
  slot:not([name]) {
1575
1575
  display: none;
1576
1576
  }
1577
- `];var ua=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ba extends CustomEvent{constructor(t){super("change",{detail:t})}}class ga extends Pe{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new I(300),this.changeDebouncer=new I(10),this.lastDispatchedValues=[]}get flatOptions(){return U(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return U(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return le`
1577
+ `];var ua=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ba extends CustomEvent{constructor(t){super("change",{detail:t})}}class ga extends Pe{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10),this.lastDispatchedValues=[]}get flatOptions(){return U(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return U(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return le`
1578
1578
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1579
1579
  part="container">
1580
1580
  ${this.label||t?le`
@@ -1646,9 +1646,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1646
1646
  .exportpartsPrefixes=${["values","available-values"]}
1647
1647
  noValuesLabel="${this.noValuesLabel}"
1648
1648
  ></ft-filter-level>
1649
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;z(this.lastDispatchedValues,t)||(this.dispatchEvent(new ba(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}ga.elementDefinitions={"ft-button":En,"ft-filter-level":ta,"ft-snap-scroll":na,"ft-typography":Wi},ga.styles=da,ua([S({type:String})],ga.prototype,"id",void 0),ua([S({type:String})],ga.prototype,"label",void 0),ua([S({type:String})],ga.prototype,"filterPlaceHolder",void 0),ua([S({type:String})],ga.prototype,"clearButtonLabel",void 0),ua([S({type:String})],ga.prototype,"moreValuesButtonLabel",void 0),ua([S({type:String})],ga.prototype,"noValuesLabel",void 0),ua([F([])],ga.prototype,"options",void 0),ua([S({type:Boolean})],ga.prototype,"multivalued",void 0),ua([S({type:Boolean})],ga.prototype,"disabled",void 0),ua([S({type:Boolean})],ga.prototype,"raiseSelectedOptions",void 0),ua([S({type:Number})],ga.prototype,"displayedValuesLimit",void 0),ua([S({type:Boolean})],ga.prototype,"hideClearButton",void 0),ua([E(".ft-filter--slot")],ga.prototype,"slotElement",void 0),ua([E(".ft-filter--container")],ga.prototype,"container",void 0),ua([E(".ft-filter--values")],ga.prototype,"valuesContainer",void 0),ua([E(".ft-filter--levels")],ga.prototype,"levelsContainer",void 0),ua([k()],ga.prototype,"lastLevelHasHiddenvalues",void 0),ua([E(".ft-filter--filter input")],ga.prototype,"filterInput",void 0),ua([function(t){return(e,o)=>C(0,0,{get(){return(this.renderRoot??(R??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],ga.prototype,"levels",void 0),ua([k()],ga.prototype,"withScroll",void 0),ua([k()],ga.prototype,"filter",void 0),ua([k()],ga.prototype,"slideIn",void 0),ua([k()],ga.prototype,"slideOut",void 0);var ya=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ma extends Pe{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return le`
1649
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;z(this.lastDispatchedValues,t)||(this.dispatchEvent(new ba(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}ga.elementDefinitions={"ft-button":En,"ft-filter-level":ta,"ft-snap-scroll":na,"ft-typography":Wi},ga.styles=da,ua([k({type:String})],ga.prototype,"id",void 0),ua([k({type:String})],ga.prototype,"label",void 0),ua([k({type:String})],ga.prototype,"filterPlaceHolder",void 0),ua([k({type:String})],ga.prototype,"clearButtonLabel",void 0),ua([k({type:String})],ga.prototype,"moreValuesButtonLabel",void 0),ua([k({type:String})],ga.prototype,"noValuesLabel",void 0),ua([F([])],ga.prototype,"options",void 0),ua([k({type:Boolean})],ga.prototype,"multivalued",void 0),ua([k({type:Boolean})],ga.prototype,"disabled",void 0),ua([k({type:Boolean})],ga.prototype,"raiseSelectedOptions",void 0),ua([k({type:Number})],ga.prototype,"displayedValuesLimit",void 0),ua([k({type:Boolean})],ga.prototype,"hideClearButton",void 0),ua([R(".ft-filter--slot")],ga.prototype,"slotElement",void 0),ua([R(".ft-filter--container")],ga.prototype,"container",void 0),ua([R(".ft-filter--values")],ga.prototype,"valuesContainer",void 0),ua([R(".ft-filter--levels")],ga.prototype,"levelsContainer",void 0),ua([N()],ga.prototype,"lastLevelHasHiddenvalues",void 0),ua([R(".ft-filter--filter input")],ga.prototype,"filterInput",void 0),ua([function(t){return(e,o)=>E(0,0,{get(){return(this.renderRoot??(I??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],ga.prototype,"levels",void 0),ua([N()],ga.prototype,"withScroll",void 0),ua([N()],ga.prototype,"filter",void 0),ua([N()],ga.prototype,"slideIn",void 0),ua([N()],ga.prototype,"slideOut",void 0);var ya=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ma extends Pe{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return le`
1650
1650
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1651
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ma.elementDefinitions={},ya([S({type:String})],ma.prototype,"label",void 0),ya([S({type:Object,converter:t=>t})],ma.prototype,"value",void 0),ya([S({type:Boolean,reflect:!0})],ma.prototype,"selected",void 0),ya([S({type:Object})],ma.prototype,"subOptions",void 0),ya([F({})],ma.prototype,"renderOption",void 0),ya([E(".ft-filter-option--slot")],ma.prototype,"slotElement",void 0),W("ft-filter")(ga),W("ft-filter-option")(ma);const va=Nt`
1651
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ma.elementDefinitions={},ya([k({type:String})],ma.prototype,"label",void 0),ya([k({type:Object,converter:t=>t})],ma.prototype,"value",void 0),ya([k({type:Boolean,reflect:!0})],ma.prototype,"selected",void 0),ya([k({type:Object})],ma.prototype,"subOptions",void 0),ya([F({})],ma.prototype,"renderOption",void 0),ya([R(".ft-filter-option--slot")],ma.prototype,"slotElement",void 0),W("ft-filter")(ga),W("ft-filter-option")(ma);const va=Nt`
1652
1652
  .ft-accordion {
1653
1653
  box-sizing: border-box;
1654
1654
  }
@@ -1656,7 +1656,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1656
1656
  <div class="ft-accordion">
1657
1657
  <slot @activated=${this.onChange}></slot>
1658
1658
  </div>
1659
- `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}$a.elementDefinitions={},$a.styles=va,xa([S({type:Boolean})],$a.prototype,"multi",void 0),xa([E("slot")],$a.prototype,"content",void 0);const wa=Ce.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),Oa=Ce.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),Sa=Ce.external(ze.colorOutline,"Design system"),ka=Nt`
1659
+ `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}$a.elementDefinitions={},$a.styles=va,xa([k({type:Boolean})],$a.prototype,"multi",void 0),xa([R("slot")],$a.prototype,"content",void 0);const wa=Ce.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),Oa=Ce.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),Sa=Ce.external(ze.colorOutline,"Design system"),ka=Nt`
1660
1660
  .ft-accordion-item {
1661
1661
  display: flex;
1662
1662
  flex-direction: column;
@@ -1731,7 +1731,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1731
1731
  </div>
1732
1732
  <div class="ft-accordion-item--separator" part="separator"></div>
1733
1733
  </div>
1734
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Ca.elementDefinitions={"ft-ripple":lr,"ft-typography":Wi,"ft-icon":On},Ca.styles=ka,Na([S()],Ca.prototype,"icon",void 0),Na([S()],Ca.prototype,"iconVariant",void 0),Na([S()],Ca.prototype,"label",void 0),Na([S({type:Boolean,reflect:!0})],Ca.prototype,"active",void 0),W("ft-accordion")($a),W("ft-accordion-item")(Ca);const Ea=Ce.extend("--ft-chip-color","",ze.colorOnSurface),Ra={backgroundColor:Ce.extend("--ft-chip-background-color","",ze.colorSurface),color:Ea,fontSize:Ce.extend("--ft-chip-font-size","",ai.fontSize),iconSize:Ce.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Ce.extend("--ft-chip-ripple-color","",Ea),horizontalPadding:Ce.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Ce.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Ce.external(ze.colorOutline,"Design system"),opacityDisabled:Ce.external(ze.colorOpacityDisabled,"Design system")},Ia=Ce.extend("--ft-chip-highlighted-color","",Ce.extend("--ft-chip-color","",ze.colorOnPrimary)),La={backgroundColor:Ce.extend("--ft-chip-highlighted-background-color","",Ce.extend("--ft-chip-background-color","",ze.colorPrimary)),color:Ia,rippleColor:Ce.extend("--ft-chip-highlighted-ripple-color","",Ia)},Ua=Ce.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),za=Ce.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Wa=[He,Nt`
1734
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}Ca.elementDefinitions={"ft-ripple":lr,"ft-typography":Wi,"ft-icon":On},Ca.styles=ka,Na([k()],Ca.prototype,"icon",void 0),Na([k()],Ca.prototype,"iconVariant",void 0),Na([k()],Ca.prototype,"label",void 0),Na([k({type:Boolean,reflect:!0})],Ca.prototype,"active",void 0),W("ft-accordion")($a),W("ft-accordion-item")(Ca);const Ea=Ce.extend("--ft-chip-color","",ze.colorOnSurface),Ra={backgroundColor:Ce.extend("--ft-chip-background-color","",ze.colorSurface),color:Ea,fontSize:Ce.extend("--ft-chip-font-size","",ai.fontSize),iconSize:Ce.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Ce.extend("--ft-chip-ripple-color","",Ea),horizontalPadding:Ce.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Ce.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Ce.external(ze.colorOutline,"Design system"),opacityDisabled:Ce.external(ze.colorOpacityDisabled,"Design system")},Ia=Ce.extend("--ft-chip-highlighted-color","",Ce.extend("--ft-chip-color","",ze.colorOnPrimary)),La={backgroundColor:Ce.extend("--ft-chip-highlighted-background-color","",Ce.extend("--ft-chip-background-color","",ze.colorPrimary)),color:Ia,rippleColor:Ce.extend("--ft-chip-highlighted-ripple-color","",Ia)},Ua=Ce.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),za=Ce.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Wa=[He,Nt`
1735
1735
  :host {
1736
1736
  display: inline-block;
1737
1737
  max-width: 100%;
@@ -1891,7 +1891,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1891
1891
  <div class="ft-chip--icon-container ft-no-text-select">
1892
1892
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1893
1893
  </div>
1894
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ba))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ba))}getLabel(){return this.label||this.textContent}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()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Da.elementDefinitions={"ft-ripple":lr,"ft-typography":Wi,"ft-icon":On,"ft-button":En},Da.styles=Wa,Fa([S({type:Boolean})],Da.prototype,"highlighted",void 0),Fa([S({type:Boolean})],Da.prototype,"removable",void 0),Fa([S({type:Boolean})],Da.prototype,"disabled",void 0),Fa([S({type:Boolean})],Da.prototype,"clickable",void 0),Fa([S({type:Boolean})],Da.prototype,"iconClickable",void 0),Fa([S({type:Boolean})],Da.prototype,"dense",void 0),Fa([S({type:Boolean})],Da.prototype,"multiLine",void 0),Fa([S()],Da.prototype,"label",void 0),Fa([S()],Da.prototype,"iconLabel",void 0),Fa([S()],Da.prototype,"icon",void 0),Fa([S()],Da.prototype,"iconVariant",void 0),Fa([S({type:Boolean})],Da.prototype,"trailingIcon",void 0),Fa([E("ft-typography slot")],Da.prototype,"slottedContent",void 0),W("ft-chip")(Da);const Ka={fontSize:Ce.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ce.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ce.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ce.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ce.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ce.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ce.extend("--ft-input-label-border-color","",ze.colorOutline),textColor:Ce.extend("--ft-input-label-text-color","",ze.colorOnSurfaceMedium),disabledTextColor:Ce.extend("--ft-input-label-disabled-text-color","",ze.colorOnSurfaceDisabled),colorSurface:Ce.external(ze.colorSurface,"Design system"),borderRadiusS:Ce.external(ze.borderRadiusS,"Design system"),colorError:Ce.external(ze.colorError,"Design system")},Za=Nt`
1894
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ba))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ba))}getLabel(){return this.label||this.textContent}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()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Da.elementDefinitions={"ft-ripple":lr,"ft-typography":Wi,"ft-icon":On,"ft-button":En},Da.styles=Wa,Fa([k({type:Boolean})],Da.prototype,"highlighted",void 0),Fa([k({type:Boolean})],Da.prototype,"removable",void 0),Fa([k({type:Boolean})],Da.prototype,"disabled",void 0),Fa([k({type:Boolean})],Da.prototype,"clickable",void 0),Fa([k({type:Boolean})],Da.prototype,"iconClickable",void 0),Fa([k({type:Boolean})],Da.prototype,"dense",void 0),Fa([k({type:Boolean})],Da.prototype,"multiLine",void 0),Fa([k()],Da.prototype,"label",void 0),Fa([k()],Da.prototype,"iconLabel",void 0),Fa([k()],Da.prototype,"icon",void 0),Fa([k()],Da.prototype,"iconVariant",void 0),Fa([k({type:Boolean})],Da.prototype,"trailingIcon",void 0),Fa([R("ft-typography slot")],Da.prototype,"slottedContent",void 0),W("ft-chip")(Da);const Ka={fontSize:Ce.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ce.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ce.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ce.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ce.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ce.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ce.extend("--ft-input-label-border-color","",ze.colorOutline),textColor:Ce.extend("--ft-input-label-text-color","",ze.colorOnSurfaceMedium),disabledTextColor:Ce.extend("--ft-input-label-disabled-text-color","",ze.colorOnSurfaceDisabled),colorSurface:Ce.external(ze.colorSurface,"Design system"),borderRadiusS:Ce.external(ze.borderRadiusS,"Design system"),colorError:Ce.external(ze.colorError,"Design system")},Za=Nt`
1895
1895
  .ft-input-label {
1896
1896
  position: absolute;
1897
1897
  inset: 0;
@@ -2022,7 +2022,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2022
2022
  </div>
2023
2023
  `:null}
2024
2024
  </div>
2025
- `}}Aa.elementDefinitions={},Aa.styles=[Ci,Za],Ma([S({type:String})],Aa.prototype,"text",void 0),Ma([S({type:Boolean})],Aa.prototype,"raised",void 0),Ma([S({type:Boolean})],Aa.prototype,"outlined",void 0),Ma([S({type:Boolean})],Aa.prototype,"disabled",void 0),Ma([S({type:Boolean})],Aa.prototype,"error",void 0),W("ft-input-label")(Aa);const Pa={labelSize:Ce.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:Ce.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:Ce.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ce.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:Ce.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:Ce.extend("--ft-select-selected-option-color","",ze.colorOnSurface),helperColor:Ce.extend("--ft-select-helper-color","",ze.colorOnSurfaceMedium),optionsColor:Ce.extend("--ft-select-options-color","",ze.colorOnSurface),optionsZIndex:Ce.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Ce.external(ze.colorSurface,"Design system"),colorOnSurfaceDisabled:Ce.external(ze.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ce.external(ze.colorPrimary,"Design system"),borderRadiusS:Ce.external(ze.borderRadiusS,"Design system"),elevation02:Ce.external(ze.elevation02,"Design system"),colorError:Ce.external(ze.colorError,"Design system")},ja=Nt`
2025
+ `}}Aa.elementDefinitions={},Aa.styles=[Ci,Za],Ma([k({type:String})],Aa.prototype,"text",void 0),Ma([k({type:Boolean})],Aa.prototype,"raised",void 0),Ma([k({type:Boolean})],Aa.prototype,"outlined",void 0),Ma([k({type:Boolean})],Aa.prototype,"disabled",void 0),Ma([k({type:Boolean})],Aa.prototype,"error",void 0),W("ft-input-label")(Aa);const Pa={labelSize:Ce.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:Ce.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:Ce.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ce.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:Ce.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:Ce.extend("--ft-select-selected-option-color","",ze.colorOnSurface),helperColor:Ce.extend("--ft-select-helper-color","",ze.colorOnSurfaceMedium),optionsColor:Ce.extend("--ft-select-options-color","",ze.colorOnSurface),optionsZIndex:Ce.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Ce.external(ze.colorSurface,"Design system"),colorOnSurfaceDisabled:Ce.external(ze.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ce.external(ze.colorPrimary,"Design system"),borderRadiusS:Ce.external(ze.borderRadiusS,"Design system"),elevation02:Ce.external(ze.elevation02,"Design system"),colorError:Ce.external(ze.colorError,"Design system")},ja=Nt`
2026
2026
  *:focus {
2027
2027
  outline: none;
2028
2028
  }
@@ -2171,7 +2171,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2171
2171
  .ft-select--in-error .ft-select--helper-text {
2172
2172
  color: ${Pa.colorError};
2173
2173
  }
2174
- `;var Ha=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ta extends Pe{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return le``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ta.elementDefinitions={},Ha([S({type:String})],Ta.prototype,"label",void 0),Ha([S({type:Object,converter:t=>t})],Ta.prototype,"value",void 0),Ha([S({type:Boolean,reflect:!0})],Ta.prototype,"selected",void 0);class _a extends Pe{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return le`
2174
+ `;var Ha=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ta extends Pe{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return le``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ta.elementDefinitions={},Ha([k({type:String})],Ta.prototype,"label",void 0),Ha([k({type:Object,converter:t=>t})],Ta.prototype,"value",void 0),Ha([k({type:Boolean,reflect:!0})],Ta.prototype,"selected",void 0);class _a extends Pe{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return le`
2175
2175
  <div class="${ar(l)}" part="container">
2176
2176
  <div class="ft-select--main-panel" part="main-panel">
2177
2177
  <ft-input-label text="${this.label}"
@@ -2219,7 +2219,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2219
2219
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
2220
2220
  <span>${t.label}</span>
2221
2221
  </div>
2222
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!z(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}_a.elementDefinitions={"ft-input-label":Aa,"ft-typography":Wi,"ft-ripple":lr,"ft-icon":On},_a.styles=[Ni,Ci,ja],Ha([S({type:String})],_a.prototype,"label",void 0),Ha([S({type:String})],_a.prototype,"helper",void 0),Ha([S({type:Boolean})],_a.prototype,"outlined",void 0),Ha([S({type:Boolean})],_a.prototype,"disabled",void 0),Ha([S({type:Boolean})],_a.prototype,"error",void 0),Ha([S({type:Boolean})],_a.prototype,"fixedMenuPosition",void 0),Ha([S({type:Array})],_a.prototype,"options",void 0),Ha([k()],_a.prototype,"selectedOption",void 0),Ha([k()],_a.prototype,"optionsDisplayed",void 0),Ha([k()],_a.prototype,"focusOptions",void 0),Ha([E(".ft-select")],_a.prototype,"container",void 0),Ha([E(".ft-select--options")],_a.prototype,"optionsMenu",void 0),Ha([E(".ft-select--input-panel")],_a.prototype,"mainPanel",void 0),Ha([E(".ft-select--option:first-child")],_a.prototype,"firstOption",void 0),Ha([E(".ft-select--option:focus")],_a.prototype,"focusedOption",void 0),Ha([E(".ft-select--option.ft-select--option-selected")],_a.prototype,"selectedOptionElement",void 0),Ha([E(".ft-select--option:last-child")],_a.prototype,"lastOption",void 0),Ha([E("slot")],_a.prototype,"optionsSlot",void 0),W("ft-select")(_a),W("ft-select-option")(Ta);const Va={display:Ce.create("--ft-skeleton--display","","DISPLAY","block"),width:Ce.create("--ft-skeleton--width","","SIZE","100%"),height:Ce.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Ce.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Ce.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Ce.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Ce.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Ce.external(ze.borderRadiusM,"Design system")},Ga=Nt`
2222
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!z(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}_a.elementDefinitions={"ft-input-label":Aa,"ft-typography":Wi,"ft-ripple":lr,"ft-icon":On},_a.styles=[Ni,Ci,ja],Ha([k({type:String})],_a.prototype,"label",void 0),Ha([k({type:String})],_a.prototype,"helper",void 0),Ha([k({type:Boolean})],_a.prototype,"outlined",void 0),Ha([k({type:Boolean})],_a.prototype,"disabled",void 0),Ha([k({type:Boolean})],_a.prototype,"error",void 0),Ha([k({type:Boolean})],_a.prototype,"fixedMenuPosition",void 0),Ha([k({type:Array})],_a.prototype,"options",void 0),Ha([N()],_a.prototype,"selectedOption",void 0),Ha([N()],_a.prototype,"optionsDisplayed",void 0),Ha([N()],_a.prototype,"focusOptions",void 0),Ha([R(".ft-select")],_a.prototype,"container",void 0),Ha([R(".ft-select--options")],_a.prototype,"optionsMenu",void 0),Ha([R(".ft-select--input-panel")],_a.prototype,"mainPanel",void 0),Ha([R(".ft-select--option:first-child")],_a.prototype,"firstOption",void 0),Ha([R(".ft-select--option:focus")],_a.prototype,"focusedOption",void 0),Ha([R(".ft-select--option.ft-select--option-selected")],_a.prototype,"selectedOptionElement",void 0),Ha([R(".ft-select--option:last-child")],_a.prototype,"lastOption",void 0),Ha([R("slot")],_a.prototype,"optionsSlot",void 0),W("ft-select")(_a),W("ft-select-option")(Ta);const Va={display:Ce.create("--ft-skeleton--display","","DISPLAY","block"),width:Ce.create("--ft-skeleton--width","","SIZE","100%"),height:Ce.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Ce.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Ce.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Ce.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Ce.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Ce.external(ze.borderRadiusM,"Design system")},Ga=Nt`
2223
2223
  :host {
2224
2224
  width: ${Va.width};
2225
2225
  height: ${Va.height};
@@ -2603,7 +2603,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2603
2603
  margin: 0;
2604
2604
  }
2605
2605
  `;class Xa extends Pe{render(){return le`
2606
- `}}Xa.elementDefinitions={},Xa.styles=Ga,W("ft-skeleton")(Xa);class Qa{constructor(t,e=300){this.searchBar=t,this.updateDebouncer=new I(e)}render(){const t=this.searchBar.recentSearches.filter((t=>t.toLowerCase().includes(this.searchBar.query.toLowerCase()))),e=this.searchBar.suggestions.length>0||t.length>0;return le`
2606
+ `}}Xa.elementDefinitions={},Xa.styles=Ga,W("ft-skeleton")(Xa);class Qa{constructor(t,o=300){this.searchBar=t,this.updateDebouncer=new e(o)}render(){const t=this.searchBar.recentSearches.filter((t=>t.toLowerCase().includes(this.searchBar.query.toLowerCase()))),e=this.searchBar.suggestions.length>0||t.length>0;return le`
2607
2607
  <div class="ft-search-bar--suggestions ft-word-wrap ${e?"ft-search-bar--suggestions-not-empty":""}"
2608
2608
  part="suggestions-container"
2609
2609
  @keydown=${t=>this.onSuggestKeyDown(t)}>
@@ -2911,7 +2911,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2911
2911
  </div>
2912
2912
  `}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}os.styles=Nt`
2913
2913
 
2914
- `;var is=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const rs={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class ns extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class as extends CustomEvent{constructor(t){super("change",{detail:t})}}const ss=()=>{};class ls extends Pe{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Ve(rs,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=$o.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Qa(this),this.selectedFacetsManager=new ts(this),this.desktopSearchBarManager=new os(this),this.mobileSearchBarManager=new es(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new I(10),this.updateLocalesDebouncer=new I(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new I(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===$o.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(){await async function(t,e=5){let o=await t();for(;null==o;)await L(e),o=await t();return o}((()=>this.input),50),this.input.focus()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return le`
2914
+ `;var is=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const rs={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class ns extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class as extends CustomEvent{constructor(t){super("change",{detail:t})}}const ss=()=>{};class ls extends Pe{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Ve(rs,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=$o.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Qa(this),this.selectedFacetsManager=new ts(this),this.desktopSearchBarManager=new os(this),this.mobileSearchBarManager=new es(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new e(10),this.updateLocalesDebouncer=new e(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===$o.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(){await async function(t,e=5){let o=await t();for(;null==o;)await L(e),o=await t();return o}((()=>this.input),50),this.input.focus()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return le`
2915
2915
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2916
2916
  ${this.renderSearchBar()}
2917
2917
  `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():le`
@@ -3054,4 +3054,4 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
3054
3054
  part="floating-panel"
3055
3055
  tabindex="-1">
3056
3056
  ${this.renderDesktopMenu()}
3057
- </div>`}enableFocusReactionOnAnyUserInteraction(){var t,e,o;null===(t=this.container)||void 0===t||t.addEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.addEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var t,e,o;this.reactToFocus=!0,null===(t=this.container)||void 0===t||t.removeEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.removeEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.removeEventListener("keyup",this.enableFocusReactionCallback)}}ls.elementDefinitions={"ft-accordion":$a,"ft-accordion-item":Ca,"ft-button":En,"ft-chip":Da,"ft-filter":ga,"ft-filter-option":ma,"ft-icon":On,"ft-ripple":lr,"ft-select":_a,"ft-select-option":Ta,"ft-size-watcher":ko,"ft-skeleton":Xa,"ft-snap-scroll":na,"ft-tooltip":un,"ft-typography":Wi,"ft-radio-group":Yn,"ft-radio":Vn},ls.styles=[Ni,Ya,Ja,ts.styles,Qa.styles],is([S({type:Boolean})],ls.prototype,"dense",void 0),is([S()],ls.prototype,"mode",void 0),is([S({type:Boolean})],ls.prototype,"forceMobileMenuOpen",void 0),is([S({type:Boolean})],ls.prototype,"forceMenuOpen",void 0),is([S()],ls.prototype,"baseUrl",void 0),is([S()],ls.prototype,"apiIntegrationIdentifier",void 0),is([S()],ls.prototype,"contentLocale",void 0),is([k()],ls.prototype,"availableContentLocales",void 0),is([k()],ls.prototype,"availableContentLocalesInitialized",void 0),is([S()],ls.prototype,"uiLocale",void 0),is([F({})],ls.prototype,"labels",void 0),is([F([])],ls.prototype,"displayedFilters",void 0),is([F([])],ls.prototype,"presets",void 0),is([S({type:String,reflect:!0})],ls.prototype,"selectedPreset",void 0),is([F([])],ls.prototype,"priors",void 0),is([S()],ls.prototype,"searchRequestSerializer",void 0),is([S({type:Boolean})],ls.prototype,"focusOnDisplay",void 0),is([k()],ls.prototype,"searchFilters",void 0),is([k()],ls.prototype,"sizeCategory",void 0),is([k()],ls.prototype,"displayFacets",void 0),is([k()],ls.prototype,"mobileMenuOpen",void 0),is([k()],ls.prototype,"facets",void 0),is([k()],ls.prototype,"facetsInitialized",void 0),is([E(".ft-search-bar--container")],ls.prototype,"container",void 0),is([E(".ft-search-bar--filters-opener")],ls.prototype,"filtersOpener",void 0),is([E(".ft-search-bar--floating-panel")],ls.prototype,"floatingContainer",void 0),is([E("ft-snap-scroll.ft-search-bar--filters-container")],ls.prototype,"scrollingFiltersContainer",void 0),is([E(".ft-search-bar--input")],ls.prototype,"input",void 0),is([k()],ls.prototype,"query",void 0),is([k()],ls.prototype,"suggestions",void 0),is([k()],ls.prototype,"recentSearches",void 0),is([k()],ls.prototype,"scrollToFacet",void 0),is([k()],ls.prototype,"api",void 0),is([k()],ls.prototype,"reactToFocus",void 0),is([k()],ls.prototype,"facetsLoaded",void 0),W("ft-search-bar")(ls),t.DEFAULT_LABELS=rs,t.FtSearchBar=ls,t.FtSearchBarCssVariables=qa,t.LaunchSearchEvent=ns,t.SearchStateChangeEvent=as,t.facetsCss=Ja,t.searchBarCss=Ya}({});
3057
+ </div>`}enableFocusReactionOnAnyUserInteraction(){var t,e,o;null===(t=this.container)||void 0===t||t.addEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.addEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var t,e,o;this.reactToFocus=!0,null===(t=this.container)||void 0===t||t.removeEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.removeEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.removeEventListener("keyup",this.enableFocusReactionCallback)}}ls.elementDefinitions={"ft-accordion":$a,"ft-accordion-item":Ca,"ft-button":En,"ft-chip":Da,"ft-filter":ga,"ft-filter-option":ma,"ft-icon":On,"ft-ripple":lr,"ft-select":_a,"ft-select-option":Ta,"ft-size-watcher":ko,"ft-skeleton":Xa,"ft-snap-scroll":na,"ft-tooltip":un,"ft-typography":Wi,"ft-radio-group":Yn,"ft-radio":Vn},ls.styles=[Ni,Ya,Ja,ts.styles,Qa.styles],is([k({type:Boolean})],ls.prototype,"dense",void 0),is([k()],ls.prototype,"mode",void 0),is([k({type:Boolean})],ls.prototype,"forceMobileMenuOpen",void 0),is([k({type:Boolean})],ls.prototype,"forceMenuOpen",void 0),is([k()],ls.prototype,"baseUrl",void 0),is([k()],ls.prototype,"apiIntegrationIdentifier",void 0),is([k()],ls.prototype,"contentLocale",void 0),is([N()],ls.prototype,"availableContentLocales",void 0),is([N()],ls.prototype,"availableContentLocalesInitialized",void 0),is([k()],ls.prototype,"uiLocale",void 0),is([F({})],ls.prototype,"labels",void 0),is([F([])],ls.prototype,"displayedFilters",void 0),is([F([])],ls.prototype,"presets",void 0),is([k({type:String,reflect:!0})],ls.prototype,"selectedPreset",void 0),is([F([])],ls.prototype,"priors",void 0),is([k()],ls.prototype,"searchRequestSerializer",void 0),is([k({type:Boolean})],ls.prototype,"focusOnDisplay",void 0),is([N()],ls.prototype,"searchFilters",void 0),is([N()],ls.prototype,"sizeCategory",void 0),is([N()],ls.prototype,"displayFacets",void 0),is([N()],ls.prototype,"mobileMenuOpen",void 0),is([N()],ls.prototype,"facets",void 0),is([N()],ls.prototype,"facetsInitialized",void 0),is([R(".ft-search-bar--container")],ls.prototype,"container",void 0),is([R(".ft-search-bar--filters-opener")],ls.prototype,"filtersOpener",void 0),is([R(".ft-search-bar--floating-panel")],ls.prototype,"floatingContainer",void 0),is([R("ft-snap-scroll.ft-search-bar--filters-container")],ls.prototype,"scrollingFiltersContainer",void 0),is([R(".ft-search-bar--input")],ls.prototype,"input",void 0),is([N()],ls.prototype,"query",void 0),is([N()],ls.prototype,"suggestions",void 0),is([N()],ls.prototype,"recentSearches",void 0),is([N()],ls.prototype,"scrollToFacet",void 0),is([N()],ls.prototype,"api",void 0),is([N()],ls.prototype,"reactToFocus",void 0),is([N()],ls.prototype,"facetsLoaded",void 0),W("ft-search-bar")(ls),t.DEFAULT_LABELS=rs,t.FtSearchBar=ls,t.FtSearchBarCssVariables=qa,t.LaunchSearchEvent=ns,t.SearchStateChangeEvent=as,t.facetsCss=Ja,t.searchBarCss=Ya}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-bar",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Search bar component using Fluid Topics public API",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,22 +19,22 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-accordion": "1.1.11",
23
- "@fluid-topics/ft-button": "1.1.11",
24
- "@fluid-topics/ft-chip": "1.1.11",
25
- "@fluid-topics/ft-filter": "1.1.11",
26
- "@fluid-topics/ft-icon": "1.1.11",
27
- "@fluid-topics/ft-select": "1.1.11",
28
- "@fluid-topics/ft-size-watcher": "1.1.11",
29
- "@fluid-topics/ft-skeleton": "1.1.11",
30
- "@fluid-topics/ft-snap-scroll": "1.1.11",
31
- "@fluid-topics/ft-tooltip": "1.1.11",
32
- "@fluid-topics/ft-typography": "1.1.11",
33
- "@fluid-topics/ft-wc-utils": "1.1.11",
22
+ "@fluid-topics/ft-accordion": "1.1.12",
23
+ "@fluid-topics/ft-button": "1.1.12",
24
+ "@fluid-topics/ft-chip": "1.1.12",
25
+ "@fluid-topics/ft-filter": "1.1.12",
26
+ "@fluid-topics/ft-icon": "1.1.12",
27
+ "@fluid-topics/ft-select": "1.1.12",
28
+ "@fluid-topics/ft-size-watcher": "1.1.12",
29
+ "@fluid-topics/ft-skeleton": "1.1.12",
30
+ "@fluid-topics/ft-snap-scroll": "1.1.12",
31
+ "@fluid-topics/ft-tooltip": "1.1.12",
32
+ "@fluid-topics/ft-typography": "1.1.12",
33
+ "@fluid-topics/ft-wc-utils": "1.1.12",
34
34
  "lit": "3.1.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@fluid-topics/public-api": "1.0.52"
38
38
  },
39
- "gitHead": "077ec0dd3948ed41aa130d5a4cdc3d77f0dd2e6c"
39
+ "gitHead": "81a42d69a8e10526af88b3c220eff325cbc33c3c"
40
40
  }