@govtechsg/sgds-web-component 3.23.0-rc.7 → 3.24.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/components/Datepicker/datepicker-calendar.js +4 -4
  2. package/components/Datepicker/datepicker-calendar.js.map +1 -1
  3. package/components/Datepicker/datepicker-header.js +2 -2
  4. package/components/Datepicker/datepicker-header.js.map +1 -1
  5. package/components/Datepicker/datepicker-input.js +13 -48
  6. package/components/Datepicker/datepicker-input.js.map +1 -1
  7. package/components/Datepicker/index.umd.min.js +342 -342
  8. package/components/Datepicker/index.umd.min.js.map +1 -1
  9. package/components/Datepicker/sgds-datepicker.js +6 -6
  10. package/components/Datepicker/sgds-datepicker.js.map +1 -1
  11. package/components/Footer/index.umd.min.js +1 -1
  12. package/components/Footer/index.umd.min.js.map +1 -1
  13. package/components/Subnav/index.umd.min.js +1 -1
  14. package/components/Subnav/index.umd.min.js.map +1 -1
  15. package/components/index.umd.min.js +218 -218
  16. package/components/index.umd.min.js.map +1 -1
  17. package/css/grid.css +2 -2
  18. package/css/grid.js +1 -1
  19. package/css/utility.css +1 -0
  20. package/custom-elements.json +1 -1
  21. package/index.umd.min.js +295 -295
  22. package/index.umd.min.js.map +1 -1
  23. package/package.json +1 -3
  24. package/react/components/Datepicker/datepicker-calendar.cjs.js +4 -4
  25. package/react/components/Datepicker/datepicker-calendar.cjs.js.map +1 -1
  26. package/react/components/Datepicker/datepicker-calendar.js +4 -4
  27. package/react/components/Datepicker/datepicker-calendar.js.map +1 -1
  28. package/react/components/Datepicker/datepicker-header.cjs.js +2 -2
  29. package/react/components/Datepicker/datepicker-header.cjs.js.map +1 -1
  30. package/react/components/Datepicker/datepicker-header.js +2 -2
  31. package/react/components/Datepicker/datepicker-header.js.map +1 -1
  32. package/react/components/Datepicker/datepicker-input.cjs.js +13 -52
  33. package/react/components/Datepicker/datepicker-input.cjs.js.map +1 -1
  34. package/react/components/Datepicker/datepicker-input.js +13 -48
  35. package/react/components/Datepicker/datepicker-input.js.map +1 -1
  36. package/react/components/Datepicker/sgds-datepicker.cjs.js +6 -6
  37. package/react/components/Datepicker/sgds-datepicker.cjs.js.map +1 -1
  38. package/react/components/Datepicker/sgds-datepicker.js +6 -6
  39. package/react/components/Datepicker/sgds-datepicker.js.map +1 -1
  40. package/react/css/grid.cjs.js +1 -1
  41. package/react/css/grid.js +1 -1
  42. package/react/utils/date-helpers.cjs.js +120 -0
  43. package/react/utils/date-helpers.cjs.js.map +1 -0
  44. package/react/utils/date-helpers.js +108 -0
  45. package/react/utils/date-helpers.js.map +1 -0
  46. package/react/utils/date-mask.cjs.js +203 -0
  47. package/react/utils/date-mask.cjs.js.map +1 -0
  48. package/react/utils/date-mask.js +199 -0
  49. package/react/utils/date-mask.js.map +1 -0
  50. package/react/utils/time.cjs.js +7 -7
  51. package/react/utils/time.cjs.js.map +1 -1
  52. package/react/utils/time.js +1 -1
  53. package/react/utils/time.js.map +1 -1
  54. package/themes/root.css +3 -2
  55. package/utils/date-helpers.d.ts +22 -0
  56. package/utils/date-helpers.js +107 -0
  57. package/utils/date-helpers.js.map +1 -0
  58. package/utils/date-mask.d.ts +44 -0
  59. package/utils/date-mask.js +198 -0
  60. package/utils/date-mask.js.map +1 -0
  61. package/utils/time.js +1 -1
  62. package/utils/time.js.map +1 -1
@@ -1,171 +1,171 @@
1
- !function(t){"function"==typeof define&&define.amd?define(t):t()}(function(){"use strict";function t(t,e,i,a){var s,n=arguments.length,r=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r}function e(t){const e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new t.constructor(+t):"number"==typeof t||"[object Number]"===e||"string"==typeof t||"[object String]"===e?new Date(t):new Date(NaN)}function i(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function a(t,a){const s=e(t);return isNaN(a)?i(t,NaN):a?(s.setDate(s.getDate()+a),s):s}"function"==typeof SuppressedError&&SuppressedError;const s=6048e5;let n={};function r(){return n}function o(t,i){const a=r(),s=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,n=e(t),o=n.getDay(),l=(o<s?7:0)+o-s;return n.setDate(n.getDate()-l),n.setHours(0,0,0,0),n}function l(t){return o(t,{weekStartsOn:1})}function c(t){const a=e(t),s=a.getFullYear(),n=i(t,0);n.setFullYear(s+1,0,4),n.setHours(0,0,0,0);const r=l(n),o=i(t,0);o.setFullYear(s,0,4),o.setHours(0,0,0,0);const c=l(o);return a.getTime()>=r.getTime()?s+1:a.getTime()>=c.getTime()?s:s-1}function d(t){const i=e(t);return i.setHours(0,0,0,0),i}function h(t){const i=e(t),a=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return a.setUTCFullYear(i.getFullYear()),+t-+a}function u(t){if(!(i=t,i instanceof Date||"object"==typeof i&&"[object Date]"===Object.prototype.toString.call(i)||"number"==typeof t))return!1;var i;const a=e(t);return!isNaN(Number(a))}function p(t){const i=e(t);return+function(t){const i=e(t);return i.setHours(23,59,59,999),i}(i)===+function(t){const i=e(t),a=i.getMonth();return i.setFullYear(i.getFullYear(),a+1,0),i.setHours(23,59,59,999),i}(i)}const g={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function v(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const f={date:v({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:v({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:v({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},m={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function w(t){return(e,i)=>{let a;if("formatting"===(i?.context?String(i.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,s=i?.width?String(i.width):e;a=t.formattingValues[s]||t.formattingValues[e]}else{const e=t.defaultWidth,s=i?.width?String(i.width):t.defaultWidth;a=t.values[s]||t.values[e]}return a[t.argumentCallback?t.argumentCallback(e):e]}}function y(t){return(e,i={})=>{const a=i.width,s=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],n=e.match(s);if(!n)return null;const r=n[0],o=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(o)?function(t,e){for(let i=0;i<t.length;i++)if(e(t[i]))return i;return}(o,t=>t.test(r)):function(t,e){for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&e(t[i]))return i;return}(o,t=>t.test(r));let c;c=t.valueCallback?t.valueCallback(l):l,c=i.valueCallback?i.valueCallback(c):c;return{value:c,rest:e.slice(r.length)}}}var b;const x={code:"en-US",formatDistance:(t,e,i)=>{let a;const s=g[t];return a="string"==typeof s?s:1===e?s.one:s.other.replace("{{count}}",e.toString()),i?.addSuffix?i.comparison&&i.comparison>0?"in "+a:a+" ago":a},formatLong:f,formatRelative:(t,e,i,a)=>m[t],localize:{ordinalNumber:(t,e)=>{const i=Number(t),a=i%100;if(a>20||a<10)switch(a%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:w({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:w({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:w({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:w({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:w({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(b={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)},(t,e={})=>{const i=t.match(b.matchPattern);if(!i)return null;const a=i[0],s=t.match(b.parsePattern);if(!s)return null;let n=b.valueCallback?b.valueCallback(s[0]):s[0];return n=e.valueCallback?e.valueCallback(n):n,{value:n,rest:t.slice(a.length)}}),era:y({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:y({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:y({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:y({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:y({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function _(t){const a=e(t),s=function(t,e){const i=d(t),a=d(e),s=+i-h(i),n=+a-h(a);return Math.round((s-n)/864e5)}(a,function(t){const a=e(t),s=i(t,0);return s.setFullYear(a.getFullYear(),0,1),s.setHours(0,0,0,0),s}(a));return s+1}function C(t){const a=e(t),n=+l(a)-+function(t){const e=c(t),a=i(t,0);return a.setFullYear(e,0,4),a.setHours(0,0,0,0),l(a)}(a);return Math.round(n/s)+1}function k(t,a){const s=e(t),n=s.getFullYear(),l=r(),c=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,d=i(t,0);d.setFullYear(n+1,0,c),d.setHours(0,0,0,0);const h=o(d,a),u=i(t,0);u.setFullYear(n,0,c),u.setHours(0,0,0,0);const p=o(u,a);return s.getTime()>=h.getTime()?n+1:s.getTime()>=p.getTime()?n:n-1}function M(t,a){const n=e(t),l=+o(n,a)-+function(t,e){const a=r(),s=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,n=k(t,e),l=i(t,0);return l.setFullYear(n,0,s),l.setHours(0,0,0,0),o(l,e)}(n,a);return Math.round(l/s)+1}function Z(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const V={y(t,e){const i=t.getFullYear(),a=i>0?i:1-i;return Z("yy"===e?a%100:a,e.length)},M(t,e){const i=t.getMonth();return"M"===e?String(i+1):Z(i+1,2)},d:(t,e)=>Z(t.getDate(),e.length),a(t,e){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:(t,e)=>Z(t.getHours()%12||12,e.length),H:(t,e)=>Z(t.getHours(),e.length),m:(t,e)=>Z(t.getMinutes(),e.length),s:(t,e)=>Z(t.getSeconds(),e.length),S(t,e){const i=e.length,a=t.getMilliseconds();return Z(Math.trunc(a*Math.pow(10,i-3)),e.length)}},S="midnight",D="noon",A="morning",B="afternoon",E="evening",F="night",H={G:function(t,e,i){const a=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(a,{width:"abbreviated"});case"GGGGG":return i.era(a,{width:"narrow"});default:return i.era(a,{width:"wide"})}},y:function(t,e,i){if("yo"===e){const e=t.getFullYear(),a=e>0?e:1-e;return i.ordinalNumber(a,{unit:"year"})}return V.y(t,e)},Y:function(t,e,i,a){const s=k(t,a),n=s>0?s:1-s;if("YY"===e){return Z(n%100,2)}return"Yo"===e?i.ordinalNumber(n,{unit:"year"}):Z(n,e.length)},R:function(t,e){return Z(c(t),e.length)},u:function(t,e){return Z(t.getFullYear(),e.length)},Q:function(t,e,i){const a=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(a);case"QQ":return Z(a,2);case"Qo":return i.ordinalNumber(a,{unit:"quarter"});case"QQQ":return i.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(a,{width:"narrow",context:"formatting"});default:return i.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,e,i){const a=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(a);case"qq":return Z(a,2);case"qo":return i.ordinalNumber(a,{unit:"quarter"});case"qqq":return i.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(a,{width:"narrow",context:"standalone"});default:return i.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,e,i){const a=t.getMonth();switch(e){case"M":case"MM":return V.M(t,e);case"Mo":return i.ordinalNumber(a+1,{unit:"month"});case"MMM":return i.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(a,{width:"narrow",context:"formatting"});default:return i.month(a,{width:"wide",context:"formatting"})}},L:function(t,e,i){const a=t.getMonth();switch(e){case"L":return String(a+1);case"LL":return Z(a+1,2);case"Lo":return i.ordinalNumber(a+1,{unit:"month"});case"LLL":return i.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(a,{width:"narrow",context:"standalone"});default:return i.month(a,{width:"wide",context:"standalone"})}},w:function(t,e,i,a){const s=M(t,a);return"wo"===e?i.ordinalNumber(s,{unit:"week"}):Z(s,e.length)},I:function(t,e,i){const a=C(t);return"Io"===e?i.ordinalNumber(a,{unit:"week"}):Z(a,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):V.d(t,e)},D:function(t,e,i){const a=_(t);return"Do"===e?i.ordinalNumber(a,{unit:"dayOfYear"}):Z(a,e.length)},E:function(t,e,i){const a=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(a,{width:"short",context:"formatting"});default:return i.day(a,{width:"wide",context:"formatting"})}},e:function(t,e,i,a){const s=t.getDay(),n=(s-a.weekStartsOn+8)%7||7;switch(e){case"e":return String(n);case"ee":return Z(n,2);case"eo":return i.ordinalNumber(n,{unit:"day"});case"eee":return i.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(s,{width:"short",context:"formatting"});default:return i.day(s,{width:"wide",context:"formatting"})}},c:function(t,e,i,a){const s=t.getDay(),n=(s-a.weekStartsOn+8)%7||7;switch(e){case"c":return String(n);case"cc":return Z(n,e.length);case"co":return i.ordinalNumber(n,{unit:"day"});case"ccc":return i.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(s,{width:"narrow",context:"standalone"});case"cccccc":return i.day(s,{width:"short",context:"standalone"});default:return i.day(s,{width:"wide",context:"standalone"})}},i:function(t,e,i){const a=t.getDay(),s=0===a?7:a;switch(e){case"i":return String(s);case"ii":return Z(s,e.length);case"io":return i.ordinalNumber(s,{unit:"day"});case"iii":return i.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(a,{width:"short",context:"formatting"});default:return i.day(a,{width:"wide",context:"formatting"})}},a:function(t,e,i){const a=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(a,{width:"narrow",context:"formatting"});default:return i.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,i){const a=t.getHours();let s;switch(s=12===a?D:0===a?S:a/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(s,{width:"narrow",context:"formatting"});default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,e,i){const a=t.getHours();let s;switch(s=a>=17?E:a>=12?B:a>=4?A:F,e){case"B":case"BB":case"BBB":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(s,{width:"narrow",context:"formatting"});default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),i.ordinalNumber(e,{unit:"hour"})}return V.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):V.H(t,e)},K:function(t,e,i){const a=t.getHours()%12;return"Ko"===e?i.ordinalNumber(a,{unit:"hour"}):Z(a,e.length)},k:function(t,e,i){let a=t.getHours();return 0===a&&(a=24),"ko"===e?i.ordinalNumber(a,{unit:"hour"}):Z(a,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):V.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):V.s(t,e)},S:function(t,e){return V.S(t,e)},X:function(t,e,i){const a=t.getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return T(a);case"XXXX":case"XX":return I(a);default:return I(a,":")}},x:function(t,e,i){const a=t.getTimezoneOffset();switch(e){case"x":return T(a);case"xxxx":case"xx":return I(a);default:return I(a,":")}},O:function(t,e,i){const a=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+$(a,":");default:return"GMT"+I(a,":")}},z:function(t,e,i){const a=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+$(a,":");default:return"GMT"+I(a,":")}},t:function(t,e,i){return Z(Math.trunc(t.getTime()/1e3),e.length)},T:function(t,e,i){return Z(t.getTime(),e.length)}};function $(t,e=""){const i=t>0?"-":"+",a=Math.abs(t),s=Math.trunc(a/60),n=a%60;return 0===n?i+String(s):i+String(s)+e+Z(n,2)}function T(t,e){if(t%60==0){return(t>0?"-":"+")+Z(Math.abs(t)/60,2)}return I(t,e)}function I(t,e=""){const i=t>0?"-":"+",a=Math.abs(t);return i+Z(Math.trunc(a/60),2)+e+Z(a%60,2)}const P=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},L=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},R={p:L,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],a=i[1],s=i[2];if(!s)return P(t,e);let n;switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",P(a,e)).replace("{{time}}",L(s,e))}},O=/^D+$/,Y=/^Y+$/,N=["D","DD","YY","YYYY"];function z(t){return O.test(t)}function U(t){return Y.test(t)}function q(t,e,i){const a=function(t,e,i){const a="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${a} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,i);if(console.warn(a),N.includes(t))throw new RangeError(a)}const W=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,j=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,G=/^'([^]*?)'?$/,K=/''/g,Q=/[a-zA-Z]/;function X(t,i,a){const s=r(),n=a?.locale??s.locale??x,o=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,l=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,c=e(t);if(!u(c))throw new RangeError("Invalid time value");let d=i.match(j).map(t=>{const e=t[0];if("p"===e||"P"===e){return(0,R[e])(t,n.formatLong)}return t}).join("").match(W).map(t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:J(t)};if(H[e])return{isToken:!0,value:t};if(e.match(Q))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}});n.localize.preprocessor&&(d=n.localize.preprocessor(c,d));const h={firstWeekContainsDate:o,weekStartsOn:l,locale:n};return d.map(e=>{if(!e.isToken)return e.value;const s=e.value;(!a?.useAdditionalWeekYearTokens&&U(s)||!a?.useAdditionalDayOfYearTokens&&z(s))&&q(s,i,String(t));return(0,H[s[0]])(c,s,n.localize,h)}).join("")}function J(t){const e=t.match(G);return e?e[1].replace(K,"'"):t}function tt(t){const a=e(t),s=a.getFullYear(),n=a.getMonth(),r=i(t,0);return r.setFullYear(s,n+1,0),r.setHours(0,0,0,0),r.getDate()}function et(t){const i=e(t),a=i.getMonth();return i.setFullYear(i.getFullYear(),a+1,0),i.setHours(0,0,0,0),i}function it(t,i){const a=e(t),s=e(i);return a.getTime()>s.getTime()}function at(t,i){return+e(t)<+e(i)}function st(t,i){return+e(t)===+e(i)}class nt{subPriority=0;validate(t,e){return!0}}class rt extends nt{constructor(t,e,i,a,s){super(),this.value=t,this.validateValue=e,this.setValue=i,this.priority=a,s&&(this.subPriority=s)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,i){return this.setValue(t,e,this.value,i)}}class ot extends nt{priority=10;subPriority=-1;set(t,e){return e.timestampIsSet?t:i(t,function(t,e){const a=e instanceof Date?i(e,0):new e(0);return a.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),a.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),a}(t,Date))}}class lt{run(t,e,i,a){const s=this.parse(t,e,i,a);return s?{setter:new rt(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(t,e,i){return!0}}const ct=/^(1[0-2]|0?\d)/,dt=/^(3[0-1]|[0-2]?\d)/,ht=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,ut=/^(5[0-3]|[0-4]?\d)/,pt=/^(2[0-3]|[0-1]?\d)/,gt=/^(2[0-4]|[0-1]?\d)/,vt=/^(1[0-1]|0?\d)/,ft=/^(1[0-2]|0?\d)/,mt=/^[0-5]?\d/,wt=/^[0-5]?\d/,yt=/^\d/,bt=/^\d{1,2}/,xt=/^\d{1,3}/,_t=/^\d{1,4}/,Ct=/^-?\d+/,kt=/^-?\d/,Mt=/^-?\d{1,2}/,Zt=/^-?\d{1,3}/,Vt=/^-?\d{1,4}/,St=/^([+-])(\d{2})(\d{2})?|Z/,Dt=/^([+-])(\d{2})(\d{2})|Z/,At=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Bt=/^([+-])(\d{2}):(\d{2})|Z/,Et=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Ft(t,e){return t?{value:e(t.value),rest:t.rest}:t}function Ht(t,e){const i=e.match(t);return i?{value:parseInt(i[0],10),rest:e.slice(i[0].length)}:null}function $t(t,e){const i=e.match(t);if(!i)return null;if("Z"===i[0])return{value:0,rest:e.slice(1)};return{value:("+"===i[1]?1:-1)*(36e5*(i[2]?parseInt(i[2],10):0)+6e4*(i[3]?parseInt(i[3],10):0)+1e3*(i[5]?parseInt(i[5],10):0)),rest:e.slice(i[0].length)}}function Tt(t){return Ht(Ct,t)}function It(t,e){switch(t){case 1:return Ht(yt,e);case 2:return Ht(bt,e);case 3:return Ht(xt,e);case 4:return Ht(_t,e);default:return Ht(new RegExp("^\\d{1,"+t+"}"),e)}}function Pt(t,e){switch(t){case 1:return Ht(kt,e);case 2:return Ht(Mt,e);case 3:return Ht(Zt,e);case 4:return Ht(Vt,e);default:return Ht(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Lt(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Rt(t,e){const i=e>0,a=i?e:1-e;let s;if(a<=50)s=t||100;else{const e=a+50;s=t+100*Math.trunc(e/100)-(t>=e%100?100:0)}return i?s:1-s}function Ot(t){return t%400==0||t%4==0&&t%100!=0}const Yt=[31,28,31,30,31,30,31,31,30,31,30,31],Nt=[31,29,31,30,31,30,31,31,30,31,30,31];function zt(t,i,s){const n=r(),o=s?.weekStartsOn??s?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,l=e(t),c=l.getDay(),d=7-o;return a(l,i<0||i>6?i-(c+d)%7:((i%7+7)%7+d)%7-(c+d)%7)}function Ut(t,i){const s=e(t),n=function(t){let i=e(t).getDay();return 0===i&&(i=7),i}(s);return a(s,i-n)}const qt={G:new class extends lt{priority=140;parse(t,e,i){switch(e){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,e,i){return e.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]},y:new class extends lt{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,i){const a=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return Ft(It(4,t),a);case"yo":return Ft(i.ordinalNumber(t,{unit:"year"}),a);default:return Ft(It(e.length,t),a)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i){const a=t.getFullYear();if(i.isTwoDigitYear){const e=Rt(i.year,a);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}const s="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}},Y:new class extends lt{priority=130;parse(t,e,i){const a=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return Ft(It(4,t),a);case"Yo":return Ft(i.ordinalNumber(t,{unit:"year"}),a);default:return Ft(It(e.length,t),a)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i,a){const s=k(t,a);if(i.isTwoDigitYear){const e=Rt(i.year,s);return t.setFullYear(e,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),o(t,a)}const n="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(n,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),o(t,a)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends lt{priority=130;parse(t,e){return Pt("R"===e?4:e.length,t)}set(t,e,a){const s=i(t,0);return s.setFullYear(a,0,4),s.setHours(0,0,0,0),l(s)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends lt{priority=130;parse(t,e){return Pt("u"===e?4:e.length,t)}set(t,e,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends lt{priority=120;parse(t,e,i){switch(e){case"Q":case"QQ":return It(e.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends lt{priority=120;parse(t,e,i){switch(e){case"q":case"qq":return It(e.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends lt{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,i){const a=t=>t-1;switch(e){case"M":return Ft(Ht(ct,t),a);case"MM":return Ft(It(2,t),a);case"Mo":return Ft(i.ordinalNumber(t,{unit:"month"}),a);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},L:new class extends lt{priority=110;parse(t,e,i){const a=t=>t-1;switch(e){case"L":return Ft(Ht(ct,t),a);case"LL":return Ft(It(2,t),a);case"Lo":return Ft(i.ordinalNumber(t,{unit:"month"}),a);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends lt{priority=100;parse(t,e,i){switch(e){case"w":return Ht(ut,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return It(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,i,a,s){return o(function(t,i,a){const s=e(t),n=M(s,a)-i;return s.setDate(s.getDate()-7*n),s}(t,a,s),s)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends lt{priority=100;parse(t,e,i){switch(e){case"I":return Ht(ut,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return It(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,i,a){return l(function(t,i){const a=e(t),s=C(a)-i;return a.setDate(a.getDate()-7*s),a}(t,a))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends lt{priority=90;subPriority=1;parse(t,e,i){switch(e){case"d":return Ht(dt,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return It(e.length,t)}}validate(t,e){const i=Ot(t.getFullYear()),a=t.getMonth();return i?e>=1&&e<=Nt[a]:e>=1&&e<=Yt[a]}set(t,e,i){return t.setDate(i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends lt{priority=90;subpriority=1;parse(t,e,i){switch(e){case"D":case"DD":return Ht(ht,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return It(e.length,t)}}validate(t,e){return Ot(t.getFullYear())?e>=1&&e<=366:e>=1&&e<=365}set(t,e,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends lt{priority=90;parse(t,e,i){switch(e){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,a){return(t=zt(t,i,a)).setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends lt{priority=90;parse(t,e,i,a){const s=t=>{const e=7*Math.floor((t-1)/7);return(t+a.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return Ft(It(e.length,t),s);case"eo":return Ft(i.ordinalNumber(t,{unit:"day"}),s);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,a){return(t=zt(t,i,a)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends lt{priority=90;parse(t,e,i,a){const s=t=>{const e=7*Math.floor((t-1)/7);return(t+a.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return Ft(It(e.length,t),s);case"co":return Ft(i.ordinalNumber(t,{unit:"day"}),s);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,a){return(t=zt(t,i,a)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends lt{priority=90;parse(t,e,i){const a=t=>0===t?7:t;switch(e){case"i":case"ii":return It(e.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return Ft(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Ft(i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ft(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);default:return Ft(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,e){return e>=1&&e<=7}set(t,e,i){return(t=Ut(t,i)).setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends lt{priority=80;parse(t,e,i){switch(e){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(Lt(i),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends lt{priority=80;parse(t,e,i){switch(e){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(Lt(i),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends lt{priority=80;parse(t,e,i){switch(e){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(Lt(i),0,0,0),t}incompatibleTokens=["a","b","t","T"]},h:new class extends lt{priority=70;parse(t,e,i){switch(e){case"h":return Ht(ft,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return It(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,i){const a=t.getHours()>=12;return a&&i<12?t.setHours(i+12,0,0,0):a||12!==i?t.setHours(i,0,0,0):t.setHours(0,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]},H:new class extends lt{priority=70;parse(t,e,i){switch(e){case"H":return Ht(pt,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return It(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,i){return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends lt{priority=70;parse(t,e,i){switch(e){case"K":return Ht(vt,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return It(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]},k:new class extends lt{priority=70;parse(t,e,i){switch(e){case"k":return Ht(gt,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return It(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,i){const a=i<=24?i%24:i;return t.setHours(a,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends lt{priority=60;parse(t,e,i){switch(e){case"m":return Ht(mt,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return It(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setMinutes(i,0,0),t}incompatibleTokens=["t","T"]},s:new class extends lt{priority=50;parse(t,e,i){switch(e){case"s":return Ht(wt,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return It(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setSeconds(i,0),t}incompatibleTokens=["t","T"]},S:new class extends lt{priority=30;parse(t,e){return Ft(It(e.length,t),t=>Math.trunc(t*Math.pow(10,3-e.length)))}set(t,e,i){return t.setMilliseconds(i),t}incompatibleTokens=["t","T"]},X:new class extends lt{priority=10;parse(t,e){switch(e){case"X":return $t(St,t);case"XX":return $t(Dt,t);case"XXXX":return $t(At,t);case"XXXXX":return $t(Et,t);default:return $t(Bt,t)}}set(t,e,a){return e.timestampIsSet?t:i(t,t.getTime()-h(t)-a)}incompatibleTokens=["t","T","x"]},x:new class extends lt{priority=10;parse(t,e){switch(e){case"x":return $t(St,t);case"xx":return $t(Dt,t);case"xxxx":return $t(At,t);case"xxxxx":return $t(Et,t);default:return $t(Bt,t)}}set(t,e,a){return e.timestampIsSet?t:i(t,t.getTime()-h(t)-a)}incompatibleTokens=["t","T","X"]},t:new class extends lt{priority=40;parse(t){return Tt(t)}set(t,e,a){return[i(t,1e3*a),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends lt{priority=20;parse(t){return Tt(t)}set(t,e,a){return[i(t,a),{timestampIsSet:!0}]}incompatibleTokens="*"}},Wt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,jt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Gt=/^'([^]*?)'?$/,Kt=/''/g,Qt=/\S/,Xt=/[a-zA-Z]/;function Jt(t,a,s,n){const o=Object.assign({},r()),l=n?.locale??o.locale??x,c=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,d=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(""===a)return""===t?e(s):i(s,NaN);const h={firstWeekContainsDate:c,weekStartsOn:d,locale:l},u=[new ot],p=a.match(jt).map(t=>{const e=t[0];if(e in R){return(0,R[e])(t,l.formatLong)}return t}).join("").match(Wt),g=[];for(let e of p){!n?.useAdditionalWeekYearTokens&&U(e)&&q(e,a,t),!n?.useAdditionalDayOfYearTokens&&z(e)&&q(e,a,t);const r=e[0],o=qt[r];if(o){const{incompatibleTokens:a}=o;if(Array.isArray(a)){const t=g.find(t=>a.includes(t.token)||t.token===r);if(t)throw new RangeError(`The format string mustn't contain \`${t.fullToken}\` and \`${e}\` at the same time`)}else if("*"===o.incompatibleTokens&&g.length>0)throw new RangeError(`The format string mustn't contain \`${e}\` and any other token at the same time`);g.push({token:r,fullToken:e});const n=o.run(t,e,l.match,h);if(!n)return i(s,NaN);u.push(n.setter),t=n.rest}else{if(r.match(Xt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===e?e="'":"'"===r&&(e=te(e)),0!==t.indexOf(e))return i(s,NaN);t=t.slice(e.length)}}if(t.length>0&&Qt.test(t))return i(s,NaN);const v=u.map(t=>t.priority).sort((t,e)=>e-t).filter((t,e,i)=>i.indexOf(t)===e).map(t=>u.filter(e=>e.priority===t).sort((t,e)=>e.subPriority-t.subPriority)).map(t=>t[0]);let f=e(s);if(isNaN(f.getTime()))return i(s,NaN);const m={};for(const t of v){if(!t.validate(f,h))return i(s,NaN);const e=t.set(f,m,h);Array.isArray(e)?(f=e[0],Object.assign(m,e[1])):f=e}return i(s,f)}function te(t){return t.match(Gt)[1].replace(Kt,"'")}
1
+ !function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";function e(e,t,i,a){var l,s=arguments.length,n=s<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,a);else for(var o=e.length-1;o>=0;o--)(l=e[o])&&(n=(s<3?l(n):s>3?l(t,i,n):l(t,i))||n);return s>3&&n&&Object.defineProperty(t,i,n),n}function t(e,t){const i=e.getDate(),a=e.getMonth()+1,l=e.getFullYear(),s=i<10?"0"+i:String(i),n=a<10?"0"+a:String(a),o=String(l);switch(t){case"dd/MM/yyyy":default:return`${s}/${n}/${o}`;case"MM/dd/yyyy":return`${n}/${s}/${o}`;case"yyyy/MM/dd":return`${o}/${n}/${s}`;case"PPPP":{const t=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(e),i=new Intl.DateTimeFormat("en-US",{month:"long"}).format(e),a=function(e){if(e>=11&&e<=13)return e+"th";switch(e%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd";default:return e+"th"}}(e.getDate());return`${t}, ${i} ${a}, ${e.getFullYear()}`}}}function i(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function a(e,t){return e.getTime()>t.getTime()}function l(e,t){return e.getTime()<t.getTime()}function s(e,t){return e.getTime()===t.getTime()}function n(e){return e.getDate()===i(e)}function o(e){return e instanceof Date&&!isNaN(e.getTime())}function r(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function c(e,t){const i=e.split("/");let a,l,s;switch(t){case"dd/MM/yyyy":a=parseInt(i[0],10),l=parseInt(i[1],10)-1,s=parseInt(i[2],10);break;case"MM/dd/yyyy":l=parseInt(i[0],10)-1,a=parseInt(i[1],10),s=parseInt(i[2],10);break;case"yyyy/MM/dd":s=parseInt(i[0],10),l=parseInt(i[1],10)-1,a=parseInt(i[2],10);break;default:return new Date(NaN)}if(isNaN(a)||isNaN(l)||isNaN(s))return new Date(NaN);const n=new Date(s,l,a,12,0,0,0);return n.getFullYear()!==s||n.getMonth()!==l||n.getDate()!==a?new Date(NaN):n}
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
- */const ee=globalThis,ie=ee.ShadowRoot&&(void 0===ee.ShadyCSS||ee.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ae=Symbol(),se=new WeakMap;class ne{constructor(t,e,i){if(this._$cssResult$=!0,i!==ae)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this._strings=e}get styleSheet(){let t=this._styleSheet;const e=this._strings;if(ie&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=se.get(e)),void 0===t&&((this._styleSheet=t=new CSSStyleSheet).replaceSync(this.cssText),i&&se.set(e,t))}return t}toString(){return this.cssText}}const re=(t,...e)=>{const i=1===t.length?t[0]:e.reduce((e,i,a)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${t}. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(i)+t[a+1],t[0]);return new ne(i,t,ae)},oe=t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return new ne("string"==typeof(i=e)?i:String(i),void 0,ae);var i},le=ie?t=>t:t=>t instanceof CSSStyleSheet?oe(t):t,{is:ce,defineProperty:de,getOwnPropertyDescriptor:he,getOwnPropertyNames:ue,getOwnPropertySymbols:pe,getPrototypeOf:ge}=Object,ve=globalThis;let fe;const me=ve.trustedTypes,we=me?me.emptyScript:"",ye=ve.reactiveElementPolyfillSupportDevMode;ve.litIssuedWarnings??=new Set,fe=(t,e)=>{e+=` See https://lit.dev/msg/${t} for more information.`,ve.litIssuedWarnings.has(e)||ve.litIssuedWarnings.has(t)||(console.warn(e),ve.litIssuedWarnings.add(e))},queueMicrotask(()=>{fe("dev-mode","Lit is in dev mode. Not recommended for production!"),ve.ShadyDOM?.inUse&&void 0===ye&&fe("polyfill-support-missing","Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded.")});const be=(t,e)=>t,xe={toAttribute(t,e){switch(e){case Boolean:t=t?we:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},_e=(t,e)=>!ce(t,e),Ce={attribute:!0,type:String,converter:xe,reflect:!1,useDefault:!1,hasChanged:_e};Symbol.metadata??=Symbol("metadata"),ve.litPropertyMetadata??=new WeakMap;class ke extends HTMLElement{static addInitializer(t){this.__prepare(),(this._initializers??=[]).push(t)}static get observedAttributes(){return this.finalize(),this.__attributeToPropertyMap&&[...this.__attributeToPropertyMap.keys()]}static createProperty(t,e=Ce){if(e.state&&(e.attribute=!1),this.__prepare(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol.for(`${String(t)} (@property() cache)`),a=this.getPropertyDescriptor(t,i,e);void 0!==a&&de(this.prototype,t,a)}}static getPropertyDescriptor(t,e,i){const{get:a,set:s}=he(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};if(null==a){if("value"in(he(this.prototype,t)??{}))throw new Error(`Field ${JSON.stringify(String(t))} on ${this.name} was declared as a reactive property but it's actually declared as a value on the prototype. Usually this is due to using @property or @state on a method.`);fe("reactive-property-without-getter",`Field ${JSON.stringify(String(t))} on ${this.name} was declared as a reactive property but it does not have a getter. This will be an error in a future version of Lit.`)}return{get:a,set(e){const n=a?.call(this);s?.call(this,e),this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ce}static __prepare(){if(this.hasOwnProperty(be("elementProperties")))return;const t=ge(this);t.finalize(),void 0!==t._initializers&&(this._initializers=[...t._initializers]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(be("finalized")))return;if(this.finalized=!0,this.__prepare(),this.hasOwnProperty(be("properties"))){const t=this.properties,e=[...ue(t),...pe(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this.__attributeToPropertyMap=new Map;for(const[t,e]of this.elementProperties){const i=this.__attributeNameForProperty(t,e);void 0!==i&&this.__attributeToPropertyMap.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles),this.hasOwnProperty("createProperty")&&fe("no-override-create-property","Overriding ReactiveElement.createProperty() is deprecated. The override will not be called with standard decorators"),this.hasOwnProperty("getPropertyDescriptor")&&fe("no-override-get-property-descriptor","Overriding ReactiveElement.getPropertyDescriptor() is deprecated. The override will not be called with standard decorators")}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(le(t))}else void 0!==t&&e.push(le(t));return e}static __attributeNameForProperty(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this.__instanceProperties=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.__reflectingProperty=null,this.__initialize()}__initialize(){this.__updatePromise=new Promise(t=>this.enableUpdating=t),this._$changedProperties=new Map,this.__saveInstanceProperties(),this.requestUpdate(),this.constructor._initializers?.forEach(t=>t(this))}addController(t){(this.__controllers??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this.__controllers?.delete(t)}__saveInstanceProperties(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this.__instanceProperties=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(ie)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const i of e){const e=document.createElement("style"),a=ee.litNonce;void 0!==a&&e.setAttribute("nonce",a),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this.__controllers?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this.__controllers?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,i){this._$attributeToProperty(t,i)}__propertyToAttribute(t,e){const i=this.constructor.elementProperties.get(t),a=this.constructor.__attributeNameForProperty(t,i);if(void 0!==a&&!0===i.reflect){const s=(void 0!==i.converter?.toAttribute?i.converter:xe).toAttribute(e,i.type);this.constructor.enabledWarnings.includes("migration")&&void 0===s&&fe("undefined-attribute-value",`The attribute value for the ${t} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`),this.__reflectingProperty=t,null==s?this.removeAttribute(a):this.setAttribute(a,s),this.__reflectingProperty=null}}_$attributeToProperty(t,e){const i=this.constructor,a=i.__attributeToPropertyMap.get(t);if(void 0!==a&&this.__reflectingProperty!==a){const t=i.getPropertyOptions(a),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:xe;this.__reflectingProperty=a;const n=s.fromAttribute(e,t.type);this[a]=n??this.__defaultValues?.get(a)??n,this.__reflectingProperty=null}}requestUpdate(t,e,i,a=!1,s){if(void 0!==t){t instanceof Event&&fe("","The requestUpdate() method was called with an Event as the property name. This is probably a mistake caused by binding this.requestUpdate as an event listener. Instead bind a function that will call it with no arguments: () => this.requestUpdate()");const n=this.constructor;!1===a&&(s=this[t]),i??=n.getPropertyOptions(t);if(!((i.hasChanged??_e)(s,e)||i.useDefault&&i.reflect&&s===this.__defaultValues?.get(t)&&!this.hasAttribute(n.__attributeNameForProperty(t,i))))return;this._$changeProperty(t,e,i)}!1===this.isUpdatePending&&(this.__updatePromise=this.__enqueueUpdate())}_$changeProperty(t,e,{useDefault:i,reflect:a,wrapped:s},n){i&&!(this.__defaultValues??=new Map).has(t)&&(this.__defaultValues.set(t,n??e??this[t]),!0!==s||void 0!==n)||(this._$changedProperties.has(t)||(this.hasUpdated||i||(e=void 0),this._$changedProperties.set(t,e)),!0===a&&this.__reflectingProperty!==t&&(this.__reflectingProperties??=new Set).add(t))}async __enqueueUpdate(){this.isUpdatePending=!0;try{await this.__updatePromise}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){const t=this.performUpdate();return this.constructor.enabledWarnings.includes("async-perform-update")&&"function"==typeof t?.then&&fe("async-perform-update",`Element ${this.localName} returned a Promise from performUpdate(). This behavior is deprecated and will be removed in a future version of ReactiveElement.`),t}performUpdate(){if(!this.isUpdatePending)return;var t;if(t={kind:"update"},ve.emitLitDebugLogEvents&&ve.dispatchEvent(new CustomEvent("lit-debug",{detail:t})),!this.hasUpdated){this.renderRoot??=this.createRenderRoot();{const t=[...this.constructor.elementProperties.keys()].filter(t=>this.hasOwnProperty(t)&&t in ge(this));if(t.length)throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${t.join(", ")}. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.`)}if(this.__instanceProperties){for(const[t,e]of this.__instanceProperties)this[t]=e;this.__instanceProperties=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t){const{wrapped:t}=i,a=this[e];!0!==t||this._$changedProperties.has(e)||void 0===a||this._$changeProperty(e,void 0,i,a)}}let e=!1;const i=this._$changedProperties;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),this.__controllers?.forEach(t=>t.hostUpdate?.()),this.update(i)):this.__markUpdated()}catch(t){throw e=!1,this.__markUpdated(),t}e&&this._$didUpdate(i)}willUpdate(t){}_$didUpdate(t){this.__controllers?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t),this.isUpdatePending&&this.constructor.enabledWarnings.includes("change-in-update")&&fe("change-in-update",`Element ${this.localName} scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update.`)}__markUpdated(){this._$changedProperties=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.__updatePromise}shouldUpdate(t){return!0}update(t){this.__reflectingProperties&&=this.__reflectingProperties.forEach(t=>this.__propertyToAttribute(t,this[t])),this.__markUpdated()}updated(t){}firstUpdated(t){}}ke.elementStyles=[],ke.shadowRootOptions={mode:"open"},ke[be("elementProperties")]=new Map,ke[be("finalized")]=new Map,ye?.({ReactiveElement:ke});{ke.enabledWarnings=["change-in-update","async-perform-update"];const t=function(t){t.hasOwnProperty(be("enabledWarnings"))||(t.enabledWarnings=t.enabledWarnings.slice())};ke.enableWarning=function(e){t(this),this.enabledWarnings.includes(e)||this.enabledWarnings.push(e)},ke.disableWarning=function(e){t(this);const i=this.enabledWarnings.indexOf(e);i>=0&&this.enabledWarnings.splice(i,1)}}(ve.reactiveElementVersions??=[]).push("2.1.2"),ve.reactiveElementVersions.length>1&&queueMicrotask(()=>{fe("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});
6
+ */"function"==typeof SuppressedError&&SuppressedError;const d=globalThis,h=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,v=Symbol(),u=new WeakMap;class p{constructor(e,t,i){if(this._$cssResult$=!0,i!==v)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this._strings=t}get styleSheet(){let e=this._styleSheet;const t=this._strings;if(h&&void 0===e){const i=void 0!==t&&1===t.length;i&&(e=u.get(t)),void 0===e&&((this._styleSheet=e=new CSSStyleSheet).replaceSync(this.cssText),i&&u.set(t,e))}return e}toString(){return this.cssText}}const g=(e,...t)=>{const i=1===e.length?e[0]:t.reduce((t,i,a)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(i)+e[a+1],e[0]);return new p(i,e,v)},f=e=>{let t="";for(const i of e.cssRules)t+=i.cssText;return new p("string"==typeof(i=t)?i:String(i),void 0,v);var i},w=h?e=>e:e=>e instanceof CSSStyleSheet?f(e):e,{is:m,defineProperty:y,getOwnPropertyDescriptor:b,getOwnPropertyNames:x,getOwnPropertySymbols:C,getPrototypeOf:_}=Object,Z=globalThis;let M;const V=Z.trustedTypes,$=V?V.emptyScript:"",k=Z.reactiveElementPolyfillSupportDevMode;Z.litIssuedWarnings??=new Set,M=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,Z.litIssuedWarnings.has(t)||Z.litIssuedWarnings.has(e)||(console.warn(t),Z.litIssuedWarnings.add(t))},queueMicrotask(()=>{M("dev-mode","Lit is in dev mode. Not recommended for production!"),Z.ShadyDOM?.inUse&&void 0===k&&M("polyfill-support-missing","Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded.")});const H=(e,t)=>e,S={toAttribute(e,t){switch(t){case Boolean:e=e?$:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},D=(e,t)=>!m(e,t),B={attribute:!0,type:String,converter:S,reflect:!1,useDefault:!1,hasChanged:D};Symbol.metadata??=Symbol("metadata"),Z.litPropertyMetadata??=new WeakMap;class A extends HTMLElement{static addInitializer(e){this.__prepare(),(this._initializers??=[]).push(e)}static get observedAttributes(){return this.finalize(),this.__attributeToPropertyMap&&[...this.__attributeToPropertyMap.keys()]}static createProperty(e,t=B){if(t.state&&(t.attribute=!1),this.__prepare(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const i=Symbol.for(`${String(e)} (@property() cache)`),a=this.getPropertyDescriptor(e,i,t);void 0!==a&&y(this.prototype,e,a)}}static getPropertyDescriptor(e,t,i){const{get:a,set:l}=b(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};if(null==a){if("value"in(b(this.prototype,e)??{}))throw new Error(`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it's actually declared as a value on the prototype. Usually this is due to using @property or @state on a method.`);M("reactive-property-without-getter",`Field ${JSON.stringify(String(e))} on ${this.name} was declared as a reactive property but it does not have a getter. This will be an error in a future version of Lit.`)}return{get:a,set(t){const s=a?.call(this);l?.call(this,t),this.requestUpdate(e,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??B}static __prepare(){if(this.hasOwnProperty(H("elementProperties")))return;const e=_(this);e.finalize(),void 0!==e._initializers&&(this._initializers=[...e._initializers]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(H("finalized")))return;if(this.finalized=!0,this.__prepare(),this.hasOwnProperty(H("properties"))){const e=this.properties,t=[...x(e),...C(e)];for(const i of t)this.createProperty(i,e[i])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,i]of t)this.elementProperties.set(e,i)}this.__attributeToPropertyMap=new Map;for(const[e,t]of this.elementProperties){const i=this.__attributeNameForProperty(e,t);void 0!==i&&this.__attributeToPropertyMap.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles),this.hasOwnProperty("createProperty")&&M("no-override-create-property","Overriding ReactiveElement.createProperty() is deprecated. The override will not be called with standard decorators"),this.hasOwnProperty("getPropertyDescriptor")&&M("no-override-get-property-descriptor","Overriding ReactiveElement.getPropertyDescriptor() is deprecated. The override will not be called with standard decorators")}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(w(e))}else void 0!==e&&t.push(w(e));return t}static __attributeNameForProperty(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this.__instanceProperties=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.__reflectingProperty=null,this.__initialize()}__initialize(){this.__updatePromise=new Promise(e=>this.enableUpdating=e),this._$changedProperties=new Map,this.__saveInstanceProperties(),this.requestUpdate(),this.constructor._initializers?.forEach(e=>e(this))}addController(e){(this.__controllers??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this.__controllers?.delete(e)}__saveInstanceProperties(){const e=new Map,t=this.constructor.elementProperties;for(const i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this.__instanceProperties=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{if(h)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const i of t){const t=document.createElement("style"),a=d.litNonce;void 0!==a&&t.setAttribute("nonce",a),t.textContent=i.cssText,e.appendChild(t)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this.__controllers?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this.__controllers?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,i){this._$attributeToProperty(e,i)}__propertyToAttribute(e,t){const i=this.constructor.elementProperties.get(e),a=this.constructor.__attributeNameForProperty(e,i);if(void 0!==a&&!0===i.reflect){const l=(void 0!==i.converter?.toAttribute?i.converter:S).toAttribute(t,i.type);this.constructor.enabledWarnings.includes("migration")&&void 0===l&&M("undefined-attribute-value",`The attribute value for the ${e} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`),this.__reflectingProperty=e,null==l?this.removeAttribute(a):this.setAttribute(a,l),this.__reflectingProperty=null}}_$attributeToProperty(e,t){const i=this.constructor,a=i.__attributeToPropertyMap.get(e);if(void 0!==a&&this.__reflectingProperty!==a){const e=i.getPropertyOptions(a),l="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:S;this.__reflectingProperty=a;const s=l.fromAttribute(t,e.type);this[a]=s??this.__defaultValues?.get(a)??s,this.__reflectingProperty=null}}requestUpdate(e,t,i,a=!1,l){if(void 0!==e){e instanceof Event&&M("","The requestUpdate() method was called with an Event as the property name. This is probably a mistake caused by binding this.requestUpdate as an event listener. Instead bind a function that will call it with no arguments: () => this.requestUpdate()");const s=this.constructor;!1===a&&(l=this[e]),i??=s.getPropertyOptions(e);if(!((i.hasChanged??D)(l,t)||i.useDefault&&i.reflect&&l===this.__defaultValues?.get(e)&&!this.hasAttribute(s.__attributeNameForProperty(e,i))))return;this._$changeProperty(e,t,i)}!1===this.isUpdatePending&&(this.__updatePromise=this.__enqueueUpdate())}_$changeProperty(e,t,{useDefault:i,reflect:a,wrapped:l},s){i&&!(this.__defaultValues??=new Map).has(e)&&(this.__defaultValues.set(e,s??t??this[e]),!0!==l||void 0!==s)||(this._$changedProperties.has(e)||(this.hasUpdated||i||(t=void 0),this._$changedProperties.set(e,t)),!0===a&&this.__reflectingProperty!==e&&(this.__reflectingProperties??=new Set).add(e))}async __enqueueUpdate(){this.isUpdatePending=!0;try{await this.__updatePromise}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){const e=this.performUpdate();return this.constructor.enabledWarnings.includes("async-perform-update")&&"function"==typeof e?.then&&M("async-perform-update",`Element ${this.localName} returned a Promise from performUpdate(). This behavior is deprecated and will be removed in a future version of ReactiveElement.`),e}performUpdate(){if(!this.isUpdatePending)return;var e;if(e={kind:"update"},Z.emitLitDebugLogEvents&&Z.dispatchEvent(new CustomEvent("lit-debug",{detail:e})),!this.hasUpdated){this.renderRoot??=this.createRenderRoot();{const e=[...this.constructor.elementProperties.keys()].filter(e=>this.hasOwnProperty(e)&&e in _(this));if(e.length)throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${e.join(", ")}. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.`)}if(this.__instanceProperties){for(const[e,t]of this.__instanceProperties)this[e]=t;this.__instanceProperties=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,i]of e){const{wrapped:e}=i,a=this[t];!0!==e||this._$changedProperties.has(t)||void 0===a||this._$changeProperty(t,void 0,i,a)}}let t=!1;const i=this._$changedProperties;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),this.__controllers?.forEach(e=>e.hostUpdate?.()),this.update(i)):this.__markUpdated()}catch(e){throw t=!1,this.__markUpdated(),e}t&&this._$didUpdate(i)}willUpdate(e){}_$didUpdate(e){this.__controllers?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e),this.isUpdatePending&&this.constructor.enabledWarnings.includes("change-in-update")&&M("change-in-update",`Element ${this.localName} scheduled an update (generally because a property was set) after an update completed, causing a new update to be scheduled. This is inefficient and should be avoided unless the next update can only be scheduled as a side effect of the previous update.`)}__markUpdated(){this._$changedProperties=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.__updatePromise}shouldUpdate(e){return!0}update(e){this.__reflectingProperties&&=this.__reflectingProperties.forEach(e=>this.__propertyToAttribute(e,this[e])),this.__markUpdated()}updated(e){}firstUpdated(e){}}A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[H("elementProperties")]=new Map,A[H("finalized")]=new Map,k?.({ReactiveElement:A});{A.enabledWarnings=["change-in-update","async-perform-update"];const e=function(e){e.hasOwnProperty(H("enabledWarnings"))||(e.enabledWarnings=e.enabledWarnings.slice())};A.enableWarning=function(t){e(this),this.enabledWarnings.includes(t)||this.enabledWarnings.push(t)},A.disableWarning=function(t){e(this);const i=this.enabledWarnings.indexOf(t);i>=0&&this.enabledWarnings.splice(i,1)}}(Z.reactiveElementVersions??=[]).push("2.1.2"),Z.reactiveElementVersions.length>1&&queueMicrotask(()=>{M("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});
7
7
  /**
8
8
  * @license
9
9
  * Copyright 2017 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
- const Me=globalThis,Ze=t=>{Me.emitLitDebugLogEvents&&Me.dispatchEvent(new CustomEvent("lit-debug",{detail:t}))};let Ve,Se=0;Me.litIssuedWarnings??=new Set,Ve=(t,e)=>{e+=t?` See https://lit.dev/msg/${t} for more information.`:"",Me.litIssuedWarnings.has(e)||Me.litIssuedWarnings.has(t)||(console.warn(e),Me.litIssuedWarnings.add(e))},queueMicrotask(()=>{Ve("dev-mode","Lit is in dev mode. Not recommended for production!")});const De=Me.ShadyDOM?.inUse&&!0===Me.ShadyDOM?.noPatch?Me.ShadyDOM.wrap:t=>t,Ae=Me.trustedTypes,Be=Ae?Ae.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ee=t=>t,Fe=(t,e,i)=>Ee,He=t=>{if(ni!==Fe)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");ni=t},$e=()=>{ni=Fe},Te=(t,e,i)=>ni(t,e,i),Ie="$lit$",Pe=`lit$${Math.random().toFixed(9).slice(2)}$`,Le="?"+Pe,Re=`<${Le}>`,Oe=document,Ye=()=>Oe.createComment(""),Ne=t=>null===t||"object"!=typeof t&&"function"!=typeof t,ze=Array.isArray,Ue="[ \t\n\f\r]",qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,We=/-->/g,je=/>/g,Ge=new RegExp(`>|${Ue}(?:([^\\s"'>=/]+)(${Ue}*=${Ue}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Ke=/'/g,Qe=/"/g,Xe=/^(?:script|style|textarea|title)$/i,Je=(ti=1,(t,...e)=>(t.some(t=>void 0===t)&&console.warn("Some template strings are undefined.\nThis is probably caused by illegal octal escape sequences."),e.some(t=>t?._$litStatic$)&&Ve("","Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\nPlease use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions"),{_$litType$:ti,strings:t,values:e}));var ti;const ei=Symbol.for("lit-noChange"),ii=Symbol.for("lit-nothing"),ai=new WeakMap,si=Oe.createTreeWalker(Oe,129);let ni=Fe;function ri(t,e){if(!ze(t)||!t.hasOwnProperty("raw")){let t="invalid template strings array";throw t="\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n ".trim().replace(/\n */g,"\n"),new Error(t)}return void 0!==Be?Be.createHTML(e):e}class oi{constructor({strings:t,_$litType$:e},i){let a;this.parts=[];let s=0,n=0;const r=t.length-1,o=this.parts,[l,c]=((t,e)=>{const i=t.length-1,a=[];let s,n=2===e?"<svg>":3===e?"<math>":"",r=qe;for(let e=0;e<i;e++){const i=t[e];let o,l,c=-1,d=0;for(;d<i.length&&(r.lastIndex=d,l=r.exec(i),null!==l);)if(d=r.lastIndex,r===qe){if("!--"===l[1])r=We;else if(void 0!==l[1])r=je;else if(void 0!==l[2])Xe.test(l[2])&&(s=new RegExp(`</${l[2]}`,"g")),r=Ge;else if(void 0!==l[3])throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions")}else r===Ge?">"===l[0]?(r=s??qe,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,o=l[1],r=void 0===l[3]?Ge:'"'===l[3]?Qe:Ke):r===Qe||r===Ke?r=Ge:r===We||r===je?r=qe:(r=Ge,s=void 0);console.assert(-1===c||r===Ge||r===Ke||r===Qe,"unexpected parse state B");const h=r===Ge&&t[e+1].startsWith("/>")?" ":"";n+=r===qe?i+Re:c>=0?(a.push(o),i.slice(0,c)+Ie+i.slice(c)+Pe+h):i+Pe+(-2===c?e:h)}return[ri(t,n+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),a]})(t,e);if(this.el=oi.createElement(l,i),si.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(a=si.nextNode())&&o.length<r;){if(1===a.nodeType){{const t=a.localName;if(/^(?:textarea|template)$/i.test(t)&&a.innerHTML.includes(Pe)){const e=`Expressions are not supported inside \`${t}\` elements. See https://lit.dev/msg/expression-in-${t} for more information.`;if("template"===t)throw new Error(e);Ve("",e)}}if(a.hasAttributes())for(const t of a.getAttributeNames())if(t.endsWith(Ie)){const e=c[n++],i=a.getAttribute(t).split(Pe),r=/([.?@])?(.*)/.exec(e);o.push({type:1,index:s,name:r[2],strings:i,ctor:"."===r[1]?ui:"?"===r[1]?pi:"@"===r[1]?gi:hi}),a.removeAttribute(t)}else t.startsWith(Pe)&&(o.push({type:6,index:s}),a.removeAttribute(t));if(Xe.test(a.tagName)){const t=a.textContent.split(Pe),e=t.length-1;if(e>0){a.textContent=Ae?Ae.emptyScript:"";for(let i=0;i<e;i++)a.append(t[i],Ye()),si.nextNode(),o.push({type:2,index:++s});a.append(t[e],Ye())}}}else if(8===a.nodeType){if(a.data===Le)o.push({type:2,index:s});else{let t=-1;for(;-1!==(t=a.data.indexOf(Pe,t+1));)o.push({type:7,index:s}),t+=Pe.length-1}}s++}if(c.length!==n)throw new Error('Detected duplicate attribute bindings. This occurs if your template has duplicate attributes on an element tag. For example "<input ?disabled=${true} ?disabled=${false}>" contains a duplicate "disabled" attribute. The error was detected in the following template: \n`'+t.join("${...}")+"`");Ze&&Ze({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:t})}static createElement(t,e){const i=Oe.createElement("template");return i.innerHTML=t,i}}function li(t,e,i=t,a){if(e===ei)return e;let s=void 0!==a?i.__directives?.[a]:i.__directive;const n=Ne(e)?void 0:e._$litDirective$;return s?.constructor!==n&&(s?._$notifyDirectiveConnectionChanged?.(!1),void 0===n?s=void 0:(s=new n(t),s._$initialize(t,i,a)),void 0!==a?(i.__directives??=[])[a]=s:i.__directive=s),void 0!==s&&(e=li(t,s._$resolve(t,e.values),s,a)),e}class ci{constructor(t,e){this._$parts=[],this._$disconnectableChildren=void 0,this._$template=t,this._$parent=e}get parentNode(){return this._$parent.parentNode}get _$isConnected(){return this._$parent._$isConnected}_clone(t){const{el:{content:e},parts:i}=this._$template,a=(t?.creationScope??Oe).importNode(e,!0);si.currentNode=a;let s=si.nextNode(),n=0,r=0,o=i[0];for(;void 0!==o;){if(n===o.index){let e;2===o.type?e=new di(s,s.nextSibling,this,t):1===o.type?e=new o.ctor(s,o.name,o.strings,this,t):6===o.type&&(e=new vi(s,this,t)),this._$parts.push(e),o=i[++r]}n!==o?.index&&(s=si.nextNode(),n++)}return si.currentNode=Oe,a}_update(t){let e=0;for(const i of this._$parts)void 0!==i&&(Ze&&Ze({kind:"set part",part:i,value:t[e],valueIndex:e,values:t,templateInstance:this}),void 0!==i.strings?(i._$setValue(t,i,e),e+=i.strings.length-2):i._$setValue(t[e])),e++}}class di{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(t,e,i,a){this.type=2,this._$committedValue=ii,this._$disconnectableChildren=void 0,this._$startNode=t,this._$endNode=e,this._$parent=i,this.options=a,this.__isConnected=a?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let t=De(this._$startNode).parentNode;const e=this._$parent;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$startNode}get endNode(){return this._$endNode}_$setValue(t,e=this){if(null===this.parentNode)throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");if(t=li(this,t,e),Ne(t))t===ii||null==t||""===t?(this._$committedValue!==ii&&(Ze&&Ze({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=ii):t!==this._$committedValue&&t!==ei&&this._commitText(t);else if(void 0!==t._$litType$)this._commitTemplateResult(t);else if(void 0!==t.nodeType){if(this.options?.host===t)return this._commitText("[probable mistake: rendered a template's host in itself (commonly caused by writing ${this} in a template]"),void console.warn("Attempted to render the template host",t,"inside itself. This is almost always a mistake, and in dev mode ","we render some warning text. In production however, we'll ","render it, which will usually result in an error, and sometimes ","in the element disappearing from the DOM.");this._commitNode(t)}else(t=>ze(t)||"function"==typeof t?.[Symbol.iterator])(t)?this._commitIterable(t):this._commitText(t)}_insert(t){return De(De(this._$startNode).parentNode).insertBefore(t,this._$endNode)}_commitNode(t){if(this._$committedValue!==t){if(this._$clear(),ni!==Fe){const t=this._$startNode.parentNode?.nodeName;if("STYLE"===t||"SCRIPT"===t){let e="Forbidden";throw e="STYLE"===t?"Lit does not support binding inside style nodes. This is a security risk, as style injection attacks can exfiltrate data and spoof UIs. Consider instead using css`...` literals to compose styles, and do dynamic styling with css custom properties, ::parts, <slot>s, and by mutating the DOM rather than stylesheets.":"Lit does not support binding inside script nodes. This is a security risk, as it could allow arbitrary code execution.",new Error(e)}}Ze&&Ze({kind:"commit node",start:this._$startNode,parent:this._$parent,value:t,options:this.options}),this._$committedValue=this._insert(t)}}_commitText(t){if(this._$committedValue!==ii&&Ne(this._$committedValue)){const e=De(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=Te(e,"data","property")),t=this._textSanitizer(t),Ze&&Ze({kind:"commit text",node:e,value:t,options:this.options}),e.data=t}else{const e=Oe.createTextNode("");this._commitNode(e),void 0===this._textSanitizer&&(this._textSanitizer=Te(e,"data","property")),t=this._textSanitizer(t),Ze&&Ze({kind:"commit text",node:e,value:t,options:this.options}),e.data=t}this._$committedValue=t}_commitTemplateResult(t){const{values:e,_$litType$:i}=t,a="number"==typeof i?this._$getTemplate(t):(void 0===i.el&&(i.el=oi.createElement(ri(i.h,i.h[0]),this.options)),i);if(this._$committedValue?._$template===a)Ze&&Ze({kind:"template updating",template:a,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:e}),this._$committedValue._update(e);else{const t=new ci(a,this),i=t._clone(this.options);Ze&&Ze({kind:"template instantiated",template:a,instance:t,parts:t._$parts,options:this.options,fragment:i,values:e}),t._update(e),Ze&&Ze({kind:"template instantiated and updated",template:a,instance:t,parts:t._$parts,options:this.options,fragment:i,values:e}),this._commitNode(i),this._$committedValue=t}}_$getTemplate(t){let e=ai.get(t.strings);return void 0===e&&ai.set(t.strings,e=new oi(t)),e}_commitIterable(t){ze(this._$committedValue)||(this._$committedValue=[],this._$clear());const e=this._$committedValue;let i,a=0;for(const s of t)a===e.length?e.push(i=new di(this._insert(Ye()),this._insert(Ye()),this,this.options)):i=e[a],i._$setValue(s),a++;a<e.length&&(this._$clear(i&&De(i._$endNode).nextSibling,a),e.length=a)}_$clear(t=De(this._$startNode).nextSibling,e){for(this._$notifyConnectionChanged?.(!1,!0,e);t!==this._$endNode;){const e=De(t).nextSibling;De(t).remove(),t=e}}setConnected(t){if(void 0!==this._$parent)throw new Error("part.setConnected() may only be called on a RootPart returned from render().");this.__isConnected=t,this._$notifyConnectionChanged?.(t)}}class hi{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(t,e,i,a,s){this.type=1,this._$committedValue=ii,this._$disconnectableChildren=void 0,this.element=t,this.name=e,this._$parent=a,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$committedValue=new Array(i.length-1).fill(new String),this.strings=i):this._$committedValue=ii,this._sanitizer=void 0}_$setValue(t,e=this,i,a){const s=this.strings;let n=!1;if(void 0===s)t=li(this,t,e,0),n=!Ne(t)||t!==this._$committedValue&&t!==ei,n&&(this._$committedValue=t);else{const a=t;let r,o;for(t=s[0],r=0;r<s.length-1;r++)o=li(this,a[i+r],e,r),o===ei&&(o=this._$committedValue[r]),n||=!Ne(o)||o!==this._$committedValue[r],o===ii?t=ii:t!==ii&&(t+=(o??"")+s[r+1]),this._$committedValue[r]=o}n&&!a&&this._commitValue(t)}_commitValue(t){t===ii?De(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=ni(this.element,this.name,"attribute")),t=this._sanitizer(t??""),Ze&&Ze({kind:"commit attribute",element:this.element,name:this.name,value:t,options:this.options}),De(this.element).setAttribute(this.name,t??""))}}class ui extends hi{constructor(){super(...arguments),this.type=3}_commitValue(t){void 0===this._sanitizer&&(this._sanitizer=ni(this.element,this.name,"property")),t=this._sanitizer(t),Ze&&Ze({kind:"commit property",element:this.element,name:this.name,value:t,options:this.options}),this.element[this.name]=t===ii?void 0:t}}class pi extends hi{constructor(){super(...arguments),this.type=4}_commitValue(t){Ze&&Ze({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!t||t===ii),options:this.options}),De(this.element).toggleAttribute(this.name,!!t&&t!==ii)}}class gi extends hi{constructor(t,e,i,a,s){if(super(t,e,i,a,s),this.type=5,void 0!==this.strings)throw new Error(`A \`<${t.localName}>\` has a \`@${e}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`)}_$setValue(t,e=this){if((t=li(this,t,e,0)??ii)===ei)return;const i=this._$committedValue,a=t===ii&&i!==ii||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,s=t!==ii&&(i===ii||a);Ze&&Ze({kind:"commit event listener",element:this.element,name:this.name,value:t,options:this.options,removeListener:a,addListener:s,oldListener:i}),a&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,t),this._$committedValue=t}handleEvent(t){"function"==typeof this._$committedValue?this._$committedValue.call(this.options?.host??this.element,t):this._$committedValue.handleEvent(t)}}class vi{constructor(t,e,i){this.element=t,this.type=6,this._$disconnectableChildren=void 0,this._$parent=e,this.options=i}get _$isConnected(){return this._$parent._$isConnected}_$setValue(t){Ze&&Ze({kind:"commit to element binding",element:this.element,value:t,options:this.options}),li(this,t)}}const fi=Me.litHtmlPolyfillSupportDevMode;fi?.(oi,di),(Me.litHtmlVersions??=[]).push("3.3.2"),Me.litHtmlVersions.length>1&&queueMicrotask(()=>{Ve("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const mi=(t,e,i)=>{if(null==e)throw new TypeError(`The container to render into may not be ${e}`);const a=Se++,s=i?.renderBefore??e;let n=s._$litPart$;if(Ze&&Ze({kind:"begin render",id:a,value:t,container:e,options:i,part:n}),void 0===n){const t=i?.renderBefore??null;s._$litPart$=n=new di(e.insertBefore(Ye(),t),t,void 0,i??{})}return n._$setValue(t),Ze&&Ze({kind:"end render",id:a,value:t,container:e,options:i,part:n}),n};mi.setSanitizer=He,mi.createSanitizer=Te,mi._testOnlyClearSanitizerFactoryDoNotCallOrElse=$e;
12
+ const L=globalThis,I=e=>{L.emitLitDebugLogEvents&&L.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let E,T=0;L.litIssuedWarnings??=new Set,E=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",L.litIssuedWarnings.has(t)||L.litIssuedWarnings.has(e)||(console.warn(t),L.litIssuedWarnings.add(t))},queueMicrotask(()=>{E("dev-mode","Lit is in dev mode. Not recommended for production!")});const P=L.ShadyDOM?.inUse&&!0===L.ShadyDOM?.noPatch?L.ShadyDOM.wrap:e=>e,F=L.trustedTypes,R=F?F.createPolicy("lit-html",{createHTML:e=>e}):void 0,O=e=>e,z=(e,t,i)=>O,Y=e=>{if(pe!==z)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");pe=e},N=()=>{pe=z},U=(e,t,i)=>pe(e,t,i),W="$lit$",q=`lit$${Math.random().toFixed(9).slice(2)}$`,j="?"+q,K=`<${j}>`,J=document,G=()=>J.createComment(""),X=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Q=Array.isArray,ee="[ \t\n\f\r]",te=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ie=/-->/g,ae=/>/g,le=new RegExp(`>|${ee}(?:([^\\s"'>=/]+)(${ee}*=${ee}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),se=/'/g,ne=/"/g,oe=/^(?:script|style|textarea|title)$/i,re=(ce=1,(e,...t)=>(e.some(e=>void 0===e)&&console.warn("Some template strings are undefined.\nThis is probably caused by illegal octal escape sequences."),t.some(e=>e?._$litStatic$)&&E("","Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\nPlease use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions"),{_$litType$:ce,strings:e,values:t}));var ce;const de=Symbol.for("lit-noChange"),he=Symbol.for("lit-nothing"),ve=new WeakMap,ue=J.createTreeWalker(J,129);let pe=z;function ge(e,t){if(!Q(e)||!e.hasOwnProperty("raw")){let e="invalid template strings array";throw e="\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n ".trim().replace(/\n */g,"\n"),new Error(e)}return void 0!==R?R.createHTML(t):t}class fe{constructor({strings:e,_$litType$:t},i){let a;this.parts=[];let l=0,s=0;const n=e.length-1,o=this.parts,[r,c]=((e,t)=>{const i=e.length-1,a=[];let l,s=2===t?"<svg>":3===t?"<math>":"",n=te;for(let t=0;t<i;t++){const i=e[t];let o,r,c=-1,d=0;for(;d<i.length&&(n.lastIndex=d,r=n.exec(i),null!==r);)if(d=n.lastIndex,n===te){if("!--"===r[1])n=ie;else if(void 0!==r[1])n=ae;else if(void 0!==r[2])oe.test(r[2])&&(l=new RegExp(`</${r[2]}`,"g")),n=le;else if(void 0!==r[3])throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions")}else n===le?">"===r[0]?(n=l??te,c=-1):void 0===r[1]?c=-2:(c=n.lastIndex-r[2].length,o=r[1],n=void 0===r[3]?le:'"'===r[3]?ne:se):n===ne||n===se?n=le:n===ie||n===ae?n=te:(n=le,l=void 0);console.assert(-1===c||n===le||n===se||n===ne,"unexpected parse state B");const h=n===le&&e[t+1].startsWith("/>")?" ":"";s+=n===te?i+K:c>=0?(a.push(o),i.slice(0,c)+W+i.slice(c)+q+h):i+q+(-2===c?t:h)}return[ge(e,s+(e[i]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),a]})(e,t);if(this.el=fe.createElement(r,i),ue.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(a=ue.nextNode())&&o.length<n;){if(1===a.nodeType){{const e=a.localName;if(/^(?:textarea|template)$/i.test(e)&&a.innerHTML.includes(q)){const t=`Expressions are not supported inside \`${e}\` elements. See https://lit.dev/msg/expression-in-${e} for more information.`;if("template"===e)throw new Error(t);E("",t)}}if(a.hasAttributes())for(const e of a.getAttributeNames())if(e.endsWith(W)){const t=c[s++],i=a.getAttribute(e).split(q),n=/([.?@])?(.*)/.exec(t);o.push({type:1,index:l,name:n[2],strings:i,ctor:"."===n[1]?xe:"?"===n[1]?Ce:"@"===n[1]?_e:be}),a.removeAttribute(e)}else e.startsWith(q)&&(o.push({type:6,index:l}),a.removeAttribute(e));if(oe.test(a.tagName)){const e=a.textContent.split(q),t=e.length-1;if(t>0){a.textContent=F?F.emptyScript:"";for(let i=0;i<t;i++)a.append(e[i],G()),ue.nextNode(),o.push({type:2,index:++l});a.append(e[t],G())}}}else if(8===a.nodeType){if(a.data===j)o.push({type:2,index:l});else{let e=-1;for(;-1!==(e=a.data.indexOf(q,e+1));)o.push({type:7,index:l}),e+=q.length-1}}l++}if(c.length!==s)throw new Error('Detected duplicate attribute bindings. This occurs if your template has duplicate attributes on an element tag. For example "<input ?disabled=${true} ?disabled=${false}>" contains a duplicate "disabled" attribute. The error was detected in the following template: \n`'+e.join("${...}")+"`");I&&I({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const i=J.createElement("template");return i.innerHTML=e,i}}function we(e,t,i=e,a){if(t===de)return t;let l=void 0!==a?i.__directives?.[a]:i.__directive;const s=X(t)?void 0:t._$litDirective$;return l?.constructor!==s&&(l?._$notifyDirectiveConnectionChanged?.(!1),void 0===s?l=void 0:(l=new s(e),l._$initialize(e,i,a)),void 0!==a?(i.__directives??=[])[a]=l:i.__directive=l),void 0!==l&&(t=we(e,l._$resolve(e,t.values),l,a)),t}class me{constructor(e,t){this._$parts=[],this._$disconnectableChildren=void 0,this._$template=e,this._$parent=t}get parentNode(){return this._$parent.parentNode}get _$isConnected(){return this._$parent._$isConnected}_clone(e){const{el:{content:t},parts:i}=this._$template,a=(e?.creationScope??J).importNode(t,!0);ue.currentNode=a;let l=ue.nextNode(),s=0,n=0,o=i[0];for(;void 0!==o;){if(s===o.index){let t;2===o.type?t=new ye(l,l.nextSibling,this,e):1===o.type?t=new o.ctor(l,o.name,o.strings,this,e):6===o.type&&(t=new Ze(l,this,e)),this._$parts.push(t),o=i[++n]}s!==o?.index&&(l=ue.nextNode(),s++)}return ue.currentNode=J,a}_update(e){let t=0;for(const i of this._$parts)void 0!==i&&(I&&I({kind:"set part",part:i,value:e[t],valueIndex:t,values:e,templateInstance:this}),void 0!==i.strings?(i._$setValue(e,i,t),t+=i.strings.length-2):i._$setValue(e[t])),t++}}class ye{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,i,a){this.type=2,this._$committedValue=he,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=i,this.options=a,this.__isConnected=a?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=P(this._$startNode).parentNode;const t=this._$parent;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$startNode}get endNode(){return this._$endNode}_$setValue(e,t=this){if(null===this.parentNode)throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");if(e=we(this,e,t),X(e))e===he||null==e||""===e?(this._$committedValue!==he&&(I&&I({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=he):e!==this._$committedValue&&e!==de&&this._commitText(e);else if(void 0!==e._$litType$)this._commitTemplateResult(e);else if(void 0!==e.nodeType){if(this.options?.host===e)return this._commitText("[probable mistake: rendered a template's host in itself (commonly caused by writing ${this} in a template]"),void console.warn("Attempted to render the template host",e,"inside itself. This is almost always a mistake, and in dev mode ","we render some warning text. In production however, we'll ","render it, which will usually result in an error, and sometimes ","in the element disappearing from the DOM.");this._commitNode(e)}else(e=>Q(e)||"function"==typeof e?.[Symbol.iterator])(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return P(P(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),pe!==z){const e=this._$startNode.parentNode?.nodeName;if("STYLE"===e||"SCRIPT"===e){let t="Forbidden";throw t="STYLE"===e?"Lit does not support binding inside style nodes. This is a security risk, as style injection attacks can exfiltrate data and spoof UIs. Consider instead using css`...` literals to compose styles, and do dynamic styling with css custom properties, ::parts, <slot>s, and by mutating the DOM rather than stylesheets.":"Lit does not support binding inside script nodes. This is a security risk, as it could allow arbitrary code execution.",new Error(t)}}I&&I({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==he&&X(this._$committedValue)){const t=P(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=U(t,"data","property")),e=this._textSanitizer(e),I&&I({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=J.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=U(t,"data","property")),e=this._textSanitizer(e),I&&I({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:i}=e,a="number"==typeof i?this._$getTemplate(e):(void 0===i.el&&(i.el=fe.createElement(ge(i.h,i.h[0]),this.options)),i);if(this._$committedValue?._$template===a)I&&I({kind:"template updating",template:a,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new me(a,this),i=e._clone(this.options);I&&I({kind:"template instantiated",template:a,instance:e,parts:e._$parts,options:this.options,fragment:i,values:t}),e._update(t),I&&I({kind:"template instantiated and updated",template:a,instance:e,parts:e._$parts,options:this.options,fragment:i,values:t}),this._commitNode(i),this._$committedValue=e}}_$getTemplate(e){let t=ve.get(e.strings);return void 0===t&&ve.set(e.strings,t=new fe(e)),t}_commitIterable(e){Q(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let i,a=0;for(const l of e)a===t.length?t.push(i=new ye(this._insert(G()),this._insert(G()),this,this.options)):i=t[a],i._$setValue(l),a++;a<t.length&&(this._$clear(i&&P(i._$endNode).nextSibling,a),t.length=a)}_$clear(e=P(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=P(e).nextSibling;P(e).remove(),e=t}}setConnected(e){if(void 0!==this._$parent)throw new Error("part.setConnected() may only be called on a RootPart returned from render().");this.__isConnected=e,this._$notifyConnectionChanged?.(e)}}class be{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,i,a,l){this.type=1,this._$committedValue=he,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=a,this.options=l,i.length>2||""!==i[0]||""!==i[1]?(this._$committedValue=new Array(i.length-1).fill(new String),this.strings=i):this._$committedValue=he,this._sanitizer=void 0}_$setValue(e,t=this,i,a){const l=this.strings;let s=!1;if(void 0===l)e=we(this,e,t,0),s=!X(e)||e!==this._$committedValue&&e!==de,s&&(this._$committedValue=e);else{const a=e;let n,o;for(e=l[0],n=0;n<l.length-1;n++)o=we(this,a[i+n],t,n),o===de&&(o=this._$committedValue[n]),s||=!X(o)||o!==this._$committedValue[n],o===he?e=he:e!==he&&(e+=(o??"")+l[n+1]),this._$committedValue[n]=o}s&&!a&&this._commitValue(e)}_commitValue(e){e===he?P(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"attribute")),e=this._sanitizer(e??""),I&&I({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),P(this.element).setAttribute(this.name,e??""))}}class xe extends be{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=pe(this.element,this.name,"property")),e=this._sanitizer(e),I&&I({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===he?void 0:e}}class Ce extends be{constructor(){super(...arguments),this.type=4}_commitValue(e){I&&I({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===he),options:this.options}),P(this.element).toggleAttribute(this.name,!!e&&e!==he)}}class _e extends be{constructor(e,t,i,a,l){if(super(e,t,i,a,l),this.type=5,void 0!==this.strings)throw new Error(`A \`<${e.localName}>\` has a \`@${t}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`)}_$setValue(e,t=this){if((e=we(this,e,t,0)??he)===de)return;const i=this._$committedValue,a=e===he&&i!==he||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,l=e!==he&&(i===he||a);I&&I({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:a,addListener:l,oldListener:i}),a&&this.element.removeEventListener(this.name,this,i),l&&this.element.addEventListener(this.name,this,e),this._$committedValue=e}handleEvent(e){"function"==typeof this._$committedValue?this._$committedValue.call(this.options?.host??this.element,e):this._$committedValue.handleEvent(e)}}class Ze{constructor(e,t,i){this.element=e,this.type=6,this._$disconnectableChildren=void 0,this._$parent=t,this.options=i}get _$isConnected(){return this._$parent._$isConnected}_$setValue(e){I&&I({kind:"commit to element binding",element:this.element,value:e,options:this.options}),we(this,e)}}const Me=L.litHtmlPolyfillSupportDevMode;Me?.(fe,ye),(L.litHtmlVersions??=[]).push("3.3.2"),L.litHtmlVersions.length>1&&queueMicrotask(()=>{E("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const Ve=(e,t,i)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const a=T++,l=i?.renderBefore??t;let s=l._$litPart$;if(I&&I({kind:"begin render",id:a,value:e,container:t,options:i,part:s}),void 0===s){const e=i?.renderBefore??null;l._$litPart$=s=new ye(t.insertBefore(G(),e),e,void 0,i??{})}return s._$setValue(e),I&&I({kind:"end render",id:a,value:e,container:t,options:i,part:s}),s};Ve.setSanitizer=Y,Ve.createSanitizer=U,Ve._testOnlyClearSanitizerFactoryDoNotCallOrElse=N;
13
13
  /**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
17
  */
18
- const wi=globalThis;let yi;wi.litIssuedWarnings??=new Set,yi=(t,e)=>{e+=` See https://lit.dev/msg/${t} for more information.`,wi.litIssuedWarnings.has(e)||wi.litIssuedWarnings.has(t)||(console.warn(e),wi.litIssuedWarnings.add(e))};class bi extends ke{constructor(){super(...arguments),this.renderOptions={host:this},this.__childPart=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.__childPart=mi(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return ei}}var xi;bi._$litElement$=!0,bi[(xi="finalized",xi)]=!0,wi.litElementHydrateSupport?.({LitElement:bi});const _i=wi.litElementPolyfillSupportDevMode;
18
+ const $e=globalThis;let ke;$e.litIssuedWarnings??=new Set,ke=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,$e.litIssuedWarnings.has(t)||$e.litIssuedWarnings.has(e)||(console.warn(t),$e.litIssuedWarnings.add(t))};class He extends A{constructor(){super(...arguments),this.renderOptions={host:this},this.__childPart=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.__childPart=Ve(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.__childPart?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.__childPart?.setConnected(!1)}render(){return de}}var Se;He._$litElement$=!0,He[(Se="finalized",Se)]=!0,$e.litElementHydrateSupport?.({LitElement:He});const De=$e.litElementPolyfillSupportDevMode;
19
19
  /**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
23
  */
24
- let Ci;_i?.({LitElement:bi}),(wi.litElementVersions??=[]).push("4.2.2"),wi.litElementVersions.length>1&&queueMicrotask(()=>{yi("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")}),globalThis.litIssuedWarnings??=new Set,Ci=(t,e)=>{e+=` See https://lit.dev/msg/${t} for more information.`,globalThis.litIssuedWarnings.has(e)||globalThis.litIssuedWarnings.has(t)||(console.warn(e),globalThis.litIssuedWarnings.add(e))};const ki={attribute:!0,type:String,converter:xe,reflect:!1,hasChanged:_e},Mi=(t=ki,e,i)=>{const{kind:a,metadata:s}=i;null==s&&Ci("missing-class-metadata",`The class ${e} is missing decorator metadata. This could mean that you're using a compiler that supports decorators but doesn't support decorator metadata, such as TypeScript 5.1. Please update your compiler.`);let n=globalThis.litPropertyMetadata.get(s);if(void 0===n&&globalThis.litPropertyMetadata.set(s,n=new Map),"setter"===a&&((t=Object.create(t)).wrapped=!0),n.set(i.name,t),"accessor"===a){const{name:a}=i;return{set(i){const s=e.get.call(this);e.set.call(this,i),this.requestUpdate(a,s,t,!0,i)},init(e){return void 0!==e&&this._$changeProperty(a,void 0,t,e),e}}}if("setter"===a){const{name:a}=i;return function(i){const s=this[a];e.call(this,i),this.requestUpdate(a,s,t,!0,i)}}throw new Error(`Unsupported decorator location: ${a}`)};function Zi(t){return(e,i)=>"object"==typeof i?Mi(t,e,i):((t,e,i)=>{const a=e.hasOwnProperty(i);return e.constructor.createProperty(i,t),a?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}
24
+ let Be;De?.({LitElement:He}),($e.litElementVersions??=[]).push("4.2.2"),$e.litElementVersions.length>1&&queueMicrotask(()=>{ke("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")}),globalThis.litIssuedWarnings??=new Set,Be=(e,t)=>{t+=` See https://lit.dev/msg/${e} for more information.`,globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const Ae={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:D},Le=(e=Ae,t,i)=>{const{kind:a,metadata:l}=i;null==l&&Be("missing-class-metadata",`The class ${t} is missing decorator metadata. This could mean that you're using a compiler that supports decorators but doesn't support decorator metadata, such as TypeScript 5.1. Please update your compiler.`);let s=globalThis.litPropertyMetadata.get(l);if(void 0===s&&globalThis.litPropertyMetadata.set(l,s=new Map),"setter"===a&&((e=Object.create(e)).wrapped=!0),s.set(i.name,e),"accessor"===a){const{name:a}=i;return{set(i){const l=t.get.call(this);t.set.call(this,i),this.requestUpdate(a,l,e,!0,i)},init(t){return void 0!==t&&this._$changeProperty(a,void 0,e,t),t}}}if("setter"===a){const{name:a}=i;return function(i){const l=this[a];t.call(this,i),this.requestUpdate(a,l,e,!0,i)}}throw new Error(`Unsupported decorator location: ${a}`)};function Ie(e){return(t,i)=>"object"==typeof i?Le(e,t,i):((e,t,i)=>{const a=t.hasOwnProperty(i);return t.constructor.createProperty(i,e),a?Object.getOwnPropertyDescriptor(t,i):void 0})(e,t,i)}
25
25
  /**
26
26
  * @license
27
27
  * Copyright 2017 Google LLC
28
28
  * SPDX-License-Identifier: BSD-3-Clause
29
- */function Vi(t){return Zi({...t,state:!0,attribute:!1})}
29
+ */function Ee(e){return Ie({...e,state:!0,attribute:!1})}
30
30
  /**
31
31
  * @license
32
32
  * Copyright 2017 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
- */const Si=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i);
34
+ */const Te=(e,t,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,i),i);
35
35
  /**
36
36
  * @license
37
37
  * Copyright 2017 Google LLC
38
38
  * SPDX-License-Identifier: BSD-3-Clause
39
- */let Di;function Ai(t,e){return(i,a,s)=>{const n=i=>{const s=i.renderRoot?.querySelector(t)??null;if(null===s&&e&&!i.hasUpdated){const e="object"==typeof a?a.name:a;Di("",`@query'd field ${JSON.stringify(String(e))} with the 'cache' flag set for selector '${t}' has been accessed before the first update and returned null. This is expected if the renderRoot tree has not been provided beforehand (e.g. via Declarative Shadow DOM). Therefore the value hasn't been cached.`)}return s};if(e){const{get:t,set:e}="object"==typeof a?i:s??(()=>{const t=Symbol(`${String(a)} (@query() cache)`);return{get(){return this[t]},set(e){this[t]=e}}})();return Si(i,a,{get(){let i=t.call(this);return void 0===i&&(i=n(this),(null!==i||this.hasUpdated)&&e.call(this,i)),i}})}return Si(i,a,{get(){return n(this)}})}}
39
+ */let Pe;function Fe(e,t){return(i,a,l)=>{const s=i=>{const l=i.renderRoot?.querySelector(e)??null;if(null===l&&t&&!i.hasUpdated){const t="object"==typeof a?a.name:a;Pe("",`@query'd field ${JSON.stringify(String(t))} with the 'cache' flag set for selector '${e}' has been accessed before the first update and returned null. This is expected if the renderRoot tree has not been provided beforehand (e.g. via Declarative Shadow DOM). Therefore the value hasn't been cached.`)}return l};if(t){const{get:e,set:t}="object"==typeof a?i:l??(()=>{const e=Symbol(`${String(a)} (@query() cache)`);return{get(){return this[e]},set(t){this[e]=t}}})();return Te(i,a,{get(){let i=e.call(this);return void 0===i&&(i=s(this),(null!==i||this.hasUpdated)&&t.call(this,i)),i}})}return Te(i,a,{get(){return s(this)}})}}
40
40
  /**
41
41
  * @license
42
42
  * Copyright 2017 Google LLC
43
43
  * SPDX-License-Identifier: BSD-3-Clause
44
- */function Bi(t){return(e,i)=>Si(e,i,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}
44
+ */function Re(e){return(t,i)=>Te(t,i,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}
45
45
  /**
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
48
48
  * SPDX-License-Identifier: BSD-3-Clause
49
- */globalThis.litIssuedWarnings??=new Set,Di=(t,e)=>{e+=t?` See https://lit.dev/msg/${t} for more information.`:"",globalThis.litIssuedWarnings.has(e)||globalThis.litIssuedWarnings.has(t)||(console.warn(e),globalThis.litIssuedWarnings.add(e))};const Ei=1,Fi=2,Hi=3,$i=4,Ti=t=>(...e)=>({_$litDirective$:t,values:e});class Ii{constructor(t){}get _$isConnected(){return this._$parent._$isConnected}_$initialize(t,e,i){this.__part=t,this._$parent=e,this.__attributeIndex=i}_$resolve(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
49
+ */globalThis.litIssuedWarnings??=new Set,Pe=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",globalThis.litIssuedWarnings.has(t)||globalThis.litIssuedWarnings.has(e)||(console.warn(t),globalThis.litIssuedWarnings.add(t))};const Oe=1,ze=2,Ye=3,Ne=4,Ue=e=>(...t)=>({_$litDirective$:e,values:t});class We{constructor(e){}get _$isConnected(){return this._$parent._$isConnected}_$initialize(e,t,i){this.__part=e,this._$parent=t,this.__attributeIndex=i}_$resolve(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2020 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */window.ShadyDOM?.inUse&&!0===window.ShadyDOM?.noPatch&&window.ShadyDOM.wrap;const Pi=t=>void 0===t.strings,Li={};const Ri=Ti(
54
+ */window.ShadyDOM?.inUse&&!0===window.ShadyDOM?.noPatch&&window.ShadyDOM.wrap;const qe=e=>void 0===e.strings,je={};const Ke=Ue(
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2020 Google LLC
58
58
  * SPDX-License-Identifier: BSD-3-Clause
59
59
  */
60
- class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$i)throw new Error("The `live` directive is not allowed on child or event bindings");if(!Pi(t))throw new Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===ei||e===ii)return e;const i=t.element,a=t.name;if(t.type===Hi){if(e===i[a])return ei}else if(t.type===$i){if(!!e===i.hasAttribute(a))return ei}else if(t.type===Ei&&i.getAttribute(a)===String(e))return ei;return((t,e=Li)=>{t._$committedValue=e})(t),e}}),Oi=(t,e)=>{const i=t._$disconnectableChildren;if(void 0===i)return!1;for(const t of i)t._$notifyDirectiveConnectionChanged?.(e,!1),Oi(t,e);return!0},Yi=t=>{let e,i;do{if(void 0===(e=t._$parent))break;i=e._$disconnectableChildren,i.delete(t),t=e}while(0===i?.size)},Ni=t=>{for(let e;e=t._$parent;t=e){let i=e._$disconnectableChildren;if(void 0===i)e._$disconnectableChildren=i=new Set;else if(i.has(t))break;i.add(t),qi(e)}};
60
+ class extends We{constructor(e){if(super(e),e.type!==Ye&&e.type!==Oe&&e.type!==Ne)throw new Error("The `live` directive is not allowed on child or event bindings");if(!qe(e))throw new Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===de||t===he)return t;const i=e.element,a=e.name;if(e.type===Ye){if(t===i[a])return de}else if(e.type===Ne){if(!!t===i.hasAttribute(a))return de}else if(e.type===Oe&&i.getAttribute(a)===String(t))return de;return((e,t=je)=>{e._$committedValue=t})(e),t}}),Je=(e,t)=>{const i=e._$disconnectableChildren;if(void 0===i)return!1;for(const e of i)e._$notifyDirectiveConnectionChanged?.(t,!1),Je(e,t);return!0},Ge=e=>{let t,i;do{if(void 0===(t=e._$parent))break;i=t._$disconnectableChildren,i.delete(e),e=t}while(0===i?.size)},Xe=e=>{for(let t;t=e._$parent;e=t){let i=t._$disconnectableChildren;if(void 0===i)t._$disconnectableChildren=i=new Set;else if(i.has(e))break;i.add(e),tt(t)}};
61
61
  /**
62
62
  * @license
63
63
  * Copyright 2017 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
- */function zi(t){void 0!==this._$disconnectableChildren?(Yi(this),this._$parent=t,Ni(this)):this._$parent=t}function Ui(t,e=!1,i=0){const a=this._$committedValue,s=this._$disconnectableChildren;if(void 0!==s&&0!==s.size)if(e)if(Array.isArray(a))for(let t=i;t<a.length;t++)Oi(a[t],!1),Yi(a[t]);else null!=a&&(Oi(a,!1),Yi(a));else Oi(this,t)}const qi=t=>{t.type==Fi&&(t._$notifyConnectionChanged??=Ui,t._$reparentDisconnectables??=zi)};class Wi extends Ii{constructor(){super(...arguments),this._$disconnectableChildren=void 0}_$initialize(t,e,i){super._$initialize(t,e,i),Ni(this),this.isConnected=t._$isConnected}_$notifyDirectiveConnectionChanged(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Oi(this,t),Yi(this))}setValue(t){if(Pi(this.__part))this.__part._$setValue(t,this);else{if(void 0===this.__attributeIndex)throw new Error("Expected this.__attributeIndex to be a number");const e=[...this.__part._$committedValue];e[this.__attributeIndex]=t,this.__part._$setValue(e,this,0)}}disconnected(){}reconnected(){}}
65
+ */function Qe(e){void 0!==this._$disconnectableChildren?(Ge(this),this._$parent=e,Xe(this)):this._$parent=e}function et(e,t=!1,i=0){const a=this._$committedValue,l=this._$disconnectableChildren;if(void 0!==l&&0!==l.size)if(t)if(Array.isArray(a))for(let e=i;e<a.length;e++)Je(a[e],!1),Ge(a[e]);else null!=a&&(Je(a,!1),Ge(a));else Je(this,e)}const tt=e=>{e.type==ze&&(e._$notifyConnectionChanged??=et,e._$reparentDisconnectables??=Qe)};class it extends We{constructor(){super(...arguments),this._$disconnectableChildren=void 0}_$initialize(e,t,i){super._$initialize(e,t,i),Xe(this),this.isConnected=e._$isConnected}_$notifyDirectiveConnectionChanged(e,t=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),t&&(Je(this,e),Ge(this))}setValue(e){if(qe(this.__part))this.__part._$setValue(e,this);else{if(void 0===this.__attributeIndex)throw new Error("Expected this.__attributeIndex to be a number");const t=[...this.__part._$committedValue];t[this.__attributeIndex]=e,this.__part._$setValue(t,this,0)}}disconnected(){}reconnected(){}}
66
66
  /**
67
67
  * @license
68
68
  * Copyright 2020 Google LLC
69
69
  * SPDX-License-Identifier: BSD-3-Clause
70
- */const ji=()=>new Gi;class Gi{}const Ki=new WeakMap;const Qi=Ti(class extends Wi{render(t){return ii}update(t,[e]){const i=e!==this._ref;return i&&void 0!==this._ref&&this._updateRefValue(void 0),(i||this._lastElementForRef!==this._element)&&(this._ref=e,this._context=t.options?.host,this._updateRefValue(this._element=t.element)),ii}_updateRefValue(t){if(this.isConnected||(t=void 0),"function"==typeof this._ref){const e=this._context??globalThis;let i=Ki.get(e);void 0===i&&(i=new WeakMap,Ki.set(e,i)),void 0!==i.get(this._ref)&&this._ref.call(this._context,void 0),i.set(this._ref,t),void 0!==t&&this._ref.call(this._context,t)}else this._ref.value=t}get _lastElementForRef(){return"function"==typeof this._ref?Ki.get(this._context??globalThis)?.get(this._ref):this._ref?.value}disconnected(){this._lastElementForRef===this._element&&this._updateRefValue(void 0)}reconnected(){this._updateRefValue(this._element)}}),Xi=Math.min,Ji=Math.max,ta=Math.round,ea=Math.floor,ia=t=>({x:t,y:t}),aa={left:"right",right:"left",bottom:"top",top:"bottom"},sa={start:"end",end:"start"};function na(t,e,i){return Ji(t,Xi(e,i))}function ra(t,e){return"function"==typeof t?t(e):t}function oa(t){return t.split("-")[0]}function la(t){return t.split("-")[1]}function ca(t){return"x"===t?"y":"x"}function da(t){return"y"===t?"height":"width"}const ha=new Set(["top","bottom"]);function ua(t){return ha.has(oa(t))?"y":"x"}function pa(t){return ca(ua(t))}function ga(t,e,i){void 0===i&&(i=!1);const a=la(t),s=pa(t),n=da(s);let r="x"===s?a===(i?"end":"start")?"right":"left":"start"===a?"bottom":"top";return e.reference[n]>e.floating[n]&&(r=xa(r)),[r,xa(r)]}function va(t){return t.replace(/start|end/g,t=>sa[t])}const fa=["left","right"],ma=["right","left"],wa=["top","bottom"],ya=["bottom","top"];function ba(t,e,i,a){const s=la(t);let n=function(t,e,i){switch(t){case"top":case"bottom":return i?e?ma:fa:e?fa:ma;case"left":case"right":return e?wa:ya;default:return[]}}(oa(t),"start"===i,a);return s&&(n=n.map(t=>t+"-"+s),e&&(n=n.concat(n.map(va)))),n}function xa(t){return t.replace(/left|right|bottom|top/g,t=>aa[t])}function _a(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function Ca(t){const{x:e,y:i,width:a,height:s}=t;return{width:a,height:s,top:i,left:e,right:e+a,bottom:i+s,x:e,y:i}}function ka(t,e,i){let{reference:a,floating:s}=t;const n=ua(e),r=pa(e),o=da(r),l=oa(e),c="y"===n,d=a.x+a.width/2-s.width/2,h=a.y+a.height/2-s.height/2,u=a[o]/2-s[o]/2;let p;switch(l){case"top":p={x:d,y:a.y-s.height};break;case"bottom":p={x:d,y:a.y+a.height};break;case"right":p={x:a.x+a.width,y:h};break;case"left":p={x:a.x-s.width,y:h};break;default:p={x:a.x,y:a.y}}switch(la(e)){case"start":p[r]-=u*(i&&c?-1:1);break;case"end":p[r]+=u*(i&&c?-1:1)}return p}async function Ma(t,e){var i;void 0===e&&(e={});const{x:a,y:s,platform:n,rects:r,elements:o,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=ra(e,t),g=_a(p),v=o[u?"floating"===h?"reference":"floating":h],f=Ca(await n.getClippingRect({element:null==(i=await(null==n.isElement?void 0:n.isElement(v)))||i?v:v.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(o.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===h?{x:a,y:s,width:r.floating.width,height:r.floating.height}:r.reference,w=await(null==n.getOffsetParent?void 0:n.getOffsetParent(o.floating)),y=await(null==n.isElement?void 0:n.isElement(w))&&await(null==n.getScale?void 0:n.getScale(w))||{x:1,y:1},b=Ca(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:m,offsetParent:w,strategy:l}):m);return{top:(f.top-b.top+g.top)/y.y,bottom:(b.bottom-f.bottom+g.bottom)/y.y,left:(f.left-b.left+g.left)/y.x,right:(b.right-f.right+g.right)/y.x}}const Za=new Set(["left","top"]);function Va(){return"undefined"!=typeof window}function Sa(t){return Ba(t)?(t.nodeName||"").toLowerCase():"#document"}function Da(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Aa(t){var e;return null==(e=(Ba(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Ba(t){return!!Va()&&(t instanceof Node||t instanceof Da(t).Node)}function Ea(t){return!!Va()&&(t instanceof Element||t instanceof Da(t).Element)}function Fa(t){return!!Va()&&(t instanceof HTMLElement||t instanceof Da(t).HTMLElement)}function Ha(t){return!(!Va()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof Da(t).ShadowRoot)}const $a=new Set(["inline","contents"]);function Ta(t){const{overflow:e,overflowX:i,overflowY:a,display:s}=ja(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+i)&&!$a.has(s)}const Ia=new Set(["table","td","th"]);function Pa(t){return Ia.has(Sa(t))}const La=[":popover-open",":modal"];function Ra(t){return La.some(e=>{try{return t.matches(e)}catch(t){return!1}})}const Oa=["transform","translate","scale","rotate","perspective"],Ya=["transform","translate","scale","rotate","perspective","filter"],Na=["paint","layout","strict","content"];function za(t){const e=Ua(),i=Ea(t)?ja(t):t;return Oa.some(t=>!!i[t]&&"none"!==i[t])||!!i.containerType&&"normal"!==i.containerType||!e&&!!i.backdropFilter&&"none"!==i.backdropFilter||!e&&!!i.filter&&"none"!==i.filter||Ya.some(t=>(i.willChange||"").includes(t))||Na.some(t=>(i.contain||"").includes(t))}function Ua(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const qa=new Set(["html","body","#document"]);function Wa(t){return qa.has(Sa(t))}function ja(t){return Da(t).getComputedStyle(t)}function Ga(t){return Ea(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ka(t){if("html"===Sa(t))return t;const e=t.assignedSlot||t.parentNode||Ha(t)&&t.host||Aa(t);return Ha(e)?e.host:e}function Qa(t){const e=Ka(t);return Wa(e)?t.ownerDocument?t.ownerDocument.body:t.body:Fa(e)&&Ta(e)?e:Qa(e)}function Xa(t,e,i){var a;void 0===e&&(e=[]),void 0===i&&(i=!0);const s=Qa(t),n=s===(null==(a=t.ownerDocument)?void 0:a.body),r=Da(s);if(n){const t=Ja(r);return e.concat(r,r.visualViewport||[],Ta(s)?s:[],t&&i?Xa(t):[])}return e.concat(s,Xa(s,[],i))}function Ja(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ts(t){const e=ja(t);let i=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const s=Fa(t),n=s?t.offsetWidth:i,r=s?t.offsetHeight:a,o=ta(i)!==n||ta(a)!==r;return o&&(i=n,a=r),{width:i,height:a,$:o}}function es(t){return Ea(t)?t:t.contextElement}function is(t){const e=es(t);if(!Fa(e))return ia(1);const i=e.getBoundingClientRect(),{width:a,height:s,$:n}=ts(e);let r=(n?ta(i.width):i.width)/a,o=(n?ta(i.height):i.height)/s;return r&&Number.isFinite(r)||(r=1),o&&Number.isFinite(o)||(o=1),{x:r,y:o}}const as=ia(0);function ss(t){const e=Da(t);return Ua()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:as}function ns(t,e,i,a){void 0===e&&(e=!1),void 0===i&&(i=!1);const s=t.getBoundingClientRect(),n=es(t);let r=ia(1);e&&(a?Ea(a)&&(r=is(a)):r=is(t));const o=function(t,e,i){return void 0===e&&(e=!1),!(!i||e&&i!==Da(t))&&e}(n,i,a)?ss(n):ia(0);let l=(s.left+o.x)/r.x,c=(s.top+o.y)/r.y,d=s.width/r.x,h=s.height/r.y;if(n){const t=Da(n),e=a&&Ea(a)?Da(a):a;let i=t,s=Ja(i);for(;s&&a&&e!==i;){const t=is(s),e=s.getBoundingClientRect(),a=ja(s),n=e.left+(s.clientLeft+parseFloat(a.paddingLeft))*t.x,r=e.top+(s.clientTop+parseFloat(a.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,h*=t.y,l+=n,c+=r,i=Da(s),s=Ja(i)}}return Ca({width:d,height:h,x:l,y:c})}function rs(t,e){const i=Ga(t).scrollLeft;return e?e.left+i:ns(Aa(t)).left+i}function os(t,e){const i=t.getBoundingClientRect();return{x:i.left+e.scrollLeft-rs(t,i),y:i.top+e.scrollTop}}const ls=new Set(["absolute","fixed"]);function cs(t,e,i){let a;if("viewport"===e)a=function(t,e){const i=Da(t),a=Aa(t),s=i.visualViewport;let n=a.clientWidth,r=a.clientHeight,o=0,l=0;if(s){n=s.width,r=s.height;const t=Ua();(!t||t&&"fixed"===e)&&(o=s.offsetLeft,l=s.offsetTop)}const c=rs(a);if(c<=0){const t=a.ownerDocument,e=t.body,i=getComputedStyle(e),s="CSS1Compat"===t.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,r=Math.abs(a.clientWidth-e.clientWidth-s);r<=25&&(n-=r)}else c<=25&&(n+=c);return{width:n,height:r,x:o,y:l}}(t,i);else if("document"===e)a=function(t){const e=Aa(t),i=Ga(t),a=t.ownerDocument.body,s=Ji(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),n=Ji(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight);let r=-i.scrollLeft+rs(t);const o=-i.scrollTop;return"rtl"===ja(a).direction&&(r+=Ji(e.clientWidth,a.clientWidth)-s),{width:s,height:n,x:r,y:o}}(Aa(t));else if(Ea(e))a=function(t,e){const i=ns(t,!0,"fixed"===e),a=i.top+t.clientTop,s=i.left+t.clientLeft,n=Fa(t)?is(t):ia(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:s*n.x,y:a*n.y}}(e,i);else{const i=ss(t);a={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Ca(a)}function ds(t,e){const i=Ka(t);return!(i===e||!Ea(i)||Wa(i))&&("fixed"===ja(i).position||ds(i,e))}function hs(t,e,i){const a=Fa(e),s=Aa(e),n="fixed"===i,r=ns(t,!0,n,e);let o={scrollLeft:0,scrollTop:0};const l=ia(0);function c(){l.x=rs(s)}if(a||!a&&!n)if(("body"!==Sa(e)||Ta(s))&&(o=Ga(e)),a){const t=ns(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else s&&c();n&&!a&&s&&c();const d=!s||a||n?ia(0):os(s,o);return{x:r.left+o.scrollLeft-l.x-d.x,y:r.top+o.scrollTop-l.y-d.y,width:r.width,height:r.height}}function us(t){return"static"===ja(t).position}function ps(t,e){if(!Fa(t)||"fixed"===ja(t).position)return null;if(e)return e(t);let i=t.offsetParent;return Aa(t)===i&&(i=i.ownerDocument.body),i}function gs(t,e){const i=Da(t);if(Ra(t))return i;if(!Fa(t)){let e=Ka(t);for(;e&&!Wa(e);){if(Ea(e)&&!us(e))return e;e=Ka(e)}return i}let a=ps(t,e);for(;a&&Pa(a)&&us(a);)a=ps(a,e);return a&&Wa(a)&&us(a)&&!za(a)?i:a||function(t){let e=Ka(t);for(;Fa(e)&&!Wa(e);){if(za(e))return e;if(Ra(e))return null;e=Ka(e)}return null}(t)||i}const vs={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:i,offsetParent:a,strategy:s}=t;const n="fixed"===s,r=Aa(a),o=!!e&&Ra(e.floating);if(a===r||o&&n)return i;let l={scrollLeft:0,scrollTop:0},c=ia(1);const d=ia(0),h=Fa(a);if((h||!h&&!n)&&(("body"!==Sa(a)||Ta(r))&&(l=Ga(a)),Fa(a))){const t=ns(a);c=is(a),d.x=t.x+a.clientLeft,d.y=t.y+a.clientTop}const u=!r||h||n?ia(0):os(r,l);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-l.scrollLeft*c.x+d.x+u.x,y:i.y*c.y-l.scrollTop*c.y+d.y+u.y}},getDocumentElement:Aa,getClippingRect:function(t){let{element:e,boundary:i,rootBoundary:a,strategy:s}=t;const n=[..."clippingAncestors"===i?Ra(e)?[]:function(t,e){const i=e.get(t);if(i)return i;let a=Xa(t,[],!1).filter(t=>Ea(t)&&"body"!==Sa(t)),s=null;const n="fixed"===ja(t).position;let r=n?Ka(t):t;for(;Ea(r)&&!Wa(r);){const e=ja(r),i=za(r);i||"fixed"!==e.position||(s=null),(n?!i&&!s:!i&&"static"===e.position&&s&&ls.has(s.position)||Ta(r)&&!i&&ds(t,r))?a=a.filter(t=>t!==r):s=e,r=Ka(r)}return e.set(t,a),a}(e,this._c):[].concat(i),a],r=n[0],o=n.reduce((t,i)=>{const a=cs(e,i,s);return t.top=Ji(a.top,t.top),t.right=Xi(a.right,t.right),t.bottom=Xi(a.bottom,t.bottom),t.left=Ji(a.left,t.left),t},cs(e,r,s));return{width:o.right-o.left,height:o.bottom-o.top,x:o.left,y:o.top}},getOffsetParent:gs,getElementRects:async function(t){const e=this.getOffsetParent||gs,i=this.getDimensions,a=await i(t.floating);return{reference:hs(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:i}=ts(t);return{width:e,height:i}},getScale:is,isElement:Ea,isRTL:function(t){return"rtl"===ja(t).direction}};function fs(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ms(t,e,i,a){void 0===a&&(a={});const{ancestorScroll:s=!0,ancestorResize:n=!0,elementResize:r="function"==typeof ResizeObserver,layoutShift:o="function"==typeof IntersectionObserver,animationFrame:l=!1}=a,c=es(t),d=s||n?[...c?Xa(c):[],...Xa(e)]:[];d.forEach(t=>{s&&t.addEventListener("scroll",i,{passive:!0}),n&&t.addEventListener("resize",i)});const h=c&&o?function(t,e){let i,a=null;const s=Aa(t);function n(){var t;clearTimeout(i),null==(t=a)||t.disconnect(),a=null}return function r(o,l){void 0===o&&(o=!1),void 0===l&&(l=1),n();const c=t.getBoundingClientRect(),{left:d,top:h,width:u,height:p}=c;if(o||e(),!u||!p)return;const g={rootMargin:-ea(h)+"px "+-ea(s.clientWidth-(d+u))+"px "+-ea(s.clientHeight-(h+p))+"px "+-ea(d)+"px",threshold:Ji(0,Xi(1,l))||1};let v=!0;function f(e){const a=e[0].intersectionRatio;if(a!==l){if(!v)return r();a?r(!1,a):i=setTimeout(()=>{r(!1,1e-7)},1e3)}1!==a||fs(c,t.getBoundingClientRect())||r(),v=!1}try{a=new IntersectionObserver(f,{...g,root:s.ownerDocument})}catch(t){a=new IntersectionObserver(f,g)}a.observe(t)}(!0),n}(c,i):null;let u,p=-1,g=null;r&&(g=new ResizeObserver(t=>{let[a]=t;a&&a.target===c&&g&&(g.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var t;null==(t=g)||t.observe(e)})),i()}),c&&!l&&g.observe(c),g.observe(e));let v=l?ns(t):null;return l&&function e(){const a=ns(t);v&&!fs(v,a)&&i();v=a,u=requestAnimationFrame(e)}(),i(),()=>{var t;d.forEach(t=>{s&&t.removeEventListener("scroll",i),n&&t.removeEventListener("resize",i)}),null==h||h(),null==(t=g)||t.disconnect(),g=null,l&&cancelAnimationFrame(u)}}const ws=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var i,a;const{x:s,y:n,placement:r,middlewareData:o}=e,l=await async function(t,e){const{placement:i,platform:a,elements:s}=t,n=await(null==a.isRTL?void 0:a.isRTL(s.floating)),r=oa(i),o=la(i),l="y"===ua(i),c=Za.has(r)?-1:1,d=n&&l?-1:1,h=ra(e,t);let{mainAxis:u,crossAxis:p,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return o&&"number"==typeof g&&(p="end"===o?-1*g:g),l?{x:p*d,y:u*c}:{x:u*c,y:p*d}}(e,t);return r===(null==(i=o.offset)?void 0:i.placement)&&null!=(a=o.arrow)&&a.alignmentOffset?{}:{x:s+l.x,y:n+l.y,data:{...l,placement:r}}}}},ys=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:i,y:a,placement:s}=e,{mainAxis:n=!0,crossAxis:r=!1,limiter:o={fn:t=>{let{x:e,y:i}=t;return{x:e,y:i}}},...l}=ra(t,e),c={x:i,y:a},d=await Ma(e,l),h=ua(oa(s)),u=ca(h);let p=c[u],g=c[h];if(n){const t="y"===u?"bottom":"right";p=na(p+d["y"===u?"top":"left"],p,p-d[t])}if(r){const t="y"===h?"bottom":"right";g=na(g+d["y"===h?"top":"left"],g,g-d[t])}const v=o.fn({...e,[u]:p,[h]:g});return{...v,data:{x:v.x-i,y:v.y-a,enabled:{[u]:n,[h]:r}}}}}},bs=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var i,a;const{placement:s,middlewareData:n,rects:r,initialPlacement:o,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...f}=ra(t,e);if(null!=(i=n.arrow)&&i.alignmentOffset)return{};const m=oa(s),w=ua(o),y=oa(o)===o,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=u||(y||!v?[xa(o)]:function(t){const e=xa(t);return[va(t),e,va(e)]}(o)),_="none"!==g;!u&&_&&x.push(...ba(o,v,g,b));const C=[o,...x],k=await Ma(e,f),M=[];let Z=(null==(a=n.flip)?void 0:a.overflows)||[];if(d&&M.push(k[m]),h){const t=ga(s,r,b);M.push(k[t[0]],k[t[1]])}if(Z=[...Z,{placement:s,overflows:M}],!M.every(t=>t<=0)){var V,S;const t=((null==(V=n.flip)?void 0:V.index)||0)+1,e=C[t];if(e){if(!("alignment"===h&&w!==ua(e))||Z.every(t=>ua(t.placement)!==w||t.overflows[0]>0))return{data:{index:t,overflows:Z},reset:{placement:e}}}let i=null==(S=Z.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:S.placement;if(!i)switch(p){case"bestFit":{var D;const t=null==(D=Z.filter(t=>{if(_){const e=ua(t.placement);return e===w||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:D[0];t&&(i=t);break}case"initialPlacement":i=o}if(s!==i)return{reset:{placement:i}}}return{}}}},xs=(t,e,i)=>{const a=new Map,s={platform:vs,...i},n={...s.platform,_c:a};return(async(t,e,i)=>{const{placement:a="bottom",strategy:s="absolute",middleware:n=[],platform:r}=i,o=n.filter(Boolean),l=await(null==r.isRTL?void 0:r.isRTL(e));let c=await r.getElementRects({reference:t,floating:e,strategy:s}),{x:d,y:h}=ka(c,a,l),u=a,p={},g=0;for(let i=0;i<o.length;i++){const{name:n,fn:v}=o[i],{x:f,y:m,data:w,reset:y}=await v({x:d,y:h,initialPlacement:a,placement:u,strategy:s,middlewareData:p,rects:c,platform:r,elements:{reference:t,floating:e}});d=null!=f?f:d,h=null!=m?m:h,p={...p,[n]:{...p[n],...w}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(c=!0===y.rects?await r.getElementRects({reference:t,floating:e,strategy:s}):y.rects),({x:d,y:h}=ka(c,u,l))),i=-1)}return{x:d,y:h,placement:u,strategy:s,middlewareData:p}})(t,e,{...s,platform:n})};var _s=re`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;color:var(--sgds-body-color-default,#1a1a1a);display:block;font-family:var(--sgds-font-family-brand,"Inter",system-ui,sans-serif);font-size:var(--sgds-font-size-body-md,1rem);font-weight:var(--sgds-font-weight-regular,400);line-height:var(--sgds-line-height-xs,24px);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}::slotted(svg){vertical-align:middle}}`;class Cs extends bi{emit(t,e){const i=new CustomEvent(t,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(i),i}static define(t,e=this,i={}){if(customElements.get(t));else try{customElements.define(t,e,i)}catch(a){customElements.define(t,class extends e{},i)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach(([t,e])=>{this.constructor.define(t,e)})}firstUpdated(t){var e;super.firstUpdated(t),this.ssr&&(null===(e=this.shadowRoot)||void 0===e||e.querySelectorAll("slot").forEach(t=>{t.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}))}}function ks(t="",e=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${t}-${e}`}Cs.styles=[_s],Cs.dependencies={},t([Zi({type:Boolean,reflect:!0})],Cs.prototype,"ssr",void 0);class Ms extends Cs{constructor(){super(...arguments),this.myDropdown=ji(),this.dropdownMenuId=ks("dropdown-menu","div"),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.floatingOpts={},this.menuIsOpen=!1,this.close="default",this.disabled=!1,this.readonly=!1,this.menuRef=ji(),this._handleClickOutOfElement=t=>{this.menuIsOpen&&(t.composedPath().includes(this)||this.hideMenu(!0))}}connectedCallback(){super.connectedCallback(),"inside"!==this.close&&document.addEventListener("click",this._handleClickOutOfElement),this.addEventListener("keydown",this._handleKeyboardMenuEvent)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this.removeEventListener("keydown",this._handleKeyboardMenuEvent),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(t){super.firstUpdated(t),this.menuIsOpen&&requestAnimationFrame(async()=>{await this.updateFloatingPosition(),this._startAutoUpdate()})}async showMenu(){this.disabled||this.menuIsOpen||(this.menuIsOpen=!0,this.emit("sgds-show"),await this.updateFloatingPosition(),this.emit("sgds-after-show"),this._startAutoUpdate())}_startAutoUpdate(){this.myDropdown.value&&this.menuRef.value&&(this._cleanupAutoUpdate=ms(this.myDropdown.value,this.menuRef.value,()=>this.updateFloatingPosition()))}hideMenu(t){this.menuIsOpen&&(this.emit("sgds-hide",{detail:{isOutside:t}}),this.menuIsOpen=!1,setTimeout(()=>this.emit("sgds-after-hide"),0),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0))}toggleMenu(){this.menuIsOpen?this.hideMenu():this.showMenu()}_handleKeyboardMenuEvent(t){if(!this.readonly)switch(t.key){case"ArrowDown":case"ArrowUp":t.preventDefault(),this.menuIsOpen||this.showMenu();break;case"Escape":this.hideMenu()}}mergeMiddleware(t,e){const i=t=>{var e;return(null==t?void 0:t.name)||(null===(e=null==t?void 0:t.constructor)||void 0===e?void 0:e.name)},a=e.map(i),s=t.map(t=>{const s=i(t),n=a.indexOf(s);return-1!==n?e[n]:t}).concat(e.filter(e=>!t.some(t=>i(t)===i(e))));return s}async updateFloatingPosition(){if(!this.myDropdown.value||!this.menuRef.value)return;let t="bottom-start";switch(this.drop){case"up":t=this.menuAlignRight?"top-end":"top-start";break;case"right":t="right-start";break;case"left":t="left-start";break;case"down":t=this.menuAlignRight?"bottom-end":"bottom-start";break;default:t="bottom-start"}const e=[ws(8),this.noFlip?void 0:bs(),ys()].filter(Boolean);let i=e;Array.isArray(this.floatingOpts.middleware)&&this.floatingOpts.middleware.length>0&&(i=this.mergeMiddleware(e,this.floatingOpts.middleware.filter(Boolean)));const a=Object.assign(Object.assign({strategy:"fixed",placement:t},this.floatingOpts),{middleware:i}),{x:s,y:n,strategy:r,placement:o}=await xs(this.myDropdown.value,this.menuRef.value,a);this.menuRef.value.setAttribute("data-placement",o),Object.assign(this.menuRef.value.style,{position:r,left:`${s}px`,top:`${n}px`})}}t([Zi({type:Boolean,state:!0})],Ms.prototype,"noFlip",void 0),t([Zi({type:Boolean,reflect:!0,state:!0})],Ms.prototype,"menuAlignRight",void 0),t([Zi({type:String,reflect:!0,state:!0})],Ms.prototype,"drop",void 0),t([Zi({type:Object})],Ms.prototype,"floatingOpts",void 0),t([Zi({type:Boolean,reflect:!0})],Ms.prototype,"menuIsOpen",void 0),t([Zi({type:Boolean,reflect:!0})],Ms.prototype,"disabled",void 0),t([Zi({type:Boolean,reflect:!0})],Ms.prototype,"readonly",void 0);const Zs={"DD/MM/YYYY":{imPattern:"`dd{/}`mm{/}`yyyy",imRangePattern:"`dd{/}`mm{/}`yyyy - `DD{/}`MM{/}`YYYY",fnsPattern:"dd/MM/yyyy"},"MM/DD/YYYY":{imPattern:"`mm{/}`dd{/}`yyyy",imRangePattern:"`mm{/}`dd{/}`yyyy - `MM{/}`DD{/}`YYYY",fnsPattern:"MM/dd/yyyy"},"YYYY/MM/DD":{imPattern:"`yyyy{/}`mm{/}`dd",imRangePattern:"`yyyy{/}`mm{/}`dd - `YYYY{/}`MM{/}`DD",fnsPattern:"yyyy/MM/dd"}},Vs=t=>{const e=t.getMonth(),i=t.getFullYear(),a=t.getDate(),s=new Date(i,e+1),n=tt(s);return p(t)&&n<a?et(s):new Date(i,e+1,a)},Ss=t=>{const e=t.getMonth(),i=t.getFullYear(),a=t.getDate(),s=new Date(i,e-1),n=tt(s);return p(t)&&n<a?et(s):new Date(i,e-1,a)},Ds=t=>{const e=new Date(t);return e.setHours(12),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0),e};function As(t,e){const i=Object.assign({waitUntilFirstUpdate:!1},e);return(e,a)=>{const{update:s}=e;if(t in e){const n=t;e.update=function(t){if(t.has(n)){const e=t.get(n),s=this[n];e!==s&&(i.waitUntilFirstUpdate&&!this.hasUpdated||this[a](e,s))}s.call(this,t)}}}}
70
+ */const at=()=>new lt;class lt{}const st=new WeakMap;const nt=Ue(class extends it{render(e){return he}update(e,[t]){const i=t!==this._ref;return i&&void 0!==this._ref&&this._updateRefValue(void 0),(i||this._lastElementForRef!==this._element)&&(this._ref=t,this._context=e.options?.host,this._updateRefValue(this._element=e.element)),he}_updateRefValue(e){if(this.isConnected||(e=void 0),"function"==typeof this._ref){const t=this._context??globalThis;let i=st.get(t);void 0===i&&(i=new WeakMap,st.set(t,i)),void 0!==i.get(this._ref)&&this._ref.call(this._context,void 0),i.set(this._ref,e),void 0!==e&&this._ref.call(this._context,e)}else this._ref.value=e}get _lastElementForRef(){return"function"==typeof this._ref?st.get(this._context??globalThis)?.get(this._ref):this._ref?.value}disconnected(){this._lastElementForRef===this._element&&this._updateRefValue(void 0)}reconnected(){this._updateRefValue(this._element)}}),ot=Math.min,rt=Math.max,ct=Math.round,dt=Math.floor,ht=e=>({x:e,y:e}),vt={left:"right",right:"left",bottom:"top",top:"bottom"},ut={start:"end",end:"start"};function pt(e,t,i){return rt(e,ot(t,i))}function gt(e,t){return"function"==typeof e?e(t):e}function ft(e){return e.split("-")[0]}function wt(e){return e.split("-")[1]}function mt(e){return"x"===e?"y":"x"}function yt(e){return"y"===e?"height":"width"}const bt=new Set(["top","bottom"]);function xt(e){return bt.has(ft(e))?"y":"x"}function Ct(e){return mt(xt(e))}function _t(e,t,i){void 0===i&&(i=!1);const a=wt(e),l=Ct(e),s=yt(l);let n="x"===l?a===(i?"end":"start")?"right":"left":"start"===a?"bottom":"top";return t.reference[s]>t.floating[s]&&(n=St(n)),[n,St(n)]}function Zt(e){return e.replace(/start|end/g,e=>ut[e])}const Mt=["left","right"],Vt=["right","left"],$t=["top","bottom"],kt=["bottom","top"];function Ht(e,t,i,a){const l=wt(e);let s=function(e,t,i){switch(e){case"top":case"bottom":return i?t?Vt:Mt:t?Mt:Vt;case"left":case"right":return t?$t:kt;default:return[]}}(ft(e),"start"===i,a);return l&&(s=s.map(e=>e+"-"+l),t&&(s=s.concat(s.map(Zt)))),s}function St(e){return e.replace(/left|right|bottom|top/g,e=>vt[e])}function Dt(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Bt(e){const{x:t,y:i,width:a,height:l}=e;return{width:a,height:l,top:i,left:t,right:t+a,bottom:i+l,x:t,y:i}}function At(e,t,i){let{reference:a,floating:l}=e;const s=xt(t),n=Ct(t),o=yt(n),r=ft(t),c="y"===s,d=a.x+a.width/2-l.width/2,h=a.y+a.height/2-l.height/2,v=a[o]/2-l[o]/2;let u;switch(r){case"top":u={x:d,y:a.y-l.height};break;case"bottom":u={x:d,y:a.y+a.height};break;case"right":u={x:a.x+a.width,y:h};break;case"left":u={x:a.x-l.width,y:h};break;default:u={x:a.x,y:a.y}}switch(wt(t)){case"start":u[n]-=v*(i&&c?-1:1);break;case"end":u[n]+=v*(i&&c?-1:1)}return u}async function Lt(e,t){var i;void 0===t&&(t={});const{x:a,y:l,platform:s,rects:n,elements:o,strategy:r}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:v=!1,padding:u=0}=gt(t,e),p=Dt(u),g=o[v?"floating"===h?"reference":"floating":h],f=Bt(await s.getClippingRect({element:null==(i=await(null==s.isElement?void 0:s.isElement(g)))||i?g:g.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(o.floating)),boundary:c,rootBoundary:d,strategy:r})),w="floating"===h?{x:a,y:l,width:n.floating.width,height:n.floating.height}:n.reference,m=await(null==s.getOffsetParent?void 0:s.getOffsetParent(o.floating)),y=await(null==s.isElement?void 0:s.isElement(m))&&await(null==s.getScale?void 0:s.getScale(m))||{x:1,y:1},b=Bt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:w,offsetParent:m,strategy:r}):w);return{top:(f.top-b.top+p.top)/y.y,bottom:(b.bottom-f.bottom+p.bottom)/y.y,left:(f.left-b.left+p.left)/y.x,right:(b.right-f.right+p.right)/y.x}}const It=new Set(["left","top"]);function Et(){return"undefined"!=typeof window}function Tt(e){return Rt(e)?(e.nodeName||"").toLowerCase():"#document"}function Pt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ft(e){var t;return null==(t=(Rt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Rt(e){return!!Et()&&(e instanceof Node||e instanceof Pt(e).Node)}function Ot(e){return!!Et()&&(e instanceof Element||e instanceof Pt(e).Element)}function zt(e){return!!Et()&&(e instanceof HTMLElement||e instanceof Pt(e).HTMLElement)}function Yt(e){return!(!Et()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Pt(e).ShadowRoot)}const Nt=new Set(["inline","contents"]);function Ut(e){const{overflow:t,overflowX:i,overflowY:a,display:l}=ai(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+i)&&!Nt.has(l)}const Wt=new Set(["table","td","th"]);function qt(e){return Wt.has(Tt(e))}const jt=[":popover-open",":modal"];function Kt(e){return jt.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const Jt=["transform","translate","scale","rotate","perspective"],Gt=["transform","translate","scale","rotate","perspective","filter"],Xt=["paint","layout","strict","content"];function Qt(e){const t=ei(),i=Ot(e)?ai(e):e;return Jt.some(e=>!!i[e]&&"none"!==i[e])||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||Gt.some(e=>(i.willChange||"").includes(e))||Xt.some(e=>(i.contain||"").includes(e))}function ei(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const ti=new Set(["html","body","#document"]);function ii(e){return ti.has(Tt(e))}function ai(e){return Pt(e).getComputedStyle(e)}function li(e){return Ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function si(e){if("html"===Tt(e))return e;const t=e.assignedSlot||e.parentNode||Yt(e)&&e.host||Ft(e);return Yt(t)?t.host:t}function ni(e){const t=si(e);return ii(t)?e.ownerDocument?e.ownerDocument.body:e.body:zt(t)&&Ut(t)?t:ni(t)}function oi(e,t,i){var a;void 0===t&&(t=[]),void 0===i&&(i=!0);const l=ni(e),s=l===(null==(a=e.ownerDocument)?void 0:a.body),n=Pt(l);if(s){const e=ri(n);return t.concat(n,n.visualViewport||[],Ut(l)?l:[],e&&i?oi(e):[])}return t.concat(l,oi(l,[],i))}function ri(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ci(e){const t=ai(e);let i=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const l=zt(e),s=l?e.offsetWidth:i,n=l?e.offsetHeight:a,o=ct(i)!==s||ct(a)!==n;return o&&(i=s,a=n),{width:i,height:a,$:o}}function di(e){return Ot(e)?e:e.contextElement}function hi(e){const t=di(e);if(!zt(t))return ht(1);const i=t.getBoundingClientRect(),{width:a,height:l,$:s}=ci(t);let n=(s?ct(i.width):i.width)/a,o=(s?ct(i.height):i.height)/l;return n&&Number.isFinite(n)||(n=1),o&&Number.isFinite(o)||(o=1),{x:n,y:o}}const vi=ht(0);function ui(e){const t=Pt(e);return ei()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:vi}function pi(e,t,i,a){void 0===t&&(t=!1),void 0===i&&(i=!1);const l=e.getBoundingClientRect(),s=di(e);let n=ht(1);t&&(a?Ot(a)&&(n=hi(a)):n=hi(e));const o=function(e,t,i){return void 0===t&&(t=!1),!(!i||t&&i!==Pt(e))&&t}(s,i,a)?ui(s):ht(0);let r=(l.left+o.x)/n.x,c=(l.top+o.y)/n.y,d=l.width/n.x,h=l.height/n.y;if(s){const e=Pt(s),t=a&&Ot(a)?Pt(a):a;let i=e,l=ri(i);for(;l&&a&&t!==i;){const e=hi(l),t=l.getBoundingClientRect(),a=ai(l),s=t.left+(l.clientLeft+parseFloat(a.paddingLeft))*e.x,n=t.top+(l.clientTop+parseFloat(a.paddingTop))*e.y;r*=e.x,c*=e.y,d*=e.x,h*=e.y,r+=s,c+=n,i=Pt(l),l=ri(i)}}return Bt({width:d,height:h,x:r,y:c})}function gi(e,t){const i=li(e).scrollLeft;return t?t.left+i:pi(Ft(e)).left+i}function fi(e,t){const i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-gi(e,i),y:i.top+t.scrollTop}}const wi=new Set(["absolute","fixed"]);function mi(e,t,i){let a;if("viewport"===t)a=function(e,t){const i=Pt(e),a=Ft(e),l=i.visualViewport;let s=a.clientWidth,n=a.clientHeight,o=0,r=0;if(l){s=l.width,n=l.height;const e=ei();(!e||e&&"fixed"===t)&&(o=l.offsetLeft,r=l.offsetTop)}const c=gi(a);if(c<=0){const e=a.ownerDocument,t=e.body,i=getComputedStyle(t),l="CSS1Compat"===e.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,n=Math.abs(a.clientWidth-t.clientWidth-l);n<=25&&(s-=n)}else c<=25&&(s+=c);return{width:s,height:n,x:o,y:r}}(e,i);else if("document"===t)a=function(e){const t=Ft(e),i=li(e),a=e.ownerDocument.body,l=rt(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),s=rt(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let n=-i.scrollLeft+gi(e);const o=-i.scrollTop;return"rtl"===ai(a).direction&&(n+=rt(t.clientWidth,a.clientWidth)-l),{width:l,height:s,x:n,y:o}}(Ft(e));else if(Ot(t))a=function(e,t){const i=pi(e,!0,"fixed"===t),a=i.top+e.clientTop,l=i.left+e.clientLeft,s=zt(e)?hi(e):ht(1);return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:l*s.x,y:a*s.y}}(t,i);else{const i=ui(e);a={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Bt(a)}function yi(e,t){const i=si(e);return!(i===t||!Ot(i)||ii(i))&&("fixed"===ai(i).position||yi(i,t))}function bi(e,t,i){const a=zt(t),l=Ft(t),s="fixed"===i,n=pi(e,!0,s,t);let o={scrollLeft:0,scrollTop:0};const r=ht(0);function c(){r.x=gi(l)}if(a||!a&&!s)if(("body"!==Tt(t)||Ut(l))&&(o=li(t)),a){const e=pi(t,!0,s,t);r.x=e.x+t.clientLeft,r.y=e.y+t.clientTop}else l&&c();s&&!a&&l&&c();const d=!l||a||s?ht(0):fi(l,o);return{x:n.left+o.scrollLeft-r.x-d.x,y:n.top+o.scrollTop-r.y-d.y,width:n.width,height:n.height}}function xi(e){return"static"===ai(e).position}function Ci(e,t){if(!zt(e)||"fixed"===ai(e).position)return null;if(t)return t(e);let i=e.offsetParent;return Ft(e)===i&&(i=i.ownerDocument.body),i}function _i(e,t){const i=Pt(e);if(Kt(e))return i;if(!zt(e)){let t=si(e);for(;t&&!ii(t);){if(Ot(t)&&!xi(t))return t;t=si(t)}return i}let a=Ci(e,t);for(;a&&qt(a)&&xi(a);)a=Ci(a,t);return a&&ii(a)&&xi(a)&&!Qt(a)?i:a||function(e){let t=si(e);for(;zt(t)&&!ii(t);){if(Qt(t))return t;if(Kt(t))return null;t=si(t)}return null}(e)||i}const Zi={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:a,strategy:l}=e;const s="fixed"===l,n=Ft(a),o=!!t&&Kt(t.floating);if(a===n||o&&s)return i;let r={scrollLeft:0,scrollTop:0},c=ht(1);const d=ht(0),h=zt(a);if((h||!h&&!s)&&(("body"!==Tt(a)||Ut(n))&&(r=li(a)),zt(a))){const e=pi(a);c=hi(a),d.x=e.x+a.clientLeft,d.y=e.y+a.clientTop}const v=!n||h||s?ht(0):fi(n,r);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-r.scrollLeft*c.x+d.x+v.x,y:i.y*c.y-r.scrollTop*c.y+d.y+v.y}},getDocumentElement:Ft,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:a,strategy:l}=e;const s=[..."clippingAncestors"===i?Kt(t)?[]:function(e,t){const i=t.get(e);if(i)return i;let a=oi(e,[],!1).filter(e=>Ot(e)&&"body"!==Tt(e)),l=null;const s="fixed"===ai(e).position;let n=s?si(e):e;for(;Ot(n)&&!ii(n);){const t=ai(n),i=Qt(n);i||"fixed"!==t.position||(l=null),(s?!i&&!l:!i&&"static"===t.position&&l&&wi.has(l.position)||Ut(n)&&!i&&yi(e,n))?a=a.filter(e=>e!==n):l=t,n=si(n)}return t.set(e,a),a}(t,this._c):[].concat(i),a],n=s[0],o=s.reduce((e,i)=>{const a=mi(t,i,l);return e.top=rt(a.top,e.top),e.right=ot(a.right,e.right),e.bottom=ot(a.bottom,e.bottom),e.left=rt(a.left,e.left),e},mi(t,n,l));return{width:o.right-o.left,height:o.bottom-o.top,x:o.left,y:o.top}},getOffsetParent:_i,getElementRects:async function(e){const t=this.getOffsetParent||_i,i=this.getDimensions,a=await i(e.floating);return{reference:bi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:i}=ci(e);return{width:t,height:i}},getScale:hi,isElement:Ot,isRTL:function(e){return"rtl"===ai(e).direction}};function Mi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Vi(e,t,i,a){void 0===a&&(a={});const{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:n="function"==typeof ResizeObserver,layoutShift:o="function"==typeof IntersectionObserver,animationFrame:r=!1}=a,c=di(e),d=l||s?[...c?oi(c):[],...oi(t)]:[];d.forEach(e=>{l&&e.addEventListener("scroll",i,{passive:!0}),s&&e.addEventListener("resize",i)});const h=c&&o?function(e,t){let i,a=null;const l=Ft(e);function s(){var e;clearTimeout(i),null==(e=a)||e.disconnect(),a=null}return function n(o,r){void 0===o&&(o=!1),void 0===r&&(r=1),s();const c=e.getBoundingClientRect(),{left:d,top:h,width:v,height:u}=c;if(o||t(),!v||!u)return;const p={rootMargin:-dt(h)+"px "+-dt(l.clientWidth-(d+v))+"px "+-dt(l.clientHeight-(h+u))+"px "+-dt(d)+"px",threshold:rt(0,ot(1,r))||1};let g=!0;function f(t){const a=t[0].intersectionRatio;if(a!==r){if(!g)return n();a?n(!1,a):i=setTimeout(()=>{n(!1,1e-7)},1e3)}1!==a||Mi(c,e.getBoundingClientRect())||n(),g=!1}try{a=new IntersectionObserver(f,{...p,root:l.ownerDocument})}catch(e){a=new IntersectionObserver(f,p)}a.observe(e)}(!0),s}(c,i):null;let v,u=-1,p=null;n&&(p=new ResizeObserver(e=>{let[a]=e;a&&a.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),i()}),c&&!r&&p.observe(c),p.observe(t));let g=r?pi(e):null;return r&&function t(){const a=pi(e);g&&!Mi(g,a)&&i();g=a,v=requestAnimationFrame(t)}(),i(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",i),s&&e.removeEventListener("resize",i)}),null==h||h(),null==(e=p)||e.disconnect(),p=null,r&&cancelAnimationFrame(v)}}const $i=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var i,a;const{x:l,y:s,placement:n,middlewareData:o}=t,r=await async function(e,t){const{placement:i,platform:a,elements:l}=e,s=await(null==a.isRTL?void 0:a.isRTL(l.floating)),n=ft(i),o=wt(i),r="y"===xt(i),c=It.has(n)?-1:1,d=s&&r?-1:1,h=gt(t,e);let{mainAxis:v,crossAxis:u,alignmentAxis:p}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return o&&"number"==typeof p&&(u="end"===o?-1*p:p),r?{x:u*d,y:v*c}:{x:v*c,y:u*d}}(t,e);return n===(null==(i=o.offset)?void 0:i.placement)&&null!=(a=o.arrow)&&a.alignmentOffset?{}:{x:l+r.x,y:s+r.y,data:{...r,placement:n}}}}},ki=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:a,placement:l}=t,{mainAxis:s=!0,crossAxis:n=!1,limiter:o={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...r}=gt(e,t),c={x:i,y:a},d=await Lt(t,r),h=xt(ft(l)),v=mt(h);let u=c[v],p=c[h];if(s){const e="y"===v?"bottom":"right";u=pt(u+d["y"===v?"top":"left"],u,u-d[e])}if(n){const e="y"===h?"bottom":"right";p=pt(p+d["y"===h?"top":"left"],p,p-d[e])}const g=o.fn({...t,[v]:u,[h]:p});return{...g,data:{x:g.x-i,y:g.y-a,enabled:{[v]:s,[h]:n}}}}}},Hi=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,a;const{placement:l,middlewareData:s,rects:n,initialPlacement:o,platform:r,elements:c}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...f}=gt(e,t);if(null!=(i=s.arrow)&&i.alignmentOffset)return{};const w=ft(l),m=xt(o),y=ft(o)===o,b=await(null==r.isRTL?void 0:r.isRTL(c.floating)),x=v||(y||!g?[St(o)]:function(e){const t=St(e);return[Zt(e),t,Zt(t)]}(o)),C="none"!==p;!v&&C&&x.push(...Ht(o,g,p,b));const _=[o,...x],Z=await Lt(t,f),M=[];let V=(null==(a=s.flip)?void 0:a.overflows)||[];if(d&&M.push(Z[w]),h){const e=_t(l,n,b);M.push(Z[e[0]],Z[e[1]])}if(V=[...V,{placement:l,overflows:M}],!M.every(e=>e<=0)){var $,k;const e=((null==($=s.flip)?void 0:$.index)||0)+1,t=_[e];if(t){if(!("alignment"===h&&m!==xt(t))||V.every(e=>xt(e.placement)!==m||e.overflows[0]>0))return{data:{index:e,overflows:V},reset:{placement:t}}}let i=null==(k=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:k.placement;if(!i)switch(u){case"bestFit":{var H;const e=null==(H=V.filter(e=>{if(C){const t=xt(e.placement);return t===m||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:H[0];e&&(i=e);break}case"initialPlacement":i=o}if(l!==i)return{reset:{placement:i}}}return{}}}},Si=(e,t,i)=>{const a=new Map,l={platform:Zi,...i},s={...l.platform,_c:a};return(async(e,t,i)=>{const{placement:a="bottom",strategy:l="absolute",middleware:s=[],platform:n}=i,o=s.filter(Boolean),r=await(null==n.isRTL?void 0:n.isRTL(t));let c=await n.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:h}=At(c,a,r),v=a,u={},p=0;for(let i=0;i<o.length;i++){const{name:s,fn:g}=o[i],{x:f,y:w,data:m,reset:y}=await g({x:d,y:h,initialPlacement:a,placement:v,strategy:l,middlewareData:u,rects:c,platform:n,elements:{reference:e,floating:t}});d=null!=f?f:d,h=null!=w?w:h,u={...u,[s]:{...u[s],...m}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(v=y.placement),y.rects&&(c=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:l}):y.rects),({x:d,y:h}=At(c,v,r))),i=-1)}return{x:d,y:h,placement:v,strategy:l,middlewareData:u}})(e,t,{...l,platform:s})};var Di=g`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;color:var(--sgds-body-color-default,#1a1a1a);display:block;font-family:var(--sgds-font-family-brand,"Inter",system-ui,sans-serif);font-size:var(--sgds-font-size-body-md,1rem);font-weight:var(--sgds-font-weight-regular,400);line-height:var(--sgds-line-height-xs,24px);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}::slotted(svg){vertical-align:middle}}`;class Bi extends He{emit(e,t){const i=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(i),i}static define(e,t=this,i={}){if(customElements.get(e));else try{customElements.define(e,t,i)}catch(a){customElements.define(e,class extends t{},i)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach(([e,t])=>{this.constructor.define(e,t)})}firstUpdated(e){var t;super.firstUpdated(e),this.ssr&&(null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll("slot").forEach(e=>{e.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}))}}function Ai(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}Bi.styles=[Di],Bi.dependencies={},e([Ie({type:Boolean,reflect:!0})],Bi.prototype,"ssr",void 0);class Li extends Bi{constructor(){super(...arguments),this.myDropdown=at(),this.dropdownMenuId=Ai("dropdown-menu","div"),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.floatingOpts={},this.menuIsOpen=!1,this.close="default",this.disabled=!1,this.readonly=!1,this.menuRef=at(),this._handleClickOutOfElement=e=>{this.menuIsOpen&&(e.composedPath().includes(this)||this.hideMenu(!0))}}connectedCallback(){super.connectedCallback(),"inside"!==this.close&&document.addEventListener("click",this._handleClickOutOfElement),this.addEventListener("keydown",this._handleKeyboardMenuEvent)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this.removeEventListener("keydown",this._handleKeyboardMenuEvent),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&requestAnimationFrame(async()=>{await this.updateFloatingPosition(),this._startAutoUpdate()})}async showMenu(){this.disabled||this.menuIsOpen||(this.menuIsOpen=!0,this.emit("sgds-show"),await this.updateFloatingPosition(),this.emit("sgds-after-show"),this._startAutoUpdate())}_startAutoUpdate(){this.myDropdown.value&&this.menuRef.value&&(this._cleanupAutoUpdate=Vi(this.myDropdown.value,this.menuRef.value,()=>this.updateFloatingPosition()))}hideMenu(e){this.menuIsOpen&&(this.emit("sgds-hide",{detail:{isOutside:e}}),this.menuIsOpen=!1,setTimeout(()=>this.emit("sgds-after-hide"),0),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0))}toggleMenu(){this.menuIsOpen?this.hideMenu():this.showMenu()}_handleKeyboardMenuEvent(e){if(!this.readonly)switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.menuIsOpen||this.showMenu();break;case"Escape":this.hideMenu()}}mergeMiddleware(e,t){const i=e=>{var t;return(null==e?void 0:e.name)||(null===(t=null==e?void 0:e.constructor)||void 0===t?void 0:t.name)},a=t.map(i),l=e.map(e=>{const l=i(e),s=a.indexOf(l);return-1!==s?t[s]:e}).concat(t.filter(t=>!e.some(e=>i(e)===i(t))));return l}async updateFloatingPosition(){if(!this.myDropdown.value||!this.menuRef.value)return;let e="bottom-start";switch(this.drop){case"up":e=this.menuAlignRight?"top-end":"top-start";break;case"right":e="right-start";break;case"left":e="left-start";break;case"down":e=this.menuAlignRight?"bottom-end":"bottom-start";break;default:e="bottom-start"}const t=[$i(8),this.noFlip?void 0:Hi(),ki()].filter(Boolean);let i=t;Array.isArray(this.floatingOpts.middleware)&&this.floatingOpts.middleware.length>0&&(i=this.mergeMiddleware(t,this.floatingOpts.middleware.filter(Boolean)));const a=Object.assign(Object.assign({strategy:"fixed",placement:e},this.floatingOpts),{middleware:i}),{x:l,y:s,strategy:n,placement:o}=await Si(this.myDropdown.value,this.menuRef.value,a);this.menuRef.value.setAttribute("data-placement",o),Object.assign(this.menuRef.value.style,{position:n,left:`${l}px`,top:`${s}px`})}}e([Ie({type:Boolean,state:!0})],Li.prototype,"noFlip",void 0),e([Ie({type:Boolean,reflect:!0,state:!0})],Li.prototype,"menuAlignRight",void 0),e([Ie({type:String,reflect:!0,state:!0})],Li.prototype,"drop",void 0),e([Ie({type:Object})],Li.prototype,"floatingOpts",void 0),e([Ie({type:Boolean,reflect:!0})],Li.prototype,"menuIsOpen",void 0),e([Ie({type:Boolean,reflect:!0})],Li.prototype,"disabled",void 0),e([Ie({type:Boolean,reflect:!0})],Li.prototype,"readonly",void 0);const Ii={"DD/MM/YYYY":{imPattern:"`dd{/}`mm{/}`yyyy",imRangePattern:"`dd{/}`mm{/}`yyyy - `DD{/}`MM{/}`YYYY",fnsPattern:"dd/MM/yyyy"},"MM/DD/YYYY":{imPattern:"`mm{/}`dd{/}`yyyy",imRangePattern:"`mm{/}`dd{/}`yyyy - `MM{/}`DD{/}`YYYY",fnsPattern:"MM/dd/yyyy"},"YYYY/MM/DD":{imPattern:"`yyyy{/}`mm{/}`dd",imRangePattern:"`yyyy{/}`mm{/}`dd - `YYYY{/}`MM{/}`DD",fnsPattern:"yyyy/MM/dd"}},Ei=e=>{const t=e.getMonth(),a=e.getFullYear(),l=e.getDate(),s=new Date(a,t+1),o=i(s);return n(e)&&o<l?r(s):new Date(a,t+1,l)},Ti=e=>{const t=e.getMonth(),a=e.getFullYear(),l=e.getDate(),s=new Date(a,t-1),o=i(s);return n(e)&&o<l?r(s):new Date(a,t-1,l)},Pi=e=>{const t=new Date(e);return t.setHours(12),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t};function Fi(e,t){const i=Object.assign({waitUntilFirstUpdate:!1},t);return(t,a)=>{const{update:l}=t;if(e in t){const s=e;t.update=function(e){if(e.has(s)){const t=e.get(s),l=this[s];t!==l&&(i.waitUntilFirstUpdate&&!this.hasUpdated||this[a](t,l))}l.call(this,e)}}}}
71
71
  /**
72
72
  * @license
73
73
  * Copyright 2018 Google LLC
74
74
  * SPDX-License-Identifier: BSD-3-Clause
75
- */const Bs=Ti(class extends Ii{constructor(t){if(super(t),t.type!==Ei||"class"!==t.name||t.strings?.length>2)throw new Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this._previousClasses){this._previousClasses=new Set,void 0!==t.strings&&(this._staticClasses=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this._staticClasses?.has(t)&&this._previousClasses.add(t);return this.render(e)}const i=t.element.classList;for(const t of this._previousClasses)t in e||(i.remove(t),this._previousClasses.delete(t));for(const t in e){const a=!!e[t];a===this._previousClasses.has(t)||this._staticClasses?.has(t)||(a?(i.add(t),this._previousClasses.add(t)):(i.remove(t),this._previousClasses.delete(t)))}return ei}}),Es=t=>t??ii,Fs=Symbol.for(""),Hs=t=>{if(t?.r===Fs)return t?._$litStatic$},$s=(t,...e)=>({_$litStatic$:e.reduce((e,i,a)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw new Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(i)+t[a+1],t[0]),r:Fs}),Ts=new Map,Is=(Ps=Je,(t,...e)=>{const i=e.length;let a,s;const n=[],r=[];let o,l=0,c=!1;for(;l<i;){for(o=t[l];l<i&&void 0!==(s=e[l],a=Hs(s));)o+=a+t[++l],c=!0;l!==i&&r.push(s),n.push(o),l++}if(l===i&&n.push(t[i]),c){const i=n.join("$$lit$$");void 0===(t=Ts.get(i))&&(n.raw=n,Ts.set(i,t=n)),e=r}return Ps(t,...e)});
75
+ */const Ri=Ue(class extends We{constructor(e){if(super(e),e.type!==Oe||"class"!==e.name||e.strings?.length>2)throw new Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(void 0===this._previousClasses){this._previousClasses=new Set,void 0!==e.strings&&(this._staticClasses=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!this._staticClasses?.has(e)&&this._previousClasses.add(e);return this.render(t)}const i=e.element.classList;for(const e of this._previousClasses)e in t||(i.remove(e),this._previousClasses.delete(e));for(const e in t){const a=!!t[e];a===this._previousClasses.has(e)||this._staticClasses?.has(e)||(a?(i.add(e),this._previousClasses.add(e)):(i.remove(e),this._previousClasses.delete(e)))}return de}}),Oi=e=>e??he,zi=Symbol.for(""),Yi=e=>{if(e?.r===zi)return e?._$litStatic$},Ni=(e,...t)=>({_$litStatic$:t.reduce((t,i,a)=>t+(e=>{if(void 0!==e._$litStatic$)return e._$litStatic$;throw new Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(i)+e[a+1],e[0]),r:zi}),Ui=new Map,Wi=(qi=re,(e,...t)=>{const i=t.length;let a,l;const s=[],n=[];let o,r=0,c=!1;for(;r<i;){for(o=e[r];r<i&&void 0!==(l=t[r],a=Yi(l));)o+=a+e[++r],c=!0;r!==i&&n.push(l),s.push(o),r++}if(r===i&&s.push(e[i]),c){const i=s.join("$$lit$$");void 0===(e=Ui.get(i))&&(s.raw=s,Ui.set(i,e=s)),t=n}return qi(e,...t)});
76
76
  /**
77
77
  * @license
78
78
  * Copyright 2018 Google LLC
79
79
  * SPDX-License-Identifier: BSD-3-Clause
80
- */var Ps,Ls=re`:host{--btn-font-weight:var(--sgds-font-weight-regular);--btn-color:var(--sgds-color-fixed-light);--btn-bg:var(--sgds-primary-surface-default);--btn-hover-bg:var(--sgds-primary-surface-emphasis);--btn-border-radius:var(--sgds-border-radius-md);--btn-opacity:var(--sgds-opacity-100,1)}:host([variant=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=brand]){--btn-bg:var(--sgds-primary-surface-default);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline]){--btn-border-width:var(--sgds-border-width-1)}:host([variant=outline][tone=brand]){--btn-border-color:var(--sgds-primary-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-color:var(--sgds-primary-color-default);--btn-hover-bg:var(--sgds-primary-bg-translucent)}:host([variant=ghost][tone=brand]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-primary-surface-translucent);--btn-color:var(--sgds-primary-color-default)}:host([variant=primary][tone=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline][tone=danger]){--btn-border-color:var(--sgds-danger-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=ghost][tone=danger]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=primary][tone=fixed-light]){--btn-bg:var(--sgds-surface-fixed-light);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 0%,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 100%),var(--sgds-surface-fixed-light,#fff);--btn-color:var(--sgds-color-fixed-dark)}:host([variant=outline][tone=fixed-light]){--btn-border-color:var(--sgds-border-color-fixed-light);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=ghost][tone=fixed-light]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=neutral]){--btn-bg:var(--sgds-surface-inverse);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-surface-inverse);--btn-color:var(--sgds-color-inverse)}:host([variant=outline][tone=neutral]){--btn-border-color:var(--sgds-border-color-emphasis);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost][tone=neutral]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost]) .btn,:host([variant=outline]) .btn,:host([variant=primary]) .btn{color:var(--btn-color)}:host([variant=outline]) .btn{border:var(--btn-border-width) solid var(--btn-border-color)}:host([size=lg]) .btn{font-size:var(--sgds-font-size-label-lg);height:var(--sgds-dimension-56);line-height:var(--sgds-line-height-md);min-width:var(--sgds-dimension-112);padding:var(--sgds-padding-none) var(--sgds-padding-xl)}:host([size=sm]) .btn{font-size:var(--sgds-font-size-label-sm);height:var(--sgds-dimension-40);line-height:var(--sgds-line-height-2-xs);min-width:var(--sgds-dimension-80);padding:var(--sgds-padding-none) var(--sgds-padding-md)}:host([size=xs]) .btn{font-size:var(--sgds-font-size-label-xs);height:var(--sgds-dimension-32);line-height:var(--sgds-line-height-3-xs);min-width:var(--sgds-dimension-64);padding:var(--sgds-padding-none) var(--sgds-padding-sm)}.btn{align-items:center;background-color:var(--btn-bg);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--btn-border-radius);color:var(--sgds-color-fixed-light);cursor:pointer;display:inline-flex;font-size:var(--sgds-font-size-label-md);font-weight:var(--btn-font-weight);gap:var(--sgds-gap-2-xs);height:var(--sgds-dimension-48);justify-content:center;line-height:var(--sgds-line-height-xs);min-width:var(--sgds-dimension-96);opacity:var(--btn-opacity);padding:var(--sgds-padding-none) var(--sgds-padding-lg);text-align:center;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;user-select:none;vertical-align:middle;white-space:nowrap;width:inherit}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn.active,.btn:hover{background:var(--btn-hover-bg)}.btn:focus,.btn:focus-visible{background:var(--btn-hover-bg);border-color:transparent;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.btn.disabled,.btn:disabled{color:var(--btn-color);cursor:not-allowed;opacity:var(--sgds-opacity-40)}.btn.loading{cursor:default}.btn slot::slotted(*){color:var(--btn-color)}`;class Rs extends Cs{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.active=!1,this.disabled=!1,this.target="_self"}focus(t){this.button.focus(t)}click(){this.button.click()}blur(){this.button.blur()}_handleBlur(){this.emit("sgds-blur")}_handleFocus(){this.emit("sgds-focus")}_handleClick(t){if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation()}_handleKeydown(t){if("Enter"===t.key&&this.loading)return t.preventDefault(),void t.stopPropagation()}_assignSpinnerSize(t){return"xs"===t||"sm"===t?"xs":"md"===t||"lg"===t?"sm":void 0}_assignSpinnerTone(t,e){return"fixed-light"===t&&"primary"===e?"fixed-dark":"neutral"===t&&"primary"===e?"inverse":"fixed-light"===t||"primary"===e?"fixed-light":"neutral"!==t||"outline"!==e&&"ghost"!==e?"brand":"neutral"}}Rs.styles=[...Cs.styles,Ls],t([Ai(".btn")],Rs.prototype,"button",void 0),t([Zi({reflect:!0})],Rs.prototype,"variant",void 0),t([Zi({reflect:!0})],Rs.prototype,"tone",void 0),t([Zi({reflect:!0})],Rs.prototype,"size",void 0),t([Zi({type:Boolean,reflect:!0})],Rs.prototype,"active",void 0),t([Zi({type:Boolean,reflect:!0})],Rs.prototype,"disabled",void 0),t([Zi({type:String,reflect:!0})],Rs.prototype,"href",void 0),t([Zi({type:String,reflect:!0})],Rs.prototype,"target",void 0),t([Zi({type:String,reflect:!0})],Rs.prototype,"download",void 0),t([Zi({type:String})],Rs.prototype,"ariaLabel",void 0),t([Zi({type:Boolean})],Rs.prototype,"loading",void 0);class Os{constructor(t,...e){this.slotNames=[],(this.host=t).addController(this),this.slotNames=e,this.handleSlotChange=this.handleSlotChange.bind(this)}hasDefaultSlot(){return[...this.host.childNodes].some(t=>{var e;if(t.nodeType===t.TEXT_NODE&&""!==(null===(e=t.textContent)||void 0===e?void 0:e.trim()))return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if("sl-visually-hidden"===e.tagName.toLowerCase())return!1;if(!e.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(t){return null!==this.host.querySelector(`:scope > [slot="${t}"]`)}test(t){return"[default]"===t?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){var t;null===(t=this.host.shadowRoot)||void 0===t||t.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){var t;null===(t=this.host.shadowRoot)||void 0===t||t.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange(t){const e=t.target;(this.slotNames.includes("[default]")&&!e.name||e.name&&this.slotNames.includes(e.name))&&this.host.requestUpdate()}}class Ys{constructor(t,e){(this.host=t).addController(this),this.options=Object.assign({form:t=>t.closest("form")},e)}hostConnected(){this.form=this.options.form(this.host)}hostDisconnected(){this.form&&(this.form=void 0)}doAction(t,e){if(this.form){const i=document.createElement("button");i.type=t,i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.clipPath="inset(50%)",i.style.overflow="hidden",i.style.whiteSpace="nowrap",e&&(["formaction","formmethod","formnovalidate","formtarget"].forEach(t=>{e.hasAttribute(t)&&i.setAttribute(t,e.getAttribute(t))}),"submit"===t&&e.hasAttribute("name")&&(i.name=e.getAttribute("name"),i.value=e.getAttribute("value")||"")),this.form.append(i),i.click(),i.remove()}}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}}var Ns=re`::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}`,zs=re`:host{display:inline-block}:host([fullWidth]),:host([fullWidth]) .btn{width:100%}:host([fullWidth]) .btn.has-left-icon{justify-content:flex-start}:host([fullWidth]) .btn.has-right-icon{justify-content:space-between}:host([fullWidth]) .btn.has-left-icon.has-right-icon{justify-content:center}.btn span{padding:0 var(--sgds-padding-2-xs)}.btn.no-icon{gap:var(--sgds-gap-none)}.loading{cursor:default}`;class Us extends Rs{constructor(){super(...arguments),this.formSubmitController=new Ys(this,{form:t=>{if(t.hasAttribute("form")){const e=t.getRootNode(),i=t.getAttribute("form");return e.getElementById(i)}return t.closest("form")}}),this.type="button",this.fullWidth=!1,this.hasLeftIconSlot=!1,this.hasRightIconSlot=!1,this.hasSlotController=new Os(this,"leftIcon","rightIcon"),this._clickHandler=()=>{"submit"===this.type&&this.formSubmitController.submit(this),"reset"===this.type&&this.formSubmitController.reset(this)}}updated(){this.hasLeftIconSlot||(this.hasLeftIconSlot=this.hasSlotController.test("leftIcon")),this.hasRightIconSlot||(this.hasRightIconSlot=this.hasSlotController.test("rightIcon"))}_handleClick(t){if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();this.removeEventListener("click",this._clickHandler),this.addEventListener("click",this._clickHandler)}render(){const t=this.href,e=t?$s`a`:$s`button`,i=!this.hasLeftIconSlot&&!this.hasRightIconSlot;return Is`
81
- <${e}
82
- class="btn ${Bs({disabled:this.disabled,active:this.active,"has-left-icon":this.hasLeftIconSlot,"has-right-icon":this.hasRightIconSlot,"no-icon":i,loading:this.loading})}"
83
- ?disabled=${Es(t?void 0:this.disabled)}
84
- type=${Es(t?void 0:this.type)}
85
- name=${Es(t?void 0:this.name)}
86
- value=${Es(t?void 0:this.value)}
87
- href=${Es(t?this.href:void 0)}
88
- target=${Es(t?this.target:void 0)}
89
- download=${Es(t?this.download:void 0)}
90
- rel=${Es(t&&"_blank"===this.target?"noreferrer noopener":void 0)}
91
- role=${Es(t?"button":void 0)}
80
+ */var qi,ji=g`:host{--btn-font-weight:var(--sgds-font-weight-regular);--btn-color:var(--sgds-color-fixed-light);--btn-bg:var(--sgds-primary-surface-default);--btn-hover-bg:var(--sgds-primary-surface-emphasis);--btn-border-radius:var(--sgds-border-radius-md);--btn-opacity:var(--sgds-opacity-100,1)}:host([variant=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=brand]){--btn-bg:var(--sgds-primary-surface-default);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline]){--btn-border-width:var(--sgds-border-width-1)}:host([variant=outline][tone=brand]){--btn-border-color:var(--sgds-primary-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-color:var(--sgds-primary-color-default);--btn-hover-bg:var(--sgds-primary-bg-translucent)}:host([variant=ghost][tone=brand]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-primary-surface-translucent);--btn-color:var(--sgds-primary-color-default)}:host([variant=primary][tone=danger]){--btn-bg:var(--sgds-danger-surface-default);--btn-hover-bg:var(--sgds-danger-surface-emphasis);--btn-color:var(--sgds-color-fixed-light)}:host([variant=outline][tone=danger]){--btn-border-color:var(--sgds-danger-border-color-default);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=ghost][tone=danger]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-danger-surface-translucent);--btn-color:var(--sgds-danger-color-default)}:host([variant=primary][tone=fixed-light]){--btn-bg:var(--sgds-surface-fixed-light);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 0%,var(--sgds-bg-translucent-fixed-dark,hsla(0,0%,5%,.2)) 100%),var(--sgds-surface-fixed-light,#fff);--btn-color:var(--sgds-color-fixed-dark)}:host([variant=outline][tone=fixed-light]){--btn-border-color:var(--sgds-border-color-fixed-light);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=ghost][tone=fixed-light]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-fixed-dark) 0%,var(--sgds-bg-translucent-fixed-dark) 100%),var(--sgds-bg-transparent);--btn-color:var(--sgds-color-fixed-light)}:host([variant=primary][tone=neutral]){--btn-bg:var(--sgds-surface-inverse);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-surface-inverse);--btn-color:var(--sgds-color-inverse)}:host([variant=outline][tone=neutral]){--btn-border-color:var(--sgds-border-color-emphasis);--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:linear-gradient(0deg,var(--sgds-bg-translucent-inverse) 0%,var(--sgds-bg-translucent-inverse) 100%),var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost][tone=neutral]){--btn-bg:var(--sgds-bg-transparent);--btn-hover-bg:var(--sgds-bg-translucent-subtle);--btn-color:var(--sgds-color-default)}:host([variant=ghost]) .btn,:host([variant=outline]) .btn,:host([variant=primary]) .btn{color:var(--btn-color)}:host([variant=outline]) .btn{border:var(--btn-border-width) solid var(--btn-border-color)}:host([size=lg]) .btn{font-size:var(--sgds-font-size-label-lg);height:var(--sgds-dimension-56);line-height:var(--sgds-line-height-md);min-width:var(--sgds-dimension-112);padding:var(--sgds-padding-none) var(--sgds-padding-xl)}:host([size=sm]) .btn{font-size:var(--sgds-font-size-label-sm);height:var(--sgds-dimension-40);line-height:var(--sgds-line-height-2-xs);min-width:var(--sgds-dimension-80);padding:var(--sgds-padding-none) var(--sgds-padding-md)}:host([size=xs]) .btn{font-size:var(--sgds-font-size-label-xs);height:var(--sgds-dimension-32);line-height:var(--sgds-line-height-3-xs);min-width:var(--sgds-dimension-64);padding:var(--sgds-padding-none) var(--sgds-padding-sm)}.btn{align-items:center;background-color:var(--btn-bg);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--btn-border-radius);color:var(--sgds-color-fixed-light);cursor:pointer;display:inline-flex;font-size:var(--sgds-font-size-label-md);font-weight:var(--btn-font-weight);gap:var(--sgds-gap-2-xs);height:var(--sgds-dimension-48);justify-content:center;line-height:var(--sgds-line-height-xs);min-width:var(--sgds-dimension-96);opacity:var(--btn-opacity);padding:var(--sgds-padding-none) var(--sgds-padding-lg);text-align:center;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;user-select:none;vertical-align:middle;white-space:nowrap;width:inherit}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn.active,.btn:hover{background:var(--btn-hover-bg)}.btn:focus,.btn:focus-visible{background:var(--btn-hover-bg);border-color:transparent;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.btn.disabled,.btn:disabled{color:var(--btn-color);cursor:not-allowed;opacity:var(--sgds-opacity-40)}.btn.loading{cursor:default}.btn slot::slotted(*){color:var(--btn-color)}`;class Ki extends Bi{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.active=!1,this.disabled=!1,this.target="_self"}focus(e){this.button.focus(e)}click(){this.button.click()}blur(){this.button.blur()}_handleBlur(){this.emit("sgds-blur")}_handleFocus(){this.emit("sgds-focus")}_handleClick(e){if(this.disabled||this.loading)return e.preventDefault(),void e.stopPropagation()}_handleKeydown(e){if("Enter"===e.key&&this.loading)return e.preventDefault(),void e.stopPropagation()}_assignSpinnerSize(e){return"xs"===e||"sm"===e?"xs":"md"===e||"lg"===e?"sm":void 0}_assignSpinnerTone(e,t){return"fixed-light"===e&&"primary"===t?"fixed-dark":"neutral"===e&&"primary"===t?"inverse":"fixed-light"===e||"primary"===t?"fixed-light":"neutral"!==e||"outline"!==t&&"ghost"!==t?"brand":"neutral"}}Ki.styles=[...Bi.styles,ji],e([Fe(".btn")],Ki.prototype,"button",void 0),e([Ie({reflect:!0})],Ki.prototype,"variant",void 0),e([Ie({reflect:!0})],Ki.prototype,"tone",void 0),e([Ie({reflect:!0})],Ki.prototype,"size",void 0),e([Ie({type:Boolean,reflect:!0})],Ki.prototype,"active",void 0),e([Ie({type:Boolean,reflect:!0})],Ki.prototype,"disabled",void 0),e([Ie({type:String,reflect:!0})],Ki.prototype,"href",void 0),e([Ie({type:String,reflect:!0})],Ki.prototype,"target",void 0),e([Ie({type:String,reflect:!0})],Ki.prototype,"download",void 0),e([Ie({type:String})],Ki.prototype,"ariaLabel",void 0),e([Ie({type:Boolean})],Ki.prototype,"loading",void 0);class Ji{constructor(e,...t){this.slotNames=[],(this.host=e).addController(this),this.slotNames=t,this.handleSlotChange=this.handleSlotChange.bind(this)}hasDefaultSlot(){return[...this.host.childNodes].some(e=>{var t;if(e.nodeType===e.TEXT_NODE&&""!==(null===(t=e.textContent)||void 0===t?void 0:t.trim()))return!0;if(e.nodeType===e.ELEMENT_NODE){const t=e;if("sl-visually-hidden"===t.tagName.toLowerCase())return!1;if(!t.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(e){return null!==this.host.querySelector(`:scope > [slot="${e}"]`)}test(e){return"[default]"===e?this.hasDefaultSlot():this.hasNamedSlot(e)}hostConnected(){var e;null===(e=this.host.shadowRoot)||void 0===e||e.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){var e;null===(e=this.host.shadowRoot)||void 0===e||e.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange(e){const t=e.target;(this.slotNames.includes("[default]")&&!t.name||t.name&&this.slotNames.includes(t.name))&&this.host.requestUpdate()}}class Gi{constructor(e,t){(this.host=e).addController(this),this.options=Object.assign({form:e=>e.closest("form")},t)}hostConnected(){this.form=this.options.form(this.host)}hostDisconnected(){this.form&&(this.form=void 0)}doAction(e,t){if(this.form){const i=document.createElement("button");i.type=e,i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.clipPath="inset(50%)",i.style.overflow="hidden",i.style.whiteSpace="nowrap",t&&(["formaction","formmethod","formnovalidate","formtarget"].forEach(e=>{t.hasAttribute(e)&&i.setAttribute(e,t.getAttribute(e))}),"submit"===e&&t.hasAttribute("name")&&(i.name=t.getAttribute("name"),i.value=t.getAttribute("value")||"")),this.form.append(i),i.click(),i.remove()}}reset(e){this.doAction("reset",e)}submit(e){this.doAction("submit",e)}}var Xi=g`::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}`,Qi=g`:host{display:inline-block}:host([fullWidth]),:host([fullWidth]) .btn{width:100%}:host([fullWidth]) .btn.has-left-icon{justify-content:flex-start}:host([fullWidth]) .btn.has-right-icon{justify-content:space-between}:host([fullWidth]) .btn.has-left-icon.has-right-icon{justify-content:center}.btn span{padding:0 var(--sgds-padding-2-xs)}.btn.no-icon{gap:var(--sgds-gap-none)}.loading{cursor:default}`;class ea extends Ki{constructor(){super(...arguments),this.formSubmitController=new Gi(this,{form:e=>{if(e.hasAttribute("form")){const t=e.getRootNode(),i=e.getAttribute("form");return t.getElementById(i)}return e.closest("form")}}),this.type="button",this.fullWidth=!1,this.hasLeftIconSlot=!1,this.hasRightIconSlot=!1,this.hasSlotController=new Ji(this,"leftIcon","rightIcon"),this._clickHandler=()=>{"submit"===this.type&&this.formSubmitController.submit(this),"reset"===this.type&&this.formSubmitController.reset(this)}}updated(){this.hasLeftIconSlot||(this.hasLeftIconSlot=this.hasSlotController.test("leftIcon")),this.hasRightIconSlot||(this.hasRightIconSlot=this.hasSlotController.test("rightIcon"))}_handleClick(e){if(this.disabled||this.loading)return e.preventDefault(),void e.stopPropagation();this.removeEventListener("click",this._clickHandler),this.addEventListener("click",this._clickHandler)}render(){const e=this.href,t=e?Ni`a`:Ni`button`,i=!this.hasLeftIconSlot&&!this.hasRightIconSlot;return Wi`
81
+ <${t}
82
+ class="btn ${Ri({disabled:this.disabled,active:this.active,"has-left-icon":this.hasLeftIconSlot,"has-right-icon":this.hasRightIconSlot,"no-icon":i,loading:this.loading})}"
83
+ ?disabled=${Oi(e?void 0:this.disabled)}
84
+ type=${Oi(e?void 0:this.type)}
85
+ name=${Oi(e?void 0:this.name)}
86
+ value=${Oi(e?void 0:this.value)}
87
+ href=${Oi(e?this.href:void 0)}
88
+ target=${Oi(e?this.target:void 0)}
89
+ download=${Oi(e?this.download:void 0)}
90
+ rel=${Oi(e&&"_blank"===this.target?"noreferrer noopener":void 0)}
91
+ role=${Oi(e?"button":void 0)}
92
92
  aria-disabled=${this.disabled||this.loading?"true":"false"}
93
93
  tabindex=${this.disabled?"-1":"0"}
94
94
  @click=${this._handleClick}
95
95
  @keydown=${this._handleKeydown}
96
96
  @focus=${this._handleFocus}
97
97
  @blur=${this._handleBlur}
98
- aria-label=${Es(this.loading?"Loading":this.ariaLabel)}
98
+ aria-label=${Oi(this.loading?"Loading":this.ariaLabel)}
99
99
  >
100
- ${this.loading?Is`<sgds-spinner
101
- size=${Es(this._assignSpinnerSize(this.size))}
102
- tone=${Es(this._assignSpinnerTone(this.tone,this.variant))}
103
- ></sgds-spinner>`:Is`<slot name="leftIcon"></slot>
100
+ ${this.loading?Wi`<sgds-spinner
101
+ size=${Oi(this._assignSpinnerSize(this.size))}
102
+ tone=${Oi(this._assignSpinnerTone(this.tone,this.variant))}
103
+ ></sgds-spinner>`:Wi`<slot name="leftIcon"></slot>
104
104
  <span><slot></slot></span>
105
105
  <slot name="rightIcon"></slot>`}
106
106
 
107
- </${e}>
108
- `}}Us.styles=[...Rs.styles,Ns,zs],t([Zi({type:String,reflect:!0})],Us.prototype,"name",void 0),t([Zi({type:String,reflect:!0})],Us.prototype,"value",void 0),t([Zi({type:String,reflect:!0})],Us.prototype,"type",void 0),t([Zi({type:String,reflect:!0})],Us.prototype,"form",void 0),t([Zi({type:String,reflect:!0,attribute:"formaction"})],Us.prototype,"formAction",void 0),t([Zi({type:String,reflect:!0,attribute:"formmethod"})],Us.prototype,"formMethod",void 0),t([Zi({attribute:"formnovalidate",type:Boolean,reflect:!0})],Us.prototype,"formNoValidate",void 0),t([Zi({type:String,reflect:!0,attribute:"formtarget"})],Us.prototype,"formTarget",void 0),t([Zi({type:Boolean,reflect:!0})],Us.prototype,"fullWidth",void 0),t([Zi({type:Boolean})],Us.prototype,"hasLeftIconSlot",void 0),t([Zi({type:Boolean})],Us.prototype,"hasRightIconSlot",void 0);var qs=re`:host([menuisopen]:not([disabled]):not([readonly])) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-192);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:var(--sgds-z-index-floating)}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,Ws=re`.datepicker-body{color:var(--sgds-form-color-default);display:flex;justify-content:center}table{border-collapse:collapse;text-align:center}.monthpicker,.yearpicker{display:grid;grid-template-columns:repeat(3,6rem);grid-template-rows:repeat(4,2.5rem)}.monthpicker [role=row],.yearpicker [role=row]{display:contents}button.month,button.year{background-color:transparent;border:0;border-radius:var(--sgds-form-border-radius-sm);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs);padding:0;position:relative}button.month.active:not(.selected-ends),button.year.active:not(.selected-ends),td[data-day].active:not(.selected-ends){background-color:var(--sgds-primary-surface-translucent);border-radius:0;cursor:pointer}button.month:hover:not(.active),button.year:hover:not(.active),td[data-day]:hover:not(.disabled):not(.selected-ends):not(.active){background-color:var(--sgds-bg-translucent-subtle);cursor:pointer}button.month:focus:not(.active),button.year:focus:not(.active),td[data-day]:focus:not(.disabled):not(.selected-ends):not(.active){background-color:var(--sgds-bg-translucent-subtle)}button.month:focus-visible,button.year:focus-visible,td[data-day]:focus-visible{outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}button.month.active:not(.selected-ends):focus,button.year.active:not(.selected-ends):focus,td[data-day].active:not(.selected-ends):focus{border-radius:var(--sgds-form-border-radius-sm)}button.year.active{background-color:var(--sgds-primary-surface-translucent);cursor:pointer}td,th{border-radius:var(--sgds-form-border-radius-sm);font-size:var(--sgds-font-size-label-sm);height:var(--sgds-form-height-lg);line-height:var(--sgds-line-height-2-xs);padding:0;position:relative;width:var(--sgds-form-width-md)}th{font-weight:var(--sgds-font-weight-semibold)}td[data-day]{cursor:pointer}button.month.active.selected-ends,button.year.active.selected-ends,td[data-day].active.selected-ends{background-color:var(--sgds-form-primary-surface-default);color:var(--sgds-form-color-fixed-light)}button.month.active.selected-ends:focus,button.month.active.selected-ends:hover,button.year.active.selected-ends:focus,button.year.active.selected-ends:hover,td[data-day].active.selected-ends:focus,td[data-day].active.selected-ends:hover{background-color:var(--sgds-form-primary-surface-emphasis)}td[data-day].disabled{cursor:not-allowed;opacity:var(--sgds-opacity-40)}.today{align-items:center;display:flex;flex-direction:column;justify-content:center}.today:after{background-color:var(--sgds-form-primary-surface-default);bottom:6px;content:".";line-height:4px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' fill='none'%3E%3Ccircle cx='2' cy='2' r='2' fill='%235A42C0'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' fill='none'%3E%3Ccircle cx='2' cy='2' r='2' fill='%235A42C0'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;position:absolute;width:4px}.today.active.selected-ends:after{background-color:var(--sgds-form-color-inverse)}`;const js=new Date,Gs={ArrowUp:{days:-7,months:-3,years:-3},ArrowDown:{days:7,months:3,years:3},ArrowRight:{days:1,months:1,years:1},ArrowLeft:{days:-1,months:-1,years:-1}};class Ks extends Cs{constructor(){super(...arguments),this.selectedDate=[],this.mode="single"}focusOnCalendar(t){t.blur(),this._focusOnCalendarCell()}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this._handleKeyPress),this.addEventListener("blur",t=>t.stopPropagation())}updated(){3===this.focusedTabIndex&&this._focusOnCalendarCell()}_updateFocusedDate(){this.focusedDate=Ds(this.displayDate),this.focusedDate.getFullYear()<1900&&this.focusedDate.setFullYear(1900)}_setFocusedDate(t){const e=this.focusedDate.getDate(),i=this.focusedDate.getMonth(),a=this.focusedDate.getFullYear();switch(this.view){case"days":{const s=Ds(new Date(a,i,e+t));(it(s,new Date(0,0,1,12))||st(s,new Date(0,0,1,12)))&&(this.focusedDate=s);break}case"months":{const s=Ds(new Date(a,i+t,e));(it(s,new Date(0,0,1,12))||st(s,new Date(0,0,1,12)))&&(this.focusedDate=s);break}case"years":{const s=Ds(new Date(a+t,i,e));s.getFullYear()>=1900&&(this.focusedDate=s);break}}}_handleEnterDateKeyboard(t){const e=t.composedPath()[0];if(!e.classList.contains("disabled"))switch(this.view){case"days":this._onClickDay(t);break;case"months":{const{month:t}=e.dataset;this._onClickMonth(parseInt(t));break}case"years":{const{year:t}=e.dataset;this._onClickYear(parseInt(t))}}}_handleKeyPress(t){if("Enter"===t.key)return t.preventDefault(),void this._handleEnterDateKeyboard(t);if("Tab"===t.key){const t=this._getFocusedTarget();return void(3!==this.focusedTabIndex&&t.blur())}if(t.key.includes("Arrow")){t.preventDefault(),this._blurCalendarCell();const e=Gs[t.key][this.view];this._setFocusedDate(e),this._focusOnCalendarCell()}}_generateIncrementDates(){const t=Ds(this.selectedDate[0]);if(this.selectedDate.length<2)return[t];const e=Ds(this.selectedDate[1]),i=[];if(t.getTime()<e.getTime())for(let a=t;a<=e;a.setDate(a.getDate()+1))i.push(new Date(a));else for(let a=e;a<=t;a.setDate(a.getDate()+1))i.push(new Date(a));return i}_onClickDay(t){const{day:e,date:i}=t.composedPath()[0].dataset,a=new Date(this.displayDate);if(a.setDate(parseInt(e)),"click"===t.type&&(this.focusedDate=Ds(new Date(i))),"single"===this.mode)this.selectedDate=[a],this.emit("sgds-selectdates",{detail:this.selectedDate});else if("range"===this.mode){const t=[...this.selectedDate];0!==t.length&&2!==t.length||(t.length=0),t.push(a),this.selectedDate=t,this.emit("sgds-selectdates",{detail:this.selectedDate})}const s=this.minDate?Ds(new Date(this.minDate)):null,n=this.maxDate?Ds(new Date(this.maxDate)):null,r=Ds(a);(s&&r<s||n&&r>n)&&(t.stopPropagation(),t.preventDefault())}_onClickMonth(t,e=this.focusedDate.getFullYear()){const i=new Date(this.displayDate);this.view="days",i.setMonth(t),i.setFullYear(e),this.displayDate=i,this.emit("sgds-view",{detail:this.view}),this.emit("sgds-selectmonth",{detail:this.displayDate})}_onClickYear(t){const e=new Date(this.displayDate);e.setFullYear(t),this.displayDate=e,this.view="months",this.emit("sgds-view",{detail:this.view}),this.emit("sgds-selectyear",{detail:this.displayDate})}_getFocusedTarget(){const t={days:`td[data-date="${this.focusedDate.toISOString()}"]`,months:`button[data-month="${this.focusedDate.getMonth()}"][data-year="${this.focusedDate.getFullYear()}"]`,years:`button[data-year="${this.focusedDate.getFullYear()}"]`}[this.view];return this.shadowRoot.querySelector(`${t}`)}_blurCalendarCell(){const t=this._getFocusedTarget();t.setAttribute("tabindex","-1"),t.blur()}_focusOnCalendarCell(){const t=this._getFocusedTarget();t?(t.setAttribute("tabindex","0"),t.focus(),this.emit("sgds-update-focus",{detail:this.focusedDate})):this.emit("sgds-change-calendar",{detail:this.focusedDate})}_generateDays(){const t=this.selectedDate.map(t=>Ds(t)),e=this._generateIncrementDates(),i=this.minDate?Ds(new Date(this.minDate)):null,a=this.maxDate?Ds(new Date(this.maxDate)):null,s=this.displayDate.getFullYear(),n=this.displayDate.getMonth(),r=new Date(s,n,1).getDay();let o=Ks.daysInMonth[n];1===n&&(s%4==0&&s%100!=0||s%400==0)&&(o=29);const l=[];let c=1;for(let d=0;d<9;d++){const h=[];for(let l=0;l<=6;l++)if(c<=o&&(d>0||l>=r)){const r=new Date(s,n,c,12,0,0,0),o=r.toISOString(),d=i&&Date.parse(o)<Date.parse(i.toISOString()),u=a&&Date.parse(o)>Date.parse(a.toISOString()),p=d||u?void 0:this._onClickDay,g=js.getMonth()===this.displayDate.getMonth(),v=js.getFullYear()===this.displayDate.getFullYear(),f=js.getDate()===c,m=t.length>0&&e.some(t=>Date.parse(o)===Date.parse(t.toISOString())),w=t.length>0&&e[0].toISOString()===o,y=t.length>1&&e[e.length-1].toISOString()===o,b=""+(f&&g&&v?"Today's date, ":"")+X(r,"PPPP");h.push(Je`<td
109
- key=${l}
110
- data-date=${o}
111
- data-day=${c}
112
- aria-label=${b}
113
- aria-current=${Es(f&&g&&v?"date":void 0)}
114
- class=${Bs({today:f&&g&&v,"selected-ends":w||y,active:m,disabled:d||u})}
107
+ </${t}>
108
+ `}}ea.styles=[...Ki.styles,Xi,Qi],e([Ie({type:String,reflect:!0})],ea.prototype,"name",void 0),e([Ie({type:String,reflect:!0})],ea.prototype,"value",void 0),e([Ie({type:String,reflect:!0})],ea.prototype,"type",void 0),e([Ie({type:String,reflect:!0})],ea.prototype,"form",void 0),e([Ie({type:String,reflect:!0,attribute:"formaction"})],ea.prototype,"formAction",void 0),e([Ie({type:String,reflect:!0,attribute:"formmethod"})],ea.prototype,"formMethod",void 0),e([Ie({attribute:"formnovalidate",type:Boolean,reflect:!0})],ea.prototype,"formNoValidate",void 0),e([Ie({type:String,reflect:!0,attribute:"formtarget"})],ea.prototype,"formTarget",void 0),e([Ie({type:Boolean,reflect:!0})],ea.prototype,"fullWidth",void 0),e([Ie({type:Boolean})],ea.prototype,"hasLeftIconSlot",void 0),e([Ie({type:Boolean})],ea.prototype,"hasRightIconSlot",void 0);var ta=g`:host([menuisopen]:not([disabled]):not([readonly])) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-192);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:var(--sgds-z-index-floating)}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,ia=g`.datepicker-body{color:var(--sgds-form-color-default);display:flex;justify-content:center}table{border-collapse:collapse;text-align:center}.monthpicker,.yearpicker{display:grid;grid-template-columns:repeat(3,6rem);grid-template-rows:repeat(4,2.5rem)}.monthpicker [role=row],.yearpicker [role=row]{display:contents}button.month,button.year{background-color:transparent;border:0;border-radius:var(--sgds-form-border-radius-sm);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs);padding:0;position:relative}button.month.active:not(.selected-ends),button.year.active:not(.selected-ends),td[data-day].active:not(.selected-ends){background-color:var(--sgds-primary-surface-translucent);border-radius:0;cursor:pointer}button.month:hover:not(.active),button.year:hover:not(.active),td[data-day]:hover:not(.disabled):not(.selected-ends):not(.active){background-color:var(--sgds-bg-translucent-subtle);cursor:pointer}button.month:focus:not(.active),button.year:focus:not(.active),td[data-day]:focus:not(.disabled):not(.selected-ends):not(.active){background-color:var(--sgds-bg-translucent-subtle)}button.month:focus-visible,button.year:focus-visible,td[data-day]:focus-visible{outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}button.month.active:not(.selected-ends):focus,button.year.active:not(.selected-ends):focus,td[data-day].active:not(.selected-ends):focus{border-radius:var(--sgds-form-border-radius-sm)}button.year.active{background-color:var(--sgds-primary-surface-translucent);cursor:pointer}td,th{border-radius:var(--sgds-form-border-radius-sm);font-size:var(--sgds-font-size-label-sm);height:var(--sgds-form-height-lg);line-height:var(--sgds-line-height-2-xs);padding:0;position:relative;width:var(--sgds-form-width-md)}th{font-weight:var(--sgds-font-weight-semibold)}td[data-day]{cursor:pointer}button.month.active.selected-ends,button.year.active.selected-ends,td[data-day].active.selected-ends{background-color:var(--sgds-form-primary-surface-default);color:var(--sgds-form-color-fixed-light)}button.month.active.selected-ends:focus,button.month.active.selected-ends:hover,button.year.active.selected-ends:focus,button.year.active.selected-ends:hover,td[data-day].active.selected-ends:focus,td[data-day].active.selected-ends:hover{background-color:var(--sgds-form-primary-surface-emphasis)}td[data-day].disabled{cursor:not-allowed;opacity:var(--sgds-opacity-40)}.today{align-items:center;display:flex;flex-direction:column;justify-content:center}.today:after{background-color:var(--sgds-form-primary-surface-default);bottom:6px;content:".";line-height:4px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' fill='none'%3E%3Ccircle cx='2' cy='2' r='2' fill='%235A42C0'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' fill='none'%3E%3Ccircle cx='2' cy='2' r='2' fill='%235A42C0'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;position:absolute;width:4px}.today.active.selected-ends:after{background-color:var(--sgds-form-color-inverse)}`;const aa=new Date,la={ArrowUp:{days:-7,months:-3,years:-3},ArrowDown:{days:7,months:3,years:3},ArrowRight:{days:1,months:1,years:1},ArrowLeft:{days:-1,months:-1,years:-1}};class sa extends Bi{constructor(){super(...arguments),this.selectedDate=[],this.mode="single"}focusOnCalendar(e){e.blur(),this._focusOnCalendarCell()}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this._handleKeyPress),this.addEventListener("blur",e=>e.stopPropagation())}updated(){3===this.focusedTabIndex&&this._focusOnCalendarCell()}_updateFocusedDate(){this.focusedDate=Pi(this.displayDate),this.focusedDate.getFullYear()<1900&&this.focusedDate.setFullYear(1900)}_setFocusedDate(e){const t=this.focusedDate.getDate(),i=this.focusedDate.getMonth(),l=this.focusedDate.getFullYear();switch(this.view){case"days":{const n=Pi(new Date(l,i,t+e));(a(n,new Date(0,0,1,12))||s(n,new Date(0,0,1,12)))&&(this.focusedDate=n);break}case"months":{const n=Pi(new Date(l,i+e,t));(a(n,new Date(0,0,1,12))||s(n,new Date(0,0,1,12)))&&(this.focusedDate=n);break}case"years":{const a=Pi(new Date(l+e,i,t));a.getFullYear()>=1900&&(this.focusedDate=a);break}}}_handleEnterDateKeyboard(e){const t=e.composedPath()[0];if(!t.classList.contains("disabled"))switch(this.view){case"days":this._onClickDay(e);break;case"months":{const{month:e}=t.dataset;this._onClickMonth(parseInt(e));break}case"years":{const{year:e}=t.dataset;this._onClickYear(parseInt(e))}}}_handleKeyPress(e){if("Enter"===e.key)return e.preventDefault(),void this._handleEnterDateKeyboard(e);if("Tab"===e.key){const e=this._getFocusedTarget();return void(3!==this.focusedTabIndex&&e.blur())}if(e.key.includes("Arrow")){e.preventDefault(),this._blurCalendarCell();const t=la[e.key][this.view];this._setFocusedDate(t),this._focusOnCalendarCell()}}_generateIncrementDates(){const e=Pi(this.selectedDate[0]);if(this.selectedDate.length<2)return[e];const t=Pi(this.selectedDate[1]),i=[];if(e.getTime()<t.getTime())for(let a=e;a<=t;a.setDate(a.getDate()+1))i.push(new Date(a));else for(let a=t;a<=e;a.setDate(a.getDate()+1))i.push(new Date(a));return i}_onClickDay(e){const{day:t,date:i}=e.composedPath()[0].dataset,a=new Date(this.displayDate);if(a.setDate(parseInt(t)),"click"===e.type&&(this.focusedDate=Pi(new Date(i))),"single"===this.mode)this.selectedDate=[a],this.emit("sgds-selectdates",{detail:this.selectedDate});else if("range"===this.mode){const e=[...this.selectedDate];0!==e.length&&2!==e.length||(e.length=0),e.push(a),this.selectedDate=e,this.emit("sgds-selectdates",{detail:this.selectedDate})}const l=this.minDate?Pi(new Date(this.minDate)):null,s=this.maxDate?Pi(new Date(this.maxDate)):null,n=Pi(a);(l&&n<l||s&&n>s)&&(e.stopPropagation(),e.preventDefault())}_onClickMonth(e,t=this.focusedDate.getFullYear()){const i=new Date(this.displayDate);this.view="days",i.setMonth(e),i.setFullYear(t),this.displayDate=i,this.emit("sgds-view",{detail:this.view}),this.emit("sgds-selectmonth",{detail:this.displayDate})}_onClickYear(e){const t=new Date(this.displayDate);t.setFullYear(e),this.displayDate=t,this.view="months",this.emit("sgds-view",{detail:this.view}),this.emit("sgds-selectyear",{detail:this.displayDate})}_getFocusedTarget(){const e={days:`td[data-date="${this.focusedDate.toISOString()}"]`,months:`button[data-month="${this.focusedDate.getMonth()}"][data-year="${this.focusedDate.getFullYear()}"]`,years:`button[data-year="${this.focusedDate.getFullYear()}"]`}[this.view];return this.shadowRoot.querySelector(`${e}`)}_blurCalendarCell(){const e=this._getFocusedTarget();e.setAttribute("tabindex","-1"),e.blur()}_focusOnCalendarCell(){const e=this._getFocusedTarget();e?(e.setAttribute("tabindex","0"),e.focus(),this.emit("sgds-update-focus",{detail:this.focusedDate})):this.emit("sgds-change-calendar",{detail:this.focusedDate})}_generateDays(){const e=this.selectedDate.map(e=>Pi(e)),i=this._generateIncrementDates(),a=this.minDate?Pi(new Date(this.minDate)):null,l=this.maxDate?Pi(new Date(this.maxDate)):null,s=this.displayDate.getFullYear(),n=this.displayDate.getMonth(),o=new Date(s,n,1).getDay();let r=sa.daysInMonth[n];1===n&&(s%4==0&&s%100!=0||s%400==0)&&(r=29);const c=[];let d=1;for(let h=0;h<9;h++){const v=[];for(let c=0;c<=6;c++)if(d<=r&&(h>0||c>=o)){const o=new Date(s,n,d,12,0,0,0),r=o.toISOString(),h=a&&Date.parse(r)<Date.parse(a.toISOString()),u=l&&Date.parse(r)>Date.parse(l.toISOString()),p=h||u?void 0:this._onClickDay,g=aa.getMonth()===this.displayDate.getMonth(),f=aa.getFullYear()===this.displayDate.getFullYear(),w=aa.getDate()===d,m=e.length>0&&i.some(e=>Date.parse(r)===Date.parse(e.toISOString())),y=e.length>0&&i[0].toISOString()===r,b=e.length>1&&i[i.length-1].toISOString()===r,x=""+(w&&g&&f?"Today's date, ":"")+t(o,"PPPP");v.push(re`<td
109
+ key=${c}
110
+ data-date=${r}
111
+ data-day=${d}
112
+ aria-label=${x}
113
+ aria-current=${Oi(w&&g&&f?"date":void 0)}
114
+ class=${Ri({today:w&&g&&f,"selected-ends":y||b,active:m,disabled:h||u})}
115
115
  @click=${p}
116
116
  aria-selected=${m?"true":"false"}
117
- tabindex=${this.focusedDate===new Date(o)?"0":"-1"}
118
- ?disabled=${d||u}
119
- aria-disabled=${Es(d||u?"true":void 0)}
117
+ tabindex=${this.focusedDate===new Date(r)?"0":"-1"}
118
+ ?disabled=${h||u}
119
+ aria-disabled=${Oi(h||u?"true":void 0)}
120
120
  role="gridcell"
121
121
  >
122
- ${c}
123
- </td>`),c++}else h.push(Je`<td key=${l}></td>`);if(l.push(Je`<tr key=${d}>
124
- ${h}
125
- </tr>`),c>o)break}return Je`
122
+ ${d}
123
+ </td>`),d++}else v.push(re`<td key=${c}></td>`);if(c.push(re`<tr key=${h}>
124
+ ${v}
125
+ </tr>`),d>r)break}return re`
126
126
  <table role="grid">
127
127
  <thead>
128
128
  <tr>
129
- ${Ks.DAY_LABELS.map((t,e)=>Je` <th key=${e} abbr=${t} scope="col">${t.slice(0,3)}</th> `)}
129
+ ${sa.DAY_LABELS.map((e,t)=>re` <th key=${t} abbr=${e} scope="col">${e.slice(0,3)}</th> `)}
130
130
  </tr>
131
131
  </thead>
132
132
  <tbody>
133
- ${l}
133
+ ${c}
134
134
  </tbody>
135
135
  </table>
136
- `}_generateMonths(){const t=this._generateIncrementDates(),e=t.map(t=>Ds(new Date(t.getFullYear(),t.getMonth())).getTime()),i=this.displayDate.getFullYear();return Je`
136
+ `}_generateMonths(){const e=this._generateIncrementDates(),t=e.map(e=>Pi(new Date(e.getFullYear(),e.getMonth())).getTime()),i=this.displayDate.getFullYear();return re`
137
137
  <div class="monthpicker" role="grid">
138
- ${[0,1,2,3].map(a=>Je`
138
+ ${[0,1,2,3].map(a=>re`
139
139
  <div role="row">
140
- ${Ks.MONTHVIEW_LABELS.slice(3*a,3*a+3).map((s,n)=>{const r=3*a+n,o=r===js.getMonth()&&i===js.getFullYear(),l=Ds(new Date(i,r)).getTime(),c=t[0].getMonth()===r,d=t[0].getFullYear()===i,h=t[t.length-1].getMonth()===r,u=t[t.length-1].getFullYear()===i,p=o?`Current month ${s} ${i}`:`${s} ${i}`;return Je` <button
140
+ ${sa.MONTHVIEW_LABELS.slice(3*a,3*a+3).map((l,s)=>{const n=3*a+s,o=n===aa.getMonth()&&i===aa.getFullYear(),r=Pi(new Date(i,n)).getTime(),c=e[0].getMonth()===n,d=e[0].getFullYear()===i,h=e[e.length-1].getMonth()===n,v=e[e.length-1].getFullYear()===i,u=o?`Current month ${l} ${i}`:`${l} ${i}`;return re` <button
141
141
  role="gridcell"
142
- class=${Bs({active:e.includes(l),today:o,month:!0,"selected-ends":c&&d||h&&u})}
143
- @click=${()=>this._onClickMonth(r)}
144
- data-month=${r}
142
+ class=${Ri({active:t.includes(r),today:o,month:!0,"selected-ends":c&&d||h&&v})}
143
+ @click=${()=>this._onClickMonth(n)}
144
+ data-month=${n}
145
145
  data-year=${i}
146
146
  tabindex="0"
147
- aria-selected=${e.includes(l)?"true":"false"}
148
- aria-label=${p}
147
+ aria-selected=${t.includes(r)?"true":"false"}
148
+ aria-label=${u}
149
149
  >
150
- ${s.slice(0,3)}
150
+ ${l.slice(0,3)}
151
151
  </button>`})}
152
152
  </div>
153
153
  `)}
154
154
  </div>
155
- `}_generateYears(){const t=this._generateIncrementDates().map(t=>t.getFullYear()),e=js.getFullYear(),i=((t,e)=>{const i=t.getFullYear(),a=(i-e)%12,s=a<0?12+a:a,n=[],r=i-s+12-1;for(let t=i-s;t<r+1;t++)n.push(t);return n})(this.displayDate,e);return Je`
155
+ `}_generateYears(){const e=this._generateIncrementDates().map(e=>e.getFullYear()),t=aa.getFullYear(),i=((e,t)=>{const i=e.getFullYear(),a=(i-t)%12,l=a<0?12+a:a,s=[],n=i-l+12-1;for(let e=i-l;e<n+1;e++)s.push(e);return s})(this.displayDate,t);return re`
156
156
  <div class="sgds yearpicker" role="grid">
157
- ${[0,1,2,3].map(a=>Je`
157
+ ${[0,1,2,3].map(a=>re`
158
158
  <div role="row">
159
- ${i.slice(3*a,3*a+3).map(i=>{const a=t[0]===i,s=t[t.length-1]===i;return Je`
159
+ ${i.slice(3*a,3*a+3).map(i=>{const a=e[0]===i,l=e[e.length-1]===i;return re`
160
160
  <button
161
161
  role="gridcell"
162
- class=${Bs({active:t.includes(i),year:!0,today:e===i,"selected-ends":a||s})}
162
+ class=${Ri({active:e.includes(i),year:!0,today:t===i,"selected-ends":a||l})}
163
163
  @click=${()=>this._onClickYear(i)}
164
164
  data-year=${i}
165
165
  tabindex="0"
166
166
  ?disabled=${i<1900}
167
- aria-selected=${t.includes(i)?"true":"false"}
168
- aria-label=${Es(e===i?`Current year, ${i}`:void 0)}
167
+ aria-selected=${e.includes(i)?"true":"false"}
168
+ aria-label=${Oi(t===i?`Current year, ${i}`:void 0)}
169
169
  >
170
170
  ${i}
171
171
  </button>
@@ -173,14 +173,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
173
173
  </div>
174
174
  `)}
175
175
  </div>
176
- `}render(){let t;switch(this.view){case"days":default:t=Je` ${this._generateDays()} `;break;case"months":t=Je` ${this._generateMonths()} `;break;case"years":t=Je` ${this._generateYears()} `}return Je` <div class="datepicker-body">${t}</div> `}}Ks.styles=[Ws],Ks.DAY_LABELS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Ks.daysInMonth=[31,28,31,30,31,30,31,31,30,31,30,31],Ks.MONTHVIEW_LABELS=["January","February","March","April","May","June","July","August","September","October","November","December"],t([Zi({type:Array})],Ks.prototype,"selectedDate",void 0),t([Zi({attribute:!1})],Ks.prototype,"displayDate",void 0),t([Zi({type:String})],Ks.prototype,"minDate",void 0),t([Zi({type:String})],Ks.prototype,"maxDate",void 0),t([Zi({type:String,reflect:!0})],Ks.prototype,"mode",void 0),t([Zi()],Ks.prototype,"view",void 0),t([Zi({type:Boolean})],Ks.prototype,"show",void 0),t([Zi()],Ks.prototype,"focusedTabIndex",void 0),t([As("displayDate")],Ks.prototype,"_updateFocusedDate",null);var Qs=Je`
176
+ `}render(){let e;switch(this.view){case"days":default:e=re` ${this._generateDays()} `;break;case"months":e=re` ${this._generateMonths()} `;break;case"years":e=re` ${this._generateYears()} `}return re` <div class="datepicker-body">${e}</div> `}}sa.styles=[ia],sa.DAY_LABELS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],sa.daysInMonth=[31,28,31,30,31,30,31,31,30,31,30,31],sa.MONTHVIEW_LABELS=["January","February","March","April","May","June","July","August","September","October","November","December"],e([Ie({type:Array})],sa.prototype,"selectedDate",void 0),e([Ie({attribute:!1})],sa.prototype,"displayDate",void 0),e([Ie({type:String})],sa.prototype,"minDate",void 0),e([Ie({type:String})],sa.prototype,"maxDate",void 0),e([Ie({type:String,reflect:!0})],sa.prototype,"mode",void 0),e([Ie()],sa.prototype,"view",void 0),e([Ie({type:Boolean})],sa.prototype,"show",void 0),e([Ie()],sa.prototype,"focusedTabIndex",void 0),e([Fi("displayDate")],sa.prototype,"_updateFocusedDate",null);var na=re`
177
177
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
178
178
  <path
179
179
  fill="currentColor"
180
180
  d="M9.375 15.125H6.5a5.116 5.116 0 0 1-1.643-.27l1.324 5.292c.047.188.062.247.078.294.176.52.644.885 1.19.93.05.004.11.004.305.004.243 0 .32 0 .379-.006a1.375 1.375 0 0 0 1.235-1.237c.006-.058.007-.136.007-.379v-4.628Zm12-5.125c0-1.373-.963-2.52-2.25-2.805v5.61A2.874 2.874 0 0 0 21.375 10Zm-18.75 0A3.875 3.875 0 0 0 6.5 13.875h2.875v-7.75H6.5A3.875 3.875 0 0 0 2.625 10Zm15.25-4.873c0-.534 0-.896-.021-1.159-.023-.28-.063-.324-.05-.305a.326.326 0 0 0-.258-.155c.027.004-.035-.01-.31.115-.257.115-.597.3-1.092.57-1.565.853-3.667 1.801-5.519 1.919v7.774c1.852.118 3.954 1.068 5.519 1.921.495.27.835.455 1.091.57.276.125.338.111.31.115a.326.326 0 0 0 .26-.155c-.013.019.026-.026.049-.305.02-.263.021-.625.021-1.158V5.127Zm1.25.794a4.127 4.127 0 0 1 0 8.157v.796c0 .51 0 .932-.025 1.257-.025.307-.079.654-.279.934a1.57 1.57 0 0 1-1.124.667c-.346.042-.688-.084-.976-.215-.31-.14-.7-.352-1.176-.612-1.535-.837-3.39-1.645-4.92-1.764v4.612c0 .215 0 .366-.013.5a2.625 2.625 0 0 1-2.36 2.36c-.133.013-.284.012-.498.012-.171 0-.293 0-.406-.01a2.625 2.625 0 0 1-2.273-1.773c-.036-.107-.065-.226-.106-.392l-1.575-6.298a.632.632 0 0 1-.014-.087 5.125 5.125 0 0 1 3.12-9.19h3.75c1.594 0 3.632-.873 5.295-1.78.477-.26.866-.472 1.176-.612.288-.13.63-.257.976-.215.47.058.85.283 1.124.667.2.28.254.627.279.935.025.324.025.746.025 1.257v.794Z"
181
181
  />
182
182
  </svg>
183
- `,Xs=Je`
183
+ `,oa=re`
184
184
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
185
185
  <path
186
186
  fill="currentColor"
@@ -193,35 +193,35 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
193
193
  clip-rule="evenodd"
194
194
  />
195
195
  </svg>
196
- `,Js=Je`
196
+ `,ra=re`
197
197
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
198
198
  <path
199
199
  fill="currentColor"
200
200
  d="M2.5 3.9a.6.6 0 0 0 0 1.2h19a.6.6 0 1 0 0-1.2h-19Zm10.1 5.6a.6.6 0 1 0-1.2 0v8.552l-3.976-3.976a.6.6 0 1 0-.848.848l5 5a.6.6 0 0 0 .848 0l5-5a.6.6 0 1 0-.848-.848L12.6 18.052V9.5Z"
201
201
  />
202
202
  </svg>
203
- `,tn=Je`
203
+ `,ca=re`
204
204
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
205
205
  <path
206
206
  fill="currentColor"
207
207
  d="M20.1 2.5a.6.6 0 1 0-1.2 0v19a.6.6 0 1 0 1.2 0v-19Zm-5.6 10.1a.6.6 0 1 0 0-1.2H5.948l3.976-3.976a.6.6 0 1 0-.848-.848l-5 5a.6.6 0 0 0 0 .848l5 5a.6.6 0 0 0 .848-.848L5.948 12.6H14.5Z"
208
208
  />
209
209
  </svg>
210
- `,en=Je`
210
+ `,da=re`
211
211
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
212
212
  <path
213
213
  fill="currentColor"
214
214
  d="M3.9 21.5a.6.6 0 1 0 1.2 0v-19a.6.6 0 1 0-1.2 0v19Zm5.6-10.1a.6.6 0 0 0 0 1.2h8.551l-3.975 3.976a.6.6 0 1 0 .848.848l5-5a.6.6 0 0 0 0-.848l-5-5a.6.6 0 0 0-.848.848L18.05 11.4H9.5Z"
215
215
  />
216
216
  </svg>
217
- `,an=Je`
217
+ `,ha=re`
218
218
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
219
219
  <path
220
220
  fill="currentColor"
221
221
  d="M21.5 20.1a.6.6 0 1 0 0-1.2h-19a.6.6 0 0 0 0 1.2h19Zm-10.1-5.6a.6.6 0 1 0 1.2 0V5.949l3.976 3.975a.6.6 0 0 0 .848-.848l-5-5a.6.6 0 0 0-.848 0l-5 5a.6.6 0 1 0 .848.848L11.4 5.95v8.55Z"
222
222
  />
223
223
  </svg>
224
- `,sn=Je`
224
+ `,va=re`
225
225
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
226
226
  <path
227
227
  fill="currentColor"
@@ -234,7 +234,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
234
234
  clip-rule="evenodd"
235
235
  />
236
236
  </svg>
237
- `,nn=Je`
237
+ `,ua=re`
238
238
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
239
239
  <path
240
240
  fill="currentColor"
@@ -247,7 +247,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
247
247
  clip-rule="evenodd"
248
248
  />
249
249
  </svg>
250
- `,rn=Je`
250
+ `,pa=re`
251
251
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
252
252
  <path
253
253
  fill="currentColor"
@@ -260,7 +260,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
260
260
  clip-rule="evenodd"
261
261
  />
262
262
  </svg>
263
- `,on=Je`
263
+ `,ga=re`
264
264
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
265
265
  <path
266
266
  fill="currentColor"
@@ -273,7 +273,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
273
273
  clip-rule="evenodd"
274
274
  />
275
275
  </svg>
276
- `,ln=Je`
276
+ `,fa=re`
277
277
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
278
278
  <path
279
279
  fill="currentColor"
@@ -282,7 +282,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
282
282
  clip-rule="evenodd"
283
283
  />
284
284
  </svg>
285
- `,cn=Je`
285
+ `,wa=re`
286
286
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
287
287
  <path
288
288
  fill="currentColor"
@@ -291,7 +291,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
291
291
  clip-rule="evenodd"
292
292
  />
293
293
  </svg>
294
- `,dn=Je`
294
+ `,ma=re`
295
295
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
296
296
  <path
297
297
  fill="currentColor"
@@ -300,7 +300,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
300
300
  clip-rule="evenodd"
301
301
  />
302
302
  </svg>
303
- `,hn=Je`
303
+ `,ya=re`
304
304
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
305
305
  <path
306
306
  fill="currentColor"
@@ -309,7 +309,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
309
309
  clip-rule="evenodd"
310
310
  />
311
311
  </svg>
312
- `,un=Je`
312
+ `,ba=re`
313
313
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
314
314
  <path
315
315
  fill="currentColor"
@@ -318,7 +318,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
318
318
  clip-rule="evenodd"
319
319
  />
320
320
  </svg>
321
- `;const pn={announcement:Qs,archive:Xs,"arrow-bar-down":Js,"arrow-bar-left":tn,"arrow-bar-right":en,"arrow-bar-up":an,"arrow-circle-down":sn,"arrow-circle-left":nn,"arrow-circle-right":rn,"arrow-circle-up":on,"arrow-clockwise":ln,"arrow-down":cn,"arrow-left":dn,"arrow-repeat":hn,"arrow-right":un,"arrow-square-down":Je`
321
+ `;const xa={announcement:na,archive:oa,"arrow-bar-down":ra,"arrow-bar-left":ca,"arrow-bar-right":da,"arrow-bar-up":ha,"arrow-circle-down":va,"arrow-circle-left":ua,"arrow-circle-right":pa,"arrow-circle-up":ga,"arrow-clockwise":fa,"arrow-down":wa,"arrow-left":ma,"arrow-repeat":ya,"arrow-right":ba,"arrow-square-down":re`
322
322
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
323
323
  <path
324
324
  fill="currentColor"
@@ -331,7 +331,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
331
331
  clip-rule="evenodd"
332
332
  />
333
333
  </svg>
334
- `,"arrow-square-left":Je`
334
+ `,"arrow-square-left":re`
335
335
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
336
336
  <path
337
337
  fill="currentColor"
@@ -344,7 +344,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
344
344
  clip-rule="evenodd"
345
345
  />
346
346
  </svg>
347
- `,"arrow-square-right":Je`
347
+ `,"arrow-square-right":re`
348
348
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
349
349
  <path
350
350
  fill="currentColor"
@@ -357,7 +357,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
357
357
  clip-rule="evenodd"
358
358
  />
359
359
  </svg>
360
- `,"arrow-square-up":Je`
360
+ `,"arrow-square-up":re`
361
361
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
362
362
  <path
363
363
  fill="currentColor"
@@ -370,7 +370,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
370
370
  clip-rule="evenodd"
371
371
  />
372
372
  </svg>
373
- `,"arrow-up":Je`
373
+ `,"arrow-up":re`
374
374
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
375
375
  <path
376
376
  fill="currentColor"
@@ -379,7 +379,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
379
379
  clip-rule="evenodd"
380
380
  />
381
381
  </svg>
382
- `,"bank-fill":Je`
382
+ `,"bank-fill":re`
383
383
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
384
384
  <path
385
385
  fill="currentColor"
@@ -388,7 +388,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
388
388
  clip-rule="evenodd"
389
389
  />
390
390
  </svg>
391
- `,"bell-slash":Je`
391
+ `,"bell-slash":re`
392
392
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
393
393
  <path
394
394
  fill="currentColor"
@@ -397,7 +397,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
397
397
  clip-rule="evenodd"
398
398
  />
399
399
  </svg>
400
- `,bell:Je`
400
+ `,bell:re`
401
401
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
402
402
  <path
403
403
  fill="currentColor"
@@ -406,7 +406,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
406
406
  clip-rule="evenodd"
407
407
  />
408
408
  </svg>
409
- `,"bi-funnel":Je`
409
+ `,"bi-funnel":re`
410
410
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
411
411
  <path
412
412
  fill="currentColor"
@@ -415,7 +415,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
415
415
  clip-rule="evenodd"
416
416
  />
417
417
  </svg>
418
- `,"bookmark-fill":Je`
418
+ `,"bookmark-fill":re`
419
419
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
420
420
  <path
421
421
  fill="currentColor"
@@ -424,7 +424,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
424
424
  clip-rule="evenodd"
425
425
  />
426
426
  </svg>
427
- `,bookmark:Je`
427
+ `,bookmark:re`
428
428
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
429
429
  <path
430
430
  fill="currentColor"
@@ -433,7 +433,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
433
433
  clip-rule="evenodd"
434
434
  />
435
435
  </svg>
436
- `,"box-arrow-up-right":Je`
436
+ `,"box-arrow-up-right":re`
437
437
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
438
438
  <path
439
439
  fill="currentColor"
@@ -442,7 +442,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
442
442
  clip-rule="evenodd"
443
443
  />
444
444
  </svg>
445
- `,"box-seam":Je`
445
+ `,"box-seam":re`
446
446
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
447
447
  <path
448
448
  fill="currentColor"
@@ -451,7 +451,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
451
451
  clip-rule="evenodd"
452
452
  />
453
453
  </svg>
454
- `,building:Je`
454
+ `,building:re`
455
455
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
456
456
  <path
457
457
  fill="currentColor"
@@ -460,7 +460,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
460
460
  clip-rule="evenodd"
461
461
  />
462
462
  </svg>
463
- `,bus:Je`
463
+ `,bus:re`
464
464
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
465
465
  <path
466
466
  fill="currentColor"
@@ -473,7 +473,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
473
473
  clip-rule="evenodd"
474
474
  />
475
475
  </svg>
476
- `,calculator:Je`
476
+ `,calculator:re`
477
477
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
478
478
  <path
479
479
  fill="currentColor"
@@ -482,7 +482,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
482
482
  clip-rule="evenodd"
483
483
  />
484
484
  </svg>
485
- `,"calendar-check":Je`
485
+ `,"calendar-check":re`
486
486
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
487
487
  <path
488
488
  fill="currentColor"
@@ -495,7 +495,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
495
495
  clip-rule="evenodd"
496
496
  />
497
497
  </svg>
498
- `,"calendar-heart":Je`
498
+ `,"calendar-heart":re`
499
499
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
500
500
  <path
501
501
  fill="currentColor"
@@ -510,7 +510,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
510
510
  clip-rule="evenodd"
511
511
  />
512
512
  </svg>
513
- `,"calendar-x":Je`
513
+ `,"calendar-x":re`
514
514
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
515
515
  <path
516
516
  fill="currentColor"
@@ -523,7 +523,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
523
523
  clip-rule="evenodd"
524
524
  />
525
525
  </svg>
526
- `,calendar:Je`
526
+ `,calendar:re`
527
527
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
528
528
  <path
529
529
  fill="currentColor"
@@ -532,7 +532,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
532
532
  clip-rule="evenodd"
533
533
  />
534
534
  </svg>
535
- `,camera:Je`
535
+ `,camera:re`
536
536
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
537
537
  <path
538
538
  fill="currentColor"
@@ -541,7 +541,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
541
541
  clip-rule="evenodd"
542
542
  />
543
543
  </svg>
544
- `,car:Je`
544
+ `,car:re`
545
545
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
546
546
  <path
547
547
  fill="currentColor"
@@ -554,7 +554,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
554
554
  clip-rule="evenodd"
555
555
  />
556
556
  </svg>
557
- `,"chat-dots":Je`
557
+ `,"chat-dots":re`
558
558
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
559
559
  <path
560
560
  fill="currentColor"
@@ -567,7 +567,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
567
567
  clip-rule="evenodd"
568
568
  />
569
569
  </svg>
570
- `,"chat-left-text":Je`
570
+ `,"chat-left-text":re`
571
571
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
572
572
  <path
573
573
  fill="currentColor"
@@ -580,7 +580,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
580
580
  clip-rule="evenodd"
581
581
  />
582
582
  </svg>
583
- `,chat:Je`
583
+ `,chat:re`
584
584
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
585
585
  <path
586
586
  fill="currentColor"
@@ -589,7 +589,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
589
589
  clip-rule="evenodd"
590
590
  />
591
591
  </svg>
592
- `,"check-circle-fill":Je`
592
+ `,"check-circle-fill":re`
593
593
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
594
594
  <path
595
595
  fill="currentColor"
@@ -598,7 +598,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
598
598
  clip-rule="evenodd"
599
599
  />
600
600
  </svg>
601
- `,"check-circle":Je`
601
+ `,"check-circle":re`
602
602
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
603
603
  <path
604
604
  fill="currentColor"
@@ -607,7 +607,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
607
607
  clip-rule="evenodd"
608
608
  />
609
609
  </svg>
610
- `,check:Je`
610
+ `,check:re`
611
611
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
612
612
  <path
613
613
  fill="currentColor"
@@ -616,7 +616,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
616
616
  clip-rule="evenodd"
617
617
  />
618
618
  </svg>
619
- `,"chevron-down":Je`
619
+ `,"chevron-down":re`
620
620
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
621
621
  <path
622
622
  fill="currentColor"
@@ -625,7 +625,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
625
625
  clip-rule="evenodd"
626
626
  />
627
627
  </svg>
628
- `,"chevron-left":Je`
628
+ `,"chevron-left":re`
629
629
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
630
630
  <path
631
631
  fill="currentColor"
@@ -634,7 +634,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
634
634
  clip-rule="evenodd"
635
635
  />
636
636
  </svg>
637
- `,"chevron-right":Je`
637
+ `,"chevron-right":re`
638
638
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
639
639
  <path
640
640
  fill="currentColor"
@@ -643,14 +643,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
643
643
  clip-rule="evenodd"
644
644
  />
645
645
  </svg>
646
- `,"chevron-selector-vertical":Je`
646
+ `,"chevron-selector-vertical":re`
647
647
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
648
648
  <path
649
649
  fill="currentColor"
650
650
  d="M11.558 3.558a.625.625 0 0 1 .884 0l5 5a.625.625 0 1 1-.884.884L12 4.884 7.442 9.442a.625.625 0 1 1-.884-.884l5-5Zm-5 11a.625.625 0 0 1 .884 0L12 19.116l4.558-4.558a.625.625 0 1 1 .884.884l-5 5a.625.625 0 0 1-.884 0l-5-5a.625.625 0 0 1 0-.884Z"
651
651
  />
652
652
  </svg>
653
- `,"chevron-up":Je`
653
+ `,"chevron-up":re`
654
654
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
655
655
  <path
656
656
  fill="currentColor"
@@ -659,7 +659,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
659
659
  clip-rule="evenodd"
660
660
  />
661
661
  </svg>
662
- `,clock:Je`
662
+ `,clock:re`
663
663
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
664
664
  <path
665
665
  fill="currentColor"
@@ -672,7 +672,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
672
672
  clip-rule="evenodd"
673
673
  />
674
674
  </svg>
675
- `,"cloud-check":Je`
675
+ `,"cloud-check":re`
676
676
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
677
677
  <path
678
678
  fill="currentColor"
@@ -685,7 +685,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
685
685
  clip-rule="evenodd"
686
686
  />
687
687
  </svg>
688
- `,"cloud-download":Je`
688
+ `,"cloud-download":re`
689
689
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
690
690
  <path
691
691
  fill="currentColor"
@@ -694,7 +694,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
694
694
  clip-rule="evenodd"
695
695
  />
696
696
  </svg>
697
- `,"cloud-upload":Je`
697
+ `,"cloud-upload":re`
698
698
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
699
699
  <path
700
700
  fill="currentColor"
@@ -703,7 +703,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
703
703
  clip-rule="evenodd"
704
704
  />
705
705
  </svg>
706
- `,cloud:Je`
706
+ `,cloud:re`
707
707
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
708
708
  <path
709
709
  fill="currentColor"
@@ -712,7 +712,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
712
712
  clip-rule="evenodd"
713
713
  />
714
714
  </svg>
715
- `,"code-square":Je`
715
+ `,"code-square":re`
716
716
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
717
717
  <path
718
718
  fill="currentColor"
@@ -725,14 +725,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
725
725
  clip-rule="evenodd"
726
726
  />
727
727
  </svg>
728
- `,"coins-hand":Je`
728
+ `,"coins-hand":re`
729
729
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
730
730
  <path
731
731
  fill="currentColor"
732
732
  d="M15.783 15.209a.908.908 0 0 0-.561-.828l-.156-.052-2.385-.58a4.403 4.403 0 0 0-1.037-.124c-.362 0-.947.162-1.507.362-.266.095-.504.191-.676.263a6.794 6.794 0 0 0-.253.11l-.013.006-.003.001-.02.008-2.547 1.065v4.022H8.61c.39 0 .778.047 1.158.14l2.756.67c.51.124 1.044.136 1.56.036l3.05-.593a3.579 3.579 0 0 0 1.81-.942l2.159-2.1.063-.068a.877.877 0 0 0-.064-1.204.985.985 0 0 0-1.256-.086L17.33 17.15a2.741 2.741 0 0 1-1.617.526h-2.429a.625.625 0 0 1 0-1.25h1.546c.542 0 .952-.423.952-.91v-.306ZM19.375 6.5a2.875 2.875 0 1 0-5.75 0 2.875 2.875 0 0 0 5.75 0Zm-2.342 9.016c0 .11-.012.217-.028.323l2.103-1.533a2.236 2.236 0 0 1 2.866.199 2.128 2.128 0 0 1 0 3.065h-.001l-2.157 2.099a4.83 4.83 0 0 1-2.444 1.272l-3.049.594a4.908 4.908 0 0 1-2.095-.049l-2.756-.67H9.47a3.606 3.606 0 0 0-.86-.104H6.623a5.716 5.716 0 0 1-.014.395c-.016.206-.054.42-.16.63a1.628 1.628 0 0 1-.712.711c-.21.107-.424.145-.63.161-.198.016-.437.016-.707.016h-.8c-.27 0-.51 0-.707-.016a1.653 1.653 0 0 1-.63-.16 1.628 1.628 0 0 1-.711-.712 1.652 1.652 0 0 1-.161-.63c-.017-.197-.016-.437-.016-.707v-5.8c0-.27 0-.51.016-.707.016-.206.054-.42.16-.63.157-.306.406-.555.712-.711.21-.107.424-.145.63-.161.198-.017.437-.016.707-.016h.8c.27 0 .51 0 .707.016.206.016.42.054.63.16.306.157.555.406.711.712.107.21.145.424.161.63.005.061.006.127.008.196l2.06-.862.08-.035.222-.094c.185-.078.444-.182.736-.287.554-.198 1.325-.436 1.929-.436.449 0 .895.053 1.332.16l2.385.58a2.167 2.167 0 0 1 1.672 2.094v.307ZM2.625 20.4c0 .29 0 .47.012.606.01.126.027.159.029.164.036.07.094.128.164.164a.483.483 0 0 0 .164.03c.135.01.316.011.606.011h.8c.29 0 .47 0 .606-.012a.482.482 0 0 0 .164-.029.376.376 0 0 0 .164-.164.482.482 0 0 0 .03-.164c.01-.136.011-.316.011-.606v-5.8c0-.29 0-.47-.012-.606a.482.482 0 0 0-.029-.164.376.376 0 0 0-.164-.164.483.483 0 0 0-.164-.03 8.422 8.422 0 0 0-.606-.011h-.8c-.29 0-.47 0-.606.012a.483.483 0 0 0-.164.029.376.376 0 0 0-.164.164.482.482 0 0 0-.03.164 8.39 8.39 0 0 0-.011.606v5.8Zm18-13.9a4.125 4.125 0 0 1-7.26 2.68 4.125 4.125 0 1 1 1.27-6.358 4.125 4.125 0 0 1 5.99 3.679Zm-12-1a2.875 2.875 0 0 0 4.076 2.61 4.112 4.112 0 0 1-.326-1.61c0-1.155.474-2.2 1.24-2.948A2.875 2.875 0 0 0 8.624 5.5Z"
733
733
  />
734
734
  </svg>
735
- `,compass:Je`
735
+ `,compass:re`
736
736
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
737
737
  <path
738
738
  fill="currentColor"
@@ -747,14 +747,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
747
747
  clip-rule="evenodd"
748
748
  />
749
749
  </svg>
750
- `,copy:Je`
750
+ `,copy:re`
751
751
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
752
752
  <path
753
753
  fill="currentColor"
754
754
  d="M19.375 12.2c0-.57 0-.96-.025-1.262-.024-.295-.068-.45-.124-.562a1.378 1.378 0 0 0-.602-.602c-.111-.056-.267-.1-.561-.124a17.248 17.248 0 0 0-1.263-.025h-4.6c-.57 0-.96 0-1.262.025-.295.024-.45.068-.562.124-.259.132-.47.343-.602.602-.056.111-.1.267-.124.562-.024.302-.025.692-.025 1.262v4.6c0 .57 0 .96.025 1.262.024.295.068.45.124.562.132.259.343.47.602.602.111.056.267.1.562.124.302.024.692.025 1.262.025h4.6c.57 0 .96 0 1.262-.025.295-.024.45-.068.562-.124.259-.132.47-.343.602-.602.056-.111.1-.267.124-.561.024-.303.025-.693.025-1.263v-4.6Zm-16-.2V7.2c0-.55 0-1 .03-1.364.03-.372.095-.71.256-1.027A2.626 2.626 0 0 1 4.81 3.66c.316-.161.655-.226 1.027-.257.365-.03.815-.029 1.364-.029H12c.457 0 .832 0 1.137.02.31.022.595.067.868.18a2.625 2.625 0 0 1 1.42 1.42c.125.302.167.62.185.973a.625.625 0 0 1-1.248.064c-.015-.301-.047-.452-.091-.558a1.375 1.375 0 0 0-.745-.745c-.095-.039-.227-.07-.474-.086A17.177 17.177 0 0 0 12 4.625H7.2c-.57 0-.96 0-1.263.025-.294.024-.45.068-.561.124-.259.132-.47.343-.602.602-.056.111-.1.267-.124.561A17.25 17.25 0 0 0 4.625 7.2V12c0 .475 0 .8.018 1.052.016.247.047.38.086.474.14.337.408.605.745.745.106.043.257.076.558.091a.625.625 0 0 1-.064 1.248c-.353-.018-.671-.06-.973-.185a2.625 2.625 0 0 1-1.42-1.42 2.703 2.703 0 0 1-.18-.868c-.02-.305-.02-.68-.02-1.137Zm17.25 4.8c0 .55 0 1-.03 1.364-.03.372-.095.71-.256 1.027a2.627 2.627 0 0 1-1.148 1.148c-.316.161-.655.226-1.027.257-.365.03-.815.029-1.364.029h-4.6c-.55 0-1 0-1.364-.03-.372-.03-.71-.095-1.027-.256A2.627 2.627 0 0 1 8.66 19.19c-.161-.316-.226-.655-.257-1.027-.03-.365-.029-.815-.029-1.364v-4.6c0-.55 0-1 .03-1.364.03-.372.095-.71.256-1.027A2.626 2.626 0 0 1 9.81 8.66c.316-.161.655-.226 1.027-.257.365-.03.815-.029 1.364-.029h4.6c.55 0 1 0 1.364.03.372.03.71.095 1.027.256.494.252.896.654 1.148 1.148.161.316.226.655.257 1.027.03.365.029.815.029 1.364v4.6Z"
755
755
  />
756
756
  </svg>
757
- `,"cpu-chip-ai":Je`
757
+ `,"cpu-chip-ai":re`
758
758
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
759
759
  <path
760
760
  fill="currentColor"
@@ -773,7 +773,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
773
773
  clip-rule="evenodd"
774
774
  />
775
775
  </svg>
776
- `,cross:Je`
776
+ `,cross:re`
777
777
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
778
778
  <path
779
779
  fill="currentColor"
@@ -782,7 +782,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
782
782
  clip-rule="evenodd"
783
783
  />
784
784
  </svg>
785
- `,"cursor-fill":Je`
785
+ `,"cursor-fill":re`
786
786
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
787
787
  <path
788
788
  fill="currentColor"
@@ -791,7 +791,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
791
791
  clip-rule="evenodd"
792
792
  />
793
793
  </svg>
794
- `,cursor:Je`
794
+ `,cursor:re`
795
795
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
796
796
  <path
797
797
  fill="currentColor"
@@ -800,7 +800,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
800
800
  clip-rule="evenodd"
801
801
  />
802
802
  </svg>
803
- `,"dash-circle":Je`
803
+ `,"dash-circle":re`
804
804
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
805
805
  <path
806
806
  fill="currentColor"
@@ -809,7 +809,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
809
809
  clip-rule="evenodd"
810
810
  />
811
811
  </svg>
812
- `,"dash-square":Je`
812
+ `,"dash-square":re`
813
813
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
814
814
  <path
815
815
  fill="currentColor"
@@ -818,7 +818,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
818
818
  clip-rule="evenodd"
819
819
  />
820
820
  </svg>
821
- `,dash:Je`
821
+ `,dash:re`
822
822
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
823
823
  <path
824
824
  fill="currentColor"
@@ -827,7 +827,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
827
827
  clip-rule="evenodd"
828
828
  />
829
829
  </svg>
830
- `,database:Je`
830
+ `,database:re`
831
831
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
832
832
  <path
833
833
  fill="currentColor"
@@ -836,7 +836,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
836
836
  clip-rule="evenodd"
837
837
  />
838
838
  </svg>
839
- `,dataflow:Je`
839
+ `,dataflow:re`
840
840
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
841
841
  <path
842
842
  fill="currentColor"
@@ -865,7 +865,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
865
865
  clip-rule="evenodd"
866
866
  />
867
867
  </svg>
868
- `,download:Je`
868
+ `,download:re`
869
869
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
870
870
  <path
871
871
  fill="currentColor"
@@ -874,7 +874,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
874
874
  clip-rule="evenodd"
875
875
  />
876
876
  </svg>
877
- `,edit:Je`
877
+ `,edit:re`
878
878
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
879
879
  <path
880
880
  fill="currentColor"
@@ -887,7 +887,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
887
887
  d="M7.273 3.875H10.5a.625.625 0 1 1 0 1.25H7.3c-.85 0-1.45 0-1.92.039-.461.038-.74.109-.958.22-.447.228-.81.59-1.038 1.038-.111.218-.182.497-.22.958-.039.47-.039 1.07-.039 1.92v7.4c0 .85 0 1.45.039 1.92.038.461.109.74.22.958.228.447.59.81 1.038 1.038.218.111.497.183.958.22.47.039 1.07.039 1.92.039h7.4c.85 0 1.45 0 1.92-.039.461-.037.74-.109.958-.22.447-.228.81-.59 1.038-1.038.111-.218.183-.497.22-.959.039-.468.039-1.069.039-1.919v-3.2a.625.625 0 1 1 1.25 0v3.227c0 .817 0 1.468-.043 1.994-.044.54-.136 1.001-.352 1.425a3.625 3.625 0 0 1-1.584 1.584c-.424.216-.886.308-1.425.352-.526.043-1.177.043-1.994.043H7.273c-.817 0-1.469 0-1.994-.043-.54-.044-1.001-.136-1.425-.352a3.625 3.625 0 0 1-1.584-1.584c-.216-.424-.308-.886-.352-1.425-.043-.526-.043-1.177-.043-1.994V9.273c0-.817 0-1.469.043-1.994.044-.54.136-1.001.352-1.425A3.625 3.625 0 0 1 3.854 4.27c.424-.216.886-.308 1.425-.352.525-.043 1.177-.043 1.994-.043Z"
888
888
  />
889
889
  </svg>
890
- `,"exclamation-circle-fill":Je`
890
+ `,"exclamation-circle-fill":re`
891
891
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
892
892
  <path
893
893
  fill="currentColor"
@@ -896,7 +896,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
896
896
  clip-rule="evenodd"
897
897
  />
898
898
  </svg>
899
- `,"exclamation-circle":Je`
899
+ `,"exclamation-circle":re`
900
900
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
901
901
  <path
902
902
  fill="currentColor"
@@ -909,7 +909,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
909
909
  clip-rule="evenodd"
910
910
  />
911
911
  </svg>
912
- `,"exclamation-triangle-fill":Je`
912
+ `,"exclamation-triangle-fill":re`
913
913
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
914
914
  <path
915
915
  fill="currentColor"
@@ -918,7 +918,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
918
918
  clip-rule="evenodd"
919
919
  />
920
920
  </svg>
921
- `,"exclamation-triangle":Je`
921
+ `,"exclamation-triangle":re`
922
922
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
923
923
  <path
924
924
  fill="currentColor"
@@ -931,7 +931,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
931
931
  clip-rule="evenodd"
932
932
  />
933
933
  </svg>
934
- `,exclamation:Je`
934
+ `,exclamation:re`
935
935
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
936
936
  <path
937
937
  fill="currentColor"
@@ -944,7 +944,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
944
944
  clip-rule="evenodd"
945
945
  />
946
946
  </svg>
947
- `,"eye-fill":Je`
947
+ `,"eye-fill":re`
948
948
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
949
949
  <path
950
950
  fill="currentColor"
@@ -953,7 +953,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
953
953
  clip-rule="evenodd"
954
954
  />
955
955
  </svg>
956
- `,"eye-slash-fill":Je`
956
+ `,"eye-slash-fill":re`
957
957
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
958
958
  <path
959
959
  fill="currentColor"
@@ -966,7 +966,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
966
966
  d="M12.08 8.4a3.6 3.6 0 0 1 3.52 3.52l4.108 4.108a17.903 17.903 0 0 0 2.38-2.994l.02-.032c.12-.19.238-.377.3-.645a1.76 1.76 0 0 0 0-.714c-.062-.268-.18-.456-.3-.645l-.02-.032c-.58-.92-1.739-2.548-3.42-3.952C16.983 5.61 14.737 4.4 12 4.4c-1.2 0-2.304.232-3.309.611l3.39 3.39Z"
967
967
  />
968
968
  </svg>
969
- `,"eye-slash":Je`
969
+ `,"eye-slash":re`
970
970
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
971
971
  <path
972
972
  fill="currentColor"
@@ -975,7 +975,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
975
975
  clip-rule="evenodd"
976
976
  />
977
977
  </svg>
978
- `,eye:Je`
978
+ `,eye:re`
979
979
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
980
980
  <path
981
981
  fill="currentColor"
@@ -984,14 +984,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
984
984
  clip-rule="evenodd"
985
985
  />
986
986
  </svg>
987
- `,facebook:Je`
987
+ `,facebook:re`
988
988
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
989
989
  <path
990
990
  fill="currentColor"
991
991
  d="M21 12.055C21 7.054 16.97 3 12.001 3 7.03 3.001 3 7.054 3 12.056c0 4.519 3.291 8.265 7.593 8.944v-6.327H8.309v-2.617h2.286V10.06c0-2.27 1.344-3.522 3.4-3.522.985 0 2.014.176 2.014.176v2.228h-1.135c-1.117 0-1.466.698-1.466 1.415v1.698h2.495l-.398 2.617h-2.098v6.327C17.71 20.319 21 16.574 21 12.055Z"
992
992
  />
993
993
  </svg>
994
- `,"file-earmark-text":Je`
994
+ `,"file-earmark-text":re`
995
995
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
996
996
  <path
997
997
  fill="currentColor"
@@ -1000,7 +1000,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1000
1000
  clip-rule="evenodd"
1001
1001
  />
1002
1002
  </svg>
1003
- `,"file-pdf":Je`
1003
+ `,"file-pdf":re`
1004
1004
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1005
1005
  <path
1006
1006
  fill="currentColor"
@@ -1015,7 +1015,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1015
1015
  clip-rule="evenodd"
1016
1016
  />
1017
1017
  </svg>
1018
- `,"file-plus":Je`
1018
+ `,"file-plus":re`
1019
1019
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1020
1020
  <path
1021
1021
  fill="currentColor"
@@ -1026,7 +1026,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1026
1026
  d="M18.6 15a.6.6 0 0 0-1.2 0v2.4H15a.6.6 0 0 0 0 1.2h2.4V21a.6.6 0 1 0 1.2 0v-2.4H21a.6.6 0 1 0 0-1.2h-2.4V15Z"
1027
1027
  />
1028
1028
  </svg>
1029
- `,"file-text":Je`
1029
+ `,"file-text":re`
1030
1030
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1031
1031
  <path
1032
1032
  fill="currentColor"
@@ -1035,7 +1035,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1035
1035
  clip-rule="evenodd"
1036
1036
  />
1037
1037
  </svg>
1038
- `,file:Je`
1038
+ `,file:re`
1039
1039
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1040
1040
  <path
1041
1041
  fill="currentColor"
@@ -1044,7 +1044,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1044
1044
  clip-rule="evenodd"
1045
1045
  />
1046
1046
  </svg>
1047
- `,files:Je`
1047
+ `,files:re`
1048
1048
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1049
1049
  <path
1050
1050
  fill="currentColor"
@@ -1057,7 +1057,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1057
1057
  clip-rule="evenodd"
1058
1058
  />
1059
1059
  </svg>
1060
- `,fingerprint:Je`
1060
+ `,fingerprint:re`
1061
1061
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1062
1062
  <path
1063
1063
  fill="currentColor"
@@ -1072,14 +1072,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1072
1072
  d="M12 2.375A8.625 8.625 0 0 1 20.625 11a26.64 26.64 0 0 1-1.015 7.303.625.625 0 1 1-1.202-.342c.63-2.211.967-4.546.967-6.961A7.375 7.375 0 0 0 8.312 4.611a.625.625 0 0 1-.625-1.082A8.59 8.59 0 0 1 12 2.375ZM4.529 6.688a.625.625 0 0 1 1.082.625A7.34 7.34 0 0 0 4.625 11a10.59 10.59 0 0 1-1.063 4.638.626.626 0 0 1-1.125-.547A9.34 9.34 0 0 0 3.375 11c0-1.57.42-3.043 1.154-4.313Z"
1073
1073
  />
1074
1074
  </svg>
1075
- `,flash:Je`
1075
+ `,flash:re`
1076
1076
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1077
1077
  <path
1078
1078
  fill="currentColor"
1079
1079
  d="M12.509 2.6a.626.626 0 0 1 1.1.477l-.812 6.498h5.855c.233 0 .45 0 .623.015.14.013.353.042.547.165l.082.058.091.083c.2.204.313.481.309.77-.004.276-.14.494-.23.626-.1.143-.24.31-.388.49L11.669 21.4a.625.625 0 0 1-1.1-.477l.812-6.498H5.526c-.232 0-.45 0-.623-.015-.16-.014-.414-.05-.628-.223a1.076 1.076 0 0 1-.4-.853l.008-.1c.03-.229.143-.41.223-.526.098-.143.238-.31.387-.49L12.51 2.6ZM5.453 13.02l-.128.154h6.765a.626.626 0 0 1 .62.704l-.636 5.083 6.652-7.98.128-.156H12.09a.625.625 0 0 1-.62-.703l.636-5.084-6.652 7.982Z"
1080
1080
  />
1081
1081
  </svg>
1082
- `,"folder-check":Je`
1082
+ `,"folder-check":re`
1083
1083
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1084
1084
  <path
1085
1085
  fill="currentColor"
@@ -1092,7 +1092,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1092
1092
  clip-rule="evenodd"
1093
1093
  />
1094
1094
  </svg>
1095
- `,"folder-minus":Je`
1095
+ `,"folder-minus":re`
1096
1096
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1097
1097
  <path fill="currentColor" d="M9 13.4h6a.6.6 0 0 1 0 1.2H9a.6.6 0 1 1 0-1.2Z" />
1098
1098
  <path
@@ -1102,7 +1102,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1102
1102
  clip-rule="evenodd"
1103
1103
  />
1104
1104
  </svg>
1105
- `,"folder-plus":Je`
1105
+ `,"folder-plus":re`
1106
1106
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1107
1107
  <path
1108
1108
  fill="currentColor"
@@ -1115,7 +1115,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1115
1115
  clip-rule="evenodd"
1116
1116
  />
1117
1117
  </svg>
1118
- `,folder:Je`
1118
+ `,folder:re`
1119
1119
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1120
1120
  <path
1121
1121
  fill="currentColor"
@@ -1124,7 +1124,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1124
1124
  clip-rule="evenodd"
1125
1125
  />
1126
1126
  </svg>
1127
- `,gear:Je`
1127
+ `,gear:re`
1128
1128
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1129
1129
  <path
1130
1130
  fill="currentColor"
@@ -1133,7 +1133,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1133
1133
  clip-rule="evenodd"
1134
1134
  />
1135
1135
  </svg>
1136
- `,"geo-alt":Je`
1136
+ `,"geo-alt":re`
1137
1137
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1138
1138
  <path
1139
1139
  fill="currentColor"
@@ -1148,7 +1148,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1148
1148
  clip-rule="evenodd"
1149
1149
  />
1150
1150
  </svg>
1151
- `,"geo-fill":Je`
1151
+ `,"geo-fill":re`
1152
1152
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1153
1153
  <path
1154
1154
  fill="currentColor"
@@ -1161,7 +1161,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1161
1161
  d="M8.316 13.963a.6.6 0 1 0-.231-1.177c-1.729.34-3.236.904-4.328 1.64-1.08.728-1.857 1.702-1.857 2.868 0 1.563 1.38 2.78 3.137 3.57 1.813.816 4.275 1.305 6.963 1.305 2.688 0 5.151-.49 6.964-1.305 1.757-.79 3.136-2.007 3.136-3.57 0-1.166-.777-2.14-1.856-2.867-1.092-.737-2.6-1.302-4.328-1.641a.6.6 0 1 0-.231 1.177c1.627.32 2.97.839 3.888 1.458.932.63 1.327 1.285 1.327 1.873 0 .797-.747 1.719-2.428 2.475-1.626.732-3.913 1.2-6.472 1.2-2.558 0-4.846-.468-6.47-1.2-1.683-.756-2.43-1.678-2.43-2.475 0-.588.395-1.244 1.328-1.873.919-.62 2.261-1.138 3.888-1.458Z"
1162
1162
  />
1163
1163
  </svg>
1164
- `,geo:Je`
1164
+ `,geo:re`
1165
1165
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1166
1166
  <path
1167
1167
  fill="currentColor"
@@ -1174,7 +1174,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1174
1174
  d="M8.316 13.963a.6.6 0 1 0-.231-1.177c-1.729.34-3.236.904-4.328 1.64-1.08.728-1.857 1.702-1.857 2.868 0 1.563 1.38 2.78 3.137 3.57 1.813.816 4.275 1.305 6.963 1.305 2.688 0 5.151-.49 6.964-1.305 1.757-.79 3.136-2.007 3.136-3.57 0-1.166-.777-2.14-1.856-2.867-1.092-.737-2.6-1.301-4.328-1.641a.6.6 0 1 0-.231 1.177c1.627.32 2.97.839 3.888 1.459.932.628 1.327 1.285 1.327 1.872 0 .797-.747 1.719-2.428 2.475-1.626.732-3.913 1.2-6.472 1.2-2.558 0-4.846-.468-6.47-1.2-1.683-.756-2.43-1.678-2.43-2.475 0-.587.395-1.244 1.328-1.873.919-.62 2.261-1.138 3.888-1.458Z"
1175
1175
  />
1176
1176
  </svg>
1177
- `,"globe-alt":Je`
1177
+ `,"globe-alt":re`
1178
1178
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1179
1179
  <path fill="currentColor" d="M16.75 5.2a.863.863 0 1 0 0 1.725.863.863 0 0 0 0-1.725Z" />
1180
1180
  <path
@@ -1184,7 +1184,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1184
1184
  clip-rule="evenodd"
1185
1185
  />
1186
1186
  </svg>
1187
- `,globe:Je`
1187
+ `,globe:re`
1188
1188
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1189
1189
  <path
1190
1190
  fill="currentColor"
@@ -1193,21 +1193,21 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1193
1193
  clip-rule="evenodd"
1194
1194
  />
1195
1195
  </svg>
1196
- `,google:Je`
1196
+ `,google:re`
1197
1197
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1198
1198
  <path
1199
1199
  fill="currentColor"
1200
1200
  d="M20.666 10.378a10.6 10.6 0 0 1 .156 1.83c0 2.737-.979 5.053-2.682 6.62h.002C16.653 20.203 14.606 21 12.178 21a9 9 0 0 1 0-18 8.65 8.65 0 0 1 6.02 2.343l-2.569 2.57a4.89 4.89 0 0 0-3.451-1.35c-2.348 0-4.342 1.583-5.053 3.716a5.39 5.39 0 0 0 0 3.446h.003c.714 2.13 2.706 3.713 5.053 3.713 1.213 0 2.255-.31 3.063-.86h-.004a4.163 4.163 0 0 0 1.799-2.734h-4.861V10.38h8.488Z"
1201
1201
  />
1202
1202
  </svg>
1203
- `,"grid-fill":Je`
1203
+ `,"grid-fill":re`
1204
1204
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1205
1205
  <path
1206
1206
  fill="currentColor"
1207
1207
  d="M4.67 16.665c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.067.254.068.564.068 1.182 0 .619 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068-.619 0-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.068-.254-.067-.564-.067-1.182s0-.928.067-1.182a2.001 2.001 0 0 1 1.416-1.416c.254-.067.563-.067 1.182-.067Zm7.33 0c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.564.068 1.182 0 .619 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182s0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.067.564-.067 1.182-.067Zm7.33 0c.619 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.564.068 1.182 0 .619 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182s0-.928.067-1.182a2.001 2.001 0 0 1 1.416-1.416c.254-.067.564-.067 1.182-.067ZM4.67 9.335c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.067.254.068.564.068 1.182s0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068-.619 0-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.068-.254-.067-.564-.067-1.182s0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.067.563-.067 1.182-.067Zm7.33 0c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.564.068 1.182s0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182s0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.067.564-.067 1.182-.067Zm7.33 0c.619 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.564.068 1.182s0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182s0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.067.564-.067 1.182-.067ZM4.67 2.005c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.067.254.068.563.068 1.182 0 .618 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.067-.564.068-1.182.068-.619 0-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.068-.254-.067-.564-.067-1.182 0-.619 0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.068.563-.067 1.182-.067Zm7.33 0c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.563.068 1.182 0 .618 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.067-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182 0-.619 0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.068.564-.067 1.182-.067Zm7.33 0c.619 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.563.068 1.182 0 .618 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.067-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182 0-.619 0-.928.067-1.182a2.001 2.001 0 0 1 1.416-1.416c.254-.068.564-.067 1.182-.067Z"
1208
1208
  />
1209
1209
  </svg>
1210
- `,"hand-thumbs-down":Je`
1210
+ `,"hand-thumbs-down":re`
1211
1211
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1212
1212
  <path
1213
1213
  fill="currentColor"
@@ -1216,7 +1216,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1216
1216
  clip-rule="evenodd"
1217
1217
  />
1218
1218
  </svg>
1219
- `,"hand-thumbs-up":Je`
1219
+ `,"hand-thumbs-up":re`
1220
1220
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1221
1221
  <path
1222
1222
  fill="currentColor"
@@ -1225,7 +1225,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1225
1225
  clip-rule="evenodd"
1226
1226
  />
1227
1227
  </svg>
1228
- `,"hard-drive":Je`
1228
+ `,"hard-drive":re`
1229
1229
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1230
1230
  <path
1231
1231
  fill="currentColor"
@@ -1234,7 +1234,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1234
1234
  clip-rule="evenodd"
1235
1235
  />
1236
1236
  </svg>
1237
- `,heart:Je`
1237
+ `,heart:re`
1238
1238
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1239
1239
  <path
1240
1240
  fill="currentColor"
@@ -1243,7 +1243,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1243
1243
  clip-rule="evenodd"
1244
1244
  />
1245
1245
  </svg>
1246
- `,"house-door":Je`
1246
+ `,"house-door":re`
1247
1247
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1248
1248
  <path
1249
1249
  fill="currentColor"
@@ -1252,7 +1252,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1252
1252
  clip-rule="evenodd"
1253
1253
  />
1254
1254
  </svg>
1255
- `,house:Je`
1255
+ `,house:re`
1256
1256
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1257
1257
  <path
1258
1258
  fill="currentColor"
@@ -1261,7 +1261,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1261
1261
  clip-rule="evenodd"
1262
1262
  />
1263
1263
  </svg>
1264
- `,image:Je`
1264
+ `,image:re`
1265
1265
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1266
1266
  <path
1267
1267
  fill="currentColor"
@@ -1270,7 +1270,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1270
1270
  clip-rule="evenodd"
1271
1271
  />
1272
1272
  </svg>
1273
- `,"in-box":Je`
1273
+ `,"in-box":re`
1274
1274
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1275
1275
  <path
1276
1276
  fill="currentColor"
@@ -1279,7 +1279,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1279
1279
  clip-rule="evenodd"
1280
1280
  />
1281
1281
  </svg>
1282
- `,"info-circle-fill":Je`
1282
+ `,"info-circle-fill":re`
1283
1283
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1284
1284
  <path
1285
1285
  fill="currentColor"
@@ -1288,7 +1288,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1288
1288
  clip-rule="evenodd"
1289
1289
  />
1290
1290
  </svg>
1291
- `,"info-circle":Je`
1291
+ `,"info-circle":re`
1292
1292
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1293
1293
  <path
1294
1294
  fill="currentColor"
@@ -1298,14 +1298,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1298
1298
  />
1299
1299
  <path fill="currentColor" d="M12 7.15a.85.85 0 0 0 0 1.7h.01a.85.85 0 1 0 0-1.7H12Z" />
1300
1300
  </svg>
1301
- `,instagram:Je`
1301
+ `,instagram:re`
1302
1302
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1303
1303
  <path
1304
1304
  fill="currentColor"
1305
1305
  d="M12 3c-2.442 0-2.75.011-3.71.054-.959.045-1.612.196-2.185.419-.6.225-1.145.58-1.594 1.038-.458.45-.812.994-1.038 1.594-.223.571-.375 1.226-.419 2.182C3.011 9.25 3 9.556 3 12.002c0 2.444.011 2.75.054 3.71.045.958.196 1.611.419 2.184a4.42 4.42 0 0 0 1.038 1.594c.5.5 1.001.809 1.593 1.038.574.223 1.226.375 2.185.419.96.043 1.266.054 3.711.054s2.75-.011 3.71-.054c.958-.045 1.613-.196 2.186-.419.6-.226 1.144-.58 1.593-1.038.5-.5.808-1.002 1.038-1.594.222-.573.374-1.226.419-2.185.043-.96.054-1.265.054-3.71 0-2.445-.011-2.75-.054-3.711-.045-.958-.197-1.612-.419-2.184a4.417 4.417 0 0 0-1.038-1.594 4.4 4.4 0 0 0-1.594-1.038c-.574-.223-1.229-.375-2.186-.419C14.75 3.011 14.444 3 11.998 3H12Zm-.807 1.622h.808c2.403 0 2.688.008 3.636.052.878.04 1.355.187 1.672.31.42.162.72.358 1.035.673.315.315.51.614.673 1.035.123.316.27.793.309 1.67.044.95.053 1.234.053 3.636s-.01 2.687-.053 3.636c-.04.877-.187 1.353-.31 1.67a2.77 2.77 0 0 1-.673 1.034c-.315.315-.614.51-1.035.673-.315.124-.792.27-1.67.31-.95.043-1.234.053-3.637.053s-2.689-.01-3.637-.052c-.878-.041-1.353-.187-1.67-.311a2.789 2.789 0 0 1-1.036-.673 2.79 2.79 0 0 1-.675-1.035c-.122-.316-.27-.793-.309-1.67-.043-.949-.052-1.233-.052-3.637s.01-2.687.052-3.635c.04-.878.187-1.355.31-1.672.164-.42.36-.72.674-1.035a2.78 2.78 0 0 1 1.035-.673c.318-.124.794-.27 1.671-.31.83-.039 1.152-.05 2.83-.051v.002Zm5.612 1.494a1.08 1.08 0 1 0 0 2.16 1.08 1.08 0 0 0 0-2.16ZM12 7.38a4.623 4.623 0 1 0-.144 9.244A4.623 4.623 0 0 0 12 7.379ZM12 9a3 3 0 1 1 0 6.001 3 3 0 0 1 0-6Z"
1306
1306
  />
1307
1307
  </svg>
1308
- `,key:Je`
1308
+ `,key:re`
1309
1309
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1310
1310
  <path fill="currentColor" d="M15.01 8.375a.625.625 0 1 1 0 1.25H15a.625.625 0 0 1 0-1.25h.01Z" />
1311
1311
  <path
@@ -1315,7 +1315,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1315
1315
  clip-rule="evenodd"
1316
1316
  />
1317
1317
  </svg>
1318
- `,"laptop-gear":Je`
1318
+ `,"laptop-gear":re`
1319
1319
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1320
1320
  <path
1321
1321
  fill="currentColor"
@@ -1331,7 +1331,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1331
1331
  clip-rule="evenodd"
1332
1332
  />
1333
1333
  </svg>
1334
- `,laptop:Je`
1334
+ `,laptop:re`
1335
1335
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1336
1336
  <path
1337
1337
  fill="currentColor"
@@ -1340,7 +1340,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1340
1340
  clip-rule="evenodd"
1341
1341
  />
1342
1342
  </svg>
1343
- `,layers:Je`
1343
+ `,layers:re`
1344
1344
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1345
1345
  <path
1346
1346
  fill="currentColor"
@@ -1349,7 +1349,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1349
1349
  clip-rule="evenodd"
1350
1350
  />
1351
1351
  </svg>
1352
- `,"layout-text-window-reverse":Je`
1352
+ `,"layout-text-window-reverse":re`
1353
1353
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1354
1354
  <path
1355
1355
  fill="currentColor"
@@ -1358,7 +1358,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1358
1358
  clip-rule="evenodd"
1359
1359
  />
1360
1360
  </svg>
1361
- `,"layout-text-window":Je`
1361
+ `,"layout-text-window":re`
1362
1362
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1363
1363
  <path
1364
1364
  fill="currentColor"
@@ -1367,7 +1367,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1367
1367
  clip-rule="evenodd"
1368
1368
  />
1369
1369
  </svg>
1370
- `,layout:Je`
1370
+ `,layout:re`
1371
1371
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1372
1372
  <path
1373
1373
  fill="currentColor"
@@ -1376,7 +1376,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1376
1376
  clip-rule="evenodd"
1377
1377
  />
1378
1378
  </svg>
1379
- `,"life-buoy":Je`
1379
+ `,"life-buoy":re`
1380
1380
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1381
1381
  <path
1382
1382
  fill="currentColor"
@@ -1385,7 +1385,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1385
1385
  clip-rule="evenodd"
1386
1386
  />
1387
1387
  </svg>
1388
- `,lightbulb:Je`
1388
+ `,lightbulb:re`
1389
1389
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1390
1390
  <path
1391
1391
  fill="currentColor"
@@ -1402,7 +1402,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1402
1402
  d="M1.875 12c0-.345.28-.625.625-.625h.95a.625.625 0 1 1 0 1.25H2.5A.625.625 0 0 1 1.875 12Zm18.05 0c0-.345.28-.625.625-.625h.95a.625.625 0 1 1 0 1.25h-.95a.625.625 0 0 1-.625-.625Z"
1403
1403
  />
1404
1404
  </svg>
1405
- `,link:Je`
1405
+ `,link:re`
1406
1406
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1407
1407
  <path
1408
1408
  fill="currentColor"
@@ -1411,21 +1411,21 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1411
1411
  clip-rule="evenodd"
1412
1412
  />
1413
1413
  </svg>
1414
- `,linkedin:Je`
1414
+ `,linkedin:re`
1415
1415
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1416
1416
  <path
1417
1417
  fill="currentColor"
1418
1418
  d="M3 4.29C3 3.576 3.592 3 4.322 3h15.356C20.408 3 21 3.577 21 4.29v15.42c0 .713-.592 1.29-1.322 1.29H4.322C3.592 21 3 20.423 3 19.71V4.29Zm5.56 13.778V9.94h-2.7v8.128h2.7ZM7.21 8.83c.942 0 1.529-.623 1.529-1.404-.017-.798-.585-1.404-1.51-1.404S5.7 6.629 5.7 7.426c0 .78.586 1.404 1.493 1.404h.018Zm5.522 9.238v-4.54c0-.242.018-.485.09-.658.195-.485.64-.988 1.386-.988.978 0 1.368.745 1.368 1.838v4.348h2.701v-4.662c0-2.497-1.332-3.658-3.109-3.658-1.433 0-2.076.787-2.436 1.342v.028h-.018l.018-.028V9.94h-2.7c.034.763 0 8.128 0 8.128h2.7Z"
1419
1419
  />
1420
1420
  </svg>
1421
- `,list:Je`
1421
+ `,list:re`
1422
1422
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1423
1423
  <path
1424
1424
  fill="currentColor"
1425
1425
  d="M4 4.375a1.625 1.625 0 1 0 0 3.25 1.625 1.625 0 0 0 0-3.25Zm5 1a.625.625 0 1 0 0 1.25h12a.625.625 0 1 0 0-1.25H9Zm-5 5a1.625 1.625 0 1 0 0 3.25 1.625 1.625 0 0 0 0-3.25Zm5 1a.625.625 0 1 0 0 1.25h12a.625.625 0 1 0 0-1.25H9Zm-5 5a1.625 1.625 0 1 0 0 3.25 1.625 1.625 0 0 0 0-3.25Zm5 1a.625.625 0 1 0 0 1.25h12a.625.625 0 1 0 0-1.25H9Z"
1426
1426
  />
1427
1427
  </svg>
1428
- `,"lock-fill":Je`
1428
+ `,"lock-fill":re`
1429
1429
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1430
1430
  <path
1431
1431
  fill="currentColor"
@@ -1434,7 +1434,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1434
1434
  clip-rule="evenodd"
1435
1435
  />
1436
1436
  </svg>
1437
- `,lock:Je`
1437
+ `,lock:re`
1438
1438
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1439
1439
  <path
1440
1440
  fill="currentColor"
@@ -1443,7 +1443,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1443
1443
  clip-rule="evenodd"
1444
1444
  />
1445
1445
  </svg>
1446
- `,login:Je`
1446
+ `,login:re`
1447
1447
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1448
1448
  <path
1449
1449
  fill="currentColor"
@@ -1454,7 +1454,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1454
1454
  d="M9.67 6.836a.625.625 0 0 1 .883 0l4.722 4.722a.625.625 0 0 1 0 .884l-4.722 4.722a.625.625 0 0 1-.884-.884l3.655-3.655H3.5a.625.625 0 1 1 0-1.25h9.824L9.67 7.72a.625.625 0 0 1 0-.884Z"
1455
1455
  />
1456
1456
  </svg>
1457
- `,logout:Je`
1457
+ `,logout:re`
1458
1458
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1459
1459
  <path
1460
1460
  fill="currentColor"
@@ -1465,7 +1465,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1465
1465
  d="M15.336 6.836a.625.625 0 0 1 .884 0l4.722 4.722a.625.625 0 0 1 0 .884l-4.722 4.722a.625.625 0 0 1-.884-.884l3.655-3.655H9.167a.625.625 0 1 1 0-1.25h9.824L15.336 7.72a.625.625 0 0 1 0-.884Z"
1466
1466
  />
1467
1467
  </svg>
1468
- `,luggage:Je`
1468
+ `,luggage:re`
1469
1469
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1470
1470
  <path
1471
1471
  fill="currentColor"
@@ -1480,7 +1480,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1480
1480
  clip-rule="evenodd"
1481
1481
  />
1482
1482
  </svg>
1483
- `,"mail-open":Je`
1483
+ `,"mail-open":re`
1484
1484
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1485
1485
  <path
1486
1486
  fill="currentColor"
@@ -1489,7 +1489,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1489
1489
  clip-rule="evenodd"
1490
1490
  />
1491
1491
  </svg>
1492
- `,mail:Je`
1492
+ `,mail:re`
1493
1493
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1494
1494
  <path
1495
1495
  fill="currentColor"
@@ -1498,7 +1498,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1498
1498
  clip-rule="evenodd"
1499
1499
  />
1500
1500
  </svg>
1501
- `,map:Je`
1501
+ `,map:re`
1502
1502
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1503
1503
  <path
1504
1504
  fill="currentColor"
@@ -1507,21 +1507,21 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1507
1507
  clip-rule="evenodd"
1508
1508
  />
1509
1509
  </svg>
1510
- `,meetup:Je`
1510
+ `,meetup:re`
1511
1511
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1512
1512
  <path
1513
1513
  fill="currentColor"
1514
1514
  d="M6.498 5.01c2.62-1.106 7.426-2.376 10.817-1.389 1.744.508 3.326 2.43 3.63 4.476.251 1.696-.391 3.635-1.279 4.616a.36.36 0 0 0-.07.368c1.226 3.229-.699 4.789-2.892 5.227-2.245.448-4.438 1.218-6.547 2.118-2.161.923-5.258-.03-6.304-2.402-.59-1.341-.173-3.292.304-4.674a.538.538 0 0 0-.081-.496 5.5 5.5 0 0 1-.893-1.851c-.755-2.764.922-4.983 3.315-5.993Zm7.711 3.664c-.62-.703-1.719-.815-2.55-.028-.161.153-.457.118-.611-.042-.497-.514-1.406-.621-2.17-.307-.632.259-1.139.853-1.444 1.765 0 0-.554 2.183-1.028 3.511-.75 2.275 2.527 2.93 3.172.798l.93-3.34c.147-.484.37-.9.816-.785.446.117.47.586.294 1.09l-.435 1.844c-.398 1.472 1.623 1.869 2.051.52l.698-2.669c.14-.513.389-.814.75-.736.362.077.472.395.33.907l-.386 1.555c-.252.894-.024 1.637.856 1.782.96.157 1.562-.256 1.768-.43a.297.297 0 0 0 .096-.182.231.231 0 0 0-.22-.27c-.364-.01-.586-.066-.667-.306-.061-.184-.083-.382.028-.78a457.2 457.2 0 0 0 .521-1.91c.2-.739.48-1.582-.188-2.166-.56-.49-1.43-.35-2.112.226a.364.364 0 0 1-.499-.047Zm1.11 12.318c2.722-.072 3.46-1.777 2.826-1.905-1.73-.347-8.968 2.068-2.826 1.905ZM5.956 3.031c-1.874.15-2.453 2.048-2 2.048 1.2 0 6.095-2.375 2-2.048Z"
1515
1515
  />
1516
1516
  </svg>
1517
- `,menu:Je`
1517
+ `,menu:re`
1518
1518
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1519
1519
  <path
1520
1520
  fill="currentColor"
1521
1521
  d="M2.375 6c0-.345.28-.625.625-.625h18a.625.625 0 1 1 0 1.25H3A.625.625 0 0 1 2.375 6Zm0 6c0-.345.28-.625.625-.625h18a.625.625 0 1 1 0 1.25H3A.625.625 0 0 1 2.375 12Zm0 6c0-.345.28-.625.625-.625h12a.625.625 0 1 1 0 1.25H3A.625.625 0 0 1 2.375 18Z"
1522
1522
  />
1523
1523
  </svg>
1524
- `,microphone:Je`
1524
+ `,microphone:re`
1525
1525
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1526
1526
  <path
1527
1527
  fill="currentColor"
@@ -1534,7 +1534,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1534
1534
  d="M5.35 9.475c.345 0 .625.28.625.625V12a6.025 6.025 0 0 0 12.05 0v-1.9a.625.625 0 1 1 1.25 0V12a7.276 7.276 0 0 1-6.65 7.248v1.627H15.8a.625.625 0 1 1 0 1.25H8.2a.625.625 0 1 1 0-1.25h3.175v-1.627A7.276 7.276 0 0 1 4.725 12v-1.9c0-.345.28-.625.625-.625Z"
1535
1535
  />
1536
1536
  </svg>
1537
- `,monitor:Je`
1537
+ `,monitor:re`
1538
1538
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1539
1539
  <path
1540
1540
  fill="currentColor"
@@ -1543,21 +1543,21 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1543
1543
  clip-rule="evenodd"
1544
1544
  />
1545
1545
  </svg>
1546
- `,moon:Je`
1546
+ `,moon:re`
1547
1547
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1548
1548
  <path
1549
1549
  fill="currentColor"
1550
1550
  d="M6.924 6.641c0-.961.129-1.894.373-2.779a9.259 9.259 0 1 0 12.84 12.84c-.885.244-1.817.374-2.779.374-5.763 0-10.434-4.671-10.434-10.434Zm1.176 0a9.258 9.258 0 0 0 9.258 9.259c1.36 0 2.65-.293 3.811-.818a.59.59 0 0 1 .779.778A10.438 10.438 0 0 1 12.435 22C6.672 22 2 17.328 2 11.565 2 7.332 4.52 3.69 8.14 2.052a.588.588 0 0 1 .778.779A9.223 9.223 0 0 0 8.1 6.64Z"
1551
1551
  />
1552
1552
  </svg>
1553
- `,move:Je`
1553
+ `,move:re`
1554
1554
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1555
1555
  <path
1556
1556
  fill="currentColor"
1557
1557
  d="M10.125 19a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm7 0a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm-7-7a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm7 0a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm-7-7a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm7 0a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Z"
1558
1558
  />
1559
1559
  </svg>
1560
- `,paperclip:Je`
1560
+ `,paperclip:re`
1561
1561
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1562
1562
  <path
1563
1563
  fill="currentColor"
@@ -1566,7 +1566,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1566
1566
  clip-rule="evenodd"
1567
1567
  />
1568
1568
  </svg>
1569
- `,passcode:Je`
1569
+ `,passcode:re`
1570
1570
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1571
1571
  <path
1572
1572
  fill="currentColor"
@@ -1579,7 +1579,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1579
1579
  clip-rule="evenodd"
1580
1580
  />
1581
1581
  </svg>
1582
- `,passport:Je`
1582
+ `,passport:re`
1583
1583
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1584
1584
  <path
1585
1585
  fill="currentColor"
@@ -1598,14 +1598,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1598
1598
  clip-rule="evenodd"
1599
1599
  />
1600
1600
  </svg>
1601
- `,pause:Je`
1601
+ `,pause:re`
1602
1602
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1603
1603
  <path
1604
1604
  fill="currentColor"
1605
1605
  d="M8.4 4c.56 0 .84 0 1.054.11a1 1 0 0 1 .437.436C10 4.76 10 5.04 10 5.6v12.8c0 .56 0 .84-.11 1.054a.999.999 0 0 1-.436.437C9.24 20 8.96 20 8.4 20h-.8c-.56 0-.84 0-1.054-.11a.999.999 0 0 1-.437-.436C6 19.24 6 18.96 6 18.4V5.6c0-.56 0-.84.11-1.054a1 1 0 0 1 .436-.437C6.76 4 7.04 4 7.6 4h.8Zm8 0c.56 0 .84 0 1.054.11a1 1 0 0 1 .437.436C18 4.76 18 5.04 18 5.6v12.8c0 .56 0 .84-.11 1.054a.999.999 0 0 1-.436.437C17.24 20 16.96 20 16.4 20h-.8c-.56 0-.84 0-1.054-.11a.999.999 0 0 1-.437-.436C14 19.24 14 18.96 14 18.4V5.6c0-.56 0-.84.11-1.054a.999.999 0 0 1 .436-.437C14.76 4 15.04 4 15.6 4h.8Z"
1606
1606
  />
1607
1607
  </svg>
1608
- `,pencil:Je`
1608
+ `,pencil:re`
1609
1609
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1610
1610
  <path
1611
1611
  fill="currentColor"
@@ -1614,7 +1614,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1614
1614
  clip-rule="evenodd"
1615
1615
  />
1616
1616
  </svg>
1617
- `,"pending-circle":Je`
1617
+ `,"pending-circle":re`
1618
1618
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1619
1619
  <path
1620
1620
  fill="currentColor"
@@ -1623,7 +1623,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1623
1623
  clip-rule="evenodd"
1624
1624
  />
1625
1625
  </svg>
1626
- `,"person-dash":Je`
1626
+ `,"person-dash":re`
1627
1627
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1628
1628
  <path
1629
1629
  fill="currentColor"
@@ -1632,7 +1632,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1632
1632
  clip-rule="evenodd"
1633
1633
  />
1634
1634
  </svg>
1635
- `,"person-plus":Je`
1635
+ `,"person-plus":re`
1636
1636
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1637
1637
  <path
1638
1638
  fill="currentColor"
@@ -1641,7 +1641,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1641
1641
  clip-rule="evenodd"
1642
1642
  />
1643
1643
  </svg>
1644
- `,"person-x":Je`
1644
+ `,"person-x":re`
1645
1645
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1646
1646
  <path
1647
1647
  fill="currentColor"
@@ -1650,7 +1650,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1650
1650
  clip-rule="evenodd"
1651
1651
  />
1652
1652
  </svg>
1653
- `,person:Je`
1653
+ `,person:re`
1654
1654
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1655
1655
  <path
1656
1656
  fill="currentColor"
@@ -1659,7 +1659,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1659
1659
  clip-rule="evenodd"
1660
1660
  />
1661
1661
  </svg>
1662
- `,phone:Je`
1662
+ `,phone:re`
1663
1663
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1664
1664
  <path
1665
1665
  fill="currentColor"
@@ -1672,7 +1672,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1672
1672
  clip-rule="evenodd"
1673
1673
  />
1674
1674
  </svg>
1675
- `,"pin-map-fill":Je`
1675
+ `,"pin-map-fill":re`
1676
1676
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1677
1677
  <path
1678
1678
  fill="currentColor"
@@ -1681,7 +1681,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1681
1681
  clip-rule="evenodd"
1682
1682
  />
1683
1683
  </svg>
1684
- `,pin:Je`
1684
+ `,pin:re`
1685
1685
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1686
1686
  <path
1687
1687
  fill="currentColor"
@@ -1690,14 +1690,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1690
1690
  clip-rule="evenodd"
1691
1691
  />
1692
1692
  </svg>
1693
- `,placeholder:Je`
1693
+ `,placeholder:re`
1694
1694
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1695
1695
  <path
1696
1696
  fill="currentColor"
1697
1697
  d="M10.855 20.676A8.81 8.81 0 0 0 12 20.75V22c-.443 0-.878-.032-1.306-.088l.161-1.236Zm2.29 0 .16 1.236c-.428.056-.863.088-1.305.088v-1.25c.389 0 .77-.025 1.145-.074Zm-6.471-1.734c.602.463 1.267.85 1.977 1.145l-.48 1.152a9.987 9.987 0 0 1-2.259-1.307l.762-.99Zm11.413.99a9.986 9.986 0 0 1-2.26 1.307l-.478-1.152a8.745 8.745 0 0 0 1.977-1.145l.76.99ZM3.913 15.349c.295.71.682 1.375 1.145 1.977l-.99.76a9.984 9.984 0 0 1-1.308-2.259l1.153-.478Zm17.326.478a9.986 9.986 0 0 1-1.307 2.26l-.99-.76a8.745 8.745 0 0 0 1.145-1.978l1.152.478ZM2 12c0-.443.031-.878.087-1.306l.617.08.62.082a8.844 8.844 0 0 0 0 2.289l-.62.08-.617.08A10.089 10.089 0 0 1 2 12Zm20 0c0 .442-.032.877-.088 1.305l-.616-.08-.62-.08a8.842 8.842 0 0 0 0-2.29l1.236-.16c.056.427.088.862.088 1.305ZM5.058 6.674A8.745 8.745 0 0 0 3.913 8.65L2.76 8.17a9.987 9.987 0 0 1 1.307-2.259l.99.762Zm14.874-.762c.529.688.97 1.447 1.307 2.26l-1.152.48a8.745 8.745 0 0 0-1.145-1.978l.99-.762ZM8.652 3.913a8.745 8.745 0 0 0-1.978 1.145l-.762-.99a9.987 9.987 0 0 1 2.26-1.308l.48 1.153Zm7.175-1.153a9.984 9.984 0 0 1 2.26 1.307l-.76.99a8.745 8.745 0 0 0-1.978-1.144l.478-1.153ZM12 2c.442 0 .878.031 1.305.087l-.075.583-.085.654a8.844 8.844 0 0 0-2.29 0l-.085-.654-.076-.583A10.09 10.09 0 0 1 12 2Z"
1698
1698
  />
1699
1699
  </svg>
1700
- `,plane:Je`
1700
+ `,plane:re`
1701
1701
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1702
1702
  <path
1703
1703
  fill="currentColor"
@@ -1706,14 +1706,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1706
1706
  clip-rule="evenodd"
1707
1707
  />
1708
1708
  </svg>
1709
- `,play:Je`
1709
+ `,play:re`
1710
1710
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1711
1711
  <path
1712
1712
  fill="currentColor"
1713
1713
  d="M17.518 10.57c.703.467 1.055.7 1.178.996.107.257.108.547.002.805-.122.296-.473.53-1.174 1l-7.905 5.294c-.85.57-1.276.855-1.628.834a1.052 1.052 0 0 1-.778-.415C7 18.802 7 18.291 7 17.267V6.727c0-1.02 0-1.529.213-1.81.185-.245.468-.397.775-.416.352-.021.776.26 1.625.824l7.905 5.246Z"
1714
1714
  />
1715
1715
  </svg>
1716
- `,"plus-circle":Je`
1716
+ `,"plus-circle":re`
1717
1717
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1718
1718
  <path
1719
1719
  fill="currentColor"
@@ -1722,7 +1722,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1722
1722
  clip-rule="evenodd"
1723
1723
  />
1724
1724
  </svg>
1725
- `,"plus-square":Je`
1725
+ `,"plus-square":re`
1726
1726
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1727
1727
  <path
1728
1728
  fill="currentColor"
@@ -1731,7 +1731,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1731
1731
  clip-rule="evenodd"
1732
1732
  />
1733
1733
  </svg>
1734
- `,plus:Je`
1734
+ `,plus:re`
1735
1735
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1736
1736
  <path
1737
1737
  fill="currentColor"
@@ -1740,7 +1740,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1740
1740
  clip-rule="evenodd"
1741
1741
  />
1742
1742
  </svg>
1743
- `,printer:Je`
1743
+ `,printer:re`
1744
1744
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1745
1745
  <path
1746
1746
  fill="currentColor"
@@ -1749,7 +1749,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1749
1749
  clip-rule="evenodd"
1750
1750
  />
1751
1751
  </svg>
1752
- `,"question-circle":Je`
1752
+ `,"question-circle":re`
1753
1753
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1754
1754
  <path
1755
1755
  fill="currentColor"
@@ -1762,7 +1762,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1762
1762
  clip-rule="evenodd"
1763
1763
  />
1764
1764
  </svg>
1765
- `,rocket:Je`
1765
+ `,rocket:re`
1766
1766
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1767
1767
  <path
1768
1768
  fill="currentColor"
@@ -1777,7 +1777,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1777
1777
  clip-rule="evenodd"
1778
1778
  />
1779
1779
  </svg>
1780
- `,save:Je`
1780
+ `,save:re`
1781
1781
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1782
1782
  <path
1783
1783
  fill="currentColor"
@@ -1786,7 +1786,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1786
1786
  clip-rule="evenodd"
1787
1787
  />
1788
1788
  </svg>
1789
- `,search:Je`
1789
+ `,search:re`
1790
1790
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1791
1791
  <path
1792
1792
  fill="currentColor"
@@ -1795,7 +1795,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1795
1795
  clip-rule="evenodd"
1796
1796
  />
1797
1797
  </svg>
1798
- `,send:Je`
1798
+ `,send:re`
1799
1799
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1800
1800
  <path
1801
1801
  fill="currentColor"
@@ -1804,7 +1804,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1804
1804
  clip-rule="evenodd"
1805
1805
  />
1806
1806
  </svg>
1807
- `,"sg-crest":Je`
1807
+ `,"sg-crest":re`
1808
1808
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1809
1809
  <path
1810
1810
  fill="#DB0000"
@@ -1827,7 +1827,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1827
1827
  d="M11.687 6.91s.261-.256.349-.466c3.964 1.713 3.34 4.616.972 7.052-1.452 1.548-1.002 3.218-1.002 3.218s-1.77 1.142-2.381 2.135c0 0-2.565-2.261.987-6.014 3.485-3.684 1.075-5.925 1.075-5.925Z"
1828
1828
  />
1829
1829
  </svg>
1830
- `,share:Je`
1830
+ `,share:re`
1831
1831
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1832
1832
  <path
1833
1833
  fill="currentColor"
@@ -1836,7 +1836,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1836
1836
  clip-rule="evenodd"
1837
1837
  />
1838
1838
  </svg>
1839
- `,"shield-tick":Je`
1839
+ `,"shield-tick":re`
1840
1840
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1841
1841
  <path
1842
1842
  fill="currentColor"
@@ -1849,7 +1849,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1849
1849
  clip-rule="evenodd"
1850
1850
  />
1851
1851
  </svg>
1852
- `,"sidebar-collapse":Je`
1852
+ `,"sidebar-collapse":re`
1853
1853
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1854
1854
  <path
1855
1855
  fill="currentColor"
@@ -1862,7 +1862,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1862
1862
  d="M15.5 9.058a.626.626 0 0 1 .885.884L14.327 12l2.058 2.058a.626.626 0 0 1-.885.884l-2.5-2.5a.626.626 0 0 1 0-.884l2.5-2.5Z"
1863
1863
  />
1864
1864
  </svg>
1865
- `,"sidebar-expand":Je`
1865
+ `,"sidebar-expand":re`
1866
1866
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1867
1867
  <path
1868
1868
  fill="currentColor"
@@ -1875,7 +1875,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1875
1875
  d="M13.116 9.058a.626.626 0 0 1 .884 0l2.5 2.5a.626.626 0 0 1 0 .884l-2.5 2.5a.625.625 0 0 1-.884-.884L15.174 12l-2.058-2.058a.626.626 0 0 1 0-.884Z"
1876
1876
  />
1877
1877
  </svg>
1878
- `,"slash-circle":Je`
1878
+ `,"slash-circle":re`
1879
1879
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1880
1880
  <path
1881
1881
  fill="currentColor"
@@ -1884,11 +1884,11 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1884
1884
  clip-rule="evenodd"
1885
1885
  />
1886
1886
  </svg>
1887
- `,"slash-divider":Je`
1887
+ `,"slash-divider":re`
1888
1888
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1889
1889
  <path fill="currentColor" d="M16.441 1.72a.624.624 0 1 1 1.118.56l-10 20a.624.624 0 1 1-1.118-.56l10-20Z" />
1890
1890
  </svg>
1891
- `,sliders:Je`
1891
+ `,sliders:re`
1892
1892
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1893
1893
  <path
1894
1894
  fill="currentColor"
@@ -1915,7 +1915,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1915
1915
  d="M12 13.875c.345 0 .625.28.625.625v6a.625.625 0 1 1-1.25 0v-6c0-.345.28-.625.625-.625Z"
1916
1916
  />
1917
1917
  </svg>
1918
- `,speedometer:Je`
1918
+ `,speedometer:re`
1919
1919
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1920
1920
  <path
1921
1921
  fill="currentColor"
@@ -1924,7 +1924,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1924
1924
  clip-rule="evenodd"
1925
1925
  />
1926
1926
  </svg>
1927
- `,"star-fill":Je`
1927
+ `,"star-fill":re`
1928
1928
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1929
1929
  <path
1930
1930
  fill="currentColor"
@@ -1933,7 +1933,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1933
1933
  clip-rule="evenodd"
1934
1934
  />
1935
1935
  </svg>
1936
- `,star:Je`
1936
+ `,star:re`
1937
1937
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1938
1938
  <path
1939
1939
  fill="currentColor"
@@ -1942,7 +1942,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1942
1942
  clip-rule="evenodd"
1943
1943
  />
1944
1944
  </svg>
1945
- `,stoplights:Je`
1945
+ `,stoplights:re`
1946
1946
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1947
1947
  <path
1948
1948
  fill="currentColor"
@@ -1957,28 +1957,28 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1957
1957
  clip-rule="evenodd"
1958
1958
  />
1959
1959
  </svg>
1960
- `,sun:Je`
1960
+ `,sun:re`
1961
1961
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1962
1962
  <path
1963
1963
  fill="currentColor"
1964
1964
  d="M11.412 21.412v-1.883a.588.588 0 1 1 1.176 0v1.883a.588.588 0 0 1-1.176 0Zm-5.18-4.473a.588.588 0 0 1 .832.832l-1.33 1.331a.588.588 0 1 1-.832-.832l1.33-1.33Zm10.704 0c.23-.23.602-.23.831 0l1.331 1.331a.588.588 0 1 1-.831.832l-1.331-1.33a.588.588 0 0 1 0-.833ZM16.118 12a4.118 4.118 0 1 0-8.236 0 4.118 4.118 0 0 0 8.236 0ZM4.47 11.412a.588.588 0 1 1 0 1.176H2.588a.588.588 0 1 1 0-1.176h1.883Zm16.94 0a.588.588 0 0 1 0 1.176h-1.88a.588.588 0 1 1 0-1.176h1.883ZM4.9 4.902c.23-.23.603-.23.832 0l1.331 1.33a.588.588 0 1 1-.831.832l-1.331-1.33a.588.588 0 0 1 0-.832Zm13.366 0a.588.588 0 1 1 .831.831l-1.33 1.331a.588.588 0 1 1-.832-.831l1.33-1.331Zm-6.855-.431V2.588a.588.588 0 1 1 1.176 0v1.883a.588.588 0 1 1-1.176 0ZM17.294 12a5.294 5.294 0 1 1-10.588 0 5.294 5.294 0 0 1 10.588 0Z"
1965
1965
  />
1966
1966
  </svg>
1967
- `,"switch-horizontal":Je`
1967
+ `,"switch-horizontal":re`
1968
1968
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1969
1969
  <path
1970
1970
  fill="currentColor"
1971
1971
  d="M16.058 3.058a.625.625 0 0 1 .884 0l4 4a.625.625 0 0 1 0 .884l-4 4a.625.625 0 1 1-.884-.884l2.933-2.933H3.5a.625.625 0 1 1 0-1.25h15.491l-2.933-2.933a.625.625 0 0 1 0-.884Zm-8.116 9a.625.625 0 0 1 0 .884l-2.933 2.933H20.5a.625.625 0 1 1 0 1.25H5.009l2.933 2.933a.625.625 0 1 1-.884.884l-4-4a.625.625 0 0 1 0-.884l4-4a.625.625 0 0 1 .884 0Z"
1972
1972
  />
1973
1973
  </svg>
1974
- `,"switch-vertical":Je`
1974
+ `,"switch-vertical":re`
1975
1975
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1976
1976
  <path
1977
1977
  fill="currentColor"
1978
1978
  d="M7.058 3.058a.625.625 0 0 1 .884 0l4 4a.625.625 0 1 1-.884.884L8.125 5.009V20.5a.625.625 0 1 1-1.25 0V5.009L3.942 7.942a.625.625 0 1 1-.884-.884l4-4Zm8.817.442a.625.625 0 1 1 1.25 0v15.491l2.933-2.933a.625.625 0 1 1 .884.884l-4 4a.625.625 0 0 1-.884 0l-4-4a.625.625 0 1 1 .884-.884l2.933 2.933V3.5Z"
1979
1979
  />
1980
1980
  </svg>
1981
- `,tablet:Je`
1981
+ `,tablet:re`
1982
1982
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1983
1983
  <path fill="currentColor" d="M10.5 16.875a.625.625 0 1 0 0 1.25h3a.625.625 0 1 0 0-1.25h-3Z" />
1984
1984
  <path
@@ -1988,14 +1988,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
1988
1988
  clip-rule="evenodd"
1989
1989
  />
1990
1990
  </svg>
1991
- `,telegram:Je`
1991
+ `,telegram:re`
1992
1992
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
1993
1993
  <path
1994
1994
  fill="currentColor"
1995
1995
  d="M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm3.68 5.418c-.339.006-.858.187-3.358 1.227-.875.364-2.624 1.117-5.248 2.26-.426.17-.65.335-.67.497-.039.311.41.408.973.591.46.15 1.077.324 1.398.331.292.007.618-.114.977-.36 2.448-1.653 3.714-2.489 3.796-2.509.056-.013.134-.029.186.018.053.046.048.135.042.159-.044.19-2.347 2.285-2.48 2.423-.505.526-1.082.847-.194 1.432.77.507 1.217.83 2.01 1.35.505.332.903.725 1.425.677.24-.023.488-.25.614-.923.299-1.594.885-5.047 1.02-6.47a1.587 1.587 0 0 0-.015-.354.379.379 0 0 0-.128-.245.592.592 0 0 0-.348-.104Z"
1996
1996
  />
1997
1997
  </svg>
1998
- `,telephone:Je`
1998
+ `,telephone:re`
1999
1999
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2000
2000
  <path
2001
2001
  fill="currentColor"
@@ -2004,7 +2004,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2004
2004
  clip-rule="evenodd"
2005
2005
  />
2006
2006
  </svg>
2007
- `,"three-dots-vertical":Je`
2007
+ `,"three-dots-vertical":re`
2008
2008
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2009
2009
  <path
2010
2010
  fill="currentColor"
@@ -2013,7 +2013,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2013
2013
  clip-rule="evenodd"
2014
2014
  />
2015
2015
  </svg>
2016
- `,"three-dots":Je`
2016
+ `,"three-dots":re`
2017
2017
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2018
2018
  <path
2019
2019
  fill="currentColor"
@@ -2022,7 +2022,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2022
2022
  clip-rule="evenodd"
2023
2023
  />
2024
2024
  </svg>
2025
- `,ticket:Je`
2025
+ `,ticket:re`
2026
2026
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2027
2027
  <path
2028
2028
  fill="currentColor"
@@ -2035,7 +2035,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2035
2035
  clip-rule="evenodd"
2036
2036
  />
2037
2037
  </svg>
2038
- `,"toggle-off":Je`
2038
+ `,"toggle-off":re`
2039
2039
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2040
2040
  <path
2041
2041
  fill="currentColor"
@@ -2044,7 +2044,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2044
2044
  clip-rule="evenodd"
2045
2045
  />
2046
2046
  </svg>
2047
- `,"toggle-on":Je`
2047
+ `,"toggle-on":re`
2048
2048
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2049
2049
  <path
2050
2050
  fill="currentColor"
@@ -2053,7 +2053,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2053
2053
  clip-rule="evenodd"
2054
2054
  />
2055
2055
  </svg>
2056
- `,train:Je`
2056
+ `,train:re`
2057
2057
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2058
2058
  <path
2059
2059
  fill="currentColor"
@@ -2070,7 +2070,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2070
2070
  d="M8.719 21.5c0-.345.28-.625.625-.625h5.312a.625.625 0 1 1 0 1.25H9.344a.625.625 0 0 1-.625-.625Z"
2071
2071
  />
2072
2072
  </svg>
2073
- `,translate:Je`
2073
+ `,translate:re`
2074
2074
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2075
2075
  <path
2076
2076
  fill="currentColor"
@@ -2083,7 +2083,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2083
2083
  clip-rule="evenodd"
2084
2084
  />
2085
2085
  </svg>
2086
- `,trash:Je`
2086
+ `,trash:re`
2087
2087
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2088
2088
  <path
2089
2089
  fill="currentColor"
@@ -2092,21 +2092,21 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2092
2092
  clip-rule="evenodd"
2093
2093
  />
2094
2094
  </svg>
2095
- `,"trend-down":Je`
2095
+ `,"trend-down":re`
2096
2096
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2097
2097
  <path
2098
2098
  fill="currentColor"
2099
2099
  d="M1.558 6.558a.626.626 0 0 1 .884 0l4.868 4.869c.206.205.334.332.437.42a.498.498 0 0 0 .137.095.377.377 0 0 0 .232 0 .498.498 0 0 0 .137-.095 8.72 8.72 0 0 0 .436-.42l2.738-2.738c.19-.19.36-.36.511-.489.157-.133.336-.258.56-.33a1.624 1.624 0 0 1 1.004 0c.224.072.402.197.56.33.151.129.32.299.511.49l6.802 6.8V10a.625.625 0 1 1 1.25 0v7c0 .345-.28.625-.625.625h-7a.625.625 0 1 1 0-1.25h5.49l-6.8-6.802a8.424 8.424 0 0 0-.437-.42.498.498 0 0 0-.137-.095.377.377 0 0 0-.232 0 .498.498 0 0 0-.137.095 8.424 8.424 0 0 0-.437.42L9.573 12.31c-.19.191-.36.361-.512.49a1.652 1.652 0 0 1-.56.33 1.624 1.624 0 0 1-1.003 0 1.652 1.652 0 0 1-.56-.33c-.151-.129-.32-.299-.511-.49l-4.87-4.868a.626.626 0 0 1 0-.884Z"
2100
2100
  />
2101
2101
  </svg>
2102
- `,"trend-up":Je`
2102
+ `,"trend-up":re`
2103
2103
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2104
2104
  <path
2105
2105
  fill="currentColor"
2106
2106
  d="M22.625 14a.625.625 0 0 1-1.25 0V8.509l-6.802 6.801c-.19.191-.36.361-.511.49a1.653 1.653 0 0 1-.56.33 1.624 1.624 0 0 1-1.004 0 1.653 1.653 0 0 1-.56-.33c-.151-.129-.32-.299-.511-.49l-2.738-2.737a8.411 8.411 0 0 0-.436-.42.495.495 0 0 0-.137-.095.377.377 0 0 0-.232 0 .495.495 0 0 0-.137.095 8.416 8.416 0 0 0-.436.42l-4.869 4.87a.626.626 0 0 1-.884-.885l4.869-4.868c.19-.191.36-.361.511-.49.158-.133.336-.258.56-.33a1.624 1.624 0 0 1 1.004 0c.224.072.402.197.56.33.151.129.32.299.511.49l2.737 2.737c.206.205.333.332.437.42a.497.497 0 0 0 .137.095.377.377 0 0 0 .232 0 .5.5 0 0 0 .137-.095 8.72 8.72 0 0 0 .436-.42l6.801-6.802H15a.625.625 0 1 1 0-1.25h7c.345 0 .625.28.625.625v7Z"
2107
2107
  />
2108
2108
  </svg>
2109
- `,truck:Je`
2109
+ `,truck:re`
2110
2110
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2111
2111
  <path
2112
2112
  fill="currentColor"
@@ -2115,14 +2115,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2115
2115
  clip-rule="evenodd"
2116
2116
  />
2117
2117
  </svg>
2118
- `,"twitter-x":Je`
2118
+ `,"twitter-x":re`
2119
2119
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2120
2120
  <path
2121
2121
  fill="currentColor"
2122
2122
  d="M17.176 3.844h2.76l-6.03 6.91L21 20.156h-5.554l-4.35-5.702-4.979 5.702H3.355l6.45-7.39L3 3.843h5.695l3.933 5.212 4.548-5.212ZM16.207 18.5h1.53L7.864 5.413h-1.64L16.206 18.5Z"
2123
2123
  />
2124
2124
  </svg>
2125
- `,unlock:Je`
2125
+ `,unlock:re`
2126
2126
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2127
2127
  <path
2128
2128
  fill="currentColor"
@@ -2131,7 +2131,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2131
2131
  clip-rule="evenodd"
2132
2132
  />
2133
2133
  </svg>
2134
- `,upload:Je`
2134
+ `,upload:re`
2135
2135
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2136
2136
  <path
2137
2137
  fill="currentColor"
@@ -2140,7 +2140,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2140
2140
  clip-rule="evenodd"
2141
2141
  />
2142
2142
  </svg>
2143
- `,"user-check":Je`
2143
+ `,"user-check":re`
2144
2144
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2145
2145
  <path
2146
2146
  fill="currentColor"
@@ -2153,7 +2153,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2153
2153
  clip-rule="evenodd"
2154
2154
  />
2155
2155
  </svg>
2156
- `,"user-circle":Je`
2156
+ `,"user-circle":re`
2157
2157
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2158
2158
  <path
2159
2159
  fill="currentColor"
@@ -2168,7 +2168,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2168
2168
  clip-rule="evenodd"
2169
2169
  />
2170
2170
  </svg>
2171
- `,"user-pause":Je`
2171
+ `,"user-pause":re`
2172
2172
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2173
2173
  <path
2174
2174
  fill="currentColor"
@@ -2181,7 +2181,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2181
2181
  clip-rule="evenodd"
2182
2182
  />
2183
2183
  </svg>
2184
- `,"user-square":Je`
2184
+ `,"user-square":re`
2185
2185
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2186
2186
  <path
2187
2187
  fill="currentColor"
@@ -2196,7 +2196,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2196
2196
  clip-rule="evenodd"
2197
2197
  />
2198
2198
  </svg>
2199
- `,users:Je`
2199
+ `,users:re`
2200
2200
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2201
2201
  <path
2202
2202
  fill="currentColor"
@@ -2209,7 +2209,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2209
2209
  d="M14.92 3.056a.625.625 0 0 1 .815-.345 4.626 4.626 0 0 1 0 8.578.625.625 0 0 1-.47-1.16 3.376 3.376 0 0 0 0-6.259.625.625 0 0 1-.344-.814ZM7.977 14.375h3.046c.912 0 1.629 0 2.208.04.59.04 1.082.123 1.539.312a4.625 4.625 0 0 1 2.503 2.503c.189.456.272.95.313 1.539.039.579.039 1.296.039 2.208V21a.625.625 0 1 1-1.25 0c0-.94 0-1.614-.037-2.146-.036-.526-.105-.867-.22-1.146a3.375 3.375 0 0 0-1.826-1.826c-.28-.115-.62-.184-1.146-.22-.532-.037-1.206-.037-2.146-.037H8c-.94 0-1.614 0-2.146.037-.526.035-.867.104-1.146.22-.827.342-1.484 1-1.826 1.826-.116.28-.185.62-.22 1.146-.037.532-.037 1.206-.037 2.146a.625.625 0 1 1-1.25 0v-.023c0-.912 0-1.629.04-2.208.04-.59.123-1.082.312-1.539a4.625 4.625 0 0 1 2.503-2.503c.456-.189.95-.272 1.539-.313.579-.039 1.296-.039 2.208-.039Zm10.418.595a.625.625 0 0 1 .76-.45 4.627 4.627 0 0 1 3.47 4.48v2a.625.625 0 1 1-1.25 0v-2a3.377 3.377 0 0 0-2.53-3.269.625.625 0 0 1-.45-.76Z"
2210
2210
  />
2211
2211
  </svg>
2212
- `,"video-recorder":Je`
2212
+ `,"video-recorder":re`
2213
2213
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2214
2214
  <path
2215
2215
  fill="currentColor"
@@ -2218,7 +2218,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2218
2218
  clip-rule="evenodd"
2219
2219
  />
2220
2220
  </svg>
2221
- `,"volume-max":Je`
2221
+ `,"volume-max":re`
2222
2222
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2223
2223
  <path
2224
2224
  fill="currentColor"
@@ -2231,7 +2231,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2231
2231
  d="M18.366 5.993a.625.625 0 0 1 .872.142A10.011 10.011 0 0 1 21.125 12c0 2.188-.7 4.214-1.887 5.865a.625.625 0 0 1-1.014-.73A8.761 8.761 0 0 0 19.875 12a8.76 8.76 0 0 0-1.651-5.135.625.625 0 0 1 .142-.872Zm-3.138 2.351a.625.625 0 0 1 .87.156 6.1 6.1 0 0 1 1.099 3.5 6.1 6.1 0 0 1-1.098 3.5.625.625 0 1 1-1.026-.715A4.85 4.85 0 0 0 15.947 12a4.85 4.85 0 0 0-.874-2.785.625.625 0 0 1 .155-.87Z"
2232
2232
  />
2233
2233
  </svg>
2234
- `,"volume-x":Je`
2234
+ `,"volume-x":re`
2235
2235
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2236
2236
  <path
2237
2237
  fill="currentColor"
@@ -2244,7 +2244,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2244
2244
  d="M15.058 9.058a.625.625 0 0 1 .884 0L18 11.116l2.058-2.058a.625.625 0 1 1 .884.884L18.884 12l2.058 2.058a.625.625 0 0 1-.884.884L18 12.884l-2.058 2.058a.625.625 0 1 1-.884-.884L17.116 12l-2.058-2.058a.625.625 0 0 1 0-.884Z"
2245
2245
  />
2246
2246
  </svg>
2247
- `,"window-dash":Je`
2247
+ `,"window-dash":re`
2248
2248
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2249
2249
  <path fill="currentColor" d="M15 14H9a.6.6 0 1 0 0 1.2h6a.6.6 0 1 0 0-1.2Z" />
2250
2250
  <path
@@ -2254,7 +2254,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2254
2254
  clip-rule="evenodd"
2255
2255
  />
2256
2256
  </svg>
2257
- `,"window-desktop":Je`
2257
+ `,"window-desktop":re`
2258
2258
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2259
2259
  <path fill="currentColor" d="M15 17H9a.6.6 0 1 0 0 1.2h6a.6.6 0 1 0 0-1.2Z" />
2260
2260
  <path
@@ -2264,7 +2264,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2264
2264
  clip-rule="evenodd"
2265
2265
  />
2266
2266
  </svg>
2267
- `,"window-dock":Je`
2267
+ `,"window-dock":re`
2268
2268
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2269
2269
  <path
2270
2270
  fill="currentColor"
@@ -2277,14 +2277,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2277
2277
  clip-rule="evenodd"
2278
2278
  />
2279
2279
  </svg>
2280
- `,"window-fullscreen":Je`
2280
+ `,"window-fullscreen":re`
2281
2281
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2282
2282
  <path
2283
2283
  fill="currentColor"
2284
2284
  d="M8.273 2.88H8.5a.62.62 0 1 1 0 1.24h-.2c-.85 0-1.45 0-1.92.039-.462.038-.742.109-.96.22a2.38 2.38 0 0 0-1.04 1.04c-.112.22-.184.5-.221.961-.039.47-.04 1.07-.04 1.92v.2a.62.62 0 1 1-1.24 0v-.227c0-.817 0-1.468.044-1.994.044-.538.136-1 .351-1.422a3.62 3.62 0 0 1 1.582-1.582c.423-.216.884-.308 1.423-.352.526-.043 1.177-.043 1.994-.043Zm9.347 1.279c-.47-.039-1.07-.039-1.92-.039h-.2a.62.62 0 0 1 0-1.24h.227c.817 0 1.468 0 1.994.043.538.044 1 .136 1.422.352a3.62 3.62 0 0 1 1.582 1.582c.216.422.308.884.352 1.422.043.526.043 1.177.043 1.994V8.5a.62.62 0 0 1-1.24 0v-.2c0-.85 0-1.45-.039-1.92-.038-.462-.109-.742-.22-.96a2.38 2.38 0 0 0-1.04-1.04c-.22-.112-.5-.183-.961-.221ZM3.5 14.88a.62.62 0 0 1 .62.62v.2c0 .85 0 1.45.039 1.92.037.462.109.742.22.96a2.38 2.38 0 0 0 1.04 1.04c.22.112.5.183.961.221.47.038 1.07.039 1.92.039h.2a.62.62 0 0 1 0 1.24h-.227c-.817 0-1.468 0-1.994-.043-.539-.044-1-.136-1.423-.352a3.62 3.62 0 0 1-1.582-1.582c-.215-.422-.307-.884-.351-1.422-.043-.526-.043-1.177-.043-1.994V15.5a.62.62 0 0 1 .62-.62Zm17 0a.62.62 0 0 1 .62.62v.227c0 .817 0 1.468-.043 1.994-.044.538-.136 1-.352 1.422a3.619 3.619 0 0 1-1.582 1.582c-.422.216-.884.308-1.422.352-.526.043-1.177.043-1.994.043H15.5a.62.62 0 0 1 0-1.24h.2c.85 0 1.45 0 1.92-.039.462-.038.741-.109.96-.22a2.38 2.38 0 0 0 1.04-1.04c.112-.22.183-.5.221-.961.038-.47.039-1.07.039-1.92v-.2a.62.62 0 0 1 .62-.62Z"
2285
2285
  />
2286
2286
  </svg>
2287
- `,"window-plus":Je`
2287
+ `,"window-plus":re`
2288
2288
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2289
2289
  <path
2290
2290
  fill="currentColor"
@@ -2297,7 +2297,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2297
2297
  clip-rule="evenodd"
2298
2298
  />
2299
2299
  </svg>
2300
- `,"window-sidebar":Je`
2300
+ `,"window-sidebar":re`
2301
2301
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2302
2302
  <path
2303
2303
  fill="currentColor"
@@ -2306,7 +2306,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2306
2306
  clip-rule="evenodd"
2307
2307
  />
2308
2308
  </svg>
2309
- `,"window-split":Je`
2309
+ `,"window-split":re`
2310
2310
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2311
2311
  <path
2312
2312
  fill="currentColor"
@@ -2315,7 +2315,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2315
2315
  clip-rule="evenodd"
2316
2316
  />
2317
2317
  </svg>
2318
- `,"window-stack":Je`
2318
+ `,"window-stack":re`
2319
2319
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2320
2320
  <path
2321
2321
  fill="currentColor"
@@ -2324,7 +2324,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2324
2324
  clip-rule="evenodd"
2325
2325
  />
2326
2326
  </svg>
2327
- `,"window-x":Je`
2327
+ `,"window-x":re`
2328
2328
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2329
2329
  <path
2330
2330
  fill="currentColor"
@@ -2337,7 +2337,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2337
2337
  clip-rule="evenodd"
2338
2338
  />
2339
2339
  </svg>
2340
- `,window:Je`
2340
+ `,window:re`
2341
2341
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2342
2342
  <path
2343
2343
  fill="currentColor"
@@ -2346,7 +2346,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2346
2346
  clip-rule="evenodd"
2347
2347
  />
2348
2348
  </svg>
2349
- `,"xcircle-fill":Je`
2349
+ `,"xcircle-fill":re`
2350
2350
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2351
2351
  <path
2352
2352
  fill="currentColor"
@@ -2355,7 +2355,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2355
2355
  clip-rule="evenodd"
2356
2356
  />
2357
2357
  </svg>
2358
- `,xcircle:Je`
2358
+ `,xcircle:re`
2359
2359
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2360
2360
  <path
2361
2361
  fill="currentColor"
@@ -2364,14 +2364,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2364
2364
  clip-rule="evenodd"
2365
2365
  />
2366
2366
  </svg>
2367
- `,youtube:Je`
2367
+ `,youtube:re`
2368
2368
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2369
2369
  <path
2370
2370
  fill="currentColor"
2371
2371
  d="M12.058 5.678h.1c.925.003 5.61.037 6.874.377a2.261 2.261 0 0 1 1.592 1.597c.114.428.194.994.248 1.578l.011.117.025.292.009.117c.073 1.028.082 1.992.083 2.202v.084a36.093 36.093 0 0 1-.092 2.318l-.01.118-.01.117c-.056.644-.139 1.283-.264 1.753a2.258 2.258 0 0 1-1.592 1.598c-1.305.35-6.265.375-6.953.376h-.16c-.347 0-1.785-.006-3.293-.058l-.19-.007-.099-.004-.384-.016c-1.25-.055-2.438-.144-2.986-.293a2.258 2.258 0 0 1-1.592-1.596c-.125-.47-.208-1.11-.265-1.753l-.018-.235A35.32 35.32 0 0 1 3 12.07v-.14c.002-.241.011-1.077.072-2l.008-.115.003-.059.01-.117.024-.292.011-.117c.054-.584.134-1.151.248-1.578a2.258 2.258 0 0 1 1.592-1.597c.548-.147 1.737-.237 2.986-.293l.19-.008.291-.01.193-.008c1.07-.034 2.142-.053 3.213-.057h.217v-.001ZM10.2 9.289v5.42l4.676-2.708L10.2 9.289Z"
2372
2372
  />
2373
2373
  </svg>
2374
- `,"zoom-in":Je`
2374
+ `,"zoom-in":re`
2375
2375
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2376
2376
  <path
2377
2377
  fill="currentColor"
@@ -2380,7 +2380,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2380
2380
  clip-rule="evenodd"
2381
2381
  />
2382
2382
  </svg>
2383
- `,"zoom-out":Je`
2383
+ `,"zoom-out":re`
2384
2384
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2385
2385
  <path
2386
2386
  fill="currentColor"
@@ -2389,54 +2389,54 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2389
2389
  clip-rule="evenodd"
2390
2390
  />
2391
2391
  </svg>
2392
- `};var gn=re`:host{color:inherit;display:inline-flex;vertical-align:bottom}:host(.icon-left){margin-right:.25rem}:host(.icon-right){margin-left:.25rem}:host([size=xs]) svg{height:var(--sgds-icon-size-xs);width:var(--sgds-icon-size-xs)}:host([size=sm]) svg{height:var(--sgds-icon-size-sm);width:var(--sgds-icon-size-sm)}:host([size=md]) svg{height:var(--sgds-icon-size-md);width:var(--sgds-icon-size-md)}:host([size=xl]) svg{height:var(--sgds-icon-size-xl);width:var(--sgds-icon-size-xl)}:host([size="2-xl"]) svg{height:var(--sgds-icon-size-2-xl);width:var(--sgds-icon-size-2-xl)}:host([size="3-xl"]) svg{height:var(--sgds-icon-size-3-xl);width:var(--sgds-icon-size-3-xl)}svg{display:inline-block;height:var(--sgds-icon-size-lg);width:var(--sgds-icon-size-lg)}`;class vn extends Cs{constructor(){super(...arguments),this.size="lg"}_getIconByName(t){if(!t)return;const e=pn[t];if(e)return e;console.warn(`Icon not found: ${t}`)}updated(){var t;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector("svg");e&&(this.ariaLabel?(e.removeAttribute("aria-hidden"),e.setAttribute("aria-label",this.ariaLabel)):(e.removeAttribute("aria-label"),e.setAttribute("aria-hidden","true")))}render(){const t=this._getIconByName(this.name);return t||ii}}vn.styles=[...Cs.styles,gn],t([Zi({type:String,reflect:!0})],vn.prototype,"name",void 0),t([Zi({type:String,reflect:!0})],vn.prototype,"size",void 0),t([Zi({type:String})],vn.prototype,"ariaLabel",void 0);var fn=re`:host{--sgds-spinner-bg:var(--sgds-primary-surface-default);display:inline-flex}:host([variant=neutral]){--sgds-spinner-bg:var(--sgds-neutral-surface-default)}:host([tone=neutral]){--sgds-spinner-bg:var(--sgds-surface-inverse)}:host([tone=inverse]){--sgds-spinner-bg:var(--sgds-surface-default)}:host([tone=fixed-light]){--sgds-spinner-bg:var(--sgds-surface-fixed-light)}:host([tone=fixed-dark]){--sgds-spinner-bg:var(--sgds-surface-fixed-dark)}.spinner-wrapper{align-items:center;display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.spinner-wrapper.horizontal{flex-direction:row}.spinner{--border-thickness:4px;animation:spinner .75s linear infinite;border:var(--border-thickness) solid var(--sgds-bg-translucent);border-radius:50%;border-right:var(--border-thickness) solid var(--sgds-spinner-bg);color:var(--sgds-spinner-color);display:inline-flex;height:var(--sgds-dimension-32);width:var(--sgds-dimension-32)}.spinner-xs{--border-thickness:2px;height:var(--sgds-dimension-16);width:var(--sgds-dimension-16)}.spinner-sm{--border-thickness:3px;height:var(--sgds-dimension-24);width:var(--sgds-dimension-24)}.spinner-lg{--border-thickness:6px;height:var(--sgds-dimension-48);width:var(--sgds-dimension-48)}.spinner-xl{--border-thickness:8px;height:var(--sgds-dimension-64);width:var(--sgds-dimension-64)}.spinner-label{color:var(--sgds-neutral-color-default);font-size:var(--sgds-font-size-14)}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:1.5s}}
2392
+ `};var Ca=g`:host{color:inherit;display:inline-flex;vertical-align:bottom}:host(.icon-left){margin-right:.25rem}:host(.icon-right){margin-left:.25rem}:host([size=xs]) svg{height:var(--sgds-icon-size-xs);width:var(--sgds-icon-size-xs)}:host([size=sm]) svg{height:var(--sgds-icon-size-sm);width:var(--sgds-icon-size-sm)}:host([size=md]) svg{height:var(--sgds-icon-size-md);width:var(--sgds-icon-size-md)}:host([size=xl]) svg{height:var(--sgds-icon-size-xl);width:var(--sgds-icon-size-xl)}:host([size="2-xl"]) svg{height:var(--sgds-icon-size-2-xl);width:var(--sgds-icon-size-2-xl)}:host([size="3-xl"]) svg{height:var(--sgds-icon-size-3-xl);width:var(--sgds-icon-size-3-xl)}svg{display:inline-block;height:var(--sgds-icon-size-lg);width:var(--sgds-icon-size-lg)}`;class _a extends Bi{constructor(){super(...arguments),this.size="lg"}_getIconByName(e){if(!e)return;const t=xa[e];if(t)return t;console.warn(`Icon not found: ${e}`)}updated(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("svg");t&&(this.ariaLabel?(t.removeAttribute("aria-hidden"),t.setAttribute("aria-label",this.ariaLabel)):(t.removeAttribute("aria-label"),t.setAttribute("aria-hidden","true")))}render(){const e=this._getIconByName(this.name);return e||he}}_a.styles=[...Bi.styles,Ca],e([Ie({type:String,reflect:!0})],_a.prototype,"name",void 0),e([Ie({type:String,reflect:!0})],_a.prototype,"size",void 0),e([Ie({type:String})],_a.prototype,"ariaLabel",void 0);var Za=g`:host{--sgds-spinner-bg:var(--sgds-primary-surface-default);display:inline-flex}:host([variant=neutral]){--sgds-spinner-bg:var(--sgds-neutral-surface-default)}:host([tone=neutral]){--sgds-spinner-bg:var(--sgds-surface-inverse)}:host([tone=inverse]){--sgds-spinner-bg:var(--sgds-surface-default)}:host([tone=fixed-light]){--sgds-spinner-bg:var(--sgds-surface-fixed-light)}:host([tone=fixed-dark]){--sgds-spinner-bg:var(--sgds-surface-fixed-dark)}.spinner-wrapper{align-items:center;display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.spinner-wrapper.horizontal{flex-direction:row}.spinner{--border-thickness:4px;animation:spinner .75s linear infinite;border:var(--border-thickness) solid var(--sgds-bg-translucent);border-radius:50%;border-right:var(--border-thickness) solid var(--sgds-spinner-bg);color:var(--sgds-spinner-color);display:inline-flex;height:var(--sgds-dimension-32);width:var(--sgds-dimension-32)}.spinner-xs{--border-thickness:2px;height:var(--sgds-dimension-16);width:var(--sgds-dimension-16)}.spinner-sm{--border-thickness:3px;height:var(--sgds-dimension-24);width:var(--sgds-dimension-24)}.spinner-lg{--border-thickness:6px;height:var(--sgds-dimension-48);width:var(--sgds-dimension-48)}.spinner-xl{--border-thickness:8px;height:var(--sgds-dimension-64);width:var(--sgds-dimension-64)}.spinner-label{color:var(--sgds-neutral-color-default);font-size:var(--sgds-font-size-14)}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:1.5s}}
2393
2393
 
2394
- /*! CSS Used keyframes */@keyframes spinner{to{transform:rotate(1turn)}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}`,mn=re`.text-primary{color:var(--sgds-primary-rgb)!important}.text-secondary{color:var(--sgds-secondary-rgb)!important}.text-success{color:var(--sgds-success-rgb)!important}.text-info{color:var(--sgds-info-rgb)!important}.text-warning{color:var(--sgds-warning-rgb)!important}.text-danger{color:var(--sgds-danger-rgb)!important}.text-light{color:var(--sgds-light-rgb)!important}.text-dark{color:var(--sgds-dark-rgb)!important}.text-muted{color:var(--sgds-secondary-color)!important}`;class wn extends Cs{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.orientation="vertical"}render(){return Is`
2394
+ /*! CSS Used keyframes */@keyframes spinner{to{transform:rotate(1turn)}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}`,Ma=g`.text-primary{color:var(--sgds-primary-rgb)!important}.text-secondary{color:var(--sgds-secondary-rgb)!important}.text-success{color:var(--sgds-success-rgb)!important}.text-info{color:var(--sgds-info-rgb)!important}.text-warning{color:var(--sgds-warning-rgb)!important}.text-danger{color:var(--sgds-danger-rgb)!important}.text-light{color:var(--sgds-light-rgb)!important}.text-dark{color:var(--sgds-dark-rgb)!important}.text-muted{color:var(--sgds-secondary-color)!important}`;class Va extends Bi{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.orientation="vertical"}render(){return Wi`
2395
2395
  <div
2396
- class="spinner-wrapper ${Bs({horizontal:"horizontal"===this.orientation})}"
2396
+ class="spinner-wrapper ${Ri({horizontal:"horizontal"===this.orientation})}"
2397
2397
  >
2398
2398
  <div
2399
- class="spinner ${Bs({[`spinner-${this.size}`]:this.size})}"
2399
+ class="spinner ${Ri({[`spinner-${this.size}`]:this.size})}"
2400
2400
  role="status"
2401
2401
  >
2402
- ${this.label?ii:Is`<span class="sr-only">Loading...</span>`}
2402
+ ${this.label?he:Wi`<span class="sr-only">Loading...</span>`}
2403
2403
  </div>
2404
- ${this.label?Is`<span class="spinner-label">${this.label}</span>`:ii}
2404
+ ${this.label?Wi`<span class="spinner-label">${this.label}</span>`:he}
2405
2405
  </div>
2406
- `}}wn.styles=[...Cs.styles,mn,fn],t([Zi({type:String,reflect:!0})],wn.prototype,"variant",void 0),t([Zi({type:String,reflect:!0})],wn.prototype,"tone",void 0),t([Zi({type:String,reflect:!0})],wn.prototype,"size",void 0),t([Zi({reflect:!0,type:String})],wn.prototype,"label",void 0),t([Zi({type:String,reflect:!0})],wn.prototype,"orientation",void 0);var yn=re`:host{display:inline-block}.btn.btn-icon{display:flex;height:var(--sgds-dimension-48,56px);min-width:unset;padding:0;width:var(--sgds-dimension-48,56px)}.btn.btn-icon.btn-lg{height:var(--sgds-dimension-56);min-width:unset;padding:0;width:var(--sgds-dimension-56)}.btn.btn-icon.btn-sm{height:var(--sgds-dimension-40);min-width:unset;padding:0;width:var(--sgds-dimension-40)}.btn.btn-icon.btn-xs{height:var(--sgds-dimension-32);min-width:unset;padding:0;width:var(--sgds-dimension-32)}`;class bn extends Rs{_assignIconSize(t){return"xs"===t?"sm":"sm"===t?"md":"md"===t?"lg":"lg"===t?"xl":void 0}render(){const t=this.href,e=t?$s`a`:$s`button`;return Is`
2407
- <${e}
2408
- class="btn btn-icon${Bs({disabled:this.disabled,active:this.active,[`btn-${this.variant}`]:this.variant,[`btn-${this.size}`]:this.size,loading:this.loading})}"
2409
- ?disabled=${Es(t?void 0:this.disabled)}
2410
- type=${Es(t?void 0:"button")}
2411
- href=${Es(t?this.href:void 0)}
2412
- target=${Es(t?this.target:void 0)}
2413
- download=${Es(t?this.download:void 0)}
2414
- rel=${Es(t&&"_blank"===this.target?"noreferrer noopener":void 0)}
2415
- role=${Es(t?"button":void 0)}
2406
+ `}}Va.styles=[...Bi.styles,Ma,Za],e([Ie({type:String,reflect:!0})],Va.prototype,"variant",void 0),e([Ie({type:String,reflect:!0})],Va.prototype,"tone",void 0),e([Ie({type:String,reflect:!0})],Va.prototype,"size",void 0),e([Ie({reflect:!0,type:String})],Va.prototype,"label",void 0),e([Ie({type:String,reflect:!0})],Va.prototype,"orientation",void 0);var $a=g`:host{display:inline-block}.btn.btn-icon{display:flex;height:var(--sgds-dimension-48,56px);min-width:unset;padding:0;width:var(--sgds-dimension-48,56px)}.btn.btn-icon.btn-lg{height:var(--sgds-dimension-56);min-width:unset;padding:0;width:var(--sgds-dimension-56)}.btn.btn-icon.btn-sm{height:var(--sgds-dimension-40);min-width:unset;padding:0;width:var(--sgds-dimension-40)}.btn.btn-icon.btn-xs{height:var(--sgds-dimension-32);min-width:unset;padding:0;width:var(--sgds-dimension-32)}`;class ka extends Ki{_assignIconSize(e){return"xs"===e?"sm":"sm"===e?"md":"md"===e?"lg":"lg"===e?"xl":void 0}render(){const e=this.href,t=e?Ni`a`:Ni`button`;return Wi`
2407
+ <${t}
2408
+ class="btn btn-icon${Ri({disabled:this.disabled,active:this.active,[`btn-${this.variant}`]:this.variant,[`btn-${this.size}`]:this.size,loading:this.loading})}"
2409
+ ?disabled=${Oi(e?void 0:this.disabled)}
2410
+ type=${Oi(e?void 0:"button")}
2411
+ href=${Oi(e?this.href:void 0)}
2412
+ target=${Oi(e?this.target:void 0)}
2413
+ download=${Oi(e?this.download:void 0)}
2414
+ rel=${Oi(e&&"_blank"===this.target?"noreferrer noopener":void 0)}
2415
+ role=${Oi(e?"button":void 0)}
2416
2416
  aria-disabled=${this.disabled||this.loading?"true":"false"}
2417
2417
  tabindex=${this.disabled?"-1":"0"}
2418
2418
  @click=${this._handleClick}
2419
2419
  @keydown=${this._handleKeydown}
2420
2420
  @focus=${this._handleFocus}
2421
2421
  @blur=${this._handleBlur}
2422
- aria-label=${Es(this.loading?"Loading":this.ariaLabel)}
2422
+ aria-label=${Oi(this.loading?"Loading":this.ariaLabel)}
2423
2423
  >
2424
- ${this.loading?Is`<sgds-spinner
2425
- size=${Es(this._assignSpinnerSize(this.size))}
2426
- tone=${Es(this._assignSpinnerTone(this.tone,this.variant))}
2427
- ></sgds-spinner>`:Is`<sgds-icon
2428
- name=${Es(this.name)}
2429
- size=${Es(this._assignIconSize(this.size))}
2424
+ ${this.loading?Wi`<sgds-spinner
2425
+ size=${Oi(this._assignSpinnerSize(this.size))}
2426
+ tone=${Oi(this._assignSpinnerTone(this.tone,this.variant))}
2427
+ ></sgds-spinner>`:Wi`<sgds-icon
2428
+ name=${Oi(this.name)}
2429
+ size=${Oi(this._assignIconSize(this.size))}
2430
2430
  ></sgds-icon>`}
2431
- </${e}>
2432
- `}}bn.styles=[...Rs.styles,yn],bn.dependencies={"sgds-icon":vn,"sgds-spinner":wn},t([Zi({type:String,reflect:!0})],bn.prototype,"name",void 0);var xn=re`.datepicker-header{display:flex;gap:var(--sgds-form-gap-md)}sgds-button{--btn-font-weight:var(--sgds-font-weight-semibold)}`;class _n extends Cs{constructor(){super(...arguments),this.selectedDate=[]}_handleFocusedTabIndexChange(){let t;switch(this.focusedTabIndex){case 0:t=this.shadowRoot.querySelector("sgds-icon-button[name='arrow-left']");break;case 1:t=this.shadowRoot.querySelector("sgds-button");break;case 2:t=this.shadowRoot.querySelector("sgds-icon-button[name='arrow-right']");break;default:return}t.focus()}_changeView(){switch(this.view){case"days":this.view="months";break;case"months":this.view="years"}this.emit("sgds-view",{detail:this.view})}renderHeader(t=this.displayDate,e=this.view){if("months"===e)return t.getFullYear();if("years"===e){const e=(new Date).getFullYear(),i=t.getFullYear(),a=(i-e)%12,s=a<0?12+a:a;return`${i-s} - ${i-s+12-1}`}return`${Cn[t.getMonth()]} ${t.getFullYear()}`}_renderHeaderTemplate(){return Je`${this.renderHeader()}`}handleClickPrevious(){const{view:t,displayDate:e,focusedDate:i}=this;let a=new Date(e);"months"===t?a.setFullYear(a.getFullYear()-1):"years"===this.view?a.setFullYear(a.getFullYear()-12):a=i.getDate()!==e.getDate()?Ss(i):Ss(a),this.displayDate=a,this.emit("sgds-change-calendar",{detail:this.displayDate})}_handleClickNext(){const{view:t,displayDate:e,focusedDate:i}=this;let a=new Date(e);"months"===t?a.setFullYear(a.getFullYear()+1):"years"===this.view?a.setFullYear(a.getFullYear()+12):a=i.getDate()!==e.getDate()?Vs(i):Vs(a),this.displayDate=a,this.emit("sgds-change-calendar",{detail:this.displayDate})}_removeCaret(){const t=this.displayDate.getFullYear(),e=this.displayDate.getMonth(),i=new Date(t,e);return"months"===this.view?t<=1900:"years"===this.view?t<1904:st(i,new Date(0,0,1))||at(i,new Date(0,0,1))}_ariaLabelForNextBtn(){return{days:"Show next month",months:"Show next year",years:"Show next 12 years"}[this.view]}_ariaLabelForPrevBtn(){return{days:"Show previous month",months:"Show previous year",years:"Show previous 12 years"}[this.view]}_ariaLabelForHeaderBtn(){const t={days:`Current view is days, click to show months in ${this.displayDate.getFullYear()}`,months:`Current view is months, click to show years between ${this.renderHeader(this.displayDate,"years")}`,years:"Current view is years"};return`${this.renderHeader()}. ${t[this.view]}`}render(){return Je`
2431
+ </${t}>
2432
+ `}}ka.styles=[...Ki.styles,$a],ka.dependencies={"sgds-icon":_a,"sgds-spinner":Va},e([Ie({type:String,reflect:!0})],ka.prototype,"name",void 0);var Ha=g`.datepicker-header{display:flex;gap:var(--sgds-form-gap-md)}sgds-button{--btn-font-weight:var(--sgds-font-weight-semibold)}`;class Sa extends Bi{constructor(){super(...arguments),this.selectedDate=[]}_handleFocusedTabIndexChange(){let e;switch(this.focusedTabIndex){case 0:e=this.shadowRoot.querySelector("sgds-icon-button[name='arrow-left']");break;case 1:e=this.shadowRoot.querySelector("sgds-button");break;case 2:e=this.shadowRoot.querySelector("sgds-icon-button[name='arrow-right']");break;default:return}e.focus()}_changeView(){switch(this.view){case"days":this.view="months";break;case"months":this.view="years"}this.emit("sgds-view",{detail:this.view})}renderHeader(e=this.displayDate,t=this.view){if("months"===t)return e.getFullYear();if("years"===t){const t=(new Date).getFullYear(),i=e.getFullYear(),a=(i-t)%12,l=a<0?12+a:a;return`${i-l} - ${i-l+12-1}`}return`${Da[e.getMonth()]} ${e.getFullYear()}`}_renderHeaderTemplate(){return re`${this.renderHeader()}`}handleClickPrevious(){const{view:e,displayDate:t,focusedDate:i}=this;let a=new Date(t);"months"===e?a.setFullYear(a.getFullYear()-1):"years"===this.view?a.setFullYear(a.getFullYear()-12):a=i.getDate()!==t.getDate()?Ti(i):Ti(a),this.displayDate=a,this.emit("sgds-change-calendar",{detail:this.displayDate})}_handleClickNext(){const{view:e,displayDate:t,focusedDate:i}=this;let a=new Date(t);"months"===e?a.setFullYear(a.getFullYear()+1):"years"===this.view?a.setFullYear(a.getFullYear()+12):a=i.getDate()!==t.getDate()?Ei(i):Ei(a),this.displayDate=a,this.emit("sgds-change-calendar",{detail:this.displayDate})}_removeCaret(){const e=this.displayDate.getFullYear(),t=this.displayDate.getMonth(),i=new Date(e,t);return"months"===this.view?e<=1900:"years"===this.view?e<1904:s(i,new Date(0,0,1))||l(i,new Date(0,0,1))}_ariaLabelForNextBtn(){return{days:"Show next month",months:"Show next year",years:"Show next 12 years"}[this.view]}_ariaLabelForPrevBtn(){return{days:"Show previous month",months:"Show previous year",years:"Show previous 12 years"}[this.view]}_ariaLabelForHeaderBtn(){const e={days:`Current view is days, click to show months in ${this.displayDate.getFullYear()}`,months:`Current view is months, click to show years between ${this.renderHeader(this.displayDate,"years")}`,years:"Current view is years"};return`${this.renderHeader()}. ${e[this.view]}`}render(){return re`
2433
2433
  <div class="datepicker-header dropdown-header">
2434
2434
  <sgds-icon-button
2435
2435
  name="arrow-left"
2436
2436
  size="sm"
2437
2437
  variant="ghost"
2438
2438
  @click="${this.handleClickPrevious}"
2439
- class=${Bs({invisible:this._removeCaret()})}
2439
+ class=${Ri({invisible:this._removeCaret()})}
2440
2440
  .ariaLabel=${this._ariaLabelForPrevBtn()}
2441
2441
  >
2442
2442
  </sgds-icon-button>
@@ -2445,7 +2445,7 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2445
2445
  variant="ghost"
2446
2446
  size="sm"
2447
2447
  @click=${this._changeView}
2448
- class=${Bs({disabled:"years"===this.view})}
2448
+ class=${Ri({disabled:"years"===this.view})}
2449
2449
  .ariaLabel=${this._ariaLabelForHeaderBtn()}
2450
2450
  aria-disabled=${"years"===this.view?"true":"false"}
2451
2451
  aria-live="polite"
@@ -2461,66 +2461,66 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2461
2461
  >
2462
2462
  </sgds-icon-button>
2463
2463
  </div>
2464
- `}}_n.styles=[xn],_n.dependencies={"sgds-icon":vn,"sgds-icon-button":bn,"sgds-button":Us},t([Zi({attribute:!1})],_n.prototype,"displayDate",void 0),t([Zi({attribute:!1})],_n.prototype,"focusedDate",void 0),t([Zi({attribute:!1})],_n.prototype,"selectedDate",void 0),t([Zi()],_n.prototype,"view",void 0),t([Zi()],_n.prototype,"focusedTabIndex",void 0),t([As("focusedTabIndex",{waitUntilFirstUpdate:!0})],_n.prototype,"_handleFocusedTabIndexChange",null);const Cn=["January","February","March","April","May","June","July","August","September","October","November","December"];function kn(t){return"string"==typeof t||t instanceof String}function Mn(t){var e;return"object"==typeof t&&null!=t&&"Object"===(null==t||null==(e=t.constructor)?void 0:e.name)}function Zn(t,e){return Array.isArray(e)?Zn(t,(t,i)=>e.includes(i)):Object.entries(t).reduce((t,i)=>{let[a,s]=i;return e(s,a)&&(t[a]=s),t},{})}const Vn="NONE",Sn="LEFT",Dn="FORCE_LEFT",An="RIGHT",Bn="FORCE_RIGHT";function En(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function Fn(t,e){if(e===t)return!0;const i=Array.isArray(e),a=Array.isArray(t);let s;if(i&&a){if(e.length!=t.length)return!1;for(s=0;s<e.length;s++)if(!Fn(e[s],t[s]))return!1;return!0}if(i!=a)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){const i=e instanceof Date,a=t instanceof Date;if(i&&a)return e.getTime()==t.getTime();if(i!=a)return!1;const n=e instanceof RegExp,r=t instanceof RegExp;if(n&&r)return e.toString()==t.toString();if(n!=r)return!1;const o=Object.keys(e);for(s=0;s<o.length;s++)if(!Object.prototype.hasOwnProperty.call(t,o[s]))return!1;for(s=0;s<o.length;s++)if(!Fn(t[o[s]],e[o[s]]))return!1;return!0}return!(!e||!t||"function"!=typeof e||"function"!=typeof t)&&e.toString()===t.toString()}class Hn{constructor(t){for(Object.assign(this,t);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start;if(this.insertedCount)for(;this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end);)this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end?++this.oldSelection.end:++this.cursorPos}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?Vn:this.oldSelection.end!==this.cursorPos&&this.oldSelection.start!==this.cursorPos||this.oldSelection.end!==this.oldSelection.start?Sn:An}}function $n(t,e){return new $n.InputMask(t,e)}function Tn(t){if(null==t)throw new Error("mask property should be defined");return t instanceof RegExp?$n.MaskedRegExp:kn(t)?$n.MaskedPattern:t===Date?$n.MaskedDate:t===Number?$n.MaskedNumber:Array.isArray(t)||t===Array?$n.MaskedDynamic:$n.Masked&&t.prototype instanceof $n.Masked?t:$n.Masked&&t instanceof $n.Masked?t.constructor:t instanceof Function?$n.MaskedFunction:(console.warn("Mask not found for mask",t),$n.Masked)}function In(t){if(!t)throw new Error("Options in not defined");if($n.Masked){if(t.prototype instanceof $n.Masked)return{mask:t};const{mask:e,...i}=t instanceof $n.Masked?{mask:t}:Mn(t)&&t.mask instanceof $n.Masked?t:{};if(e){const t=e.mask;return{...Zn(e,(t,e)=>!e.startsWith("_")),mask:e.constructor,_mask:t,...i}}}return Mn(t)?{...t}:{mask:t}}function Pn(t){if($n.Masked&&t instanceof $n.Masked)return t;const e=In(t),i=Tn(e.mask);if(!i)throw new Error("Masked class is not found for provided mask "+e.mask+", appropriate module needs to be imported manually before creating mask.");return e.mask===i&&delete e.mask,e._mask&&(e.mask=e._mask,delete e._mask),new i(e)}$n.createMask=Pn;class Ln{get selectionStart(){let t;try{t=this._unsafeSelectionStart}catch{}return null!=t?t:this.value.length}get selectionEnd(){let t;try{t=this._unsafeSelectionEnd}catch{}return null!=t?t:this.value.length}select(t,e){if(null!=t&&null!=e&&(t!==this.selectionStart||e!==this.selectionEnd))try{this._unsafeSelect(t,e)}catch{}}get isActive(){return!1}}$n.MaskElement=Ln;class Rn extends Ln{constructor(t){super(),this.input=t,this._onKeydown=this._onKeydown.bind(this),this._onInput=this._onInput.bind(this),this._onBeforeinput=this._onBeforeinput.bind(this),this._onCompositionEnd=this._onCompositionEnd.bind(this)}get rootElement(){var t,e,i;return null!=(t=null==(e=(i=this.input).getRootNode)?void 0:e.call(i))?t:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(t){this.input.addEventListener("keydown",this._onKeydown),this.input.addEventListener("input",this._onInput),this.input.addEventListener("beforeinput",this._onBeforeinput),this.input.addEventListener("compositionend",this._onCompositionEnd),this.input.addEventListener("drop",t.drop),this.input.addEventListener("click",t.click),this.input.addEventListener("focus",t.focus),this.input.addEventListener("blur",t.commit),this._handlers=t}_onKeydown(t){return this._handlers.redo&&(90===t.keyCode&&t.shiftKey&&(t.metaKey||t.ctrlKey)||89===t.keyCode&&t.ctrlKey)?(t.preventDefault(),this._handlers.redo(t)):this._handlers.undo&&90===t.keyCode&&(t.metaKey||t.ctrlKey)?(t.preventDefault(),this._handlers.undo(t)):void(t.isComposing||this._handlers.selectionChange(t))}_onBeforeinput(t){return"historyUndo"===t.inputType&&this._handlers.undo?(t.preventDefault(),this._handlers.undo(t)):"historyRedo"===t.inputType&&this._handlers.redo?(t.preventDefault(),this._handlers.redo(t)):void 0}_onCompositionEnd(t){this._handlers.input(t)}_onInput(t){t.isComposing||this._handlers.input(t)}unbindEvents(){this.input.removeEventListener("keydown",this._onKeydown),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("beforeinput",this._onBeforeinput),this.input.removeEventListener("compositionend",this._onCompositionEnd),this.input.removeEventListener("drop",this._handlers.drop),this.input.removeEventListener("click",this._handlers.click),this.input.removeEventListener("focus",this._handlers.focus),this.input.removeEventListener("blur",this._handlers.commit),this._handlers={}}}$n.HTMLMaskElement=Rn;class On extends Rn{constructor(t){super(t),this.input=t}get _unsafeSelectionStart(){return null!=this.input.selectionStart?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(t,e){this.input.setSelectionRange(t,e)}get value(){return this.input.value}set value(t){this.input.value=t}}$n.HTMLMaskElement=Rn;class Yn extends Rn{get _unsafeSelectionStart(){const t=this.rootElement,e=t.getSelection&&t.getSelection(),i=e&&e.anchorOffset,a=e&&e.focusOffset;return null==a||null==i||i<a?i:a}get _unsafeSelectionEnd(){const t=this.rootElement,e=t.getSelection&&t.getSelection(),i=e&&e.anchorOffset,a=e&&e.focusOffset;return null==a||null==i||i>a?i:a}_unsafeSelect(t,e){if(!this.rootElement.createRange)return;const i=this.rootElement.createRange();i.setStart(this.input.firstChild||this.input,t),i.setEnd(this.input.lastChild||this.input,e);const a=this.rootElement,s=a.getSelection&&a.getSelection();s&&(s.removeAllRanges(),s.addRange(i))}get value(){return this.input.textContent||""}set value(t){this.input.textContent=t}}$n.HTMLContenteditableMaskElement=Yn;class Nn{constructor(){this.states=[],this.currentIndex=0}get currentState(){return this.states[this.currentIndex]}get isEmpty(){return 0===this.states.length}push(t){this.currentIndex<this.states.length-1&&(this.states.length=this.currentIndex+1),this.states.push(t),this.states.length>Nn.MAX_LENGTH&&this.states.shift(),this.currentIndex=this.states.length-1}go(t){return this.currentIndex=Math.min(Math.max(this.currentIndex+t,0),this.states.length-1),this.currentState}undo(){return this.go(-1)}redo(){return this.go(1)}clear(){this.states.length=0,this.currentIndex=0}}Nn.MAX_LENGTH=100;$n.InputMask=class{constructor(t,e){this.el=t instanceof Ln?t:t.isContentEditable&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName?new Yn(t):new On(t),this.masked=Pn(e),this._listeners={},this._value="",this._unmaskedValue="",this._rawInputValue="",this.history=new Nn,this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this._onUndo=this._onUndo.bind(this),this._onRedo=this._onRedo.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}maskEquals(t){var e;return null==t||(null==(e=this.masked)?void 0:e.maskEquals(t))}get mask(){return this.masked.mask}set mask(t){if(this.maskEquals(t))return;if(!(t instanceof $n.Masked)&&this.masked.constructor===Tn(t))return void this.masked.updateOptions({mask:t});const e=t instanceof $n.Masked?t:Pn({mask:t});e.unmaskedValue=this.masked.unmaskedValue,this.masked=e}get value(){return this._value}set value(t){this.value!==t&&(this.masked.value=t,this.updateControl("auto"))}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(t){this.unmaskedValue!==t&&(this.masked.unmaskedValue=t,this.updateControl("auto"))}get rawInputValue(){return this._rawInputValue}set rawInputValue(t){this.rawInputValue!==t&&(this.masked.rawInputValue=t,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(t){this.masked.typedValueEquals(t)||(this.masked.typedValue=t,this.updateControl("auto"))}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange,undo:this._onUndo,redo:this._onRedo})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(t,e){const i=this._listeners[t];i&&i.forEach(t=>t(e))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(t){this.el&&this.el.isActive&&(this.el.select(t,t),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value,this._unmaskedValue=this.masked.unmaskedValue,this._rawInputValue=this.masked.rawInputValue}updateControl(t){const e=this.masked.unmaskedValue,i=this.masked.value,a=this.masked.rawInputValue,s=this.displayValue,n=this.unmaskedValue!==e||this.value!==i||this._rawInputValue!==a;this._unmaskedValue=e,this._value=i,this._rawInputValue=a,this.el.value!==s&&(this.el.value=s),"auto"===t?this.alignCursor():null!=t&&(this.cursorPos=t),n&&this._fireChangeEvents(),this._historyChanging||!n&&!this.history.isEmpty||this.history.push({unmaskedValue:e,selection:{start:this.selectionStart,end:this.cursorPos}})}updateOptions(t){const{mask:e,...i}=t,a=!this.maskEquals(e),s=this.masked.optionsIsChanged(i);a&&(this.mask=e),s&&this.masked.updateOptions(i),(a||s)&&this.updateControl()}updateCursor(t){null!=t&&(this.cursorPos=t,this._delayUpdateCursor(t))}_delayUpdateCursor(t){this._abortUpdateCursor(),this._changingCursorPos=t,this._cursorChanging=setTimeout(()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())},10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,Sn))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(t,e){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(e),this}off(t,e){if(!this._listeners[t])return this;if(!e)return delete this._listeners[t],this;const i=this._listeners[t].indexOf(e);return i>=0&&this._listeners[t].splice(i,1),this}_onInput(t){this._inputEvent=t,this._abortUpdateCursor();const e=new Hn({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),i=this.masked.rawInputValue,a=this.masked.splice(e.startChangePos,e.removed.length,e.inserted,e.removeDirection,{input:!0,raw:!0}).offset,s=i===this.masked.rawInputValue?e.removeDirection:Vn;let n=this.masked.nearestInputPos(e.startChangePos+a,s);s!==Vn&&(n=this.masked.nearestInputPos(n,Vn)),this.updateControl(n),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(t){t.preventDefault(),t.stopPropagation()}_onFocus(t){this.alignCursorFriendly()}_onClick(t){this.alignCursorFriendly()}_onUndo(){this._applyHistoryState(this.history.undo())}_onRedo(){this._applyHistoryState(this.history.redo())}_applyHistoryState(t){t&&(this._historyChanging=!0,this.unmaskedValue=t.unmaskedValue,this.el.select(t.selection.start,t.selection.end),this._saveSelection(),this._historyChanging=!1)}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}};class zn{static normalize(t){return Array.isArray(t)?t:[t,new zn]}constructor(t){Object.assign(this,{inserted:"",rawInserted:"",tailShift:0,skip:!1},t)}aggregate(t){return this.inserted+=t.inserted,this.rawInserted+=t.rawInserted,this.tailShift+=t.tailShift,this.skip=this.skip||t.skip,this}get offset(){return this.tailShift+this.inserted.length}get consumed(){return Boolean(this.rawInserted)||this.skip}equals(t){return this.inserted===t.inserted&&this.tailShift===t.tailShift&&this.rawInserted===t.rawInserted&&this.skip===t.skip}}$n.ChangeDetails=zn;class Un{constructor(t,e,i){void 0===t&&(t=""),void 0===e&&(e=0),this.value=t,this.from=e,this.stop=i}toString(){return this.value}extend(t){this.value+=String(t)}appendTo(t){return t.append(this.toString(),{tail:!0}).aggregate(t._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(t){Object.assign(this,t)}unshift(t){if(!this.value.length||null!=t&&this.from>=t)return"";const e=this.value[0];return this.value=this.value.slice(1),e}shift(){if(!this.value.length)return"";const t=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),t}}class qn{constructor(t){this._value="",this._update({...qn.DEFAULTS,...t}),this._initialized=!0}updateOptions(t){this.optionsIsChanged(t)&&this.withValueRefresh(this._update.bind(this,t))}_update(t){Object.assign(this,t)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value}reset(){this._value=""}get value(){return this._value}set value(t){this.resolve(t,{input:!0})}resolve(t,e){void 0===e&&(e={input:!0}),this.reset(),this.append(t,e,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(t){this.resolve(t,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(t){this.format?this.value=this.format(t,this):this.unmaskedValue=String(t)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(t){this.resolve(t,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(t,e){return t}totalInputPositions(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),Math.min(this.displayValue.length,e-t)}extractInput(t,e,i){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),this.displayValue.slice(t,e)}extractTail(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),new Un(this.extractInput(t,e),t)}appendTail(t){return kn(t)&&(t=new Un(String(t))),t.appendTo(this)}_appendCharRaw(t,e){return t?(this._value+=t,new zn({inserted:t,rawInserted:t})):new zn}_appendChar(t,e,i){void 0===e&&(e={});const a=this.state;let s;if([t,s]=this.doPrepareChar(t,e),t&&(s=s.aggregate(this._appendCharRaw(t,e)),!s.rawInserted&&"pad"===this.autofix)){const i=this.state;this.state=a;let n=this.pad(e);const r=this._appendCharRaw(t,e);n=n.aggregate(r),r.rawInserted||n.equals(s)?s=n:this.state=i}if(s.inserted){let t,n=!1!==this.doValidate(e);if(n&&null!=i){const e=this.state;if(!0===this.overwrite){t=i.state;for(let t=0;t<s.rawInserted.length;++t)i.unshift(this.displayValue.length-s.tailShift)}let a=this.appendTail(i);if(n=a.rawInserted.length===i.toString().length,!(n&&a.inserted||"shift"!==this.overwrite)){this.state=e,t=i.state;for(let t=0;t<s.rawInserted.length;++t)i.shift();a=this.appendTail(i),n=a.rawInserted.length===i.toString().length}n&&a.inserted&&(this.state=e)}n||(s=new zn,this.state=a,i&&t&&(i.state=t))}return s}_appendPlaceholder(){return new zn}_appendEager(){return new zn}append(t,e,i){if(!kn(t))throw new Error("value should be string");const a=kn(i)?new Un(String(i)):i;let s;null!=e&&e.tail&&(e._beforeTailState=this.state),[t,s]=this.doPrepare(t,e);for(let i=0;i<t.length;++i){const n=this._appendChar(t[i],e,a);if(!n.rawInserted&&!this.doSkipInvalid(t[i],e,a))break;s.aggregate(n)}return(!0===this.eager||"append"===this.eager)&&null!=e&&e.input&&t&&s.aggregate(this._appendEager()),null!=a&&(s.tailShift+=this.appendTail(a).tailShift),s}remove(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),this._value=this.displayValue.slice(0,t)+this.displayValue.slice(e),new zn}withValueRefresh(t){if(this._refreshing||!this._initialized)return t();this._refreshing=!0;const e=this.rawInputValue,i=this.value,a=t();return this.rawInputValue=e,this.value&&this.value!==i&&0===i.indexOf(this.value)&&(this.append(i.slice(this.displayValue.length),{},""),this.doCommit()),delete this._refreshing,a}runIsolated(t){if(this._isolated||!this._initialized)return t(this);this._isolated=!0;const e=this.state,i=t(this);return this.state=e,delete this._isolated,i}doSkipInvalid(t,e,i){return Boolean(this.skipInvalid)}doPrepare(t,e){return void 0===e&&(e={}),zn.normalize(this.prepare?this.prepare(t,this,e):t)}doPrepareChar(t,e){return void 0===e&&(e={}),zn.normalize(this.prepareChar?this.prepareChar(t,this,e):t)}doValidate(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))}doCommit(){this.commit&&this.commit(this.value,this)}splice(t,e,i,a,s){void 0===i&&(i=""),void 0===a&&(a=Vn),void 0===s&&(s={input:!0});const n=t+e,r=this.extractTail(n),o=!0===this.eager||"remove"===this.eager;let l;o&&(a=function(t){switch(t){case Sn:return Dn;case An:return Bn;default:return t}}(a),l=this.extractInput(0,n,{raw:!0}));let c=t;const d=new zn;if(a!==Vn&&(c=this.nearestInputPos(t,e>1&&0!==t&&!o?Vn:a),d.tailShift=c-t),d.aggregate(this.remove(c)),o&&a!==Vn&&l===this.rawInputValue)if(a===Dn){let t;for(;l===this.rawInputValue&&(t=this.displayValue.length);)d.aggregate(new zn({tailShift:-1})).aggregate(this.remove(t-1))}else a===Bn&&r.unshift();return d.aggregate(this.append(i,s,r))}maskEquals(t){return this.mask===t}optionsIsChanged(t){return!Fn(this,t)}typedValueEquals(t){const e=this.typedValue;return t===e||qn.EMPTY_VALUES.includes(t)&&qn.EMPTY_VALUES.includes(e)||!!this.format&&this.format(t,this)===this.format(this.typedValue,this)}pad(t){return new zn}}qn.DEFAULTS={skipInvalid:!0},qn.EMPTY_VALUES=[void 0,null,""],$n.Masked=qn;class Wn{constructor(t,e){void 0===t&&(t=[]),void 0===e&&(e=0),this.chunks=t,this.from=e}toString(){return this.chunks.map(String).join("")}extend(t){if(!String(t))return;t=kn(t)?new Un(String(t)):t;const e=this.chunks[this.chunks.length-1],i=e&&(e.stop===t.stop||null==t.stop)&&t.from===e.from+e.toString().length;if(t instanceof Un)i?e.extend(t.toString()):this.chunks.push(t);else if(t instanceof Wn){if(null==t.stop){let e;for(;t.chunks.length&&null==t.chunks[0].stop;)e=t.chunks.shift(),e.from+=t.from,this.extend(e)}t.toString()&&(t.stop=t.blockIndex,this.chunks.push(t))}}appendTo(t){if(!(t instanceof $n.MaskedPattern)){return new Un(this.toString()).appendTo(t)}const e=new zn;for(let i=0;i<this.chunks.length;++i){const a=this.chunks[i],s=t._mapPosToBlock(t.displayValue.length),n=a.stop;let r;if(null!=n&&(!s||s.index<=n)&&((a instanceof Wn||t._stops.indexOf(n)>=0)&&e.aggregate(t._appendPlaceholder(n)),r=a instanceof Wn&&t._blocks[n]),r){const i=r.appendTail(a);e.aggregate(i);const s=a.toString().slice(i.rawInserted.length);s&&e.aggregate(t.append(s,{tail:!0}))}else e.aggregate(t.append(a.toString(),{tail:!0}))}return e}get state(){return{chunks:this.chunks.map(t=>t.state),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(t){const{chunks:e,...i}=t;Object.assign(this,i),this.chunks=e.map(t=>{const e="chunks"in t?new Wn:new Un;return e.state=t,e})}unshift(t){if(!this.chunks.length||null!=t&&this.from>=t)return"";const e=null!=t?t-this.from:t;let i=0;for(;i<this.chunks.length;){const t=this.chunks[i],a=t.unshift(e);if(t.toString()){if(!a)break;++i}else this.chunks.splice(i,1);if(a)return a}return""}shift(){if(!this.chunks.length)return"";let t=this.chunks.length-1;for(;0<=t;){const e=this.chunks[t],i=e.shift();if(e.toString()){if(!i)break;--t}else this.chunks.splice(t,1);if(i)return i}return""}}class jn{constructor(t,e){this.masked=t,this._log=[];const{offset:i,index:a}=t._mapPosToBlock(e)||(e<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=i,this.index=a,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(t){Object.assign(this,t)}pushState(){this._log.push(this.state)}popState(){const t=this._log.pop();return t&&(this.state=t),t}bindBlock(){this.block||(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(t){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=(null==(e=this.block)?void 0:e.displayValue.length)||0){var e;if(t())return this.ok=!0}return this.ok=!1}_pushRight(t){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(t())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft(()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,Dn),0!==this.offset||void 0})}pushLeftBeforeInput(){return this._pushLeft(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,Sn),!0})}pushLeftBeforeRequired(){return this._pushLeft(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,Sn),!0})}pushRightBeforeFilled(){return this._pushRight(()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,Bn),this.offset!==this.block.value.length||void 0})}pushRightBeforeInput(){return this._pushRight(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,Vn),!0})}pushRightBeforeRequired(){return this._pushRight(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,Vn),!0})}}class Gn{constructor(t){Object.assign(this,t),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(t,e){return void 0===t&&(t=0),void 0===e&&(e=this._value.length),this._value=this._value.slice(0,t)+this._value.slice(e),this._value||(this._isRawInput=!1),new zn}nearestInputPos(t,e){void 0===e&&(e=Vn);const i=this._value.length;switch(e){case Sn:case Dn:return 0;default:return i}}totalInputPositions(t,e){return void 0===t&&(t=0),void 0===e&&(e=this._value.length),this._isRawInput?e-t:0}extractInput(t,e,i){return void 0===t&&(t=0),void 0===e&&(e=this._value.length),void 0===i&&(i={}),i.raw&&this._isRawInput&&this._value.slice(t,e)||""}get isComplete(){return!0}get isFilled(){return Boolean(this._value)}_appendChar(t,e){if(void 0===e&&(e={}),this.isFilled)return new zn;const i=!0===this.eager||"append"===this.eager,a=this.char===t&&(this.isUnmasking||e.input||e.raw)&&(!e.raw||!i)&&!e.tail,s=new zn({inserted:this.char,rawInserted:a?this.char:""});return this._value=this.char,this._isRawInput=a&&(e.raw||e.input),s}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const t=new zn;return this.isFilled||(this._value=t.inserted=this.char),t}extractTail(){return new Un("")}appendTail(t){return kn(t)&&(t=new Un(String(t))),t.appendTo(this)}append(t,e,i){const a=this._appendChar(t[0],e);return null!=i&&(a.tailShift+=this.appendTail(i).tailShift),a}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value,this._isRawInput=Boolean(t._rawInputValue)}pad(t){return this._appendPlaceholder()}}class Kn{constructor(t){const{parent:e,isOptional:i,placeholderChar:a,displayChar:s,lazy:n,eager:r,...o}=t;this.masked=Pn(o),Object.assign(this,{parent:e,isOptional:i,placeholderChar:a,displayChar:s,lazy:n,eager:r})}reset(){this.isFilled=!1,this.masked.reset()}remove(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.value.length),0===t&&e>=1?(this.isFilled=!1,this.masked.remove(t,e)):new zn}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return Boolean(this.masked.value)||this.isOptional}_appendChar(t,e){if(void 0===e&&(e={}),this.isFilled)return new zn;const i=this.masked.state;let a=this.masked._appendChar(t,this.currentMaskFlags(e));return a.inserted&&!1===this.doValidate(e)&&(a=new zn,this.masked.state=i),a.inserted||this.isOptional||this.lazy||e.input||(a.inserted=this.placeholderChar),a.skip=!a.inserted&&!this.isOptional,this.isFilled=Boolean(a.inserted),a}append(t,e,i){return this.masked.append(t,this.currentMaskFlags(e),i)}_appendPlaceholder(){return this.isFilled||this.isOptional?new zn:(this.isFilled=!0,new zn({inserted:this.placeholderChar}))}_appendEager(){return new zn}extractTail(t,e){return this.masked.extractTail(t,e)}appendTail(t){return this.masked.appendTail(t)}extractInput(t,e,i){return void 0===t&&(t=0),void 0===e&&(e=this.value.length),this.masked.extractInput(t,e,i)}nearestInputPos(t,e){void 0===e&&(e=Vn);const i=this.value.length,a=Math.min(Math.max(t,0),i);switch(e){case Sn:case Dn:return this.isComplete?a:0;case An:case Bn:return this.isComplete?a:i;default:return a}}totalInputPositions(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.value.length),this.value.slice(t,e).length}doValidate(t){return this.masked.doValidate(this.currentMaskFlags(t))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(t)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(t){this.masked.state=t.masked,this.isFilled=t.isFilled}currentMaskFlags(t){var e;return{...t,_beforeTailState:(null==t||null==(e=t._beforeTailState)?void 0:e.masked)||(null==t?void 0:t._beforeTailState)}}pad(t){return new zn}}Kn.DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};$n.MaskedRegExp=class extends qn{updateOptions(t){super.updateOptions(t)}_update(t){const e=t.mask;e&&(t.validate=t=>t.search(e)>=0),super._update(t)}};class Qn extends qn{constructor(t){super({...Qn.DEFAULTS,...t,definitions:Object.assign({},Kn.DEFAULT_DEFINITIONS,null==t?void 0:t.definitions)})}updateOptions(t){super.updateOptions(t)}_update(t){t.definitions=Object.assign({},this.definitions,t.definitions),super._update(t),this._rebuildMask()}_rebuildMask(){const t=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};const e=this.mask;if(!e||!t)return;let i=!1,a=!1;for(let s=0;s<e.length;++s){if(this.blocks){const t=e.slice(s),i=Object.keys(this.blocks).filter(e=>0===t.indexOf(e));i.sort((t,e)=>e.length-t.length);const a=i[0];if(a){const{expose:t,repeat:e,...i}=In(this.blocks[a]),n={lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,autofix:this.autofix,...i,repeat:e,parent:this},r=null!=e?new $n.RepeatBlock(n):Pn(n);r&&(this._blocks.push(r),t&&(this.exposeBlock=r),this._maskedBlocks[a]||(this._maskedBlocks[a]=[]),this._maskedBlocks[a].push(this._blocks.length-1)),s+=a.length-1;continue}}let n=e[s],r=n in t;if(n===Qn.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===n||"}"===n){i=!i;continue}if("["===n||"]"===n){a=!a;continue}if(n===Qn.ESCAPE_CHAR){if(++s,n=e[s],!n)break;r=!1}const o=r?new Kn({isOptional:a,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...In(t[n]),parent:this}):new Gn({char:n,eager:this.eager,isUnmasking:i});this._blocks.push(o)}}get state(){return{...super.state,_blocks:this._blocks.map(t=>t.state)}}set state(t){if(!t)return void this.reset();const{_blocks:e,...i}=t;this._blocks.forEach((t,i)=>t.state=e[i]),super.state=i}reset(){super.reset(),this._blocks.forEach(t=>t.reset())}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every(t=>t.isComplete)}get isFilled(){return this._blocks.every(t=>t.isFilled)}get isFixed(){return this._blocks.every(t=>t.isFixed)}get isOptional(){return this._blocks.every(t=>t.isOptional)}doCommit(){this._blocks.forEach(t=>t.doCommit()),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce((t,e)=>t+e.unmaskedValue,"")}set unmaskedValue(t){if(this.exposeBlock){const e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=t,this.appendTail(e),this.doCommit()}else super.unmaskedValue=t}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce((t,e)=>t+e.value,"")}set value(t){if(this.exposeBlock){const e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=t,this.appendTail(e),this.doCommit()}else super.value=t}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(t){if(this.exposeBlock){const e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=t,this.appendTail(e),this.doCommit()}else super.typedValue=t}get displayValue(){return this._blocks.reduce((t,e)=>t+e.displayValue,"")}appendTail(t){return super.appendTail(t).aggregate(this._appendPlaceholder())}_appendEager(){var t;const e=new zn;let i=null==(t=this._mapPosToBlock(this.displayValue.length))?void 0:t.index;if(null==i)return e;this._blocks[i].isFilled&&++i;for(let t=i;t<this._blocks.length;++t){const i=this._blocks[t]._appendEager();if(!i.inserted)break;e.aggregate(i)}return e}_appendCharRaw(t,e){void 0===e&&(e={});const i=this._mapPosToBlock(this.displayValue.length),a=new zn;if(!i)return a;for(let n,r=i.index;n=this._blocks[r];++r){var s;const i=n._appendChar(t,{...e,_beforeTailState:null==(s=e._beforeTailState)||null==(s=s._blocks)?void 0:s[r]});if(a.aggregate(i),i.consumed)break}return a}extractTail(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length);const i=new Wn;return t===e||this._forEachBlocksInRange(t,e,(t,e,a,s)=>{const n=t.extractTail(a,s);n.stop=this._findStopBefore(e),n.from=this._blockStartPos(e),n instanceof Wn&&(n.blockIndex=e),i.extend(n)}),i}extractInput(t,e,i){if(void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),void 0===i&&(i={}),t===e)return"";let a="";return this._forEachBlocksInRange(t,e,(t,e,s,n)=>{a+=t.extractInput(s,n,i)}),a}_findStopBefore(t){let e;for(let i=0;i<this._stops.length;++i){const a=this._stops[i];if(!(a<=t))break;e=a}return e}_appendPlaceholder(t){const e=new zn;if(this.lazy&&null==t)return e;const i=this._mapPosToBlock(this.displayValue.length);if(!i)return e;const a=i.index,s=null!=t?t:this._blocks.length;return this._blocks.slice(a,s).forEach(i=>{var a;i.lazy&&null==t||e.aggregate(i._appendPlaceholder(null==(a=i._blocks)?void 0:a.length))}),e}_mapPosToBlock(t){let e="";for(let i=0;i<this._blocks.length;++i){const a=this._blocks[i],s=e.length;if(e+=a.displayValue,t<=e.length)return{index:i,offset:t-s}}}_blockStartPos(t){return this._blocks.slice(0,t).reduce((t,e)=>t+e.displayValue.length,0)}_forEachBlocksInRange(t,e,i){void 0===e&&(e=this.displayValue.length);const a=this._mapPosToBlock(t);if(a){const t=this._mapPosToBlock(e),s=t&&a.index===t.index,n=a.offset,r=t&&s?t.offset:this._blocks[a.index].displayValue.length;if(i(this._blocks[a.index],a.index,n,r),t&&!s){for(let e=a.index+1;e<t.index;++e)i(this._blocks[e],e,0,this._blocks[e].displayValue.length);i(this._blocks[t.index],t.index,0,t.offset)}}}remove(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length);const i=super.remove(t,e);return this._forEachBlocksInRange(t,e,(t,e,a,s)=>{i.aggregate(t.remove(a,s))}),i}nearestInputPos(t,e){if(void 0===e&&(e=Vn),!this._blocks.length)return 0;const i=new jn(this,t);if(e===Vn)return i.pushRightBeforeInput()?i.pos:(i.popState(),i.pushLeftBeforeInput()?i.pos:this.displayValue.length);if(e===Sn||e===Dn){if(e===Sn){if(i.pushRightBeforeFilled(),i.ok&&i.pos===t)return t;i.popState()}if(i.pushLeftBeforeInput(),i.pushLeftBeforeRequired(),i.pushLeftBeforeFilled(),e===Sn){if(i.pushRightBeforeInput(),i.pushRightBeforeRequired(),i.ok&&i.pos<=t)return i.pos;if(i.popState(),i.ok&&i.pos<=t)return i.pos;i.popState()}return i.ok?i.pos:e===Dn?0:(i.popState(),i.ok?i.pos:(i.popState(),i.ok?i.pos:0))}return e===An||e===Bn?(i.pushRightBeforeInput(),i.pushRightBeforeRequired(),i.pushRightBeforeFilled()?i.pos:e===Bn?this.displayValue.length:(i.popState(),i.ok?i.pos:(i.popState(),i.ok?i.pos:this.nearestInputPos(t,Sn)))):t}totalInputPositions(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length);let i=0;return this._forEachBlocksInRange(t,e,(t,e,a,s)=>{i+=t.totalInputPositions(a,s)}),i}maskedBlock(t){return this.maskedBlocks(t)[0]}maskedBlocks(t){const e=this._maskedBlocks[t];return e?e.map(t=>this._blocks[t]):[]}pad(t){const e=new zn;return this._forEachBlocksInRange(0,this.displayValue.length,i=>e.aggregate(i.pad(t))),e}}Qn.DEFAULTS={...qn.DEFAULTS,lazy:!0,placeholderChar:"_"},Qn.STOP_CHAR="`",Qn.ESCAPE_CHAR="\\",Qn.InputDefinition=Kn,Qn.FixedDefinition=Gn,$n.MaskedPattern=Qn;class Xn extends Qn{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){const{to:e=this.to||0,from:i=this.from||0,maxLength:a=this.maxLength||0,autofix:s=this.autofix,...n}=t;this.to=e,this.from=i,this.maxLength=Math.max(String(e).length,a),this.autofix=s;const r=String(this.from).padStart(this.maxLength,"0"),o=String(this.to).padStart(this.maxLength,"0");let l=0;for(;l<o.length&&o[l]===r[l];)++l;n.mask=o.slice(0,l).replace(/0/g,"\\0")+"0".repeat(this.maxLength-l),super._update(n)}get isComplete(){return super.isComplete&&Boolean(this.value)}boundaries(t){let e="",i="";const[,a,s]=t.match(/^(\D*)(\d*)(\D*)/)||[];return s&&(e="0".repeat(a.length)+s,i="9".repeat(a.length)+s),e=e.padEnd(this.maxLength,"0"),i=i.padEnd(this.maxLength,"9"),[e,i]}doPrepareChar(t,e){let i;return void 0===e&&(e={}),[t,i]=super.doPrepareChar(t.replace(/\D/g,""),e),t||(i.skip=!this.isComplete),[t,i]}_appendCharRaw(t,e){if(void 0===e&&(e={}),!this.autofix||this.value.length+1>this.maxLength)return super._appendCharRaw(t,e);const i=String(this.from).padStart(this.maxLength,"0"),a=String(this.to).padStart(this.maxLength,"0"),[s,n]=this.boundaries(this.value+t);return Number(n)<this.from?super._appendCharRaw(i[this.value.length],e):Number(s)>this.to?!e.tail&&"pad"===this.autofix&&this.value.length+1<this.maxLength?super._appendCharRaw(i[this.value.length],e).aggregate(this._appendCharRaw(t,e)):super._appendCharRaw(a[this.value.length],e):super._appendCharRaw(t,e)}doValidate(t){const e=this.value;if(-1===e.search(/[^0]/)&&e.length<=this._matchFrom)return!0;const[i,a]=this.boundaries(e);return this.from<=Number(a)&&Number(i)<=this.to&&super.doValidate(t)}pad(t){const e=new zn;if(this.value.length===this.maxLength)return e;const i=this.value,a=this.maxLength-this.value.length;if(a){this.reset();for(let i=0;i<a;++i)e.aggregate(super._appendCharRaw("0",t));i.split("").forEach(t=>this._appendCharRaw(t))}return e}}$n.MaskedRange=Xn;class Jn extends Qn{static extractPatternOptions(t){const{mask:e,pattern:i,...a}=t;return{...a,mask:kn(e)?e:i}}constructor(t){super(Jn.extractPatternOptions({...Jn.DEFAULTS,...t}))}updateOptions(t){super.updateOptions(t)}_update(t){const{mask:e,pattern:i,blocks:a,...s}={...Jn.DEFAULTS,...t},n=Object.assign({},Jn.GET_DEFAULT_BLOCKS());t.min&&(n.Y.from=t.min.getFullYear()),t.max&&(n.Y.to=t.max.getFullYear()),t.min&&t.max&&n.Y.from===n.Y.to&&(n.m.from=t.min.getMonth()+1,n.m.to=t.max.getMonth()+1,n.m.from===n.m.to&&(n.d.from=t.min.getDate(),n.d.to=t.max.getDate())),Object.assign(n,this.blocks,a),super._update({...s,mask:kn(e)?e:i,blocks:n})}doValidate(t){const e=this.date;return super.doValidate(t)&&(!this.isComplete||this.isDateExist(this.value)&&null!=e&&(null==this.min||this.min<=e)&&(null==this.max||e<=this.max))}isDateExist(t){return this.format(this.parse(t,this),this).indexOf(t)>=0}get date(){return this.typedValue}set date(t){this.typedValue=t}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(t){super.typedValue=t}maskEquals(t){return t===Date||super.maskEquals(t)}optionsIsChanged(t){return super.optionsIsChanged(Jn.extractPatternOptions(t))}}Jn.GET_DEFAULT_BLOCKS=()=>({d:{mask:Xn,from:1,to:31,maxLength:2},m:{mask:Xn,from:1,to:12,maxLength:2},Y:{mask:Xn,from:1900,to:9999}}),Jn.DEFAULTS={...Qn.DEFAULTS,mask:Date,pattern:"d{.}`m{.}`Y",format:(t,e)=>{if(!t)return"";return[String(t.getDate()).padStart(2,"0"),String(t.getMonth()+1).padStart(2,"0"),t.getFullYear()].join(".")},parse:(t,e)=>{const[i,a,s]=t.split(".").map(Number);return new Date(s,a-1,i)}},$n.MaskedDate=Jn;class tr extends qn{constructor(t){super({...tr.DEFAULTS,...t}),this.currentMask=void 0}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),"mask"in t&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(t.mask)?t.mask.map(t=>{const{expose:e,...i}=In(t),a=Pn({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...i});return e&&(this.exposeMask=a),a}):[])}_appendCharRaw(t,e){void 0===e&&(e={});const i=this._applyDispatch(t,e);return this.currentMask&&i.aggregate(this.currentMask._appendChar(t,this.currentMaskFlags(e))),i}_applyDispatch(t,e,i){void 0===t&&(t=""),void 0===e&&(e={}),void 0===i&&(i="");const a=e.tail&&null!=e._beforeTailState?e._beforeTailState._value:this.value,s=this.rawInputValue,n=e.tail&&null!=e._beforeTailState?e._beforeTailState._rawInputValue:s,r=s.slice(n.length),o=this.currentMask,l=new zn,c=null==o?void 0:o.state;return this.currentMask=this.doDispatch(t,{...e},i),this.currentMask&&(this.currentMask!==o?(this.currentMask.reset(),n&&(this.currentMask.append(n,{raw:!0}),l.tailShift=this.currentMask.value.length-a.length),r&&(l.tailShift+=this.currentMask.append(r,{raw:!0,tail:!0}).tailShift)):c&&(this.currentMask.state=c)),l}_appendPlaceholder(){const t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendPlaceholder()),t}_appendEager(){const t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendEager()),t}appendTail(t){const e=new zn;return t&&e.aggregate(this._applyDispatch("",{},t)),e.aggregate(this.currentMask?this.currentMask.appendTail(t):super.appendTail(t))}currentMaskFlags(t){var e,i;return{...t,_beforeTailState:(null==(e=t._beforeTailState)?void 0:e.currentMaskRef)===this.currentMask&&(null==(i=t._beforeTailState)?void 0:i.currentMask)||t._beforeTailState}}doDispatch(t,e,i){return void 0===e&&(e={}),void 0===i&&(i=""),this.dispatch(t,this,e,i)}doValidate(t){return super.doValidate(t)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(t)))}doPrepare(t,e){void 0===e&&(e={});let[i,a]=super.doPrepare(t,e);if(this.currentMask){let t;[i,t]=super.doPrepare(i,this.currentMaskFlags(e)),a=a.aggregate(t)}return[i,a]}doPrepareChar(t,e){void 0===e&&(e={});let[i,a]=super.doPrepareChar(t,e);if(this.currentMask){let t;[i,t]=super.doPrepareChar(i,this.currentMaskFlags(e)),a=a.aggregate(t)}return[i,a]}reset(){var t;null==(t=this.currentMask)||t.reset(),this.compiledMasks.forEach(t=>t.reset())}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(t){this.exposeMask?(this.exposeMask.value=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=t}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(t){this.exposeMask?(this.exposeMask.unmaskedValue=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=t}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(t){if(this.exposeMask)return this.exposeMask.typedValue=t,this.currentMask=this.exposeMask,void this._applyDispatch();let e=String(t);this.currentMask&&(this.currentMask.typedValue=t,e=this.currentMask.unmaskedValue),this.unmaskedValue=e}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var t;return Boolean(null==(t=this.currentMask)?void 0:t.isComplete)}get isFilled(){var t;return Boolean(null==(t=this.currentMask)?void 0:t.isFilled)}remove(t,e){const i=new zn;return this.currentMask&&i.aggregate(this.currentMask.remove(t,e)).aggregate(this._applyDispatch()),i}get state(){var t;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map(t=>t.state),currentMaskRef:this.currentMask,currentMask:null==(t=this.currentMask)?void 0:t.state}}set state(t){const{compiledMasks:e,currentMaskRef:i,currentMask:a,...s}=t;e&&this.compiledMasks.forEach((t,i)=>t.state=e[i]),null!=i&&(this.currentMask=i,this.currentMask.state=a),super.state=s}extractInput(t,e,i){return this.currentMask?this.currentMask.extractInput(t,e,i):""}extractTail(t,e){return this.currentMask?this.currentMask.extractTail(t,e):super.extractTail(t,e)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(t,e){return this.currentMask?this.currentMask.nearestInputPos(t,e):super.nearestInputPos(t,e)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(t){this._overwrite=t}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(t){this._eager=t}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(t){this._skipInvalid=t}get autofix(){return this.currentMask?this.currentMask.autofix:this._autofix}set autofix(t){this._autofix=t}maskEquals(t){return Array.isArray(t)?this.compiledMasks.every((e,i)=>{if(!t[i])return;const{mask:a,...s}=t[i];return Fn(e,s)&&e.maskEquals(a)}):super.maskEquals(t)}typedValueEquals(t){var e;return Boolean(null==(e=this.currentMask)?void 0:e.typedValueEquals(t))}}tr.DEFAULTS={...qn.DEFAULTS,dispatch:(t,e,i,a)=>{if(!e.compiledMasks.length)return;const s=e.rawInputValue,n=e.compiledMasks.map((n,r)=>{const o=e.currentMask===n,l=o?n.displayValue.length:n.nearestInputPos(n.displayValue.length,Dn);return n.rawInputValue!==s?(n.reset(),n.append(s,{raw:!0})):o||n.remove(l),n.append(t,e.currentMaskFlags(i)),n.appendTail(a),{index:r,weight:n.rawInputValue.length,totalInputPositions:n.totalInputPositions(0,Math.max(l,n.nearestInputPos(n.displayValue.length,Dn)))}});return n.sort((t,e)=>e.weight-t.weight||e.totalInputPositions-t.totalInputPositions),e.compiledMasks[n[0].index]}},$n.MaskedDynamic=tr;class er extends Qn{constructor(t){super({...er.DEFAULTS,...t})}updateOptions(t){super.updateOptions(t)}_update(t){const{enum:e,...i}=t;if(e){const t=e.map(t=>t.length),a=Math.min(...t),s=Math.max(...t)-a;i.mask="*".repeat(a),s&&(i.mask+="["+"*".repeat(s)+"]"),this.enum=e}super._update(i)}_appendCharRaw(t,e){void 0===e&&(e={});const i=Math.min(this.nearestInputPos(0,Bn),this.value.length),a=this.enum.filter(e=>this.matchValue(e,this.unmaskedValue+t,i));if(a.length){1===a.length&&this._forEachBlocksInRange(0,this.value.length,(t,i)=>{const s=a[0][i];i>=this.value.length||s===t.value||(t.reset(),t._appendChar(s,e))});const t=super._appendCharRaw(a[0][this.value.length],e);return 1===a.length&&a[0].slice(this.unmaskedValue.length).split("").forEach(e=>t.aggregate(super._appendCharRaw(e))),t}return new zn({skip:!this.isComplete})}extractTail(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),new Un("",t)}remove(t,e){if(void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),t===e)return new zn;const i=Math.min(super.nearestInputPos(0,Bn),this.value.length);let a;for(a=t;a>=0;--a){if(this.enum.filter(t=>this.matchValue(t,this.value.slice(i,a),i)).length>1)break}const s=super.remove(a,e);return s.tailShift+=a-t,s}get isComplete(){return this.enum.indexOf(this.value)>=0}}er.DEFAULTS={...Qn.DEFAULTS,matchValue:(t,e,i)=>t.indexOf(e,i)===i},$n.MaskedEnum=er;var ir;$n.MaskedFunction=class extends qn{updateOptions(t){super.updateOptions(t)}_update(t){super._update({...t,validate:t.mask})}};class ar extends qn{constructor(t){super({...ar.DEFAULTS,...t})}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),this._updateRegExps()}_updateRegExps(){const t="^"+(this.allowNegative?"[+|\\-]?":""),e=(this.scale?"("+En(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(t+"\\d*"+e),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(En).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(En(this.thousandsSeparator),"g")}_removeThousandsSeparators(t){return t.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(t){const e=t.split(this.radix);return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),e.join(this.radix)}doPrepareChar(t,e){void 0===e&&(e={});const[i,a]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(e.input&&e.raw||!e.input&&!e.raw)?t.replace(this._mapToRadixRegExp,this.radix):t),e);return t&&!i&&(a.skip=!0),!i||this.allowPositive||this.value||"-"===i||a.aggregate(this._appendChar("-")),[i,a]}_separatorsCount(t,e){void 0===e&&(e=!1);let i=0;for(let a=0;a<t;++a)this._value.indexOf(this.thousandsSeparator,a)===a&&(++i,e&&(t+=this.thousandsSeparator.length));return i}_separatorsCountFromSlice(t){return void 0===t&&(t=this._value),this._separatorsCount(this._removeThousandsSeparators(t).length,!0)}extractInput(t,e,i){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),[t,e]=this._adjustRangeWithSeparators(t,e),this._removeThousandsSeparators(super.extractInput(t,e,i))}_appendCharRaw(t,e){void 0===e&&(e={});const i=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value,a=this._separatorsCountFromSlice(i);this._value=this._removeThousandsSeparators(this.value);const s=this._value;this._value+=t;const n=this.number;let r,o=!isNaN(n),l=!1;if(o){let t;null!=this.min&&this.min<0&&this.number<this.min&&(t=this.min),null!=this.max&&this.max>0&&this.number>this.max&&(t=this.max),null!=t&&(this.autofix?(this._value=this.format(t,this).replace(ar.UNMASKED_RADIX,this.radix),l||(l=s===this._value&&!e.tail)):o=!1),o&&(o=Boolean(this._value.match(this._numberRegExp)))}o?r=new zn({inserted:this._value.slice(s.length),rawInserted:l?"":t,skip:l}):(this._value=s,r=new zn),this._value=this._insertThousandsSeparators(this._value);const c=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value,d=this._separatorsCountFromSlice(c);return r.tailShift+=(d-a)*this.thousandsSeparator.length,r}_findSeparatorAround(t){if(this.thousandsSeparator){const e=t-this.thousandsSeparator.length+1,i=this.value.indexOf(this.thousandsSeparator,e);if(i<=t)return i}return-1}_adjustRangeWithSeparators(t,e){const i=this._findSeparatorAround(t);i>=0&&(t=i);const a=this._findSeparatorAround(e);return a>=0&&(e=a+this.thousandsSeparator.length),[t,e]}remove(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),[t,e]=this._adjustRangeWithSeparators(t,e);const i=this.value.slice(0,t),a=this.value.slice(e),s=this._separatorsCount(i.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(i+a));const n=this._separatorsCountFromSlice(i);return new zn({tailShift:(n-s)*this.thousandsSeparator.length})}nearestInputPos(t,e){if(!this.thousandsSeparator)return t;switch(e){case Vn:case Sn:case Dn:{const i=this._findSeparatorAround(t-1);if(i>=0){const a=i+this.thousandsSeparator.length;if(t<a||this.value.length<=a||e===Dn)return i}break}case An:case Bn:{const e=this._findSeparatorAround(t);if(e>=0)return e+this.thousandsSeparator.length}}return t}doCommit(){if(this.value){const t=this.number;let e=t;null!=this.min&&(e=Math.max(e,this.min)),null!=this.max&&(e=Math.min(e,this.max)),e!==t&&(this.unmaskedValue=this.format(e,this));let i=this.value;this.normalizeZeros&&(i=this._normalizeZeros(i)),this.padFractionalZeros&&this.scale>0&&(i=this._padFractionalZeros(i)),this._value=i}super.doCommit()}_normalizeZeros(t){const e=this._removeThousandsSeparators(t).split(this.radix);return e[0]=e[0].replace(/^(\D*)(0*)(\d*)/,(t,e,i,a)=>e+a),t.length&&!/\d$/.test(e[0])&&(e[0]=e[0]+"0"),e.length>1&&(e[1]=e[1].replace(/0*$/,""),e[1].length||(e.length=1)),this._insertThousandsSeparators(e.join(this.radix))}_padFractionalZeros(t){if(!t)return t;const e=t.split(this.radix);return e.length<2&&e.push(""),e[1]=e[1].padEnd(this.scale,"0"),e.join(this.radix)}doSkipInvalid(t,e,i){void 0===e&&(e={});const a=0===this.scale&&t!==this.thousandsSeparator&&(t===this.radix||t===ar.UNMASKED_RADIX||this.mapToRadix.includes(t));return super.doSkipInvalid(t,e,i)&&!a}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,ar.UNMASKED_RADIX)}set unmaskedValue(t){super.unmaskedValue=t}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(t){this.rawInputValue=this.format(t,this).replace(ar.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(t){this.typedValue=t}get allowNegative(){return null!=this.min&&this.min<0||null!=this.max&&this.max<0}get allowPositive(){return null!=this.min&&this.min>0||null!=this.max&&this.max>0}typedValueEquals(t){return(super.typedValueEquals(t)||ar.EMPTY_VALUES.includes(t)&&ar.EMPTY_VALUES.includes(this.typedValue))&&!(0===t&&""===this.value)}}ir=ar,ar.UNMASKED_RADIX=".",ar.EMPTY_VALUES=[...qn.EMPTY_VALUES,0],ar.DEFAULTS={...qn.DEFAULTS,mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[ir.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})},$n.MaskedNumber=ar;const sr={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function nr(t,e,i){void 0===e&&(e=sr.MASKED),void 0===i&&(i=sr.MASKED);const a=Pn(t);return t=>a.runIsolated(a=>(a[e]=t,a[i]))}$n.PIPE_TYPE=sr,$n.createPipe=nr,$n.pipe=function(t,e,i,a){return nr(e,i,a)(t)};$n.RepeatBlock=class extends Qn{get repeatFrom(){var t;return null!=(t=Array.isArray(this.repeat)?this.repeat[0]:this.repeat===1/0?0:this.repeat)?t:0}get repeatTo(){var t;return null!=(t=Array.isArray(this.repeat)?this.repeat[1]:this.repeat)?t:1/0}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){var e,i,a;const{repeat:s,...n}=In(t);this._blockOpts=Object.assign({},this._blockOpts,n);const r=Pn(this._blockOpts);this.repeat=null!=(e=null!=(i=null!=s?s:r.repeat)?i:this.repeat)?e:1/0,super._update({mask:"m".repeat(Math.max(this.repeatTo===1/0&&(null==(a=this._blocks)?void 0:a.length)||0,this.repeatFrom)),blocks:{m:r},eager:r.eager,overwrite:r.overwrite,skipInvalid:r.skipInvalid,lazy:r.lazy,placeholderChar:r.placeholderChar,displayChar:r.displayChar})}_allocateBlock(t){return t<this._blocks.length?this._blocks[t]:this.repeatTo===1/0||this._blocks.length<this.repeatTo?(this._blocks.push(Pn(this._blockOpts)),this.mask+="m",this._blocks[this._blocks.length-1]):void 0}_appendCharRaw(t,e){void 0===e&&(e={});const i=new zn;for(let o,l,c=null!=(a=null==(s=this._mapPosToBlock(this.displayValue.length))?void 0:s.index)?a:Math.max(this._blocks.length-1,0);o=null!=(n=this._blocks[c])?n:l=!l&&this._allocateBlock(c);++c){var a,s,n,r;const d=o._appendChar(t,{...e,_beforeTailState:null==(r=e._beforeTailState)||null==(r=r._blocks)?void 0:r[c]});if(d.skip&&l){this._blocks.pop(),this.mask=this.mask.slice(1);break}if(i.aggregate(d),d.consumed)break}return i}_trimEmptyTail(t,e){var i,a;void 0===t&&(t=0);const s=Math.max((null==(i=this._mapPosToBlock(t))?void 0:i.index)||0,this.repeatFrom,0);let n;null!=e&&(n=null==(a=this._mapPosToBlock(e))?void 0:a.index),null==n&&(n=this._blocks.length-1);let r=0;for(let t=n;s<=t&&!this._blocks[t].unmaskedValue;--t,++r);r&&(this._blocks.splice(n-r+1,r),this.mask=this.mask.slice(r))}reset(){super.reset(),this._trimEmptyTail()}remove(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length);const i=super.remove(t,e);return this._trimEmptyTail(t,e),i}totalInputPositions(t,e){return void 0===t&&(t=0),null==e&&this.repeatTo===1/0?1/0:super.totalInputPositions(t,e)}get state(){return super.state}set state(t){this._blocks.length=t._blocks.length,this.mask=this.mask.slice(0,this._blocks.length),super.state=t}};try{globalThis.IMask=$n}catch{}var rr=re`.invalid-feedback-container{display:flex;gap:var(--sgds-form-gap-sm)}.invalid-feedback,.invalid-feedback-container{color:var(--sgds-form-danger-color-default);line-height:var(--sgds-line-height-20)}.invalid-feedback{font-size:var(--sgds-font-size-14);font-weight:var(--sgds-font-weight-regular)}.valid-icon{color:var(--sgds-form-success-color-default)}`,or=re`.form-text{color:var(--sgds-form-color-subtle);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}.form-text.disabled{opacity:var(--sgds-opacity-40)}`,lr=re`.form-label{color:var(--sgds-form-color-default);font-weight:var(--sgds-font-weight-semibold);margin-bottom:0}.form-label.disabled{opacity:var(--sgds-opacity-40)}.form-check-label{color:var(--sgds-form-color-default)}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:not-allowed}`,cr=re`.form-control::placeholder{color:var(--sgds-form-color-subtle);font-family:var(--sgds-font-family-brand);font-weight:var(--sgds-font-weight-light);line-height:var(--sgds-line-height-24)}`;class dr extends Cs{constructor(){super(...arguments),this.label="",this.hintText="",this.disabled=!1,this.invalid=!1,this._controlId=ks("input"),this._labelId=ks("label")}setInvalid(t){this.invalid=t,t?this.emit("sgds-invalid"):this.emit("sgds-valid")}}dr.styles=[...Cs.styles,rr,or,lr,cr],t([Zi({reflect:!0})],dr.prototype,"label",void 0),t([Zi({reflect:!0})],dr.prototype,"hintText",void 0),t([Zi({reflect:!0})],dr.prototype,"name",void 0),t([Zi({type:Boolean,reflect:!0})],dr.prototype,"disabled",void 0),t([Zi({type:Boolean,reflect:!0})],dr.prototype,"invalid",void 0);var hr=re`.form-control-container{display:flex;flex-direction:column;gap:var(--sgds-form-gap-md)}.m-width-160{min-width:var(--sgds-dimension-160)}.m-width-256{min-width:var(--sgds-dimension-256)}.form-label{color:var(--sgds-form-color-default);font-size:var(--sgds-font-size-label-md);font-weight:var(--sgds-font-weight-semibold)}.form-control-group{align-items:center;background-color:var(--sgds-form-surface-default);border:var(--sgds-form-border-width-default) solid var(--sgds-border-color-default);border-radius:var(--input-border-radius,var(--sgds-form-border-radius-md));display:flex;gap:var(--sgds-form-gap-md);height:var(--sgds-dimension-48);justify-content:center;overflow:hidden;padding:0 var(--sgds-form-padding-x);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:-webkit-fill-available;width:-moz-available}.form-control{appearance:none;background-clip:padding-box;background:none;border:none;color:var(--sgds-form-color-default);display:block;flex-grow:1;font-family:var(--sgds-font-family-brand);font-size:var(--sgds-font-size-label-md);line-height:var(--sgds-line-height-xs);min-width:0;outline:none;padding:0;width:100%}.form-clearable{color:var(--sgds-color-subtle);cursor:pointer}@media (prefers-reduced-motion:reduce){.form-control-group{transition:none}}.form-control-group:not(.disabled):not(.is-invalid):not(.readonly):not(:focus-within):hover{outline:var(--sgds-form-border-width-thick) solid var(--sgds-border-color-emphasis);outline-offset:var(--sgds-form-outline-offset-focus)}.form-control-group:not(.disabled):not(.is-invalid):focus-within{outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}.form-control-container.disabled{opacity:var(--sgds-opacity-40)}.form-control-group.disabled{background-color:var(--sgds-form-surface-muted);cursor:not-allowed}.form-control-group.readonly{background-color:var(--sgds-form-surface-raised)}.form-control-group.is-invalid:not(.disabled){border:var(--sgds-form-border-width-default) solid var(--sgds-form-danger-border-color-default)}.form-control-group:not(.disabled).is-invalid:focus-within{outline:var(--sgds-border-width-2) solid var(--sgds-form-danger-color-default);outline-offset:var(--sgds-form-outline-offset-focus)}`;const ur=(t="value")=>(e,i)=>{const a=e.constructor,s=a.prototype.attributeChangedCallback;a.prototype.attributeChangedCallback=function(e,n,r){var o;const l=a.getPropertyOptions(t);if(e===("string"==typeof l.attribute?l.attribute:t).toLowerCase()){const e=l.converter||xe,a=("function"==typeof e?e:null!==(o=null==e?void 0:e.fromAttribute)&&void 0!==o?o:xe.fromAttribute)(r,l.type);this[t]!==a&&(this[i]=a)}s.call(this,e,n,r)}};class pr{constructor(t,e){(this.host=t).addController(this),this._internals=t._internals||this.host.attachInternals(),this.options=Object.assign({setInvalid:(t,e)=>{t.invalid=e},value:t=>t.value,input:t=>t.input},e)}hostConnected(){this.host.addEventListener("invalid",t=>this.handleInvalid(t))}hostDisconnected(){this.host.removeEventListener("invalid",t=>this.handleInvalid(t))}handleInvalid(t){t.preventDefault(),this.options.setInvalid(this.host,!0)}handleInput(t){const e=t.target;this.options.setInvalid(this.host,!1),this.validateInput(e)}handleChange(t){const e=t.target;this.validateInput(e),this.options.setInvalid(this.host,!this.checkValidity())}get form(){return this._internals.form}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get willValidate(){return this._internals.willValidate}updateInvalidState(){this.options.setInvalid(this.host,!this.checkValidity())}resetValidity(){return this._internals.setValidity({})}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}setValidity(t,e,i){return this._internals.setValidity(t,e,i)}setFormValue(){const t=this.options.value(this.host);this._internals.setFormValue(t)}validateInput(t){if(this.options.input(this.host).disabled)return this._internals.setValidity({});const e=t.validity;if(e.valid)this._internals.setValidity({});else for(const i in e)e[i]&&(this.validationError=i.toString(),this._internals.setValidity({[this.validationError]:!0},t.validationMessage,t))}}const gr=e=>{class i extends e{constructor(...t){super(...t),this._isTouched=!1,this._internals=this.attachInternals()}connectedCallback(){var t;super.connectedCallback(),null!==(t=this.inputValidationController)&&void 0!==t||(this.inputValidationController=new pr(this))}async firstUpdated(t){super.firstUpdated(t),this.input=this.shadowRoot.querySelector("input")||await this.sgdsInput||this.shadowRoot.querySelector("textarea")||await this.sgdsDatepickerInput,this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this._mixinValidate(this.input)}formResetCallback(){this._mixinResetFormControl?this._mixinResetFormControl():(this.value=this.defaultValue,this._mixinResetValidity(this.input)),this._mixinSetFormValue()}_mixinHandleChange(t){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleChange(t)}_mixinHandleInputChange(t){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleInput(t)}_mixinResetValidity(t){this.inputValidationController.resetValidity(),this.inputValidationController.updateInvalidState(),this._isTouched&&(this._isTouched=!1),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(t)}_mixinValidate(t){this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(t)}_mixinSetFormValue(){const t=this.value;this._internals.setFormValue(t)}_mixinCheckValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.checkValidity()}_mixinReportValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.reportValidity()}_mixinGetValidity(){return this._internals.validity}_mixinGetValidationMessage(){return this._internals.validationMessage}_mixinSetValidity(t,e,i){if(!this._mixinShouldSkipSgdsValidation())return this.inputValidationController.setValidity(t,e,i)}_mixinShouldSkipSgdsValidation(){const t=this.closest("form");return(null==t?void 0:t.noValidate)||this.noValidate}}return i.formAssociated=!0,t([Bi("sgds-input")],i.prototype,"sgdsInput",void 0),t([Bi("sgds-datepicker-input")],i.prototype,"sgdsDatepickerInput",void 0),i};var vr=re`:host{--input-border-radius:var(--sgds-form-border-radius-md);--input-min-width:var(--sgds-dimension-160)}.form-control-container{min-width:var(--input-min-width)}:host(.quantity-toggle) input::-webkit-inner-spin-button{appearance:none;margin:0}:host(.quantity-toggle) input{text-align:center}.form-control-prefix,.form-control-suffix{color:var(--sgds-form-color-subtle);display:flex;flex-shrink:0;font-weight:var(--sgds-font-weight-semibold);gap:var(--sgds-gap-xs)}.form-control-group.quantity-toggle{padding:0}sgds-icon[role=button]{cursor:pointer}sgds-icon[role=button]:focus,sgds-icon[role=button]:focus-visible{outline:var(--sgds-form-outline-focus)}.form-control-row{align-items:center;display:flex;gap:var(--sgds-gap-sm)}`;class fr extends(gr(dr)){constructor(){super(...arguments),this.type="text",this.placeholder="placeholder",this.autofocus=!1,this.readonly=!1,this.autocomplete="on",this.defaultValue="",this.valid=!1,this.loading=!1,this.required=!1,this.noValidate=!1,this.value="",this._isTouched=!1,this._showPassword=!1}focus(t){this.input.focus(t)}blur(){this.input.blur()}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}setValidity(t,e,i){return this._mixinSetValidity(t,e,i)}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}_handleFocus(){this.emit("sgds-focus")}_handleBlur(){const t=this.emit("sgds-blur",{cancelable:!0});this._mixinShouldSkipSgdsValidation()||t.defaultPrevented||(this.setInvalid(!this._mixinCheckValidity()),this._isTouched=!0)}_handleClick(){this.focus()}_handleChange(t){this.value=this.input.value;this.emit("sgds-change",{cancelable:!0}).defaultPrevented||super._mixinHandleChange(t)}_handleInputChange(t){this.value=this.input.value;this.emit("sgds-input",{cancelable:!0}).defaultPrevented||super._mixinHandleInputChange(t)}_handleIsTouched(){this._mixinShouldSkipSgdsValidation()||this._isTouched&&this.setInvalid(!this._mixinCheckValidity())}_handleDisabledChange(){this.setInvalid(!1)}_renderInput(){const t="both"===this.hasFeedback||"style"===this.hasFeedback,e="both"===this.hasFeedback||"text"===this.hasFeedback,i=[this.hintText?`${this._controlId}Help`:"",this.invalid&&e?`${this._controlId}-invalid`:""].filter(Boolean).join(" ")||void 0;return Is`
2464
+ `}}Sa.styles=[Ha],Sa.dependencies={"sgds-icon":_a,"sgds-icon-button":ka,"sgds-button":ea},e([Ie({attribute:!1})],Sa.prototype,"displayDate",void 0),e([Ie({attribute:!1})],Sa.prototype,"focusedDate",void 0),e([Ie({attribute:!1})],Sa.prototype,"selectedDate",void 0),e([Ie()],Sa.prototype,"view",void 0),e([Ie()],Sa.prototype,"focusedTabIndex",void 0),e([Fi("focusedTabIndex",{waitUntilFirstUpdate:!0})],Sa.prototype,"_handleFocusedTabIndexChange",null);const Da=["January","February","March","April","May","June","July","August","September","October","November","December"];class Ba{constructor(e,t){this.listeners=new Map,this.input=e,this.placeholderStr=this._buildPlaceholder(t.pattern),this._state=this.placeholderStr,this.listeners.set("accept",[]),this.listeners.set("complete",[]);const i={value:"",isComplete:!1};Object.defineProperties(i,{value:{get:()=>this._state,enumerable:!0},isComplete:{get:()=>this._state.length>0&&!/[DMY]/.test(this._state),enumerable:!0}}),this.masked=i,this.input.value&&this.input.value.length===this._state.length&&!/[DMY]/.test(this.input.value)?this._state=this.input.value:this.input.value=this._state,this._boundHandleBeforeInput=this._handleBeforeInput.bind(this),this._boundHandleInput=this._handleInput.bind(this),this._boundHandleKeydown=this._handleKeydown.bind(this),this._boundHandleFocus=this._handleFocus.bind(this),this._boundHandleBlur=this._handleBlur.bind(this),this._valueAtFocus=this._state,this.input.addEventListener("beforeinput",this._boundHandleBeforeInput),this.input.addEventListener("input",this._boundHandleInput),this.input.addEventListener("keydown",this._boundHandleKeydown),this.input.addEventListener("focus",this._boundHandleFocus),this.input.addEventListener("blur",this._boundHandleBlur)}get value(){return this._state}set value(e){this._state=e&&""!==e?e:this.placeholderStr,this.input.value=this._state,this._emit("accept")}on(e,t){var i;null===(i=this.listeners.get(e))||void 0===i||i.push(t)}updateValue(){this._state=this.input.value}destroy(){this.input.removeEventListener("beforeinput",this._boundHandleBeforeInput),this.input.removeEventListener("input",this._boundHandleInput),this.input.removeEventListener("keydown",this._boundHandleKeydown),this.input.removeEventListener("focus",this._boundHandleFocus),this.input.removeEventListener("blur",this._boundHandleBlur),this.listeners.clear()}_handleFocus(){this._valueAtFocus=this._state}_handleBlur(){this._state!==this._valueAtFocus&&this.input.dispatchEvent(new Event("change",{bubbles:!0}))}_buildPlaceholder(e){return e.replace(/`/g,"").replace(/\{(\/)\}/g,"$1").replace(/d/g,"D").replace(/m/g,"M").replace(/y/g,"Y")}_getDigitPositions(){const e=[];for(let t=0;t<this.placeholderStr.length;t++){const i=this.placeholderStr[t];"D"!==i&&"M"!==i&&"Y"!==i||e.push(t)}return e}_handleBeforeInput(e){e.preventDefault()}_handleInput(){this.input.value!==this._state&&(this.input.value=this._state)}_handleKeydown(e){"Backspace"===e.key?(e.preventDefault(),this._backspace()):"Delete"===e.key?(e.preventDefault(),this._deleteForward()):1===e.key.length&&/\d/.test(e.key)&&(e.preventDefault(),this._insertDigit(e.key))}_insertDigit(e){const t=this._getDigitPositions(),i=this._state.split("");let a=-1;for(const e of t)if(/[DMY]/.test(i[e])){a=e;break}if(-1===a)return;i[a]=e,this._state=i.join(""),this.input.value=this._state;const l=this._findNextInputPos(a);this.input.setSelectionRange(l,l),this._emit("accept"),this.masked.isComplete&&this._emit("complete")}_backspace(){var e;const t=null!==(e=this.input.selectionStart)&&void 0!==e?e:this._state.length,i=this._state.split("");let a=t-1;for(;a>=0&&!/\d/.test(i[a]);)a--;a>=0&&(i[a]=this.placeholderStr[a],this._state=i.join(""),this.input.value=this._state,this.input.setSelectionRange(a,a),this._emit("accept"))}_deleteForward(){var e;const t=null!==(e=this.input.selectionStart)&&void 0!==e?e:0,i=this._state.split("");let a=t;for(;a<i.length&&!/\d/.test(i[a]);)a++;a<i.length&&(i[a]=this.placeholderStr[a],this._state=i.join(""),this.input.value=this._state,this.input.setSelectionRange(t,t),this._emit("accept"))}_findNextInputPos(e){for(let t=e+1;t<this._state.length;t++)if(/[DMY]/.test(this._state[t]))return t;return this._state.length}_emit(e){const t=this.listeners.get(e);if(t)for(const e of t)e()}}var Aa=g`.invalid-feedback-container{display:flex;gap:var(--sgds-form-gap-sm)}.invalid-feedback,.invalid-feedback-container{color:var(--sgds-form-danger-color-default);line-height:var(--sgds-line-height-20)}.invalid-feedback{font-size:var(--sgds-font-size-14);font-weight:var(--sgds-font-weight-regular)}.valid-icon{color:var(--sgds-form-success-color-default)}`,La=g`.form-text{color:var(--sgds-form-color-subtle);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}.form-text.disabled{opacity:var(--sgds-opacity-40)}`,Ia=g`.form-label{color:var(--sgds-form-color-default);font-weight:var(--sgds-font-weight-semibold);margin-bottom:0}.form-label.disabled{opacity:var(--sgds-opacity-40)}.form-check-label{color:var(--sgds-form-color-default)}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:not-allowed}`,Ea=g`.form-control::placeholder{color:var(--sgds-form-color-subtle);font-family:var(--sgds-font-family-brand);font-weight:var(--sgds-font-weight-light);line-height:var(--sgds-line-height-24)}`;class Ta extends Bi{constructor(){super(...arguments),this.label="",this.hintText="",this.disabled=!1,this.invalid=!1,this._controlId=Ai("input"),this._labelId=Ai("label")}setInvalid(e){this.invalid=e,e?this.emit("sgds-invalid"):this.emit("sgds-valid")}}Ta.styles=[...Bi.styles,Aa,La,Ia,Ea],e([Ie({reflect:!0})],Ta.prototype,"label",void 0),e([Ie({reflect:!0})],Ta.prototype,"hintText",void 0),e([Ie({reflect:!0})],Ta.prototype,"name",void 0),e([Ie({type:Boolean,reflect:!0})],Ta.prototype,"disabled",void 0),e([Ie({type:Boolean,reflect:!0})],Ta.prototype,"invalid",void 0);var Pa=g`.form-control-container{display:flex;flex-direction:column;gap:var(--sgds-form-gap-md)}.m-width-160{min-width:var(--sgds-dimension-160)}.m-width-256{min-width:var(--sgds-dimension-256)}.form-label{color:var(--sgds-form-color-default);font-size:var(--sgds-font-size-label-md);font-weight:var(--sgds-font-weight-semibold)}.form-control-group{align-items:center;background-color:var(--sgds-form-surface-default);border:var(--sgds-form-border-width-default) solid var(--sgds-border-color-default);border-radius:var(--input-border-radius,var(--sgds-form-border-radius-md));display:flex;gap:var(--sgds-form-gap-md);height:var(--sgds-dimension-48);justify-content:center;overflow:hidden;padding:0 var(--sgds-form-padding-x);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:-webkit-fill-available;width:-moz-available}.form-control{appearance:none;background-clip:padding-box;background:none;border:none;color:var(--sgds-form-color-default);display:block;flex-grow:1;font-family:var(--sgds-font-family-brand);font-size:var(--sgds-font-size-label-md);line-height:var(--sgds-line-height-xs);min-width:0;outline:none;padding:0;width:100%}.form-clearable{color:var(--sgds-color-subtle);cursor:pointer}@media (prefers-reduced-motion:reduce){.form-control-group{transition:none}}.form-control-group:not(.disabled):not(.is-invalid):not(.readonly):not(:focus-within):hover{outline:var(--sgds-form-border-width-thick) solid var(--sgds-border-color-emphasis);outline-offset:var(--sgds-form-outline-offset-focus)}.form-control-group:not(.disabled):not(.is-invalid):focus-within{outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}.form-control-container.disabled{opacity:var(--sgds-opacity-40)}.form-control-group.disabled{background-color:var(--sgds-form-surface-muted);cursor:not-allowed}.form-control-group.readonly{background-color:var(--sgds-form-surface-raised)}.form-control-group.is-invalid:not(.disabled){border:var(--sgds-form-border-width-default) solid var(--sgds-form-danger-border-color-default)}.form-control-group:not(.disabled).is-invalid:focus-within{outline:var(--sgds-border-width-2) solid var(--sgds-form-danger-color-default);outline-offset:var(--sgds-form-outline-offset-focus)}`;const Fa=(e="value")=>(t,i)=>{const a=t.constructor,l=a.prototype.attributeChangedCallback;a.prototype.attributeChangedCallback=function(t,s,n){var o;const r=a.getPropertyOptions(e);if(t===("string"==typeof r.attribute?r.attribute:e).toLowerCase()){const t=r.converter||S,a=("function"==typeof t?t:null!==(o=null==t?void 0:t.fromAttribute)&&void 0!==o?o:S.fromAttribute)(n,r.type);this[e]!==a&&(this[i]=a)}l.call(this,t,s,n)}};class Ra{constructor(e,t){(this.host=e).addController(this),this._internals=e._internals||this.host.attachInternals(),this.options=Object.assign({setInvalid:(e,t)=>{e.invalid=t},value:e=>e.value,input:e=>e.input},t)}hostConnected(){this.host.addEventListener("invalid",e=>this.handleInvalid(e))}hostDisconnected(){this.host.removeEventListener("invalid",e=>this.handleInvalid(e))}handleInvalid(e){e.preventDefault(),this.options.setInvalid(this.host,!0)}handleInput(e){const t=e.target;this.options.setInvalid(this.host,!1),this.validateInput(t)}handleChange(e){const t=e.target;this.validateInput(t),this.options.setInvalid(this.host,!this.checkValidity())}get form(){return this._internals.form}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get willValidate(){return this._internals.willValidate}updateInvalidState(){this.options.setInvalid(this.host,!this.checkValidity())}resetValidity(){return this._internals.setValidity({})}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}setValidity(e,t,i){return this._internals.setValidity(e,t,i)}setFormValue(){const e=this.options.value(this.host);this._internals.setFormValue(e)}validateInput(e){if(this.options.input(this.host).disabled)return this._internals.setValidity({});const t=e.validity;if(t.valid)this._internals.setValidity({});else for(const i in t)t[i]&&(this.validationError=i.toString(),this._internals.setValidity({[this.validationError]:!0},e.validationMessage,e))}}const Oa=t=>{class i extends t{constructor(...e){super(...e),this._isTouched=!1,this._internals=this.attachInternals()}connectedCallback(){var e;super.connectedCallback(),null!==(e=this.inputValidationController)&&void 0!==e||(this.inputValidationController=new Ra(this))}async firstUpdated(e){super.firstUpdated(e),this.input=this.shadowRoot.querySelector("input")||await this.sgdsInput||this.shadowRoot.querySelector("textarea")||await this.sgdsDatepickerInput,this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this._mixinValidate(this.input)}formResetCallback(){this._mixinResetFormControl?this._mixinResetFormControl():(this.value=this.defaultValue,this._mixinResetValidity(this.input)),this._mixinSetFormValue()}_mixinHandleChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleChange(e)}_mixinHandleInputChange(e){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.handleInput(e)}_mixinResetValidity(e){this.inputValidationController.resetValidity(),this.inputValidationController.updateInvalidState(),this._isTouched&&(this._isTouched=!1),this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinValidate(e){this._mixinShouldSkipSgdsValidation()||this.inputValidationController.validateInput(e)}_mixinSetFormValue(){const e=this.value;this._internals.setFormValue(e)}_mixinCheckValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.checkValidity()}_mixinReportValidity(){return!!this._mixinShouldSkipSgdsValidation()||this.inputValidationController.reportValidity()}_mixinGetValidity(){return this._internals.validity}_mixinGetValidationMessage(){return this._internals.validationMessage}_mixinSetValidity(e,t,i){if(!this._mixinShouldSkipSgdsValidation())return this.inputValidationController.setValidity(e,t,i)}_mixinShouldSkipSgdsValidation(){const e=this.closest("form");return(null==e?void 0:e.noValidate)||this.noValidate}}return i.formAssociated=!0,e([Re("sgds-input")],i.prototype,"sgdsInput",void 0),e([Re("sgds-datepicker-input")],i.prototype,"sgdsDatepickerInput",void 0),i};var za=g`:host{--input-border-radius:var(--sgds-form-border-radius-md);--input-min-width:var(--sgds-dimension-160)}.form-control-container{min-width:var(--input-min-width)}:host(.quantity-toggle) input::-webkit-inner-spin-button{appearance:none;margin:0}:host(.quantity-toggle) input{text-align:center}.form-control-prefix,.form-control-suffix{color:var(--sgds-form-color-subtle);display:flex;flex-shrink:0;font-weight:var(--sgds-font-weight-semibold);gap:var(--sgds-gap-xs)}.form-control-group.quantity-toggle{padding:0}sgds-icon[role=button]{cursor:pointer}sgds-icon[role=button]:focus,sgds-icon[role=button]:focus-visible{outline:var(--sgds-form-outline-focus)}.form-control-row{align-items:center;display:flex;gap:var(--sgds-gap-sm)}`;class Ya extends(Oa(Ta)){constructor(){super(...arguments),this.type="text",this.placeholder="placeholder",this.autofocus=!1,this.readonly=!1,this.autocomplete="on",this.defaultValue="",this.valid=!1,this.loading=!1,this.required=!1,this.noValidate=!1,this.value="",this._isTouched=!1,this._showPassword=!1}focus(e){this.input.focus(e)}blur(){this.input.blur()}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}setValidity(e,t,i){return this._mixinSetValidity(e,t,i)}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}_handleFocus(){this.emit("sgds-focus")}_handleBlur(){const e=this.emit("sgds-blur",{cancelable:!0});this._mixinShouldSkipSgdsValidation()||e.defaultPrevented||(this.setInvalid(!this._mixinCheckValidity()),this._isTouched=!0)}_handleClick(){this.focus()}_handleChange(e){this.value=this.input.value;this.emit("sgds-change",{cancelable:!0}).defaultPrevented||super._mixinHandleChange(e)}_handleInputChange(e){this.value=this.input.value;this.emit("sgds-input",{cancelable:!0}).defaultPrevented||super._mixinHandleInputChange(e)}_handleIsTouched(){this._mixinShouldSkipSgdsValidation()||this._isTouched&&this.setInvalid(!this._mixinCheckValidity())}_handleDisabledChange(){this.setInvalid(!1)}_renderInput(){const e="both"===this.hasFeedback||"style"===this.hasFeedback,t="both"===this.hasFeedback||"text"===this.hasFeedback,i=[this.hintText?`${this._controlId}Help`:"",this.invalid&&t?`${this._controlId}-invalid`:""].filter(Boolean).join(" ")||void 0;return Wi`
2465
2465
  <div
2466
- class="form-control-group ${Bs({disabled:this.disabled,readonly:this.readonly,"is-invalid":this.invalid&&t})}"
2466
+ class="form-control-group ${Ri({disabled:this.disabled,readonly:this.readonly,"is-invalid":this.invalid&&e})}"
2467
2467
  @click=${this._handleClick}
2468
2468
  >
2469
2469
  <slot name="icon"></slot>
2470
- ${this.prefix?Is`<span class="form-control-prefix">${this.prefix}</span>`:ii}
2470
+ ${this.prefix?Wi`<span class="form-control-prefix">${this.prefix}</span>`:he}
2471
2471
  <input
2472
2472
  class="form-control"
2473
2473
  type=${this._inputType()}
2474
2474
  id=${this._controlId}
2475
- name=${Es(this.name)}
2476
- placeholder=${Es(this.placeholder)}
2475
+ name=${Oi(this.name)}
2476
+ placeholder=${Oi(this.placeholder)}
2477
2477
  aria-invalid=${this.invalid?"true":"false"}
2478
- pattern=${Es(this.pattern)}
2478
+ pattern=${Oi(this.pattern)}
2479
2479
  ?autofocus=${this.autofocus}
2480
2480
  ?disabled=${this.disabled}
2481
2481
  ?readonly=${this.readonly}
2482
2482
  ?required=${this.required}
2483
- .value=${Ri(this.value)}
2484
- minlength=${Es(this.minlength)}
2485
- maxlength=${Es(this.maxlength)}
2486
- min=${Es(this.min)}
2487
- max=${Es(this.max)}
2488
- step=${Es(this.step)}
2489
- @input=${t=>this._handleInputChange(t)}
2490
- @change=${t=>this._handleChange(t)}
2483
+ .value=${Ke(this.value)}
2484
+ minlength=${Oi(this.minlength)}
2485
+ maxlength=${Oi(this.maxlength)}
2486
+ min=${Oi(this.min)}
2487
+ max=${Oi(this.max)}
2488
+ step=${Oi(this.step)}
2489
+ @input=${e=>this._handleInputChange(e)}
2490
+ @change=${e=>this._handleChange(e)}
2491
2491
  @invalid=${()=>this.setInvalid(!0)}
2492
2492
  @focus=${this._handleFocus}
2493
2493
  @blur=${this._handleBlur}
2494
- aria-describedby=${Es(i)}
2494
+ aria-describedby=${Oi(i)}
2495
2495
  .autocomplete=${this.autocomplete}
2496
2496
  />
2497
- ${"password"===this.type?this._renderPasswordToggle():ii}
2498
- ${this.suffix?Is`<span class="form-control-suffix">${this.suffix}</span>`:ii}
2497
+ ${"password"===this.type?this._renderPasswordToggle():he}
2498
+ ${this.suffix?Wi`<span class="form-control-suffix">${this.suffix}</span>`:he}
2499
2499
  <slot name="trailing-icon">
2500
- ${this.loading?Is`<sgds-spinner size="sm"></sgds-spinner>`:ii}
2501
- ${this.valid?Is`<sgds-icon name="check-circle-fill" class="valid-icon"></sgds-icon>`:ii}
2500
+ ${this.loading?Wi`<sgds-spinner size="sm"></sgds-spinner>`:he}
2501
+ ${this.valid?Wi`<sgds-icon name="check-circle-fill" class="valid-icon"></sgds-icon>`:he}
2502
2502
  </slot>
2503
2503
  </div>
2504
- `}_renderPasswordToggle(){return Is`<sgds-icon
2504
+ `}_renderPasswordToggle(){return Wi`<sgds-icon
2505
2505
  tabIndex="0"
2506
2506
  role="button"
2507
2507
  name=${this._showPassword?"eye-slash-fill":"eye-fill"}
2508
2508
  @click=${()=>this._showPassword=!this._showPassword}
2509
- ></sgds-icon>`}_inputType(){return"password"===this.type&&this._showPassword?"text":this.type}_renderFeedback(){const t="both"===this.hasFeedback||"text"===this.hasFeedback;return this.invalid&&t?Is` <div class="invalid-feedback-container">
2509
+ ></sgds-icon>`}_inputType(){return"password"===this.type&&this._showPassword?"text":this.type}_renderFeedback(){const e="both"===this.hasFeedback||"text"===this.hasFeedback;return this.invalid&&e?Wi` <div class="invalid-feedback-container">
2510
2510
  <sgds-icon name="exclamation-circle-fill" size="md"></sgds-icon>
2511
2511
  <div id="${this._controlId}-invalid" class="invalid-feedback">
2512
2512
  ${this.invalidFeedback?this.invalidFeedback:this.input.validationMessage}
2513
2513
  </div>
2514
- </div>`:Is`${this._renderHintText()}`}_renderLabel(){const t=Is`
2514
+ </div>`:Wi`${this._renderHintText()}`}_renderLabel(){const e=Wi`
2515
2515
  <label
2516
2516
  for=${this._controlId}
2517
2517
  id=${this._labelId}
2518
- class=${Bs({"form-label":!0,required:this.required})}
2518
+ class=${Ri({"form-label":!0,required:this.required})}
2519
2519
  >${this.label}</label
2520
2520
  >
2521
- `;return this.label&&t}_renderHintText(){const t=Is` <div id="${this._controlId}Help" class="form-text">${this.hintText}</div> `;return this.hintText&&t}render(){return Is`
2521
+ `;return this.label&&e}_renderHintText(){const e=Wi` <div id="${this._controlId}Help" class="form-text">${this.hintText}</div> `;return this.hintText&&e}render(){return Wi`
2522
2522
  <div
2523
- class="form-control-container ${Bs({disabled:this.disabled})}"
2523
+ class="form-control-container ${Ri({disabled:this.disabled})}"
2524
2524
  >
2525
2525
  ${this._renderLabel()}
2526
2526
  <div class="form-control-row">
@@ -2529,9 +2529,9 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2529
2529
  </div>
2530
2530
  ${this._renderFeedback()}
2531
2531
  </div>
2532
- `}}fr.styles=[...dr.styles,hr,cr,vr],fr.dependencies={"sgds-spinner":wn,"sgds-icon":vn},t([Zi({reflect:!0})],fr.prototype,"type",void 0),t([Zi({type:String})],fr.prototype,"prefix",void 0),t([Zi({type:String})],fr.prototype,"suffix",void 0),t([Zi({type:Number,reflect:!0})],fr.prototype,"minlength",void 0),t([Zi({type:Number,reflect:!0})],fr.prototype,"maxlength",void 0),t([Zi()],fr.prototype,"min",void 0),t([Zi()],fr.prototype,"max",void 0),t([Zi({type:String,reflect:!0})],fr.prototype,"placeholder",void 0),t([Zi({type:String})],fr.prototype,"pattern",void 0),t([Zi({type:Boolean,reflect:!0})],fr.prototype,"autofocus",void 0),t([Zi({type:Boolean,reflect:!0})],fr.prototype,"readonly",void 0),t([Zi({type:String,reflect:!0})],fr.prototype,"autocomplete",void 0),t([Zi()],fr.prototype,"step",void 0),t([Zi({type:String,reflect:!0})],fr.prototype,"hasFeedback",void 0),t([Zi({type:String,reflect:!0})],fr.prototype,"invalidFeedback",void 0),t([ur()],fr.prototype,"defaultValue",void 0),t([Zi({type:Boolean,reflect:!0})],fr.prototype,"valid",void 0),t([Zi({type:Boolean,reflect:!0})],fr.prototype,"loading",void 0),t([Zi({type:Boolean,reflect:!0})],fr.prototype,"required",void 0),t([Zi({type:Boolean,reflect:!0})],fr.prototype,"noValidate",void 0),t([Zi({reflect:!0})],fr.prototype,"value",void 0),t([Vi()],fr.prototype,"_isTouched",void 0),t([Vi()],fr.prototype,"_showPassword",void 0),t([As("_isTouched",{waitUntilFirstUpdate:!0})],fr.prototype,"_handleIsTouched",null),t([As("disabled",{waitUntilFirstUpdate:!0})],fr.prototype,"_handleDisabledChange",null);var mr=re`.datepicker-input-container{display:flex;flex-direction:row;width:-webkit-fill-available;width:-moz-available}.datepicker-input-container .form-control-group{border-right:0}.calendar-btn{all:unset}`;class wr extends fr{constructor(){super(),this.dateFormat="DD/MM/YYYY",this.mode="single",this._validateInput=async()=>{const t=this.mask.value.split(" - ").filter(t=>t!==this.dateFormat),e=t.map(t=>Ds(Jt(t,Zs[this.dateFormat].fnsPattern,new Date))),i=e.filter(t=>!u(t)||at(t,new Date(0,0,1))||at(t,Ds(new Date(this.minDate)))||it(t,Ds(new Date(this.maxDate))));return i.length>0||"range"===this.mode&&1===e.length?(this.setInvalid(!0),this.emit("i-sgds-invalid-input")):0===i.length&&e.length>0?(this.setInvalid(!1),this.emit("i-sgds-selectdates-input",{detail:e})):0===e.length&&0===i.length?(this.setInvalid(!1),this.emit("i-sgds-empty-input")):void 0},this.type="text"}_handleBlur(){const t=this.mask.value.split(" - ").filter(t=>t!==this.dateFormat),e=t.map(t=>Ds(Jt(t,Zs[this.dateFormat].fnsPattern,new Date))),i=e.filter(t=>!u(t)||at(t,new Date(0,0,1))||at(t,Ds(new Date(this.minDate)))||it(t,Ds(new Date(this.maxDate))));this.mask.masked.isComplete&&i.length>0&&e.length>0&&(this.value="",this.mask.value="",this.setInvalid(!1)),this.emit("sgds-blur")}async _handleChange(t){this.value=this.input.value,this.emit("sgds-change"),super._mixinHandleChange(t),await this._validateInput()}async firstUpdated(t){super.firstUpdated(t),this._applyInputMask(this.dateFormat)}async _applyInputMask(t){const e=await this.shadowInput,i="single"===this.mode?Zs[t].imPattern:Zs[t].imRangePattern,a={mask:i,pattern:i,eager:!0,overwrite:!0,parse:function(e){return e.split(" - ").map(e=>Jt(e,Zs[t].fnsPattern,new Date))},format:function(t){return t.map(t=>{let e,i="";const a=t.getDate(),s=t.getMonth()+1;return a<10&&(e="0"+a),s<10&&(i="0"+s),[e,i,t.getFullYear()].join("/")}).join(" - ")},lazy:!1,blocks:{d:{mask:$n.MaskedRange,placeholderChar:"D",from:0,to:9,maxLength:1},m:{mask:$n.MaskedRange,placeholderChar:"M",from:0,to:9,maxLength:1},y:{mask:$n.MaskedRange,placeholderChar:"Y",from:0,to:9,maxLength:1},D:{mask:$n.MaskedRange,placeholderChar:"D",from:0,to:9,maxLength:1},M:{mask:$n.MaskedRange,placeholderChar:"M",from:0,to:9,maxLength:1},Y:{mask:$n.MaskedRange,placeholderChar:"Y",from:0,to:9,maxLength:1}}};this.mask=$n(e,a),this.mask.on("accept",()=>{this.value=this.mask.masked.value,this.emit("i-sgds-mask-input-change",{detail:this.value})}),this.mask.on("complete",this._validateInput)}updateMaskValue(){var t;null===(t=this.mask)||void 0===t||t.updateValue()}destroyInputMask(){var t;null===(t=this.mask)||void 0===t||t.destroy()}async applyInputMask(){return await this._applyInputMask(this.dateFormat)}async focus(){return(await this.shadowInput).focus()}render(){return Je`
2532
+ `}}Ya.styles=[...Ta.styles,Pa,Ea,za],Ya.dependencies={"sgds-spinner":Va,"sgds-icon":_a},e([Ie({reflect:!0})],Ya.prototype,"type",void 0),e([Ie({type:String})],Ya.prototype,"prefix",void 0),e([Ie({type:String})],Ya.prototype,"suffix",void 0),e([Ie({type:Number,reflect:!0})],Ya.prototype,"minlength",void 0),e([Ie({type:Number,reflect:!0})],Ya.prototype,"maxlength",void 0),e([Ie()],Ya.prototype,"min",void 0),e([Ie()],Ya.prototype,"max",void 0),e([Ie({type:String,reflect:!0})],Ya.prototype,"placeholder",void 0),e([Ie({type:String})],Ya.prototype,"pattern",void 0),e([Ie({type:Boolean,reflect:!0})],Ya.prototype,"autofocus",void 0),e([Ie({type:Boolean,reflect:!0})],Ya.prototype,"readonly",void 0),e([Ie({type:String,reflect:!0})],Ya.prototype,"autocomplete",void 0),e([Ie()],Ya.prototype,"step",void 0),e([Ie({type:String,reflect:!0})],Ya.prototype,"hasFeedback",void 0),e([Ie({type:String,reflect:!0})],Ya.prototype,"invalidFeedback",void 0),e([Fa()],Ya.prototype,"defaultValue",void 0),e([Ie({type:Boolean,reflect:!0})],Ya.prototype,"valid",void 0),e([Ie({type:Boolean,reflect:!0})],Ya.prototype,"loading",void 0),e([Ie({type:Boolean,reflect:!0})],Ya.prototype,"required",void 0),e([Ie({type:Boolean,reflect:!0})],Ya.prototype,"noValidate",void 0),e([Ie({reflect:!0})],Ya.prototype,"value",void 0),e([Ee()],Ya.prototype,"_isTouched",void 0),e([Ee()],Ya.prototype,"_showPassword",void 0),e([Fi("_isTouched",{waitUntilFirstUpdate:!0})],Ya.prototype,"_handleIsTouched",null),e([Fi("disabled",{waitUntilFirstUpdate:!0})],Ya.prototype,"_handleDisabledChange",null);var Na=g`.datepicker-input-container{display:flex;flex-direction:row;width:-webkit-fill-available;width:-moz-available}.datepicker-input-container .form-control-group{border-right:0}.calendar-btn{all:unset}`;class Ua extends Ya{constructor(){super(),this.dateFormat="DD/MM/YYYY",this.mode="single",this._validateInput=async()=>{const e=this.mask.value.split(" - ").filter(e=>e!==this.dateFormat),t=e.map(e=>Pi(c(e,Ii[this.dateFormat].fnsPattern))),i=t.filter(e=>!o(e)||l(e,new Date(0,0,1))||l(e,Pi(new Date(this.minDate)))||a(e,Pi(new Date(this.maxDate))));return i.length>0||"range"===this.mode&&1===t.length?(this.setInvalid(!0),this.emit("i-sgds-invalid-input")):0===i.length&&t.length>0?(this.setInvalid(!1),this.emit("i-sgds-selectdates-input",{detail:t})):0===t.length&&0===i.length?(this.setInvalid(!1),this.emit("i-sgds-empty-input")):void 0},this.type="text"}_handleBlur(){const e=this.mask.value.split(" - ").filter(e=>e!==this.dateFormat),t=e.map(e=>Pi(c(e,Ii[this.dateFormat].fnsPattern))),i=t.filter(e=>!o(e)||l(e,new Date(0,0,1))||l(e,Pi(new Date(this.minDate)))||a(e,Pi(new Date(this.maxDate))));this.mask.masked.isComplete&&i.length>0&&t.length>0&&(this.value="",this.mask.value="",this.setInvalid(!1)),this.emit("sgds-blur")}async _handleChange(e){this.value=this.input.value,this.emit("sgds-change"),super._mixinHandleChange(e),await this._validateInput()}async firstUpdated(e){super.firstUpdated(e),this._applyInputMask(this.dateFormat)}async _applyInputMask(e){const t=await this.shadowInput,i="single"===this.mode?Ii[e].imPattern:Ii[e].imRangePattern;this.mask=new Ba(t,{pattern:i}),this.mask.on("accept",()=>{this.value=this.mask.masked.value,this.emit("i-sgds-mask-input-change",{detail:this.value})}),this.mask.on("complete",this._validateInput)}updateMaskValue(){var e;null===(e=this.mask)||void 0===e||e.updateValue()}destroyInputMask(){var e;null===(e=this.mask)||void 0===e||e.destroy()}async applyInputMask(){return await this._applyInputMask(this.dateFormat)}async focus(){return(await this.shadowInput).focus()}render(){return re`
2533
2533
  <div
2534
- class="form-control-container ${Bs({disabled:this.disabled})}"
2534
+ class="form-control-container ${Ri({disabled:this.disabled})}"
2535
2535
  >
2536
2536
  ${this._renderLabel()}
2537
2537
  <div class="datepicker-input-container">
@@ -2540,15 +2540,15 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2540
2540
  </div>
2541
2541
  ${this._renderFeedback()}
2542
2542
  </div>
2543
- `}}wr.styles=[...fr.styles,mr],t([Zi({type:String})],wr.prototype,"minDate",void 0),t([Zi({type:String})],wr.prototype,"maxDate",void 0),t([Zi({type:String,reflect:!0})],wr.prototype,"mode",void 0),t([Bi("input")],wr.prototype,"shadowInput",void 0);var yr,br,xr=re`:host{--datepicker-theme-color:var(--sgds-primary);--datepicker-hover-bg:var(--sgds-primary-100);--datepicker-bg:#fff;--datepicker-close-btn-bg:var(--datepicker-theme-color);--datepicker-close-btn-hover-bg:var(--sgds-primary-700);--datepicker-close-btn-color:#fff;--datepicker-selected-date-bg:var(--sgds-primary);--datepicker-selected-date-color:#fff;font-size:var(--sgds-font-size-14)}:host([menuisopen]:not([disabled]):not([readonly])) .dropdown-menu{background-color:var(--sgds-form-surface-default);display:flex;flex-direction:column;gap:var(--sgds-form-gap-sm);overflow:unset;padding:var(--sgds-form-padding-y) var(--sgds-form-padding-x);width:var(--sgds-dimension-320)}.dropdown{display:flex;height:100%}sgds-datepicker-input{--input-border-radius:var(--sgds-form-border-radius-md) 0 0 var(--sgds-form-border-radius-md);flex:1;margin-right:0}sgds-icon-button{--btn-border-radius:0 var(--sgds-form-border-radius-md) var(--sgds-form-border-radius-md) 0}.m-width-160{min-width:var(--sgds-dimension-160)}`;class _r extends(gr(Ms)){constructor(){super(),this.required=!1,this.disabled=!1,this.noValidate=!1,this.value="",this.initialValue=[],this.dateFormat="DD/MM/YYYY",this.minDate="",this.maxDate="",this.mode="single",this.hasFeedback=!1,this.label="",this.hintText="",this.noFlip=!1,this.drop="down",this.defaultValue="",this.invalid=!1,this.view="days",this.selectedDateRange=[],this.focusedTabIndex=3,this.initialDisplayDate=new Date,this._makeInputValueString=(t,e,i)=>{if(!t&&!e)return this.value;const a=t=>X(t,Zs[i].fnsPattern);switch(this.mode){case"single":t&&(this.value=a(t));break;case"range":t&&e&&(this.value=`${a(t)} - ${a(e)}`),t&&!e&&(this.value=`${a(t)} - ${this.dateFormat}`)}return this.value},this._dialogAriaLabels={days:"Choose date",months:"Choose month",years:"Choose year"},this.floatingOpts={placement:"bottom-end"}}isValueEmpty(){return""===this.value||"DD/MM/YYYY"===this.value||"DD/MM/YYYY - DD/MM/YYYY"===this.value}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}setInvalid(t){this.invalid=t,this.datepickerInput&&this.datepickerInput.setInvalid(t)}setValidity(t,e,i){return this._mixinSetValidity(t,e,i)}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}async connectedCallback(){if(super.connectedCallback(),this.addEventListener("sgds-view",this._handleViewChanged),this.addEventListener("sgds-change-calendar",this._handleDateChanged),this.addEventListener("sgds-update-focus",this._handleFocusDateChanged),this.addEventListener("sgds-selectmonth",this._handleSelectMonth),this.addEventListener("sgds-selectyear",this._handleSelectYear),this.addEventListener("sgds-selectdates",this._handleSelectDatesAndClose),this.addEventListener("i-sgds-selectdates-input",this._handleSelectDatesInput),this.addEventListener("i-sgds-empty-input",this._handleEmptyInput),this.addEventListener("keydown",this._handleTab),this.addEventListener("sgds-hide",this._handleCloseMenu),this.addEventListener("sgds-show",this._handleOpenMenu),this.addEventListener("blur",this._mixinCheckValidity),this.initialValue=this.value?this.value.split(" - ").map(t=>t.trim()):this.initialValue,this.initialDisplayDate=this.displayDate||new Date,this.initialValue&&this.initialValue.length>0){const t=new RegExp(this._getDateFormatRegex()),e=this.initialValue.filter(e=>!t.test(e));if(e.length>0)return console.error("Invalid date format in initialValue:",e);{const t=this.initialValue.map(t=>Ds(Jt(t,Zs[this.dateFormat].fnsPattern,new Date)));this._handleSelectDates(t)}}else this.displayDate=this.initialDisplayDate;(await this.datepickerInputAsync).setInvalid(this.invalid)}async firstUpdated(t){if(super.firstUpdated(t),this.menuIsOpen){const t=await this.datepickerInputAsync;await this.updateFloatingPosition();(await this.calendar).focusOnCalendar(t)}}_getDateFormatRegex(){return this.dateFormat.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace("MM","\\d{2}").replace("DD","\\d{2}").replace("YYYY","\\d{4}").replace("/","\\/")}_handleTab(t){if(!this.menuIsOpen)return;const e=Array(4);t.shiftKey&&"Tab"===t.key?(t.preventDefault(),this.focusedTabIndex=(this.focusedTabIndex-1+e.length)%e.length):"Tab"===t.key&&(t.preventDefault(),this.focusedTabIndex=(this.focusedTabIndex+1+e.length)%e.length)}_handleValueChange(){this.emit("sgds-change-date")}async _handleCloseMenu(){if((await this.datepickerInputAsync).focus(),0===this.selectedDateRange.length)this.displayDate=this.initialDisplayDate;else{const t=this.selectedDateRange.length;this.displayDate=this.selectedDateRange[t-1];(await this.calendar)._updateFocusedDate()}}async _handleOpenMenu(){const t=await this.calendar,e=await this.datepickerInputAsync;t.focusOnCalendar(e)}_handleSelectDatesInput(t){this._handleSelectDates(t.detail)}async _handleSelectDates(t){t.sort((t,e)=>t.getTime()-e.getTime()),this.displayDate=t[0],this.focusedDate=t[0],this.selectedDateRange=t;const e=this._makeInputValueString(this.selectedDateRange[0],this.selectedDateRange[1],this.dateFormat);this.value=e;(await this.datepickerInputAsync).updateMaskValue(),this._manageInternalsValid()}async _handleSelectDatesAndClose(t){await this._handleSelectDates(t.detail),("range"===this.mode&&2===this.selectedDateRange.length||"single"===this.mode&&1===this.selectedDateRange.length)&&this.hideMenu()}_handleViewChanged(t){this.view=t.detail}_handleDateChanged(t){this.displayDate=t.detail}_handleFocusDateChanged(t){this.focusedDate=t.detail}_handleSelectMonth(t){this.displayDate=t.detail}_handleSelectYear(t){this.displayDate=t.detail}async _handleInvalidInput(){this.selectedDateRange=[],this.displayDate=this.initialDisplayDate,this._mixinShouldSkipSgdsValidation()||(this.invalid=!0,this._manageInternalsBadInput())}async _handleEmptyInput(){this.required&&this._manageEmptyInput()}async _resetDatepicker(t=""){this.displayDate=this.initialDisplayDate,this.selectedDateRange=[],this.value=t,this.view="days";const e=await this.datepickerInputAsync;e.setInvalid(this.invalid),e.destroyInputMask(),await e.applyInputMask(),this._mixinResetValidity(e),this.isValueEmpty()&&this._handleEmptyInput()}_manageInternalsBadInput(){this._mixinSetValidity({badInput:!0},"Invalid date input",this.datepickerInput)}_manageEmptyInput(){this._mixinSetValidity({valueMissing:!0},"Please fill in this field",this.datepickerInput)}_manageInternalsValid(){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||(this._mixinSetValidity({}),this.invalid=this.datepickerInput.invalid=!1)}async _mixinResetFormControl(){this._resetDatepicker(this.defaultValue)}async _handleInputMaskChange(t){this.value=t.detail,this.isValueEmpty()&&this._resetDatepicker()}render(){return Je`
2543
+ `}}Ua.styles=[...Ya.styles,Na],e([Ie({type:String})],Ua.prototype,"minDate",void 0),e([Ie({type:String})],Ua.prototype,"maxDate",void 0),e([Ie({type:String,reflect:!0})],Ua.prototype,"mode",void 0),e([Re("input")],Ua.prototype,"shadowInput",void 0);var Wa,qa,ja=g`:host{--datepicker-theme-color:var(--sgds-primary);--datepicker-hover-bg:var(--sgds-primary-100);--datepicker-bg:#fff;--datepicker-close-btn-bg:var(--datepicker-theme-color);--datepicker-close-btn-hover-bg:var(--sgds-primary-700);--datepicker-close-btn-color:#fff;--datepicker-selected-date-bg:var(--sgds-primary);--datepicker-selected-date-color:#fff;font-size:var(--sgds-font-size-14)}:host([menuisopen]:not([disabled]):not([readonly])) .dropdown-menu{background-color:var(--sgds-form-surface-default);display:flex;flex-direction:column;gap:var(--sgds-form-gap-sm);overflow:unset;padding:var(--sgds-form-padding-y) var(--sgds-form-padding-x);width:var(--sgds-dimension-320)}.dropdown{display:flex;height:100%}sgds-datepicker-input{--input-border-radius:var(--sgds-form-border-radius-md) 0 0 var(--sgds-form-border-radius-md);flex:1;margin-right:0}sgds-icon-button{--btn-border-radius:0 var(--sgds-form-border-radius-md) var(--sgds-form-border-radius-md) 0}.m-width-160{min-width:var(--sgds-dimension-160)}`;class Ka extends(Oa(Li)){constructor(){super(),this.required=!1,this.disabled=!1,this.noValidate=!1,this.value="",this.initialValue=[],this.dateFormat="DD/MM/YYYY",this.minDate="",this.maxDate="",this.mode="single",this.hasFeedback=!1,this.label="",this.hintText="",this.noFlip=!1,this.drop="down",this.defaultValue="",this.invalid=!1,this.view="days",this.selectedDateRange=[],this.focusedTabIndex=3,this.initialDisplayDate=new Date,this._makeInputValueString=(e,i,a)=>{if(!e&&!i)return this.value;const l=e=>t(e,Ii[a].fnsPattern);switch(this.mode){case"single":e&&(this.value=l(e));break;case"range":e&&i&&(this.value=`${l(e)} - ${l(i)}`),e&&!i&&(this.value=`${l(e)} - ${this.dateFormat}`)}return this.value},this._dialogAriaLabels={days:"Choose date",months:"Choose month",years:"Choose year"},this.floatingOpts={placement:"bottom-end"}}isValueEmpty(){return""===this.value||"DD/MM/YYYY"===this.value||"DD/MM/YYYY - DD/MM/YYYY"===this.value}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}setInvalid(e){this.invalid=e,this.datepickerInput&&this.datepickerInput.setInvalid(e)}setValidity(e,t,i){return this._mixinSetValidity(e,t,i)}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}async connectedCallback(){if(super.connectedCallback(),this.addEventListener("sgds-view",this._handleViewChanged),this.addEventListener("sgds-change-calendar",this._handleDateChanged),this.addEventListener("sgds-update-focus",this._handleFocusDateChanged),this.addEventListener("sgds-selectmonth",this._handleSelectMonth),this.addEventListener("sgds-selectyear",this._handleSelectYear),this.addEventListener("sgds-selectdates",this._handleSelectDatesAndClose),this.addEventListener("i-sgds-selectdates-input",this._handleSelectDatesInput),this.addEventListener("i-sgds-empty-input",this._handleEmptyInput),this.addEventListener("keydown",this._handleTab),this.addEventListener("sgds-hide",this._handleCloseMenu),this.addEventListener("sgds-show",this._handleOpenMenu),this.addEventListener("blur",this._mixinCheckValidity),this.initialValue=this.value?this.value.split(" - ").map(e=>e.trim()):this.initialValue,this.initialDisplayDate=this.displayDate||new Date,this.initialValue&&this.initialValue.length>0){const e=new RegExp(this._getDateFormatRegex()),t=this.initialValue.filter(t=>!e.test(t));if(t.length>0)return console.error("Invalid date format in initialValue:",t);{const e=this.initialValue.map(e=>Pi(c(e,Ii[this.dateFormat].fnsPattern)));this._handleSelectDates(e)}}else this.displayDate=this.initialDisplayDate;(await this.datepickerInputAsync).setInvalid(this.invalid)}async firstUpdated(e){if(super.firstUpdated(e),this.menuIsOpen){const e=await this.datepickerInputAsync;await this.updateFloatingPosition();(await this.calendar).focusOnCalendar(e)}}_getDateFormatRegex(){return this.dateFormat.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace("MM","\\d{2}").replace("DD","\\d{2}").replace("YYYY","\\d{4}").replace("/","\\/")}_handleTab(e){if(!this.menuIsOpen)return;const t=Array(4);e.shiftKey&&"Tab"===e.key?(e.preventDefault(),this.focusedTabIndex=(this.focusedTabIndex-1+t.length)%t.length):"Tab"===e.key&&(e.preventDefault(),this.focusedTabIndex=(this.focusedTabIndex+1+t.length)%t.length)}_handleValueChange(){this.emit("sgds-change-date")}async _handleCloseMenu(){if((await this.datepickerInputAsync).focus(),0===this.selectedDateRange.length)this.displayDate=this.initialDisplayDate;else{const e=this.selectedDateRange.length;this.displayDate=this.selectedDateRange[e-1];(await this.calendar)._updateFocusedDate()}}async _handleOpenMenu(){const e=await this.calendar,t=await this.datepickerInputAsync;e.focusOnCalendar(t)}_handleSelectDatesInput(e){this._handleSelectDates(e.detail)}async _handleSelectDates(e){e.sort((e,t)=>e.getTime()-t.getTime()),this.displayDate=e[0],this.focusedDate=e[0],this.selectedDateRange=e;const t=this._makeInputValueString(this.selectedDateRange[0],this.selectedDateRange[1],this.dateFormat);this.value=t;(await this.datepickerInputAsync).updateMaskValue(),this._manageInternalsValid()}async _handleSelectDatesAndClose(e){await this._handleSelectDates(e.detail),("range"===this.mode&&2===this.selectedDateRange.length||"single"===this.mode&&1===this.selectedDateRange.length)&&this.hideMenu()}_handleViewChanged(e){this.view=e.detail}_handleDateChanged(e){this.displayDate=e.detail}_handleFocusDateChanged(e){this.focusedDate=e.detail}_handleSelectMonth(e){this.displayDate=e.detail}_handleSelectYear(e){this.displayDate=e.detail}async _handleInvalidInput(){this.selectedDateRange=[],this.displayDate=this.initialDisplayDate,this._mixinShouldSkipSgdsValidation()||(this.invalid=!0,this._manageInternalsBadInput())}async _handleEmptyInput(){this.required&&this._manageEmptyInput()}async _resetDatepicker(e=""){this.displayDate=this.initialDisplayDate,this.selectedDateRange=[],this.value=e,this.view="days";const t=await this.datepickerInputAsync;t.setInvalid(this.invalid),t.destroyInputMask(),await t.applyInputMask(),this._mixinResetValidity(t),this.isValueEmpty()&&this._handleEmptyInput()}_manageInternalsBadInput(){this._mixinSetValidity({badInput:!0},"Invalid date input",this.datepickerInput)}_manageEmptyInput(){this._mixinSetValidity({valueMissing:!0},"Please fill in this field",this.datepickerInput)}_manageInternalsValid(){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||(this._mixinSetValidity({}),this.invalid=this.datepickerInput.invalid=!1)}async _mixinResetFormControl(){this._resetDatepicker(this.defaultValue)}async _handleInputMaskChange(e){this.value=e.detail,this.isValueEmpty()&&this._resetDatepicker()}render(){return re`
2544
2544
  <div class="datepicker-container m-width-160">
2545
2545
  <sgds-datepicker-input
2546
- .value=${Ri(this.value)}
2546
+ .value=${Ke(this.value)}
2547
2547
  ?required=${this.required}
2548
2548
  ?disabled=${this.disabled}
2549
2549
  placeholder=${"single"===this.mode?"DD/MM/YYYY":"DD/MM/YYYY - DD/MM/YYYY"}
2550
2550
  mode=${this.mode}
2551
- invalidFeedback=${Es(this.invalidFeedback?this.invalidFeedback:this._mixinGetValidationMessage())}
2551
+ invalidFeedback=${Oi(this.invalidFeedback?this.invalidFeedback:this._mixinGetValidationMessage())}
2552
2552
  @i-sgds-mask-input-change=${this._handleInputMaskChange}
2553
2553
  @i-sgds-invalid-input=${this._handleInvalidInput}
2554
2554
  minDate=${this.minDate}
@@ -2557,14 +2557,14 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2557
2557
  hintText=${this.hintText}
2558
2558
  name=${this.name}
2559
2559
  ?invalid=${this.invalid}
2560
- hasFeedback=${Es(this.hasFeedback?"both":void 0)}
2560
+ hasFeedback=${Oi(this.hasFeedback?"both":void 0)}
2561
2561
  ?readonly=${this.readonly}
2562
2562
  >
2563
2563
  <sgds-icon-button
2564
2564
  slot="calendar-btn"
2565
- ${Qi(this.myDropdown)}
2565
+ ${nt(this.myDropdown)}
2566
2566
  tone="neutral"
2567
- class=${Bs({"calendar-btn":!0,"with-hint-text":this.hintText||this.invalid,"with-label":this.label})}
2567
+ class=${Ri({"calendar-btn":!0,"with-hint-text":this.hintText||this.invalid,"with-label":this.label})}
2568
2568
  aria-expanded="${this.menuIsOpen}"
2569
2569
  aria-haspopup="dialog"
2570
2570
  aria-controls=${this.dropdownMenuId}
@@ -2582,8 +2582,8 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2582
2582
  class="sgds datepicker dropdown-menu"
2583
2583
  role="dialog"
2584
2584
  aria-label=${this._dialogAriaLabels[this.view]}
2585
- @click=${t=>t.stopPropagation()}
2586
- ${Qi(this.menuRef)}
2585
+ @click=${e=>e.stopPropagation()}
2586
+ ${nt(this.menuRef)}
2587
2587
  >
2588
2588
  <sgds-datepicker-header
2589
2589
  .view=${this.view}
@@ -2604,5 +2604,5 @@ class extends Ii{constructor(t){if(super(t),t.type!==Hi&&t.type!==Ei&&t.type!==$
2604
2604
  ></sgds-datepicker-calendar>
2605
2605
  </div>
2606
2606
  </div>
2607
- `}}_r.styles=[...Ms.styles,qs,xr],_r.dependencies={"sgds-datepicker-input":wr,"sgds-datepicker-calendar":Ks,"sgds-datepicker-header":_n,"sgds-button":Us,"sgds-icon-button":bn},t([Zi({type:Boolean,reflect:!0})],_r.prototype,"required",void 0),t([Zi({reflect:!0})],_r.prototype,"name",void 0),t([Zi({type:Boolean,reflect:!0})],_r.prototype,"disabled",void 0),t([Zi({type:Boolean,reflect:!0})],_r.prototype,"noValidate",void 0),t([Zi({type:String,reflect:!0})],_r.prototype,"value",void 0),t([Zi({type:Array,reflect:!0})],_r.prototype,"initialValue",void 0),t([Zi({type:String})],_r.prototype,"minDate",void 0),t([Zi({type:String})],_r.prototype,"maxDate",void 0),t([Zi({type:String,reflect:!0})],_r.prototype,"mode",void 0),t([Zi({type:String,reflect:!0})],_r.prototype,"invalidFeedback",void 0),t([Zi({type:Boolean,reflect:!0})],_r.prototype,"hasFeedback",void 0),t([Zi({reflect:!0})],_r.prototype,"label",void 0),t([Zi({reflect:!0})],_r.prototype,"hintText",void 0),t([Zi({type:Boolean,reflect:!0,state:!1})],_r.prototype,"noFlip",void 0),t([Zi({type:String,reflect:!0,state:!1})],_r.prototype,"drop",void 0),t([Zi({attribute:!1})],_r.prototype,"displayDate",void 0),t([ur()],_r.prototype,"defaultValue",void 0),t([Zi({type:Boolean,reflect:!0})],_r.prototype,"invalid",void 0),t([Vi()],_r.prototype,"view",void 0),t([Vi()],_r.prototype,"selectedDateRange",void 0),t([Vi()],_r.prototype,"focusedDate",void 0),t([Vi()],_r.prototype,"focusedTabIndex",void 0),t([Bi("sgds-datepicker-calendar")],_r.prototype,"calendar",void 0),t([Bi("sgds-datepicker-input")],_r.prototype,"datepickerInputAsync",void 0),t([Ai("sgds-datepicker-input")],_r.prototype,"datepickerInput",void 0),t([As("value",{waitUntilFirstUpdate:!0})],_r.prototype,"_handleValueChange",null),yr="sgds-datepicker",br=_r,customElements.get(yr)||customElements.define(yr,br)});
2607
+ `}}Ka.styles=[...Li.styles,ta,ja],Ka.dependencies={"sgds-datepicker-input":Ua,"sgds-datepicker-calendar":sa,"sgds-datepicker-header":Sa,"sgds-button":ea,"sgds-icon-button":ka},e([Ie({type:Boolean,reflect:!0})],Ka.prototype,"required",void 0),e([Ie({reflect:!0})],Ka.prototype,"name",void 0),e([Ie({type:Boolean,reflect:!0})],Ka.prototype,"disabled",void 0),e([Ie({type:Boolean,reflect:!0})],Ka.prototype,"noValidate",void 0),e([Ie({type:String,reflect:!0})],Ka.prototype,"value",void 0),e([Ie({type:Array,reflect:!0})],Ka.prototype,"initialValue",void 0),e([Ie({type:String})],Ka.prototype,"minDate",void 0),e([Ie({type:String})],Ka.prototype,"maxDate",void 0),e([Ie({type:String,reflect:!0})],Ka.prototype,"mode",void 0),e([Ie({type:String,reflect:!0})],Ka.prototype,"invalidFeedback",void 0),e([Ie({type:Boolean,reflect:!0})],Ka.prototype,"hasFeedback",void 0),e([Ie({reflect:!0})],Ka.prototype,"label",void 0),e([Ie({reflect:!0})],Ka.prototype,"hintText",void 0),e([Ie({type:Boolean,reflect:!0,state:!1})],Ka.prototype,"noFlip",void 0),e([Ie({type:String,reflect:!0,state:!1})],Ka.prototype,"drop",void 0),e([Ie({attribute:!1})],Ka.prototype,"displayDate",void 0),e([Fa()],Ka.prototype,"defaultValue",void 0),e([Ie({type:Boolean,reflect:!0})],Ka.prototype,"invalid",void 0),e([Ee()],Ka.prototype,"view",void 0),e([Ee()],Ka.prototype,"selectedDateRange",void 0),e([Ee()],Ka.prototype,"focusedDate",void 0),e([Ee()],Ka.prototype,"focusedTabIndex",void 0),e([Re("sgds-datepicker-calendar")],Ka.prototype,"calendar",void 0),e([Re("sgds-datepicker-input")],Ka.prototype,"datepickerInputAsync",void 0),e([Fe("sgds-datepicker-input")],Ka.prototype,"datepickerInput",void 0),e([Fi("value",{waitUntilFirstUpdate:!0})],Ka.prototype,"_handleValueChange",null),Wa="sgds-datepicker",qa=Ka,customElements.get(Wa)||customElements.define(Wa,qa)});
2608
2608
  //# sourceMappingURL=index.umd.min.js.map