@fluid-topics/ft-search-input 2.2.30 → 2.2.32

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.
@@ -338,12 +338,12 @@
338
338
  .ft-icon--material {
339
339
  font-family: ${Ue.materialFontFamily}, "Material Icons", sans-serif;
340
340
  }
341
- `,Ct.noTextSelect];var ze;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ze||(ze={}));var Xi=c(x()),ar=c(H()),Bu=c(f()),Uu=c(Fu());var ge;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",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="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CIRCLE_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS="&#xe9bd;",t.PERSON_CHALKBOARD="&#xe9be;",t.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",t.BOOK_OPEN_COVER="&#xe9c0;",t.LIGHTBULB="&#xe9c1;",t.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",t.CHART_LINE_USER="&#xe9c3;",t.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(ge||(ge={}));var g;(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;"})(g||(g={}));var Bo=new Map([...["abw"].map(t=>[t,g.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,g.AUDIO]),...["avi"].map(t=>[t,g.AVI]),...["chm","xhs"].map(t=>[t,g.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,g.CODE]),...["csv"].map(t=>[t,g.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,g.DITA]),...["epub"].map(t=>[t,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,g.EXCEL]),...["flac"].map(t=>[t,g.FLAC]),...["gif"].map(t=>[t,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,g.GZIP]),...["html","htm","xhtml"].map(t=>[t,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,g.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,g.JPEG]),...["json"].map(t=>[t,g.JSON]),...["m4a","m4p"].map(t=>[t,g.M4A]),...["mov","qt"].map(t=>[t,g.MOV]),...["mp3"].map(t=>[t,g.MP3]),...["mp4","m4v"].map(t=>[t,g.MP4]),...["ogg","oga"].map(t=>[t,g.OGG]),...["pdf","ps"].map(t=>[t,g.PDF]),...["png"].map(t=>[t,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,g.POWERPOINT]),...["rar"].map(t=>[t,g.RAR]),...["stp"].map(t=>[t,g.STP]),...["txt","rtf","md","mdown"].map(t=>[t,g.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,g.VIDEO]),...["wav"].map(t=>[t,g.WAV]),...["wma"].map(t=>[t,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,g.WORD]),...["xml","xsl","rdf"].map(t=>[t,g.XML]),...["yaml","yml","x-yaml"].map(t=>[t,g.YAML]),...["zip"].map(t=>[t,g.ZIP])]),Nf=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"]]);function ys(t,e){var r,i,s,n;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[o,a]=(((r=Nf.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(n=(s=(i=Bo.get(a))!==null&&i!==void 0?i:Bo.get(e))!==null&&s!==void 0?s:Bo.get(o))!==null&&n!==void 0?n:g.UNKNOWN}var Ux={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var Zi=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},J=class extends Bu.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Xi.nothing}render(){let e=this.variant&&Object.values(ze).includes(this.variant)?this.variant:ze.fluid_topics,r=e!==ze.material||!!this.value;return Xi.html`
341
+ `,Ct.noTextSelect];var ze;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ze||(ze={}));var Xi=c(x()),ar=c(H()),Bu=c(f()),Uu=c(Fu());var ge;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",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="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CIRCLE_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS="&#xe9bd;",t.PERSON_CHALKBOARD="&#xe9be;",t.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",t.BOOK_OPEN_COVER="&#xe9c0;",t.LIGHTBULB="&#xe9c1;",t.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",t.CHART_LINE_USER="&#xe9c3;",t.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(ge||(ge={}));var g;(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;"})(g||(g={}));var Bo=new Map([...["abw"].map(t=>[t,g.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,g.AUDIO]),...["avi"].map(t=>[t,g.AVI]),...["chm","xhs"].map(t=>[t,g.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,g.CODE]),...["csv"].map(t=>[t,g.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,g.DITA]),...["epub"].map(t=>[t,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,g.EXCEL]),...["flac"].map(t=>[t,g.FLAC]),...["gif"].map(t=>[t,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,g.GZIP]),...["html","htm","xhtml"].map(t=>[t,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,g.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,g.JPEG]),...["json"].map(t=>[t,g.JSON]),...["m4a","m4p"].map(t=>[t,g.M4A]),...["mov","qt"].map(t=>[t,g.MOV]),...["mp3"].map(t=>[t,g.MP3]),...["mp4","m4v"].map(t=>[t,g.MP4]),...["ogg","oga"].map(t=>[t,g.OGG]),...["pdf","ps"].map(t=>[t,g.PDF]),...["png"].map(t=>[t,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,g.POWERPOINT]),...["rar"].map(t=>[t,g.RAR]),...["stp"].map(t=>[t,g.STP]),...["txt","rtf","md","mdown"].map(t=>[t,g.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,g.VIDEO]),...["wav"].map(t=>[t,g.WAV]),...["wma"].map(t=>[t,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,g.WORD]),...["xml","xsl","rdf"].map(t=>[t,g.XML]),...["yaml","yml","x-yaml"].map(t=>[t,g.YAML]),...["zip"].map(t=>[t,g.ZIP])]),Nf=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"]]);function ys(t,e){var r,i,s,n;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[o,a]=(((r=Nf.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(n=(s=(i=Bo.get(a))!==null&&i!==void 0?i:Bo.get(e))!==null&&s!==void 0?s:Bo.get(o))!==null&&n!==void 0?n:g.UNKNOWN}var Ux={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var Zi=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},ee=class extends Bu.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Xi.nothing}render(){let e=this.variant&&Object.values(ze).includes(this.variant)?this.variant:ze.fluid_topics,r=e!==ze.material||!!this.value;return Xi.html`
342
342
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
343
343
  ${(0,Uu.unsafeHTML)(this.resolvedIcon)}
344
344
  <slot ?hidden=${r}></slot>
345
345
  </i>
346
- `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.getTextContent();switch(this.variant){case ze.file_format:this.resolvedIcon=(e=g[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case ze.material:this.resolvedIcon=this.value||Xi.nothing;break;default:this.resolvedIcon=(r=ge[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};J.elementDefinitions={};J.styles=Mu;Zi([(0,ar.property)()],J.prototype,"variant",void 0);Zi([(0,ar.property)()],J.prototype,"value",void 0);Zi([(0,ar.property)({reflect:!0,attribute:"aria-hidden"})],J.prototype,"ariaHidden",void 0);Zi([(0,ar.state)()],J.prototype,"resolvedIcon",void 0);Zi([(0,ar.query)("slot")],J.prototype,"slottedContent",void 0);var Vu=c(f());var zu={"ft-icon":J};(0,Vu.customElements)(zu);var Hu=c(x()),Ji=c(f()),Br={color:Ji.FtCssVariableFactory.extend("--ft-loader-color","",Ji.designSystemVariables.colorPrimary),size:Ji.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ju=Hu.css`
346
+ `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.getTextContent();switch(this.variant){case ze.file_format:this.resolvedIcon=(e=g[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case ze.material:this.resolvedIcon=this.value||Xi.nothing;break;default:this.resolvedIcon=(r=ge[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ee.elementDefinitions={};ee.styles=Mu;Zi([(0,ar.property)()],ee.prototype,"variant",void 0);Zi([(0,ar.property)()],ee.prototype,"value",void 0);Zi([(0,ar.property)({reflect:!0,attribute:"aria-hidden"})],ee.prototype,"ariaHidden",void 0);Zi([(0,ar.state)()],ee.prototype,"resolvedIcon",void 0);Zi([(0,ar.query)("slot")],ee.prototype,"slottedContent",void 0);var Vu=c(f());var zu={"ft-icon":ee};(0,Vu.customElements)(zu);var Hu=c(x()),Ji=c(f()),Br={color:Ji.FtCssVariableFactory.extend("--ft-loader-color","",Ji.designSystemVariables.colorPrimary),size:Ji.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ju=Hu.css`
347
347
  :host {
348
348
  line-height: 0;
349
349
  }
@@ -561,7 +561,7 @@
561
561
  ${(0,k.setVariable)(Br.size,T.iconSize)};
562
562
  ${(0,k.setVariable)(Br.color,"var(--button-internal-color)")};
563
563
  }
564
- `;var ee=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},C=class t extends(0,Mt.toFtFormComponent)(Mt.FtLitElement){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-button--no-text":!this.hasTextContent,"ft-no-text-select":!0}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,i;let s={"ft-button--label":!0,"ft-safari-ellipsis-fix":Mt.isSafari},n=cr.html`
564
+ `;var te=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},C=class t extends(0,Mt.toFtFormComponent)(Mt.FtLitElement){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-button--no-text":!this.hasTextContent,"ft-no-text-select":!0}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,i;let s={"ft-button--label":!0,"ft-safari-ellipsis-fix":Mt.isSafari},n=cr.html`
565
565
  <ft-ripple part="ripple"
566
566
  ?disabled=${this.isDisabled()}
567
567
  ?activated=${this.activated}
@@ -602,7 +602,7 @@
602
602
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
603
603
  `:cr.html`
604
604
  <slot part="icon" name="icon"></slot>
605
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};C.elementDefinitions={"ft-ripple":D,"ft-tooltip":de,"ft-icon":J,"ft-loader":Ur,"ft-typography":W};C.styles=[Mt.safariEllipsisFix,Xu,Mt.noTextSelect];C.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r instanceof ShadowRoot&&r.host?r.host.hasTextContent=e.boundingClientRect.width>0:C.labelsObserver.unobserve(e.target)}});ee([(0,G.property)({type:Boolean})],C.prototype,"primary",void 0);ee([(0,G.property)({type:Boolean})],C.prototype,"outlined",void 0);ee([(0,G.property)({type:Boolean})],C.prototype,"dense",void 0);ee([(0,G.property)({type:Boolean})],C.prototype,"round",void 0);ee([(0,G.property)({type:Boolean})],C.prototype,"disabled",void 0);ee([(0,G.property)()],C.prototype,"icon",void 0);ee([(0,G.property)()],C.prototype,"iconVariant",void 0);ee([(0,G.property)({type:Boolean})],C.prototype,"trailingIcon",void 0);ee([(0,G.property)()],C.prototype,"label",void 0);ee([(0,G.property)()],C.prototype,"type",void 0);ee([(0,G.property)()],C.prototype,"href",void 0);ee([(0,G.property)()],C.prototype,"target",void 0);ee([(0,G.property)({type:Boolean})],C.prototype,"loading",void 0);ee([(0,G.property)({attribute:"aria-label"})],C.prototype,"ariaLabel",void 0);ee([(0,G.property)()],C.prototype,"ariaHasPopup",void 0);ee([(0,G.property)({attribute:"aria-pressed"})],C.prototype,"ariaPressed",void 0);ee([(0,G.property)()],C.prototype,"tooltipPosition",void 0);ee([(0,G.property)({type:Boolean})],C.prototype,"hideTooltip",void 0);ee([(0,G.property)({type:Boolean})],C.prototype,"forceTooltip",void 0);ee([(0,G.property)({type:Boolean})],C.prototype,"activated",void 0);ee([(0,G.query)(".ft-button")],C.prototype,"button",void 0);ee([(0,G.query)(".ft-button--label")],C.prototype,"labelContainer",void 0);ee([(0,G.state)()],C.prototype,"hasTextContent",void 0);ee([(0,G.query)(".ft-button--label slot")],C.prototype,"slottedContent",void 0);ee([(0,G.query)("[part=tooltip]")],C.prototype,"tooltip",void 0);var Ju=c(f());var Zu={"ft-button":C};(0,Ju.customElements)(Zu);var xe={height:Q.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:Q.FtCssVariableFactory.extend("--ft-search-input-border-radius","",Q.designSystemVariables.borderRadiusS),desktopFiltersHeight:Q.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:Q.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:Q.FtCssVariableFactory.extend("--ft-search-input-background-color","",Q.designSystemVariables.colorSurface),colorOnSurface:Q.FtCssVariableFactory.extend("--ft-search-input-color","",Q.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:Q.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",Q.designSystemVariables.colorOnSurfaceMedium),colorOutline:Q.FtCssVariableFactory.extend("--ft-search-input-outline-color","",Q.designSystemVariables.colorOutline),elevation02:Q.FtCssVariableFactory.extend("--ft-search-input-elevation","",Q.designSystemVariables.elevation02),focusOutlineColor:Q.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",Q.designSystemVariables.colorPrimary),buttonColor:Q.FtCssVariableFactory.extend("--ft-search-input-button-color","",Q.designSystemVariables.colorPrimary),buttonRippleColor:Q.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",Q.designSystemVariables.colorPrimary)},td=ed.css`
605
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};C.elementDefinitions={"ft-ripple":D,"ft-tooltip":de,"ft-icon":ee,"ft-loader":Ur,"ft-typography":W};C.styles=[Mt.safariEllipsisFix,Xu,Mt.noTextSelect];C.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r instanceof ShadowRoot&&r.host?r.host.hasTextContent=e.boundingClientRect.width>0:C.labelsObserver.unobserve(e.target)}});te([(0,G.property)({type:Boolean})],C.prototype,"primary",void 0);te([(0,G.property)({type:Boolean})],C.prototype,"outlined",void 0);te([(0,G.property)({type:Boolean})],C.prototype,"dense",void 0);te([(0,G.property)({type:Boolean})],C.prototype,"round",void 0);te([(0,G.property)({type:Boolean})],C.prototype,"disabled",void 0);te([(0,G.property)()],C.prototype,"icon",void 0);te([(0,G.property)()],C.prototype,"iconVariant",void 0);te([(0,G.property)({type:Boolean})],C.prototype,"trailingIcon",void 0);te([(0,G.property)()],C.prototype,"label",void 0);te([(0,G.property)()],C.prototype,"type",void 0);te([(0,G.property)()],C.prototype,"href",void 0);te([(0,G.property)()],C.prototype,"target",void 0);te([(0,G.property)({type:Boolean})],C.prototype,"loading",void 0);te([(0,G.property)({attribute:"aria-label"})],C.prototype,"ariaLabel",void 0);te([(0,G.property)()],C.prototype,"ariaHasPopup",void 0);te([(0,G.property)({attribute:"aria-pressed"})],C.prototype,"ariaPressed",void 0);te([(0,G.property)()],C.prototype,"tooltipPosition",void 0);te([(0,G.property)({type:Boolean})],C.prototype,"hideTooltip",void 0);te([(0,G.property)({type:Boolean})],C.prototype,"forceTooltip",void 0);te([(0,G.property)({type:Boolean})],C.prototype,"activated",void 0);te([(0,G.query)(".ft-button")],C.prototype,"button",void 0);te([(0,G.query)(".ft-button--label")],C.prototype,"labelContainer",void 0);te([(0,G.state)()],C.prototype,"hasTextContent",void 0);te([(0,G.query)(".ft-button--label slot")],C.prototype,"slottedContent",void 0);te([(0,G.query)("[part=tooltip]")],C.prototype,"tooltip",void 0);var Ju=c(f());var Zu={"ft-button":C};(0,Ju.customElements)(Zu);var xe={height:Q.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:Q.FtCssVariableFactory.extend("--ft-search-input-border-radius","",Q.designSystemVariables.borderRadiusS),desktopFiltersHeight:Q.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:Q.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:Q.FtCssVariableFactory.extend("--ft-search-input-background-color","",Q.designSystemVariables.colorSurface),colorOnSurface:Q.FtCssVariableFactory.extend("--ft-search-input-color","",Q.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:Q.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",Q.designSystemVariables.colorOnSurfaceMedium),colorOutline:Q.FtCssVariableFactory.extend("--ft-search-input-outline-color","",Q.designSystemVariables.colorOutline),elevation02:Q.FtCssVariableFactory.extend("--ft-search-input-elevation","",Q.designSystemVariables.elevation02),focusOutlineColor:Q.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",Q.designSystemVariables.colorPrimary),buttonColor:Q.FtCssVariableFactory.extend("--ft-search-input-button-color","",Q.designSystemVariables.colorPrimary),buttonRippleColor:Q.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",Q.designSystemVariables.colorPrimary)},td=ed.css`
606
606
  * {
607
607
  box-sizing: border-box;
608
608
  ${(0,Q.setVariable)(T.color,xe.buttonColor)};
@@ -676,7 +676,7 @@
676
676
  height: 20px;
677
677
  border-right: 1px solid ${xe.colorOutline};
678
678
  }
679
- `;var mi=c(f()),en=c(H());var zo;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(zo||(zo={}));var ur=c(f());var Ff=c(f());var xs=class t extends Event{constructor(){super(t.eventName)}};xs.eventName="search-context-clear-all-filters";var Vo=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},jo=class extends CustomEvent{constructor(e){super("register-ft-search-component",{bubbles:!0,composed:!0,detail:{registrationId:e}})}},rd=Symbol("registerInterval"),Ho=Symbol("registerAttempts"),Bf=40,Uf=(0,mi.applyMixinOnce)(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(i){var s,n,o;super.willUpdate(i),i.has("neededSearchRequests")&&((s=this.stateManager)===null||s===void 0||s.unregisterComponent(this,(o=i.get("neededSearchRequests"))!==null&&o!==void 0?o:[]),(n=this.stateManager)===null||n===void 0||n.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ho]=0,this.tryToRegisterToContext(),this[rd]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Ho]>Bf?window.clearInterval(this[rd]):(this[Ho]++,this.dispatchEvent(new jo(this.searchRegistrationId)))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Vo([(0,en.state)()],e.prototype,"stateManager",void 0),Vo([(0,en.state)({hasChanged:mi.hasChanged})],e.prototype,"neededSearchRequests",void 0),Vo([(0,en.property)()],e.prototype,"searchRegistrationId",void 0),e}),Ss=class extends Uf(mi.FtLitElementRedux){};var Qt=fs.build("designedSearchInput");var lt=c(H()),jp=c(Je());var Hp=c(f()),Qr=c(x());var Up=c(x());var zp=c(f());var j=c(x()),F=c(H()),un=c(dr()),ne=c(f());var od=c(x()),zr=c(H()),Es=c(f());var gt;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(gt||(gt={}));var nd=c(x());var sd=nd.css`
679
+ `;var mi=c(f()),en=c(H());var zo;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(zo||(zo={}));var ur=c(f());var Ff=c(f());var xs=class t extends Event{constructor(){super(t.eventName)}};xs.eventName="search-context-clear-all-filters";var Vo=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},jo=class extends CustomEvent{constructor(e){super("register-ft-search-component",{bubbles:!0,composed:!0,detail:{registrationId:e}})}},rd=Symbol("registerInterval"),Ho=Symbol("registerAttempts"),Bf=40,Uf=(0,mi.applyMixinOnce)(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(i){var s,n,o;super.willUpdate(i),i.has("neededSearchRequests")&&((s=this.stateManager)===null||s===void 0||s.unregisterComponent(this,(o=i.get("neededSearchRequests"))!==null&&o!==void 0?o:[]),(n=this.stateManager)===null||n===void 0||n.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ho]=0,this.tryToRegisterToContext(),this[rd]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Ho]>Bf?window.clearInterval(this[rd]):(this[Ho]++,this.dispatchEvent(new jo(this.searchRegistrationId)))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Vo([(0,en.state)()],e.prototype,"stateManager",void 0),Vo([(0,en.state)({hasChanged:mi.hasChanged})],e.prototype,"neededSearchRequests",void 0),Vo([(0,en.property)()],e.prototype,"searchRegistrationId",void 0),e}),Ss=class extends Uf(mi.FtLitElementRedux){};var Qt=fs.build("designedSearchInput");var lt=c(H()),jp=c(Je());var Hp=c(f()),Qr=c(x());var Up=c(x());var zp=c(f());var j=c(x()),F=c(H()),un=c(dr()),X=c(f());var od=c(x()),zr=c(H()),Es=c(f());var gt;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(gt||(gt={}));var nd=c(x());var sd=nd.css`
680
680
  .ft-size-watcher--pixel {
681
681
  width: 0;
682
682
  height: 0;
@@ -770,7 +770,7 @@
770
770
  margin: 10px 0;
771
771
  color: ${rn.colorOnSurfaceMedium};
772
772
  }
773
- `;var Hr=c(x()),X=c(H()),pe=c(f());var st=c(x()),Se=c(H()),Dd=c(dr()),Ye=c(f());var Cs=c(x()),Ot=c(H()),bd=c(f()),vd=c(Je());var Ae=c(f()),gd=c(x());var it={textColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Ae.designSystemVariables.colorOnSurfaceHigh),fontSize:Ae.FtCssVariableFactory.extend("--ft-checkbox-font-size","",y.fontSize),activeColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-active-color","",Ae.designSystemVariables.colorPrimary),checkColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-check-color","",Ae.designSystemVariables.colorOnPrimary),borderColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Ae.designSystemVariables.colorOnSurfaceMedium),disabledColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",Ae.designSystemVariables.colorOnSurfaceDisabled),errorColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-error-color","",Ae.designSystemVariables.colorError)},yd=gd.css`
773
+ `;var Hr=c(x()),Z=c(H()),pe=c(f());var st=c(x()),Se=c(H()),Dd=c(dr()),Ye=c(f());var Cs=c(x()),Ot=c(H()),bd=c(f()),vd=c(Je());var Ae=c(f()),gd=c(x());var it={textColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Ae.designSystemVariables.colorOnSurfaceHigh),fontSize:Ae.FtCssVariableFactory.extend("--ft-checkbox-font-size","",y.fontSize),activeColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-active-color","",Ae.designSystemVariables.colorPrimary),checkColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-check-color","",Ae.designSystemVariables.colorOnPrimary),borderColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Ae.designSystemVariables.colorOnSurfaceMedium),disabledColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",Ae.designSystemVariables.colorOnSurfaceDisabled),errorColor:Ae.FtCssVariableFactory.extend("--ft-checkbox-error-color","",Ae.designSystemVariables.colorError)},yd=gd.css`
774
774
  * {
775
775
  box-sizing: border-box;
776
776
  }
@@ -1102,7 +1102,7 @@
1102
1102
  @change=${r=>this.optionsChanged(r,e)}>
1103
1103
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1104
1104
  </ft-radio>
1105
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};ae.elementDefinitions={"ft-button":C,"ft-ripple":D,"ft-typography":W,"ft-checkbox":Re,"ft-icon":J,"ft-radio":Ce};ae.styles=md;Te([(0,Se.property)({type:String})],ae.prototype,"filterId",void 0);Te([(0,Se.property)({type:Object})],ae.prototype,"parent",void 0);Te([(0,Se.property)({type:Array,hasChanged:Ye.hasChanged})],ae.prototype,"options",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"disabled",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"hideSelectedOptions",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"preventNavigation",void 0);Te([(0,Se.property)({type:String})],ae.prototype,"filter",void 0);Te([(0,Se.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Te([(0,Se.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Te([(0,Se.property)()],ae.prototype,"filteredOptionsNumberAriaNotification",void 0);Te([(0,Ye.numberProperty)()],ae.prototype,"displayedValuesLimit",void 0);Te([(0,Se.query)(".ft-filter-level--container")],ae.prototype,"container",void 0);Te([(0,Se.state)()],ae.prototype,"radios",void 0);Te([(0,Se.state)()],ae.prototype,"displayedPages",void 0);Te([(0,Se.state)()],ae.prototype,"filteredOptions",void 0);var Md=c(x()),ot=c(H()),Vr=c(f());var Nd=c(Je());var Id=c(x()),_t=c(f());var Ve={buttonsColor:_t.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",_t.designSystemVariables.colorPrimary),buttonsZIndex:_t.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:_t.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:_t.FtCssVariableFactory.external(_t.designSystemVariables.colorSurface,"Design system")},Pd=Id.css`
1105
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};ae.elementDefinitions={"ft-button":C,"ft-ripple":D,"ft-typography":W,"ft-checkbox":Re,"ft-icon":ee,"ft-radio":Ce};ae.styles=md;Te([(0,Se.property)({type:String})],ae.prototype,"filterId",void 0);Te([(0,Se.property)({type:Object})],ae.prototype,"parent",void 0);Te([(0,Se.property)({type:Array,hasChanged:Ye.hasChanged})],ae.prototype,"options",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"disabled",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"hideSelectedOptions",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Te([(0,Se.property)({type:Boolean})],ae.prototype,"preventNavigation",void 0);Te([(0,Se.property)({type:String})],ae.prototype,"filter",void 0);Te([(0,Se.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Te([(0,Se.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Te([(0,Se.property)()],ae.prototype,"filteredOptionsNumberAriaNotification",void 0);Te([(0,Ye.numberProperty)()],ae.prototype,"displayedValuesLimit",void 0);Te([(0,Se.query)(".ft-filter-level--container")],ae.prototype,"container",void 0);Te([(0,Se.state)()],ae.prototype,"radios",void 0);Te([(0,Se.state)()],ae.prototype,"displayedPages",void 0);Te([(0,Se.state)()],ae.prototype,"filteredOptions",void 0);var Md=c(x()),ot=c(H()),Vr=c(f());var Nd=c(Je());var Id=c(x()),_t=c(f());var Ve={buttonsColor:_t.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",_t.designSystemVariables.colorPrimary),buttonsZIndex:_t.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:_t.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:_t.FtCssVariableFactory.external(_t.designSystemVariables.colorSurface,"Design system")},Pd=Id.css`
1106
1106
  .ft-snap-scroll {
1107
1107
  box-sizing: border-box;
1108
1108
  position: relative;
@@ -1251,7 +1251,7 @@
1251
1251
  @click=${this.next}
1252
1252
  ></ft-button>
1253
1253
  </div>
1254
- `}update(e){super.update(e),e.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")),e.has("currentElement")&&this.dispatchEvent(new Yo(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,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 e=this.elements[0];return e?e[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(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};ye.elementDefinitions={"ft-button":C};ye.styles=Pd;Ft([(0,ot.property)({type:Boolean})],ye.prototype,"horizontal",void 0);Ft([(0,ot.property)({type:Boolean})],ye.prototype,"hideScrollbar",void 0);Ft([(0,ot.property)({type:Boolean})],ye.prototype,"controls",void 0);Ft([(0,ot.property)({type:Boolean})],ye.prototype,"limitSize",void 0);Ft([(0,ot.state)()],ye.prototype,"elements",void 0);Ft([(0,ot.state)()],ye.prototype,"currentElement",void 0);Ft([(0,ot.state)()],ye.prototype,"withScroll",void 0);Ft([(0,ot.state)()],ye.prototype,"startReached",void 0);Ft([(0,ot.state)()],ye.prototype,"endReached",void 0);Ft([(0,ot.query)(".ft-snap-scroll--content")],ye.prototype,"contentSlot",void 0);var Bd=c(f());var Fd={"ft-snap-scroll":ye};(0,Bd.customElements)(Fd);var Ud=c(x()),te=c(f());var Xe={colorOutline:te.FtCssVariableFactory.external(te.designSystemVariables.colorOutline,"Design system"),colorOnSurface:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:te.FtCssVariableFactory.external(te.designSystemVariables.colorPrimary,"Design system"),colorSurface:te.FtCssVariableFactory.external(te.designSystemVariables.colorSurface,"Design system"),transitionDuration:te.FtCssVariableFactory.external(te.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:te.FtCssVariableFactory.external(te.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:te.FtCssVariableFactory.extend("--ft-filter-label-color","",te.designSystemVariables.colorOnSurface),labelFontSize:te.FtCssVariableFactory.extend("--ft-filter-label-font-size","",y.fontSize,"16px")},zd=[Jt,te.noTextInputDefaultClearButton,Ud.css`
1254
+ `}update(e){super.update(e),e.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")),e.has("currentElement")&&this.dispatchEvent(new Yo(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,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 e=this.elements[0];return e?e[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(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};ye.elementDefinitions={"ft-button":C};ye.styles=Pd;Ft([(0,ot.property)({type:Boolean})],ye.prototype,"horizontal",void 0);Ft([(0,ot.property)({type:Boolean})],ye.prototype,"hideScrollbar",void 0);Ft([(0,ot.property)({type:Boolean})],ye.prototype,"controls",void 0);Ft([(0,ot.property)({type:Boolean})],ye.prototype,"limitSize",void 0);Ft([(0,ot.state)()],ye.prototype,"elements",void 0);Ft([(0,ot.state)()],ye.prototype,"currentElement",void 0);Ft([(0,ot.state)()],ye.prototype,"withScroll",void 0);Ft([(0,ot.state)()],ye.prototype,"startReached",void 0);Ft([(0,ot.state)()],ye.prototype,"endReached",void 0);Ft([(0,ot.query)(".ft-snap-scroll--content")],ye.prototype,"contentSlot",void 0);var Bd=c(f());var Fd={"ft-snap-scroll":ye};(0,Bd.customElements)(Fd);var Ud=c(x()),re=c(f());var Xe={colorOutline:re.FtCssVariableFactory.external(re.designSystemVariables.colorOutline,"Design system"),colorOnSurface:re.FtCssVariableFactory.external(re.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:re.FtCssVariableFactory.external(re.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:re.FtCssVariableFactory.external(re.designSystemVariables.colorPrimary,"Design system"),colorSurface:re.FtCssVariableFactory.external(re.designSystemVariables.colorSurface,"Design system"),transitionDuration:re.FtCssVariableFactory.external(re.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:re.FtCssVariableFactory.external(re.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:re.FtCssVariableFactory.extend("--ft-filter-label-color","",re.designSystemVariables.colorOnSurface),labelFontSize:re.FtCssVariableFactory.extend("--ft-filter-label-font-size","",y.fontSize,"16px")},zd=[Jt,re.noTextInputDefaultClearButton,Ud.css`
1255
1255
  :host {
1256
1256
  display: flex;
1257
1257
  max-height: 100%;
@@ -1279,7 +1279,7 @@
1279
1279
  .ft-filter--header ft-button {
1280
1280
  flex-shrink: 0;
1281
1281
  margin-left: auto;
1282
- ${(0,te.setVariable)(T.iconSize,"18px")};
1282
+ ${(0,re.setVariable)(T.iconSize,"18px")};
1283
1283
  }
1284
1284
 
1285
1285
  .filter-label {
@@ -1293,8 +1293,8 @@
1293
1293
  word-break: break-word;
1294
1294
  color: ${Xe.labelColor};
1295
1295
  font-size: ${Xe.labelFontSize};
1296
- ${(0,te.setVariable)(y.lineHeight,"22px")};
1297
- ${(0,te.setVariable)(y.fontWeight,"bold")};
1296
+ ${(0,re.setVariable)(y.lineHeight,"22px")};
1297
+ ${(0,re.setVariable)(y.fontWeight,"bold")};
1298
1298
  }
1299
1299
 
1300
1300
  .ft-filter--filter {
@@ -1368,7 +1368,7 @@
1368
1368
  slot:not([name]) {
1369
1369
  display: none;
1370
1370
  }
1371
- `];var re=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},Xo=class extends CustomEvent{constructor(e){super("change",{detail:e})}},U=class extends(0,pe.withAnalytics)(pe.FtLitElement,Qo){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.displayCount=!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 pe.Debouncer(300),this.changeDebouncer=new pe.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,pe.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,pe.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(s=>s.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Hr.html`
1371
+ `];var ie=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},Xo=class extends CustomEvent{constructor(e){super("change",{detail:e})}},U=class extends(0,pe.withAnalytics)(pe.FtLitElement,Qo){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.displayCount=!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 pe.Debouncer(300),this.changeDebouncer=new pe.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,pe.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,pe.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(s=>s.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Hr.html`
1372
1372
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1373
1373
  part="container">
1374
1374
  ${!this.label&&!e?null:Hr.html`
@@ -1452,7 +1452,7 @@
1452
1452
  noValuesLabel="${this.noValuesLabel}"
1453
1453
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
1454
1454
  ></ft-filter-level>
1455
- `}goBack(e){this.slideOut=e.detail.value,(0,pe.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,(0,pe.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){(0,pe.waitUntil)(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(n=>n.value===e.detail.value);i.selected=!i.selected;let s=n=>{var o;n!==i&&(n.selected=!1),(o=n.subOptions)===null||o===void 0||o.forEach(s)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(s):this.options.forEach(s),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,pe.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Xo(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};U.elementDefinitions={"ft-button":C,"ft-filter-level":ae,"ft-snap-scroll":ye,"ft-typography":W};U.styles=zd;re([(0,X.property)({type:String})],U.prototype,"id",void 0);re([(0,X.property)({type:String})],U.prototype,"label",void 0);re([(0,X.property)({type:String})],U.prototype,"filterPlaceHolder",void 0);re([(0,X.property)({type:String})],U.prototype,"clearButtonLabel",void 0);re([(0,X.property)({type:String})],U.prototype,"moreValuesButtonLabel",void 0);re([(0,X.property)({type:String})],U.prototype,"noValuesLabel",void 0);re([(0,pe.jsonProperty)([])],U.prototype,"options",void 0);re([(0,X.property)({type:Boolean})],U.prototype,"multivalued",void 0);re([(0,X.property)({type:Boolean})],U.prototype,"disabled",void 0);re([(0,X.property)({type:Boolean})],U.prototype,"raiseSelectedOptions",void 0);re([(0,X.property)({type:Boolean})],U.prototype,"displayCount",void 0);re([(0,pe.numberProperty)()],U.prototype,"displayedValuesLimit",void 0);re([(0,pe.jsonProperty)(void 0)],U.prototype,"filteredOptionsNumberAriaNotification",void 0);re([(0,X.property)({type:Boolean})],U.prototype,"hideClearButton",void 0);re([(0,X.query)(".ft-filter--slot")],U.prototype,"slotElement",void 0);re([(0,X.query)(".ft-filter--container")],U.prototype,"container",void 0);re([(0,X.query)(".ft-filter--values")],U.prototype,"valuesContainer",void 0);re([(0,X.query)(".ft-filter--levels")],U.prototype,"levelsContainer",void 0);re([(0,X.state)()],U.prototype,"lastLevelHasHiddenvalues",void 0);re([(0,X.query)(".ft-filter--filter input")],U.prototype,"filterInput",void 0);re([(0,X.queryAll)(".ft-filter--levels ft-filter-level")],U.prototype,"levels",void 0);re([(0,X.state)()],U.prototype,"withScroll",void 0);re([(0,X.state)()],U.prototype,"filter",void 0);re([(0,X.state)()],U.prototype,"slideIn",void 0);re([(0,X.state)()],U.prototype,"slideOut",void 0);var Os=c(f()),jr=c(H()),Vd=c(x()),gi=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},at=class extends Os.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Vd.html`
1455
+ `}goBack(e){this.slideOut=e.detail.value,(0,pe.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,(0,pe.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){(0,pe.waitUntil)(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(n=>n.value===e.detail.value);i.selected=!i.selected;let s=n=>{var o;n!==i&&(n.selected=!1),(o=n.subOptions)===null||o===void 0||o.forEach(s)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(s):this.options.forEach(s),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,pe.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Xo(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};U.elementDefinitions={"ft-button":C,"ft-filter-level":ae,"ft-snap-scroll":ye,"ft-typography":W};U.styles=zd;ie([(0,Z.property)({type:String})],U.prototype,"id",void 0);ie([(0,Z.property)({type:String})],U.prototype,"label",void 0);ie([(0,Z.property)({type:String})],U.prototype,"filterPlaceHolder",void 0);ie([(0,Z.property)({type:String})],U.prototype,"clearButtonLabel",void 0);ie([(0,Z.property)({type:String})],U.prototype,"moreValuesButtonLabel",void 0);ie([(0,Z.property)({type:String})],U.prototype,"noValuesLabel",void 0);ie([(0,pe.jsonProperty)([])],U.prototype,"options",void 0);ie([(0,Z.property)({type:Boolean})],U.prototype,"multivalued",void 0);ie([(0,Z.property)({type:Boolean})],U.prototype,"disabled",void 0);ie([(0,Z.property)({type:Boolean})],U.prototype,"raiseSelectedOptions",void 0);ie([(0,Z.property)({type:Boolean})],U.prototype,"displayCount",void 0);ie([(0,pe.numberProperty)()],U.prototype,"displayedValuesLimit",void 0);ie([(0,pe.jsonProperty)(void 0)],U.prototype,"filteredOptionsNumberAriaNotification",void 0);ie([(0,Z.property)({type:Boolean})],U.prototype,"hideClearButton",void 0);ie([(0,Z.query)(".ft-filter--slot")],U.prototype,"slotElement",void 0);ie([(0,Z.query)(".ft-filter--container")],U.prototype,"container",void 0);ie([(0,Z.query)(".ft-filter--values")],U.prototype,"valuesContainer",void 0);ie([(0,Z.query)(".ft-filter--levels")],U.prototype,"levelsContainer",void 0);ie([(0,Z.state)()],U.prototype,"lastLevelHasHiddenvalues",void 0);ie([(0,Z.query)(".ft-filter--filter input")],U.prototype,"filterInput",void 0);ie([(0,Z.queryAll)(".ft-filter--levels ft-filter-level")],U.prototype,"levels",void 0);ie([(0,Z.state)()],U.prototype,"withScroll",void 0);ie([(0,Z.state)()],U.prototype,"filter",void 0);ie([(0,Z.state)()],U.prototype,"slideIn",void 0);ie([(0,Z.state)()],U.prototype,"slideOut",void 0);var Os=c(f()),jr=c(H()),Vd=c(x()),gi=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},at=class extends Os.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Vd.html`
1456
1456
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1457
1457
  `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};at.elementDefinitions={};gi([(0,jr.property)({type:String})],at.prototype,"label",void 0);gi([(0,jr.property)({type:Object,converter:t=>t})],at.prototype,"value",void 0);gi([(0,jr.property)({type:Boolean,reflect:!0})],at.prototype,"selected",void 0);gi([(0,jr.property)({type:Object})],at.prototype,"subOptions",void 0);gi([(0,Os.jsonProperty)({})],at.prototype,"renderOption",void 0);gi([(0,jr.query)(".ft-filter-option--slot")],at.prototype,"slotElement",void 0);var jd=c(f());var Hd={"ft-filter":U,"ft-filter-option":at};(0,jd.customElements)(Hd);var Gd=c(x()),_s=c(H()),Qd=c(f());var qd=c(x());var Wd=qd.css`
1458
1458
  .ft-accordion {
@@ -1538,7 +1538,7 @@
1538
1538
  </div>
1539
1539
  <div class="ft-accordion-item--separator" part="separator"></div>
1540
1540
  </div>
1541
- `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};yt.elementDefinitions={"ft-ripple":D,"ft-typography":W,"ft-icon":J};yt.styles=Xd;Rs([(0,on.property)()],yt.prototype,"icon",void 0);Rs([(0,on.property)()],yt.prototype,"iconVariant",void 0);Rs([(0,on.property)()],yt.prototype,"label",void 0);Rs([(0,on.property)({type:Boolean,reflect:!0})],yt.prototype,"active",void 0);var ep=c(f());var Jd={"ft-accordion":Bt,"ft-accordion-item":yt};(0,ep.customElements)(Jd);var Kr=c(x()),we=c(H()),sp=c(Je()),yi=c(f());var an=c(x()),M=c(f());var tp=M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnSurface),ke={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorSurface),color:tp,fontSize:M.FtCssVariableFactory.extend("--ft-chip-font-size","",me.fontSize),fontWeight:M.FtCssVariableFactory.extend("--ft-chip-font-weight","",me.fontWeight),iconSize:M.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:M.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:M.FtCssVariableFactory.extend("--ft-chip-ripple-color","",tp),horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:M.FtCssVariableFactory.extend("--ft-chip-border-color","",M.designSystemVariables.colorOutline),opacityDisabled:M.FtCssVariableFactory.external(M.designSystemVariables.colorOpacityDisabled,"Design system")},rp=M.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnPrimary)),Zo={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorPrimary)),color:rp,rippleColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",rp)},ip={horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},np=[M.noTextSelect,an.css`
1541
+ `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};yt.elementDefinitions={"ft-ripple":D,"ft-typography":W,"ft-icon":ee};yt.styles=Xd;Rs([(0,on.property)()],yt.prototype,"icon",void 0);Rs([(0,on.property)()],yt.prototype,"iconVariant",void 0);Rs([(0,on.property)()],yt.prototype,"label",void 0);Rs([(0,on.property)({type:Boolean,reflect:!0})],yt.prototype,"active",void 0);var ep=c(f());var Jd={"ft-accordion":Bt,"ft-accordion-item":yt};(0,ep.customElements)(Jd);var Kr=c(x()),we=c(H()),sp=c(Je()),yi=c(f());var an=c(x()),M=c(f());var tp=M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnSurface),ke={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorSurface),color:tp,fontSize:M.FtCssVariableFactory.extend("--ft-chip-font-size","",me.fontSize),fontWeight:M.FtCssVariableFactory.extend("--ft-chip-font-weight","",me.fontWeight),iconSize:M.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:M.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:M.FtCssVariableFactory.extend("--ft-chip-ripple-color","",tp),horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:M.FtCssVariableFactory.extend("--ft-chip-border-color","",M.designSystemVariables.colorOutline),opacityDisabled:M.FtCssVariableFactory.external(M.designSystemVariables.colorOpacityDisabled,"Design system")},rp=M.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnPrimary)),Zo={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorPrimary)),color:rp,rippleColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",rp)},ip={horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},np=[M.noTextSelect,an.css`
1542
1542
  :host {
1543
1543
  display: inline-block;
1544
1544
  max-width: 100%;
@@ -1706,7 +1706,7 @@
1706
1706
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1707
1707
  <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
1708
1708
  </div>
1709
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Ts))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Ts))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,yi.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};oe.elementDefinitions={"ft-ripple":D,"ft-typography":W,"ft-icon":J,"ft-button":C};oe.styles=np;Me([(0,we.property)({type:Boolean})],oe.prototype,"highlighted",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"removable",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"disabled",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"clickable",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"iconClickable",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"dense",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"multiLine",void 0);Me([(0,we.property)()],oe.prototype,"label",void 0);Me([(0,we.property)()],oe.prototype,"iconLabel",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"hideIconTooltip",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"accessibleLabelOnIcon",void 0);Me([(0,we.property)()],oe.prototype,"icon",void 0);Me([(0,we.property)()],oe.prototype,"iconVariant",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"trailingIcon",void 0);Me([(0,we.property)()],oe.prototype,"typographyVariant",void 0);Me([(0,we.query)("ft-typography slot")],oe.prototype,"slottedContent",void 0);var ap=c(f());var op={"ft-chip":oe};(0,ap.customElements)(op);var vi=c(x()),be=c(H()),xp=c(Je()),Sp=c(dr());function ln(t,e,r){return t?e(t):r?.(t)}var bt=c(f());var ks=c(H());var lp=c(x()),ie=c(f());var B={fontSize:ie.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ie.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ie.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ie.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ie.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ie.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ie.FtCssVariableFactory.extend("--ft-input-label-border-color","",ie.designSystemVariables.colorOutline),textColor:ie.FtCssVariableFactory.extend("--ft-input-label-text-color","",ie.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:ie.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",ie.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:ie.FtCssVariableFactory.extend("--ft-input-label-background-color","",ie.designSystemVariables.colorSurface),borderRadius:ie.FtCssVariableFactory.extend("--ft-input-label-border-radius","",ie.designSystemVariables.borderRadiusS),colorError:ie.FtCssVariableFactory.external(ie.designSystemVariables.colorError,"Design system")},cp=lp.css`
1709
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Ts))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Ts))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,yi.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};oe.elementDefinitions={"ft-ripple":D,"ft-typography":W,"ft-icon":ee,"ft-button":C};oe.styles=np;Me([(0,we.property)({type:Boolean})],oe.prototype,"highlighted",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"removable",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"disabled",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"clickable",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"iconClickable",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"dense",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"multiLine",void 0);Me([(0,we.property)()],oe.prototype,"label",void 0);Me([(0,we.property)()],oe.prototype,"iconLabel",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"hideIconTooltip",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"accessibleLabelOnIcon",void 0);Me([(0,we.property)()],oe.prototype,"icon",void 0);Me([(0,we.property)()],oe.prototype,"iconVariant",void 0);Me([(0,we.property)({type:Boolean})],oe.prototype,"trailingIcon",void 0);Me([(0,we.property)()],oe.prototype,"typographyVariant",void 0);Me([(0,we.query)("ft-typography slot")],oe.prototype,"slottedContent",void 0);var ap=c(f());var op={"ft-chip":oe};(0,ap.customElements)(op);var vi=c(x()),be=c(H()),xp=c(Je()),Sp=c(dr());function ln(t,e,r){return t?e(t):r?.(t)}var bt=c(f());var ks=c(H());var lp=c(x()),ne=c(f());var B={fontSize:ne.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ne.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ne.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ne.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ne.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ne.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ne.FtCssVariableFactory.extend("--ft-input-label-border-color","",ne.designSystemVariables.colorOutline),textColor:ne.FtCssVariableFactory.extend("--ft-input-label-text-color","",ne.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:ne.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",ne.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:ne.FtCssVariableFactory.extend("--ft-input-label-background-color","",ne.designSystemVariables.colorSurface),borderRadius:ne.FtCssVariableFactory.extend("--ft-input-label-border-radius","",ne.designSystemVariables.borderRadiusS),colorError:ne.FtCssVariableFactory.external(ne.designSystemVariables.colorError,"Design system")},cp=lp.css`
1710
1710
  .ft-input-label {
1711
1711
  position: absolute;
1712
1712
  inset: 0;
@@ -1752,8 +1752,8 @@
1752
1752
  transition: font-size 250ms, line-height 250ms, color 250ms;
1753
1753
  max-width: calc(${B.labelMaxWidth} - 2 * (${B.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
1754
1754
  text-overflow: ellipsis;
1755
- ${(0,ie.setVariable)(We.fontSize,B.fontSize)};
1756
- ${(0,ie.setVariable)(We.lineHeight,B.fontSize)};
1755
+ ${(0,ne.setVariable)(We.fontSize,B.fontSize)};
1756
+ ${(0,ne.setVariable)(We.lineHeight,B.fontSize)};
1757
1757
  }
1758
1758
 
1759
1759
  .ft-input-label--in-error .ft-input-label--text {
@@ -1785,8 +1785,8 @@
1785
1785
  }
1786
1786
 
1787
1787
  .ft-input-label--raised .ft-input-label--text {
1788
- ${(0,ie.setVariable)(We.fontSize,B.raisedFontSize)};
1789
- ${(0,ie.setVariable)(We.lineHeight,B.raisedFontSize)};
1788
+ ${(0,ne.setVariable)(We.fontSize,B.raisedFontSize)};
1789
+ ${(0,ne.setVariable)(We.lineHeight,B.raisedFontSize)};
1790
1790
  }
1791
1791
 
1792
1792
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -1984,7 +1984,7 @@
1984
1984
  </slot>
1985
1985
  ${this.isSlotEmpty?bi.html`<span>${this.label}</span>`:bi.html``}
1986
1986
  </div>
1987
- `}onSlotChange(){this.isSlotEmpty=(0,Ls.isSlotEmptyOrWithoutContent)(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ne.elementDefinitions={"ft-ripple":D};Ne.shadowRootOptions={...bi.LitElement.shadowRootOptions,delegatesFocus:!0};Ne.styles=[bp,Zt];cn([(0,mr.property)({type:String})],Ne.prototype,"label",void 0);cn([(0,mr.property)({type:Object,converter:t=>t})],Ne.prototype,"value",void 0);cn([(0,mr.property)({type:Boolean,reflect:!0})],Ne.prototype,"selected",void 0);cn([(0,mr.query)("slot")],Ne.prototype,"slotElement",void 0);cn([(0,mr.state)()],Ne.prototype,"isSlotEmpty",void 0);var Le=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n};var Z=class t extends bt.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let e=[...this.querySelectorAll("ft-select-option")];return e.length>0?e:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(e=>e.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(e=>e.selected)}get lastOption(){return(0,bt.last)(this.optionsList)}render(){var e,r,i,s,n;let o=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions,l=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((s=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&s!==void 0?s:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":o,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return vi.html`
1987
+ `}onSlotChange(){this.isSlotEmpty=(0,Ls.isSlotEmptyOrWithoutContent)(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ne.elementDefinitions={"ft-ripple":D};Ne.shadowRootOptions={...bi.LitElement.shadowRootOptions,delegatesFocus:!0};Ne.styles=[bp,Zt];cn([(0,mr.property)({type:String})],Ne.prototype,"label",void 0);cn([(0,mr.property)({type:Object,converter:t=>t})],Ne.prototype,"value",void 0);cn([(0,mr.property)({type:Boolean,reflect:!0})],Ne.prototype,"selected",void 0);cn([(0,mr.query)("slot")],Ne.prototype,"slotElement",void 0);cn([(0,mr.state)()],Ne.prototype,"isSlotEmpty",void 0);var Le=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n};var J=class t extends bt.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let e=[...this.querySelectorAll("ft-select-option")];return e.length>0?e:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(e=>e.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(e=>e.selected)}get lastOption(){return(0,bt.last)(this.optionsList)}render(){var e,r,i,s,n;let o=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions,l=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((s=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&s!==void 0?s:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":o,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return vi.html`
1988
1988
  <div class="${(0,xp.classMap)(u)}" part="container">
1989
1989
  <div class="ft-select--main-panel" part="main-panel">
1990
1990
  <ft-input-label text="${this.label}"
@@ -2040,7 +2040,7 @@
2040
2040
  label="${e.label}"
2041
2041
  .value=${e.value}
2042
2042
  ></ft-select-option>
2043
- `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((r=(i=this.selectedOptionElement)!==null&&i!==void 0?i:this.firstOption)===null||r===void 0||r.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let s=["bottom","top"];(0,bt.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",s,"fixed",I.optionsHeight,0).then(({x:n,y:o})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${o}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=(0,bt.isSlotEmptyOrWithoutContent)(this.optionsSlot);let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(s=>s);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i;let s,n=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),s=this.optionsList[(n-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),s=this.optionsList[(n+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(s=this.handleAlphanumericPress(e.key));break}s?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let i=this.options.find(s=>{var n;return((n=s.label)===null||n===void 0?void 0:n.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,i&&this.optionsList.find(s=>s.value===i.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>(0,bt.deepEqual)(i.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let i=this.options.find(s=>(0,bt.deepEqual)(s.value,e));i&&this.selectOption(i,r)}selectOption(e,r=!0){var i,s;if(!(0,bt.deepEqual)((i=this.selectedOption)===null||i===void 0?void 0:i.value,e?.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(s=this.selectedOption)===null||s===void 0?void 0:s.value}))}this.optionsDisplayed=!1}};Z.elementDefinitions={"ft-input-label":Rt,"ft-typography":W,"ft-ripple":D,"ft-icon":J,"ft-select-option":Ne};Z.searchTimeoutMilliseconds=2e3;Z.styles=[Jt,gp];Le([(0,be.property)({type:String})],Z.prototype,"label",void 0);Le([(0,be.property)({type:String})],Z.prototype,"ariaLabel",void 0);Le([(0,be.property)({type:String})],Z.prototype,"helper",void 0);Le([(0,be.property)({type:Boolean})],Z.prototype,"outlined",void 0);Le([(0,be.property)({type:Boolean})],Z.prototype,"disabled",void 0);Le([(0,be.property)({type:Boolean})],Z.prototype,"error",void 0);Le([(0,be.property)({type:Boolean})],Z.prototype,"fixedMenuPosition",void 0);Le([(0,be.property)({type:Array})],Z.prototype,"options",void 0);Le([(0,be.state)()],Z.prototype,"selectedOption",void 0);Le([(0,be.state)()],Z.prototype,"optionsDisplayed",void 0);Le([(0,be.state)()],Z.prototype,"focusOptions",void 0);Le([(0,be.state)()],Z.prototype,"currentSearch",void 0);Le([(0,be.state)()],Z.prototype,"lastSearchInputDate",void 0);Le([(0,be.query)(".ft-select")],Z.prototype,"container",void 0);Le([(0,be.query)(".ft-select--options")],Z.prototype,"optionsMenu",void 0);Le([(0,be.query)(".ft-select--input-panel")],Z.prototype,"mainPanel",void 0);Le([(0,be.query)("slot:not([name])")],Z.prototype,"optionsSlot",void 0);var Ap=c(f());var Ep={"ft-select":Z,"ft-select-option":Ne};(0,Ap.customElements)(Ep);var L=c(f()),ia=c(x());var Cp=c(x()),Tt=c(f()),$e={display:Tt.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:Tt.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:Tt.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Tt.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Tt.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Tt.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Tt.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Tt.FtCssVariableFactory.external(Tt.designSystemVariables.borderRadiusM,"Design system")},wp=Cp.css`
2043
+ `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((r=(i=this.selectedOptionElement)!==null&&i!==void 0?i:this.firstOption)===null||r===void 0||r.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let s=["bottom","top"];(0,bt.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",s,"fixed",I.optionsHeight,0).then(({x:n,y:o})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${o}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=(0,bt.isSlotEmptyOrWithoutContent)(this.optionsSlot);let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(s=>s);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i;let s,n=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),s=this.optionsList[(n-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),s=this.optionsList[(n+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(s=this.handleAlphanumericPress(e.key));break}s?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let i=this.options.find(s=>{var n;return((n=s.label)===null||n===void 0?void 0:n.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,i&&this.optionsList.find(s=>s.value===i.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(i=>(0,bt.deepEqual)(i.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let i=this.options.find(s=>(0,bt.deepEqual)(s.value,e));i&&this.selectOption(i,r)}selectOption(e,r=!0){var i,s;if(!(0,bt.deepEqual)((i=this.selectedOption)===null||i===void 0?void 0:i.value,e?.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(s=this.selectedOption)===null||s===void 0?void 0:s.value}))}this.optionsDisplayed=!1}};J.elementDefinitions={"ft-input-label":Rt,"ft-typography":W,"ft-ripple":D,"ft-icon":ee,"ft-select-option":Ne};J.searchTimeoutMilliseconds=2e3;J.styles=[Jt,gp];Le([(0,be.property)({type:String})],J.prototype,"label",void 0);Le([(0,be.property)({type:String})],J.prototype,"ariaLabel",void 0);Le([(0,be.property)({type:String})],J.prototype,"helper",void 0);Le([(0,be.property)({type:Boolean})],J.prototype,"outlined",void 0);Le([(0,be.property)({type:Boolean})],J.prototype,"disabled",void 0);Le([(0,be.property)({type:Boolean})],J.prototype,"error",void 0);Le([(0,be.property)({type:Boolean})],J.prototype,"fixedMenuPosition",void 0);Le([(0,be.property)({type:Array})],J.prototype,"options",void 0);Le([(0,be.state)()],J.prototype,"selectedOption",void 0);Le([(0,be.state)()],J.prototype,"optionsDisplayed",void 0);Le([(0,be.state)()],J.prototype,"focusOptions",void 0);Le([(0,be.state)()],J.prototype,"currentSearch",void 0);Le([(0,be.state)()],J.prototype,"lastSearchInputDate",void 0);Le([(0,be.query)(".ft-select")],J.prototype,"container",void 0);Le([(0,be.query)(".ft-select--options")],J.prototype,"optionsMenu",void 0);Le([(0,be.query)(".ft-select--input-panel")],J.prototype,"mainPanel",void 0);Le([(0,be.query)("slot:not([name])")],J.prototype,"optionsSlot",void 0);var Ap=c(f());var Ep={"ft-select":J,"ft-select-option":Ne};(0,Ap.customElements)(Ep);var L=c(f()),ia=c(x());var Cp=c(x()),Tt=c(f()),$e={display:Tt.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:Tt.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:Tt.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Tt.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Tt.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Tt.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Tt.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Tt.FtCssVariableFactory.external(Tt.designSystemVariables.borderRadiusM,"Design system")},wp=Cp.css`
2044
2044
  :host {
2045
2045
  width: ${$e.width};
2046
2046
  height: ${$e.height};
@@ -2785,7 +2785,7 @@
2785
2785
  </div>
2786
2786
  `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};Ei.styles=je.css`
2787
2787
 
2788
- `;Vf([(0,Mp.ignoreComposingEvents)()],Ei.prototype,"onSearchBarKeyDown",null);var N=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Np={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 {0}",back:"Back",selectLocale:"Select a language"},oa=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Hf=()=>{},_=class extends ne.FtLitElement{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 ne.ParametrizedLabelResolver(Np,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new ne.SearchPlaceConverter(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=gt.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.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new zt(this),this.selectedFacetsManager=new Vt(this),this.desktopSearchBarManager=new Ei(this),this.mobileSearchBarManager=new Si(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new ne.Debouncer(10),this.updateLocalesDebouncer=new ne.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacets()},this.facetsLoaded=!1,this.updateFacetsDebouncer=new ne.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(s=>s===this||s===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(s=>this.compareFilters(i,s)))}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,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,s;return((s=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&s!==void 0?s:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===gt.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}focusInput(){var e;this.reactToFocus=!1,(e=this.input)===null||e===void 0||e.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return j.html`
2788
+ `;Vf([(0,Mp.ignoreComposingEvents)()],Ei.prototype,"onSearchBarKeyDown",null);var N=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");var Np={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 {0}",back:"Back",selectLocale:"Select a language"},oa=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Hf=()=>{},_=class extends X.FtLitElement{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 X.ParametrizedLabelResolver(Np,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new X.SearchPlaceConverter(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=gt.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.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new zt(this),this.selectedFacetsManager=new Vt(this),this.desktopSearchBarManager=new Ei(this),this.mobileSearchBarManager=new Si(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new X.Debouncer(10),this.updateLocalesDebouncer=new X.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacets()},this.facetsLoaded=!1,this.updateFacetsDebouncer=new X.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(s=>s===this||s===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(s=>this.compareFilters(i,s)))}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,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,s;return((s=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&s!==void 0?s:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===gt.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}focusInput(){var e;this.reactToFocus=!1,(e=this.input)===null||e===void 0||e.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return j.html`
2789
2789
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2790
2790
  <div class="sr-only" aria-live="polite" aria-atomic="true">
2791
2791
  ${this.renderLiveText()}
@@ -2925,14 +2925,14 @@
2925
2925
  ></ft-filter>
2926
2926
  `})}
2927
2927
  </ft-snap-scroll>
2928
- `:j.nothing}firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,s,n,o;if(e.has("labels")&&(this.labelResolver=new ne.ParametrizedLabelResolver(Np,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let a=l=>this.availableContentLocales.some(u=>u.lang==l);a(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&a(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((s=this.presets)!==null&&s!==void 0?s:[]).forEach(a=>a.metadataFilters.forEach(l=>{l.valueFilter&&(l.valueFilter.values=l.valueFilter.values.map(u=>As(u)))})),e.has("presets")||e.has("selectedPreset")){let a=((n=this.presets)!==null&&n!==void 0?n:[]).find(l=>l.name===this.selectedPreset);a&&!this.compareRequests(this.request,a)&&this.setFiltersFromPreset(a)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(a=>e.has(a))&&(this.selectedPreset=(i=((o=this.presets)!==null&&o!==void 0?o:[]).find(a=>this.compareRequests(a,this.request)))===null||i===void 0?void 0:i.name),["baseUrl","apiIntegrationIdentifier"].some(a=>e.has(a))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(a=>e.has(a))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(a=>e.has(a))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(a=>e.has(a))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new oa(this.request)))}updateFacets(){this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):(this.facets=[],this.facetsLoaded=!0,this.facetsInitialized=!0)}contentAvailableCallback(e){var r,i,s;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(o=>o.key===this.scrollToFacet));let n=(s=this.shadowRoot)===null||s===void 0?void 0:s.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);n&&(n.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;if(this.facetsRequest.length==0){this.facets=[];return}let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(s=>{this.knownFacetLabels.set(s.key,s.label),r.set(s.key,s)})).catch(Hf)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),O.addEventListener("authentication-change",this.initSearchData),this.initSearchData(),this.focusOnDisplay&&this.updateComplete.then(()=>{this.input&&ne.FocusHelper.allowAutoFocus(this.input)&&this.focusInput()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),O.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(s=>!s.valueFilter||s.key!==e);this.facets.forEach(s=>{s.key===e&&(0,ne.flatDeep)(s.rootNodes,n=>n.childNodes).forEach(n=>n.selected=r.includes(n.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,ne.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?j.nothing:j.html`
2928
+ `:j.nothing}firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,s,n,o;if(e.has("labels")&&(this.labelResolver=new X.ParametrizedLabelResolver(Np,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let a=l=>this.availableContentLocales.some(u=>u.lang==l);a(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&a(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((s=this.presets)!==null&&s!==void 0?s:[]).forEach(a=>a.metadataFilters.forEach(l=>{l.valueFilter&&(l.valueFilter.values=l.valueFilter.values.map(u=>As(u)))})),e.has("presets")||e.has("selectedPreset")){let a=((n=this.presets)!==null&&n!==void 0?n:[]).find(l=>l.name===this.selectedPreset);a&&!this.compareRequests(this.request,a)&&this.setFiltersFromPreset(a)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(a=>e.has(a))&&(this.selectedPreset=(i=((o=this.presets)!==null&&o!==void 0?o:[]).find(a=>this.compareRequests(a,this.request)))===null||i===void 0?void 0:i.name),["baseUrl","apiIntegrationIdentifier"].some(a=>e.has(a))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(a=>e.has(a))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(a=>e.has(a))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(a=>e.has(a))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new oa(this.request)))}updateFacets(){this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):(this.facets=[],this.facetsLoaded=!0,this.facetsInitialized=!0)}contentAvailableCallback(e){var r,i,s;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(o=>o.key===this.scrollToFacet));let n=(s=this.shadowRoot)===null||s===void 0?void 0:s.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);n&&(n.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;if(this.facetsRequest.length==0){this.facets=[];return}let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(s=>{this.knownFacetLabels.set(s.key,s.label),r.set(s.key,s)})).catch(Hf)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),O.addEventListener("authentication-change",this.initSearchData),this.initSearchData(),this.focusOnDisplay&&(0,X.waitFor)(()=>this.input,50).then(e=>{X.FocusHelper.allowAutoFocus(e)&&this.focusInput()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),O.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(s=>!s.valueFilter||s.key!==e);this.facets.forEach(s=>{s.key===e&&(0,X.flatDeep)(s.rootNodes,n=>n.childNodes).forEach(n=>n.selected=r.includes(n.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,X.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?j.nothing:j.html`
2929
2929
  <div class="ft-search-bar--floating-panel"
2930
2930
  id="ft-search-bar-floating-panel"
2931
2931
  @keyup=${this.onFloatingContainerKeyUp}
2932
2932
  part="floating-panel"
2933
2933
  tabindex="-1">
2934
2934
  ${this.renderDesktopMenu()}
2935
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};_.elementDefinitions={"ft-accordion":Bt,"ft-accordion-item":yt,"ft-button":C,"ft-chip":oe,"ft-filter":U,"ft-filter-option":at,"ft-icon":J,"ft-ripple":D,"ft-select":Z,"ft-select-option":Ne,"ft-size-watcher":rt,"ft-skeleton":gr,"ft-snap-scroll":ye,"ft-tooltip":de,"ft-typography":W,"ft-radio-group":nt,"ft-radio":Ce};_.styles=[Zt,ne.noTextInputDefaultClearButton,Op,_p,Vt.styles,zt.styles,ne.screenReaderStyles];N([(0,F.property)({type:Boolean})],_.prototype,"dense",void 0);N([(0,F.property)()],_.prototype,"mode",void 0);N([(0,F.property)({type:Boolean})],_.prototype,"forceMobileMenuOpen",void 0);N([(0,F.property)({type:Boolean})],_.prototype,"forceMenuOpen",void 0);N([(0,F.property)()],_.prototype,"baseUrl",void 0);N([(0,F.property)()],_.prototype,"apiIntegrationIdentifier",void 0);N([(0,F.property)()],_.prototype,"contentLocale",void 0);N([(0,F.state)()],_.prototype,"availableContentLocales",void 0);N([(0,F.state)()],_.prototype,"availableContentLocalesInitialized",void 0);N([(0,F.property)()],_.prototype,"uiLocale",void 0);N([(0,ne.jsonProperty)({})],_.prototype,"labels",void 0);N([(0,ne.jsonProperty)([])],_.prototype,"displayedFilters",void 0);N([(0,ne.jsonProperty)([])],_.prototype,"presets",void 0);N([(0,F.property)({type:String,reflect:!0})],_.prototype,"selectedPreset",void 0);N([(0,ne.jsonProperty)([])],_.prototype,"priors",void 0);N([(0,F.property)()],_.prototype,"searchRequestSerializer",void 0);N([(0,F.property)({type:Boolean})],_.prototype,"focusOnDisplay",void 0);N([(0,F.state)()],_.prototype,"metadataFilters",void 0);N([(0,F.state)()],_.prototype,"sizeCategory",void 0);N([(0,F.state)()],_.prototype,"displayFacets",void 0);N([(0,F.state)()],_.prototype,"mobileMenuOpen",void 0);N([(0,F.state)()],_.prototype,"facets",void 0);N([(0,F.state)()],_.prototype,"facetsInitialized",void 0);N([(0,F.query)(".ft-search-bar--container")],_.prototype,"container",void 0);N([(0,F.query)(".ft-search-bar--filters-opener")],_.prototype,"filtersOpener",void 0);N([(0,F.query)(".ft-search-bar--floating-panel")],_.prototype,"floatingContainer",void 0);N([(0,F.query)("ft-snap-scroll.ft-search-bar--filters-container")],_.prototype,"scrollingFiltersContainer",void 0);N([(0,F.query)(".ft-search-bar--input")],_.prototype,"input",void 0);N([(0,F.query)(".ft-search-bar--launch-search")],_.prototype,"launchSearchButton",void 0);N([(0,F.state)()],_.prototype,"query",void 0);N([(0,F.state)()],_.prototype,"suggestions",void 0);N([(0,F.state)()],_.prototype,"recentSearches",void 0);N([(0,F.state)()],_.prototype,"scrollToFacet",void 0);N([(0,F.state)()],_.prototype,"api",void 0);N([(0,F.state)()],_.prototype,"displaySuggestListbox",void 0);N([(0,F.state)()],_.prototype,"selectedSuggestOptionId",void 0);N([(0,F.state)()],_.prototype,"selectedSuggestRemoveRecent",void 0);N([(0,F.state)()],_.prototype,"facetsLoaded",void 0);var Bp=c(f());var Fp={"ft-search-bar":_};(0,Bp.customElements)(Fp);var Vp=Up.css`
2935
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};_.elementDefinitions={"ft-accordion":Bt,"ft-accordion-item":yt,"ft-button":C,"ft-chip":oe,"ft-filter":U,"ft-filter-option":at,"ft-icon":ee,"ft-ripple":D,"ft-select":J,"ft-select-option":Ne,"ft-size-watcher":rt,"ft-skeleton":gr,"ft-snap-scroll":ye,"ft-tooltip":de,"ft-typography":W,"ft-radio-group":nt,"ft-radio":Ce};_.styles=[Zt,X.noTextInputDefaultClearButton,Op,_p,Vt.styles,zt.styles,X.screenReaderStyles];N([(0,F.property)({type:Boolean})],_.prototype,"dense",void 0);N([(0,F.property)()],_.prototype,"mode",void 0);N([(0,F.property)({type:Boolean})],_.prototype,"forceMobileMenuOpen",void 0);N([(0,F.property)({type:Boolean})],_.prototype,"forceMenuOpen",void 0);N([(0,F.property)()],_.prototype,"baseUrl",void 0);N([(0,F.property)()],_.prototype,"apiIntegrationIdentifier",void 0);N([(0,F.property)()],_.prototype,"contentLocale",void 0);N([(0,F.state)()],_.prototype,"availableContentLocales",void 0);N([(0,F.state)()],_.prototype,"availableContentLocalesInitialized",void 0);N([(0,F.property)()],_.prototype,"uiLocale",void 0);N([(0,X.jsonProperty)({})],_.prototype,"labels",void 0);N([(0,X.jsonProperty)([])],_.prototype,"displayedFilters",void 0);N([(0,X.jsonProperty)([])],_.prototype,"presets",void 0);N([(0,F.property)({type:String,reflect:!0})],_.prototype,"selectedPreset",void 0);N([(0,X.jsonProperty)([])],_.prototype,"priors",void 0);N([(0,F.property)()],_.prototype,"searchRequestSerializer",void 0);N([(0,F.property)({type:Boolean})],_.prototype,"focusOnDisplay",void 0);N([(0,F.state)()],_.prototype,"metadataFilters",void 0);N([(0,F.state)()],_.prototype,"sizeCategory",void 0);N([(0,F.state)()],_.prototype,"displayFacets",void 0);N([(0,F.state)()],_.prototype,"mobileMenuOpen",void 0);N([(0,F.state)()],_.prototype,"facets",void 0);N([(0,F.state)()],_.prototype,"facetsInitialized",void 0);N([(0,F.query)(".ft-search-bar--container")],_.prototype,"container",void 0);N([(0,F.query)(".ft-search-bar--filters-opener")],_.prototype,"filtersOpener",void 0);N([(0,F.query)(".ft-search-bar--floating-panel")],_.prototype,"floatingContainer",void 0);N([(0,F.query)("ft-snap-scroll.ft-search-bar--filters-container")],_.prototype,"scrollingFiltersContainer",void 0);N([(0,F.query)(".ft-search-bar--input")],_.prototype,"input",void 0);N([(0,F.query)(".ft-search-bar--launch-search")],_.prototype,"launchSearchButton",void 0);N([(0,F.state)()],_.prototype,"query",void 0);N([(0,F.state)()],_.prototype,"suggestions",void 0);N([(0,F.state)()],_.prototype,"recentSearches",void 0);N([(0,F.state)()],_.prototype,"scrollToFacet",void 0);N([(0,F.state)()],_.prototype,"api",void 0);N([(0,F.state)()],_.prototype,"displaySuggestListbox",void 0);N([(0,F.state)()],_.prototype,"selectedSuggestOptionId",void 0);N([(0,F.state)()],_.prototype,"selectedSuggestRemoveRecent",void 0);N([(0,F.state)()],_.prototype,"facetsLoaded",void 0);var Bp=c(f());var Fp={"ft-search-bar":_};(0,Bp.customElements)(Fp);var Vp=Up.css`
2936
2936
  * {
2937
2937
  box-sizing: border-box;
2938
2938
  }
@@ -3025,7 +3025,7 @@
3025
3025
  </ft-button>
3026
3026
  `:Qr.nothing}
3027
3027
  </div>
3028
- `}onRemoveRecentQuery(e){var r;(r=this.ftSearchInput.stateManager)===null||r===void 0||r.removeRecentQuery(e)}onSelectOption(e){this.ftSearchInput.onSuggestionSelected(e)}get activeElementId(){let{selectedSuggestOptionIndex:e,selectedSuggestOptionRemove:r}=this.ftSearchInput;if(e!==void 0)return(r?"remove-suggestion-":"suggestion-")+e}get activeElement(){var e;let r=this.activeElementId;if(r!==void 0)return(e=this.ftSearchInput.shadowRoot.getElementById(r))!==null&&e!==void 0?e:void 0}recentQueriesCount(){return this.ftSearchInput.recentQuerySuggestions.length}suggestionsCount(){var e,r;return(r=(e=this.ftSearchInput.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}optionsCount(){return this.recentQueriesCount()+this.suggestionsCount()}clearSelection(){this.ftSearchInput.selectedSuggestOptionIndex=void 0,this.ftSearchInput.selectedSuggestOptionRemove=!1}selectNext(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=0:(this.ftSearchInput.selectedSuggestOptionIndex++,this.ftSearchInput.selectedSuggestOptionIndex>=this.optionsCount()&&this.clearSelection())}selectPrevious(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=this.optionsCount()-1:(this.ftSearchInput.selectedSuggestOptionIndex--,this.ftSearchInput.selectedSuggestOptionIndex<0&&this.clearSelection())}selectLeft(){this.ftSearchInput.selectedSuggestOptionIndex!==void 0&&(this.ftSearchInput.selectedSuggestOptionRemove?this.ftSearchInput.selectedSuggestOptionRemove=!1:this.clearSelection())}isRemovable(e){return e<this.recentQueriesCount()}selectRight(){let e=this.ftSearchInput.selectedSuggestOptionIndex;e!==void 0&&(!this.ftSearchInput.selectedSuggestOptionRemove&&this.isRemovable(e)?this.ftSearchInput.selectedSuggestOptionRemove=!0:this.clearSelection())}closeBox(){this.ftSearchInput.displaySuggestListbox=!1,this.clearSelection()}};yr.elementDefinitions={"ft-ripple":D,"ft-typography":W,"ft-icon":J,"ft-button":C};yr.styles=[Hp.wordWrap,Vp];var De=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},jf=5;function qf(t){let e=t.liveQuery.trim().toLowerCase();return t.recentQueries.filter(r=>r.toLowerCase().includes(e)).slice(0,jf)}var le=class extends pi(Ss){constructor(){super(),this.liveQuery="",this.recentQuerySuggestions=[],this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.selectedSuggestOptionRemove=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new yr(this),this.showSuggestionsOnFocus=!0,this.onPointerDown=e=>{e.composedPath().some(s=>s===this||s===this.shadowRoot)||this.suggestions.closeBox()},this.addI18nContext(Qt)}render(){var e;let r=this.suggestions.optionsCount()>0,i={"ft-search-input":!0,"ft-search-input--with-suggestions":r,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},s={...this.request,query:this.liveQuery},n=this.useCustomSearchPath?this.launchSearchPath:void 0,o=Kt.get().serializeToCurrentPageIfPossible(s,n),a=!this.forceCloseSuggestion&&this.displaySuggestListbox&&r;return Ai.html`
3028
+ `}onRemoveRecentQuery(e){var r;(r=this.ftSearchInput.stateManager)===null||r===void 0||r.removeRecentQuery(e)}onSelectOption(e){this.ftSearchInput.onSuggestionSelected(e)}get activeElementId(){let{selectedSuggestOptionIndex:e,selectedSuggestOptionRemove:r}=this.ftSearchInput;if(e!==void 0)return(r?"remove-suggestion-":"suggestion-")+e}get activeElement(){var e;let r=this.activeElementId;if(r!==void 0)return(e=this.ftSearchInput.shadowRoot.getElementById(r))!==null&&e!==void 0?e:void 0}recentQueriesCount(){return this.ftSearchInput.recentQuerySuggestions.length}suggestionsCount(){var e,r;return(r=(e=this.ftSearchInput.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}optionsCount(){return this.recentQueriesCount()+this.suggestionsCount()}clearSelection(){this.ftSearchInput.selectedSuggestOptionIndex=void 0,this.ftSearchInput.selectedSuggestOptionRemove=!1}selectNext(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=0:(this.ftSearchInput.selectedSuggestOptionIndex++,this.ftSearchInput.selectedSuggestOptionIndex>=this.optionsCount()&&this.clearSelection())}selectPrevious(){this.ftSearchInput.selectedSuggestOptionIndex===void 0?this.ftSearchInput.selectedSuggestOptionIndex=this.optionsCount()-1:(this.ftSearchInput.selectedSuggestOptionIndex--,this.ftSearchInput.selectedSuggestOptionIndex<0&&this.clearSelection())}selectLeft(){this.ftSearchInput.selectedSuggestOptionIndex!==void 0&&(this.ftSearchInput.selectedSuggestOptionRemove?this.ftSearchInput.selectedSuggestOptionRemove=!1:this.clearSelection())}isRemovable(e){return e<this.recentQueriesCount()}selectRight(){let e=this.ftSearchInput.selectedSuggestOptionIndex;e!==void 0&&(!this.ftSearchInput.selectedSuggestOptionRemove&&this.isRemovable(e)?this.ftSearchInput.selectedSuggestOptionRemove=!0:this.clearSelection())}closeBox(){this.ftSearchInput.displaySuggestListbox=!1,this.clearSelection()}};yr.elementDefinitions={"ft-ripple":D,"ft-typography":W,"ft-icon":ee,"ft-button":C};yr.styles=[Hp.wordWrap,Vp];var De=function(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n},jf=5;function qf(t){let e=t.liveQuery.trim().toLowerCase();return t.recentQueries.filter(r=>r.toLowerCase().includes(e)).slice(0,jf)}var le=class extends pi(Ss){constructor(){super(),this.liveQuery="",this.recentQuerySuggestions=[],this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.selectedSuggestOptionRemove=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new yr(this),this.showSuggestionsOnFocus=!0,this.onPointerDown=e=>{e.composedPath().some(s=>s===this||s===this.shadowRoot)||this.suggestions.closeBox()},this.addI18nContext(Qt)}render(){var e;let r=this.suggestions.optionsCount()>0,i={"ft-search-input":!0,"ft-search-input--with-suggestions":r,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},s={...this.request,query:this.liveQuery},n=this.useCustomSearchPath?this.launchSearchPath:void 0,o=Kt.get().serializeToCurrentPageIfPossible(s,n),a=!this.forceCloseSuggestion&&this.displaySuggestListbox&&r;return Ai.html`
3029
3029
  <div class="${(0,jp.classMap)(i)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3030
3030
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3031
3031
  <div class="ft-search-input--input-outline" part="input-outline">