@genesislcap/design-system-configurator 14.77.2 → 14.78.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.
- package/dist/{212.212.89d56dd50b2607cb3360.js → 212.212.83447b97b23f72e1578b.js} +2 -2
- package/dist/{361.361.e9613453c5ceb6515028.js → 361.361.765bbe2a88b558aa0c6e.js} +1 -1
- package/dist/{495.495.d247228f2659675137f8.js → 495.495.a06ed4cb3eca07aae7d3.js} +2 -2
- package/dist/{659.659.f7b35027316edc6f1090.js → 659.659.dd127b280fc7ac64a96e.js} +1 -1
- package/dist/{688.688.2fbf48d404fbea182cf2.js → 688.688.2e105837487198758a75.js} +1 -1
- package/dist/{755.0d64f062b3b634cd118d384847e796ca.js.map → 755.3286f535f2f194a1cf0e810fede2ea5a.js.map} +1 -1
- package/dist/755.755.86560f075da480965fc8.js +2 -0
- package/dist/designSystemConfigurator.cf36115883d92c8976e85b97bf72457d.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/main.948a65b145fe91d01e74.js +2 -0
- package/dist/main.a74e0976c5d93aa8476762372e863dcd.js.map +1 -0
- package/dist/remoteEntry.js +2 -2
- package/package.json +7 -7
- package/dist/755.755.85b83309b1fd4b358488.js +0 -2
- package/dist/designSystemConfigurator.d8819b8c6bc29515be6c6556645579a3.js.map +0 -1
- package/dist/main.430f14e4dca57c6db8ae.js +0 -2
- package/dist/main.4341d67e2857a548c227d7411c2ca841.js.map +0 -1
- /package/dist/{212.212.89d56dd50b2607cb3360.js.LICENSE.txt → 212.212.83447b97b23f72e1578b.js.LICENSE.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! For license information please see 212.212.
|
|
1
|
+
/*! For license information please see 212.212.83447b97b23f72e1578b.js.LICENSE.txt */
|
|
2
2
|
(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[212],{87530:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,o=36e5,i="millisecond",a="second",n="minute",s="hour",r="day",l="week",d="month",c="quarter",u="year",p="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],o=e%100;return"["+e+(t[(o-20)%10]||t[o]||t[0])+"]"}},g=function(e,t,o){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(o)+e},b={s:g,z:function(e){var t=-e.utcOffset(),o=Math.abs(t),i=Math.floor(o/60),a=o%60;return(t<=0?"+":"-")+g(i,2,"0")+":"+g(a,2,"0")},m:function e(t,o){if(t.date()<o.date())return-e(o,t);var i=12*(o.year()-t.year())+(o.month()-t.month()),a=t.clone().add(i,d),n=o-a<0,s=t.clone().add(i+(n?-1:1),d);return+(-(i+(o-a)/(n?a-s:s-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:d,y:u,w:l,d:r,D:p,h:s,m:n,s:a,ms:i,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=v;var x=function(e){return e instanceof D},F=function e(t,o,i){var a;if(!t)return y;if("string"==typeof t){var n=t.toLowerCase();w[n]&&(a=n),o&&(w[n]=o,a=n);var s=t.split("-");if(!a&&s.length>1)return e(s[0])}else{var r=t.name;w[r]=t,a=r}return!i&&a&&(y=a),a||!i&&y},S=function(e,t){if(x(e))return e.clone();var o="object"==typeof t?t:{};return o.date=e,o.args=arguments,new D(o)},$=b;$.l=F,$.i=x,$.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function v(e){this.$L=F(e.locale,null,!0),this.parse(e)}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,o=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var i=t.match(m);if(i){var a=i[2]-1||0,n=(i[7]||"0").substring(0,3);return o?new Date(Date.UTC(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)):new Date(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return $},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var o=S(e);return this.startOf(t)<=o&&o<=this.endOf(t)},g.isAfter=function(e,t){return S(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<S(e)},g.$g=function(e,t,o){return $.u(e)?this[t]:this.set(o,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var o=this,i=!!$.u(t)||t,c=$.p(e),h=function(e,t){var a=$.w(o.$u?Date.UTC(o.$y,t,e):new Date(o.$y,t,e),o);return i?a:a.endOf(r)},m=function(e,t){return $.w(o.toDate()[e].apply(o.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(t)),o)},f=this.$W,v=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(c){case u:return i?h(1,0):h(31,11);case d:return i?h(1,v):h(0,v+1);case l:var y=this.$locale().weekStart||0,w=(f<y?f+7:f)-y;return h(i?g-w:g+(6-w),v);case r:case p:return m(b+"Hours",0);case s:return m(b+"Minutes",1);case n:return m(b+"Seconds",2);case a:return m(b+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var o,l=$.p(e),c="set"+(this.$u?"UTC":""),h=(o={},o[r]=c+"Date",o[p]=c+"Date",o[d]=c+"Month",o[u]=c+"FullYear",o[s]=c+"Hours",o[n]=c+"Minutes",o[a]=c+"Seconds",o[i]=c+"Milliseconds",o)[l],m=l===r?this.$D+(t-this.$W):t;if(l===d||l===u){var f=this.clone().set(p,1);f.$d[h](m),f.init(),this.$d=f.set(p,Math.min(this.$D,f.daysInMonth())).$d}else h&&this.$d[h](m);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[$.p(e)]()},g.add=function(i,c){var p,h=this;i=Number(i);var m=$.p(c),f=function(e){var t=S(h);return $.w(t.date(t.date()+Math.round(e*i)),h)};if(m===d)return this.set(d,this.$M+i);if(m===u)return this.set(u,this.$y+i);if(m===r)return f(1);if(m===l)return f(7);var v=(p={},p[n]=t,p[s]=o,p[a]=e,p)[m]||1,g=this.$d.getTime()+i*v;return $.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,o=this.$locale();if(!this.isValid())return o.invalidDate||h;var i=e||"YYYY-MM-DDTHH:mm:ssZ",a=$.z(this),n=this.$H,s=this.$m,r=this.$M,l=o.weekdays,d=o.months,c=function(e,o,a,n){return e&&(e[o]||e(t,i))||a[o].slice(0,n)},u=function(e){return $.s(n%12||12,e,"0")},p=o.meridiem||function(e,t,o){var i=e<12?"AM":"PM";return o?i.toLowerCase():i},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:r+1,MM:$.s(r+1,2,"0"),MMM:c(o.monthsShort,r,d,3),MMMM:c(d,r),D:this.$D,DD:$.s(this.$D,2,"0"),d:String(this.$W),dd:c(o.weekdaysMin,this.$W,l,2),ddd:c(o.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(n),HH:$.s(n,2,"0"),h:u(1),hh:u(2),a:p(n,s,!0),A:p(n,s,!1),m:String(s),mm:$.s(s,2,"0"),s:String(this.$s),ss:$.s(this.$s,2,"0"),SSS:$.s(this.$ms,3,"0"),Z:a};return i.replace(f,(function(e,t){return t||m[e]||a.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(i,p,h){var m,f=$.p(p),v=S(i),g=(v.utcOffset()-this.utcOffset())*t,b=this-v,y=$.m(this,v);return y=(m={},m[u]=y/12,m[d]=y,m[c]=y/3,m[l]=(b-g)/6048e5,m[r]=(b-g)/864e5,m[s]=b/o,m[n]=b/t,m[a]=b/e,m)[f]||b,h?y:$.a(y)},g.daysInMonth=function(){return this.endOf(d).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var o=this.clone(),i=F(e,t,!0);return i&&(o.$L=i),o},g.clone=function(){return $.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),C=D.prototype;return S.prototype=C,[["$ms",i],["$s",a],["$m",n],["$H",s],["$W",r],["$M",d],["$y",u],["$D",p]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,D,S),e.$i=!0),S},S.locale=F,S.isDayjs=x,S.unix=function(e){return S(1e3*e)},S.en=w[y],S.Ls=w,S.p={},S}()},55466:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,n={},s=function(e){return(e=+e)+(e>68?1900:2e3)},r=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),o=60*t[1]+(+t[2]||0);return 0===o?0:"+"===t[0]?-o:o}(e)}],d=function(e){var t=n[e];return t&&(t.indexOf?t:t.s.concat(t.f))},c=function(e,t){var o,i=n.meridiem;if(i){for(var a=1;a<=24;a+=1)if(e.indexOf(i(a,0,t))>-1){o=a>12;break}}else o=e===(t?"pm":"PM");return o},u={A:[a,function(e){this.afternoon=c(e,!1)}],a:[a,function(e){this.afternoon=c(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[o,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,r("seconds")],ss:[i,r("seconds")],m:[i,r("minutes")],mm:[i,r("minutes")],H:[i,r("hours")],h:[i,r("hours")],HH:[i,r("hours")],hh:[i,r("hours")],D:[i,r("day")],DD:[o,r("day")],Do:[a,function(e){var t=n.ordinal,o=e.match(/\d+/);if(this.day=o[0],t)for(var i=1;i<=31;i+=1)t(i).replace(/\[|\]/g,"")===e&&(this.day=i)}],M:[i,r("month")],MM:[o,r("month")],MMM:[a,function(e){var t=d("months"),o=(d("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(o<1)throw new Error;this.month=o%12||o}],MMMM:[a,function(e){var t=d("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,r("year")],YY:[o,function(e){this.year=s(e)}],YYYY:[/\d{4}/,r("year")],Z:l,ZZ:l};function p(o){var i,a;i=o,a=n&&n.formats;for(var s=(o=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,o,i){var n=i&&i.toUpperCase();return o||a[i]||e[i]||a[n].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,o){return t||o.slice(1)}))}))).match(t),r=s.length,l=0;l<r;l+=1){var d=s[l],c=u[d],p=c&&c[0],h=c&&c[1];s[l]=h?{regex:p,parser:h}:d.replace(/^\[|\]$/g,"")}return function(e){for(var t={},o=0,i=0;o<r;o+=1){var a=s[o];if("string"==typeof a)i+=a.length;else{var n=a.regex,l=a.parser,d=e.slice(i),c=n.exec(d)[0];l.call(t,c),e=e.replace(c,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var o=e.hours;t?o<12&&(e.hours+=12):12===o&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,o){o.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var i=t.prototype,a=i.parse;i.parse=function(e){var t=e.date,i=e.utc,s=e.args;this.$u=i;var r=s[1];if("string"==typeof r){var l=!0===s[2],d=!0===s[3],c=l||d,u=s[2];d&&(u=s[2]),n=this.$locale(),!l&&u&&(n=o.Ls[u]),this.$d=function(e,t,o){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var i=p(t)(e),a=i.year,n=i.month,s=i.day,r=i.hours,l=i.minutes,d=i.seconds,c=i.milliseconds,u=i.zone,h=new Date,m=s||(a||n?1:h.getDate()),f=a||h.getFullYear(),v=0;a&&!n||(v=n>0?n-1:h.getMonth());var g=r||0,b=l||0,y=d||0,w=c||0;return u?new Date(Date.UTC(f,v,m,g,b,y,w+60*u.offset*1e3)):o?new Date(Date.UTC(f,v,m,g,b,y,w)):new Date(f,v,m,g,b,y,w)}catch(e){return new Date("")}}(t,r,i),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),c&&t!=this.format(r)&&(this.$d=new Date("")),n={}}else if(r instanceof Array)for(var h=r.length,m=1;m<=h;m+=1){s[1]=r[m-1];var f=o.apply(this,s);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}m===h&&(this.$d=new Date(""))}else a.call(this,e)}}}()},78113:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}}()},82839:function(e){e.exports=function(){"use strict";return function(e,t,o){var i=t.prototype,a=function(e){return e&&(e.indexOf?e:e.s)},n=function(e,t,o,i,n){var s=e.name?e:e.$locale(),r=a(s[t]),l=a(s[o]),d=r||l.map((function(e){return e.slice(0,i)}));if(!n)return d;var c=s.weekStart;return d.map((function(e,t){return d[(t+(c||0))%7]}))},s=function(){return o.Ls[o.locale()]},r=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,o){return t||o.slice(1)}))}(e.formats[t.toUpperCase()])},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):n(e,"months")},monthsShort:function(t){return t?t.format("MMM"):n(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):n(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):n(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):n(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return r(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return l.bind(this)()},o.localeData=function(){var e=s();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(t){return r(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},o.months=function(){return n(s(),"months")},o.monthsShort=function(){return n(s(),"monthsShort","months",3)},o.weekdays=function(e){return n(s(),"weekdays",null,null,e)},o.weekdaysShort=function(e){return n(s(),"weekdaysShort","weekdays",3,e)},o.weekdaysMin=function(e){return n(s(),"weekdaysMin","weekdays",2,e)}}}()},55477:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,o,i){var a=o.prototype,n=a.format;i.en.formats=e,a.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var o=this.$locale().formats,i=function(t,o){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,i,a){var n=a&&a.toUpperCase();return i||o[a]||e[a]||o[n].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,o){return t||o.slice(1)}))}))}(t,void 0===o?{}:o);return n.call(this,i)}}}()},4684:(e,t,o)=>{"use strict";o.r(t),o.d(t,{Accordion:()=>c,AccordionItem:()=>v,ActionsMenu:()=>O,Anchor:()=>L,AnchoredRegion:()=>I,Avatar:()=>V,Badge:()=>X,Banner:()=>ie,BaseDatasource:()=>od,Breadcrumb:()=>re,BreadcrumbItem:()=>he,Button:()=>ye,CSSVarsTokenMapper:()=>Xl,Calendar:()=>De,Card:()=>Le,Checkbox:()=>Ie,Combobox:()=>Ge,ConnectionIndicator:()=>Ke,DEFUALT_FILTER_BAR_COLUMNS:()=>va,DataGrid:()=>tt,DataGridCell:()=>st,DataGridDatasource:()=>id,DataGridRow:()=>ut,DatePicker:()=>Mt,Dialog:()=>Lo,DialogElement:()=>To,Disclosure:()=>No,Divider:()=>Bo,DropdownMenu:()=>Ko,ErrorBanner:()=>oi,ErrorBoundary:()=>bi,ErrorBoundaryEvent:()=>ai,ErrorDialog:()=>$i,FaPrefixFromStyle:()=>vn,FileUpload:()=>Ui,Filter:()=>ra,FilterBar:()=>ga,FilterEvents:()=>sa,FlexLayout:()=>Da,FlexMediaQueriesEnum:()=>ya,Flipper:()=>ka,Flyout:()=>Ea,FoundationDesignSystemProvider:()=>Fo,FoundationRouter:()=>Sd,GridLayout:()=>Wa,GridLayoutItem:()=>Ja,GridMediaQueriesEnum:()=>ja,HorizontalScroll:()=>on,Icon:()=>gn,Listbox:()=>xn,ListboxOption:()=>On,Menu:()=>An,MenuItem:()=>Pn,Modal:()=>Wn,Multiselect:()=>os,MultiselectDatasource:()=>yd,NotificationListener:()=>fd,NumberField:()=>ss,OptionsDatasource:()=>bd,Popper:()=>ps,Progress:()=>bs,ProgressRing:()=>$s,Radio:()=>Ts,RadioGroup:()=>Es,SegmentedControl:()=>zs,SegmentedItem:()=>qs,Select:()=>er,Skeleton:()=>sr,Slider:()=>mr,SliderLabel:()=>wr,Snackbar:()=>Or,Switch:()=>Lr,Tab:()=>Ir,TabPanel:()=>Gr,Tabs:()=>Zr,TextArea:()=>tl,TextField:()=>rl,Toast:()=>fl,Toolbar:()=>yl,Tooltip:()=>Dl,TreeItem:()=>Ll,TreeView:()=>Il,UrlInput:()=>Yl,accentFillActive:()=>s.accentFillActive,accentFillActiveDelta:()=>s.accentFillActiveDelta,accentFillFocus:()=>s.accentFillFocus,accentFillFocusDelta:()=>s.accentFillFocusDelta,accentFillHover:()=>s.accentFillHover,accentFillHoverDelta:()=>s.accentFillHoverDelta,accentFillRest:()=>s.accentFillRest,accentFillRestDelta:()=>s.accentFillRestDelta,accentForegroundActive:()=>s.accentForegroundActive,accentForegroundActiveDelta:()=>s.accentForegroundActiveDelta,accentForegroundFocus:()=>s.accentForegroundFocus,accentForegroundFocusDelta:()=>s.accentForegroundFocusDelta,accentForegroundHover:()=>s.accentForegroundHover,accentForegroundHoverDelta:()=>s.accentForegroundHoverDelta,accentForegroundRest:()=>s.accentForegroundRest,accentForegroundRestDelta:()=>s.accentForegroundRestDelta,accentPalette:()=>s.accentPalette,accentPaletteValue:()=>uo,actionsMenuBaseStyles:()=>F,baseComponents:()=>Wl,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,baseLayerLuminanceValue:()=>ho,black:()=>Et,bodyFont:()=>s.bodyFont,closeIcon:()=>Co,configureDesignSystem:()=>co,controlCornerRadius:()=>s.controlCornerRadius,controlCornerRadiusValue:()=>fo,createDesignSystemProxy:()=>ql,createFormData:()=>Pi,defaultAccordionConfig:()=>p,defaultAccordionItemConfig:()=>b,defaultAnchorConfig:()=>A,defaultAnchoredRegionConfig:()=>P,defaultAvatarConfig:()=>U,defaultBadgeConfig:()=>J,defaultBreadcrumbConfig:()=>de,defaultBreadcrumbItemConfig:()=>fe,defaultButtonConfig:()=>xe,defaultCalendarConfig:()=>Oe,defaultCardConfig:()=>Ae,defaultCheckboxConfig:()=>Pe,defaultComboboxConfig:()=>Ye,defaultDataGridCellConfig:()=>lt,defaultDataGridConfig:()=>it,defaultDataGridRowConfig:()=>ht,defaultDatePickerConfig:()=>Lt,defaultDialogConfig:()=>ko,defaultDisclosureConfig:()=>Io,defaultDividerConfig:()=>Go,defaultFileUploadConfig:()=>qi,defaultFillColor:()=>Ht,defaultFlexLayoutConfig:()=>$a,defaultFlipperConfig:()=>La,defaultFlyoutConfig:()=>Ha,defaultGridLayoutConfig:()=>Ya,defaultGridLayoutItemConfig:()=>Ka,defaultHorizontalScrollConfig:()=>nn,defaultIconConfig:()=>fn,defaultListboxConfig:()=>Sn,defaultListboxOptionConfig:()=>kn,defaultMenuConfig:()=>Nn,defaultMenuItemConfig:()=>Bn,defaultModalConfig:()=>Un,defaultMultiselectConfig:()=>ts,defaultNeutralForegroundContrast:()=>Kt,defaultNumberFieldConfig:()=>ls,defaultProgressConfig:()=>ws,defaultProgressRingConfig:()=>Cs,defaultRadioConfig:()=>Ms,defaultRadioGroupConfig:()=>Hs,defaultSegmentedControlConfig:()=>Vs,defaultSegmentedItemConfig:()=>Xs,defaultSelectConfig:()=>or,defaultSkeletonConfig:()=>lr,defaultSliderConfig:()=>vr,defaultSliderLabelConfig:()=>Fr,defaultSwitchConfig:()=>Ar,defaultTabConfig:()=>Pr,defaultTabPanelConfig:()=>Yr,defaultTabsConfig:()=>Kr,defaultTextAreaConfig:()=>il,defaultTextFieldConfig:()=>dl,defaultToastConfig:()=>ml,defaultToolbarConfig:()=>xl,defaultTooltipConfig:()=>Ol,defaultTreeItemConfig:()=>Al,defaultTreeViewConfig:()=>Pl,defaultUrlInputConfig:()=>Vl,defineFactory:()=>wd,density:()=>s.density,designToken:()=>oo,designUnit:()=>s.designUnit,designUnitValue:()=>vo,direction:()=>s.direction,directionValue:()=>mo,disabledOpacity:()=>s.disabledOpacity,downloadFile:()=>Bi,dropdownMenuBaseStyles:()=>Uo,errorDialogTemplate:()=>Fi,extractMenuItems:()=>qo,fillColor:()=>s.fillColor,flyoutAnimationTime:()=>Aa,focusStrokeInner:()=>s.focusStrokeInner,focusStrokeOuter:()=>s.focusStrokeOuter,focusStrokeWidth:()=>s.focusStrokeWidth,foregroundOnAccentActive:()=>s.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>s.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>s.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>s.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>s.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>s.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>s.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>s.foregroundOnAccentRestLarge,foundationAccordion:()=>h,foundationAccordionItem:()=>y,foundationAccordionItemShadowOptions:()=>g,foundationAccordionItemStyles:()=>m,foundationAccordionItemTemplate:()=>f,foundationAccordionShadowOptions:()=>u,foundationAccordionStyles:()=>l,foundationAccordionTemplate:()=>d,foundationActionsMenu:()=>_,foundationActionsMenuStyles:()=>S,foundationActionsMenuTemplate:()=>C,foundationAnchor:()=>R,foundationAnchorShadowOptions:()=>M,foundationAnchorStyles:()=>k,foundationAnchorTemplate:()=>T,foundationAnchoredRegion:()=>j,foundationAnchoredRegionShadowOptions:()=>H,foundationAnchoredRegionStyles:()=>E,foundationAnchoredRegionTemplate:()=>N,foundationAvatar:()=>W,foundationAvatarShadowOptions:()=>Y,foundationAvatarStyles:()=>B,foundationAvatarTemplate:()=>z,foundationBadge:()=>Q,foundationBadgeShadowOptions:()=>K,foundationBadgeStyles:()=>q,foundationBadgeTemplate:()=>Z,foundationBanner:()=>ae,foundationBannerShadowOptions:()=>oe,foundationBannerStyles:()=>ee,foundationBannerTemplate:()=>te,foundationBreadcrumb:()=>ce,foundationBreadcrumbItem:()=>ve,foundationBreadcrumbItemShadowOptions:()=>me,foundationBreadcrumbItemStyles:()=>ue,foundationBreadcrumbItemTemplate:()=>pe,foundationBreadcrumbShadowOptions:()=>le,foundationBreadcrumbStyles:()=>ne,foundationBreadcrumbTemplate:()=>se,foundationButton:()=>Fe,foundationButtonShadowOptions:()=>we,foundationButtonStyles:()=>ge,foundationButtonTemplate:()=>be,foundationCalendar:()=>_e,foundationCalendarShadowOptions:()=>Ce,foundationCalendarStyles:()=>Se,foundationCalendarTemplate:()=>$e,foundationCard:()=>Re,foundationCardShadowOptions:()=>Me,foundationCardStyles:()=>ke,foundationCardTemplate:()=>Te,foundationCheckbox:()=>je,foundationCheckboxShadowOptions:()=>He,foundationCheckboxStyles:()=>Ne,foundationCheckboxTemplate:()=>Ee,foundationCombobox:()=>Ue,foundationComboboxShadowOptions:()=>Ve,foundationComboboxStyles:()=>Be,foundationComboboxTemplate:()=>ze,foundationConnectionIndicator:()=>Je,foundationConnectionIndicatorStyles:()=>Ze,foundationConnectionIndicatorTemplate:()=>Xe,foundationDataGrid:()=>at,foundationDataGridCell:()=>dt,foundationDataGridCellShadowOptions:()=>rt,foundationDataGridCellStyles:()=>nt,foundationDataGridCellTemplate:()=>n.dataGridCellTemplate,foundationDataGridRow:()=>mt,foundationDataGridRowShadowOptions:()=>pt,foundationDataGridRowStyles:()=>ct,foundationDataGridRowTemplate:()=>n.dataGridRowTemplate,foundationDataGridShadowOptions:()=>ot,foundationDataGridStyles:()=>Qe,foundationDataGridTemplate:()=>et,foundationDatePicker:()=>At,foundationDatePickerShadowOptions:()=>Tt,foundationDatePickerStyles:()=>_t,foundationDatePickerTemplate:()=>kt,foundationDesignSystemProvider:()=>So,foundationDialog:()=>Mo,foundationDialogShadowOptions:()=>_o,foundationDialogStyles:()=>Do,foundationDialogTemplate:()=>Oo,foundationDisclosure:()=>Ho,foundationDisclosureShadowOptions:()=>Eo,foundationDisclosureStyles:()=>Ao,foundationDisclosureTemplate:()=>Ro,foundationDivider:()=>Vo,foundationDividerShadowOptions:()=>zo,foundationDividerStyles:()=>Po,foundationDividerTemplate:()=>jo,foundationDropdownMenu:()=>Jo,foundationDropdownMenuStyles:()=>Wo,foundationDropdownMenuTemplate:()=>Xo,foundationErrorBanner:()=>ii,foundationErrorBannerShadowOptions:()=>ti,foundationErrorBannerTemplate:()=>ei,foundationErrorBoundary:()=>yi,foundationErrorBoundaryShadowOptions:()=>gi,foundationErrorBoundaryTemplate:()=>vi,foundationErrorDialog:()=>Di,foundationErrorDialogShadowOptions:()=>Si,foundationErrorDialogStyles:()=>wi,foundationFileUpload:()=>Zi,foundationFileUploadShadowOptions:()=>Wi,foundationFileUploadStyles:()=>Ei,foundationFileUploadTemplate:()=>Hi,foundationFilter:()=>la,foundationFilterBar:()=>ba,foundationFilterBarStyles:()=>ca,foundationFilterBarTemplate:()=>fa,foundationFilterStyles:()=>Xi,foundationFilterTemplate:()=>na,foundationFlexLayout:()=>Ca,foundationFlexLayoutShadowOptions:()=>Sa,foundationFlexLayoutStyles:()=>xa,foundationFlexLayoutTemplate:()=>Fa,foundationFlipper:()=>Ma,foundationFlipperShadowOptions:()=>Ta,foundationFlipperStyles:()=>Oa,foundationFlipperTemplate:()=>_a,foundationFlyout:()=>Pa,foundationFlyoutShadowOptions:()=>Ia,foundationFlyoutStyles:()=>Ra,foundationFlyoutTemplate:()=>Na,foundationGridLayout:()=>qa,foundationGridLayoutItem:()=>Qa,foundationGridLayoutItemShadowOptions:()=>Xa,foundationGridLayoutItemTemplate:()=>Za,foundationGridLayoutShadowOptions:()=>Va,foundationGridLayoutStyles:()=>za,foundationGridLayoutTemplate:()=>Ga,foundationHorizontalScroll:()=>sn,foundationHorizontalScrollShadowOptions:()=>an,foundationHorizontalScrollStyles:()=>en,foundationHorizontalScrollTemplate:()=>tn,foundationIcon:()=>bn,foundationIconShadowOptions:()=>mn,foundationIconStyles:()=>pn,foundationIconTemplate:()=>hn,foundationListbox:()=>$n,foundationListboxOption:()=>Tn,foundationListboxOptionShadowOptions:()=>_n,foundationListboxOptionStyles:()=>Dn,foundationListboxOptionTemplate:()=>Cn,foundationListboxShadowOptions:()=>Fn,foundationListboxStyles:()=>yn,foundationListboxTemplate:()=>wn,foundationMenu:()=>En,foundationMenuItem:()=>zn,foundationMenuItemShadowOptions:()=>jn,foundationMenuItemStyles:()=>In,foundationMenuItemTemplate:()=>Hn,foundationMenuShadowOptions:()=>Rn,foundationMenuStyles:()=>Ln,foundationMenuTemplate:()=>Mn,foundationModal:()=>qn,foundationModalShadowOptions:()=>Yn,foundationModalStyles:()=>Gn,foundationModalTemplate:()=>Vn,foundationMultiselect:()=>is,foundationMultiselectShadowOptions:()=>es,foundationNotificationListener:()=>vd,foundationNotificationListenerShadowOptions:()=>md,foundationNotificationListenerTemplate:()=>ad,foundationNumberField:()=>ds,foundationNumberFieldShadowOptions:()=>rs,foundationNumberFieldStyles:()=>as,foundationNumberFieldTemplate:()=>ns,foundationPopper:()=>fs,foundationProgress:()=>xs,foundationProgressRing:()=>Os,foundationProgressRingShadowOptions:()=>Ds,foundationProgressRingStyles:()=>Fs,foundationProgressRingTemplate:()=>Ss,foundationProgressShadowOptions:()=>ys,foundationProgressStyles:()=>vs,foundationProgressTemplate:()=>gs,foundationRadio:()=>As,foundationRadioGroup:()=>Ps,foundationRadioGroupShadowOptions:()=>Is,foundationRadioGroupStyles:()=>Rs,foundationRadioGroupTemplate:()=>Ns,foundationRadioShadowOptions:()=>Ls,foundationRadioStyles:()=>_s,foundationRadioTemplate:()=>ks,foundationSegmentedControl:()=>Ys,foundationSegmentedControlShadowOptions:()=>Gs,foundationSegmentedControlStyles:()=>js,foundationSegmentedControlTemplate:()=>Bs,foundationSegmentedItem:()=>Ks,foundationSegmentedItemShadowOptions:()=>Zs,foundationSegmentedItemStyles:()=>Us,foundationSegmentedItemTemplate:()=>Ws,foundationSelect:()=>ir,foundationSelectShadowOptions:()=>tr,foundationSelectStyles:()=>Js,foundationSelectTemplate:()=>Qs,foundationSkeleton:()=>dr,foundationSkeletonShadowOptions:()=>rr,foundationSkeletonStyles:()=>ar,foundationSkeletonTemplate:()=>nr,foundationSlider:()=>gr,foundationSliderLabel:()=>Sr,foundationSliderLabelShadowOptions:()=>xr,foundationSliderLabelStyles:()=>br,foundationSliderLabelTemplate:()=>yr,foundationSliderShadowOptions:()=>fr,foundationSliderStyles:()=>cr,foundationSliderTemplate:()=>hr,foundationSnackbar:()=>_r,foundationSnackbarShadowOptions:()=>Cr,foundationSnackbarStyles:()=>$r,foundationSnackbarTemplate:()=>Dr,foundationSwitch:()=>Rr,foundationSwitchShadowOptions:()=>Mr,foundationSwitchStyles:()=>kr,foundationSwitchTemplate:()=>Tr,foundationTab:()=>jr,foundationTabPanel:()=>Ur,foundationTabPanelShadowOptions:()=>Vr,foundationTabPanelStyles:()=>Br,foundationTabPanelTemplate:()=>zr,foundationTabShadowOptions:()=>Hr,foundationTabStyles:()=>Nr,foundationTabTemplate:()=>Er,foundationTabs:()=>Jr,foundationTabsShadowOptions:()=>Xr,foundationTabsStyles:()=>Wr,foundationTabsTemplate:()=>qr,foundationTextArea:()=>al,foundationTextAreaShadowOptions:()=>ol,foundationTextAreaStyles:()=>Qr,foundationTextAreaTemplate:()=>el,foundationTextField:()=>cl,foundationTextFieldShadowOptions:()=>ll,foundationTextFieldStyles:()=>nl,foundationTextFieldTemplate:()=>sl,foundationToast:()=>vl,foundationToastShadowOptions:()=>hl,foundationToastStyles:()=>ul,foundationToastTemplate:()=>pl,foundationToolbar:()=>Fl,foundationToolbarShadowOptions:()=>wl,foundationToolbarStyles:()=>gl,foundationToolbarTemplate:()=>bl,foundationTooltip:()=>_l,foundationTooltipShadowOptions:()=>Cl,foundationTooltipStyles:()=>Sl,foundationTooltipTemplate:()=>$l,foundationTreeItem:()=>Rl,foundationTreeItemShadowOptions:()=>Ml,foundationTreeItemStyles:()=>kl,foundationTreeItemTemplate:()=>Tl,foundationTreeView:()=>jl,foundationTreeViewShadowOptions:()=>Hl,foundationTreeViewStyles:()=>Nl,foundationTreeViewTemplate:()=>El,foundationUrlInput:()=>Ul,foundationUrlInputShadowOptions:()=>Gl,foundationUrlInputStyles:()=>Bl,fuiAccentPalette:()=>Wt,fuiAccentSwatch:()=>Ut,fuiCardFillColor:()=>Xt,fuiCardForegroundColor:()=>Qt,fuiDefaultCardFillColor:()=>jt,fuiDefaultCardPalette:()=>Bt,fuiFillColor:()=>Zt,fuiNeutralPalette:()=>Vt,fuiNeutralSwatch:()=>Gt,getDefaultConfig:()=>so,getDropdownMenuTemplate:()=>Zo,getErrorDialogTemplate:()=>xi,getExports:()=>ro,getFontawesomeIconsCss:()=>un,getPrefixedFileUpload:()=>Ii,getPrefixedMultiselect:()=>Jn,getTypeRampValue:()=>lo,jsonConverter:()=>us,mapType:()=>ua,maxheight:()=>Xn,media:()=>G,menuTemplate:()=>$,mixinFoundationFontFamily:()=>bo,multiselectStyles:()=>Kn,multiselectTemplate:()=>Qn,neutralFillActive:()=>s.neutralFillActive,neutralFillActiveDelta:()=>s.neutralFillActiveDelta,neutralFillFocus:()=>s.neutralFillFocus,neutralFillFocusDelta:()=>s.neutralFillFocusDelta,neutralFillHover:()=>s.neutralFillHover,neutralFillHoverDelta:()=>s.neutralFillHoverDelta,neutralFillInputActive:()=>s.neutralFillInputActive,neutralFillInputActiveDelta:()=>s.neutralFillInputActiveDelta,neutralFillInputFocus:()=>s.neutralFillInputFocus,neutralFillInputFocusDelta:()=>s.neutralFillInputFocusDelta,neutralFillInputHover:()=>s.neutralFillInputHover,neutralFillInputHoverDelta:()=>s.neutralFillInputHoverDelta,neutralFillInputRest:()=>s.neutralFillInputRest,neutralFillInputRestDelta:()=>s.neutralFillInputRestDelta,neutralFillLayerRest:()=>s.neutralFillLayerRest,neutralFillLayerRestDelta:()=>s.neutralFillLayerRestDelta,neutralFillRest:()=>s.neutralFillRest,neutralFillRestDelta:()=>s.neutralFillRestDelta,neutralFillStealthActive:()=>s.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>s.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>s.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>s.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>s.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>s.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>s.neutralFillStealthRest,neutralFillStealthRestDelta:()=>s.neutralFillStealthRestDelta,neutralFillStrongActive:()=>s.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>s.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>s.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>s.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>s.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>s.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>s.neutralFillStrongRest,neutralFillStrongRestDelta:()=>s.neutralFillStrongRestDelta,neutralForeground:()=>Jt,neutralForegroundHint:()=>s.neutralForegroundHint,neutralForegroundRest:()=>s.neutralForegroundRest,neutralLayer1:()=>s.neutralLayer1,neutralLayer2:()=>s.neutralLayer2,neutralLayer3:()=>s.neutralLayer3,neutralLayer4:()=>s.neutralLayer4,neutralLayerCardContainer:()=>s.neutralLayerCardContainer,neutralLayerFloating:()=>s.neutralLayerFloating,neutralPalette:()=>s.neutralPalette,neutralPaletteValue:()=>po,neutralStrokeActive:()=>s.neutralStrokeActive,neutralStrokeActiveDelta:()=>s.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>s.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>s.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>s.neutralStrokeFocus,neutralStrokeFocusDelta:()=>s.neutralStrokeFocusDelta,neutralStrokeHover:()=>s.neutralStrokeHover,neutralStrokeHoverDelta:()=>s.neutralStrokeHoverDelta,neutralStrokeRest:()=>s.neutralStrokeRest,neutralStrokeRestDelta:()=>s.neutralStrokeRestDelta,paletteFromHex:()=>ao,provideDesignSystem:()=>Zl,provideTokens:()=>to,registerFoundationDesignSystem:()=>$d,singleOptionTemplate:()=>D,strokeWidth:()=>s.strokeWidth,swatchConverter:()=>io,tagFor:()=>xd,typeRampBaseFontSize:()=>s.typeRampBaseFontSize,typeRampBaseLineHeight:()=>s.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>s.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>s.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>s.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>s.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>s.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>s.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>s.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>s.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>s.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>s.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>s.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>s.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>s.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>s.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>s.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>s.typeRampPlus6LineHeight,uploadFiles:()=>ji,urlinputTemplate:()=>zl,white:()=>Nt});var i={};o.r(i),o.d(i,{accentFillActive:()=>s.accentFillActive,accentFillActiveDelta:()=>s.accentFillActiveDelta,accentFillFocus:()=>s.accentFillFocus,accentFillFocusDelta:()=>s.accentFillFocusDelta,accentFillHover:()=>s.accentFillHover,accentFillHoverDelta:()=>s.accentFillHoverDelta,accentFillRest:()=>s.accentFillRest,accentFillRestDelta:()=>s.accentFillRestDelta,accentForegroundActive:()=>s.accentForegroundActive,accentForegroundActiveDelta:()=>s.accentForegroundActiveDelta,accentForegroundFocus:()=>s.accentForegroundFocus,accentForegroundFocusDelta:()=>s.accentForegroundFocusDelta,accentForegroundHover:()=>s.accentForegroundHover,accentForegroundHoverDelta:()=>s.accentForegroundHoverDelta,accentForegroundRest:()=>s.accentForegroundRest,accentForegroundRestDelta:()=>s.accentForegroundRestDelta,accentPalette:()=>s.accentPalette,baseHeightMultiplier:()=>s.baseHeightMultiplier,baseLayerLuminance:()=>s.baseLayerLuminance,bodyFont:()=>s.bodyFont,controlCornerRadius:()=>s.controlCornerRadius,defaultNeutralForegroundContrast:()=>Kt,density:()=>s.density,designUnit:()=>s.designUnit,direction:()=>s.direction,disabledOpacity:()=>s.disabledOpacity,fillColor:()=>s.fillColor,focusStrokeInner:()=>s.focusStrokeInner,focusStrokeOuter:()=>s.focusStrokeOuter,focusStrokeWidth:()=>s.focusStrokeWidth,foregroundOnAccentActive:()=>s.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>s.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>s.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>s.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>s.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>s.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>s.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>s.foregroundOnAccentRestLarge,fuiCardFillColor:()=>Xt,fuiCardForegroundColor:()=>Qt,fuiFillColor:()=>Zt,neutralFillActive:()=>s.neutralFillActive,neutralFillActiveDelta:()=>s.neutralFillActiveDelta,neutralFillFocus:()=>s.neutralFillFocus,neutralFillFocusDelta:()=>s.neutralFillFocusDelta,neutralFillHover:()=>s.neutralFillHover,neutralFillHoverDelta:()=>s.neutralFillHoverDelta,neutralFillInputActive:()=>s.neutralFillInputActive,neutralFillInputActiveDelta:()=>s.neutralFillInputActiveDelta,neutralFillInputFocus:()=>s.neutralFillInputFocus,neutralFillInputFocusDelta:()=>s.neutralFillInputFocusDelta,neutralFillInputHover:()=>s.neutralFillInputHover,neutralFillInputHoverDelta:()=>s.neutralFillInputHoverDelta,neutralFillInputRest:()=>s.neutralFillInputRest,neutralFillInputRestDelta:()=>s.neutralFillInputRestDelta,neutralFillLayerRest:()=>s.neutralFillLayerRest,neutralFillLayerRestDelta:()=>s.neutralFillLayerRestDelta,neutralFillRest:()=>s.neutralFillRest,neutralFillRestDelta:()=>s.neutralFillRestDelta,neutralFillStealthActive:()=>s.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>s.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>s.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>s.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>s.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>s.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>s.neutralFillStealthRest,neutralFillStealthRestDelta:()=>s.neutralFillStealthRestDelta,neutralFillStrongActive:()=>s.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>s.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>s.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>s.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>s.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>s.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>s.neutralFillStrongRest,neutralFillStrongRestDelta:()=>s.neutralFillStrongRestDelta,neutralForeground:()=>Jt,neutralForegroundHint:()=>s.neutralForegroundHint,neutralForegroundRest:()=>s.neutralForegroundRest,neutralLayer1:()=>s.neutralLayer1,neutralLayer2:()=>s.neutralLayer2,neutralLayer3:()=>s.neutralLayer3,neutralLayer4:()=>s.neutralLayer4,neutralLayerCardContainer:()=>s.neutralLayerCardContainer,neutralLayerFloating:()=>s.neutralLayerFloating,neutralPalette:()=>s.neutralPalette,neutralStrokeActive:()=>s.neutralStrokeActive,neutralStrokeActiveDelta:()=>s.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>s.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>s.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>s.neutralStrokeFocus,neutralStrokeFocusDelta:()=>s.neutralStrokeFocusDelta,neutralStrokeHover:()=>s.neutralStrokeHover,neutralStrokeHoverDelta:()=>s.neutralStrokeHoverDelta,neutralStrokeRest:()=>s.neutralStrokeRest,neutralStrokeRestDelta:()=>s.neutralStrokeRestDelta,strokeWidth:()=>s.strokeWidth,typeRampBaseFontSize:()=>s.typeRampBaseFontSize,typeRampBaseLineHeight:()=>s.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>s.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>s.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>s.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>s.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>s.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>s.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>s.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>s.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>s.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>s.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>s.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>s.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>s.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>s.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>s.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>s.typeRampPlus6LineHeight});var a={};o.r(a),o.d(a,{accentPaletteValue:()=>uo,baseLayerLuminanceValue:()=>ho,controlCornerRadiusValue:()=>fo,designUnitValue:()=>vo,directionValue:()=>mo,neutralPaletteValue:()=>po});var n=o(75951),s=o(13896),r=o(83147);const l=(e,t)=>r.css`
|
|
3
3
|
${(0,s.accordionStyles)(e,t)}
|
|
4
4
|
`,d=(e,t)=>(0,n.accordionTemplate)(e,t);class c extends n.Accordion{}const u={delegatesFocus:!0,mode:"open"},p={},h=c.compose(Object.assign({baseName:"accordion",template:d,styles:l,shadowOptions:u},p)),m=(e,t)=>r.css`
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
`)}
|
|
512
512
|
</div>
|
|
513
513
|
</div>
|
|
514
|
-
`,Tt=void 0,Lt={};class Mt extends n.FoundationElement{formatChanged(e,t){t&&this.calendar&&(this.formatDate=vt()(this.currentDate.Date).format(t))}valueChanged(e,t){if(t&&this.calendar){const e=vt()().localeData().longDateFormat("L");this.currentDate=new Dt(vt()(t,e).toDate(),this.lang),this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.formatDate=vt()(this.currentDate.Date).format(this.format),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}}constructor(){super(),this.format="MM-DD-YYYY",this.lang="en-US",this.visible=!1,this.position="bottom",vt().extend(bt()),vt().extend(Ft()),vt().extend(wt()),this.substringNumber=3;const e=this.getAttribute("value"),t=e?vt()(e,"MM-DD-YYYY"):vt()();this.currentDate=new Dt(t.toDate(),this.lang),this.value=vt()(this.currentDate.Date).format("MM-DD-YYYY"),this.calendar=new Ot(this.currentDate.year,this.currentDate.monthNumber,this.lang)}connectedCallback(){super.connectedCallback(),this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year,this.formatDate=vt()(this.currentDate.Date).format(this.format),this.toggleButton.addEventListener("click",(()=>this.toggleCalendar())),this.prevBtn.addEventListener("click",(()=>this.prevMonth())),this.nextBtn.addEventListener("click",(()=>this.nextMonth())),this.monthList=this.getMonthDaysGrid()}updateHeaderText(){this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year}toggleCalendar(){this.visible=!this.visible,this.toggleVisibility(),this.isCurrentCalendarMonth()||(this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.updateHeaderText())}toggleVisibility(){this.calendarDropdownClasses=(0,x.A)(["visible",this.visible],this.position)}isSelectedDate(e){return vt()(e.Date).isSame(this.currentDate.Date,"day")}isCurrentCalendarMonth(){return this.currentMonth===this.currentDate.monthNumber&&this.currentYear===this.currentDate.year}prevMonth(){this.calendar.goToPreviousMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}nextMonth(){this.calendar.goToNextMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}selectDay(e){vt()(e.Date).isSame(this.currentDate.Date)||(this.currentDate=e,e.monthNumber!==this.calendar.month.number&&this.prevMonth(),this.formatDate=vt()(this.currentDate.Date).format(this.format),this.value=vt()(e.Date).format("MM-DD-YYYY"),this.toggleCalendar())}getMonthDaysGrid(){const e=this.calendar.month.getDay(1),t=this.calendar.getPreviousMonth(),o=e.dayNumber-1,i=this.calendar.month.numberOfDays+o,a=Array.from({length:i});for(let e=o;e<i;e+=1)a[e]=this.calendar.month.getDay(e+1-o);for(let e=0;e<o;e+=1){const i=o-(e+1);a[e]=t.getDay(t.numberOfDays-i)}return a}}(0,w.__decorate)([r.attr],Mt.prototype,"format",void 0),(0,w.__decorate)([r.attr],Mt.prototype,"lang",void 0),(0,w.__decorate)([r.attr],Mt.prototype,"visible",void 0),(0,w.__decorate)([r.attr],Mt.prototype,"position",void 0),(0,w.__decorate)([r.attr],Mt.prototype,"value",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"currentDate",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"currentMonth",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"currentYear",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"calendarDropdownClasses",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"formatDate",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"monthList",void 0);const At=Mt.compose(Object.assign({baseName:"date-picker",styles:_t,template:kt,shadowOptions:Tt},Lt));var Rt=o(82694);const Nt=s.SwatchRGB.create(1,1,1),Et=s.SwatchRGB.create(0,0,0),It=(0,Rt.parseColorHexRGB)("#585858"),Ht=s.SwatchRGB.create(It.r,It.g,It.b),Pt=(0,Rt.parseColorHexRGB)("#ffffff"),jt=s.SwatchRGB.create(Pt.r,Pt.g,Pt.b),Bt=s.PaletteRGB.from(jt),zt=(0,Rt.parseColorHexRGB)("#eeeeee"),Gt=s.SwatchRGB.create(zt.r,zt.g,zt.b),Vt=s.PaletteRGB.from(Gt),Yt=(0,Rt.parseColorHexRGB)("#08c3a5"),Ut=s.SwatchRGB.create(Yt.r,Yt.g,Yt.b),Wt=s.PaletteRGB.from(Ut),{create:qt}=n.DesignToken,Zt=qt("fui-fill-color").withDefault(Ht),Xt=qt({name:"card-fill-color",cssCustomPropertyName:"fui-card-fill-color"}).withDefault(jt),Kt=14;function Jt(e,t){return e.colorContrast(t,Kt)}const Qt=qt({name:"card-foreground-color",cssCustomPropertyName:"fui-card-foreground-color"}).withDefault((e=>Jt(qt("fui-card-palette").withDefault(Bt).getValueFor(e),Xt.getValueFor(e))));var eo=o(
|
|
514
|
+
`,Tt=void 0,Lt={};class Mt extends n.FoundationElement{formatChanged(e,t){t&&this.calendar&&(this.formatDate=vt()(this.currentDate.Date).format(t))}valueChanged(e,t){if(t&&this.calendar){const e=vt()().localeData().longDateFormat("L");this.currentDate=new Dt(vt()(t,e).toDate(),this.lang),this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.formatDate=vt()(this.currentDate.Date).format(this.format),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}}constructor(){super(),this.format="MM-DD-YYYY",this.lang="en-US",this.visible=!1,this.position="bottom",vt().extend(bt()),vt().extend(Ft()),vt().extend(wt()),this.substringNumber=3;const e=this.getAttribute("value"),t=e?vt()(e,"MM-DD-YYYY"):vt()();this.currentDate=new Dt(t.toDate(),this.lang),this.value=vt()(this.currentDate.Date).format("MM-DD-YYYY"),this.calendar=new Ot(this.currentDate.year,this.currentDate.monthNumber,this.lang)}connectedCallback(){super.connectedCallback(),this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year,this.formatDate=vt()(this.currentDate.Date).format(this.format),this.toggleButton.addEventListener("click",(()=>this.toggleCalendar())),this.prevBtn.addEventListener("click",(()=>this.prevMonth())),this.nextBtn.addEventListener("click",(()=>this.nextMonth())),this.monthList=this.getMonthDaysGrid()}updateHeaderText(){this.currentMonth=this.calendar.month.name,this.currentYear=this.calendar.year}toggleCalendar(){this.visible=!this.visible,this.toggleVisibility(),this.isCurrentCalendarMonth()||(this.calendar.goToDate(this.currentDate.monthNumber,this.currentDate.year),this.updateHeaderText())}toggleVisibility(){this.calendarDropdownClasses=(0,x.A)(["visible",this.visible],this.position)}isSelectedDate(e){return vt()(e.Date).isSame(this.currentDate.Date,"day")}isCurrentCalendarMonth(){return this.currentMonth===this.currentDate.monthNumber&&this.currentYear===this.currentDate.year}prevMonth(){this.calendar.goToPreviousMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}nextMonth(){this.calendar.goToNextMonth(),this.updateHeaderText(),this.monthList=this.getMonthDaysGrid()}selectDay(e){vt()(e.Date).isSame(this.currentDate.Date)||(this.currentDate=e,e.monthNumber!==this.calendar.month.number&&this.prevMonth(),this.formatDate=vt()(this.currentDate.Date).format(this.format),this.value=vt()(e.Date).format("MM-DD-YYYY"),this.toggleCalendar())}getMonthDaysGrid(){const e=this.calendar.month.getDay(1),t=this.calendar.getPreviousMonth(),o=e.dayNumber-1,i=this.calendar.month.numberOfDays+o,a=Array.from({length:i});for(let e=o;e<i;e+=1)a[e]=this.calendar.month.getDay(e+1-o);for(let e=0;e<o;e+=1){const i=o-(e+1);a[e]=t.getDay(t.numberOfDays-i)}return a}}(0,w.__decorate)([r.attr],Mt.prototype,"format",void 0),(0,w.__decorate)([r.attr],Mt.prototype,"lang",void 0),(0,w.__decorate)([r.attr],Mt.prototype,"visible",void 0),(0,w.__decorate)([r.attr],Mt.prototype,"position",void 0),(0,w.__decorate)([r.attr],Mt.prototype,"value",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"currentDate",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"currentMonth",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"currentYear",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"calendarDropdownClasses",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"formatDate",void 0),(0,w.__decorate)([r.observable],Mt.prototype,"monthList",void 0);const At=Mt.compose(Object.assign({baseName:"date-picker",styles:_t,template:kt,shadowOptions:Tt},Lt));var Rt=o(82694);const Nt=s.SwatchRGB.create(1,1,1),Et=s.SwatchRGB.create(0,0,0),It=(0,Rt.parseColorHexRGB)("#585858"),Ht=s.SwatchRGB.create(It.r,It.g,It.b),Pt=(0,Rt.parseColorHexRGB)("#ffffff"),jt=s.SwatchRGB.create(Pt.r,Pt.g,Pt.b),Bt=s.PaletteRGB.from(jt),zt=(0,Rt.parseColorHexRGB)("#eeeeee"),Gt=s.SwatchRGB.create(zt.r,zt.g,zt.b),Vt=s.PaletteRGB.from(Gt),Yt=(0,Rt.parseColorHexRGB)("#08c3a5"),Ut=s.SwatchRGB.create(Yt.r,Yt.g,Yt.b),Wt=s.PaletteRGB.from(Ut),{create:qt}=n.DesignToken,Zt=qt("fui-fill-color").withDefault(Ht),Xt=qt({name:"card-fill-color",cssCustomPropertyName:"fui-card-fill-color"}).withDefault(jt),Kt=14;function Jt(e,t){return e.colorContrast(t,Kt)}const Qt=qt({name:"card-foreground-color",cssCustomPropertyName:"fui-card-foreground-color"}).withDefault((e=>Jt(qt("fui-card-palette").withDefault(Bt).getValueFor(e),Xt.getValueFor(e))));var eo=o(74692);const to=(e,t,o)=>{const i=o?(e,t)=>e.setValueFor(o,t):(e,t)=>e.withDefault(t);Object.keys(e).forEach((o=>{const a=`${o}Value`;t[a]&&i(e[o],t[a])}))};function oo(e){return(t,o)=>{t[o+"Changed"]=function(t,o){null!=o?e.setValueFor(this,o):e.deleteValueFor(this)}}}const io={toView:e=>null==e?null:null==e?void 0:e.toColorString(),fromView(e){if(null==e)return null;const t=(0,Rt.parseColorHexRGB)(e);return t?s.SwatchRGB.create(t.r,t.g,t.b):null}},ao=e=>s.PaletteRGB.from(s.SwatchRGB.from((0,Rt.parseColorHexRGB)(e))),no=["baseClass","baseName","shadowOptions","styles","template"],so=(e,t=no)=>Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,o)=>(t[o]=e[o],t)),{}),ro=e=>{const{definition:t}=e(),{shadowOptions:o,styles:i,template:a}=t;return{shadowOptions:o,styles:i,template:a,defaultConfig:so(t)}},lo=(e,t)=>{const o=e.match(/^(\d+)([a-z]+)/i),i=o[1],a=o[2];return Number(i)+t+a},co=(e,t)=>{const o=t.design_tokens;s.accentPalette.setValueFor(e,ao(o.color.accent.$value)),s.neutralPalette.setValueFor(e,ao(o.color.neutral.$value)),s.bodyFont.setValueFor(e,o.fontFamily.bodyFont.$value),s.baseLayerLuminance.setValueFor(e,o.mode.luminance.$value),s.density.setValueFor(e,o.style.density.$value),s.controlCornerRadius.setValueFor(e,o.style.borderRadius.$value),s.strokeWidth.setValueFor(e,o.style.strokeWidth.$value),s.designUnit.setValueFor(e,o.space.designUnit.$value),s.typeRampBaseFontSize.setValueFor(e,o.typography.baseFontSize.$value),s.typeRampBaseLineHeight.setValueFor(e,o.typography.baseLineHeight.$value);const i=s.typeRampBaseFontSize.getValueFor(e),a=s.typeRampBaseLineHeight.getValueFor(e);s.typeRampMinus1FontSize.setValueFor(e,lo(i,eo.TypeRampValues.minusOne)),s.typeRampMinus1LineHeight.setValueFor(e,lo(a,eo.TypeRampValues.minusOne)),s.typeRampMinus2FontSize.setValueFor(e,lo(i,eo.TypeRampValues.minusTwo)),s.typeRampMinus2LineHeight.setValueFor(e,lo(a,eo.TypeRampValues.minusTwo)),s.typeRampPlus1FontSize.setValueFor(e,lo(i,eo.TypeRampValues.plusOne)),s.typeRampPlus1LineHeight.setValueFor(e,lo(a,eo.TypeRampValues.plusOne)),s.typeRampPlus2FontSize.setValueFor(e,lo(i,eo.TypeRampValues.plusTwo)),s.typeRampPlus2LineHeight.setValueFor(e,lo(a,eo.TypeRampValues.plusTwo)),s.typeRampPlus3FontSize.setValueFor(e,lo(i,eo.TypeRampValues.plusThree)),s.typeRampPlus3LineHeight.setValueFor(e,lo(a,eo.TypeRampValues.plusThree)),s.typeRampPlus4FontSize.setValueFor(e,lo(i,eo.TypeRampValues.plusFour)),s.typeRampPlus4LineHeight.setValueFor(e,lo(a,eo.TypeRampValues.plusFour)),s.typeRampPlus5FontSize.setValueFor(e,lo(i,eo.TypeRampValues.plusFive)),s.typeRampPlus5LineHeight.setValueFor(e,lo(a,eo.TypeRampValues.plusFive)),s.typeRampPlus6FontSize.setValueFor(e,lo(i,eo.TypeRampValues.plusSix)),s.typeRampPlus6LineHeight.setValueFor(e,lo(a,eo.TypeRampValues.plusSix))},uo=ao("#08c3a5"),po=ao("#eeeeee"),ho=s.StandardLuminance.DarkMode;const mo=o(5598).N.ltr,fo=4,vo=4;var go=o(67973);const bo=(e="normal",t="normal")=>`\n font-family: ${s.bodyFont};\n font-style: ${e};\n font-weight: ${t};\n`,yo=r.css`
|
|
515
515
|
${(0,n.display)("flex")}
|
|
516
516
|
:host {
|
|
517
517
|
flex: 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[361],{72361:(e,a,t)=>{t.r(a),t.d(a,{Accordion:()=>i.Accordion,AccordionItem:()=>i.AccordionItem,ActionsMenu:()=>i.ActionsMenu,Anchor:()=>i.Anchor,AnchoredRegion:()=>i.AnchoredRegion,Avatar:()=>i.Avatar,Badge:()=>i.Badge,Banner:()=>i.Banner,Breadcrumb:()=>i.Breadcrumb,BreadcrumbItem:()=>i.BreadcrumbItem,Button:()=>i.Button,Calendar:()=>i.Calendar,Card:()=>i.Card,Checkbox:()=>i.Checkbox,ColorHEX:()=>n,Combobox:()=>i.Combobox,ConnectionIndicator:()=>i.ConnectionIndicator,DataGrid:()=>i.DataGrid,DataGridCell:()=>i.DataGridCell,DataGridRow:()=>i.DataGridRow,DatePicker:()=>i.DatePicker,Dialog:()=>i.Dialog,Disclosure:()=>i.Disclosure,Divider:()=>i.Divider,DropdownMenu:()=>i.DropdownMenu,ErrorBanner:()=>i.ErrorBanner,ErrorBoundary:()=>i.ErrorBoundary,ErrorDialog:()=>i.ErrorDialog,FileUpload:()=>i.FileUpload,Filter:()=>i.Filter,FilterBar:()=>i.FilterBar,FlexLayout:()=>i.FlexLayout,Flipper:()=>i.Flipper,Flyout:()=>i.Flyout,GridLayout:()=>i.GridLayout,GridLayoutItem:()=>i.GridLayoutItem,HorizontalScroll:()=>i.HorizontalScroll,Icon:()=>i.Icon,Listbox:()=>i.Listbox,ListboxOption:()=>i.ListboxOption,Menu:()=>i.Menu,MenuItem:()=>i.MenuItem,Modal:()=>i.Modal,Multiselect:()=>i.Multiselect,NumberField:()=>i.NumberField,Picker:()=>r.Picker,Progress:()=>i.Progress,ProgressRing:()=>i.ProgressRing,Radio:()=>i.Radio,RadioGroup:()=>i.RadioGroup,Search:()=>r.Search,SegmentedControl:()=>i.SegmentedControl,SegmentedItem:()=>i.SegmentedItem,Select:()=>i.Select,Skeleton:()=>i.Skeleton,Slider:()=>i.Slider,SliderLabel:()=>i.SliderLabel,Snackbar:()=>i.Snackbar,Switch:()=>i.Switch,Tab:()=>i.Tab,TabPanel:()=>i.TabPanel,Tabs:()=>i.Tabs,TextArea:()=>i.TextArea,TextField:()=>i.TextField,Toast:()=>i.Toast,Toolbar:()=>i.Toolbar,Tooltip:()=>i.Tooltip,TreeItem:()=>i.TreeItem,TreeView:()=>i.TreeView,UrlInput:()=>i.UrlInput,accentFillActive:()=>r.accentFillActive,accentFillActiveDelta:()=>r.accentFillActiveDelta,accentFillActiveDeltaValue:()=>F,accentFillFocus:()=>r.accentFillFocus,accentFillFocusDelta:()=>r.accentFillFocusDelta,accentFillFocusDeltaValue:()=>f,accentFillHover:()=>r.accentFillHover,accentFillHoverDelta:()=>r.accentFillHoverDelta,accentFillHoverDeltaValue:()=>h,accentFillRest:()=>r.accentFillRest,accentFillRestDelta:()=>r.accentFillRestDelta,accentFillRestDeltaValue:()=>c,accentForegroundActive:()=>r.accentForegroundActive,accentForegroundActiveDelta:()=>r.accentForegroundActiveDelta,accentForegroundActiveDeltaValue:()=>m,accentForegroundFocus:()=>r.accentForegroundFocus,accentForegroundFocusDelta:()=>r.accentForegroundFocusDelta,accentForegroundFocusDeltaValue:()=>y,accentForegroundHover:()=>r.accentForegroundHover,accentForegroundHoverDelta:()=>r.accentForegroundHoverDelta,accentForegroundHoverDeltaValue:()=>S,accentForegroundRest:()=>r.accentForegroundRest,accentForegroundRestDelta:()=>r.accentForegroundRestDelta,accentForegroundRestDeltaValue:()=>g,accentPalette:()=>r.accentPalette,accentPaletteValue:()=>p,alphaAccordion:()=>be,alphaAccordionItem:()=>ke,alphaAccordionItemTemplate:()=>xe,alphaAccordionTemplate:()=>Le,alphaActionsMenu:()=>Ee,alphaActionsMenuShadowOptions:()=>We,alphaActionsMenuStyles:()=>Ne,alphaActionsMenuTemplate:()=>$e,alphaAnchor:()=>qe,alphaAnchorShadowOptions:()=>Ze,alphaAnchorStyles:()=>Qe,alphaAnchorTemplate:()=>Ke,alphaAnchoredRegion:()=>oa,alphaAnchoredRegionShadowOptions:()=>ua,alphaAnchoredRegionStyles:()=>ra,alphaAnchoredRegionTemplate:()=>ia,alphaAvatar:()=>ha,alphaAvatarShadowOptions:()=>Sa,alphaAvatarStyles:()=>ga,alphaAvatarTemplate:()=>fa,alphaBadge:()=>Ca,alphaBadgeShadowOptions:()=>ba,alphaBadgeStyles:()=>wa,alphaBadgeTemplate:()=>Oa,alphaBanner:()=>Pa,alphaBannerShadowOptions:()=>xa,alphaBannerStyles:()=>Va,alphaBannerTemplate:()=>ka,alphaBreadcrumb:()=>Ea,alphaBreadcrumbItem:()=>qa,alphaBreadcrumbItemShadowOptions:()=>Za,alphaBreadcrumbItemStyles:()=>Qa,alphaBreadcrumbItemTemplate:()=>Ka,alphaBreadcrumbShadowOptions:()=>Wa,alphaBreadcrumbStyles:()=>Na,alphaBreadcrumbTemplate:()=>$a,alphaButton:()=>ot,alphaButtonShadowOptions:()=>ut,alphaButtonStyles:()=>rt,alphaButtonTemplate:()=>it,alphaCalendar:()=>ht,alphaCalendarShadowOptions:()=>St,alphaCalendarStyles:()=>gt,alphaCalendarTemplate:()=>ft,alphaCard:()=>Ct,alphaCardShadowOptions:()=>bt,alphaCardStyles:()=>wt,alphaCardTemplate:()=>Ot,alphaCheckbox:()=>Pt,alphaCheckboxShadowOptions:()=>xt,alphaCheckboxStyles:()=>Vt,alphaCheckboxTemplate:()=>kt,alphaCombobox:()=>Et,alphaComboboxShadowOptions:()=>Wt,alphaComboboxStyles:()=>Nt,alphaComboboxTemplate:()=>$t,alphaConnectionIndicator:()=>qt,alphaConnectionIndicatorShadowOptions:()=>Zt,alphaConnectionIndicatorStyles:()=>Qt,alphaConnectionIndicatorTemplate:()=>Kt,alphaDataGrid:()=>ol,alphaDataGridCell:()=>hl,alphaDataGridCellShadowOptions:()=>Sl,alphaDataGridCellStyles:()=>gl,alphaDataGridCellTemplate:()=>fl,alphaDataGridRow:()=>Cl,alphaDataGridRowShadowOptions:()=>bl,alphaDataGridRowStyles:()=>wl,alphaDataGridRowTemplate:()=>Ol,alphaDataGridShadowOptions:()=>ul,alphaDataGridStyles:()=>rl,alphaDataGridTemplate:()=>il,alphaDatePicker:()=>Pl,alphaDatePickerShadowOptions:()=>xl,alphaDatePickerStyles:()=>Vl,alphaDatePickerTemplate:()=>kl,alphaDialog:()=>El,alphaDialogShadowOptions:()=>Wl,alphaDialogStyles:()=>Nl,alphaDialogTemplate:()=>$l,alphaDisclosure:()=>ql,alphaDisclosureShadowOptions:()=>Zl,alphaDisclosureStyles:()=>Ql,alphaDisclosureTemplate:()=>Kl,alphaDivider:()=>oo,alphaDividerShadowOptions:()=>uo,alphaDividerStyles:()=>ro,alphaDividerTemplate:()=>io,alphaDropdownMenu:()=>Fo,alphaDropdownMenuShadowOptions:()=>mo,alphaDropdownMenuStyles:()=>So,alphaDropdownMenuTemplate:()=>go,alphaErrorBanner:()=>vo,alphaErrorBannerShadowOptions:()=>Ao,alphaErrorBannerStyles:()=>bo,alphaErrorBannerTemplate:()=>wo,alphaErrorBoundary:()=>Io,alphaErrorBoundaryShadowOptions:()=>Bo,alphaErrorBoundaryStyles:()=>xo,alphaErrorBoundaryTemplate:()=>Vo,alphaErrorDialog:()=>Uo,alphaErrorDialogShadowOptions:()=>_o,alphaErrorDialogStyles:()=>Wo,alphaErrorDialogTemplate:()=>No,alphaFileUpload:()=>Jo,alphaFileUploadShadowOptions:()=>en,alphaFileUploadStyles:()=>Zo,alphaFileUploadTemplate:()=>Qo,alphaFilter:()=>nn,alphaFilterBar:()=>fn,alphaFilterBarShadowOptions:()=>yn,alphaFilterBarStyles:()=>mn,alphaFilterBarTemplate:()=>Sn,alphaFilterShadowOptions:()=>sn,alphaFilterStyles:()=>pn,alphaFilterTemplate:()=>un,alphaFlexLayout:()=>On,alphaFlexLayoutShadowOptions:()=>Ln,alphaFlexLayoutStyles:()=>An,alphaFlexLayoutTemplate:()=>bn,alphaFlipper:()=>kn,alphaFlipperShadowOptions:()=>Mn,alphaFlipperStyles:()=>Bn,alphaFlipperTemplate:()=>xn,alphaFlyout:()=>$n,alphaFlyoutShadowOptions:()=>Yn,alphaFlyoutStyles:()=>_n,alphaFlyoutTemplate:()=>Wn,alphaGridLayout:()=>Kn,alphaGridLayoutItem:()=>ii,alphaGridLayoutItemShadowOptions:()=>si,alphaGridLayoutItemStyles:()=>pi,alphaGridLayoutItemTemplate:()=>ui,alphaGridLayoutShadowOptions:()=>ai,alphaGridLayoutStyles:()=>ei,alphaGridLayoutTemplate:()=>Zn,alphaHorizontalScroll:()=>fi,alphaHorizontalScrollShadowOptions:()=>yi,alphaHorizontalScrollStyles:()=>mi,alphaHorizontalScrollTemplate:()=>Si,alphaIcon:()=>Oi,alphaIconShadowOptions:()=>Li,alphaIconStyles:()=>Ai,alphaIconTemplate:()=>bi,alphaListbox:()=>ki,alphaListboxOption:()=>Ei,alphaListboxOptionShadowOptions:()=>Wi,alphaListboxOptionStyles:()=>Ni,alphaListboxOptionTemplate:()=>$i,alphaListboxTemplate:()=>xi,alphaMenu:()=>qi,alphaMenuItem:()=>or,alphaMenuItemShadowOptions:()=>ur,alphaMenuItemStyles:()=>rr,alphaMenuItemTemplate:()=>ir,alphaMenuShadowOptions:()=>Zi,alphaMenuStyles:()=>Qi,alphaMenuTemplate:()=>Ki,alphaModal:()=>hr,alphaModalShadowOptions:()=>Sr,alphaModalStyles:()=>gr,alphaModalTemplate:()=>fr,alphaMultiselect:()=>Cr,alphaMultiselectShadowOptions:()=>br,alphaMultiselectStyles:()=>wr,alphaMultiselectTemplate:()=>Or,alphaNumberField:()=>Pr,alphaNumberFieldShadowOptions:()=>xr,alphaNumberFieldStyles:()=>Vr,alphaNumberFieldTemplate:()=>kr,alphaPicker:()=>Er,alphaPickerShadowOptions:()=>Wr,alphaPickerStyles:()=>Nr,alphaPickerTemplate:()=>$r,alphaProgress:()=>qr,alphaProgressRing:()=>ou,alphaProgressRingShadowOptions:()=>uu,alphaProgressRingStyles:()=>ru,alphaProgressRingTemplate:()=>iu,alphaProgressShadowOptions:()=>Zr,alphaProgressStyles:()=>Qr,alphaProgressTemplate:()=>Kr,alphaRadio:()=>hu,alphaRadioGroup:()=>Cu,alphaRadioGroupShadowOptions:()=>bu,alphaRadioGroupStyles:()=>wu,alphaRadioGroupTemplate:()=>Ou,alphaRadioShadowOptions:()=>Su,alphaRadioStyles:()=>gu,alphaRadioTemplate:()=>fu,alphaSearch:()=>Pu,alphaSearchShadowOptions:()=>xu,alphaSearchStyles:()=>Vu,alphaSearchTemplate:()=>ku,alphaSegmentedControl:()=>Eu,alphaSegmentedControlShadowOptions:()=>Wu,alphaSegmentedControlStyles:()=>Nu,alphaSegmentedControlTemplate:()=>$u,alphaSegmentedItem:()=>qu,alphaSegmentedItemShadowOptions:()=>Zu,alphaSegmentedItemStyles:()=>Qu,alphaSegmentedItemTemplate:()=>Ku,alphaSelect:()=>op,alphaSelectShadowOptions:()=>up,alphaSelectStyles:()=>rp,alphaSelectTemplate:()=>ip,alphaSkeleton:()=>hp,alphaSkeletonShadowOptions:()=>Sp,alphaSkeletonStyles:()=>gp,alphaSkeletonTemplate:()=>fp,alphaSlider:()=>Cp,alphaSliderLabel:()=>Pp,alphaSliderLabelShadowOptions:()=>xp,alphaSliderLabelStyles:()=>Vp,alphaSliderLabelTemplate:()=>kp,alphaSliderShadowOptions:()=>bp,alphaSliderStyles:()=>wp,alphaSliderTemplate:()=>Op,alphaSnackbar:()=>Ep,alphaSnackbarShadowOptions:()=>Wp,alphaSnackbarStyles:()=>Np,alphaSnackbarTemplate:()=>$p,alphaSwitch:()=>qp,alphaSwitchShadowOptions:()=>Zp,alphaSwitchStyles:()=>Qp,alphaSwitchTemplate:()=>Kp,alphaTab:()=>os,alphaTabPanel:()=>hs,alphaTabPanelShadowOptions:()=>Ss,alphaTabPanelStyles:()=>gs,alphaTabPanelTemplate:()=>fs,alphaTabShadowOptions:()=>us,alphaTabStyles:()=>rs,alphaTabTemplate:()=>is,alphaTabs:()=>Cs,alphaTabsShadowOptions:()=>bs,alphaTabsStyles:()=>ws,alphaTabsTemplate:()=>Os,alphaTextArea:()=>Ps,alphaTextAreaShadowOptions:()=>xs,alphaTextAreaStyles:()=>Vs,alphaTextAreaTemplate:()=>ks,alphaTextField:()=>Es,alphaTextFieldShadowOptions:()=>Ws,alphaTextFieldStyles:()=>Ns,alphaTextFieldTemplate:()=>$s,alphaToast:()=>qs,alphaToastShadowOptions:()=>Zs,alphaToastStyles:()=>Qs,alphaToastTemplate:()=>Ks,alphaToolbar:()=>od,alphaToolbarShadowOptions:()=>ud,alphaToolbarStyles:()=>rd,alphaToolbarTemplate:()=>id,alphaTooltip:()=>hd,alphaTooltipShadowOptions:()=>Sd,alphaTooltipStyles:()=>gd,alphaTooltipTemplate:()=>fd,alphaTreeItem:()=>Cd,alphaTreeItemShadowOptions:()=>bd,alphaTreeItemStyles:()=>wd,alphaTreeItemTemplate:()=>Od,alphaTreeView:()=>Pd,alphaTreeViewShadowOptions:()=>xd,alphaTreeViewStyles:()=>Vd,alphaTreeViewTemplate:()=>kd,alphaUrlInput:()=>Ed,alphaUrlInputShadowOptions:()=>Wd,alphaUrlInputStyles:()=>Nd,alphaUrlInputTemplate:()=>$d,baseComponents:()=>_d,baseHeightMultiplier:()=>r.baseHeightMultiplier,baseHeightMultiplierValue:()=>X,baseLayerLuminance:()=>r.baseLayerLuminance,baseLayerLuminanceValue:()=>d,bodyFont:()=>r.bodyFont,bodyFontValue:()=>Q,controlCornerRadius:()=>r.controlCornerRadius,controlCornerRadiusValue:()=>q,defaultAccordionConfig:()=>Ae,defaultAccordionItemConfig:()=>Ve,defaultActionsMenuConfig:()=>Ue,defaultAnchorConfig:()=>Je,defaultAnchoredRegionConfig:()=>na,defaultAvatarConfig:()=>Fa,defaultBadgeConfig:()=>va,defaultBannerConfig:()=>Ia,defaultBreadcrumbConfig:()=>Ua,defaultBreadcrumbItemConfig:()=>Ja,defaultButtonConfig:()=>nt,defaultCalendarConfig:()=>Ft,defaultCardConfig:()=>vt,defaultCheckboxConfig:()=>It,defaultComboboxConfig:()=>Ut,defaultConnectionIndicatorConfig:()=>Jt,defaultDataGridCellConfig:()=>Fl,defaultDataGridConfig:()=>nl,defaultDataGridRowConfig:()=>vl,defaultDatePickerConfig:()=>Il,defaultDialogConfig:()=>Ul,defaultDisclosureConfig:()=>Jl,defaultDividerConfig:()=>no,defaultDropdownMenuConfig:()=>fo,defaultErrorBannerConfig:()=>Oo,defaultErrorBoundaryConfig:()=>ko,defaultErrorDialogConfig:()=>$o,defaultFileUploadConfig:()=>Ko,defaultFilterBarConfig:()=>gn,defaultFilterConfig:()=>rn,defaultFlexLayoutConfig:()=>wn,defaultFlipperConfig:()=>Vn,defaultFlyoutConfig:()=>Nn,defaultGridLayoutConfig:()=>Qn,defaultGridLayoutItemConfig:()=>ri,defaultHorizontalScrollConfig:()=>gi,defaultIconConfig:()=>wi,defaultListboxConfig:()=>Vi,defaultListboxOptionConfig:()=>Ui,defaultMenuConfig:()=>Ji,defaultMenuItemConfig:()=>nr,defaultModalConfig:()=>Fr,defaultMultiselectConfig:()=>vr,defaultNumberFieldConfig:()=>Ir,defaultPickerConfig:()=>Ur,defaultProgressConfig:()=>Jr,defaultProgressRingConfig:()=>nu,defaultRadioConfig:()=>Fu,defaultRadioGroupConfig:()=>vu,defaultSearchConfig:()=>Iu,defaultSegmentedControlConfig:()=>Uu,defaultSegmentedItemConfig:()=>Ju,defaultSelectConfig:()=>np,defaultSkeletonConfig:()=>Fp,defaultSliderConfig:()=>vp,defaultSliderLabelConfig:()=>Ip,defaultSnackbarConfig:()=>Up,defaultSwitchConfig:()=>Jp,defaultTabConfig:()=>ns,defaultTabPanelConfig:()=>Fs,defaultTabsConfig:()=>vs,defaultTextAreaConfig:()=>Is,defaultTextFieldConfig:()=>Us,defaultToastConfig:()=>Js,defaultToolbarConfig:()=>nd,defaultTooltipConfig:()=>Fd,defaultTreeItemConfig:()=>vd,defaultTreeViewConfig:()=>Id,defaultUrlInputConfig:()=>Ud,density:()=>r.density,densityValue:()=>J,designTokens:()=>Se,designUnit:()=>r.designUnit,designUnitValue:()=>K,direction:()=>r.direction,directionValue:()=>W,disabledOpacity:()=>r.disabledOpacity,disabledOpacityValue:()=>_,fillColor:()=>r.fillColor,focusStrokeInner:()=>r.focusStrokeInner,focusStrokeOuter:()=>r.focusStrokeOuter,focusStrokeWidth:()=>r.focusStrokeWidth,focusStrokeWidthValue:()=>j,foregroundOnAccentActive:()=>r.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>r.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>r.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>r.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>r.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>r.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>r.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>r.foregroundOnAccentRestLarge,neutralFillActive:()=>r.neutralFillActive,neutralFillActiveDelta:()=>r.neutralFillActiveDelta,neutralFillActiveDeltaValue:()=>C,neutralFillFocus:()=>r.neutralFillFocus,neutralFillFocusDelta:()=>r.neutralFillFocusDelta,neutralFillFocusDeltaValue:()=>v,neutralFillHover:()=>r.neutralFillHover,neutralFillHoverDelta:()=>r.neutralFillHoverDelta,neutralFillHoverDeltaValue:()=>R,neutralFillInputActive:()=>r.neutralFillInputActive,neutralFillInputActiveDelta:()=>r.neutralFillInputActiveDelta,neutralFillInputActiveDeltaValue:()=>b,neutralFillInputFocus:()=>r.neutralFillInputFocus,neutralFillInputFocusDelta:()=>r.neutralFillInputFocusDelta,neutralFillInputFocusDeltaValue:()=>A,neutralFillInputHover:()=>r.neutralFillInputHover,neutralFillInputHoverDelta:()=>r.neutralFillInputHoverDelta,neutralFillInputHoverDeltaValue:()=>w,neutralFillInputRest:()=>r.neutralFillInputRest,neutralFillInputRestDelta:()=>r.neutralFillInputRestDelta,neutralFillInputRestDeltaValue:()=>O,neutralFillLayerRest:()=>r.neutralFillLayerRest,neutralFillLayerRestDelta:()=>r.neutralFillLayerRestDelta,neutralFillLayerRestDeltaValue:()=>B,neutralFillRest:()=>r.neutralFillRest,neutralFillRestDelta:()=>r.neutralFillRestDelta,neutralFillRestDeltaValue:()=>D,neutralFillStealthActive:()=>r.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>r.neutralFillStealthActiveDelta,neutralFillStealthActiveDeltaValue:()=>H,neutralFillStealthFocus:()=>r.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>r.neutralFillStealthFocusDelta,neutralFillStealthFocusDeltaValue:()=>P,neutralFillStealthHover:()=>r.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>r.neutralFillStealthHoverDelta,neutralFillStealthHoverDeltaValue:()=>T,neutralFillStealthRest:()=>r.neutralFillStealthRest,neutralFillStealthRestDelta:()=>r.neutralFillStealthRestDelta,neutralFillStealthRestDeltaValue:()=>L,neutralFillStrongActive:()=>r.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>r.neutralFillStrongActiveDelta,neutralFillStrongActiveDeltaValue:()=>V,neutralFillStrongFocus:()=>r.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>r.neutralFillStrongFocusDelta,neutralFillStrongFocusDeltaValue:()=>x,neutralFillStrongHover:()=>r.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>r.neutralFillStrongHoverDelta,neutralFillStrongHoverDeltaValue:()=>k,neutralFillStrongRest:()=>r.neutralFillStrongRest,neutralFillStrongRestDelta:()=>r.neutralFillStrongRestDelta,neutralFillStrongRestDeltaValue:()=>I,neutralForegroundHint:()=>r.neutralForegroundHint,neutralForegroundRest:()=>r.neutralForegroundRest,neutralLayer1:()=>r.neutralLayer1,neutralLayer2:()=>r.neutralLayer2,neutralLayer3:()=>r.neutralLayer3,neutralLayer4:()=>r.neutralLayer4,neutralLayerCardContainer:()=>r.neutralLayerCardContainer,neutralLayerFloating:()=>r.neutralLayerFloating,neutralPalette:()=>r.neutralPalette,neutralPaletteValue:()=>s,neutralStrokeActive:()=>r.neutralStrokeActive,neutralStrokeActiveDelta:()=>r.neutralStrokeActiveDelta,neutralStrokeActiveDeltaValue:()=>G,neutralStrokeDividerRest:()=>r.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>r.neutralStrokeDividerRestDelta,neutralStrokeDividerRestDeltaValue:()=>U,neutralStrokeFocus:()=>r.neutralStrokeFocus,neutralStrokeFocusDelta:()=>r.neutralStrokeFocusDelta,neutralStrokeFocusDeltaValue:()=>E,neutralStrokeHover:()=>r.neutralStrokeHover,neutralStrokeHoverDelta:()=>r.neutralStrokeHoverDelta,neutralStrokeHoverDeltaValue:()=>z,neutralStrokeRest:()=>r.neutralStrokeRest,neutralStrokeRestDelta:()=>r.neutralStrokeRestDelta,neutralStrokeRestDeltaValue:()=>M,prefix:()=>N,provideDesignSystem:()=>jd,strokeWidth:()=>r.strokeWidth,strokeWidthValue:()=>Y,typeRampBaseFontSize:()=>r.typeRampBaseFontSize,typeRampBaseFontSizeValue:()=>Z,typeRampBaseLineHeight:()=>r.typeRampBaseLineHeight,typeRampBaseLineHeightValue:()=>ee,typeRampMinus1FontSize:()=>r.typeRampMinus1FontSize,typeRampMinus1FontSizeValue:()=>ae,typeRampMinus1LineHeight:()=>r.typeRampMinus1LineHeight,typeRampMinus1LineHeightValue:()=>te,typeRampMinus2FontSize:()=>r.typeRampMinus2FontSize,typeRampMinus2FontSizeValue:()=>le,typeRampMinus2LineHeight:()=>r.typeRampMinus2LineHeight,typeRampMinus2LineHeightValue:()=>oe,typeRampPlus1FontSize:()=>r.typeRampPlus1FontSize,typeRampPlus1FontSizeValue:()=>ne,typeRampPlus1LineHeight:()=>r.typeRampPlus1LineHeight,typeRampPlus1LineHeightValue:()=>ie,typeRampPlus2FontSize:()=>r.typeRampPlus2FontSize,typeRampPlus2FontSizeValue:()=>re,typeRampPlus2LineHeight:()=>r.typeRampPlus2LineHeight,typeRampPlus2LineHeightValue:()=>ue,typeRampPlus3FontSize:()=>r.typeRampPlus3FontSize,typeRampPlus3FontSizeValue:()=>pe,typeRampPlus3LineHeight:()=>r.typeRampPlus3LineHeight,typeRampPlus3LineHeightValue:()=>se,typeRampPlus4FontSize:()=>r.typeRampPlus4FontSize,typeRampPlus4FontSizeValue:()=>de,typeRampPlus4LineHeight:()=>r.typeRampPlus4LineHeight,typeRampPlus4LineHeightValue:()=>ce,typeRampPlus5FontSize:()=>r.typeRampPlus5FontSize,typeRampPlus5FontSizeValue:()=>he,typeRampPlus5LineHeight:()=>r.typeRampPlus5LineHeight,typeRampPlus5LineHeightValue:()=>Fe,typeRampPlus6FontSize:()=>r.typeRampPlus6FontSize,typeRampPlus6FontSizeValue:()=>fe,typeRampPlus6LineHeight:()=>r.typeRampPlus6LineHeight,typeRampPlus6LineHeightValue:()=>ge});var l={};t.r(l),t.d(l,{accentFillActive:()=>r.accentFillActive,accentFillActiveDelta:()=>r.accentFillActiveDelta,accentFillFocus:()=>r.accentFillFocus,accentFillFocusDelta:()=>r.accentFillFocusDelta,accentFillHover:()=>r.accentFillHover,accentFillHoverDelta:()=>r.accentFillHoverDelta,accentFillRest:()=>r.accentFillRest,accentFillRestDelta:()=>r.accentFillRestDelta,accentForegroundActive:()=>r.accentForegroundActive,accentForegroundActiveDelta:()=>r.accentForegroundActiveDelta,accentForegroundFocus:()=>r.accentForegroundFocus,accentForegroundFocusDelta:()=>r.accentForegroundFocusDelta,accentForegroundHover:()=>r.accentForegroundHover,accentForegroundHoverDelta:()=>r.accentForegroundHoverDelta,accentForegroundRest:()=>r.accentForegroundRest,accentForegroundRestDelta:()=>r.accentForegroundRestDelta,accentPalette:()=>r.accentPalette,baseHeightMultiplier:()=>r.baseHeightMultiplier,baseLayerLuminance:()=>r.baseLayerLuminance,bodyFont:()=>r.bodyFont,controlCornerRadius:()=>r.controlCornerRadius,density:()=>r.density,designUnit:()=>r.designUnit,direction:()=>r.direction,disabledOpacity:()=>r.disabledOpacity,fillColor:()=>r.fillColor,focusStrokeInner:()=>r.focusStrokeInner,focusStrokeOuter:()=>r.focusStrokeOuter,focusStrokeWidth:()=>r.focusStrokeWidth,foregroundOnAccentActive:()=>r.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>r.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>r.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>r.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>r.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>r.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>r.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>r.foregroundOnAccentRestLarge,neutralFillActive:()=>r.neutralFillActive,neutralFillActiveDelta:()=>r.neutralFillActiveDelta,neutralFillFocus:()=>r.neutralFillFocus,neutralFillFocusDelta:()=>r.neutralFillFocusDelta,neutralFillHover:()=>r.neutralFillHover,neutralFillHoverDelta:()=>r.neutralFillHoverDelta,neutralFillInputActive:()=>r.neutralFillInputActive,neutralFillInputActiveDelta:()=>r.neutralFillInputActiveDelta,neutralFillInputFocus:()=>r.neutralFillInputFocus,neutralFillInputFocusDelta:()=>r.neutralFillInputFocusDelta,neutralFillInputHover:()=>r.neutralFillInputHover,neutralFillInputHoverDelta:()=>r.neutralFillInputHoverDelta,neutralFillInputRest:()=>r.neutralFillInputRest,neutralFillInputRestDelta:()=>r.neutralFillInputRestDelta,neutralFillLayerRest:()=>r.neutralFillLayerRest,neutralFillLayerRestDelta:()=>r.neutralFillLayerRestDelta,neutralFillRest:()=>r.neutralFillRest,neutralFillRestDelta:()=>r.neutralFillRestDelta,neutralFillStealthActive:()=>r.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>r.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>r.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>r.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>r.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>r.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>r.neutralFillStealthRest,neutralFillStealthRestDelta:()=>r.neutralFillStealthRestDelta,neutralFillStrongActive:()=>r.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>r.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>r.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>r.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>r.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>r.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>r.neutralFillStrongRest,neutralFillStrongRestDelta:()=>r.neutralFillStrongRestDelta,neutralForegroundHint:()=>r.neutralForegroundHint,neutralForegroundRest:()=>r.neutralForegroundRest,neutralLayer1:()=>r.neutralLayer1,neutralLayer2:()=>r.neutralLayer2,neutralLayer3:()=>r.neutralLayer3,neutralLayer4:()=>r.neutralLayer4,neutralLayerCardContainer:()=>r.neutralLayerCardContainer,neutralLayerFloating:()=>r.neutralLayerFloating,neutralPalette:()=>r.neutralPalette,neutralStrokeActive:()=>r.neutralStrokeActive,neutralStrokeActiveDelta:()=>r.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>r.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>r.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>r.neutralStrokeFocus,neutralStrokeFocusDelta:()=>r.neutralStrokeFocusDelta,neutralStrokeHover:()=>r.neutralStrokeHover,neutralStrokeHoverDelta:()=>r.neutralStrokeHoverDelta,neutralStrokeRest:()=>r.neutralStrokeRest,neutralStrokeRestDelta:()=>r.neutralStrokeRestDelta,strokeWidth:()=>r.strokeWidth,typeRampBaseFontSize:()=>r.typeRampBaseFontSize,typeRampBaseLineHeight:()=>r.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>r.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>r.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>r.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>r.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>r.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>r.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>r.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>r.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>r.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>r.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>r.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>r.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>r.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>r.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>r.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>r.typeRampPlus6LineHeight});var o={};t.r(o),t.d(o,{accentFillActiveDeltaValue:()=>F,accentFillFocusDeltaValue:()=>f,accentFillHoverDeltaValue:()=>h,accentFillRestDeltaValue:()=>c,accentForegroundActiveDeltaValue:()=>m,accentForegroundFocusDeltaValue:()=>y,accentForegroundHoverDeltaValue:()=>S,accentForegroundRestDeltaValue:()=>g,accentPaletteValue:()=>p,baseHeightMultiplierValue:()=>X,baseLayerLuminanceValue:()=>d,bodyFontValue:()=>Q,controlCornerRadiusValue:()=>q,densityValue:()=>J,designTokens:()=>Se,designUnitValue:()=>K,directionValue:()=>W,disabledOpacityValue:()=>_,focusStrokeWidthValue:()=>j,neutralFillActiveDeltaValue:()=>C,neutralFillFocusDeltaValue:()=>v,neutralFillHoverDeltaValue:()=>R,neutralFillInputActiveDeltaValue:()=>b,neutralFillInputFocusDeltaValue:()=>A,neutralFillInputHoverDeltaValue:()=>w,neutralFillInputRestDeltaValue:()=>O,neutralFillLayerRestDeltaValue:()=>B,neutralFillRestDeltaValue:()=>D,neutralFillStealthActiveDeltaValue:()=>H,neutralFillStealthFocusDeltaValue:()=>P,neutralFillStealthHoverDeltaValue:()=>T,neutralFillStealthRestDeltaValue:()=>L,neutralFillStrongActiveDeltaValue:()=>V,neutralFillStrongFocusDeltaValue:()=>x,neutralFillStrongHoverDeltaValue:()=>k,neutralFillStrongRestDeltaValue:()=>I,neutralPaletteValue:()=>s,neutralStrokeActiveDeltaValue:()=>G,neutralStrokeDividerRestDeltaValue:()=>U,neutralStrokeFocusDeltaValue:()=>E,neutralStrokeHoverDeltaValue:()=>z,neutralStrokeRestDeltaValue:()=>M,prefix:()=>N,strokeWidthValue:()=>Y,typeRampBaseFontSizeValue:()=>Z,typeRampBaseLineHeightValue:()=>ee,typeRampMinus1FontSizeValue:()=>ae,typeRampMinus1LineHeightValue:()=>te,typeRampMinus2FontSizeValue:()=>le,typeRampMinus2LineHeightValue:()=>oe,typeRampPlus1FontSizeValue:()=>ne,typeRampPlus1LineHeightValue:()=>ie,typeRampPlus2FontSizeValue:()=>re,typeRampPlus2LineHeightValue:()=>ue,typeRampPlus3FontSizeValue:()=>pe,typeRampPlus3LineHeightValue:()=>se,typeRampPlus4FontSizeValue:()=>de,typeRampPlus4LineHeightValue:()=>ce,typeRampPlus5FontSizeValue:()=>he,typeRampPlus5LineHeightValue:()=>Fe,typeRampPlus6FontSizeValue:()=>fe,typeRampPlus6LineHeightValue:()=>ge});var n,i=t(10808),r=t(13896),u=t(83147);!function(e){e.accentYellow="#FFBC05",e.neutralGrey="#808080"}(n||(n={}));const p=(0,i.paletteFromHex)(n.accentYellow),s=(0,i.paletteFromHex)(n.neutralGrey),d=r.StandardLuminance.DarkMode,c=0,h=4,F=-5,f=0,g=0,S=6,m=-4,y=0,D=7,R=10,C=5,v=0,O=0,w=0,b=0,A=0,L=0,T=5,H=3,P=0,I=0,k=8,V=-5,x=0,B=3,M=25,z=40,G=16,E=25,U=8;var $=t(5598);const N="alpha",W=$.N.ltr,_=.3,Y=1,j=2,X=10,q=4,J=0,K=4,Q='"Segoe UI", Arial, Helvetica, sans-serif',Z="14px",ee="20px",ae="12px",te="16px",le="10px",oe="16px",ne="16px",ie="24px",re="20px",ue="28px",pe="28px",se="36px",de="34px",ce="44px",he="46px",Fe="56px",fe="60px",ge="72px",Se={design_tokens:{color:{accent:{$value:p.source.toColorString(),$type:"color"},neutral:{$value:s.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Q,$type:"fontFamily"}},typography:{baseFontSize:{$value:Z,$type:"dimension"},baseLineHeight:{$value:ee,$type:"dimension"}},mode:{luminance:{$value:d,$type:"number"}},style:{density:{$value:J,$type:"number"},borderRadius:{$value:q,$type:"number"},strokeWidth:{$value:Y,$type:"number"}},space:{designUnit:{$value:K,$type:"number"}}}};class me extends r.DesignSystemProvider{constructor(){super(),(0,i.provideTokens)(l,o,this)}}const ye=me.compose({baseName:"design-system-provider",template:u.html`
|
|
1
|
+
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[361],{72361:(e,a,t)=>{t.r(a),t.d(a,{Accordion:()=>i.Accordion,AccordionItem:()=>i.AccordionItem,ActionsMenu:()=>i.ActionsMenu,Anchor:()=>i.Anchor,AnchoredRegion:()=>i.AnchoredRegion,Avatar:()=>i.Avatar,Badge:()=>i.Badge,Banner:()=>i.Banner,Breadcrumb:()=>i.Breadcrumb,BreadcrumbItem:()=>i.BreadcrumbItem,Button:()=>i.Button,Calendar:()=>i.Calendar,Card:()=>i.Card,Checkbox:()=>i.Checkbox,ColorHEX:()=>n,Combobox:()=>i.Combobox,ConnectionIndicator:()=>i.ConnectionIndicator,DataGrid:()=>i.DataGrid,DataGridCell:()=>i.DataGridCell,DataGridRow:()=>i.DataGridRow,DatePicker:()=>i.DatePicker,Dialog:()=>i.Dialog,Disclosure:()=>i.Disclosure,Divider:()=>i.Divider,DropdownMenu:()=>i.DropdownMenu,ErrorBanner:()=>i.ErrorBanner,ErrorBoundary:()=>i.ErrorBoundary,ErrorDialog:()=>i.ErrorDialog,FileUpload:()=>i.FileUpload,Filter:()=>i.Filter,FilterBar:()=>i.FilterBar,FlexLayout:()=>i.FlexLayout,Flipper:()=>i.Flipper,Flyout:()=>i.Flyout,GridLayout:()=>i.GridLayout,GridLayoutItem:()=>i.GridLayoutItem,HorizontalScroll:()=>i.HorizontalScroll,Icon:()=>i.Icon,Listbox:()=>i.Listbox,ListboxOption:()=>i.ListboxOption,Menu:()=>i.Menu,MenuItem:()=>i.MenuItem,Modal:()=>i.Modal,Multiselect:()=>i.Multiselect,NumberField:()=>i.NumberField,Picker:()=>r.Picker,Progress:()=>i.Progress,ProgressRing:()=>i.ProgressRing,Radio:()=>i.Radio,RadioGroup:()=>i.RadioGroup,Search:()=>r.Search,SegmentedControl:()=>i.SegmentedControl,SegmentedItem:()=>i.SegmentedItem,Select:()=>i.Select,Skeleton:()=>i.Skeleton,Slider:()=>i.Slider,SliderLabel:()=>i.SliderLabel,Snackbar:()=>i.Snackbar,Switch:()=>i.Switch,Tab:()=>i.Tab,TabPanel:()=>i.TabPanel,Tabs:()=>i.Tabs,TextArea:()=>i.TextArea,TextField:()=>i.TextField,Toast:()=>i.Toast,Toolbar:()=>i.Toolbar,Tooltip:()=>i.Tooltip,TreeItem:()=>i.TreeItem,TreeView:()=>i.TreeView,UrlInput:()=>i.UrlInput,accentFillActive:()=>r.accentFillActive,accentFillActiveDelta:()=>r.accentFillActiveDelta,accentFillActiveDeltaValue:()=>F,accentFillFocus:()=>r.accentFillFocus,accentFillFocusDelta:()=>r.accentFillFocusDelta,accentFillFocusDeltaValue:()=>f,accentFillHover:()=>r.accentFillHover,accentFillHoverDelta:()=>r.accentFillHoverDelta,accentFillHoverDeltaValue:()=>h,accentFillRest:()=>r.accentFillRest,accentFillRestDelta:()=>r.accentFillRestDelta,accentFillRestDeltaValue:()=>c,accentForegroundActive:()=>r.accentForegroundActive,accentForegroundActiveDelta:()=>r.accentForegroundActiveDelta,accentForegroundActiveDeltaValue:()=>m,accentForegroundFocus:()=>r.accentForegroundFocus,accentForegroundFocusDelta:()=>r.accentForegroundFocusDelta,accentForegroundFocusDeltaValue:()=>y,accentForegroundHover:()=>r.accentForegroundHover,accentForegroundHoverDelta:()=>r.accentForegroundHoverDelta,accentForegroundHoverDeltaValue:()=>S,accentForegroundRest:()=>r.accentForegroundRest,accentForegroundRestDelta:()=>r.accentForegroundRestDelta,accentForegroundRestDeltaValue:()=>g,accentPalette:()=>r.accentPalette,accentPaletteValue:()=>p,alphaAccordion:()=>be,alphaAccordionItem:()=>ke,alphaAccordionItemTemplate:()=>xe,alphaAccordionTemplate:()=>Le,alphaActionsMenu:()=>Ee,alphaActionsMenuShadowOptions:()=>We,alphaActionsMenuStyles:()=>Ne,alphaActionsMenuTemplate:()=>$e,alphaAnchor:()=>qe,alphaAnchorShadowOptions:()=>Ze,alphaAnchorStyles:()=>Qe,alphaAnchorTemplate:()=>Ke,alphaAnchoredRegion:()=>oa,alphaAnchoredRegionShadowOptions:()=>ua,alphaAnchoredRegionStyles:()=>ra,alphaAnchoredRegionTemplate:()=>ia,alphaAvatar:()=>ha,alphaAvatarShadowOptions:()=>Sa,alphaAvatarStyles:()=>ga,alphaAvatarTemplate:()=>fa,alphaBadge:()=>Ca,alphaBadgeShadowOptions:()=>ba,alphaBadgeStyles:()=>wa,alphaBadgeTemplate:()=>Oa,alphaBanner:()=>Pa,alphaBannerShadowOptions:()=>xa,alphaBannerStyles:()=>Va,alphaBannerTemplate:()=>ka,alphaBreadcrumb:()=>Ea,alphaBreadcrumbItem:()=>qa,alphaBreadcrumbItemShadowOptions:()=>Za,alphaBreadcrumbItemStyles:()=>Qa,alphaBreadcrumbItemTemplate:()=>Ka,alphaBreadcrumbShadowOptions:()=>Wa,alphaBreadcrumbStyles:()=>Na,alphaBreadcrumbTemplate:()=>$a,alphaButton:()=>ot,alphaButtonShadowOptions:()=>ut,alphaButtonStyles:()=>rt,alphaButtonTemplate:()=>it,alphaCalendar:()=>ht,alphaCalendarShadowOptions:()=>St,alphaCalendarStyles:()=>gt,alphaCalendarTemplate:()=>ft,alphaCard:()=>Ct,alphaCardShadowOptions:()=>bt,alphaCardStyles:()=>wt,alphaCardTemplate:()=>Ot,alphaCheckbox:()=>Pt,alphaCheckboxShadowOptions:()=>xt,alphaCheckboxStyles:()=>Vt,alphaCheckboxTemplate:()=>kt,alphaCombobox:()=>Et,alphaComboboxShadowOptions:()=>Wt,alphaComboboxStyles:()=>Nt,alphaComboboxTemplate:()=>$t,alphaConnectionIndicator:()=>qt,alphaConnectionIndicatorShadowOptions:()=>Zt,alphaConnectionIndicatorStyles:()=>Qt,alphaConnectionIndicatorTemplate:()=>Kt,alphaDataGrid:()=>ol,alphaDataGridCell:()=>hl,alphaDataGridCellShadowOptions:()=>Sl,alphaDataGridCellStyles:()=>gl,alphaDataGridCellTemplate:()=>fl,alphaDataGridRow:()=>Cl,alphaDataGridRowShadowOptions:()=>bl,alphaDataGridRowStyles:()=>wl,alphaDataGridRowTemplate:()=>Ol,alphaDataGridShadowOptions:()=>ul,alphaDataGridStyles:()=>rl,alphaDataGridTemplate:()=>il,alphaDatePicker:()=>Pl,alphaDatePickerShadowOptions:()=>xl,alphaDatePickerStyles:()=>Vl,alphaDatePickerTemplate:()=>kl,alphaDialog:()=>El,alphaDialogShadowOptions:()=>Wl,alphaDialogStyles:()=>Nl,alphaDialogTemplate:()=>$l,alphaDisclosure:()=>ql,alphaDisclosureShadowOptions:()=>Zl,alphaDisclosureStyles:()=>Ql,alphaDisclosureTemplate:()=>Kl,alphaDivider:()=>oo,alphaDividerShadowOptions:()=>uo,alphaDividerStyles:()=>ro,alphaDividerTemplate:()=>io,alphaDropdownMenu:()=>Fo,alphaDropdownMenuShadowOptions:()=>mo,alphaDropdownMenuStyles:()=>So,alphaDropdownMenuTemplate:()=>go,alphaErrorBanner:()=>vo,alphaErrorBannerShadowOptions:()=>Ao,alphaErrorBannerStyles:()=>bo,alphaErrorBannerTemplate:()=>wo,alphaErrorBoundary:()=>Io,alphaErrorBoundaryShadowOptions:()=>Bo,alphaErrorBoundaryStyles:()=>xo,alphaErrorBoundaryTemplate:()=>Vo,alphaErrorDialog:()=>Uo,alphaErrorDialogShadowOptions:()=>_o,alphaErrorDialogStyles:()=>Wo,alphaErrorDialogTemplate:()=>No,alphaFileUpload:()=>Jo,alphaFileUploadShadowOptions:()=>en,alphaFileUploadStyles:()=>Zo,alphaFileUploadTemplate:()=>Qo,alphaFilter:()=>nn,alphaFilterBar:()=>fn,alphaFilterBarShadowOptions:()=>yn,alphaFilterBarStyles:()=>mn,alphaFilterBarTemplate:()=>Sn,alphaFilterShadowOptions:()=>sn,alphaFilterStyles:()=>pn,alphaFilterTemplate:()=>un,alphaFlexLayout:()=>On,alphaFlexLayoutShadowOptions:()=>Ln,alphaFlexLayoutStyles:()=>An,alphaFlexLayoutTemplate:()=>bn,alphaFlipper:()=>kn,alphaFlipperShadowOptions:()=>Mn,alphaFlipperStyles:()=>Bn,alphaFlipperTemplate:()=>xn,alphaFlyout:()=>$n,alphaFlyoutShadowOptions:()=>Yn,alphaFlyoutStyles:()=>_n,alphaFlyoutTemplate:()=>Wn,alphaGridLayout:()=>Kn,alphaGridLayoutItem:()=>ii,alphaGridLayoutItemShadowOptions:()=>si,alphaGridLayoutItemStyles:()=>pi,alphaGridLayoutItemTemplate:()=>ui,alphaGridLayoutShadowOptions:()=>ai,alphaGridLayoutStyles:()=>ei,alphaGridLayoutTemplate:()=>Zn,alphaHorizontalScroll:()=>fi,alphaHorizontalScrollShadowOptions:()=>yi,alphaHorizontalScrollStyles:()=>mi,alphaHorizontalScrollTemplate:()=>Si,alphaIcon:()=>Oi,alphaIconShadowOptions:()=>Li,alphaIconStyles:()=>Ai,alphaIconTemplate:()=>bi,alphaListbox:()=>ki,alphaListboxOption:()=>Ei,alphaListboxOptionShadowOptions:()=>Wi,alphaListboxOptionStyles:()=>Ni,alphaListboxOptionTemplate:()=>$i,alphaListboxTemplate:()=>xi,alphaMenu:()=>qi,alphaMenuItem:()=>or,alphaMenuItemShadowOptions:()=>ur,alphaMenuItemStyles:()=>rr,alphaMenuItemTemplate:()=>ir,alphaMenuShadowOptions:()=>Zi,alphaMenuStyles:()=>Qi,alphaMenuTemplate:()=>Ki,alphaModal:()=>hr,alphaModalShadowOptions:()=>Sr,alphaModalStyles:()=>gr,alphaModalTemplate:()=>fr,alphaMultiselect:()=>Cr,alphaMultiselectShadowOptions:()=>br,alphaMultiselectStyles:()=>wr,alphaMultiselectTemplate:()=>Or,alphaNumberField:()=>Pr,alphaNumberFieldShadowOptions:()=>xr,alphaNumberFieldStyles:()=>Vr,alphaNumberFieldTemplate:()=>kr,alphaPicker:()=>Er,alphaPickerShadowOptions:()=>Wr,alphaPickerStyles:()=>Nr,alphaPickerTemplate:()=>$r,alphaProgress:()=>qr,alphaProgressRing:()=>ou,alphaProgressRingShadowOptions:()=>uu,alphaProgressRingStyles:()=>ru,alphaProgressRingTemplate:()=>iu,alphaProgressShadowOptions:()=>Zr,alphaProgressStyles:()=>Qr,alphaProgressTemplate:()=>Kr,alphaRadio:()=>hu,alphaRadioGroup:()=>Cu,alphaRadioGroupShadowOptions:()=>bu,alphaRadioGroupStyles:()=>wu,alphaRadioGroupTemplate:()=>Ou,alphaRadioShadowOptions:()=>Su,alphaRadioStyles:()=>gu,alphaRadioTemplate:()=>fu,alphaSearch:()=>Pu,alphaSearchShadowOptions:()=>xu,alphaSearchStyles:()=>Vu,alphaSearchTemplate:()=>ku,alphaSegmentedControl:()=>Eu,alphaSegmentedControlShadowOptions:()=>Wu,alphaSegmentedControlStyles:()=>Nu,alphaSegmentedControlTemplate:()=>$u,alphaSegmentedItem:()=>qu,alphaSegmentedItemShadowOptions:()=>Zu,alphaSegmentedItemStyles:()=>Qu,alphaSegmentedItemTemplate:()=>Ku,alphaSelect:()=>op,alphaSelectShadowOptions:()=>up,alphaSelectStyles:()=>rp,alphaSelectTemplate:()=>ip,alphaSkeleton:()=>hp,alphaSkeletonShadowOptions:()=>Sp,alphaSkeletonStyles:()=>gp,alphaSkeletonTemplate:()=>fp,alphaSlider:()=>Cp,alphaSliderLabel:()=>Pp,alphaSliderLabelShadowOptions:()=>xp,alphaSliderLabelStyles:()=>Vp,alphaSliderLabelTemplate:()=>kp,alphaSliderShadowOptions:()=>bp,alphaSliderStyles:()=>wp,alphaSliderTemplate:()=>Op,alphaSnackbar:()=>Ep,alphaSnackbarShadowOptions:()=>Wp,alphaSnackbarStyles:()=>Np,alphaSnackbarTemplate:()=>$p,alphaSwitch:()=>qp,alphaSwitchShadowOptions:()=>Zp,alphaSwitchStyles:()=>Qp,alphaSwitchTemplate:()=>Kp,alphaTab:()=>os,alphaTabPanel:()=>hs,alphaTabPanelShadowOptions:()=>Ss,alphaTabPanelStyles:()=>gs,alphaTabPanelTemplate:()=>fs,alphaTabShadowOptions:()=>us,alphaTabStyles:()=>rs,alphaTabTemplate:()=>is,alphaTabs:()=>Cs,alphaTabsShadowOptions:()=>bs,alphaTabsStyles:()=>ws,alphaTabsTemplate:()=>Os,alphaTextArea:()=>Ps,alphaTextAreaShadowOptions:()=>xs,alphaTextAreaStyles:()=>Vs,alphaTextAreaTemplate:()=>ks,alphaTextField:()=>Es,alphaTextFieldShadowOptions:()=>Ws,alphaTextFieldStyles:()=>Ns,alphaTextFieldTemplate:()=>$s,alphaToast:()=>qs,alphaToastShadowOptions:()=>Zs,alphaToastStyles:()=>Qs,alphaToastTemplate:()=>Ks,alphaToolbar:()=>od,alphaToolbarShadowOptions:()=>ud,alphaToolbarStyles:()=>rd,alphaToolbarTemplate:()=>id,alphaTooltip:()=>hd,alphaTooltipShadowOptions:()=>Sd,alphaTooltipStyles:()=>gd,alphaTooltipTemplate:()=>fd,alphaTreeItem:()=>Cd,alphaTreeItemShadowOptions:()=>bd,alphaTreeItemStyles:()=>wd,alphaTreeItemTemplate:()=>Od,alphaTreeView:()=>Pd,alphaTreeViewShadowOptions:()=>xd,alphaTreeViewStyles:()=>Vd,alphaTreeViewTemplate:()=>kd,alphaUrlInput:()=>Ed,alphaUrlInputShadowOptions:()=>Wd,alphaUrlInputStyles:()=>Nd,alphaUrlInputTemplate:()=>$d,baseComponents:()=>_d,baseHeightMultiplier:()=>r.baseHeightMultiplier,baseHeightMultiplierValue:()=>X,baseLayerLuminance:()=>r.baseLayerLuminance,baseLayerLuminanceValue:()=>d,bodyFont:()=>r.bodyFont,bodyFontValue:()=>Q,controlCornerRadius:()=>r.controlCornerRadius,controlCornerRadiusValue:()=>q,defaultAccordionConfig:()=>Ae,defaultAccordionItemConfig:()=>Ve,defaultActionsMenuConfig:()=>Ue,defaultAnchorConfig:()=>Je,defaultAnchoredRegionConfig:()=>na,defaultAvatarConfig:()=>Fa,defaultBadgeConfig:()=>va,defaultBannerConfig:()=>Ia,defaultBreadcrumbConfig:()=>Ua,defaultBreadcrumbItemConfig:()=>Ja,defaultButtonConfig:()=>nt,defaultCalendarConfig:()=>Ft,defaultCardConfig:()=>vt,defaultCheckboxConfig:()=>It,defaultComboboxConfig:()=>Ut,defaultConnectionIndicatorConfig:()=>Jt,defaultDataGridCellConfig:()=>Fl,defaultDataGridConfig:()=>nl,defaultDataGridRowConfig:()=>vl,defaultDatePickerConfig:()=>Il,defaultDialogConfig:()=>Ul,defaultDisclosureConfig:()=>Jl,defaultDividerConfig:()=>no,defaultDropdownMenuConfig:()=>fo,defaultErrorBannerConfig:()=>Oo,defaultErrorBoundaryConfig:()=>ko,defaultErrorDialogConfig:()=>$o,defaultFileUploadConfig:()=>Ko,defaultFilterBarConfig:()=>gn,defaultFilterConfig:()=>rn,defaultFlexLayoutConfig:()=>wn,defaultFlipperConfig:()=>Vn,defaultFlyoutConfig:()=>Nn,defaultGridLayoutConfig:()=>Qn,defaultGridLayoutItemConfig:()=>ri,defaultHorizontalScrollConfig:()=>gi,defaultIconConfig:()=>wi,defaultListboxConfig:()=>Vi,defaultListboxOptionConfig:()=>Ui,defaultMenuConfig:()=>Ji,defaultMenuItemConfig:()=>nr,defaultModalConfig:()=>Fr,defaultMultiselectConfig:()=>vr,defaultNumberFieldConfig:()=>Ir,defaultPickerConfig:()=>Ur,defaultProgressConfig:()=>Jr,defaultProgressRingConfig:()=>nu,defaultRadioConfig:()=>Fu,defaultRadioGroupConfig:()=>vu,defaultSearchConfig:()=>Iu,defaultSegmentedControlConfig:()=>Uu,defaultSegmentedItemConfig:()=>Ju,defaultSelectConfig:()=>np,defaultSkeletonConfig:()=>Fp,defaultSliderConfig:()=>vp,defaultSliderLabelConfig:()=>Ip,defaultSnackbarConfig:()=>Up,defaultSwitchConfig:()=>Jp,defaultTabConfig:()=>ns,defaultTabPanelConfig:()=>Fs,defaultTabsConfig:()=>vs,defaultTextAreaConfig:()=>Is,defaultTextFieldConfig:()=>Us,defaultToastConfig:()=>Js,defaultToolbarConfig:()=>nd,defaultTooltipConfig:()=>Fd,defaultTreeItemConfig:()=>vd,defaultTreeViewConfig:()=>Id,defaultUrlInputConfig:()=>Ud,density:()=>r.density,densityValue:()=>J,designTokens:()=>Se,designUnit:()=>r.designUnit,designUnitValue:()=>K,direction:()=>r.direction,directionValue:()=>W,disabledOpacity:()=>r.disabledOpacity,disabledOpacityValue:()=>_,fillColor:()=>r.fillColor,focusStrokeInner:()=>r.focusStrokeInner,focusStrokeOuter:()=>r.focusStrokeOuter,focusStrokeWidth:()=>r.focusStrokeWidth,focusStrokeWidthValue:()=>j,foregroundOnAccentActive:()=>r.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>r.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>r.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>r.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>r.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>r.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>r.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>r.foregroundOnAccentRestLarge,neutralFillActive:()=>r.neutralFillActive,neutralFillActiveDelta:()=>r.neutralFillActiveDelta,neutralFillActiveDeltaValue:()=>C,neutralFillFocus:()=>r.neutralFillFocus,neutralFillFocusDelta:()=>r.neutralFillFocusDelta,neutralFillFocusDeltaValue:()=>v,neutralFillHover:()=>r.neutralFillHover,neutralFillHoverDelta:()=>r.neutralFillHoverDelta,neutralFillHoverDeltaValue:()=>R,neutralFillInputActive:()=>r.neutralFillInputActive,neutralFillInputActiveDelta:()=>r.neutralFillInputActiveDelta,neutralFillInputActiveDeltaValue:()=>b,neutralFillInputFocus:()=>r.neutralFillInputFocus,neutralFillInputFocusDelta:()=>r.neutralFillInputFocusDelta,neutralFillInputFocusDeltaValue:()=>A,neutralFillInputHover:()=>r.neutralFillInputHover,neutralFillInputHoverDelta:()=>r.neutralFillInputHoverDelta,neutralFillInputHoverDeltaValue:()=>w,neutralFillInputRest:()=>r.neutralFillInputRest,neutralFillInputRestDelta:()=>r.neutralFillInputRestDelta,neutralFillInputRestDeltaValue:()=>O,neutralFillLayerRest:()=>r.neutralFillLayerRest,neutralFillLayerRestDelta:()=>r.neutralFillLayerRestDelta,neutralFillLayerRestDeltaValue:()=>B,neutralFillRest:()=>r.neutralFillRest,neutralFillRestDelta:()=>r.neutralFillRestDelta,neutralFillRestDeltaValue:()=>D,neutralFillStealthActive:()=>r.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>r.neutralFillStealthActiveDelta,neutralFillStealthActiveDeltaValue:()=>H,neutralFillStealthFocus:()=>r.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>r.neutralFillStealthFocusDelta,neutralFillStealthFocusDeltaValue:()=>P,neutralFillStealthHover:()=>r.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>r.neutralFillStealthHoverDelta,neutralFillStealthHoverDeltaValue:()=>T,neutralFillStealthRest:()=>r.neutralFillStealthRest,neutralFillStealthRestDelta:()=>r.neutralFillStealthRestDelta,neutralFillStealthRestDeltaValue:()=>L,neutralFillStrongActive:()=>r.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>r.neutralFillStrongActiveDelta,neutralFillStrongActiveDeltaValue:()=>V,neutralFillStrongFocus:()=>r.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>r.neutralFillStrongFocusDelta,neutralFillStrongFocusDeltaValue:()=>x,neutralFillStrongHover:()=>r.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>r.neutralFillStrongHoverDelta,neutralFillStrongHoverDeltaValue:()=>k,neutralFillStrongRest:()=>r.neutralFillStrongRest,neutralFillStrongRestDelta:()=>r.neutralFillStrongRestDelta,neutralFillStrongRestDeltaValue:()=>I,neutralForegroundHint:()=>r.neutralForegroundHint,neutralForegroundRest:()=>r.neutralForegroundRest,neutralLayer1:()=>r.neutralLayer1,neutralLayer2:()=>r.neutralLayer2,neutralLayer3:()=>r.neutralLayer3,neutralLayer4:()=>r.neutralLayer4,neutralLayerCardContainer:()=>r.neutralLayerCardContainer,neutralLayerFloating:()=>r.neutralLayerFloating,neutralPalette:()=>r.neutralPalette,neutralPaletteValue:()=>s,neutralStrokeActive:()=>r.neutralStrokeActive,neutralStrokeActiveDelta:()=>r.neutralStrokeActiveDelta,neutralStrokeActiveDeltaValue:()=>G,neutralStrokeDividerRest:()=>r.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>r.neutralStrokeDividerRestDelta,neutralStrokeDividerRestDeltaValue:()=>U,neutralStrokeFocus:()=>r.neutralStrokeFocus,neutralStrokeFocusDelta:()=>r.neutralStrokeFocusDelta,neutralStrokeFocusDeltaValue:()=>E,neutralStrokeHover:()=>r.neutralStrokeHover,neutralStrokeHoverDelta:()=>r.neutralStrokeHoverDelta,neutralStrokeHoverDeltaValue:()=>z,neutralStrokeRest:()=>r.neutralStrokeRest,neutralStrokeRestDelta:()=>r.neutralStrokeRestDelta,neutralStrokeRestDeltaValue:()=>M,prefix:()=>N,provideDesignSystem:()=>jd,strokeWidth:()=>r.strokeWidth,strokeWidthValue:()=>Y,typeRampBaseFontSize:()=>r.typeRampBaseFontSize,typeRampBaseFontSizeValue:()=>Z,typeRampBaseLineHeight:()=>r.typeRampBaseLineHeight,typeRampBaseLineHeightValue:()=>ee,typeRampMinus1FontSize:()=>r.typeRampMinus1FontSize,typeRampMinus1FontSizeValue:()=>ae,typeRampMinus1LineHeight:()=>r.typeRampMinus1LineHeight,typeRampMinus1LineHeightValue:()=>te,typeRampMinus2FontSize:()=>r.typeRampMinus2FontSize,typeRampMinus2FontSizeValue:()=>le,typeRampMinus2LineHeight:()=>r.typeRampMinus2LineHeight,typeRampMinus2LineHeightValue:()=>oe,typeRampPlus1FontSize:()=>r.typeRampPlus1FontSize,typeRampPlus1FontSizeValue:()=>ne,typeRampPlus1LineHeight:()=>r.typeRampPlus1LineHeight,typeRampPlus1LineHeightValue:()=>ie,typeRampPlus2FontSize:()=>r.typeRampPlus2FontSize,typeRampPlus2FontSizeValue:()=>re,typeRampPlus2LineHeight:()=>r.typeRampPlus2LineHeight,typeRampPlus2LineHeightValue:()=>ue,typeRampPlus3FontSize:()=>r.typeRampPlus3FontSize,typeRampPlus3FontSizeValue:()=>pe,typeRampPlus3LineHeight:()=>r.typeRampPlus3LineHeight,typeRampPlus3LineHeightValue:()=>se,typeRampPlus4FontSize:()=>r.typeRampPlus4FontSize,typeRampPlus4FontSizeValue:()=>de,typeRampPlus4LineHeight:()=>r.typeRampPlus4LineHeight,typeRampPlus4LineHeightValue:()=>ce,typeRampPlus5FontSize:()=>r.typeRampPlus5FontSize,typeRampPlus5FontSizeValue:()=>he,typeRampPlus5LineHeight:()=>r.typeRampPlus5LineHeight,typeRampPlus5LineHeightValue:()=>Fe,typeRampPlus6FontSize:()=>r.typeRampPlus6FontSize,typeRampPlus6FontSizeValue:()=>fe,typeRampPlus6LineHeight:()=>r.typeRampPlus6LineHeight,typeRampPlus6LineHeightValue:()=>ge});var l={};t.r(l),t.d(l,{accentFillActive:()=>r.accentFillActive,accentFillActiveDelta:()=>r.accentFillActiveDelta,accentFillFocus:()=>r.accentFillFocus,accentFillFocusDelta:()=>r.accentFillFocusDelta,accentFillHover:()=>r.accentFillHover,accentFillHoverDelta:()=>r.accentFillHoverDelta,accentFillRest:()=>r.accentFillRest,accentFillRestDelta:()=>r.accentFillRestDelta,accentForegroundActive:()=>r.accentForegroundActive,accentForegroundActiveDelta:()=>r.accentForegroundActiveDelta,accentForegroundFocus:()=>r.accentForegroundFocus,accentForegroundFocusDelta:()=>r.accentForegroundFocusDelta,accentForegroundHover:()=>r.accentForegroundHover,accentForegroundHoverDelta:()=>r.accentForegroundHoverDelta,accentForegroundRest:()=>r.accentForegroundRest,accentForegroundRestDelta:()=>r.accentForegroundRestDelta,accentPalette:()=>r.accentPalette,baseHeightMultiplier:()=>r.baseHeightMultiplier,baseLayerLuminance:()=>r.baseLayerLuminance,bodyFont:()=>r.bodyFont,controlCornerRadius:()=>r.controlCornerRadius,density:()=>r.density,designUnit:()=>r.designUnit,direction:()=>r.direction,disabledOpacity:()=>r.disabledOpacity,fillColor:()=>r.fillColor,focusStrokeInner:()=>r.focusStrokeInner,focusStrokeOuter:()=>r.focusStrokeOuter,focusStrokeWidth:()=>r.focusStrokeWidth,foregroundOnAccentActive:()=>r.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>r.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>r.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>r.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>r.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>r.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>r.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>r.foregroundOnAccentRestLarge,neutralFillActive:()=>r.neutralFillActive,neutralFillActiveDelta:()=>r.neutralFillActiveDelta,neutralFillFocus:()=>r.neutralFillFocus,neutralFillFocusDelta:()=>r.neutralFillFocusDelta,neutralFillHover:()=>r.neutralFillHover,neutralFillHoverDelta:()=>r.neutralFillHoverDelta,neutralFillInputActive:()=>r.neutralFillInputActive,neutralFillInputActiveDelta:()=>r.neutralFillInputActiveDelta,neutralFillInputFocus:()=>r.neutralFillInputFocus,neutralFillInputFocusDelta:()=>r.neutralFillInputFocusDelta,neutralFillInputHover:()=>r.neutralFillInputHover,neutralFillInputHoverDelta:()=>r.neutralFillInputHoverDelta,neutralFillInputRest:()=>r.neutralFillInputRest,neutralFillInputRestDelta:()=>r.neutralFillInputRestDelta,neutralFillLayerRest:()=>r.neutralFillLayerRest,neutralFillLayerRestDelta:()=>r.neutralFillLayerRestDelta,neutralFillRest:()=>r.neutralFillRest,neutralFillRestDelta:()=>r.neutralFillRestDelta,neutralFillStealthActive:()=>r.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>r.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>r.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>r.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>r.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>r.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>r.neutralFillStealthRest,neutralFillStealthRestDelta:()=>r.neutralFillStealthRestDelta,neutralFillStrongActive:()=>r.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>r.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>r.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>r.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>r.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>r.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>r.neutralFillStrongRest,neutralFillStrongRestDelta:()=>r.neutralFillStrongRestDelta,neutralForegroundHint:()=>r.neutralForegroundHint,neutralForegroundRest:()=>r.neutralForegroundRest,neutralLayer1:()=>r.neutralLayer1,neutralLayer2:()=>r.neutralLayer2,neutralLayer3:()=>r.neutralLayer3,neutralLayer4:()=>r.neutralLayer4,neutralLayerCardContainer:()=>r.neutralLayerCardContainer,neutralLayerFloating:()=>r.neutralLayerFloating,neutralPalette:()=>r.neutralPalette,neutralStrokeActive:()=>r.neutralStrokeActive,neutralStrokeActiveDelta:()=>r.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>r.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>r.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>r.neutralStrokeFocus,neutralStrokeFocusDelta:()=>r.neutralStrokeFocusDelta,neutralStrokeHover:()=>r.neutralStrokeHover,neutralStrokeHoverDelta:()=>r.neutralStrokeHoverDelta,neutralStrokeRest:()=>r.neutralStrokeRest,neutralStrokeRestDelta:()=>r.neutralStrokeRestDelta,strokeWidth:()=>r.strokeWidth,typeRampBaseFontSize:()=>r.typeRampBaseFontSize,typeRampBaseLineHeight:()=>r.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>r.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>r.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>r.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>r.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>r.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>r.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>r.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>r.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>r.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>r.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>r.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>r.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>r.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>r.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>r.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>r.typeRampPlus6LineHeight});var o={};t.r(o),t.d(o,{accentFillActiveDeltaValue:()=>F,accentFillFocusDeltaValue:()=>f,accentFillHoverDeltaValue:()=>h,accentFillRestDeltaValue:()=>c,accentForegroundActiveDeltaValue:()=>m,accentForegroundFocusDeltaValue:()=>y,accentForegroundHoverDeltaValue:()=>S,accentForegroundRestDeltaValue:()=>g,accentPaletteValue:()=>p,baseHeightMultiplierValue:()=>X,baseLayerLuminanceValue:()=>d,bodyFontValue:()=>Q,controlCornerRadiusValue:()=>q,densityValue:()=>J,designTokens:()=>Se,designUnitValue:()=>K,directionValue:()=>W,disabledOpacityValue:()=>_,focusStrokeWidthValue:()=>j,neutralFillActiveDeltaValue:()=>C,neutralFillFocusDeltaValue:()=>v,neutralFillHoverDeltaValue:()=>R,neutralFillInputActiveDeltaValue:()=>b,neutralFillInputFocusDeltaValue:()=>A,neutralFillInputHoverDeltaValue:()=>w,neutralFillInputRestDeltaValue:()=>O,neutralFillLayerRestDeltaValue:()=>B,neutralFillRestDeltaValue:()=>D,neutralFillStealthActiveDeltaValue:()=>H,neutralFillStealthFocusDeltaValue:()=>P,neutralFillStealthHoverDeltaValue:()=>T,neutralFillStealthRestDeltaValue:()=>L,neutralFillStrongActiveDeltaValue:()=>V,neutralFillStrongFocusDeltaValue:()=>x,neutralFillStrongHoverDeltaValue:()=>k,neutralFillStrongRestDeltaValue:()=>I,neutralPaletteValue:()=>s,neutralStrokeActiveDeltaValue:()=>G,neutralStrokeDividerRestDeltaValue:()=>U,neutralStrokeFocusDeltaValue:()=>E,neutralStrokeHoverDeltaValue:()=>z,neutralStrokeRestDeltaValue:()=>M,prefix:()=>N,strokeWidthValue:()=>Y,typeRampBaseFontSizeValue:()=>Z,typeRampBaseLineHeightValue:()=>ee,typeRampMinus1FontSizeValue:()=>ae,typeRampMinus1LineHeightValue:()=>te,typeRampMinus2FontSizeValue:()=>le,typeRampMinus2LineHeightValue:()=>oe,typeRampPlus1FontSizeValue:()=>ne,typeRampPlus1LineHeightValue:()=>ie,typeRampPlus2FontSizeValue:()=>re,typeRampPlus2LineHeightValue:()=>ue,typeRampPlus3FontSizeValue:()=>pe,typeRampPlus3LineHeightValue:()=>se,typeRampPlus4FontSizeValue:()=>de,typeRampPlus4LineHeightValue:()=>ce,typeRampPlus5FontSizeValue:()=>he,typeRampPlus5LineHeightValue:()=>Fe,typeRampPlus6FontSizeValue:()=>fe,typeRampPlus6LineHeightValue:()=>ge});var n,i=t(91796),r=t(13896),u=t(83147);!function(e){e.accentYellow="#FFBC05",e.neutralGrey="#808080"}(n||(n={}));const p=(0,i.paletteFromHex)(n.accentYellow),s=(0,i.paletteFromHex)(n.neutralGrey),d=r.StandardLuminance.DarkMode,c=0,h=4,F=-5,f=0,g=0,S=6,m=-4,y=0,D=7,R=10,C=5,v=0,O=0,w=0,b=0,A=0,L=0,T=5,H=3,P=0,I=0,k=8,V=-5,x=0,B=3,M=25,z=40,G=16,E=25,U=8;var $=t(5598);const N="alpha",W=$.N.ltr,_=.3,Y=1,j=2,X=10,q=4,J=0,K=4,Q='"Segoe UI", Arial, Helvetica, sans-serif',Z="14px",ee="20px",ae="12px",te="16px",le="10px",oe="16px",ne="16px",ie="24px",re="20px",ue="28px",pe="28px",se="36px",de="34px",ce="44px",he="46px",Fe="56px",fe="60px",ge="72px",Se={design_tokens:{color:{accent:{$value:p.source.toColorString(),$type:"color"},neutral:{$value:s.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Q,$type:"fontFamily"}},typography:{baseFontSize:{$value:Z,$type:"dimension"},baseLineHeight:{$value:ee,$type:"dimension"}},mode:{luminance:{$value:d,$type:"number"}},style:{density:{$value:J,$type:"number"},borderRadius:{$value:q,$type:"number"},strokeWidth:{$value:Y,$type:"number"}},space:{designUnit:{$value:K,$type:"number"}}}};class me extends r.DesignSystemProvider{constructor(){super(),(0,i.provideTokens)(l,o,this)}}const ye=me.compose({baseName:"design-system-provider",template:u.html`
|
|
2
2
|
<slot></slot>
|
|
3
3
|
`});t(82694);const De=["baseClass","baseName","shadowOptions","styles","template"],Re=e=>{const{definition:a}=e(),{shadowOptions:t,styles:l,template:o}=a,n=((e,a=De)=>Object.keys(e).filter((e=>!a.includes(e))).reduce(((a,t)=>(a[t]=e[t],a)),{}))(a);return{shadowOptions:t,styles:l,template:o,defaultConfig:n}},{defaultConfig:Ce,shadowOptions:ve,styles:Oe,template:we}=Re(i.foundationAccordion),be=()=>(0,i.foundationAccordion)(),Ae=Ce,Le=we,{defaultConfig:Te,shadowOptions:He,styles:Pe,template:Ie}=Re(i.foundationAccordionItem),ke=()=>(0,i.foundationAccordionItem)(),Ve=Te,xe=Ie,{defaultConfig:Be,shadowOptions:Me,styles:ze,template:Ge}=Re(i.foundationActionsMenu),Ee=()=>(0,i.foundationActionsMenu)(),Ue=Be,$e=Ge,Ne=ze,We=Me,{defaultConfig:_e,shadowOptions:Ye,styles:je,template:Xe}=Re(i.foundationAnchor),qe=()=>(0,i.foundationAnchor)(),Je=_e,Ke=Xe,Qe=je,Ze=Ye,{defaultConfig:ea,shadowOptions:aa,styles:ta,template:la}=Re(i.foundationAnchoredRegion),oa=()=>(0,i.foundationAnchoredRegion)(),na=ea,ia=la,ra=ta,ua=aa,{defaultConfig:pa,shadowOptions:sa,styles:da,template:ca}=Re(i.foundationAvatar),ha=()=>(0,i.foundationAvatar)(),Fa=pa,fa=ca,ga=da,Sa=sa,{defaultConfig:ma,shadowOptions:ya,styles:Da,template:Ra}=Re(i.foundationBadge),Ca=()=>(0,i.foundationBadge)(),va=ma,Oa=Ra,wa=Da,ba=ya,{defaultConfig:Aa,shadowOptions:La,styles:Ta,template:Ha}=Re(i.foundationBanner),Pa=()=>(0,i.foundationBanner)(),Ia=Aa,ka=Ha,Va=Ta,xa=La,{defaultConfig:Ba,shadowOptions:Ma,styles:za,template:Ga}=Re(i.foundationBreadcrumb),Ea=()=>(0,i.foundationBreadcrumb)(),Ua=Ba,$a=Ga,Na=za,Wa=Ma,{defaultConfig:_a,shadowOptions:Ya,styles:ja,template:Xa}=Re(i.foundationBreadcrumbItem),qa=()=>(0,i.foundationBreadcrumbItem)(),Ja=_a,Ka=Xa,Qa=ja,Za=Ya,{defaultConfig:et,shadowOptions:at,styles:tt,template:lt}=Re(i.foundationButton),ot=()=>(0,i.foundationButton)(),nt=et,it=lt,rt=tt,ut=at,{defaultConfig:pt,shadowOptions:st,styles:dt,template:ct}=Re(i.foundationCalendar),ht=()=>(0,i.foundationCalendar)(),Ft=pt,ft=ct,gt=dt,St=st,{defaultConfig:mt,shadowOptions:yt,styles:Dt,template:Rt}=Re(i.foundationCard),Ct=()=>(0,i.foundationCard)(),vt=mt,Ot=Rt,wt=Dt,bt=yt,{defaultConfig:At,shadowOptions:Lt,styles:Tt,template:Ht}=Re(i.foundationCheckbox),Pt=()=>(0,i.foundationCheckbox)(),It=At,kt=Ht,Vt=Tt,xt=Lt,{defaultConfig:Bt,shadowOptions:Mt,styles:zt,template:Gt}=Re(i.foundationCombobox),Et=()=>(0,i.foundationCombobox)(),Ut=Bt,$t=Gt,Nt=zt,Wt=Mt,{defaultConfig:_t,shadowOptions:Yt,styles:jt,template:Xt}=Re(i.foundationConnectionIndicator),qt=()=>(0,i.foundationConnectionIndicator)(),Jt=_t,Kt=Xt,Qt=jt,Zt=Yt,{defaultConfig:el,shadowOptions:al,styles:tl,template:ll}=Re(i.foundationDataGrid),ol=()=>(0,i.foundationDataGrid)(),nl=el,il=ll,rl=tl,ul=al,{defaultConfig:pl,shadowOptions:sl,styles:dl,template:cl}=Re(i.foundationDataGridCell),hl=()=>(0,i.foundationDataGridCell)(),Fl=pl,fl=cl,gl=dl,Sl=sl,{defaultConfig:ml,shadowOptions:yl,styles:Dl,template:Rl}=Re(i.foundationDataGridRow),Cl=()=>(0,i.foundationDataGridRow)(),vl=ml,Ol=Rl,wl=Dl,bl=yl,{defaultConfig:Al,shadowOptions:Ll,styles:Tl,template:Hl}=Re(i.foundationDatePicker),Pl=()=>(0,i.foundationDatePicker)(),Il=Al,kl=Hl,Vl=Tl,xl=Ll,{defaultConfig:Bl,shadowOptions:Ml,styles:zl,template:Gl}=Re(i.foundationDialog),El=()=>(0,i.foundationDialog)(),Ul=Bl,$l=Gl,Nl=zl,Wl=Ml,{defaultConfig:_l,shadowOptions:Yl,styles:jl,template:Xl}=Re(i.foundationDisclosure),ql=()=>(0,i.foundationDisclosure)(),Jl=_l,Kl=Xl,Ql=jl,Zl=Yl,{defaultConfig:eo,shadowOptions:ao,styles:to,template:lo}=Re(i.foundationDivider),oo=()=>(0,i.foundationDivider)(),no=eo,io=lo,ro=to,uo=ao,{defaultConfig:po,shadowOptions:so,styles:co,template:ho}=Re(i.foundationDropdownMenu),Fo=()=>(0,i.foundationDropdownMenu)(),fo=po,go=ho,So=co,mo=so,{defaultConfig:yo,shadowOptions:Do,styles:Ro,template:Co}=Re(i.foundationErrorBanner),vo=()=>(0,i.foundationErrorBanner)(),Oo=yo,wo=Co,bo=Ro,Ao=Do,{defaultConfig:Lo,shadowOptions:To,styles:Ho,template:Po}=Re(i.foundationErrorBoundary),Io=()=>(0,i.foundationErrorBoundary)(),ko=Lo,Vo=Po,xo=Ho,Bo=To,{defaultConfig:Mo,shadowOptions:zo,styles:Go,template:Eo}=Re(i.foundationErrorDialog),Uo=()=>(0,i.foundationErrorDialog)(),$o=Mo,No=Eo,Wo=Go,_o=zo,{defaultConfig:Yo,shadowOptions:jo,styles:Xo,template:qo}=Re(i.foundationFileUpload),Jo=()=>(0,i.foundationFileUpload)(),Ko=Yo,Qo=qo,Zo=Xo,en=jo,{defaultConfig:an,shadowOptions:tn,styles:ln,template:on}=Re(i.foundationFilter),nn=()=>(0,i.foundationFilter)(),rn=an,un=on,pn=ln,sn=tn,{defaultConfig:dn,shadowOptions:cn,styles:hn,template:Fn}=Re(i.foundationFilterBar),fn=()=>(0,i.foundationFilterBar)(),gn=dn,Sn=Fn,mn=hn,yn=cn,{defaultConfig:Dn,shadowOptions:Rn,styles:Cn,template:vn}=Re(i.foundationFlexLayout),On=()=>(0,i.foundationFlexLayout)(),wn=Dn,bn=vn,An=Cn,Ln=Rn,{defaultConfig:Tn,shadowOptions:Hn,styles:Pn,template:In}=Re(i.foundationFlipper),kn=()=>(0,i.foundationFlipper)(),Vn=Tn,xn=In,Bn=Pn,Mn=Hn,{defaultConfig:zn,shadowOptions:Gn,styles:En,template:Un}=Re(i.foundationFlyout),$n=()=>(0,i.foundationFlyout)(),Nn=zn,Wn=Un,_n=En,Yn=Gn,{defaultConfig:jn,shadowOptions:Xn,styles:qn,template:Jn}=Re(i.foundationGridLayout),Kn=()=>(0,i.foundationGridLayout)(),Qn=jn,Zn=Jn,ei=qn,ai=Xn,{defaultConfig:ti,shadowOptions:li,styles:oi,template:ni}=Re(i.foundationGridLayoutItem),ii=()=>(0,i.foundationGridLayoutItem)(),ri=ti,ui=ni,pi=oi,si=li,{defaultConfig:di,shadowOptions:ci,styles:hi,template:Fi}=Re(i.foundationHorizontalScroll),fi=()=>(0,i.foundationHorizontalScroll)(),gi=di,Si=Fi,mi=hi,yi=ci,{defaultConfig:Di,shadowOptions:Ri,styles:Ci,template:vi}=Re(i.foundationIcon),Oi=()=>(0,i.foundationIcon)(),wi=Di,bi=vi,Ai=Ci,Li=Ri,{defaultConfig:Ti,shadowOptions:Hi,styles:Pi,template:Ii}=Re(i.foundationListbox),ki=()=>(0,i.foundationListbox)(),Vi=Ti,xi=Ii,{defaultConfig:Bi,shadowOptions:Mi,styles:zi,template:Gi}=Re(i.foundationListboxOption),Ei=()=>(0,i.foundationListboxOption)(),Ui=Bi,$i=Gi,Ni=zi,Wi=Mi,{defaultConfig:_i,shadowOptions:Yi,styles:ji,template:Xi}=Re(i.foundationMenu),qi=()=>(0,i.foundationMenu)(),Ji=_i,Ki=Xi,Qi=ji,Zi=Yi,{defaultConfig:er,shadowOptions:ar,styles:tr,template:lr}=Re(i.foundationMenuItem),or=()=>(0,i.foundationMenuItem)(),nr=er,ir=lr,rr=tr,ur=ar,{defaultConfig:pr,shadowOptions:sr,styles:dr,template:cr}=Re(i.foundationModal),hr=()=>(0,i.foundationModal)(),Fr=pr,fr=cr,gr=dr,Sr=sr,{defaultConfig:mr,shadowOptions:yr,styles:Dr,template:Rr}=Re(i.foundationMultiselect),Cr=()=>(0,i.foundationMultiselect)(),vr=mr,Or=Rr,wr=Dr,br=yr,{defaultConfig:Ar,shadowOptions:Lr,styles:Tr,template:Hr}=Re(i.foundationNumberField),Pr=()=>(0,i.foundationNumberField)(),Ir=Ar,kr=Hr,Vr=Tr,xr=Lr,{defaultConfig:Br,shadowOptions:Mr,styles:zr,template:Gr}=Re(r.fastPicker),Er=()=>(0,r.fastPicker)(),Ur=Br,$r=Gr,Nr=zr,Wr=Mr,{defaultConfig:_r,shadowOptions:Yr,styles:jr,template:Xr}=Re(i.foundationProgress),qr=()=>(0,i.foundationProgress)(),Jr=_r,Kr=Xr,Qr=jr,Zr=Yr,{defaultConfig:eu,shadowOptions:au,styles:tu,template:lu}=Re(i.foundationProgressRing),ou=()=>(0,i.foundationProgressRing)(),nu=eu,iu=lu,ru=tu,uu=au,{defaultConfig:pu,shadowOptions:su,styles:du,template:cu}=Re(i.foundationRadio),hu=()=>(0,i.foundationRadio)(),Fu=pu,fu=cu,gu=du,Su=su,{defaultConfig:mu,shadowOptions:yu,styles:Du,template:Ru}=Re(i.foundationRadioGroup),Cu=()=>(0,i.foundationRadioGroup)(),vu=mu,Ou=Ru,wu=Du,bu=yu,{defaultConfig:Au,shadowOptions:Lu,styles:Tu,template:Hu}=Re(r.fastSearch),Pu=()=>(0,r.fastSearch)(),Iu=Au,ku=Hu,Vu=Tu,xu=Lu,{defaultConfig:Bu,shadowOptions:Mu,styles:zu,template:Gu}=Re(i.foundationSegmentedControl),Eu=()=>(0,i.foundationSegmentedControl)(),Uu=Bu,$u=Gu,Nu=zu,Wu=Mu,{defaultConfig:_u,shadowOptions:Yu,styles:ju,template:Xu}=Re(i.foundationSegmentedItem),qu=()=>(0,i.foundationSegmentedItem)(),Ju=_u,Ku=Xu,Qu=ju,Zu=Yu,{defaultConfig:ep,shadowOptions:ap,styles:tp,template:lp}=Re(i.foundationSelect),op=()=>(0,i.foundationSelect)(),np=ep,ip=lp,rp=tp,up=ap,{defaultConfig:pp,shadowOptions:sp,styles:dp,template:cp}=Re(i.foundationSkeleton),hp=()=>(0,i.foundationSkeleton)(),Fp=pp,fp=cp,gp=dp,Sp=sp,{defaultConfig:mp,shadowOptions:yp,styles:Dp,template:Rp}=Re(i.foundationSlider),Cp=()=>(0,i.foundationSlider)(),vp=mp,Op=Rp,wp=Dp,bp=yp,{defaultConfig:Ap,shadowOptions:Lp,styles:Tp,template:Hp}=Re(i.foundationSliderLabel),Pp=()=>(0,i.foundationSliderLabel)(),Ip=Ap,kp=Hp,Vp=Tp,xp=Lp,{defaultConfig:Bp,shadowOptions:Mp,styles:zp,template:Gp}=Re(i.foundationSnackbar),Ep=()=>(0,i.foundationSnackbar)(),Up=Bp,$p=Gp,Np=zp,Wp=Mp,{defaultConfig:_p,shadowOptions:Yp,styles:jp,template:Xp}=Re(i.foundationSwitch),qp=()=>(0,i.foundationSwitch)(),Jp=_p,Kp=Xp,Qp=jp,Zp=Yp,{defaultConfig:es,shadowOptions:as,styles:ts,template:ls}=Re(i.foundationTab),os=()=>(0,i.foundationTab)(),ns=es,is=ls,rs=ts,us=as,{defaultConfig:ps,shadowOptions:ss,styles:ds,template:cs}=Re(i.foundationTabPanel),hs=()=>(0,i.foundationTabPanel)(),Fs=ps,fs=cs,gs=ds,Ss=ss,{defaultConfig:ms,shadowOptions:ys,styles:Ds,template:Rs}=Re(i.foundationTabs),Cs=()=>(0,i.foundationTabs)(),vs=ms,Os=Rs,ws=Ds,bs=ys,{defaultConfig:As,shadowOptions:Ls,styles:Ts,template:Hs}=Re(i.foundationTextArea),Ps=()=>(0,i.foundationTextArea)(),Is=As,ks=Hs,Vs=Ts,xs=Ls,{defaultConfig:Bs,shadowOptions:Ms,styles:zs,template:Gs}=Re(i.foundationTextField),Es=()=>(0,i.foundationTextField)(),Us=Bs,$s=Gs,Ns=zs,Ws=Ms,{defaultConfig:_s,shadowOptions:Ys,styles:js,template:Xs}=Re(i.foundationToast),qs=()=>(0,i.foundationToast)(),Js=_s,Ks=Xs,Qs=js,Zs=Ys,{defaultConfig:ed,shadowOptions:ad,styles:td,template:ld}=Re(i.foundationToolbar),od=()=>(0,i.foundationToolbar)(),nd=ed,id=ld,rd=td,ud=ad,{defaultConfig:pd,shadowOptions:sd,styles:dd,template:cd}=Re(i.foundationTooltip),hd=()=>(0,i.foundationTooltip)(),Fd=pd,fd=cd,gd=dd,Sd=sd,{defaultConfig:md,shadowOptions:yd,styles:Dd,template:Rd}=Re(i.foundationTreeItem),Cd=()=>(0,i.foundationTreeItem)(),vd=md,Od=Rd,wd=Dd,bd=yd,{defaultConfig:Ad,shadowOptions:Ld,styles:Td,template:Hd}=Re(i.foundationTreeView),Pd=()=>(0,i.foundationTreeView)(),Id=Ad,kd=Hd,Vd=Td,xd=Ld,{defaultConfig:Bd,shadowOptions:Md,styles:zd,template:Gd}=Re(i.foundationUrlInput),Ed=()=>(0,i.foundationUrlInput)(),Ud=Bd,$d=Gd,Nd=zd,Wd=Md,_d={designSystemProvider:ye,alphaAccordion:be,alphaAccordionItem:ke,alphaActionsMenu:Ee,alphaAnchor:qe,alphaAnchoredRegion:oa,alphaAvatar:ha,alphaBadge:Ca,alphaBanner:Pa,alphaBreadcrumb:Ea,alphaBreadcrumbItem:qa,alphaButton:ot,alphaCalendar:ht,alphaCard:Ct,alphaCheckbox:Pt,alphaCombobox:Et,alphaConnectionIndicator:qt,alphaDataGrid:ol,alphaDataGridCell:hl,alphaDataGridRow:Cl,alphaDatePicker:Pl,alphaDialog:El,alphaDisclosure:ql,alphaDivider:oo,alphaDropdownMenu:Fo,alphaErrorBanner:vo,alphaErrorBoundary:Io,alphaErrorDialog:Uo,alphaFileUpload:Jo,alphaFilter:nn,alphaFilterBar:fn,alphaFlexLayout:On,alphaFlipper:kn,alphaFlyout:$n,alphaGridLayout:Kn,alphaGridLayoutItem:ii,alphaHorizontalScroll:fi,alphaIcon:Oi,alphaListbox:ki,alphaListboxOption:Ei,alphaMenu:qi,alphaMenuItem:or,alphaModal:hr,alphaMultiselect:Cr,alphaNumberField:Pr,alphaPicker:Er,alphaProgress:qr,alphaProgressRing:ou,alphaRadio:hu,alphaRadioGroup:Cu,alphaSearch:Pu,alphaSegmentedControl:Eu,alphaSegmentedItem:qu,alphaSelect:op,alphaSkeleton:hp,alphaSlider:Cp,alphaSliderLabel:Pp,alphaSnackbar:Ep,alphaSwitch:qp,alphaTab:os,alphaTabPanel:hs,alphaTabs:Cs,alphaTextArea:Ps,alphaTextField:Es,alphaToast:qs,alphaToolbar:od,alphaTooltip:hd,alphaTreeItem:Cd,alphaTreeView:Pd,alphaUrlInput:Ed,register(e,...a){if(e)for(const t in this)"register"!==t&&this[t]().register(e,...a)}};var Yd=t(75951);const jd=(e,a="alpha")=>{e&&(0,i.provideTokens)(l,o,e);const t=Yd.DesignSystem.getOrCreate(e).withPrefix(a);return(0,i.createDesignSystemProxy)(t)}}}]);
|
|
4
4
|
//# sourceMappingURL=361.7f53beccc36aa326237c570a2d5229d3.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[495],{7495:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>dl,ColorToken:()=>pl,ColorTokens:()=>bl,DesignSystemEditor:()=>Zn,DesignSystemExport:()=>nl,DesignSystemPreview:()=>kl,EventName:()=>Pn,PreviewComponents:()=>tl,PreviewForm:()=>Fl,PreviewGrid:()=>Nl,TypographyTokens:()=>yl,defaultBodyFont:()=>Hn,fontFamilies:()=>Gn});var t={};r.r(t),r.d(t,{accentFillActive:()=>p.accentFillActive,accentFillActiveDelta:()=>p.accentFillActiveDelta,accentFillFocus:()=>p.accentFillFocus,accentFillFocusDelta:()=>p.accentFillFocusDelta,accentFillHover:()=>p.accentFillHover,accentFillHoverDelta:()=>p.accentFillHoverDelta,accentFillRest:()=>p.accentFillRest,accentFillRestDelta:()=>p.accentFillRestDelta,accentForegroundActive:()=>p.accentForegroundActive,accentForegroundActiveDelta:()=>p.accentForegroundActiveDelta,accentForegroundFocus:()=>p.accentForegroundFocus,accentForegroundFocusDelta:()=>p.accentForegroundFocusDelta,accentForegroundHover:()=>p.accentForegroundHover,accentForegroundHoverDelta:()=>p.accentForegroundHoverDelta,accentForegroundRest:()=>p.accentForegroundRest,accentForegroundRestDelta:()=>p.accentForegroundRestDelta,accentPalette:()=>p.accentPalette,baseHeightMultiplier:()=>p.baseHeightMultiplier,baseLayerLuminance:()=>p.baseLayerLuminance,bodyFont:()=>p.bodyFont,controlCornerRadius:()=>p.controlCornerRadius,density:()=>p.density,designUnit:()=>p.designUnit,direction:()=>p.direction,disabledOpacity:()=>p.disabledOpacity,fillColor:()=>p.fillColor,focusStrokeInner:()=>p.focusStrokeInner,focusStrokeOuter:()=>p.focusStrokeOuter,focusStrokeWidth:()=>p.focusStrokeWidth,foregroundOnAccentActive:()=>p.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>p.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>p.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>p.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>p.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>p.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>p.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>p.foregroundOnAccentRestLarge,neutralFillActive:()=>p.neutralFillActive,neutralFillActiveDelta:()=>p.neutralFillActiveDelta,neutralFillFocus:()=>p.neutralFillFocus,neutralFillFocusDelta:()=>p.neutralFillFocusDelta,neutralFillHover:()=>p.neutralFillHover,neutralFillHoverDelta:()=>p.neutralFillHoverDelta,neutralFillInputActive:()=>p.neutralFillInputActive,neutralFillInputActiveDelta:()=>p.neutralFillInputActiveDelta,neutralFillInputFocus:()=>p.neutralFillInputFocus,neutralFillInputFocusDelta:()=>p.neutralFillInputFocusDelta,neutralFillInputHover:()=>p.neutralFillInputHover,neutralFillInputHoverDelta:()=>p.neutralFillInputHoverDelta,neutralFillInputRest:()=>p.neutralFillInputRest,neutralFillInputRestDelta:()=>p.neutralFillInputRestDelta,neutralFillLayerRest:()=>p.neutralFillLayerRest,neutralFillLayerRestDelta:()=>p.neutralFillLayerRestDelta,neutralFillRest:()=>p.neutralFillRest,neutralFillRestDelta:()=>p.neutralFillRestDelta,neutralFillStealthActive:()=>p.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>p.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>p.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>p.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>p.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>p.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>p.neutralFillStealthRest,neutralFillStealthRestDelta:()=>p.neutralFillStealthRestDelta,neutralFillStrongActive:()=>p.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>p.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>p.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>p.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>p.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>p.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>p.neutralFillStrongRest,neutralFillStrongRestDelta:()=>p.neutralFillStrongRestDelta,neutralForegroundHint:()=>p.neutralForegroundHint,neutralForegroundRest:()=>p.neutralForegroundRest,neutralLayer1:()=>p.neutralLayer1,neutralLayer2:()=>p.neutralLayer2,neutralLayer3:()=>p.neutralLayer3,neutralLayer4:()=>p.neutralLayer4,neutralLayerCardContainer:()=>p.neutralLayerCardContainer,neutralLayerFloating:()=>p.neutralLayerFloating,neutralPalette:()=>p.neutralPalette,neutralStrokeActive:()=>p.neutralStrokeActive,neutralStrokeActiveDelta:()=>p.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>p.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>p.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>p.neutralStrokeFocus,neutralStrokeFocusDelta:()=>p.neutralStrokeFocusDelta,neutralStrokeHover:()=>p.neutralStrokeHover,neutralStrokeHoverDelta:()=>p.neutralStrokeHoverDelta,neutralStrokeRest:()=>p.neutralStrokeRest,neutralStrokeRestDelta:()=>p.neutralStrokeRestDelta,strokeWidth:()=>p.strokeWidth,typeRampBaseFontSize:()=>p.typeRampBaseFontSize,typeRampBaseLineHeight:()=>p.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>p.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>p.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>p.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>p.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>p.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>p.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>p.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>p.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>p.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>p.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>p.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>p.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>p.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>p.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>p.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>p.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>se,baseLayerLuminanceValue:()=>pe,bodyFontValue:()=>xe,controlCornerRadiusValue:()=>me,densityValue:()=>ve,designTokens:()=>Se,designUnitValue:()=>be,directionValue:()=>ue,neutralPaletteValue:()=>ce,strokeWidthValue:()=>he,typeRampBaseFontSizeValue:()=>ze,typeRampBaseLineHeightValue:()=>ke});var i=r(
|
|
1
|
+
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[495],{7495:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>dl,ColorToken:()=>pl,ColorTokens:()=>bl,DesignSystemEditor:()=>Zn,DesignSystemExport:()=>nl,DesignSystemPreview:()=>kl,EventName:()=>Pn,PreviewComponents:()=>tl,PreviewForm:()=>Fl,PreviewGrid:()=>Nl,TypographyTokens:()=>yl,defaultBodyFont:()=>Hn,fontFamilies:()=>Gn});var t={};r.r(t),r.d(t,{accentFillActive:()=>p.accentFillActive,accentFillActiveDelta:()=>p.accentFillActiveDelta,accentFillFocus:()=>p.accentFillFocus,accentFillFocusDelta:()=>p.accentFillFocusDelta,accentFillHover:()=>p.accentFillHover,accentFillHoverDelta:()=>p.accentFillHoverDelta,accentFillRest:()=>p.accentFillRest,accentFillRestDelta:()=>p.accentFillRestDelta,accentForegroundActive:()=>p.accentForegroundActive,accentForegroundActiveDelta:()=>p.accentForegroundActiveDelta,accentForegroundFocus:()=>p.accentForegroundFocus,accentForegroundFocusDelta:()=>p.accentForegroundFocusDelta,accentForegroundHover:()=>p.accentForegroundHover,accentForegroundHoverDelta:()=>p.accentForegroundHoverDelta,accentForegroundRest:()=>p.accentForegroundRest,accentForegroundRestDelta:()=>p.accentForegroundRestDelta,accentPalette:()=>p.accentPalette,baseHeightMultiplier:()=>p.baseHeightMultiplier,baseLayerLuminance:()=>p.baseLayerLuminance,bodyFont:()=>p.bodyFont,controlCornerRadius:()=>p.controlCornerRadius,density:()=>p.density,designUnit:()=>p.designUnit,direction:()=>p.direction,disabledOpacity:()=>p.disabledOpacity,fillColor:()=>p.fillColor,focusStrokeInner:()=>p.focusStrokeInner,focusStrokeOuter:()=>p.focusStrokeOuter,focusStrokeWidth:()=>p.focusStrokeWidth,foregroundOnAccentActive:()=>p.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>p.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>p.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>p.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>p.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>p.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>p.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>p.foregroundOnAccentRestLarge,neutralFillActive:()=>p.neutralFillActive,neutralFillActiveDelta:()=>p.neutralFillActiveDelta,neutralFillFocus:()=>p.neutralFillFocus,neutralFillFocusDelta:()=>p.neutralFillFocusDelta,neutralFillHover:()=>p.neutralFillHover,neutralFillHoverDelta:()=>p.neutralFillHoverDelta,neutralFillInputActive:()=>p.neutralFillInputActive,neutralFillInputActiveDelta:()=>p.neutralFillInputActiveDelta,neutralFillInputFocus:()=>p.neutralFillInputFocus,neutralFillInputFocusDelta:()=>p.neutralFillInputFocusDelta,neutralFillInputHover:()=>p.neutralFillInputHover,neutralFillInputHoverDelta:()=>p.neutralFillInputHoverDelta,neutralFillInputRest:()=>p.neutralFillInputRest,neutralFillInputRestDelta:()=>p.neutralFillInputRestDelta,neutralFillLayerRest:()=>p.neutralFillLayerRest,neutralFillLayerRestDelta:()=>p.neutralFillLayerRestDelta,neutralFillRest:()=>p.neutralFillRest,neutralFillRestDelta:()=>p.neutralFillRestDelta,neutralFillStealthActive:()=>p.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>p.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>p.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>p.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>p.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>p.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>p.neutralFillStealthRest,neutralFillStealthRestDelta:()=>p.neutralFillStealthRestDelta,neutralFillStrongActive:()=>p.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>p.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>p.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>p.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>p.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>p.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>p.neutralFillStrongRest,neutralFillStrongRestDelta:()=>p.neutralFillStrongRestDelta,neutralForegroundHint:()=>p.neutralForegroundHint,neutralForegroundRest:()=>p.neutralForegroundRest,neutralLayer1:()=>p.neutralLayer1,neutralLayer2:()=>p.neutralLayer2,neutralLayer3:()=>p.neutralLayer3,neutralLayer4:()=>p.neutralLayer4,neutralLayerCardContainer:()=>p.neutralLayerCardContainer,neutralLayerFloating:()=>p.neutralLayerFloating,neutralPalette:()=>p.neutralPalette,neutralStrokeActive:()=>p.neutralStrokeActive,neutralStrokeActiveDelta:()=>p.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>p.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>p.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>p.neutralStrokeFocus,neutralStrokeFocusDelta:()=>p.neutralStrokeFocusDelta,neutralStrokeHover:()=>p.neutralStrokeHover,neutralStrokeHoverDelta:()=>p.neutralStrokeHoverDelta,neutralStrokeRest:()=>p.neutralStrokeRest,neutralStrokeRestDelta:()=>p.neutralStrokeRestDelta,strokeWidth:()=>p.strokeWidth,typeRampBaseFontSize:()=>p.typeRampBaseFontSize,typeRampBaseLineHeight:()=>p.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>p.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>p.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>p.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>p.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>p.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>p.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>p.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>p.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>p.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>p.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>p.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>p.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>p.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>p.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>p.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>p.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>se,baseLayerLuminanceValue:()=>pe,bodyFontValue:()=>xe,controlCornerRadiusValue:()=>me,densityValue:()=>ve,designTokens:()=>Se,designUnitValue:()=>be,directionValue:()=>ue,neutralPaletteValue:()=>ce,strokeWidthValue:()=>he,typeRampBaseFontSizeValue:()=>ze,typeRampBaseLineHeightValue:()=>ke});var i=r(60998),n=r(92592),l=r(62646),g=r(74692),d=r(60724),s=r(83147),c=r(75951),p=r(13896),u=r(67973);const h=s.css`
|
|
2
2
|
:host {
|
|
3
3
|
border: calc(${p.strokeWidth} * 1px) solid transparent;
|
|
4
4
|
margin: 0;
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
</control-wrapper>
|
|
231
231
|
</template>
|
|
232
232
|
`)(e.prefix)}
|
|
233
|
-
`,tester:(0,d.yMz)(3,M),mapper:d.xq9};var $=r(
|
|
233
|
+
`,tester:(0,d.yMz)(3,M),mapper:d.xq9};var $=r(91796);const R=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},j=(0,d.xDy)(R("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));$.MultiselectDatasource;const I={renderer:s.html`
|
|
234
234
|
${e=>((e="zero")=>s.html`
|
|
235
235
|
<template>
|
|
236
236
|
<control-wrapper
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[659],{35991:(e,t,s)=>{s.d(t,{g:()=>b});var i=s(186),r=s(83147),o=s(75951),n=s(26714),a=s(62646),c=s(9162),d=s(19082),h=s(4077),E=s(75527),l=s(22296);const u=o.DI.createInterface();function g(){return(null===navigator||void 0===navigator?void 0:navigator.credentials)?"PasswordCredential"in window||(l.k.warn("PasswordCredential not available in this browser."),!1):(l.k.warn("CredentialsContainer not available in this browser."),!1)}const S=":";function _(e="",t=S,s){return e.split(t,s).map((e=>e.trim())).filter((e=>""!==e))}function T(e,t=S){const s="string"==typeof e&&e.trim();return!!s&&s.includes(t)}function R(e,t=S){return"string"==typeof e&&e.trim()?(e.match(new RegExp(t,"g"))||[]).length:0}function v(e,t=S){for(const s of e)if(T(s,t))return s;return e.find((e=>"string"==typeof e&&!!e.trim()))}function p(e,t,s){const i="string"==typeof e&&e.trim();return!i||s&&!i.includes(s)||R(i)>1?s&&t&&s!==t?`${t}:${s}`:t||s:i}function m(e="credential"){l.k.warn(`Unable to migrate legacy ${e} to latest format. Please remove from your browser.`)}const O={password:!0,mediation:"optional"},A={cookie:{path:"/",name:"credentials",expires:7300,storePasswords:!1}};let I=class{constructor(e,t=A){this.session=e,this.config=t}createBasicCredentials(e){return{type:h.G.BASIC,username:e.username,password:e.password}}createRefreshCredentials(e){var t,s;return{type:h.G.REFRESH,username:null!==(t=null==e?void 0:e.username)&&void 0!==t?t:this.getUsername(),refreshToken:null!==(s=null==e?void 0:e.refreshToken)&&void 0!==s?s:this.getRefreshToken()}}createSSOCredentials(e){var t;return{type:h.G.SSO,ssoToken:null!==(t=null==e?void 0:e.ssoToken)&&void 0!==t?t:this.getSSOToken()}}validateBasicCredentials(e){return e&&!!e.username&&!!e.password}validateRefreshCredentials(e){return e&&!!e.refreshToken&&!!e.username}validateSSOCredentials(e){return e&&!!e.ssoToken}validateUserCredentialData(e,t){const s=e&&!!e.id&&!!e.name&&!e.name.includes(S)&&R(e.id)<=1;return t?s&&!!e.password:s}normaliseLegacyCredentialData(e,t){if(this.validateUserCredentialData(e,!0))return[e,!0];if(this.validateUserCredentialData(t))return[t,!1];if(e)try{const t=e,[s]=_(t.name||t.id),[i,r]=_(v([t.id,t.name]));return[{id:p(t.id||t.name,s,r),name:s,password:t.password||""},!0]}catch(e){m("PasswordCredential")}if(t)try{const e=t,[s]=_(e.name||e.username||e.organisation),[i,r]=_(v([e.organisation||e.username||e.name]));return[{id:p(e.id||e.username||e.name,s,r),name:s,password:e.password||""},!1]}catch(e){m("cookie")}return[void 0,!1]}storeCredentialsInContainer(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!g())return;const t=new PasswordCredential(e);return l.k.debug("Storing credentials in CredentialsContainer"),navigator.credentials.store(t)}))}getCredentialsFromContainer(e=O){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(g())return l.k.debug("Getting credentials from CredentialsContainer"),yield navigator.credentials.get(e)}))}storeCredentialsInCookie(e){const{password:t}=e,s=(0,i.__rest)(e,["password"]),r=this.config.cookie.storePasswords?e:s;return l.k.debug("Storing credentials in cookie"),!!d.Z.set(this.config.cookie.name,JSON.stringify(r),{expires:this.config.cookie.expires,domain:location.hostname,path:this.config.cookie.path,secure:!0})}getCredentialsFromCookie(){l.k.debug("Getting credentials from cookie");const e=d.Z.get(this.config.cookie.name);return e?JSON.parse(e):void 0}storeCredentials(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(g()){const t=yield this.storeCredentialsInContainer(e);return Promise.resolve(!!t)}return Promise.resolve(this.storeCredentialsInCookie(e))}))}getCredentials(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return g()?this.getCredentialsFromContainer(e):Promise.resolve(this.getCredentialsFromCookie())}))}getSSOToken(){return this.session.getSessionStorageItem("ssoToken")}getUsername(){return this.session.getSessionStorageItem("username")}getRefreshToken(){return this.session.getSessionStorageItem("refreshToken")}removeCookie(){d.Z.remove(this.config.cookie.name,{domain:location.hostname,path:this.config.cookie.path})}removeSSOToken(){this.session.removeSessionStorageItem("ssoToken")}removeUsername(){this.session.removeSessionStorageItem("username")}removeRefreshToken(){this.session.removeSessionStorageItem("refreshToken")}removeAll(){this.removeCookie(),this.removeSSOToken(),this.removeUsername(),this.removeRefreshToken()}preventSilentAccess(){return g()&&navigator.credentials.preventSilentAccess()}};I=(0,i.__decorate)([(0,i.__param)(0,E.z),(0,i.__param)(1,(0,o.optional)(u))],I);const f=o.DI.createInterface((e=>e.singleton(I)));class M{constructor(e){Object.assign(this,e)}hasAdminProfile(){return this.hasProfile("ADMIN")}hasPermission(e){return this.hasKey(this.permissions,e)}hasProfile(e){return this.hasKey(this.profiles,e)}hasKey(e,t){return!!(e&&e.length&&t)&&(Array.isArray(t)||(t=[t]),t.some((t=>e.includes(t))))}}(0,i.__decorate)([r.observable],M.prototype,"permissions",void 0),(0,i.__decorate)([r.observable],M.prototype,"profiles",void 0),(0,i.__decorate)([r.observable],M.prototype,"username",void 0);let N=class{loggedUserResultChanged(e,t){var s;null===(s=this.isLoggedInSubject)||void 0===s||s.next(this.isLoggedIn)}get isLoggedIn$(){return this.isLoggedInSubject.asObservable()}get isLoggedIn(){return!!this.loggedUserResult&&!(!this.loggedUserResult.authToken||!this.loggedUserResult.sessionId)}constructor(e,t,s,i){this.session=e,this.connect=t,this.messageBuilder=s,this.credentialManager=i,this.isWorking=!1,this.isLoggedInSubject=new n.X(!1)}login(e){var t;return(0,i.__awaiter)(this,void 0,void 0,(function*(){this.isWorking=!0;try{const s=this.messageBuilder.createLoginMessage(e),i=yield this.connect.send(s);if(!i||i.ERROR||(null===(t=i.DETAILS)||void 0===t?void 0:t.ERROR))throw new h.l(s,i);this.applyAuthResults({authToken:i.SESSION_AUTH_TOKEN,refreshToken:i.REFRESH_AUTH_TOKEN,profiles:i.PROFILE,username:i.USER_NAME,permissions:i.PERMISSION,sessionId:i.SESSION_ID}),this.session.setAuthResult(i),l.k.debug("Login Authentication Result:",i)}catch(e){if(l.k.error("Login Authentication Error:",e),!(e instanceof h.l&&e.isIgnorableError()))throw this.removeAuthResults(),e;l.k.warn("Ignoring authentication error as it is a known edge case.")}finally{this.isWorking=!1}return this.loggedUserResult}))}logout(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){this.isWorking=!0;let t={success:!1};try{const s=this.messageBuilder.createLogoutMessage(this.loggedUserResult);this.session.deleteUserFromSessionStorage(),this.connect.setValidSession(!1);const{CODE:i,DETAILS:r,ERROR:o,MESSAGE_TYPE:n,OIDC_LOGOUT_URL:a}=yield this.connect.send(s),d=null!==(e=null==r?void 0:r.ERROR)&&void 0!==e?e:o,h=n===c.Cs.LOGOUT_NACK;h&&l.k.warn("Unexpected Logout NACK received during logout.",d),t={success:n===c.Cs.LOGOUT_ACK||i===c.QT.SESSION_NOT_FOUND||h,error:d},a&&window.open(a,"_self")}catch(e){const s=new h.l(e.sentMessage,e.receivedMessage);if(l.k.error("Logout Authentication Error:",s),!s.isIgnorableError())throw e;l.k.warn("Ignoring authentication error as it is a known edge case."),t.success=!0}finally{this.removeAuthResults(),this.isWorking=!1}return t}))}reAuthFromSession(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(yield this.ensureConnection()){const e=this.messageBuilder.createRefreshTokenMessage(),t=yield this.connect.send(e);if((null==t?void 0:t.MESSAGE_TYPE)===c.N$.EVENT_LOGIN_AUTH_ACK)return this.session.setAuthResult(t),this.connect.setValidSession(!0),this.applyAuthResults(this.getLoggedUserFromMessage(t)),!0}return this.session.deleteUserFromSessionStorage(),this.connect.setValidSession(!1),!1}))}ensureConnection(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(this.connect.isConnected)return!0;const e=this.session.getSessionStorageItem("hostUrl");return!!e&&this.connect.connect(e)}))}getLoggedUserFromMessage(e){const t=e.USER_NAME,s=e.SESSION_AUTH_TOKEN,i=e.REFRESH_AUTH_TOKEN;return t&&s&&i?{username:t,authToken:s,refreshToken:i,profiles:e.PROFILE,permissions:e.PERMISSION,sessionId:e.SESSION_ID}:null}applyAuthResults(e){e?(this.loggedUserResult={authToken:e.authToken,refreshToken:e.refreshToken,profiles:e.profiles,username:e.username,permissions:e.permissions,sessionId:e.sessionId},this.currentUser=new M({permissions:e.permissions,profiles:e.profiles,username:e.username})):this.removeAuthResults()}removeAuthResults(){this.loggedUserResult=null,this.currentUser=null}};(0,i.__decorate)([r.observable],N.prototype,"isWorking",void 0),(0,i.__decorate)([r.observable],N.prototype,"currentUser",void 0),(0,i.__decorate)([r.observable],N.prototype,"loggedUserResult",void 0),(0,i.__decorate)([r.volatile],N.prototype,"isLoggedIn",null),N=(0,i.__decorate)([(0,i.__param)(0,E.z),(0,i.__param)(1,a.lj),(0,i.__param)(2,c.sW),(0,i.__param)(3,f)],N);const b=o.DI.createInterface((e=>e.singleton(N)))},4077:(e,t,s)=>{var i;s.d(t,{G:()=>i,l:()=>r}),function(e){e.BASIC="BASIC",e.SSO="SSO",e.JWT="JWT",e.REFRESH="REFRESH"}(i||(i={}));class r extends Error{constructor(e,t,s="Auth Failed \n"){super(s),this.sent=e,this.received=t,Object.setPrototypeOf(this,r.prototype)}isIgnorableError(){var e,t,s,i;return null===(i=null===(s=null===(t=null===(e=this.received)||void 0===e?void 0:e.DETAILS)||void 0===t?void 0:t.ERROR)||void 0===s?void 0:s.toLowerCase())||void 0===i?void 0:i.includes("request needs the user to be logged")}getMessageError(){var e,t;return Array.isArray(null===(e=this.received)||void 0===e?void 0:e.ERROR)?null===(t=this.received)||void 0===t?void 0:t.ERROR.map((e=>this.errorDetailFormatter(e))).join("\n"):""}getDetailsError(){var e,t,s,i;return Array.isArray(null===(t=null===(e=this.received)||void 0===e?void 0:e.DETAILS)||void 0===t?void 0:t.ERROR)?null===(i=null===(s=this.received)||void 0===s?void 0:s.DETAILS)||void 0===i?void 0:i.ERROR.map((e=>this.errorDetailFormatter(e))).join("\n"):""}hasPasswordExpiredError(){return this.hasErrorCode("PASSWORD_EXPIRED")}hasErrorCode(e){var t,s;return!!Array.isArray(null===(t=this.received)||void 0===t?void 0:t.ERROR)&&(null===(s=this.received)||void 0===s?void 0:s.ERROR.some((t=>t.CODE===e)))}errorDetailFormatter(e){return`\n ${e.CODE}: \n ${e.TEXT}`}}},62646:(e,t,s)=>{s.d(t,{lj:()=>q});var i=s(186),r=s(71684),o=s(83147),n=s(75951);class a{constructor(){this.cachedMetadata=new Map,this.cachedJsonSchema=new Map}getMetadataFor(e){return this.cachedMetadata.get(e)}getJsonSchemaFor(e){return this.cachedJsonSchema.get(e)}hasMetadataFor(e){return this.cachedMetadata.has(e)}hasJsonSchemaFor(e){return this.cachedJsonSchema.has(e)}setMetadataFor(e,t){this.cachedMetadata.set(e,t)}setJsonSchemaFor(e,t){this.cachedJsonSchema.set(e,t)}}const c=n.DI.createInterface((e=>e.singleton(a))),d=new RegExp(/wss?:\/\/[-a-zA-Z0-9@:%._\+~#=]{1,256}\b([-a-zA-Z0-9()@:%_\+.~#?&\/=]*)\b\/*$/,"i");var h=s(22296);const E=n.DI.createInterface(),l=n.DI.createInterface();var u=s(26714),g=s(16697),S=s(56383),_=s(29866),T=s(40804),R=s(7211),v=s(44866),p=s(75527);class m{serialize(e){return JSON.stringify(e)}deserialize(e){return e?"string"==typeof e?JSON.parse(e):e.data?JSON.parse(e.data):e.text().then((e=>JSON.parse(e))):Promise.resolve({})}}const O=n.DI.createInterface((e=>e.singleton(m)));let A=class{constructor(e){this.serializer=e}get(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=yield fetch(e,Object.assign(Object.assign({},t),{method:"GET"}));return(t.serializer||this.serializer).deserialize(s)}))}post(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=yield fetch(e,Object.assign(Object.assign({},t),{method:"POST"}));return(t.serializer||this.serializer).deserialize(s)}))}};A=(0,i.__decorate)([(0,i.__param)(0,O)],A);const I=n.DI.createInterface((e=>e.singleton(A)));var f=s(9162);const M={polling:Object.assign({POLLING_MAP:{EVENT_AMEND_USER:{TEMP_FREQUENCY:500,AMOUNT_OF_POLLS:5,QUERIES:["ALL_USERS"]}},POLLING_INTERVAL_MAP:{ALL_TRADES:5e3,ALL_USERS:5e3,ALL_PROCESSES_STATUS:1e4},POLLING_FREQUENCY:5e3},{})};let N=class e{get isConnected(){return this._isConnected}set isConnected(e){this._isConnected=e,this.isConnectedSubject.next(this._isConnected)}constructor(e,t,s,i,r,o=M){var n;this.http=e,this.messageBuilder=t,this.session=s,this.metaCache=i,this.serializer=r,this.config=o,this.isWorking=!1,this._isConnected=!1,this.isConnectedSubject=new u.X(this._isConnected),this.isConnected$=null===(n=this.isConnectedSubject)||void 0===n?void 0:n.asObservable(),this.ongoingTurbo={},this.streams=new Map}checkHost(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){try{return this.getMessage({MESSAGE_TYPE:f.Cs.HEARTBEAT_PING,SOURCE_REF:"host check"}).then((e=>e.MESSAGE_TYPE===f.Cs.HEARTBEAT_PONG))}catch(e){return h.k.error(e),!1}}))}send(t,s){return this.http.post(e.getUrl(this.host,t),{body:e.getBody(t),headers:this.messageBuilder.createHTTPHeadersFromMessage(t)})}httpMode(){return!0}setValidSession(e){h.k.warn("setValidSession() called while in http polling mode.")}connect(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.host=e,this.host.endsWith("/")||(this.host=this.host.concat("/")),this.checkHost().then((e=>(this.isConnected=e,this.session.setSessionStorageItem("hostUrl",this.host),e)))}))}disconnect(){this.isConnected=!1,this.streams.clear(),this.ongoingTurbo={},this.host=void 0}snapshot(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return h.k.debug(`HTTP MODE - ${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.send(s).then((e=>(this.dataLogoff(s.SOURCE_REF).catch((e=>h.k.error(e))),e)))}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);h.k.debug(`HTTP MODE - ${r.MESSAGE_TYPE} (stream) message created -> `,r);const o=r.SOURCE_REF;this.streams.set(o,{SOURCE_REF:o,POLLING_FREQUENCY:new u.X(this.config.polling.POLLING_FREQUENCY),RESOURCE_NAME:e});const n=this.streams.get(o).POLLING_FREQUENCY,a=(0,g.z)((0,S.D)(this.send(r)),n.pipe((0,_.w)((e=>(0,T.F)(e)))).pipe((0,_.w)((()=>(0,S.D)(this.getMessage(r)))))).pipe((0,R.o)((()=>this.streams.has(o))),(0,v.x)((()=>{h.k.debug(`Terminating stream for ${e} - ${o}`),this.dataLogoff(o)})));return this.streams.get(o).STREAM=a,a}getMessage(t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.http.get(e.getUrl(this.host,t),{headers:this.messageBuilder.createHTTPHeadersFromMessage(t)})}))}getMoreRows(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return h.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} message created -> `,t),this.send(t)}))}dataLogoff(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return this.send(t).then((t=>(this.streams.has(e)&&(h.k.debug(`Removing stream ${e}`),this.streams.delete(e)),t)))}))}getMetadata(e,t=!0){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e);return h.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} (metadata) message created -> `,t),this.send(t).then((e=>e.DETAILS))}))}getJSONSchema(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);return h.k.debug(`HTTP MODE! - ${t.MESSAGE_TYPE} (json schema) message created -> `,t),this.send(t)}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return h.k.debug(`HTTP MODE! - ${s.MESSAGE_TYPE} (request server) message created -> `,s),this.send(s)}commitEvent(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return h.k.debug(`HTTP MODE! - ${s.MESSAGE_TYPE} (commit) message created -> `,s),this.send(s).then((t=>(this.maybeTurbo(e,t),t)))}))}maybeTurbo(e,t){var s;if(!(null===(s=null==t?void 0:t.MESSAGE_TYPE)||void 0===s?void 0:s.endsWith("_ACK")))return;if(this.ongoingTurbo[e])return void h.k.debug(`${e} polling frequency is already accelerated.`);const i=this.config.polling.POLLING_MAP[e];if(!(null==i?void 0:i.TEMP_FREQUENCY)||!i.AMOUNT_OF_POLLS)return;const r=i.TEMP_FREQUENCY,o=r*i.AMOUNT_OF_POLLS,n=JSON.parse(JSON.stringify(this.config.polling.POLLING_INTERVAL_MAP)),a=JSON.parse(JSON.stringify(this.config.polling.POLLING_INTERVAL_MAP));for(const e of i.QUERIES)a[e]=r,n[e]||(n[e]=this.config.polling.POLLING_FREQUENCY);h.k.debug(`${e} TRIGGERED -> ENFORCING TURBO | FREQUENCY=${r}ms DURATION=${o}`),this.ongoingTurbo[e]=!0,this.updateIntervals({polling:{POLLING_INTERVAL_MAP:a}}),setTimeout((()=>{h.k.debug(`RESTORED ORIGINAL POLLING INTERVALS FOR ${e}`),this.updateIntervals({polling:{POLLING_INTERVAL_MAP:n}}),this.ongoingTurbo[e]=!1}),o)}updateIntervals(e){const{POLLING_INTERVAL_MAP:t}=e.polling;t&&(this.config.polling.POLLING_INTERVAL_MAP=t,this.handlePollingIntervalMapUpdate(t))}handlePollingIntervalMapUpdate(e){if(e)for(const t in e){if(!e.hasOwnProperty(t))continue;const s=e[t];this.config.polling.POLLING_INTERVAL_MAP[t]=s,h.k.debug(`Setting polling frequency for ${t} = ${s}`),[...this.streams.values()].filter((e=>e.RESOURCE_NAME===t)).forEach((e=>{var t;return null===(t=null==e?void 0:e.POLLING_FREQUENCY)||void 0===t?void 0:t.next(s)}))}}static getBody(e){return JSON.stringify(e)}static getUrl(e,t){const s=t.MESSAGE_TYPE;let i=t.MESSAGE_TYPE.replace(/_/g,"-").toLowerCase();return s===f.N$.DATA_LOGON&&(i=t.DETAILS.DATASOURCE_NAME.replace(/_/g,"-").toLowerCase()),`${e}${i}`}};(0,i.__decorate)([o.observable],N.prototype,"host",void 0),(0,i.__decorate)([o.observable],N.prototype,"isWorking",void 0),(0,i.__decorate)([o.observable],N.prototype,"_isConnected",void 0),(0,i.__decorate)([o.volatile],N.prototype,"isConnected",null),N=(0,i.__decorate)([(0,i.__param)(0,I),(0,i.__param)(1,f.sW),(0,i.__param)(2,p.z),(0,i.__param)(3,c),(0,i.__param)(4,r.JSONSerializer),(0,i.__param)(5,(0,n.optional)(l))],N);const b=n.DI.createInterface((e=>e.singleton(N)));var C=s(72284),U=s(98239),L=s(37674),k=s(30094),w=s(30526),P=s(52702),D=s(68370),y=s(52354),G=s(2355);const F=1e4,H=6e4;var V;!function(e){e.Linear="linear",e.Exponential="exponential"}(V||(V={}));const $=(e,t)=>{const{reconnectInterval:s=F}=e,i=s>H?H:s,r=Math.round(Math.log2(H/i));return i*Math.pow(2,t%r)},Y=e=>{const{reconnectInterval:t=F}=e;return t>H?H:t};class W extends C.x{constructor(){super()}}class B{constructor(e,t,s,i){this._message=e,this._onMessage=t,this._onError=s,this._isSubscription=i}get sentMessage(){return this._message}get onReceivedMessage(){return this._onMessage}get onReceivedError(){return this._onError}get isSubscription(){return this._isSubscription}}let K=class{isConnectedChanged(e,t){this.isConnectedSubject.next(t)}constructor(e,t,s,i){this.messageBuilder=e,this.session=t,this.serializer=s,this.uuid=i,this.defaultInterval=1e4,this.secondsMultiplier=1e3,this.isConnectedSubject=new u.X(!1),this.isConnected=!1,this.hasValidSession=!1,this.heartbeatIsEnabled=!0,this.heartbeatInterval=this.defaultInterval,this.isReconnecting=!1,this.socketMessages=()=>this.wsMessages}get heartbeatLoggingIsEnabled(){var e,t;return null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableHeartbeatLogging)&&void 0!==t&&t}get messageLoggingIsEnabled(){var e,t;return null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableMessageLogging)&&void 0!==t&&t}connect(e,t,s){return this.url=e,this.connectOptions=t,this.reconnectOptions=s,new Promise((e=>{var t,s,r,o;h.k.info(`${this.isReconnecting?"Reconnecting":"Connecting"} to ${this.url}`);(!this.isReconnecting||!(null===(t=this.reconnectOptions)||void 0===t?void 0:t.reconnectStreams))&&this.cleanMessages(),null===(s=this.socketSubscription)||void 0===s||s.unsubscribe(),this.websocket=new y.p({url:this.url,openObserver:{next:()=>{this.isConnected=!0,this.session.setSessionStorageItem("hostUrl",this.url),this.prepareHeartbeat(),h.k.info("WebSocket connection is now open"),e(this.isConnected)}},closeObserver:{next:t=>{this.disconnectedByServer=!t.wasClean,this.isConnected=!1,this.disconnectedByServer&&h.k.info(`WebSocket connection was closed due an error - Code: ${t.code} ${t.reason?" | Reason: "+t.reason:""}`),e(this.isConnected)}},serializer:this.serializer.serialize,deserializer:this.serializer.deserialize});this.socketSubscription=this.websocket.subscribe(null!==(o=null===(r=this.connectOptions)||void 0===r?void 0:r.connectObserver)&&void 0!==o?o:{next:e=>(0,i.__awaiter)(this,void 0,void 0,(function*(){var t;const s=`Response Message received for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;this.logMessageTypeFlow(e.MESSAGE_TYPE,h.k.info,s);const{SOURCE_REF:i,MESSAGE_TYPE:r}=e,o=this.getMessageHandler(i,r);if(!o)return;let n=!1;switch(e.MESSAGE_TYPE){case f.N$.EVENT_LOGIN_AUTH_ACK:{this.hasValidSession=!0;const s=e.DETAILS;s.HEARTBEAT_INTERVAL_SECS&&void 0===(null===(t=this.connectOptions)||void 0===t?void 0:t.heartbeatInterval)&&(this.heartbeatInterval=s.HEARTBEAT_INTERVAL_SECS*this.secondsMultiplier,this.prepareHeartbeat());break}case f.Cs.LOGOUT_ACK:return this.hasValidSession=!1,o.onReceivedMessage.call(this,e),void this.cleanMessages();case f.Cs.LOGON_ACK:return;case f.Cs.LOGOFF_ACK:if(e.LOGGED_OUT&&this.hasValidSession){const e=this.messageBuilder.createRefreshTokenMessage(),t=yield this.send(e);t?t.MESSAGE_TYPE===f.N$.EVENT_LOGIN_AUTH_ACK&&(this.session.setAuthResult(t),this.wsMessageHandlers.forEach((e=>{e.isSubscription&&(e.sentMessage.SESSION_AUTH_TOKEN=t.SESSION_AUTH_TOKEN,this.websocket.next(e.sentMessage))}))):this.hasValidSession=!1}break;case f.Cs.QUERY_UPDATE:if(!o.isSubscription){const e=this.messageBuilder.createDataLogoffMessage(i);this.send(e)}break;case f.Cs.MSG_NACK:n=!0}n?o.onReceivedError.call(this,{receivedMessage:e,sentMessage:o.sentMessage}):o.onReceivedMessage.call(this,e),this.wsMessages.next(e),o.isSubscription||this.removeMessageHandler(i)})),error:e=>{h.k.debug("Error found: ",e),this.reconnect()},complete:()=>{var e;this.disconnectedByServer&&(null===(e=this.connectOptions)||void 0===e?void 0:e.alwaysOn)?this.reconnect():h.k.info("Connection is now closed")}})}))}prepareHeartbeat(){var e,t,s,r;this.heartbeatSubscription&&this.heartbeatSubscription.unsubscribe();const o=()=>(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!this.isConnected)return;const e={MESSAGE_TYPE:f.Cs.HEARTBEAT_PING,SOURCE_REF:this.uuid.createId()},t=yield this.send(e);this.heartbeatIsEnabled=t.MESSAGE_TYPE===f.Cs.HEARTBEAT_PONG&&t.SOURCE_REF===e.SOURCE_REF}));if(null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableHeartbeat)&&void 0!==t?t:this.heartbeatIsEnabled){const e=null!==(r=null===(s=this.connectOptions)||void 0===s?void 0:s.heartbeatInterval)&&void 0!==r?r:this.heartbeatInterval;this.heartbeatSubscription=(0,U.H)(e,e).pipe((0,R.o)((()=>this.websocket&&this.isConnected)),(0,w.b)((()=>this.heartbeatLoggingIsEnabled&&h.k.debug(`Sending a heartbeat ping every ${e} ms`)))).subscribe((()=>o()))}}reconnect(){var e,t,s,i,r;const o=!(null===(e=this.connectOptions)||void 0===e?void 0:e.alwaysOn)&&!1===(null===(t=this.connectOptions)||void 0===t?void 0:t.enableHeartbeat);if(this.isReconnecting||o)return;this.isReconnecting=!0;const n=(null===(s=this.reconnectOptions)||void 0===s?void 0:s.reconnectStrategy)===V.Exponential?$:Y,a=this.isConnectedSubject.asObservable().pipe((0,_.w)((e=>e?(0,L.of)(-1):((e,t)=>new G.y((s=>{let i,r=0;return function o(){s.next(r),clearTimeout(i),i=setTimeout(o,t(e,r)),r+=1}(),()=>{clearTimeout(i)}})))(this.reconnectOptions,n).pipe((0,P.z)((e=>{var t,s,i;let r;return r=(null===(t=this.connectOptions)||void 0===t?void 0:t.alwaysOn)?e+1:null!==(i=null===(s=this.reconnectOptions)||void 0===s?void 0:s.reconnectAttempts)&&void 0!==i?i:10,e<r?(0,L.of)(e):(0,k._)((()=>new Error(`Max reconnect attempts ${r} reached.`)))}))))),(0,R.o)((()=>this.websocket&&!this.isConnected)));a.subscribe(null!==(r=null===(i=this.reconnectOptions)||void 0===i?void 0:i.reconnectObserver)&&void 0!==r?r:{next:e=>{h.k.debug(`Attempt no. ${e+1} to reconnect`),this.websocket.complete(),this.connect(this.url,this.connectOptions,this.reconnectOptions)},error:e=>{var t;h.k.debug(e),null===(t=this.socketSubscription)||void 0===t||t.unsubscribe(),this.isReconnecting=!1},complete:()=>{h.k.info(this.isConnected?"Reconnected":"Disconnected"),this.isReconnecting=!1,this.wsMessageHandlers.forEach((e=>{e.isSubscription&&this.websocket.next(e.sentMessage)}))}})}reset(){this.isConnected=!1,this.websocket&&this.websocket.complete(),this.websocket=null,this.cleanMessages()}cleanMessages(){this.wsMessages&&this.wsMessages.complete(),this.wsMessages=new W,this.wsMessageHandlers=new Map}send(e,t=!0){if(!this.isConnected)return void Promise.reject(new Error("WebSocket connection is closed"));const s=`Sending Message for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;return this.logMessageTypeFlow(e.MESSAGE_TYPE,h.k.info,s),new Promise(((s,i)=>{const r=e=>{s(e)},o=e=>{i(e)};t&&this.setMessageHandler(e,r,o),this.websocket.next(e)}))}sendForStream(e,t,s){if(!this.isConnected)return(0,k._)((()=>new Error("WebSocket connection is closed")));if(!this.hasValidSession)return(0,k._)((()=>new Error("WebSocket connection is open but there is no valid/active session, please check your auth flow")));const i=`Sending Message (stream) for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;return this.logMessageTypeFlow(e.MESSAGE_TYPE,h.k.info,i),this.setMessageHandler(e,t,s,!0),this.websocket.next(e),(0,S.D)(this.wsMessages.pipe((0,D.h)((t=>t.SOURCE_REF===e.SOURCE_REF))))}setMessageHandler(e,t,s,i=!1){const r=`Setting Message Handler for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;this.logMessageTypeFlow(e.MESSAGE_TYPE,h.k.debug,r),this.wsMessageHandlers.set(e.SOURCE_REF,new B(e,t,s,i))}removeMessageHandler(e){this.wsMessageHandlers.delete(e)}getMessageHandler(e,t){const s=`Getting Message Handler for SourceRef: ${e} | MessageType: ${t}`;return this.logMessageTypeFlow(t,h.k.debug,s),this.wsMessageHandlers.get(e)}logMessageTypeFlow(e,t,s){switch(e){case f.Cs.HEARTBEAT_PING:case f.Cs.HEARTBEAT_PONG:this.heartbeatLoggingIsEnabled&&t(s);break;default:this.messageLoggingIsEnabled&&t(s)}}};(0,i.__decorate)([o.observable],K.prototype,"websocket",void 0),(0,i.__decorate)([o.observable],K.prototype,"wsMessages",void 0),(0,i.__decorate)([o.observable],K.prototype,"wsMessageHandlers",void 0),(0,i.__decorate)([o.observable],K.prototype,"isConnected",void 0),(0,i.__decorate)([o.observable],K.prototype,"disconnectedByServer",void 0),(0,i.__decorate)([o.observable],K.prototype,"hasValidSession",void 0),(0,i.__decorate)([o.observable],K.prototype,"heartbeatIsEnabled",void 0),(0,i.__decorate)([o.observable],K.prototype,"isReconnecting",void 0),K=(0,i.__decorate)([(0,i.__param)(0,f.sW),(0,i.__param)(1,p.z),(0,i.__param)(2,O),(0,i.__param)(3,r.UUID)],K);const x=n.DI.createInterface((e=>e.singleton(K))),j={connect:{alwaysOn:!1,enableHeartbeat:!0,enableHeartbeatLogging:!1,heartbeatInterval:1e4,enableMessageLogging:!1},reconnect:{reconnectAttempts:10,reconnectInterval:1e4,reconnectStreams:!0}};let Q=class{get isConnected(){return this.socket.isConnected}get isConnectedSubject(){return this.socket.isConnectedSubject}get isConnected$(){var e;return null===(e=this.socket.isConnectedSubject)||void 0===e?void 0:e.asObservable()}constructor(e,t,s,i=j){this.socket=e,this.messageBuilder=t,this.metaCache=s,this.config=i,this.isWorking=!1}httpMode(){return!1}setValidSession(e){this.socket.hasValidSession=e}send(e,t){return this.socket.send(e,t)}connect(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.socket.reset(),d.test(e)?this.socket.connect(e,this.config.connect,this.config.reconnect):(h.k.error(`Specified host (${e}) is not valid WebSocket url. Connection will not proceed.`),void h.k.warn("Make sure the host url starts with wss:// or ws://"))}))}disconnect(){this.socket.reset()}snapshot(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return h.k.debug(`${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.socket.send(s)}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);return h.k.debug(`${r.MESSAGE_TYPE} (stream) message created -> `,r),this.socket.sendForStream(r,t,s)}getMoreRows(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return h.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t,!1)}))}dataLogoff(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return h.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t)}))}getMetadata(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasMetadataFor(e))return h.k.debug(`Cached metadata retrieved for ${e}`),this.metaCache.getMetadataFor(e);const i=this.messageBuilder.createMetaRequestMessage(e);let r;h.k.debug(`${i.MESSAGE_TYPE} (metadata) message created -> `,i);try{this.isWorking=!0;const t=yield this.socket.send(i);r=null!==(s=null==t?void 0:t.DETAILS)&&void 0!==s?s:{},Object.keys(r).length&&this.metaCache.setMetadataFor(e,r)}catch(e){h.k.error(e)}finally{this.isWorking=!1}return r}))}getJSONSchema(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasJsonSchemaFor(e))return h.k.debug(`Cached JsonSchema retrieved for ${e}`),this.metaCache.getJsonSchemaFor(e);const i=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);let r;h.k.debug(`${i.MESSAGE_TYPE} (json schema) message created -> `,i);try{this.isWorking=!0,r=null!==(s=yield this.socket.send(i))&&void 0!==s?s:{},Object.keys(r).length&&this.metaCache.setJsonSchemaFor(e,r)}catch(e){h.k.error(e)}finally{this.isWorking=!1}return r}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return h.k.debug(`${s.MESSAGE_TYPE} (request server) message created -> `,s),this.socket.send(s)}commitEvent(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return h.k.debug(`${s.MESSAGE_TYPE} (commit) message created -> `,s),this.socket.send(s)}))}};(0,i.__decorate)([o.observable],Q.prototype,"isWorking",void 0),(0,i.__decorate)([o.volatile],Q.prototype,"isConnected",null),Q=(0,i.__decorate)([(0,i.__param)(0,x),(0,i.__param)(1,f.sW),(0,i.__param)(2,c),(0,i.__param)(3,(0,n.optional)(E))],Q);const J="true"===r.FORCE_HTTP||!1,z=n.DI.createInterface((e=>e.singleton(Q))),q=n.DI.createInterface((e=>J?e.aliasTo(b):e.aliasTo(z)))},9162:(e,t,s)=>{s.d(t,{Cs:()=>i,N$:()=>r,QT:()=>o,sW:()=>l});var i,r,o,n=s(186),a=s(71684),c=s(75951),d=s(4077),h=s(75527);!function(e){e.LOGON_ACK="LOGON_ACK",e.LOGON_NACK="LOGON_NACK",e.LOGOFF_ACK="LOGOFF_ACK",e.LOGOFF_NACK="LOGOFF_NACK",e.HEARTBEAT_PING="HEARTBEAT_PING",e.HEARTBEAT_PONG="HEARTBEAT_PONG",e.MORE_ROWS="MORE_ROWS",e.MSG_ACK="MSG_ACK",e.MSG_NACK="MSG_NACK",e.LOGOUT_ACK="LOGOUT_ACK",e.LOGOUT_NACK="LOGOUT_NACK",e.QUERY_UPDATE="QUERY_UPDATE"}(i||(i={})),function(e){e.EVENT_LOGIN_AUTH="EVENT_LOGIN_AUTH",e.EVENT_LOGIN_AUTH_ACK="EVENT_LOGIN_AUTH_ACK",e.EVENT_LOGIN_AUTH_NACK="EVENT_LOGIN_AUTH_NACK",e.EVENT_LOGOUT="EVENT_LOGOUT",e.DATA_LOGON="DATA_LOGON",e.DATA_LOGOFF="DATA_LOGOFF",e.META_REQUEST="META_REQUEST",e.JSON_SCHEMA_REQUEST="JSON_SCHEMA_REQUEST",e.RESOURCES_REQUEST="RESOURCES_REQUEST",e.EVENT_CHANGE_USER_PASSWORD="EVENT_CHANGE_USER_PASSWORD",e.EVENT_SELF_SERVICE_PASSWORD_RESET="EVENT_SELF_SERVICE_PASSWORD_RESET",e.EVENT_PASSWORD_RESET_ACTION="EVENT_PASSWORD_RESET_ACTION"}(r||(r={})),function(e){e.SESSION_NOT_FOUND="SESSION_NOT_FOUND",e.UNKNOWN_MESSAGE_TYPE="UNKNOWN_MESSAGE_TYPE"}(o||(o={}));let E=class{constructor(e,t){this.session=e,this.uuid=t}createLoginMessage(e){let t;switch(e.type){case d.G.BASIC:t={USER_NAME:e.username,PASSWORD:e.password};break;case d.G.REFRESH:t={USER_NAME:e.username,REFRESH_AUTH_TOKEN:e.refreshToken};break;case d.G.SSO:t={SSO_TOKEN:e.ssoToken};break;case d.G.JWT:t={JWT:e.jwt,DOMAIN:e.domain}}return{DETAILS:t,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_LOGIN_AUTH}}createLogoutMessage(e){var t,s;return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_LOGOUT,SESSION_AUTH_TOKEN:null!==(t=e.authToken)&&void 0!==t?t:this.session.getSessionStorageItem("authToken"),SESSION_ID:null!==(s=e.sessionId)&&void 0!==s?s:this.session.getSessionStorageItem("sessionId")}}createDataLogonMessage(e,t){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.DATA_LOGON,DETAILS:Object.assign({DATASOURCE_NAME:e},t),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createDataLogoffMessage(e){return{SOURCE_REF:e,MESSAGE_TYPE:r.DATA_LOGOFF,SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createRequestMessage(e,t){return Object.assign({SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:e.startsWith("REQ_")?e:`REQ_${e}`},t)}createMetaRequestMessage(e,t=r.META_REQUEST){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:t,DETAILS:{FEATURE:e},SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createCommitMessage(e,t){return Object.assign({SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:e},t)}createRefreshTokenMessage(){return{SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:r.EVENT_LOGIN_AUTH,DETAILS:{REFRESH_AUTH_TOKEN:this.session.getSessionStorageItem("refreshToken")}}}createChangePasswordMessage(e,t,s){return{USER_NAME:e,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_CHANGE_USER_PASSWORD,DETAILS:{OLD_PASSWORD:t,NEW_PASSWORD:s}}}createForgotPasswordMessage(e,t,s=e){return{USER_NAME:s,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_SELF_SERVICE_PASSWORD_RESET,DETAILS:{USER_NAME:e,RETURN_URL:t}}}createForgotPasswordTokenMessage(e,t,s,i=e){return{USER_NAME:i,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_PASSWORD_RESET_ACTION,DETAILS:{USER_NAME:e,RESET_TOKEN:t,NEW_PASSWORD:s}}}createMoreRowsMessage(e){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:i.MORE_ROWS,DETAILS:{SOURCE_REF:e},SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createHTTPHeadersFromMessage(e,t="application/json; charset=UTF-8"){const s={"Content-type":t};return e.SOURCE_REF&&(s["source-ref"]=e.SOURCE_REF,s.SOURCE_REF=e.SOURCE_REF),e.SESSION_AUTH_TOKEN&&(s["SESSION-AUTH-TOKEN"]=e.SESSION_AUTH_TOKEN),e.MESSAGE_TYPE===r.EVENT_LOGOUT&&(s["SESSION-ID"]=e.SESSION_ID),s}};E=(0,n.__decorate)([(0,n.__param)(0,h.z),(0,n.__param)(1,a.UUID)],E);const l=c.DI.createInterface((e=>e.singleton(E)))},5127:(e,t,s)=>{s.d(t,{$:()=>r});var i=s(22296);function r(e,t="ROW_REF"){const s=e=>{const s=Object.assign(Object.assign({},e),{[t]:e.DETAILS[t]});return delete s.DETAILS,s},r=[],o=[],n=[];for(const t of e.ROW)if(t.DETAILS)switch(t.DETAILS.OPERATION){case"INSERT":r.push(s(t));break;case"MODIFY":n.push(s(t));break;case"DELETE":o.push(s(t));break;default:i.k.error(`Unsupported operation type: '${t.DETAILS.OPERATION}'`)}return{inserts:r,deletes:o,updates:n,SOURCE_REF:e.SOURCE_REF}}},6852:(e,t,s)=>{s.d(t,{Yh:()=>v});var i=s(186),r=s(83147),o=s(75951),n=s(98239),a=s(19788),c=s(56383),d=s(29866),h=s(7211),E=s(35991),l=s(62646),u=s(66306),g=s(22296);var S=s(5127),_=s(82940);const T={options:{criteria:"",isSnapshot:!1,maxRows:_.WJ.MAX_ROWS_250,maxView:_.WJ.MAX_VIEW_1000,pollingInterval:_.WJ.REQ_REP_POLLING_INTERVAL_MS,movingView:!1,orderBy:"",resourceName:"",reverse:!1},criteriaToFields:function(e){const t=e.split("&&").map((e=>e.trim())),s={};return t.forEach((e=>{const t=e.substr(0,e.indexOf("=")).trim().replace(/["']/g,""),i=e.substr(e.lastIndexOf("=")+1,e.length).trim().replace(/["']/g,"");s[t]=i})),s},dataServerResultFilter:S.$};let R=class{constructor(e,t,s=T){this.connect=e,this.auth=t,this.config=s,this.initialized=!1,this.readOnly=!0,this.originalFieldDef=[],this.requestFields=[],this.fieldMetadata=[],this.availableIndexes=[]}validResourceName(e){return!!e&&!!e.trim().length}init(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!this.validResourceName(null==e?void 0:e.resourceName))return!1;if(this.options=Object.assign(Object.assign({},this.config.options),e),t){g.k.debug(`Initializing ${this.options.resourceName} Datasource`);const t=yield this.connect.getMetadata(this.options.resourceName).catch((t=>g.k.error(`Metadata Fetch failed for ${e.resourceName}:`,t)));if(!t)return this.deinit(),!1;this.resourceType=t.TYPE,this.availableIndexes=null!==(s=t.INDEXES)&&void 0!==s?s:[],this.originalFieldDef=(0,u.C)(t),this.fieldMetadata=(0,u.i)(this.originalFieldDef),this.requestFields=t.REQUEST_FIELD||[],g.k.debug(`Datasource for ${this.options.resourceName} is ready`)}return this.options.isSnapshot||(this._stream=yield this.createStream()),this.initialized=!0,this.initialized}))}deinit(){this.initialized=!1,this.options=void 0,this.resourceType=void 0,this.availableIndexes=[],this.originalFieldDef=[],this.fieldMetadata=[],this.requestFields=[]}get stream(){return this._stream}get params(){const e={CRITERIA_MATCH:this.options.criteria,FIELDS:this.options.fields,MAX_ROWS:this.options.maxRows,MAX_VIEW:this.options.maxView,MOVING_VIEW:this.options.movingView,POLLING_INTERVAL:this.options.pollingInterval,REQUEST:this.options.request,REVERSE:this.options.reverse};if(this.options.orderBy)if(this.availableIndexes.findIndex((e=>e.NAME===this.options.orderBy))>-1)e.ORDER_BY=this.options.orderBy;else{const e=this.availableIndexes.map((e=>e.NAME));g.k.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return g.k.debug("Getting configured params:",e),e}snapshot(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){switch(g.k.debug(`Requesting snapshot for ${this.options.resourceName} (${this.resourceType}).`),this.resourceType){case _._g.DATASERVER:return this.connect.snapshot(this.options.resourceName,this.params);case _._g.REQUEST_SERVER:{const t=this.params,{REQUEST:s,CRITERIA_MATCH:r}=t,o={DETAILS:(0,i.__rest)(t,["REQUEST","CRITERIA_MATCH"]),REQUEST:Object.assign(Object.assign(Object.assign({},Object.fromEntries(this.requestFields.map((e=>[e.NAME,"*"])))),this.params.REQUEST),(null===(e=null==this?void 0:this.options)||void 0===e?void 0:e.criteria)?this.config.criteriaToFields(this.options.criteria):{})};return this.connect.request(this.options.resourceName,o)}default:throw new Error(`Snapshot not supported for selected resource type: ${this.resourceType}`)}}))}snapshotFiltered(e="ROW_REF"){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.snapshot();return Array.isArray(t)?t:t.REPLY?t.REPLY:t.ROW?this.config.dataServerResultFilter(t,e).inserts:void 0}))}createStream(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(![_._g.DATASERVER,_._g.REQUEST_SERVER].includes(this.resourceType))throw new Error(`Streaming not supported for selected resource type: ${this.resourceType}`);return this.resourceType===_._g.DATASERVER?this.createDataserverStream():(g.k.debug(`Creating fake stream by polling ${this.options.resourceName} REQUEST_SERVER`),this.createReqRepStream())}))}createDataserverStream(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.options.resourceName,(e=>{}),(e=>g.k.error(e)),this.params)}))}createReqRepStream(){return(0,n.H)(0,this.params.POLLING_INTERVAL).pipe((0,d.w)((()=>(0,a.a)([this.connect.isConnected$,this.auth.isLoggedIn$]).pipe((0,h.o)((()=>this.connect.isConnected&&this.auth.isLoggedIn)),(0,d.w)((()=>(0,c.D)(this.snapshot())))))))}};(0,i.__decorate)([r.observable],R.prototype,"initialized",void 0),(0,i.__decorate)([r.observable],R.prototype,"readOnly",void 0),(0,i.__decorate)([r.volatile],R.prototype,"stream",null),R=(0,i.__decorate)([(0,i.__param)(0,l.lj),(0,i.__param)(1,E.g),(0,i.__param)(2,(0,o.optional)(_.tt))],R);const v=o.DI.createInterface((e=>e.transient(R)))},82940:(e,t,s)=>{s.d(t,{WJ:()=>o,_g:()=>i,tt:()=>n});var i,r=s(75951);!function(e){e.DATASERVER="DATASERVER",e.EVENT_HANDLER="EVENT_HANDLER",e.REQUEST_SERVER="REQUEST_SERVER"}(i||(i={}));class o{}o.MAX_ROWS_250=250,o.MAX_VIEW_1000=1e3,o.REQ_REP_POLLING_INTERVAL_MS=1e4,o.DATASERVER_ROW_ID="ROW_REF",o.REQUEST_SERVER_ROW_ID="RECORD_ID";const n=r.DI.createInterface()},32449:(e,t,s)=>{function i(e,t=";"){return e?e.split(t).map((e=>e.trim())).sort(((e,t)=>e.localeCompare(t))).join(t):e}s.d(t,{p:()=>i})},83123:(e,t,s)=>{var i;s.d(t,{E:()=>r,r:()=>i}),function(e){e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ENUM="ENUM",e.DATE="DATE",e.DATETIME="DATETIME",e.CUSTOM="CUSTOM"}(i||(i={}));const r={STRING:i.STRING,ENUM:i.ENUM,BOOLEAN:i.BOOLEAN,INT:i.NUMBER,DOUBLE:i.NUMBER,BIGDECIMAL:i.NUMBER,DATE:i.DATE,DATETIME:i.DATETIME}},66306:(e,t,s)=>{s.d(t,{C:()=>a,i:()=>n});var i=s(82940),r=s(22296),o=s(83123);const n=e=>e?e.map((e=>{const t={name:e.NAME,type:o.E[e.TYPE]||o.r.STRING};if(e.TYPE===o.r.ENUM&&e.VALID_VALUES)try{t.enumOptions=Array.isArray(e.VALID_VALUES)?e.VALID_VALUES:e.VALID_VALUES.split("|")}catch(e){r.k.error(e),t.enumOptions=[]}return t})):null,a=e=>{const t=null==e?void 0:e.TYPE;if(t===i._g.DATASERVER)return e.FIELD||[];if(t===i._g.REQUEST_SERVER)return e.REPLY_FIELD||[];throw new Error(`Unsupported resource type: ${t}`)}},75527:(e,t,s)=>{s.d(t,{z:()=>o});var i=s(75951);class r{constructor(){this.storageKeyPrefix="",this.returnUrl=this.getSessionStorageItem("returnUrl")||""}deleteUserFromSessionStorage(){["authToken","refreshToken","sessionId","ssoToken"].forEach((e=>this.removeSessionStorageItem(e)))}setStorageKeyPrefix(e){this.storageKeyPrefix=`${e.replace(/\s/g,"")}/`}setAuthResult(e){this.setSessionStorageItem("authToken",e.SESSION_AUTH_TOKEN),this.setSessionStorageItem("refreshToken",e.REFRESH_AUTH_TOKEN),this.setSessionStorageItem("username",e.USER_NAME),this.setSessionStorageItem("sessionId",e.SESSION_ID)}captureReturnUrl(){const{pathname:e,search:t,hash:s}=location;if("/login"===e)return;const i=`${"/"!==e?e:""}`;this.returnUrl=`${i}${t}${s}`,this.setSessionStorageItem("returnUrl",this.returnUrl)}setItem(e,t,s){"local"===s?localStorage.setItem(this.storageKeyPrefix+e,t):sessionStorage.setItem(this.storageKeyPrefix+e,t)}getItem(e,t){return"local"===t?localStorage.getItem(this.storageKeyPrefix+e):sessionStorage.getItem(this.storageKeyPrefix+e)}removeItem(e,t){"local"===t?localStorage.removeItem(this.storageKeyPrefix+e):sessionStorage.removeItem(this.storageKeyPrefix+e)}setLocalStorageItem(e,t){this.setItem(e,t,"local")}setSessionStorageItem(e,t){this.setItem(e,t,"session")}getLocalStorageItem(e){return this.getItem(e,"local")}getSessionStorageItem(e){return this.getItem(e,"session")}removeLocalStorageItem(e){this.removeItem(e,"local")}removeSessionStorageItem(e){this.removeItem(e,"session")}}const o=i.DI.createInterface((e=>e.singleton(r)))},22296:(e,t,s)=>{s.d(t,{k:()=>r});var i=s(71684);const r=(0,i.createLogger)("foundation-comms")}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[659],{35991:(e,t,s)=>{s.d(t,{g:()=>b});var i=s(186),r=s(83147),o=s(75951),n=s(26714),a=s(62646),c=s(9162),d=s(19082),h=s(4077),E=s(75527),l=s(22296);const u=o.DI.createInterface();function g(){return(null===navigator||void 0===navigator?void 0:navigator.credentials)?"PasswordCredential"in window||(l.k.warn("PasswordCredential not available in this browser."),!1):(l.k.warn("CredentialsContainer not available in this browser."),!1)}const S=":";function _(e="",t=S,s){return e.split(t,s).map((e=>e.trim())).filter((e=>""!==e))}function T(e,t=S){const s="string"==typeof e&&e.trim();return!!s&&s.includes(t)}function R(e,t=S){return"string"==typeof e&&e.trim()?(e.match(new RegExp(t,"g"))||[]).length:0}function v(e,t=S){for(const s of e)if(T(s,t))return s;return e.find((e=>"string"==typeof e&&!!e.trim()))}function p(e,t,s){const i="string"==typeof e&&e.trim();return!i||s&&!i.includes(s)||R(i)>1?s&&t&&s!==t?`${t}:${s}`:t||s:i}function m(e="credential"){l.k.warn(`Unable to migrate legacy ${e} to latest format. Please remove from your browser.`)}const O={password:!0,mediation:"optional"},A={cookie:{path:"/",name:"credentials",expires:7300,storePasswords:!1}};let I=class{constructor(e,t=A){this.session=e,this.config=t}createBasicCredentials(e){return{type:h.G.BASIC,username:e.username,password:e.password}}createRefreshCredentials(e){var t,s;return{type:h.G.REFRESH,username:null!==(t=null==e?void 0:e.username)&&void 0!==t?t:this.getUsername(),refreshToken:null!==(s=null==e?void 0:e.refreshToken)&&void 0!==s?s:this.getRefreshToken()}}createSSOCredentials(e){var t;return{type:h.G.SSO,ssoToken:null!==(t=null==e?void 0:e.ssoToken)&&void 0!==t?t:this.getSSOToken()}}validateBasicCredentials(e){return e&&!!e.username&&!!e.password}validateRefreshCredentials(e){return e&&!!e.refreshToken&&!!e.username}validateSSOCredentials(e){return e&&!!e.ssoToken}validateUserCredentialData(e,t){const s=e&&!!e.id&&!!e.name&&!e.name.includes(S)&&R(e.id)<=1;return t?s&&!!e.password:s}normaliseLegacyCredentialData(e,t){if(this.validateUserCredentialData(e,!0))return[e,!0];if(this.validateUserCredentialData(t))return[t,!1];if(e)try{const t=e,[s]=_(t.name||t.id),[i,r]=_(v([t.id,t.name]));return[{id:p(t.id||t.name,s,r),name:s,password:t.password||""},!0]}catch(e){m("PasswordCredential")}if(t)try{const e=t,[s]=_(e.name||e.username||e.organisation),[i,r]=_(v([e.organisation||e.username||e.name]));return[{id:p(e.id||e.username||e.name,s,r),name:s,password:e.password||""},!1]}catch(e){m("cookie")}return[void 0,!1]}storeCredentialsInContainer(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!g())return;const t=new PasswordCredential(e);return l.k.debug("Storing credentials in CredentialsContainer"),navigator.credentials.store(t)}))}getCredentialsFromContainer(e=O){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(g())return l.k.debug("Getting credentials from CredentialsContainer"),yield navigator.credentials.get(e)}))}storeCredentialsInCookie(e){const{password:t}=e,s=(0,i.__rest)(e,["password"]),r=this.config.cookie.storePasswords?e:s;return l.k.debug("Storing credentials in cookie"),!!d.Z.set(this.config.cookie.name,JSON.stringify(r),{expires:this.config.cookie.expires,domain:location.hostname,path:this.config.cookie.path,secure:!0})}getCredentialsFromCookie(){l.k.debug("Getting credentials from cookie");const e=d.Z.get(this.config.cookie.name);return e?JSON.parse(e):void 0}storeCredentials(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(g()){const t=yield this.storeCredentialsInContainer(e);return Promise.resolve(!!t)}return Promise.resolve(this.storeCredentialsInCookie(e))}))}getCredentials(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return g()?this.getCredentialsFromContainer(e):Promise.resolve(this.getCredentialsFromCookie())}))}getSSOToken(){return this.session.getSessionStorageItem("ssoToken")}getUsername(){return this.session.getSessionStorageItem("username")}getRefreshToken(){return this.session.getSessionStorageItem("refreshToken")}removeCookie(){d.Z.remove(this.config.cookie.name,{domain:location.hostname,path:this.config.cookie.path})}removeSSOToken(){this.session.removeSessionStorageItem("ssoToken")}removeUsername(){this.session.removeSessionStorageItem("username")}removeRefreshToken(){this.session.removeSessionStorageItem("refreshToken")}removeAll(){this.removeCookie(),this.removeSSOToken(),this.removeUsername(),this.removeRefreshToken()}preventSilentAccess(){return g()&&navigator.credentials.preventSilentAccess()}};I=(0,i.__decorate)([(0,i.__param)(0,E.z),(0,i.__param)(1,(0,o.optional)(u))],I);const f=o.DI.createInterface((e=>e.singleton(I)));class M{constructor(e){Object.assign(this,e)}hasAdminProfile(){return this.hasProfile("ADMIN")}hasPermission(e){return this.hasKey(this.permissions,e)}hasProfile(e){return this.hasKey(this.profiles,e)}hasKey(e,t){return!!(e&&e.length&&t)&&(Array.isArray(t)||(t=[t]),t.some((t=>e.includes(t))))}}(0,i.__decorate)([r.observable],M.prototype,"permissions",void 0),(0,i.__decorate)([r.observable],M.prototype,"profiles",void 0),(0,i.__decorate)([r.observable],M.prototype,"username",void 0);let N=class{loggedUserResultChanged(e,t){var s;null===(s=this.isLoggedInSubject)||void 0===s||s.next(this.isLoggedIn)}get isLoggedIn$(){return this.isLoggedInSubject.asObservable()}get isLoggedIn(){return!!this.loggedUserResult&&!(!this.loggedUserResult.authToken||!this.loggedUserResult.sessionId)}constructor(e,t,s,i){this.session=e,this.connect=t,this.messageBuilder=s,this.credentialManager=i,this.isWorking=!1,this.isLoggedInSubject=new n.X(!1)}login(e){var t;return(0,i.__awaiter)(this,void 0,void 0,(function*(){this.isWorking=!0;try{const s=this.messageBuilder.createLoginMessage(e),i=yield this.connect.send(s);if(!i||i.ERROR||(null===(t=i.DETAILS)||void 0===t?void 0:t.ERROR))throw new h.l(s,i);this.applyAuthResults({authToken:i.SESSION_AUTH_TOKEN,refreshToken:i.REFRESH_AUTH_TOKEN,profiles:i.PROFILE,username:i.USER_NAME,permissions:i.PERMISSION,sessionId:i.SESSION_ID}),this.session.setAuthResult(i),l.k.debug("Login Authentication Result:",i)}catch(e){if(l.k.error("Login Authentication Error:",e),!(e instanceof h.l&&e.isIgnorableError()))throw this.removeAuthResults(),e;l.k.warn("Ignoring authentication error as it is a known edge case.")}finally{this.isWorking=!1}return this.loggedUserResult}))}logout(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){this.isWorking=!0;let t={success:!1};try{const s=this.messageBuilder.createLogoutMessage(this.loggedUserResult);this.session.deleteUserFromSessionStorage(),this.connect.setValidSession(!1);const{CODE:i,DETAILS:r,ERROR:o,MESSAGE_TYPE:n,OIDC_LOGOUT_URL:a}=yield this.connect.send(s),d=null!==(e=null==r?void 0:r.ERROR)&&void 0!==e?e:o,h=n===c.Cs.LOGOUT_NACK;h&&l.k.warn("Unexpected Logout NACK received during logout.",d),t={success:n===c.Cs.LOGOUT_ACK||i===c.QT.SESSION_NOT_FOUND||h,error:d},a&&window.open(a,"_self")}catch(e){const s=new h.l(e.sentMessage,e.receivedMessage);if(l.k.error("Logout Authentication Error:",s),!s.isIgnorableError())throw e;l.k.warn("Ignoring authentication error as it is a known edge case."),t.success=!0}finally{this.removeAuthResults(),this.isWorking=!1}return t}))}reAuthFromSession(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(yield this.ensureConnection()){const e=this.messageBuilder.createRefreshTokenMessage(),t=yield this.connect.send(e);if((null==t?void 0:t.MESSAGE_TYPE)===c.N$.EVENT_LOGIN_AUTH_ACK)return this.session.setAuthResult(t),this.connect.setValidSession(!0),this.applyAuthResults(this.getLoggedUserFromMessage(t)),!0}return this.session.deleteUserFromSessionStorage(),this.connect.setValidSession(!1),!1}))}ensureConnection(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(this.connect.isConnected)return!0;const e=this.session.getSessionStorageItem("hostUrl");return!!e&&this.connect.connect(e)}))}getLoggedUserFromMessage(e){const t=e.USER_NAME,s=e.SESSION_AUTH_TOKEN,i=e.REFRESH_AUTH_TOKEN;return t&&s&&i?{username:t,authToken:s,refreshToken:i,profiles:e.PROFILE,permissions:e.PERMISSION,sessionId:e.SESSION_ID}:null}applyAuthResults(e){e?(this.loggedUserResult={authToken:e.authToken,refreshToken:e.refreshToken,profiles:e.profiles,username:e.username,permissions:e.permissions,sessionId:e.sessionId},this.currentUser=new M({permissions:e.permissions,profiles:e.profiles,username:e.username})):this.removeAuthResults()}removeAuthResults(){this.loggedUserResult=null,this.currentUser=null}};(0,i.__decorate)([r.observable],N.prototype,"isWorking",void 0),(0,i.__decorate)([r.observable],N.prototype,"currentUser",void 0),(0,i.__decorate)([r.observable],N.prototype,"loggedUserResult",void 0),(0,i.__decorate)([r.volatile],N.prototype,"isLoggedIn",null),N=(0,i.__decorate)([(0,i.__param)(0,E.z),(0,i.__param)(1,a.lj),(0,i.__param)(2,c.sW),(0,i.__param)(3,f)],N);const b=o.DI.createInterface((e=>e.singleton(N)))},4077:(e,t,s)=>{var i;s.d(t,{G:()=>i,l:()=>r}),function(e){e.BASIC="BASIC",e.SSO="SSO",e.JWT="JWT",e.REFRESH="REFRESH"}(i||(i={}));class r extends Error{constructor(e,t,s="Auth Failed \n"){super(s),this.sent=e,this.received=t,Object.setPrototypeOf(this,r.prototype)}isIgnorableError(){var e,t,s,i;return null===(i=null===(s=null===(t=null===(e=this.received)||void 0===e?void 0:e.DETAILS)||void 0===t?void 0:t.ERROR)||void 0===s?void 0:s.toLowerCase())||void 0===i?void 0:i.includes("request needs the user to be logged")}getMessageError(){var e,t;return Array.isArray(null===(e=this.received)||void 0===e?void 0:e.ERROR)?null===(t=this.received)||void 0===t?void 0:t.ERROR.map((e=>this.errorDetailFormatter(e))).join("\n"):""}getDetailsError(){var e,t,s,i;return Array.isArray(null===(t=null===(e=this.received)||void 0===e?void 0:e.DETAILS)||void 0===t?void 0:t.ERROR)?null===(i=null===(s=this.received)||void 0===s?void 0:s.DETAILS)||void 0===i?void 0:i.ERROR.map((e=>this.errorDetailFormatter(e))).join("\n"):""}hasPasswordExpiredError(){return this.hasErrorCode("PASSWORD_EXPIRED")}hasErrorCode(e){var t,s;return!!Array.isArray(null===(t=this.received)||void 0===t?void 0:t.ERROR)&&(null===(s=this.received)||void 0===s?void 0:s.ERROR.some((t=>t.CODE===e)))}errorDetailFormatter(e){return`\n ${e.CODE}: \n ${e.TEXT}`}}},62646:(e,t,s)=>{s.d(t,{lj:()=>q});var i=s(186),r=s(74692),o=s(83147),n=s(75951);class a{constructor(){this.cachedMetadata=new Map,this.cachedJsonSchema=new Map}getMetadataFor(e){return this.cachedMetadata.get(e)}getJsonSchemaFor(e){return this.cachedJsonSchema.get(e)}hasMetadataFor(e){return this.cachedMetadata.has(e)}hasJsonSchemaFor(e){return this.cachedJsonSchema.has(e)}setMetadataFor(e,t){this.cachedMetadata.set(e,t)}setJsonSchemaFor(e,t){this.cachedJsonSchema.set(e,t)}}const c=n.DI.createInterface((e=>e.singleton(a))),d=new RegExp(/wss?:\/\/[-a-zA-Z0-9@:%._\+~#=]{1,256}\b([-a-zA-Z0-9()@:%_\+.~#?&\/=]*)\b\/*$/,"i");var h=s(22296);const E=n.DI.createInterface(),l=n.DI.createInterface();var u=s(26714),g=s(16697),S=s(56383),_=s(29866),T=s(40804),R=s(7211),v=s(44866),p=s(75527);class m{serialize(e){return JSON.stringify(e)}deserialize(e){return e?"string"==typeof e?JSON.parse(e):e.data?JSON.parse(e.data):e.text().then((e=>JSON.parse(e))):Promise.resolve({})}}const O=n.DI.createInterface((e=>e.singleton(m)));let A=class{constructor(e){this.serializer=e}get(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=yield fetch(e,Object.assign(Object.assign({},t),{method:"GET"}));return(t.serializer||this.serializer).deserialize(s)}))}post(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=yield fetch(e,Object.assign(Object.assign({},t),{method:"POST"}));return(t.serializer||this.serializer).deserialize(s)}))}};A=(0,i.__decorate)([(0,i.__param)(0,O)],A);const I=n.DI.createInterface((e=>e.singleton(A)));var f=s(9162);const M={polling:Object.assign({POLLING_MAP:{EVENT_AMEND_USER:{TEMP_FREQUENCY:500,AMOUNT_OF_POLLS:5,QUERIES:["ALL_USERS"]}},POLLING_INTERVAL_MAP:{ALL_TRADES:5e3,ALL_USERS:5e3,ALL_PROCESSES_STATUS:1e4},POLLING_FREQUENCY:5e3},{})};let N=class e{get isConnected(){return this._isConnected}set isConnected(e){this._isConnected=e,this.isConnectedSubject.next(this._isConnected)}constructor(e,t,s,i,r,o=M){var n;this.http=e,this.messageBuilder=t,this.session=s,this.metaCache=i,this.serializer=r,this.config=o,this.isWorking=!1,this._isConnected=!1,this.isConnectedSubject=new u.X(this._isConnected),this.isConnected$=null===(n=this.isConnectedSubject)||void 0===n?void 0:n.asObservable(),this.ongoingTurbo={},this.streams=new Map}checkHost(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){try{return this.getMessage({MESSAGE_TYPE:f.Cs.HEARTBEAT_PING,SOURCE_REF:"host check"}).then((e=>e.MESSAGE_TYPE===f.Cs.HEARTBEAT_PONG))}catch(e){return h.k.error(e),!1}}))}send(t,s){return this.http.post(e.getUrl(this.host,t),{body:e.getBody(t),headers:this.messageBuilder.createHTTPHeadersFromMessage(t)})}httpMode(){return!0}setValidSession(e){h.k.warn("setValidSession() called while in http polling mode.")}connect(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.host=e,this.host.endsWith("/")||(this.host=this.host.concat("/")),this.checkHost().then((e=>(this.isConnected=e,this.session.setSessionStorageItem("hostUrl",this.host),e)))}))}disconnect(){this.isConnected=!1,this.streams.clear(),this.ongoingTurbo={},this.host=void 0}snapshot(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return h.k.debug(`HTTP MODE - ${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.send(s).then((e=>(this.dataLogoff(s.SOURCE_REF).catch((e=>h.k.error(e))),e)))}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);h.k.debug(`HTTP MODE - ${r.MESSAGE_TYPE} (stream) message created -> `,r);const o=r.SOURCE_REF;this.streams.set(o,{SOURCE_REF:o,POLLING_FREQUENCY:new u.X(this.config.polling.POLLING_FREQUENCY),RESOURCE_NAME:e});const n=this.streams.get(o).POLLING_FREQUENCY,a=(0,g.z)((0,S.D)(this.send(r)),n.pipe((0,_.w)((e=>(0,T.F)(e)))).pipe((0,_.w)((()=>(0,S.D)(this.getMessage(r)))))).pipe((0,R.o)((()=>this.streams.has(o))),(0,v.x)((()=>{h.k.debug(`Terminating stream for ${e} - ${o}`),this.dataLogoff(o)})));return this.streams.get(o).STREAM=a,a}getMessage(t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.http.get(e.getUrl(this.host,t),{headers:this.messageBuilder.createHTTPHeadersFromMessage(t)})}))}getMoreRows(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return h.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} message created -> `,t),this.send(t)}))}dataLogoff(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return this.send(t).then((t=>(this.streams.has(e)&&(h.k.debug(`Removing stream ${e}`),this.streams.delete(e)),t)))}))}getMetadata(e,t=!0){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e);return h.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} (metadata) message created -> `,t),this.send(t).then((e=>e.DETAILS))}))}getJSONSchema(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);return h.k.debug(`HTTP MODE! - ${t.MESSAGE_TYPE} (json schema) message created -> `,t),this.send(t)}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return h.k.debug(`HTTP MODE! - ${s.MESSAGE_TYPE} (request server) message created -> `,s),this.send(s)}commitEvent(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return h.k.debug(`HTTP MODE! - ${s.MESSAGE_TYPE} (commit) message created -> `,s),this.send(s).then((t=>(this.maybeTurbo(e,t),t)))}))}maybeTurbo(e,t){var s;if(!(null===(s=null==t?void 0:t.MESSAGE_TYPE)||void 0===s?void 0:s.endsWith("_ACK")))return;if(this.ongoingTurbo[e])return void h.k.debug(`${e} polling frequency is already accelerated.`);const i=this.config.polling.POLLING_MAP[e];if(!(null==i?void 0:i.TEMP_FREQUENCY)||!i.AMOUNT_OF_POLLS)return;const r=i.TEMP_FREQUENCY,o=r*i.AMOUNT_OF_POLLS,n=JSON.parse(JSON.stringify(this.config.polling.POLLING_INTERVAL_MAP)),a=JSON.parse(JSON.stringify(this.config.polling.POLLING_INTERVAL_MAP));for(const e of i.QUERIES)a[e]=r,n[e]||(n[e]=this.config.polling.POLLING_FREQUENCY);h.k.debug(`${e} TRIGGERED -> ENFORCING TURBO | FREQUENCY=${r}ms DURATION=${o}`),this.ongoingTurbo[e]=!0,this.updateIntervals({polling:{POLLING_INTERVAL_MAP:a}}),setTimeout((()=>{h.k.debug(`RESTORED ORIGINAL POLLING INTERVALS FOR ${e}`),this.updateIntervals({polling:{POLLING_INTERVAL_MAP:n}}),this.ongoingTurbo[e]=!1}),o)}updateIntervals(e){const{POLLING_INTERVAL_MAP:t}=e.polling;t&&(this.config.polling.POLLING_INTERVAL_MAP=t,this.handlePollingIntervalMapUpdate(t))}handlePollingIntervalMapUpdate(e){if(e)for(const t in e){if(!e.hasOwnProperty(t))continue;const s=e[t];this.config.polling.POLLING_INTERVAL_MAP[t]=s,h.k.debug(`Setting polling frequency for ${t} = ${s}`),[...this.streams.values()].filter((e=>e.RESOURCE_NAME===t)).forEach((e=>{var t;return null===(t=null==e?void 0:e.POLLING_FREQUENCY)||void 0===t?void 0:t.next(s)}))}}static getBody(e){return JSON.stringify(e)}static getUrl(e,t){const s=t.MESSAGE_TYPE;let i=t.MESSAGE_TYPE.replace(/_/g,"-").toLowerCase();return s===f.N$.DATA_LOGON&&(i=t.DETAILS.DATASOURCE_NAME.replace(/_/g,"-").toLowerCase()),`${e}${i}`}};(0,i.__decorate)([o.observable],N.prototype,"host",void 0),(0,i.__decorate)([o.observable],N.prototype,"isWorking",void 0),(0,i.__decorate)([o.observable],N.prototype,"_isConnected",void 0),(0,i.__decorate)([o.volatile],N.prototype,"isConnected",null),N=(0,i.__decorate)([(0,i.__param)(0,I),(0,i.__param)(1,f.sW),(0,i.__param)(2,p.z),(0,i.__param)(3,c),(0,i.__param)(4,r.JSONSerializer),(0,i.__param)(5,(0,n.optional)(l))],N);const b=n.DI.createInterface((e=>e.singleton(N)));var C=s(72284),U=s(98239),L=s(37674),k=s(30094),w=s(30526),P=s(52702),D=s(68370),y=s(52354),G=s(2355);const F=1e4,H=6e4;var V;!function(e){e.Linear="linear",e.Exponential="exponential"}(V||(V={}));const $=(e,t)=>{const{reconnectInterval:s=F}=e,i=s>H?H:s,r=Math.round(Math.log2(H/i));return i*Math.pow(2,t%r)},Y=e=>{const{reconnectInterval:t=F}=e;return t>H?H:t};class W extends C.x{constructor(){super()}}class B{constructor(e,t,s,i){this._message=e,this._onMessage=t,this._onError=s,this._isSubscription=i}get sentMessage(){return this._message}get onReceivedMessage(){return this._onMessage}get onReceivedError(){return this._onError}get isSubscription(){return this._isSubscription}}let K=class{isConnectedChanged(e,t){this.isConnectedSubject.next(t)}constructor(e,t,s,i){this.messageBuilder=e,this.session=t,this.serializer=s,this.uuid=i,this.defaultInterval=1e4,this.secondsMultiplier=1e3,this.isConnectedSubject=new u.X(!1),this.isConnected=!1,this.hasValidSession=!1,this.heartbeatIsEnabled=!0,this.heartbeatInterval=this.defaultInterval,this.isReconnecting=!1,this.socketMessages=()=>this.wsMessages}get heartbeatLoggingIsEnabled(){var e,t;return null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableHeartbeatLogging)&&void 0!==t&&t}get messageLoggingIsEnabled(){var e,t;return null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableMessageLogging)&&void 0!==t&&t}connect(e,t,s){return this.url=e,this.connectOptions=t,this.reconnectOptions=s,new Promise((e=>{var t,s,r,o;h.k.info(`${this.isReconnecting?"Reconnecting":"Connecting"} to ${this.url}`);(!this.isReconnecting||!(null===(t=this.reconnectOptions)||void 0===t?void 0:t.reconnectStreams))&&this.cleanMessages(),null===(s=this.socketSubscription)||void 0===s||s.unsubscribe(),this.websocket=new y.p({url:this.url,openObserver:{next:()=>{this.isConnected=!0,this.session.setSessionStorageItem("hostUrl",this.url),this.prepareHeartbeat(),h.k.info("WebSocket connection is now open"),e(this.isConnected)}},closeObserver:{next:t=>{this.disconnectedByServer=!t.wasClean,this.isConnected=!1,this.disconnectedByServer&&h.k.info(`WebSocket connection was closed due an error - Code: ${t.code} ${t.reason?" | Reason: "+t.reason:""}`),e(this.isConnected)}},serializer:this.serializer.serialize,deserializer:this.serializer.deserialize});this.socketSubscription=this.websocket.subscribe(null!==(o=null===(r=this.connectOptions)||void 0===r?void 0:r.connectObserver)&&void 0!==o?o:{next:e=>(0,i.__awaiter)(this,void 0,void 0,(function*(){var t;const s=`Response Message received for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;this.logMessageTypeFlow(e.MESSAGE_TYPE,h.k.info,s);const{SOURCE_REF:i,MESSAGE_TYPE:r}=e,o=this.getMessageHandler(i,r);if(!o)return;let n=!1;switch(e.MESSAGE_TYPE){case f.N$.EVENT_LOGIN_AUTH_ACK:{this.hasValidSession=!0;const s=e.DETAILS;s.HEARTBEAT_INTERVAL_SECS&&void 0===(null===(t=this.connectOptions)||void 0===t?void 0:t.heartbeatInterval)&&(this.heartbeatInterval=s.HEARTBEAT_INTERVAL_SECS*this.secondsMultiplier,this.prepareHeartbeat());break}case f.Cs.LOGOUT_ACK:return this.hasValidSession=!1,o.onReceivedMessage.call(this,e),void this.cleanMessages();case f.Cs.LOGON_ACK:return;case f.Cs.LOGOFF_ACK:if(e.LOGGED_OUT&&this.hasValidSession){const e=this.messageBuilder.createRefreshTokenMessage(),t=yield this.send(e);t?t.MESSAGE_TYPE===f.N$.EVENT_LOGIN_AUTH_ACK&&(this.session.setAuthResult(t),this.wsMessageHandlers.forEach((e=>{e.isSubscription&&(e.sentMessage.SESSION_AUTH_TOKEN=t.SESSION_AUTH_TOKEN,this.websocket.next(e.sentMessage))}))):this.hasValidSession=!1}break;case f.Cs.QUERY_UPDATE:if(!o.isSubscription){const e=this.messageBuilder.createDataLogoffMessage(i);this.send(e)}break;case f.Cs.MSG_NACK:n=!0}n?o.onReceivedError.call(this,{receivedMessage:e,sentMessage:o.sentMessage}):o.onReceivedMessage.call(this,e),this.wsMessages.next(e),o.isSubscription||this.removeMessageHandler(i)})),error:e=>{h.k.debug("Error found: ",e),this.reconnect()},complete:()=>{var e;this.disconnectedByServer&&(null===(e=this.connectOptions)||void 0===e?void 0:e.alwaysOn)?this.reconnect():h.k.info("Connection is now closed")}})}))}prepareHeartbeat(){var e,t,s,r;this.heartbeatSubscription&&this.heartbeatSubscription.unsubscribe();const o=()=>(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!this.isConnected)return;const e={MESSAGE_TYPE:f.Cs.HEARTBEAT_PING,SOURCE_REF:this.uuid.createId()},t=yield this.send(e);this.heartbeatIsEnabled=t.MESSAGE_TYPE===f.Cs.HEARTBEAT_PONG&&t.SOURCE_REF===e.SOURCE_REF}));if(null!==(t=null===(e=this.connectOptions)||void 0===e?void 0:e.enableHeartbeat)&&void 0!==t?t:this.heartbeatIsEnabled){const e=null!==(r=null===(s=this.connectOptions)||void 0===s?void 0:s.heartbeatInterval)&&void 0!==r?r:this.heartbeatInterval;this.heartbeatSubscription=(0,U.H)(e,e).pipe((0,R.o)((()=>this.websocket&&this.isConnected)),(0,w.b)((()=>this.heartbeatLoggingIsEnabled&&h.k.debug(`Sending a heartbeat ping every ${e} ms`)))).subscribe((()=>o()))}}reconnect(){var e,t,s,i,r;const o=!(null===(e=this.connectOptions)||void 0===e?void 0:e.alwaysOn)&&!1===(null===(t=this.connectOptions)||void 0===t?void 0:t.enableHeartbeat);if(this.isReconnecting||o)return;this.isReconnecting=!0;const n=(null===(s=this.reconnectOptions)||void 0===s?void 0:s.reconnectStrategy)===V.Exponential?$:Y,a=this.isConnectedSubject.asObservable().pipe((0,_.w)((e=>e?(0,L.of)(-1):((e,t)=>new G.y((s=>{let i,r=0;return function o(){s.next(r),clearTimeout(i),i=setTimeout(o,t(e,r)),r+=1}(),()=>{clearTimeout(i)}})))(this.reconnectOptions,n).pipe((0,P.z)((e=>{var t,s,i;let r;return r=(null===(t=this.connectOptions)||void 0===t?void 0:t.alwaysOn)?e+1:null!==(i=null===(s=this.reconnectOptions)||void 0===s?void 0:s.reconnectAttempts)&&void 0!==i?i:10,e<r?(0,L.of)(e):(0,k._)((()=>new Error(`Max reconnect attempts ${r} reached.`)))}))))),(0,R.o)((()=>this.websocket&&!this.isConnected)));a.subscribe(null!==(r=null===(i=this.reconnectOptions)||void 0===i?void 0:i.reconnectObserver)&&void 0!==r?r:{next:e=>{h.k.debug(`Attempt no. ${e+1} to reconnect`),this.websocket.complete(),this.connect(this.url,this.connectOptions,this.reconnectOptions)},error:e=>{var t;h.k.debug(e),null===(t=this.socketSubscription)||void 0===t||t.unsubscribe(),this.isReconnecting=!1},complete:()=>{h.k.info(this.isConnected?"Reconnected":"Disconnected"),this.isReconnecting=!1,this.wsMessageHandlers.forEach((e=>{e.isSubscription&&this.websocket.next(e.sentMessage)}))}})}reset(){this.isConnected=!1,this.websocket&&this.websocket.complete(),this.websocket=null,this.cleanMessages()}cleanMessages(){this.wsMessages&&this.wsMessages.complete(),this.wsMessages=new W,this.wsMessageHandlers=new Map}send(e,t=!0){if(!this.isConnected)return void Promise.reject(new Error("WebSocket connection is closed"));const s=`Sending Message for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;return this.logMessageTypeFlow(e.MESSAGE_TYPE,h.k.info,s),new Promise(((s,i)=>{const r=e=>{s(e)},o=e=>{i(e)};t&&this.setMessageHandler(e,r,o),this.websocket.next(e)}))}sendForStream(e,t,s){if(!this.isConnected)return(0,k._)((()=>new Error("WebSocket connection is closed")));if(!this.hasValidSession)return(0,k._)((()=>new Error("WebSocket connection is open but there is no valid/active session, please check your auth flow")));const i=`Sending Message (stream) for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;return this.logMessageTypeFlow(e.MESSAGE_TYPE,h.k.info,i),this.setMessageHandler(e,t,s,!0),this.websocket.next(e),(0,S.D)(this.wsMessages.pipe((0,D.h)((t=>t.SOURCE_REF===e.SOURCE_REF))))}setMessageHandler(e,t,s,i=!1){const r=`Setting Message Handler for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;this.logMessageTypeFlow(e.MESSAGE_TYPE,h.k.debug,r),this.wsMessageHandlers.set(e.SOURCE_REF,new B(e,t,s,i))}removeMessageHandler(e){this.wsMessageHandlers.delete(e)}getMessageHandler(e,t){const s=`Getting Message Handler for SourceRef: ${e} | MessageType: ${t}`;return this.logMessageTypeFlow(t,h.k.debug,s),this.wsMessageHandlers.get(e)}logMessageTypeFlow(e,t,s){switch(e){case f.Cs.HEARTBEAT_PING:case f.Cs.HEARTBEAT_PONG:this.heartbeatLoggingIsEnabled&&t(s);break;default:this.messageLoggingIsEnabled&&t(s)}}};(0,i.__decorate)([o.observable],K.prototype,"websocket",void 0),(0,i.__decorate)([o.observable],K.prototype,"wsMessages",void 0),(0,i.__decorate)([o.observable],K.prototype,"wsMessageHandlers",void 0),(0,i.__decorate)([o.observable],K.prototype,"isConnected",void 0),(0,i.__decorate)([o.observable],K.prototype,"disconnectedByServer",void 0),(0,i.__decorate)([o.observable],K.prototype,"hasValidSession",void 0),(0,i.__decorate)([o.observable],K.prototype,"heartbeatIsEnabled",void 0),(0,i.__decorate)([o.observable],K.prototype,"isReconnecting",void 0),K=(0,i.__decorate)([(0,i.__param)(0,f.sW),(0,i.__param)(1,p.z),(0,i.__param)(2,O),(0,i.__param)(3,r.UUID)],K);const x=n.DI.createInterface((e=>e.singleton(K))),j={connect:{alwaysOn:!1,enableHeartbeat:!0,enableHeartbeatLogging:!1,heartbeatInterval:1e4,enableMessageLogging:!1},reconnect:{reconnectAttempts:10,reconnectInterval:1e4,reconnectStreams:!0}};let Q=class{get isConnected(){return this.socket.isConnected}get isConnectedSubject(){return this.socket.isConnectedSubject}get isConnected$(){var e;return null===(e=this.socket.isConnectedSubject)||void 0===e?void 0:e.asObservable()}constructor(e,t,s,i=j){this.socket=e,this.messageBuilder=t,this.metaCache=s,this.config=i,this.isWorking=!1}httpMode(){return!1}setValidSession(e){this.socket.hasValidSession=e}send(e,t){return this.socket.send(e,t)}connect(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.socket.reset(),d.test(e)?this.socket.connect(e,this.config.connect,this.config.reconnect):(h.k.error(`Specified host (${e}) is not valid WebSocket url. Connection will not proceed.`),void h.k.warn("Make sure the host url starts with wss:// or ws://"))}))}disconnect(){this.socket.reset()}snapshot(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return h.k.debug(`${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.socket.send(s)}))}stream(e,t,s,i){const r=this.messageBuilder.createDataLogonMessage(e,i);return h.k.debug(`${r.MESSAGE_TYPE} (stream) message created -> `,r),this.socket.sendForStream(r,t,s)}getMoreRows(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return h.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t,!1)}))}dataLogoff(e){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return h.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t)}))}getMetadata(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasMetadataFor(e))return h.k.debug(`Cached metadata retrieved for ${e}`),this.metaCache.getMetadataFor(e);const i=this.messageBuilder.createMetaRequestMessage(e);let r;h.k.debug(`${i.MESSAGE_TYPE} (metadata) message created -> `,i);try{this.isWorking=!0;const t=yield this.socket.send(i);r=null!==(s=null==t?void 0:t.DETAILS)&&void 0!==s?s:{},Object.keys(r).length&&this.metaCache.setMetadataFor(e,r)}catch(e){h.k.error(e)}finally{this.isWorking=!1}return r}))}getJSONSchema(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasJsonSchemaFor(e))return h.k.debug(`Cached JsonSchema retrieved for ${e}`),this.metaCache.getJsonSchemaFor(e);const i=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);let r;h.k.debug(`${i.MESSAGE_TYPE} (json schema) message created -> `,i);try{this.isWorking=!0,r=null!==(s=yield this.socket.send(i))&&void 0!==s?s:{},Object.keys(r).length&&this.metaCache.setJsonSchemaFor(e,r)}catch(e){h.k.error(e)}finally{this.isWorking=!1}return r}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return h.k.debug(`${s.MESSAGE_TYPE} (request server) message created -> `,s),this.socket.send(s)}commitEvent(e,t){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return h.k.debug(`${s.MESSAGE_TYPE} (commit) message created -> `,s),this.socket.send(s)}))}};(0,i.__decorate)([o.observable],Q.prototype,"isWorking",void 0),(0,i.__decorate)([o.volatile],Q.prototype,"isConnected",null),Q=(0,i.__decorate)([(0,i.__param)(0,x),(0,i.__param)(1,f.sW),(0,i.__param)(2,c),(0,i.__param)(3,(0,n.optional)(E))],Q);const J="true"===r.FORCE_HTTP||!1,z=n.DI.createInterface((e=>e.singleton(Q))),q=n.DI.createInterface((e=>J?e.aliasTo(b):e.aliasTo(z)))},9162:(e,t,s)=>{s.d(t,{Cs:()=>i,N$:()=>r,QT:()=>o,sW:()=>l});var i,r,o,n=s(186),a=s(74692),c=s(75951),d=s(4077),h=s(75527);!function(e){e.LOGON_ACK="LOGON_ACK",e.LOGON_NACK="LOGON_NACK",e.LOGOFF_ACK="LOGOFF_ACK",e.LOGOFF_NACK="LOGOFF_NACK",e.HEARTBEAT_PING="HEARTBEAT_PING",e.HEARTBEAT_PONG="HEARTBEAT_PONG",e.MORE_ROWS="MORE_ROWS",e.MSG_ACK="MSG_ACK",e.MSG_NACK="MSG_NACK",e.LOGOUT_ACK="LOGOUT_ACK",e.LOGOUT_NACK="LOGOUT_NACK",e.QUERY_UPDATE="QUERY_UPDATE"}(i||(i={})),function(e){e.EVENT_LOGIN_AUTH="EVENT_LOGIN_AUTH",e.EVENT_LOGIN_AUTH_ACK="EVENT_LOGIN_AUTH_ACK",e.EVENT_LOGIN_AUTH_NACK="EVENT_LOGIN_AUTH_NACK",e.EVENT_LOGOUT="EVENT_LOGOUT",e.DATA_LOGON="DATA_LOGON",e.DATA_LOGOFF="DATA_LOGOFF",e.META_REQUEST="META_REQUEST",e.JSON_SCHEMA_REQUEST="JSON_SCHEMA_REQUEST",e.RESOURCES_REQUEST="RESOURCES_REQUEST",e.EVENT_CHANGE_USER_PASSWORD="EVENT_CHANGE_USER_PASSWORD",e.EVENT_SELF_SERVICE_PASSWORD_RESET="EVENT_SELF_SERVICE_PASSWORD_RESET",e.EVENT_PASSWORD_RESET_ACTION="EVENT_PASSWORD_RESET_ACTION"}(r||(r={})),function(e){e.SESSION_NOT_FOUND="SESSION_NOT_FOUND",e.UNKNOWN_MESSAGE_TYPE="UNKNOWN_MESSAGE_TYPE"}(o||(o={}));let E=class{constructor(e,t){this.session=e,this.uuid=t}createLoginMessage(e){let t;switch(e.type){case d.G.BASIC:t={USER_NAME:e.username,PASSWORD:e.password};break;case d.G.REFRESH:t={USER_NAME:e.username,REFRESH_AUTH_TOKEN:e.refreshToken};break;case d.G.SSO:t={SSO_TOKEN:e.ssoToken};break;case d.G.JWT:t={JWT:e.jwt,DOMAIN:e.domain}}return{DETAILS:t,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_LOGIN_AUTH}}createLogoutMessage(e){var t,s;return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_LOGOUT,SESSION_AUTH_TOKEN:null!==(t=e.authToken)&&void 0!==t?t:this.session.getSessionStorageItem("authToken"),SESSION_ID:null!==(s=e.sessionId)&&void 0!==s?s:this.session.getSessionStorageItem("sessionId")}}createDataLogonMessage(e,t){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.DATA_LOGON,DETAILS:Object.assign({DATASOURCE_NAME:e},t),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createDataLogoffMessage(e){return{SOURCE_REF:e,MESSAGE_TYPE:r.DATA_LOGOFF,SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createRequestMessage(e,t){return Object.assign({SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:e.startsWith("REQ_")?e:`REQ_${e}`},t)}createMetaRequestMessage(e,t=r.META_REQUEST){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:t,DETAILS:{FEATURE:e},SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createCommitMessage(e,t){return Object.assign({SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:e},t)}createRefreshTokenMessage(){return{SOURCE_REF:this.uuid.createId(),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken"),MESSAGE_TYPE:r.EVENT_LOGIN_AUTH,DETAILS:{REFRESH_AUTH_TOKEN:this.session.getSessionStorageItem("refreshToken")}}}createChangePasswordMessage(e,t,s){return{USER_NAME:e,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_CHANGE_USER_PASSWORD,DETAILS:{OLD_PASSWORD:t,NEW_PASSWORD:s}}}createForgotPasswordMessage(e,t,s=e){return{USER_NAME:s,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_SELF_SERVICE_PASSWORD_RESET,DETAILS:{USER_NAME:e,RETURN_URL:t}}}createForgotPasswordTokenMessage(e,t,s,i=e){return{USER_NAME:i,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.EVENT_PASSWORD_RESET_ACTION,DETAILS:{USER_NAME:e,RESET_TOKEN:t,NEW_PASSWORD:s}}}createMoreRowsMessage(e){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:i.MORE_ROWS,DETAILS:{SOURCE_REF:e},SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createHTTPHeadersFromMessage(e,t="application/json; charset=UTF-8"){const s={"Content-type":t};return e.SOURCE_REF&&(s["source-ref"]=e.SOURCE_REF,s.SOURCE_REF=e.SOURCE_REF),e.SESSION_AUTH_TOKEN&&(s["SESSION-AUTH-TOKEN"]=e.SESSION_AUTH_TOKEN),e.MESSAGE_TYPE===r.EVENT_LOGOUT&&(s["SESSION-ID"]=e.SESSION_ID),s}};E=(0,n.__decorate)([(0,n.__param)(0,h.z),(0,n.__param)(1,a.UUID)],E);const l=c.DI.createInterface((e=>e.singleton(E)))},5127:(e,t,s)=>{s.d(t,{$:()=>r});var i=s(22296);function r(e,t="ROW_REF"){const s=e=>{const s=Object.assign(Object.assign({},e),{[t]:e.DETAILS[t]});return delete s.DETAILS,s},r=[],o=[],n=[];for(const t of e.ROW)if(t.DETAILS)switch(t.DETAILS.OPERATION){case"INSERT":r.push(s(t));break;case"MODIFY":n.push(s(t));break;case"DELETE":o.push(s(t));break;default:i.k.error(`Unsupported operation type: '${t.DETAILS.OPERATION}'`)}return{inserts:r,deletes:o,updates:n,SOURCE_REF:e.SOURCE_REF}}},6852:(e,t,s)=>{s.d(t,{Yh:()=>v});var i=s(186),r=s(83147),o=s(75951),n=s(98239),a=s(19788),c=s(56383),d=s(29866),h=s(7211),E=s(35991),l=s(62646),u=s(66306),g=s(22296);var S=s(5127),_=s(82940);const T={options:{criteria:"",isSnapshot:!1,maxRows:_.WJ.MAX_ROWS_250,maxView:_.WJ.MAX_VIEW_1000,pollingInterval:_.WJ.REQ_REP_POLLING_INTERVAL_MS,movingView:!1,orderBy:"",resourceName:"",reverse:!1},criteriaToFields:function(e){const t=e.split("&&").map((e=>e.trim())),s={};return t.forEach((e=>{const t=e.substr(0,e.indexOf("=")).trim().replace(/["']/g,""),i=e.substr(e.lastIndexOf("=")+1,e.length).trim().replace(/["']/g,"");s[t]=i})),s},dataServerResultFilter:S.$};let R=class{constructor(e,t,s=T){this.connect=e,this.auth=t,this.config=s,this.initialized=!1,this.readOnly=!0,this.originalFieldDef=[],this.requestFields=[],this.fieldMetadata=[],this.availableIndexes=[]}validResourceName(e){return!!e&&!!e.trim().length}init(e,t=!0){var s;return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(!this.validResourceName(null==e?void 0:e.resourceName))return!1;if(this.options=Object.assign(Object.assign({},this.config.options),e),t){g.k.debug(`Initializing ${this.options.resourceName} Datasource`);const t=yield this.connect.getMetadata(this.options.resourceName).catch((t=>g.k.error(`Metadata Fetch failed for ${e.resourceName}:`,t)));if(!t)return this.deinit(),!1;this.resourceType=t.TYPE,this.availableIndexes=null!==(s=t.INDEXES)&&void 0!==s?s:[],this.originalFieldDef=(0,u.C)(t),this.fieldMetadata=(0,u.i)(this.originalFieldDef),this.requestFields=t.REQUEST_FIELD||[],g.k.debug(`Datasource for ${this.options.resourceName} is ready`)}return this.options.isSnapshot||(this._stream=yield this.createStream()),this.initialized=!0,this.initialized}))}deinit(){this.initialized=!1,this.options=void 0,this.resourceType=void 0,this.availableIndexes=[],this.originalFieldDef=[],this.fieldMetadata=[],this.requestFields=[]}get stream(){return this._stream}get params(){const e={CRITERIA_MATCH:this.options.criteria,FIELDS:this.options.fields,MAX_ROWS:this.options.maxRows,MAX_VIEW:this.options.maxView,MOVING_VIEW:this.options.movingView,POLLING_INTERVAL:this.options.pollingInterval,REQUEST:this.options.request,REVERSE:this.options.reverse};if(this.options.orderBy)if(this.availableIndexes.findIndex((e=>e.NAME===this.options.orderBy))>-1)e.ORDER_BY=this.options.orderBy;else{const e=this.availableIndexes.map((e=>e.NAME));g.k.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return g.k.debug("Getting configured params:",e),e}snapshot(){var e;return(0,i.__awaiter)(this,void 0,void 0,(function*(){switch(g.k.debug(`Requesting snapshot for ${this.options.resourceName} (${this.resourceType}).`),this.resourceType){case _._g.DATASERVER:return this.connect.snapshot(this.options.resourceName,this.params);case _._g.REQUEST_SERVER:{const t=this.params,{REQUEST:s,CRITERIA_MATCH:r}=t,o={DETAILS:(0,i.__rest)(t,["REQUEST","CRITERIA_MATCH"]),REQUEST:Object.assign(Object.assign(Object.assign({},Object.fromEntries(this.requestFields.map((e=>[e.NAME,"*"])))),this.params.REQUEST),(null===(e=null==this?void 0:this.options)||void 0===e?void 0:e.criteria)?this.config.criteriaToFields(this.options.criteria):{})};return this.connect.request(this.options.resourceName,o)}default:throw new Error(`Snapshot not supported for selected resource type: ${this.resourceType}`)}}))}snapshotFiltered(e="ROW_REF"){return(0,i.__awaiter)(this,void 0,void 0,(function*(){const t=yield this.snapshot();return Array.isArray(t)?t:t.REPLY?t.REPLY:t.ROW?this.config.dataServerResultFilter(t,e).inserts:void 0}))}createStream(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){if(![_._g.DATASERVER,_._g.REQUEST_SERVER].includes(this.resourceType))throw new Error(`Streaming not supported for selected resource type: ${this.resourceType}`);return this.resourceType===_._g.DATASERVER?this.createDataserverStream():(g.k.debug(`Creating fake stream by polling ${this.options.resourceName} REQUEST_SERVER`),this.createReqRepStream())}))}createDataserverStream(){return(0,i.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.options.resourceName,(e=>{}),(e=>g.k.error(e)),this.params)}))}createReqRepStream(){return(0,n.H)(0,this.params.POLLING_INTERVAL).pipe((0,d.w)((()=>(0,a.a)([this.connect.isConnected$,this.auth.isLoggedIn$]).pipe((0,h.o)((()=>this.connect.isConnected&&this.auth.isLoggedIn)),(0,d.w)((()=>(0,c.D)(this.snapshot())))))))}};(0,i.__decorate)([r.observable],R.prototype,"initialized",void 0),(0,i.__decorate)([r.observable],R.prototype,"readOnly",void 0),(0,i.__decorate)([r.volatile],R.prototype,"stream",null),R=(0,i.__decorate)([(0,i.__param)(0,l.lj),(0,i.__param)(1,E.g),(0,i.__param)(2,(0,o.optional)(_.tt))],R);const v=o.DI.createInterface((e=>e.transient(R)))},82940:(e,t,s)=>{s.d(t,{WJ:()=>o,_g:()=>i,tt:()=>n});var i,r=s(75951);!function(e){e.DATASERVER="DATASERVER",e.EVENT_HANDLER="EVENT_HANDLER",e.REQUEST_SERVER="REQUEST_SERVER"}(i||(i={}));class o{}o.MAX_ROWS_250=250,o.MAX_VIEW_1000=1e3,o.REQ_REP_POLLING_INTERVAL_MS=1e4,o.DATASERVER_ROW_ID="ROW_REF",o.REQUEST_SERVER_ROW_ID="RECORD_ID";const n=r.DI.createInterface()},32449:(e,t,s)=>{function i(e,t=";"){return e?e.split(t).map((e=>e.trim())).sort(((e,t)=>e.localeCompare(t))).join(t):e}s.d(t,{p:()=>i})},83123:(e,t,s)=>{var i;s.d(t,{E:()=>r,r:()=>i}),function(e){e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ENUM="ENUM",e.DATE="DATE",e.DATETIME="DATETIME",e.CUSTOM="CUSTOM"}(i||(i={}));const r={STRING:i.STRING,ENUM:i.ENUM,BOOLEAN:i.BOOLEAN,INT:i.NUMBER,DOUBLE:i.NUMBER,BIGDECIMAL:i.NUMBER,DATE:i.DATE,DATETIME:i.DATETIME}},66306:(e,t,s)=>{s.d(t,{C:()=>a,i:()=>n});var i=s(82940),r=s(22296),o=s(83123);const n=e=>e?e.map((e=>{const t={name:e.NAME,type:o.E[e.TYPE]||o.r.STRING};if(e.TYPE===o.r.ENUM&&e.VALID_VALUES)try{t.enumOptions=Array.isArray(e.VALID_VALUES)?e.VALID_VALUES:e.VALID_VALUES.split("|")}catch(e){r.k.error(e),t.enumOptions=[]}return t})):null,a=e=>{const t=null==e?void 0:e.TYPE;if(t===i._g.DATASERVER)return e.FIELD||[];if(t===i._g.REQUEST_SERVER)return e.REPLY_FIELD||[];throw new Error(`Unsupported resource type: ${t}`)}},75527:(e,t,s)=>{s.d(t,{z:()=>o});var i=s(75951);class r{constructor(){this.storageKeyPrefix="",this.returnUrl=this.getSessionStorageItem("returnUrl")||""}deleteUserFromSessionStorage(){["authToken","refreshToken","sessionId","ssoToken"].forEach((e=>this.removeSessionStorageItem(e)))}setStorageKeyPrefix(e){this.storageKeyPrefix=`${e.replace(/\s/g,"")}/`}setAuthResult(e){this.setSessionStorageItem("authToken",e.SESSION_AUTH_TOKEN),this.setSessionStorageItem("refreshToken",e.REFRESH_AUTH_TOKEN),this.setSessionStorageItem("username",e.USER_NAME),this.setSessionStorageItem("sessionId",e.SESSION_ID)}captureReturnUrl(){const{pathname:e,search:t,hash:s}=location;if("/login"===e)return;const i=`${"/"!==e?e:""}`;this.returnUrl=`${i}${t}${s}`,this.setSessionStorageItem("returnUrl",this.returnUrl)}setItem(e,t,s){"local"===s?localStorage.setItem(this.storageKeyPrefix+e,t):sessionStorage.setItem(this.storageKeyPrefix+e,t)}getItem(e,t){return"local"===t?localStorage.getItem(this.storageKeyPrefix+e):sessionStorage.getItem(this.storageKeyPrefix+e)}removeItem(e,t){"local"===t?localStorage.removeItem(this.storageKeyPrefix+e):sessionStorage.removeItem(this.storageKeyPrefix+e)}setLocalStorageItem(e,t){this.setItem(e,t,"local")}setSessionStorageItem(e,t){this.setItem(e,t,"session")}getLocalStorageItem(e){return this.getItem(e,"local")}getSessionStorageItem(e){return this.getItem(e,"session")}removeLocalStorageItem(e){this.removeItem(e,"local")}removeSessionStorageItem(e){this.removeItem(e,"session")}}const o=i.DI.createInterface((e=>e.singleton(r)))},22296:(e,t,s)=>{s.d(t,{k:()=>r});var i=s(74692);const r=(0,i.createLogger)("foundation-comms")}}]);
|
|
2
2
|
//# sourceMappingURL=659.841c7ec2bd5de0c3e6e7c296e9de56c3.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<design-system-preview></design-system-preview>
|
|
4
4
|
<design-system-export slot="export" tokensPath="${e=>e.tokensPath}"></design-system-export>
|
|
5
5
|
</design-system-editor>
|
|
6
|
-
`;var s=n(95286),a=n(
|
|
6
|
+
`;var s=n(95286),a=n(76650),i=n(60998),c=n(13896);a.DesignSystemPreview,a.DesignSystemEditor,a.DesignSystemExport;const d=(0,n(74692).createLogger)("desgn-system-configurator");var u=n(90487),p=n.n(u),l=n(80631),f=n.n(l),m=n(52052),h=n.n(m),v=n(64010),g=n.n(v),y=n(11469),b=n.n(y),A=n(9329),C=n.n(A),_=n(15210),E={};E.styleTagTransform=C(),E.setAttributes=g(),E.insert=h().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=b();p()(_.Z,E);_.Z&&_.Z.locals&&_.Z.locals;const S=o.css`
|
|
7
7
|
:host {
|
|
8
8
|
display: flex;
|
|
9
9
|
height: 100%;
|