@genesislcap/design-system-configurator 13.0.0 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/1.0.0.remoteEntry.js +1 -1
  2. package/dist/{119.119.bd0973f1dfc4a50e762f.js → 119.119.5fada9fa65d0bfa47b17.js} +61 -61
  3. package/dist/119.b7c78fecd7af5e2296dfc33f0eb64ee1.js.map +1 -0
  4. package/dist/191.191.dfaafb9280490be6862f.js +2 -0
  5. package/dist/191.d34a5998127a530a110c50a2aaa3f313.js.map +1 -0
  6. package/dist/{361.361.7ae818b4ec2f0bd7d032.js → 361.361.b229138e3cfc711c2d06.js} +2 -2
  7. package/dist/{361.d45cbe744623b49d1b5ea1b98029c80b.js.map → 361.3e2856bcc9fceb7e10802be6e08be4da.js.map} +1 -1
  8. package/dist/{799.e932cd05831db9e0a95f92538f23e63b.js.map → 594.32fec078a975bca1dc9758ee5a8ba615.js.map} +1 -1
  9. package/dist/594.594.fe1a69892af0d3ab984d.js +3 -0
  10. package/dist/{614.614.e5f3b1447e114df68bd1.js → 614.614.4eae2884130b10478146.js} +7 -7
  11. package/dist/{614.17585a98348f75c1df46753957899f82.js.map → 614.cf5163b15fd13bfc62e1bc999b62999d.js.map} +1 -1
  12. package/dist/{688.d38fbfc1c2dfb5201d393310c4e119f0.js.map → 688.657dfac7598141c35e8919b2dcfaa83f.js.map} +1 -1
  13. package/dist/{688.688.28cfb3ad0fb8a035b8db.js → 688.688.2c7b95221912d99f823c.js} +2 -2
  14. package/dist/755.755.2490964e08e80b82e3d3.js +2 -0
  15. package/dist/{755.5b15b3ba8ef3714e61cc4f863c7c5ac2.js.map → 755.b341fccec39a741d39946938c12e4c32.js.map} +1 -1
  16. package/dist/939.939.68a17943bf6cc39587b2.js +2 -0
  17. package/dist/{939.b8a9f66f236107b056482c859944a988.js.map → 939.b8807d0c8211e595825eea79861b0d58.js.map} +1 -1
  18. package/dist/dashboard.json +1 -1
  19. package/dist/designSystemConfigurator.a25921140d2fe0099b7d36db393e9699.js.map +1 -0
  20. package/dist/index.html +1 -1
  21. package/dist/info.html +4 -4
  22. package/dist/main.46db391c673d039c9133.js +2 -0
  23. package/dist/main.77b72e27496689e2c0764d07578b8254.js.map +1 -0
  24. package/dist/{npm.dialog-polyfill.47.5c51a6932ed6a90ed568.js → npm.dialog-polyfill.47.4c7929bbd87c64f7e011.js} +1 -1
  25. package/dist/npm.fortawesome.104.cdafc52a9433df275b5c.js +2 -0
  26. package/dist/npm.fortawesome.438cdd7ef4cce763d9ba6ca0a463a242.js.map +1 -0
  27. package/dist/{npm.microsoft.127.8020ac0468454ed031b7.js → npm.microsoft.127.87b9142379160a96127d.js} +38 -37
  28. package/dist/npm.microsoft.2dd99d98ef2486359fd38adb4b3e0ed0.js.map +1 -0
  29. package/dist/npm.rxjs.271.4f3aaa4d69fc116036ad.js +2 -0
  30. package/dist/npm.rxjs.2ad838729cee99cb3f48b31dd65215d0.js.map +1 -0
  31. package/dist/remoteEntry.js +2 -2
  32. package/dist/tsconfig.build.tsbuildinfo +1 -1
  33. package/package.json +6 -6
  34. package/dist/119.f080168a4f2331164c325eccc842d769.js.map +0 -1
  35. package/dist/755.755.5d4ab308d744d0d6a697.js +0 -2
  36. package/dist/799.799.ee8233aa3cb4bc02314b.js +0 -3
  37. package/dist/939.939.c6332cc97d19a9fc55df.js +0 -2
  38. package/dist/designSystemConfigurator.04b48870874b5a261cfe5b1c2f5bec0d.js.map +0 -1
  39. package/dist/main.c9ed1c5ef25cd7d3d35e95f0c25e7e48.js.map +0 -1
  40. package/dist/main.ced1e9b00458cca5c223.js +0 -2
  41. package/dist/npm.fortawesome.104.317619c861ee84563e08.js +0 -2
  42. package/dist/npm.fortawesome.52c0b68b7597631d4826051ceb3e2e12.js.map +0 -1
  43. package/dist/npm.microsoft.def6a50a49693089b23ddeefe1d43607.js.map +0 -1
  44. package/dist/npm.rxjs.21ea2f33230fef72a7e94235125fbbee.js.map +0 -1
  45. package/dist/npm.rxjs.271.08687420dbc8a1ba2a7c.js +0 -2
  46. package/dist/npm.tslib.4146636ddab2fe706c4862c103de2d02.js.map +0 -1
  47. package/dist/npm.tslib.453.759578ca7d9ad2944298.js +0 -3
  48. /package/dist/{799.799.ee8233aa3cb4bc02314b.js.LICENSE.txt → 594.594.fe1a69892af0d3ab984d.js.LICENSE.txt} +0 -0
  49. /package/dist/{npm.tslib.453.759578ca7d9ad2944298.js.LICENSE.txt → npm.microsoft.127.87b9142379160a96127d.js.LICENSE.txt} +0 -0
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 594.594.fe1a69892af0d3ab984d.js.LICENSE.txt */
2
+ (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[594],{4077:(e,t,s)=>{"use strict";var r;s.d(t,{G:()=>r,l:()=>i}),function(e){e.BASIC="BASIC",e.SSO="SSO",e.JWT="JWT",e.REFRESH="REFRESH"}(r||(r={}));class i extends Error{constructor(e,t,s="Auth Failed \n"){super(s),this.sent=e,this.received=t,Object.setPrototypeOf(this,i.prototype)}isIgnorableError(){var e,t,s,r;return null===(r=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===r?void 0:r.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,r;return Array.isArray(null===(t=null===(e=this.received)||void 0===e?void 0:e.DETAILS)||void 0===t?void 0:t.ERROR)?null===(r=null===(s=this.received)||void 0===s?void 0:s.DETAILS)||void 0===r?void 0:r.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}`}}},2646:(e,t,s)=>{"use strict";s.d(t,{lj:()=>q});var r=s(779),i=s(6684),o=s(3147),n=s(5951),a=s(7554);class c{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 h=n.DI.createInterface((e=>e.singleton(c))),d=new RegExp(/wss?:\/\/[-a-zA-Z0-9@:%._\+~#=]{1,256}\b([-a-zA-Z0-9()@:%_\+.~#?&\/=]*)\b\/*$/,"i");var E=s(2296);const l=n.DI.createInterface(),u=n.DI.createInterface();var S=s(7858),_=s(420),g=s(4277),T=s(8921),R=s(9963),v=s(9366),p=s(5527);class O{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 m=n.DI.createInterface((e=>e.singleton(O)));let A=class{constructor(e){this.serializer=e}get(e,t){return(0,r.__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,r.__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,r.__decorate)([(0,r.__param)(0,m)],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"connected"===this._status.getValue()}get status(){return this._status.getValue()}set status(e){this._status.next(e)}constructor(e,t,s,r,i,o=M){this.http=e,this.messageBuilder=t,this.session=s,this.metaCache=r,this.serializer=i,this.config=o,this._status=new a.X("disconnected"),this._hostUrl=new a.X(void 0),this.ongoingTurbo={},this.streams=new Map}checkHost(){return(0,r.__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 E.k.error(e),!1}}))}send(t,s){return this.http.post(e.getUrl(this.host,t),{body:e.getBody(t),headers:e.getHeaders(t)})}httpMode(){return!0}setValidSession(e){E.k.warn("setValidSession() called while in http polling mode.")}connect(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){return this.host=e,this.host.endsWith("/")||(this.host=this.host.concat("/")),this.checkHost().then((e=>(this.status=e?"connected":"disconnected",this.session.setSessionStorageItem("hostUrl",this.host),this._hostUrl.next(this.host),e)))}))}disconnect(){this.status="disconnected",this.streams.clear(),this.ongoingTurbo={},this.host=void 0}snapshot(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return E.k.debug(`HTTP MODE - ${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.send(s).then((e=>(this.dataLogoff(s.SOURCE_REF).catch((e=>E.k.error(e))),e)))}))}stream(e,t,s,r){const i=this.messageBuilder.createDataLogonMessage(e,r);E.k.debug(`HTTP MODE - ${i.MESSAGE_TYPE} (stream) message created -> `,i);const o=i.SOURCE_REF;this.streams.set(o,{SOURCE_REF:o,POLLING_FREQUENCY:new a.X(this.config.polling.POLLING_FREQUENCY),RESOURCE_NAME:e});const n=this.streams.get(o).POLLING_FREQUENCY,c=(0,S.z)((0,_.D)(this.send(i)),n.pipe((0,g.w)((e=>(0,T.F)(e)))).pipe((0,g.w)((()=>(0,_.D)(this.getMessage(i)))))).pipe((0,R.o)((()=>this.streams.has(o))),(0,v.x)((()=>{E.k.debug(`Terminating stream for ${e} - ${o}`),this.dataLogoff(o)})));return this.streams.get(o).STREAM=c,c}getMessage(t){return(0,r.__awaiter)(this,void 0,void 0,(function*(){return this.http.get(e.getUrl(this.host,t),{headers:e.getHeaders(t)})}))}getMoreRows(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return E.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} message created -> `,t),this.send(t)}))}dataLogoff(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return this.send(t).then((t=>(this.streams.has(e)&&(E.k.debug(`Removing stream ${e}`),this.streams.delete(e)),t)))}))}getMetadata(e,t=!0){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e);return E.k.debug(`HTTP MODE - ${t.MESSAGE_TYPE} (metadata) message created -> `,t),this.send(t).then((e=>e.DETAILS))}))}getJSONSchema(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);return E.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 E.k.debug(`HTTP MODE! - ${s.MESSAGE_TYPE} (request server) message created -> `,s),this.send(s)}commitEvent(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return E.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 E.k.debug(`${e} polling frequency is already accelerated.`);const r=this.config.polling.POLLING_MAP[e];if(!(null==r?void 0:r.TEMP_FREQUENCY)||!r.AMOUNT_OF_POLLS)return;const i=r.TEMP_FREQUENCY,o=i*r.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 r.QUERIES)a[e]=i,n[e]||(n[e]=this.config.polling.POLLING_FREQUENCY);E.k.debug(`${e} TRIGGERED -> ENFORCING TURBO | FREQUENCY=${i}ms DURATION=${o}`),this.ongoingTurbo[e]=!0,this.updateIntervals({polling:{POLLING_INTERVAL_MAP:a}}),setTimeout((()=>{E.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,E.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 getHeaders(e){const t={"Content-type":"application/json; charset=UTF-8","source-ref":e.SOURCE_REF};return e.SESSION_AUTH_TOKEN&&(t["SESSION-AUTH-TOKEN"]=e.SESSION_AUTH_TOKEN),e.MESSAGE_TYPE===f.N$.EVENT_LOGOUT&&(t["SESSION-ID"]=e.SESSION_ID),t}static getBody(e){return JSON.stringify(e)}static getUrl(e,t){const s=t.MESSAGE_TYPE;let r=t.MESSAGE_TYPE.replace(/_/g,"-").toLowerCase();return s===f.N$.DATA_LOGON&&(r=t.DETAILS.DATASOURCE_NAME.replace(/_/g,"-").toLowerCase()),`${e}${r}`}};(0,r.__decorate)([o.observable],N.prototype,"host",void 0),(0,r.__decorate)([o.volatile],N.prototype,"isConnected",null),(0,r.__decorate)([o.volatile],N.prototype,"status",null),N=(0,r.__decorate)([(0,r.__param)(0,I),(0,r.__param)(1,f.sW),(0,r.__param)(2,p.z),(0,r.__param)(3,h),(0,r.__param)(4,i.JSONSerializer),(0,r.__param)(5,(0,n.optional)(u))],N);const b=n.DI.createInterface((e=>e.singleton(N)));var U=s(1871),C=s(9313),L=s(6276),k=s(3359),w=s(1922),P=s(975),D=s(7322),G=s(7491),y=s(5902);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,r=s>H?H:s,i=Math.round(Math.log2(H/r));return r*Math.pow(2,t%i)},Y=e=>{const{reconnectInterval:t=F}=e;return t>H?H:t};class B extends U.x{constructor(){super()}}class K{constructor(e,t,s,r){this._message=e,this._onMessage=t,this._onError=s,this._isSubscription=r}get sentMessage(){return this._message}get onReceivedMessage(){return this._onMessage}get onReceivedError(){return this._onError}get isSubscription(){return this._isSubscription}}let x=class{constructor(e,t,s,r){this.messageBuilder=e,this.session=t,this.serializer=s,this.uuid=r,this.defaultInterval=1e4,this.secondsMultiplier=1e3,this.hasValidSession=!1,this.heartbeatIsEnabled=!0,this.heartbeatInterval=this.defaultInterval,this.isReconnecting=!1,this.socketMessages=()=>this.wsMessages}bind(e){this.connectService=e}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,this.connectService.status="busy",new Promise((e=>{var t,s,i,o;E.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 G.p({url:this.url,openObserver:{next:()=>{this.connectService.status="connected",this.connectService._hostUrl.next(this.url),this.session.setSessionStorageItem("hostUrl",this.url),this.prepareHeartbeat(),E.k.info("WebSocket connection is now open"),e(this.connectService.isConnected)}},closeObserver:{next:t=>{this.disconnectedByServer=!t.wasClean,this.connectService.status="disconnected",this.disconnectedByServer&&E.k.info(`WebSocket connection was closed due an error - Code: ${t.code} ${t.reason?" | Reason: "+t.reason:""}`),e(!1)}},serializer:this.serializer.serialize,deserializer:this.serializer.deserialize});this.socketSubscription=this.websocket.subscribe(null!==(o=null===(i=this.connectOptions)||void 0===i?void 0:i.connectObserver)&&void 0!==o?o:{next:e=>(0,r.__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,E.k.info,s);const{SOURCE_REF:r,MESSAGE_TYPE:i}=e,o=this.getMessageHandler(r,i);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(r);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(r)})),error:e=>{E.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():E.k.info("Connection is now closed")}})}))}prepareHeartbeat(){var e,t,s,i;this.heartbeatSubscription&&this.heartbeatSubscription.unsubscribe();const o=()=>(0,r.__awaiter)(this,void 0,void 0,(function*(){if(!this.connectService.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!==(i=null===(s=this.connectOptions)||void 0===s?void 0:s.heartbeatInterval)&&void 0!==i?i:this.heartbeatInterval;this.heartbeatSubscription=(0,C.H)(e,e).pipe((0,R.o)((()=>this.websocket&&this.connectService.isConnected)),(0,w.b)((()=>this.heartbeatLoggingIsEnabled&&E.k.debug(`Sending a heartbeat ping every ${e} ms`)))).subscribe((()=>o()))}}reconnect(){var e,t,s,r,i;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.connectService._status.asObservable().pipe((0,g.w)((e=>"connected"!==e?((e,t)=>new y.y((s=>{let r,i=0;return function o(){s.next(i),clearTimeout(r),r=setTimeout(o,t(e,i)),i+=1}(),()=>{clearTimeout(r)}})))(this.reconnectOptions,n).pipe((0,P.z)((e=>{var t,s,r;let i;return i=(null===(t=this.connectOptions)||void 0===t?void 0:t.alwaysOn)?e+1:null!==(r=null===(s=this.reconnectOptions)||void 0===s?void 0:s.reconnectAttempts)&&void 0!==r?r:10,e<i?(0,L.of)(e):(0,k._)((()=>new Error(`Max reconnect attempts ${i} reached.`)))}))):(0,L.of)(-1))),(0,R.o)((()=>this.websocket&&!this.connectService.isConnected)));a.subscribe(null!==(i=null===(r=this.reconnectOptions)||void 0===r?void 0:r.reconnectObserver)&&void 0!==i?i:{next:e=>{E.k.debug(`Attempt no. ${e+1} to reconnect`),this.websocket.complete(),this.connect(this.url,this.connectOptions,this.reconnectOptions)},error:e=>{var t;E.k.debug(e),null===(t=this.socketSubscription)||void 0===t||t.unsubscribe(),this.isReconnecting=!1},complete:()=>{E.k.info(this.connectService.isConnected?"Reconnected":"Disconnected"),this.isReconnecting=!1,this.wsMessageHandlers.forEach((e=>{e.isSubscription&&this.websocket.next(e.sentMessage)}))}})}reset(){this.connectService.status="disconnected",this.websocket&&this.websocket.complete(),this.websocket=null,this.cleanMessages()}cleanMessages(){this.wsMessages&&this.wsMessages.complete(),this.wsMessages=new B,this.wsMessageHandlers=new Map}send(e,t=!0){if("disconnected"===this.connectService.status)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,E.k.info,s),new Promise(((s,r)=>{const i=e=>{s(e)},o=e=>{r(e)};t&&this.setMessageHandler(e,i,o),this.websocket.next(e)}))}sendForStream(e,t,s){if(!this.connectService.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 r=`Sending Message (stream) for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;return this.logMessageTypeFlow(e.MESSAGE_TYPE,E.k.info,r),this.setMessageHandler(e,t,s,!0),this.websocket.next(e),(0,_.D)(this.wsMessages.pipe((0,D.h)((t=>t.SOURCE_REF===e.SOURCE_REF))))}setMessageHandler(e,t,s,r=!1){const i=`Setting Message Handler for SourceRef: ${e.SOURCE_REF} | MessageType: ${e.MESSAGE_TYPE}`;this.logMessageTypeFlow(e.MESSAGE_TYPE,E.k.debug,i),this.wsMessageHandlers.set(e.SOURCE_REF,new K(e,t,s,r))}removeMessageHandler(e){this.wsMessageHandlers.delete(e)}getMessageHandler(e,t){const s=`Getting Message Handler for SourceRef: ${e} | MessageType: ${t}`;return this.logMessageTypeFlow(t,E.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,r.__decorate)([o.observable],x.prototype,"websocket",void 0),(0,r.__decorate)([o.observable],x.prototype,"wsMessages",void 0),(0,r.__decorate)([o.observable],x.prototype,"wsMessageHandlers",void 0),(0,r.__decorate)([o.observable],x.prototype,"disconnectedByServer",void 0),(0,r.__decorate)([o.observable],x.prototype,"hasValidSession",void 0),(0,r.__decorate)([o.observable],x.prototype,"heartbeatIsEnabled",void 0),(0,r.__decorate)([o.observable],x.prototype,"isReconnecting",void 0),x=(0,r.__decorate)([(0,r.__param)(0,f.sW),(0,r.__param)(1,p.z),(0,r.__param)(2,m),(0,r.__param)(3,i.UUID)],x);const W=n.DI.createInterface((e=>e.singleton(x))),Q={connect:{alwaysOn:!1,enableHeartbeat:!0,enableHeartbeatLogging:!1,heartbeatInterval:1e4,enableMessageLogging:!1},reconnect:{reconnectAttempts:10,reconnectInterval:1e4,reconnectStreams:!0}};let J=class{constructor(e,t,s,r=Q){this.socket=e,this.messageBuilder=t,this.metaCache=s,this.config=r,this._status=new a.X("disconnected"),this._hostUrl=new a.X(void 0),this.socket.bind(this)}get isConnected(){return"connected"===this._status.getValue()}get status(){return this._status.getValue()}set status(e){this._status.next(e)}httpMode(){return!1}setValidSession(e){this.socket.hasValidSession=e}send(e,t){return this.socket.send(e,t)}connect(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){return this.socket.reset(),d.test(e)?this.socket.connect(e,this.config.connect,this.config.reconnect):(E.k.error(`Specified host (${e}) is not valid WebSocket url. Connection will not proceed.`),void E.k.warn("Make sure the host url starts with wss:// or ws://"))}))}disconnect(){this.socket.reset()}snapshot(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createDataLogonMessage(e,t);return E.k.debug(`${s.MESSAGE_TYPE} (snapshot) message created -> `,s),this.socket.send(s)}))}stream(e,t,s,r){const i=this.messageBuilder.createDataLogonMessage(e,r);return E.k.debug(`${i.MESSAGE_TYPE} (stream) message created -> `,i),this.socket.sendForStream(i,t,s)}getMoreRows(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createMoreRowsMessage(e);return E.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t,!1)}))}dataLogoff(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const t=this.messageBuilder.createDataLogoffMessage(e);return E.k.debug(`${t.MESSAGE_TYPE} message created -> `,t),this.socket.send(t)}))}getMetadata(e,t=!0){var s;return(0,r.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasMetadataFor(e))return E.k.debug(`Cached metadata retrieved for ${e}`),this.metaCache.getMetadataFor(e);const r=this.messageBuilder.createMetaRequestMessage(e);let i;try{const t=yield this.socket.send(r);i=null!==(s=null==t?void 0:t.DETAILS)&&void 0!==s?s:{},Object.keys(i).length&&this.metaCache.setMetadataFor(e,i)}catch(e){E.k.error(e)}return i}))}getJSONSchema(e,t=!0){var s;return(0,r.__awaiter)(this,void 0,void 0,(function*(){if(t&&this.metaCache.hasMetadataFor(e))return E.k.debug(`Cached JsonSchema retrieved for ${e}`),this.metaCache.getJsonSchemaFor(e);const r=this.messageBuilder.createMetaRequestMessage(e,f.N$.JSON_SCHEMA_REQUEST);let i;E.k.debug(`${r.MESSAGE_TYPE} (json schema) message created -> `,r);try{i=null!==(s=yield this.socket.send(r))&&void 0!==s?s:{},Object.keys(i).length&&this.metaCache.setJsonSchemaFor(e,i)}catch(e){E.k.error(e)}return i}))}request(e,t){const s=this.messageBuilder.createRequestMessage(e,t);return E.k.debug(`${s.MESSAGE_TYPE} (request server) message created -> `,s),this.socket.send(s)}commitEvent(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function*(){const s=this.messageBuilder.createCommitMessage(e,t);return E.k.debug(`${s.MESSAGE_TYPE} (commit) message created -> `,s),this.socket.send(s)}))}};(0,r.__decorate)([o.volatile],J.prototype,"isConnected",null),(0,r.__decorate)([o.volatile],J.prototype,"status",null),J=(0,r.__decorate)([(0,r.__param)(0,W),(0,r.__param)(1,f.sW),(0,r.__param)(2,h),(0,r.__param)(3,(0,n.optional)(l))],J);const z="true"===i.FORCE_HTTP||!1,j=n.DI.createInterface((e=>e.singleton(J))),q=n.DI.createInterface((e=>z?e.aliasTo(b):e.aliasTo(j)))},9162:(e,t,s)=>{"use strict";s.d(t,{Cs:()=>r,N$:()=>i,QT:()=>o,sW:()=>l});var r,i,o,n=s(779),a=s(6684),c=s(5951),h=s(4077),d=s(5527);!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"}(r||(r={})),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"}(i||(i={})),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 h.G.BASIC:t={USER_NAME:e.username,PASSWORD:e.password};break;case h.G.REFRESH:t={USER_NAME:e.username,REFRESH_AUTH_TOKEN:e.refreshToken};break;case h.G.SSO:t={SSO_TOKEN:e.ssoToken};break;case h.G.JWT:t={JWT:e.jwt,DOMAIN:e.domain}}return{DETAILS:t,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:i.EVENT_LOGIN_AUTH}}createLogoutMessage(e){var t,s;return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:i.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:i.DATA_LOGON,DETAILS:Object.assign({DATASOURCE_NAME:e},t),SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}createDataLogoffMessage(e){return{SOURCE_REF:e,MESSAGE_TYPE:i.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=i.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:i.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:i.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:i.EVENT_SELF_SERVICE_PASSWORD_RESET,DETAILS:{USER_NAME:e,RETURN_URL:t}}}createForgotPasswordTokenMessage(e,t,s,r=e){return{USER_NAME:r,SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:i.EVENT_PASSWORD_RESET_ACTION,DETAILS:{USER_NAME:e,RESET_TOKEN:t,NEW_PASSWORD:s}}}createMoreRowsMessage(e){return{SOURCE_REF:this.uuid.createId(),MESSAGE_TYPE:r.MORE_ROWS,DETAILS:{SOURCE_REF:e},SESSION_AUTH_TOKEN:this.session.getSessionStorageItem("authToken")}}};E=(0,n.__decorate)([(0,n.__param)(0,d.z),(0,n.__param)(1,a.UUID)],E);const l=c.DI.createInterface((e=>e.singleton(E)))},5127:(e,t,s)=>{"use strict";s.d(t,{$:()=>i});var r=s(2296);function i(e,t="ROW_REF"){const s=e=>{const s=Object.assign(Object.assign({},e),{[t]:e.DETAILS[t]});return delete s.DETAILS,s},i=[],o=[],n=[];for(const t of e.ROW)if(t.DETAILS)switch(t.DETAILS.OPERATION){case"INSERT":i.push(s(t));break;case"MODIFY":n.push(s(t));break;case"DELETE":o.push(s(t));break;default:r.k.error(`Unsupported operation type: '${t.DETAILS.OPERATION}'`)}return{inserts:i,deletes:o,updates:n,SOURCE_REF:e.SOURCE_REF}}},7641:(e,t,s)=>{"use strict";s.d(t,{Yh:()=>k});var r=s(779),i=s(3147),o=s(5951),n=s(9313),a=s(420),c=s(9963),h=s(4277),d=s(2646),E=s(9162);function l(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)e[r]=s[r]}return e}var u=function e(t,s){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=l({},s,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var n in i)i[n]&&(o+="; "+n,!0!==i[n]&&(o+="="+i[n].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var s=document.cookie?document.cookie.split("; "):[],r={},i=0;i<s.length;i++){var o=s[i].split("="),n=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(r[a]=t.read(n,a),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",l({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,l({},this.attributes,t))},withConverter:function(t){return e(l({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(s)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const S=u;var _=s(4077),g=s(5527),T=s(2296);const R=o.DI.createInterface();function v(){return(null===navigator||void 0===navigator?void 0:navigator.credentials)?"PasswordCredential"in window||(T.k.warn("PasswordCredential not available in this browser."),!1):(T.k.warn("CredentialsContainer not available in this browser."),!1)}const p={password:!0,mediation:"optional"},O={cookie:{path:"/",name:"credentials",expires:7300,storePasswords:!1}};let m=class{constructor(e,t=O){this.session=e,this.config=t}createBasicCredentials(e){return{type:_.G.BASIC,username:e.username,password:e.password}}createRefreshCredentials(e){var t,s;return{type:_.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:_.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}storeCredentialsInContainer(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){if(!v())return;const t=new PasswordCredential(e);return T.k.debug("Storing credentials in CredentialsContainer"),navigator.credentials.store(t)}))}getCredentialsFromContainer(e=p){return(0,r.__awaiter)(this,void 0,void 0,(function*(){if(v())return T.k.debug("Getting credentials from CredentialsContainer"),yield navigator.credentials.get(e)}))}storeCredentialsInCookie(e){const{password:t}=e,s=(0,r.__rest)(e,["password"]),i=this.config.cookie.storePasswords?e:s;return T.k.debug("Storing credentials in cookie"),!!S.set(this.config.cookie.name,JSON.stringify(i),{expires:this.config.cookie.expires,domain:location.hostname,path:this.config.cookie.path,secure:!0})}getCredentialsFromCookie(){T.k.debug("Getting credentials from cookie");const e=S.get(this.config.cookie.name);return e?JSON.parse(e):void 0}storeCredentials(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){if(v()){const t=yield this.storeCredentialsInContainer(e);return Promise.resolve(!!t)}return Promise.resolve(this.storeCredentialsInCookie(e))}))}getCredentials(e){return(0,r.__awaiter)(this,void 0,void 0,(function*(){return v()?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(){S.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 v()&&navigator.credentials.preventSilentAccess()}};m=(0,r.__decorate)([(0,r.__param)(0,g.z),(0,r.__param)(1,(0,o.optional)(R))],m);const A=o.DI.createInterface((e=>e.singleton(m)));class I{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,r.__decorate)([i.observable],I.prototype,"permissions",void 0),(0,r.__decorate)([i.observable],I.prototype,"profiles",void 0),(0,r.__decorate)([i.observable],I.prototype,"username",void 0);let f=class{get isLoggedIn(){return!!this.loggedUserResult&&!(!this.loggedUserResult.authToken||!this.loggedUserResult.sessionId)}constructor(e,t,s,r){this.session=e,this.connect=t,this.messageBuilder=s,this.credentialManager=r,this.isWorking=!1,this.loggedUserResult=null,this.currentUser=null}login(e){var t;return(0,r.__awaiter)(this,void 0,void 0,(function*(){this.isWorking=!0;try{const s=this.messageBuilder.createLoginMessage(e),r=yield this.connect.send(s);if(!r||r.ERROR||(null===(t=r.DETAILS)||void 0===t?void 0:t.ERROR))throw new _.l(s,r);this.applyAuthResults({authToken:r.SESSION_AUTH_TOKEN,refreshToken:r.REFRESH_AUTH_TOKEN,profiles:r.PROFILE,username:r.USER_NAME,permissions:r.PERMISSION,sessionId:r.SESSION_ID}),this.session.setAuthResult(r),T.k.debug("Login Authentication Result:",r)}catch(e){if(T.k.error("Login Authentication Error:",e),!(e instanceof _.l&&e.isIgnorableError()))throw this.removeAuthResults(),e;T.k.warn("Ignoring authentication error as it is a known edge case.")}finally{this.isWorking=!1}return this.loggedUserResult}))}logout(){var e;return(0,r.__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:r,DETAILS:i,MESSAGE_TYPE:o,OIDC_LOGOUT_URL:n}=yield this.connect.send(s);t={success:o===E.Cs.LOGOUT_ACK||r===E.QT.SESSION_NOT_FOUND,error:null!==(e=null==i?void 0:i.ERROR)&&void 0!==e?e:void 0},n&&window.open(n,"_self")}catch(e){const s=new _.l(e.sentMessage,e.receivedMessage);if(T.k.error("Logout Authentication Error:",s),!s.isIgnorableError())throw e;T.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,r.__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)===E.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,r.__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,r=e.REFRESH_AUTH_TOKEN;return t&&s&&r?{username:t,authToken:s,refreshToken:r,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 I({permissions:e.permissions,profiles:e.profiles,username:e.username})):this.removeAuthResults()}removeAuthResults(){this.loggedUserResult=null,this.currentUser=null}};(0,r.__decorate)([i.observable],f.prototype,"isWorking",void 0),(0,r.__decorate)([i.observable],f.prototype,"loggedUserResult",void 0),(0,r.__decorate)([i.observable],f.prototype,"currentUser",void 0),(0,r.__decorate)([i.volatile],f.prototype,"isLoggedIn",null),f=(0,r.__decorate)([(0,r.__param)(0,g.z),(0,r.__param)(1,d.lj),(0,r.__param)(2,E.sW),(0,r.__param)(3,A)],f);const M=o.DI.createInterface((e=>e.singleton(f)));var N=s(6306);var b=s(5127),U=s(2940);const C={options:{criteria:"",isSnapshot:!1,maxRows:U.WJ.MAX_ROWS_250,maxView:U.WJ.MAX_VIEW_1000,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,""),r=e.substr(e.lastIndexOf("=")+1,e.length).trim().replace(/["']/g,"");s[t]=r})),s},dataServerResultFilter:b.$};let L=class{constructor(e,t,s=C){this.connect=e,this.auth=t,this.config=s,this.initialized=!1,this.readOnly=!0,this.originalFieldDef=[],this.requestFields=[],this.fieldMetadata=[],this.availableIndexes=[]}init(e,t=!0){var s;return(0,r.__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){T.k.debug(`Initializing ${this.options.resourceName} Datasource`);const t=yield this.connect.getMetadata(this.options.resourceName).catch((t=>T.k.error(`Metadata Fetch failed for ${e.resourceName}:`,t)));if(!t)return!1;this.resourceType=t.TYPE,this.availableIndexes=null!==(s=t.INDEXES)&&void 0!==s?s:[],this.originalFieldDef=(0,N.C)(t),this.fieldMetadata=(0,N.i)(this.originalFieldDef),this.requestFields=t.REQUEST_FIELD||[],T.k.debug(`Datasource for ${this.options.resourceName} is ready`)}return this.options.isSnapshot||(this._stream=yield this.createStream()),this.initialized=!0,this.initialized}))}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,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));T.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 T.k.debug("Getting configured params:",e),e}snapshot(){var e;return(0,r.__awaiter)(this,void 0,void 0,(function*(){switch(T.k.debug(`Requesting snapshot for ${this.options.resourceName} (${this.resourceType}).`),this.resourceType){case U._g.DATASERVER:return this.connect.snapshot(this.options.resourceName,this.params);case U._g.REQUEST_SERVER:{const t={DETAILS:Object.assign({},this.params),REQUEST:null},s={};if(this.requestFields.forEach((e=>{s[e.NAME]="*"})),t.REQUEST=s,null===(e=null==this?void 0:this.options)||void 0===e?void 0:e.criteria){const e=this.config.criteriaToFields(this.options.criteria);t.REQUEST=Object.assign(Object.assign({},t.REQUEST),e)}return this.connect.request(this.options.resourceName,t)}default:throw new Error(`Snapshot not supported for selected resource type: ${this.resourceType}`)}}))}snapshotFiltered(e="ROW_REF"){return(0,r.__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,r.__awaiter)(this,void 0,void 0,(function*(){if(![U._g.DATASERVER,U._g.REQUEST_SERVER].includes(this.resourceType))throw new Error(`Streaming not supported for selected resource type: ${this.resourceType}`);return this.resourceType===U._g.DATASERVER?this.createDataserverStream():(T.k.debug(`Creating fake stream by polling ${this.options.resourceName} REQUEST_SERVER`),this.createReqRepStream())}))}createDataserverStream(){return(0,r.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.options.resourceName,(e=>{}),(e=>T.k.error(e)),this.params)}))}createReqRepStream(){return(0,n.H)(0,U.WJ.REQ_REP_POLLING_INTERVAL_MS).pipe((0,c.o)((()=>this.connect.isConnected&&this.auth.isLoggedIn)),(0,h.w)((()=>(0,a.D)(this.snapshot()))))}validResourceName(e){return!!e&&!!e.trim().length}};(0,r.__decorate)([i.observable],L.prototype,"initialized",void 0),(0,r.__decorate)([i.observable],L.prototype,"readOnly",void 0),(0,r.__decorate)([i.volatile],L.prototype,"stream",null),L=(0,r.__decorate)([(0,r.__param)(0,d.lj),(0,r.__param)(1,M),(0,r.__param)(2,(0,o.optional)(U.tt))],L);const k=o.DI.createInterface((e=>e.transient(L)))},2940:(e,t,s)=>{"use strict";s.d(t,{_g:()=>r,WJ:()=>o,tt:()=>n});var r,i=s(5951);!function(e){e.DATASERVER="DATASERVER",e.EVENT_HANDLER="EVENT_HANDLER",e.REQUEST_SERVER="REQUEST_SERVER"}(r||(r={}));class o{}o.MAX_ROWS_250=250,o.MAX_VIEW_1000=1e3,o.REQ_REP_POLLING_INTERVAL_MS=1e4;const n=i.DI.createInterface()},2449:(e,t,s)=>{"use strict";function r(e,t=";"){return e?e.split(t).map((e=>e.trim())).sort(((e,t)=>e.localeCompare(t))).join(t):e}s.d(t,{p:()=>r})},3123:(e,t,s)=>{"use strict";var r;s.d(t,{r:()=>r,E:()=>i}),function(e){e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ENUM="ENUM",e.DATE="DATE",e.DATETIME="DATETIME",e.CUSTOM="CUSTOM"}(r||(r={}));const i={STRING:r.STRING,ENUM:r.ENUM,BOOLEAN:r.BOOLEAN,INT:r.NUMBER,DOUBLE:r.NUMBER,BIGDECIMAL:r.NUMBER,DATE:r.DATE,DATETIME:r.DATETIME}},6306:(e,t,s)=>{"use strict";s.d(t,{i:()=>n,C:()=>a});var r=s(2940),i=s(2296),o=s(3123);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){i.k.error(e),t.enumOptions=[]}return t})):null,a=e=>{const t=null==e?void 0:e.TYPE;if(t===r._g.DATASERVER)return e.FIELD||[];if(t===r._g.REQUEST_SERVER)return e.REPLY_FIELD||[];throw new Error(`Unsupported resource type: ${t}`)}},5527:(e,t,s)=>{"use strict";s.d(t,{z:()=>o});var r=s(5951);class i{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 r=`${"/"!==e?e:""}`;this.returnUrl=`${r}${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=r.DI.createInterface((e=>e.singleton(i)))},2296:(e,t,s)=>{"use strict";s.d(t,{k:()=>i});var r=s(6684);const i=(0,r.createLogger)("foundation-comms")}}]);
3
+ //# sourceMappingURL=594.32fec078a975bca1dc9758ee5a8ba615.js.map
@@ -1,4 +1,4 @@
1
- (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[614],{7530:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,o=36e5,a="millisecond",i="second",n="minute",r="hour",s="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,g={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])+"]"}},v=function(e,t,o){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(o)+e},b={s:v,z:function(e){var t=-e.utcOffset(),o=Math.abs(t),a=Math.floor(o/60),i=o%60;return(t<=0?"+":"-")+v(a,2,"0")+":"+v(i,2,"0")},m:function e(t,o){if(t.date()<o.date())return-e(o,t);var a=12*(o.year()-t.year())+(o.month()-t.month()),i=t.clone().add(a,d),n=o-i<0,r=t.clone().add(a+(n?-1:1),d);return+(-(a+(o-i)/(n?i-r:r-i))||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:s,D:p,h:r,m:n,s:i,ms:a,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=g;var x=function(e){return e instanceof D},F=function e(t,o,a){var i;if(!t)return y;if("string"==typeof t){var n=t.toLowerCase();w[n]&&(i=n),o&&(w[n]=o,i=n);var r=t.split("-");if(!i&&r.length>1)return e(r[0])}else{var s=t.name;w[s]=t,i=s}return!a&&i&&(y=i),i||!a&&y},$=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)},S=b;S.l=F,S.i=x,S.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function g(e){this.$L=F(e.locale,null,!0),this.parse(e)}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,o=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var a=t.match(m);if(a){var i=a[2]-1||0,n=(a[7]||"0").substring(0,3);return o?new Date(Date.UTC(a[1],i,a[3]||1,a[4]||0,a[5]||0,a[6]||0,n)):new Date(a[1],i,a[3]||1,a[4]||0,a[5]||0,a[6]||0,n)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},v.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()},v.$utils=function(){return S},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(e,t){var o=$(e);return this.startOf(t)<=o&&o<=this.endOf(t)},v.isAfter=function(e,t){return $(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<$(e)},v.$g=function(e,t,o){return S.u(e)?this[t]:this.set(o,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var o=this,a=!!S.u(t)||t,c=S.p(e),h=function(e,t){var i=S.w(o.$u?Date.UTC(o.$y,t,e):new Date(o.$y,t,e),o);return a?i:i.endOf(s)},m=function(e,t){return S.w(o.toDate()[e].apply(o.toDate("s"),(a?[0,0,0,0]:[23,59,59,999]).slice(t)),o)},f=this.$W,g=this.$M,v=this.$D,b="set"+(this.$u?"UTC":"");switch(c){case u:return a?h(1,0):h(31,11);case d:return a?h(1,g):h(0,g+1);case l:var y=this.$locale().weekStart||0,w=(f<y?f+7:f)-y;return h(a?v-w:v+(6-w),g);case s:case p:return m(b+"Hours",0);case r:return m(b+"Minutes",1);case n:return m(b+"Seconds",2);case i:return m(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var o,l=S.p(e),c="set"+(this.$u?"UTC":""),h=(o={},o[s]=c+"Date",o[p]=c+"Date",o[d]=c+"Month",o[u]=c+"FullYear",o[r]=c+"Hours",o[n]=c+"Minutes",o[i]=c+"Seconds",o[a]=c+"Milliseconds",o)[l],m=l===s?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},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[S.p(e)]()},v.add=function(a,c){var p,h=this;a=Number(a);var m=S.p(c),f=function(e){var t=$(h);return S.w(t.date(t.date()+Math.round(e*a)),h)};if(m===d)return this.set(d,this.$M+a);if(m===u)return this.set(u,this.$y+a);if(m===s)return f(1);if(m===l)return f(7);var g=(p={},p[n]=t,p[r]=o,p[i]=e,p)[m]||1,v=this.$d.getTime()+a*g;return S.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,o=this.$locale();if(!this.isValid())return o.invalidDate||h;var a=e||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),n=this.$H,r=this.$m,s=this.$M,l=o.weekdays,d=o.months,c=function(e,o,i,n){return e&&(e[o]||e(t,a))||i[o].slice(0,n)},u=function(e){return S.s(n%12||12,e,"0")},p=o.meridiem||function(e,t,o){var a=e<12?"AM":"PM";return o?a.toLowerCase():a},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:S.s(s+1,2,"0"),MMM:c(o.monthsShort,s,d,3),MMMM:c(d,s),D:this.$D,DD:S.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.s(n,2,"0"),h:u(1),hh:u(2),a:p(n,r,!0),A:p(n,r,!1),m:String(r),mm:S.s(r,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:i};return a.replace(f,(function(e,t){return t||m[e]||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(a,p,h){var m,f=S.p(p),g=$(a),v=(g.utcOffset()-this.utcOffset())*t,b=this-g,y=S.m(this,g);return y=(m={},m[u]=y/12,m[d]=y,m[c]=y/3,m[l]=(b-v)/6048e5,m[s]=(b-v)/864e5,m[r]=b/o,m[n]=b/t,m[i]=b/e,m)[f]||b,h?y:S.a(y)},v.daysInMonth=function(){return this.endOf(d).$D},v.$locale=function(){return w[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var o=this.clone(),a=F(e,t,!0);return a&&(o.$L=a),o},v.clone=function(){return S.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),C=D.prototype;return $.prototype=C,[["$ms",a],["$s",i],["$m",n],["$H",r],["$W",s],["$M",d],["$y",u],["$D",p]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),$.extend=function(e,t){return e.$i||(e(t,D,$),e.$i=!0),$},$.locale=F,$.isDayjs=x,$.unix=function(e){return $(1e3*e)},$.en=w[y],$.Ls=w,$.p={},$}()},8113: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}}}()},7614:(e,t,o)=>{"use strict";o.r(t),o.d(t,{ActionsMenu:()=>p,Anchor:()=>v,Badge:()=>$,Banner:()=>L,BaseDatasource:()=>Vs,Breadcrumb:()=>M,BreadcrumbItem:()=>G,Button:()=>Y,CSSVarsTokenMapper:()=>Is,Card:()=>J,Checkbox:()=>ie,Combobox:()=>ce,ConnectionIndicator:()=>ye,DEFUALT_FILTER_BAR_COLUMNS:()=>xa,DataGrid:()=>$e,DataGridCell:()=>ke,DataGridDatasource:()=>Us,DataGridRow:()=>Ae,DatePicker:()=>qe,Dialog:()=>Vt,DialogElement:()=>zt,Disclosure:()=>qt,Divider:()=>eo,DropdownMenu:()=>uo,ErrorBanner:()=>vo,ErrorBoundary:()=>Co,ErrorBoundaryEvent:()=>yo,ErrorDialog:()=>Ro,FaPrefixFromStyle:()=>mi,FileUpload:()=>Zo,Filter:()=>pa,FilterBar:()=>Fa,FilterEvents:()=>ua,FlexLayout:()=>La,FlexMediaQueriesEnum:()=>Sa,Flipper:()=>Ma,Flyout:()=>Ba,FoundationDesignSystemProvider:()=>Nt,FoundationRouter:()=>Js,GridLayout:()=>Ja,GridLayoutItem:()=>ai,GridMediaQueriesEnum:()=>Ua,Icon:()=>fi,ListboxOption:()=>yi,Menu:()=>Di,MenuItem:()=>Ti,Modal:()=>Hi,Multiselect:()=>qi,MultiselectDatasource:()=>qs,NumberField:()=>Ji,OptionsDatasource:()=>Ws,Popper:()=>nn,Progress:()=>un,ProgressRing:()=>vn,Radio:()=>$n,RadioGroup:()=>On,SegmentedControl:()=>Nn,SegmentedItem:()=>Bn,Select:()=>Wn,Skeleton:()=>Qn,Slider:()=>sr,Snackbar:()=>mr,Switch:()=>br,Tab:()=>Sr,TabPanel:()=>Lr,Tabs:()=>Er,TextArea:()=>jr,TextField:()=>qr,Toast:()=>os,Toolbar:()=>rs,Tooltip:()=>ps,TreeItem:()=>bs,TreeView:()=>Ss,UrlInput:()=>Rs,accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,accentPaletteValue:()=>St,actionsMenuBaseStyles:()=>d,baseComponents:()=>Ms,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,baseLayerLuminanceValue:()=>Ct,black:()=>Je,bodyFont:()=>m.bodyFont,closeIcon:()=>Ht,configureDesignSystem:()=>$t,controlCornerRadius:()=>m.controlCornerRadius,controlCornerRadiusValue:()=>kt,createDesignSystemProxy:()=>Ns,defaultAnchorConfig:()=>y,defaultBadgeConfig:()=>D,defaultBreadcrumbConfig:()=>E,defaultBreadcrumbItemConfig:()=>j,defaultButtonConfig:()=>q,defaultCardConfig:()=>ee,defaultCheckboxConfig:()=>re,defaultComboboxConfig:()=>pe,defaultDataGridCellConfig:()=>Le,defaultDataGridConfig:()=>De,defaultDataGridRowConfig:()=>Ne,defaultDatePickerConfig:()=>We,defaultDialogConfig:()=>jt,defaultDisclosureConfig:()=>Kt,defaultDividerConfig:()=>oo,defaultFileUploadConfig:()=>Qo,defaultFillColor:()=>et,defaultFlexLayoutConfig:()=>Oa,defaultFlipperConfig:()=>Ea,defaultFlyoutConfig:()=>za,defaultGridLayoutConfig:()=>Ka,defaultGridLayoutItemConfig:()=>oi,defaultIconConfig:()=>hi,defaultListboxOptionConfig:()=>xi,defaultMenuConfig:()=>_i,defaultMenuItemConfig:()=>Ai,defaultModalConfig:()=>Pi,defaultMultiselectConfig:()=>Wi,defaultNeutralForegroundContrast:()=>ht,defaultNumberFieldConfig:()=>en,defaultProgressConfig:()=>hn,defaultProgressRingConfig:()=>yn,defaultRadioConfig:()=>Dn,defaultRadioGroupConfig:()=>Tn,defaultSegmentedControlConfig:()=>In,defaultSegmentedItemConfig:()=>zn,defaultSelectConfig:()=>Xn,defaultSkeletonConfig:()=>tr,defaultSliderConfig:()=>dr,defaultSwitchConfig:()=>wr,defaultTabConfig:()=>Cr,defaultTabPanelConfig:()=>Rr,defaultTabsConfig:()=>Pr,defaultTextAreaConfig:()=>Vr,defaultTextFieldConfig:()=>Kr,defaultToastConfig:()=>ts,defaultToolbarConfig:()=>ls,defaultTooltipConfig:()=>ms,defaultTreeItemConfig:()=>ws,defaultTreeViewConfig:()=>Cs,defaultUrlInputConfig:()=>Ts,defineFactory:()=>Xs,density:()=>m.density,designToken:()=>vt,designUnit:()=>m.designUnit,designUnitValue:()=>Ot,direction:()=>m.direction,directionValue:()=>_t,disabledOpacity:()=>m.disabledOpacity,dropdownMenuBaseStyles:()=>no,errorDialogTemplate:()=>Lo,extractMenuItems:()=>so,fillColor:()=>m.fillColor,flyoutAnimationTime:()=>Pa,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,foundationActionsMenu:()=>h,foundationActionsMenuStyles:()=>c,foundationActionsMenuTemplate:()=>u,foundationAnchor:()=>w,foundationAnchorShadowOptions:()=>b,foundationAnchorStyles:()=>f,foundationAnchorTemplate:()=>g,foundationBadge:()=>C,foundationBadgeShadowOptions:()=>S,foundationBadgeStyles:()=>x,foundationBadgeTemplate:()=>F,foundationBanner:()=>T,foundationBannerShadowOptions:()=>O,foundationBannerStyles:()=>_,foundationBannerTemplate:()=>k,foundationBreadcrumb:()=>I,foundationBreadcrumbItem:()=>z,foundationBreadcrumbItemShadowOptions:()=>B,foundationBreadcrumbItemStyles:()=>P,foundationBreadcrumbItemTemplate:()=>H,foundationBreadcrumbShadowOptions:()=>N,foundationBreadcrumbStyles:()=>R,foundationBreadcrumbTemplate:()=>A,foundationButton:()=>X,foundationButtonShadowOptions:()=>W,foundationButtonStyles:()=>V,foundationButtonTemplate:()=>U,foundationCard:()=>te,foundationCardShadowOptions:()=>Q,foundationCardStyles:()=>K,foundationCardTemplate:()=>Z,foundationCheckbox:()=>se,foundationCheckboxShadowOptions:()=>ne,foundationCheckboxStyles:()=>oe,foundationCheckboxTemplate:()=>ae,foundationCombobox:()=>he,foundationComboboxShadowOptions:()=>ue,foundationComboboxStyles:()=>le,foundationComboboxTemplate:()=>de,foundationConnectionIndicator:()=>we,foundationConnectionIndicatorStyles:()=>ve,foundationConnectionIndicatorTemplate:()=>be,foundationDataGrid:()=>Ce,foundationDataGridCell:()=>Te,foundationDataGridCellShadowOptions:()=>Oe,foundationDataGridCellStyles:()=>_e,foundationDataGridCellTemplate:()=>s.dataGridCellTemplate,foundationDataGridRow:()=>Ee,foundationDataGridRowShadowOptions:()=>Me,foundationDataGridRowStyles:()=>Re,foundationDataGridRowTemplate:()=>s.dataGridRowTemplate,foundationDataGridShadowOptions:()=>Se,foundationDataGridStyles:()=>xe,foundationDataGridTemplate:()=>Fe,foundationDatePicker:()=>Xe,foundationDatePickerShadowOptions:()=>Ye,foundationDatePickerStyles:()=>Ve,foundationDatePickerTemplate:()=>Ue,foundationDesignSystemProvider:()=>Et,foundationDialog:()=>Ut,foundationDialogShadowOptions:()=>Bt,foundationDialogStyles:()=>Pt,foundationDialogTemplate:()=>Gt,foundationDisclosure:()=>Zt,foundationDisclosureShadowOptions:()=>Xt,foundationDisclosureStyles:()=>Yt,foundationDisclosureTemplate:()=>Wt,foundationDivider:()=>ao,foundationDividerShadowOptions:()=>to,foundationDividerStyles:()=>Jt,foundationDividerTemplate:()=>Qt,foundationDropdownMenu:()=>po,foundationDropdownMenuStyles:()=>ro,foundationDropdownMenuTemplate:()=>co,foundationErrorBanner:()=>bo,foundationErrorBannerShadowOptions:()=>go,foundationErrorBannerTemplate:()=>fo,foundationErrorBoundary:()=>_o,foundationErrorBoundaryShadowOptions:()=>Do,foundationErrorBoundaryTemplate:()=>So,foundationErrorDialog:()=>Ao,foundationErrorDialogShadowOptions:()=>To,foundationErrorDialogStyles:()=>ko,foundationFileUpload:()=>ea,foundationFileUploadShadowOptions:()=>Jo,foundationFileUploadStyles:()=>Vo,foundationFileUploadTemplate:()=>Yo,foundationFilter:()=>ha,foundationFilterBar:()=>$a,foundationFilterBarStyles:()=>fa,foundationFilterBarTemplate:()=>wa,foundationFilterStyles:()=>ta,foundationFilterTemplate:()=>ca,foundationFlexLayout:()=>Ta,foundationFlexLayoutShadowOptions:()=>ka,foundationFlexLayoutStyles:()=>Ca,foundationFlexLayoutTemplate:()=>_a,foundationFlipper:()=>Ia,foundationFlipperShadowOptions:()=>Na,foundationFlipperStyles:()=>Ra,foundationFlipperTemplate:()=>Aa,foundationFlyout:()=>Va,foundationFlyoutShadowOptions:()=>ja,foundationFlyoutStyles:()=>Ha,foundationFlyoutTemplate:()=>Ga,foundationGridLayout:()=>Qa,foundationGridLayoutItem:()=>ii,foundationGridLayoutItemShadowOptions:()=>ti,foundationGridLayoutItemTemplate:()=>ei,foundationGridLayoutShadowOptions:()=>Xa,foundationGridLayoutStyles:()=>Wa,foundationGridLayoutTemplate:()=>qa,foundationIcon:()=>gi,foundationIconShadowOptions:()=>pi,foundationIconStyles:()=>ci,foundationIconTemplate:()=>ui,foundationListboxOption:()=>Fi,foundationListboxOptionShadowOptions:()=>wi,foundationListboxOptionStyles:()=>vi,foundationListboxOptionTemplate:()=>bi,foundationMenu:()=>ki,foundationMenuItem:()=>Mi,foundationMenuItemShadowOptions:()=>Ri,foundationMenuItemStyles:()=>Oi,foundationMenuItemTemplate:()=>Li,foundationMenuShadowOptions:()=>Ci,foundationMenuStyles:()=>$i,foundationMenuTemplate:()=>Si,foundationModal:()=>Gi,foundationModalShadowOptions:()=>Ii,foundationModalStyles:()=>Ni,foundationModalTemplate:()=>Ei,foundationMultiselect:()=>Xi,foundationMultiselectShadowOptions:()=>Yi,foundationNumberField:()=>tn,foundationNumberFieldShadowOptions:()=>Qi,foundationNumberFieldStyles:()=>Ki,foundationNumberFieldTemplate:()=>Zi,foundationPopper:()=>ln,foundationProgress:()=>mn,foundationProgressRing:()=>wn,foundationProgressRingShadowOptions:()=>bn,foundationProgressRingStyles:()=>fn,foundationProgressRingTemplate:()=>gn,foundationProgressShadowOptions:()=>pn,foundationProgressStyles:()=>dn,foundationProgressTemplate:()=>cn,foundationRadio:()=>Cn,foundationRadioGroup:()=>Rn,foundationRadioGroupShadowOptions:()=>Ln,foundationRadioGroupStyles:()=>_n,foundationRadioGroupTemplate:()=>kn,foundationRadioShadowOptions:()=>Sn,foundationRadioStyles:()=>xn,foundationRadioTemplate:()=>Fn,foundationSegmentedControl:()=>Pn,foundationSegmentedControlShadowOptions:()=>En,foundationSegmentedControlStyles:()=>An,foundationSegmentedControlTemplate:()=>Mn,foundationSegmentedItem:()=>Vn,foundationSegmentedItemShadowOptions:()=>jn,foundationSegmentedItemStyles:()=>Hn,foundationSegmentedItemTemplate:()=>Gn,foundationSelect:()=>Kn,foundationSelectShadowOptions:()=>qn,foundationSelectStyles:()=>Un,foundationSelectTemplate:()=>Yn,foundationSkeleton:()=>or,foundationSkeletonShadowOptions:()=>er,foundationSkeletonStyles:()=>Zn,foundationSkeletonTemplate:()=>Jn,foundationSlider:()=>cr,foundationSliderShadowOptions:()=>lr,foundationSliderStyles:()=>ar,foundationSliderTemplate:()=>rr,foundationSnackbar:()=>fr,foundationSnackbarShadowOptions:()=>hr,foundationSnackbarStyles:()=>ur,foundationSnackbarTemplate:()=>pr,foundationSwitch:()=>xr,foundationSwitchShadowOptions:()=>yr,foundationSwitchStyles:()=>gr,foundationSwitchTemplate:()=>vr,foundationTab:()=>_r,foundationTabPanel:()=>Ar,foundationTabPanelShadowOptions:()=>Tr,foundationTabPanelStyles:()=>kr,foundationTabPanelTemplate:()=>Or,foundationTabShadowOptions:()=>Dr,foundationTabStyles:()=>Fr,foundationTabTemplate:()=>$r,foundationTabs:()=>Hr,foundationTabsShadowOptions:()=>Ir,foundationTabsStyles:()=>Mr,foundationTabsTemplate:()=>Nr,foundationTextArea:()=>Ur,foundationTextAreaShadowOptions:()=>zr,foundationTextAreaStyles:()=>Gr,foundationTextAreaTemplate:()=>Br,foundationTextField:()=>Zr,foundationTextFieldShadowOptions:()=>Xr,foundationTextFieldStyles:()=>Yr,foundationTextFieldTemplate:()=>Wr,foundationToast:()=>as,foundationToastShadowOptions:()=>es,foundationToastStyles:()=>Jr,foundationToastTemplate:()=>Qr,foundationToolbar:()=>ds,foundationToolbarShadowOptions:()=>ss,foundationToolbarStyles:()=>is,foundationToolbarTemplate:()=>ns,foundationTooltip:()=>fs,foundationTooltipShadowOptions:()=>hs,foundationTooltipStyles:()=>cs,foundationTooltipTemplate:()=>us,foundationTreeItem:()=>xs,foundationTreeItemShadowOptions:()=>ys,foundationTreeItemStyles:()=>gs,foundationTreeItemTemplate:()=>vs,foundationTreeView:()=>_s,foundationTreeViewShadowOptions:()=>Ds,foundationTreeViewStyles:()=>Fs,foundationTreeViewTemplate:()=>$s,foundationUrlInput:()=>As,foundationUrlInputShadowOptions:()=>Ls,foundationUrlInputStyles:()=>ks,fuiAccentPalette:()=>dt,fuiAccentSwatch:()=>lt,fuiCardFillColor:()=>pt,fuiCardForegroundColor:()=>ft,fuiDefaultCardFillColor:()=>ot,fuiDefaultCardPalette:()=>at,fuiFillColor:()=>ut,fuiNeutralPalette:()=>rt,fuiNeutralSwatch:()=>nt,getDefaultConfig:()=>xt,getDropdownMenuTemplate:()=>lo,getErrorDialogTemplate:()=>Oo,getExports:()=>Ft,getFontawesomeIconsCss:()=>di,getPrefixedFileUpload:()=>Uo,getPrefixedMultiselect:()=>Vi,jsonConverter:()=>an,mapType:()=>ga,maxheight:()=>ji,mixinFoundationFontFamily:()=>Tt,multiselectStyles:()=>zi,multiselectTemplate:()=>Ui,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForeground:()=>mt,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralPaletteValue:()=>Dt,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,paletteFromHex:()=>yt,provideDesignSystem:()=>Es,provideTokens:()=>gt,registerFoundationDesignSystem:()=>Qs,strokeWidth:()=>m.strokeWidth,swatchConverter:()=>bt,tagFor:()=>Ks,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight,urlinputTemplate:()=>Os,white:()=>Ze});var a={};o.r(a),o.d(a,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,controlCornerRadius:()=>m.controlCornerRadius,defaultNeutralForegroundContrast:()=>ht,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,fuiCardFillColor:()=>pt,fuiCardForegroundColor:()=>ft,fuiFillColor:()=>ut,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForeground:()=>mt,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,strokeWidth:()=>m.strokeWidth,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight});var i={};o.r(i),o.d(i,{accentPaletteValue:()=>St,baseLayerLuminanceValue:()=>Ct,controlCornerRadiusValue:()=>kt,designUnitValue:()=>Ot,directionValue:()=>_t,neutralPaletteValue:()=>Dt});var n=o(8092),r=o(3147),s=o(5951),l=o(7675);const d=(e,t)=>r.css`
1
+ (self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[614],{4341:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,o=36e5,a="millisecond",i="second",n="minute",r="hour",s="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,g={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])+"]"}},v=function(e,t,o){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(o)+e},b={s:v,z:function(e){var t=-e.utcOffset(),o=Math.abs(t),a=Math.floor(o/60),i=o%60;return(t<=0?"+":"-")+v(a,2,"0")+":"+v(i,2,"0")},m:function e(t,o){if(t.date()<o.date())return-e(o,t);var a=12*(o.year()-t.year())+(o.month()-t.month()),i=t.clone().add(a,d),n=o-i<0,r=t.clone().add(a+(n?-1:1),d);return+(-(a+(o-i)/(n?i-r:r-i))||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:s,D:p,h:r,m:n,s:i,ms:a,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=g;var x=function(e){return e instanceof D},F=function e(t,o,a){var i;if(!t)return y;if("string"==typeof t){var n=t.toLowerCase();w[n]&&(i=n),o&&(w[n]=o,i=n);var r=t.split("-");if(!i&&r.length>1)return e(r[0])}else{var s=t.name;w[s]=t,i=s}return!a&&i&&(y=i),i||!a&&y},$=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)},S=b;S.l=F,S.i=x,S.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function g(e){this.$L=F(e.locale,null,!0),this.parse(e)}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,o=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var a=t.match(m);if(a){var i=a[2]-1||0,n=(a[7]||"0").substring(0,3);return o?new Date(Date.UTC(a[1],i,a[3]||1,a[4]||0,a[5]||0,a[6]||0,n)):new Date(a[1],i,a[3]||1,a[4]||0,a[5]||0,a[6]||0,n)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},v.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()},v.$utils=function(){return S},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(e,t){var o=$(e);return this.startOf(t)<=o&&o<=this.endOf(t)},v.isAfter=function(e,t){return $(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<$(e)},v.$g=function(e,t,o){return S.u(e)?this[t]:this.set(o,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var o=this,a=!!S.u(t)||t,c=S.p(e),h=function(e,t){var i=S.w(o.$u?Date.UTC(o.$y,t,e):new Date(o.$y,t,e),o);return a?i:i.endOf(s)},m=function(e,t){return S.w(o.toDate()[e].apply(o.toDate("s"),(a?[0,0,0,0]:[23,59,59,999]).slice(t)),o)},f=this.$W,g=this.$M,v=this.$D,b="set"+(this.$u?"UTC":"");switch(c){case u:return a?h(1,0):h(31,11);case d:return a?h(1,g):h(0,g+1);case l:var y=this.$locale().weekStart||0,w=(f<y?f+7:f)-y;return h(a?v-w:v+(6-w),g);case s:case p:return m(b+"Hours",0);case r:return m(b+"Minutes",1);case n:return m(b+"Seconds",2);case i:return m(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var o,l=S.p(e),c="set"+(this.$u?"UTC":""),h=(o={},o[s]=c+"Date",o[p]=c+"Date",o[d]=c+"Month",o[u]=c+"FullYear",o[r]=c+"Hours",o[n]=c+"Minutes",o[i]=c+"Seconds",o[a]=c+"Milliseconds",o)[l],m=l===s?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},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[S.p(e)]()},v.add=function(a,c){var p,h=this;a=Number(a);var m=S.p(c),f=function(e){var t=$(h);return S.w(t.date(t.date()+Math.round(e*a)),h)};if(m===d)return this.set(d,this.$M+a);if(m===u)return this.set(u,this.$y+a);if(m===s)return f(1);if(m===l)return f(7);var g=(p={},p[n]=t,p[r]=o,p[i]=e,p)[m]||1,v=this.$d.getTime()+a*g;return S.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,o=this.$locale();if(!this.isValid())return o.invalidDate||h;var a=e||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),n=this.$H,r=this.$m,s=this.$M,l=o.weekdays,d=o.months,c=function(e,o,i,n){return e&&(e[o]||e(t,a))||i[o].slice(0,n)},u=function(e){return S.s(n%12||12,e,"0")},p=o.meridiem||function(e,t,o){var a=e<12?"AM":"PM";return o?a.toLowerCase():a},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:S.s(s+1,2,"0"),MMM:c(o.monthsShort,s,d,3),MMMM:c(d,s),D:this.$D,DD:S.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.s(n,2,"0"),h:u(1),hh:u(2),a:p(n,r,!0),A:p(n,r,!1),m:String(r),mm:S.s(r,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:i};return a.replace(f,(function(e,t){return t||m[e]||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(a,p,h){var m,f=S.p(p),g=$(a),v=(g.utcOffset()-this.utcOffset())*t,b=this-g,y=S.m(this,g);return y=(m={},m[u]=y/12,m[d]=y,m[c]=y/3,m[l]=(b-v)/6048e5,m[s]=(b-v)/864e5,m[r]=b/o,m[n]=b/t,m[i]=b/e,m)[f]||b,h?y:S.a(y)},v.daysInMonth=function(){return this.endOf(d).$D},v.$locale=function(){return w[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var o=this.clone(),a=F(e,t,!0);return a&&(o.$L=a),o},v.clone=function(){return S.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),C=D.prototype;return $.prototype=C,[["$ms",a],["$s",i],["$m",n],["$H",r],["$W",s],["$M",d],["$y",u],["$D",p]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),$.extend=function(e,t){return e.$i||(e(t,D,$),e.$i=!0),$},$.locale=F,$.isDayjs=x,$.unix=function(e){return $(1e3*e)},$.en=w[y],$.Ls=w,$.p={},$}()},8113: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}}}()},7614:(e,t,o)=>{"use strict";o.r(t),o.d(t,{ActionsMenu:()=>p,Anchor:()=>v,Badge:()=>$,Banner:()=>L,BaseDatasource:()=>Vs,Breadcrumb:()=>M,BreadcrumbItem:()=>G,Button:()=>Y,CSSVarsTokenMapper:()=>Is,Card:()=>J,Checkbox:()=>ie,Combobox:()=>ce,ConnectionIndicator:()=>ye,DEFUALT_FILTER_BAR_COLUMNS:()=>xa,DataGrid:()=>$e,DataGridCell:()=>ke,DataGridDatasource:()=>Us,DataGridRow:()=>Ae,DatePicker:()=>qe,Dialog:()=>Vt,DialogElement:()=>zt,Disclosure:()=>qt,Divider:()=>eo,DropdownMenu:()=>uo,ErrorBanner:()=>vo,ErrorBoundary:()=>Co,ErrorBoundaryEvent:()=>yo,ErrorDialog:()=>Ro,FaPrefixFromStyle:()=>mi,FileUpload:()=>Zo,Filter:()=>pa,FilterBar:()=>Fa,FilterEvents:()=>ua,FlexLayout:()=>La,FlexMediaQueriesEnum:()=>Sa,Flipper:()=>Ma,Flyout:()=>Ba,FoundationDesignSystemProvider:()=>Nt,FoundationRouter:()=>Js,GridLayout:()=>Ja,GridLayoutItem:()=>ai,GridMediaQueriesEnum:()=>Ua,Icon:()=>fi,ListboxOption:()=>yi,Menu:()=>Di,MenuItem:()=>Ti,Modal:()=>Hi,Multiselect:()=>qi,MultiselectDatasource:()=>qs,NumberField:()=>Ji,OptionsDatasource:()=>Ws,Popper:()=>nn,Progress:()=>un,ProgressRing:()=>vn,Radio:()=>$n,RadioGroup:()=>On,SegmentedControl:()=>Nn,SegmentedItem:()=>Bn,Select:()=>Wn,Skeleton:()=>Qn,Slider:()=>sr,Snackbar:()=>mr,Switch:()=>br,Tab:()=>Sr,TabPanel:()=>Lr,Tabs:()=>Er,TextArea:()=>jr,TextField:()=>qr,Toast:()=>os,Toolbar:()=>rs,Tooltip:()=>ps,TreeItem:()=>bs,TreeView:()=>Ss,UrlInput:()=>Rs,accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,accentPaletteValue:()=>St,actionsMenuBaseStyles:()=>d,baseComponents:()=>Ms,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,baseLayerLuminanceValue:()=>Ct,black:()=>Je,bodyFont:()=>m.bodyFont,closeIcon:()=>Ht,configureDesignSystem:()=>$t,controlCornerRadius:()=>m.controlCornerRadius,controlCornerRadiusValue:()=>kt,createDesignSystemProxy:()=>Ns,defaultAnchorConfig:()=>y,defaultBadgeConfig:()=>D,defaultBreadcrumbConfig:()=>E,defaultBreadcrumbItemConfig:()=>j,defaultButtonConfig:()=>q,defaultCardConfig:()=>ee,defaultCheckboxConfig:()=>re,defaultComboboxConfig:()=>pe,defaultDataGridCellConfig:()=>Le,defaultDataGridConfig:()=>De,defaultDataGridRowConfig:()=>Ne,defaultDatePickerConfig:()=>We,defaultDialogConfig:()=>jt,defaultDisclosureConfig:()=>Kt,defaultDividerConfig:()=>oo,defaultFileUploadConfig:()=>Qo,defaultFillColor:()=>et,defaultFlexLayoutConfig:()=>Oa,defaultFlipperConfig:()=>Ea,defaultFlyoutConfig:()=>za,defaultGridLayoutConfig:()=>Ka,defaultGridLayoutItemConfig:()=>oi,defaultIconConfig:()=>hi,defaultListboxOptionConfig:()=>xi,defaultMenuConfig:()=>_i,defaultMenuItemConfig:()=>Ai,defaultModalConfig:()=>Pi,defaultMultiselectConfig:()=>Wi,defaultNeutralForegroundContrast:()=>ht,defaultNumberFieldConfig:()=>en,defaultProgressConfig:()=>hn,defaultProgressRingConfig:()=>yn,defaultRadioConfig:()=>Dn,defaultRadioGroupConfig:()=>Tn,defaultSegmentedControlConfig:()=>In,defaultSegmentedItemConfig:()=>zn,defaultSelectConfig:()=>Xn,defaultSkeletonConfig:()=>tr,defaultSliderConfig:()=>dr,defaultSwitchConfig:()=>wr,defaultTabConfig:()=>Cr,defaultTabPanelConfig:()=>Rr,defaultTabsConfig:()=>Pr,defaultTextAreaConfig:()=>Vr,defaultTextFieldConfig:()=>Kr,defaultToastConfig:()=>ts,defaultToolbarConfig:()=>ls,defaultTooltipConfig:()=>ms,defaultTreeItemConfig:()=>ws,defaultTreeViewConfig:()=>Cs,defaultUrlInputConfig:()=>Ts,defineFactory:()=>Xs,density:()=>m.density,designToken:()=>vt,designUnit:()=>m.designUnit,designUnitValue:()=>Ot,direction:()=>m.direction,directionValue:()=>_t,disabledOpacity:()=>m.disabledOpacity,dropdownMenuBaseStyles:()=>no,errorDialogTemplate:()=>Lo,extractMenuItems:()=>so,fillColor:()=>m.fillColor,flyoutAnimationTime:()=>Pa,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,foundationActionsMenu:()=>h,foundationActionsMenuStyles:()=>c,foundationActionsMenuTemplate:()=>u,foundationAnchor:()=>w,foundationAnchorShadowOptions:()=>b,foundationAnchorStyles:()=>f,foundationAnchorTemplate:()=>g,foundationBadge:()=>C,foundationBadgeShadowOptions:()=>S,foundationBadgeStyles:()=>x,foundationBadgeTemplate:()=>F,foundationBanner:()=>T,foundationBannerShadowOptions:()=>O,foundationBannerStyles:()=>_,foundationBannerTemplate:()=>k,foundationBreadcrumb:()=>I,foundationBreadcrumbItem:()=>z,foundationBreadcrumbItemShadowOptions:()=>B,foundationBreadcrumbItemStyles:()=>P,foundationBreadcrumbItemTemplate:()=>H,foundationBreadcrumbShadowOptions:()=>N,foundationBreadcrumbStyles:()=>R,foundationBreadcrumbTemplate:()=>A,foundationButton:()=>X,foundationButtonShadowOptions:()=>W,foundationButtonStyles:()=>V,foundationButtonTemplate:()=>U,foundationCard:()=>te,foundationCardShadowOptions:()=>Q,foundationCardStyles:()=>K,foundationCardTemplate:()=>Z,foundationCheckbox:()=>se,foundationCheckboxShadowOptions:()=>ne,foundationCheckboxStyles:()=>oe,foundationCheckboxTemplate:()=>ae,foundationCombobox:()=>he,foundationComboboxShadowOptions:()=>ue,foundationComboboxStyles:()=>le,foundationComboboxTemplate:()=>de,foundationConnectionIndicator:()=>we,foundationConnectionIndicatorStyles:()=>ve,foundationConnectionIndicatorTemplate:()=>be,foundationDataGrid:()=>Ce,foundationDataGridCell:()=>Te,foundationDataGridCellShadowOptions:()=>Oe,foundationDataGridCellStyles:()=>_e,foundationDataGridCellTemplate:()=>s.dataGridCellTemplate,foundationDataGridRow:()=>Ee,foundationDataGridRowShadowOptions:()=>Me,foundationDataGridRowStyles:()=>Re,foundationDataGridRowTemplate:()=>s.dataGridRowTemplate,foundationDataGridShadowOptions:()=>Se,foundationDataGridStyles:()=>xe,foundationDataGridTemplate:()=>Fe,foundationDatePicker:()=>Xe,foundationDatePickerShadowOptions:()=>Ye,foundationDatePickerStyles:()=>Ve,foundationDatePickerTemplate:()=>Ue,foundationDesignSystemProvider:()=>Et,foundationDialog:()=>Ut,foundationDialogShadowOptions:()=>Bt,foundationDialogStyles:()=>Pt,foundationDialogTemplate:()=>Gt,foundationDisclosure:()=>Zt,foundationDisclosureShadowOptions:()=>Xt,foundationDisclosureStyles:()=>Yt,foundationDisclosureTemplate:()=>Wt,foundationDivider:()=>ao,foundationDividerShadowOptions:()=>to,foundationDividerStyles:()=>Jt,foundationDividerTemplate:()=>Qt,foundationDropdownMenu:()=>po,foundationDropdownMenuStyles:()=>ro,foundationDropdownMenuTemplate:()=>co,foundationErrorBanner:()=>bo,foundationErrorBannerShadowOptions:()=>go,foundationErrorBannerTemplate:()=>fo,foundationErrorBoundary:()=>_o,foundationErrorBoundaryShadowOptions:()=>Do,foundationErrorBoundaryTemplate:()=>So,foundationErrorDialog:()=>Ao,foundationErrorDialogShadowOptions:()=>To,foundationErrorDialogStyles:()=>ko,foundationFileUpload:()=>ea,foundationFileUploadShadowOptions:()=>Jo,foundationFileUploadStyles:()=>Vo,foundationFileUploadTemplate:()=>Yo,foundationFilter:()=>ha,foundationFilterBar:()=>$a,foundationFilterBarStyles:()=>fa,foundationFilterBarTemplate:()=>wa,foundationFilterStyles:()=>ta,foundationFilterTemplate:()=>ca,foundationFlexLayout:()=>Ta,foundationFlexLayoutShadowOptions:()=>ka,foundationFlexLayoutStyles:()=>Ca,foundationFlexLayoutTemplate:()=>_a,foundationFlipper:()=>Ia,foundationFlipperShadowOptions:()=>Na,foundationFlipperStyles:()=>Ra,foundationFlipperTemplate:()=>Aa,foundationFlyout:()=>Va,foundationFlyoutShadowOptions:()=>ja,foundationFlyoutStyles:()=>Ha,foundationFlyoutTemplate:()=>Ga,foundationGridLayout:()=>Qa,foundationGridLayoutItem:()=>ii,foundationGridLayoutItemShadowOptions:()=>ti,foundationGridLayoutItemTemplate:()=>ei,foundationGridLayoutShadowOptions:()=>Xa,foundationGridLayoutStyles:()=>Wa,foundationGridLayoutTemplate:()=>qa,foundationIcon:()=>gi,foundationIconShadowOptions:()=>pi,foundationIconStyles:()=>ci,foundationIconTemplate:()=>ui,foundationListboxOption:()=>Fi,foundationListboxOptionShadowOptions:()=>wi,foundationListboxOptionStyles:()=>vi,foundationListboxOptionTemplate:()=>bi,foundationMenu:()=>ki,foundationMenuItem:()=>Mi,foundationMenuItemShadowOptions:()=>Ri,foundationMenuItemStyles:()=>Oi,foundationMenuItemTemplate:()=>Li,foundationMenuShadowOptions:()=>Ci,foundationMenuStyles:()=>$i,foundationMenuTemplate:()=>Si,foundationModal:()=>Gi,foundationModalShadowOptions:()=>Ii,foundationModalStyles:()=>Ni,foundationModalTemplate:()=>Ei,foundationMultiselect:()=>Xi,foundationMultiselectShadowOptions:()=>Yi,foundationNumberField:()=>tn,foundationNumberFieldShadowOptions:()=>Qi,foundationNumberFieldStyles:()=>Ki,foundationNumberFieldTemplate:()=>Zi,foundationPopper:()=>ln,foundationProgress:()=>mn,foundationProgressRing:()=>wn,foundationProgressRingShadowOptions:()=>bn,foundationProgressRingStyles:()=>fn,foundationProgressRingTemplate:()=>gn,foundationProgressShadowOptions:()=>pn,foundationProgressStyles:()=>dn,foundationProgressTemplate:()=>cn,foundationRadio:()=>Cn,foundationRadioGroup:()=>Rn,foundationRadioGroupShadowOptions:()=>Ln,foundationRadioGroupStyles:()=>_n,foundationRadioGroupTemplate:()=>kn,foundationRadioShadowOptions:()=>Sn,foundationRadioStyles:()=>xn,foundationRadioTemplate:()=>Fn,foundationSegmentedControl:()=>Pn,foundationSegmentedControlShadowOptions:()=>En,foundationSegmentedControlStyles:()=>An,foundationSegmentedControlTemplate:()=>Mn,foundationSegmentedItem:()=>Vn,foundationSegmentedItemShadowOptions:()=>jn,foundationSegmentedItemStyles:()=>Hn,foundationSegmentedItemTemplate:()=>Gn,foundationSelect:()=>Kn,foundationSelectShadowOptions:()=>qn,foundationSelectStyles:()=>Un,foundationSelectTemplate:()=>Yn,foundationSkeleton:()=>or,foundationSkeletonShadowOptions:()=>er,foundationSkeletonStyles:()=>Zn,foundationSkeletonTemplate:()=>Jn,foundationSlider:()=>cr,foundationSliderShadowOptions:()=>lr,foundationSliderStyles:()=>ar,foundationSliderTemplate:()=>rr,foundationSnackbar:()=>fr,foundationSnackbarShadowOptions:()=>hr,foundationSnackbarStyles:()=>ur,foundationSnackbarTemplate:()=>pr,foundationSwitch:()=>xr,foundationSwitchShadowOptions:()=>yr,foundationSwitchStyles:()=>gr,foundationSwitchTemplate:()=>vr,foundationTab:()=>_r,foundationTabPanel:()=>Ar,foundationTabPanelShadowOptions:()=>Tr,foundationTabPanelStyles:()=>kr,foundationTabPanelTemplate:()=>Or,foundationTabShadowOptions:()=>Dr,foundationTabStyles:()=>Fr,foundationTabTemplate:()=>$r,foundationTabs:()=>Hr,foundationTabsShadowOptions:()=>Ir,foundationTabsStyles:()=>Mr,foundationTabsTemplate:()=>Nr,foundationTextArea:()=>Ur,foundationTextAreaShadowOptions:()=>zr,foundationTextAreaStyles:()=>Gr,foundationTextAreaTemplate:()=>Br,foundationTextField:()=>Zr,foundationTextFieldShadowOptions:()=>Xr,foundationTextFieldStyles:()=>Yr,foundationTextFieldTemplate:()=>Wr,foundationToast:()=>as,foundationToastShadowOptions:()=>es,foundationToastStyles:()=>Jr,foundationToastTemplate:()=>Qr,foundationToolbar:()=>ds,foundationToolbarShadowOptions:()=>ss,foundationToolbarStyles:()=>is,foundationToolbarTemplate:()=>ns,foundationTooltip:()=>fs,foundationTooltipShadowOptions:()=>hs,foundationTooltipStyles:()=>cs,foundationTooltipTemplate:()=>us,foundationTreeItem:()=>xs,foundationTreeItemShadowOptions:()=>ys,foundationTreeItemStyles:()=>gs,foundationTreeItemTemplate:()=>vs,foundationTreeView:()=>_s,foundationTreeViewShadowOptions:()=>Ds,foundationTreeViewStyles:()=>Fs,foundationTreeViewTemplate:()=>$s,foundationUrlInput:()=>As,foundationUrlInputShadowOptions:()=>Ls,foundationUrlInputStyles:()=>ks,fuiAccentPalette:()=>dt,fuiAccentSwatch:()=>lt,fuiCardFillColor:()=>pt,fuiCardForegroundColor:()=>ft,fuiDefaultCardFillColor:()=>ot,fuiDefaultCardPalette:()=>at,fuiFillColor:()=>ut,fuiNeutralPalette:()=>rt,fuiNeutralSwatch:()=>nt,getDefaultConfig:()=>xt,getDropdownMenuTemplate:()=>lo,getErrorDialogTemplate:()=>Oo,getExports:()=>Ft,getFontawesomeIconsCss:()=>di,getPrefixedFileUpload:()=>Uo,getPrefixedMultiselect:()=>Vi,jsonConverter:()=>an,mapType:()=>ga,maxheight:()=>ji,mixinFoundationFontFamily:()=>Tt,multiselectStyles:()=>zi,multiselectTemplate:()=>Ui,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForeground:()=>mt,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralPaletteValue:()=>Dt,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,paletteFromHex:()=>yt,provideDesignSystem:()=>Es,provideTokens:()=>gt,registerFoundationDesignSystem:()=>Qs,strokeWidth:()=>m.strokeWidth,swatchConverter:()=>bt,tagFor:()=>Ks,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight,urlinputTemplate:()=>Os,white:()=>Ze});var a={};o.r(a),o.d(a,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,controlCornerRadius:()=>m.controlCornerRadius,defaultNeutralForegroundContrast:()=>ht,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,fuiCardFillColor:()=>pt,fuiCardForegroundColor:()=>ft,fuiFillColor:()=>ut,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForeground:()=>mt,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,strokeWidth:()=>m.strokeWidth,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight});var i={};o.r(i),o.d(i,{accentPaletteValue:()=>St,baseLayerLuminanceValue:()=>Ct,controlCornerRadiusValue:()=>kt,designUnitValue:()=>Ot,directionValue:()=>_t,neutralPaletteValue:()=>Dt});var n=o(779),r=o(3147),s=o(5951),l=o(7675);const d=(e,t)=>r.css`
2
2
  :host {
3
3
  --actions-opener-height-multiplier: 0.7px;
4
4
  --actions-opener-bg-color: 249 254 255;
@@ -234,7 +234,7 @@
234
234
  ${(0,m.checkboxStyles)(e,t)}
235
235
  `,ae=(e,t)=>(0,s.checkboxTemplate)(e,t);class ie extends m.Checkbox{}const ne=void 0,re={checkedIndicator:'\n <svg\n aria-hidden="true"\n part="checked-indicator"\n class="checked-indicator"\n viewBox="0 0 20 20"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z"\n />\n </svg>\n ',indeterminateIndicator:'\n <div part="indeterminate-indicator" class="indeterminate-indicator"></div>\n '},se=ie.compose(Object.assign({baseName:"checkbox",template:ae,styles:oe,shadowOptions:ne},re)),le=(e,t)=>r.css`
236
236
  ${(0,m.comboboxStyles)(e,t)}
237
- `,de=(e,t)=>(0,s.comboboxTemplate)(e,t);class ce extends m.Combobox{}const ue=void 0,pe={indicator:'\n <svg\n class="combo-box-indicator"\n part="combo-box-indicator"\n viewBox="0 0 12 7"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z"\n />\n </svg>\n '},he=ce.compose(Object.assign({baseName:"combobox",template:de,styles:le,shadowOptions:ue},pe));var me=o(2646),fe=o(5527),ge=o(9788);const ve=(e,t)=>r.css`
237
+ `,de=(e,t)=>(0,s.comboboxTemplate)(e,t);class ce extends m.Combobox{}const ue=void 0,pe={indicator:'\n <svg\n class="combo-box-indicator"\n part="combo-box-indicator"\n viewBox="0 0 12 7"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z"\n />\n </svg>\n '},he=ce.compose(Object.assign({baseName:"combobox",template:de,styles:le,shadowOptions:ue},pe));var me=o(2646),fe=o(5527),ge=o(8145);const ve=(e,t)=>r.css`
238
238
  :host {
239
239
  --light-size: 12px;
240
240
  --height: calc(var(--design-unit) * 2px + var(--light-size));
@@ -308,7 +308,7 @@
308
308
  ${(0,m.dataGridCellStyles)(e,t)}
309
309
  `;class ke extends m.DataGridCell{}const Oe=void 0,Le={},Te=ke.compose(Object.assign({baseName:"data-grid-cell",template:s.dataGridCellTemplate,styles:_e,shadowOptions:Oe},Le)),Re=(e,t)=>r.css`
310
310
  ${(0,m.dataGridRowStyles)(e,t)}
311
- `;class Ae extends m.DataGridRow{}const Me=void 0,Ne={},Ee=Ae.compose(Object.assign({baseName:"data-grid-row",template:s.dataGridRowTemplate,styles:Re,shadowOptions:Me},Ne));var Ie=o(7530),Pe=o.n(Ie),He=o(8113),Ge=o.n(He);class Be{constructor(e=null,t="default"){e=null!=e?e:new Date,this.Date=e,this.date=e.getDate(),this.day=e.toLocaleString(t,{weekday:"long"}),this.dayNumber=e.getDay()+1,this.dayShort=e.toLocaleString(t,{weekday:"short"}),this.year=e.getFullYear(),this.yearShort=Number(e.toLocaleString(t,{year:"2-digit"})),this.month=e.toLocaleString(t,{month:"long"}),this.monthShort=e.toLocaleString(t,{month:"short"}),this.monthNumber=e.getMonth()+1,this.timestamp=e.getTime()}}Pe().extend(Ge());class je{constructor(e=null,t="default"){const o=new Be(e,t);this.lang=t,this.name=o.month,this.number=o.monthNumber,this.year=o.year,this.numberOfDays=[31,28,31,30,31,30,31,31,30,31,30,31][this.number-1],2===this.number&&(this.numberOfDays+=Pe()(o.date).isLeapYear()?1:0)}getDay(e){return new Be(new Date(this.year,this.number-1,e),this.lang)}}Pe().extend(Ge());class ze{constructor(e=null,t=null,o="default"){this.weekDays=Array.from({length:7}),this.today=new Be(null,o),this.year=null!=e?e:this.today.year,this.month=new je(new Date(this.year,(t||this.today.monthNumber)-1),o),this.lang=o,this.weekDays.forEach(((e,t)=>{const o=this.month.getDay(t);this.weekDays[o.dayNumber-1]=o.day}))}getMonth(e){return new je(new Date(this.year,e-1),this.lang)}getPreviousMonth(){return 1===this.month.number?new je(new Date(this.year-1,11),this.lang):new je(new Date(this.year,this.month.number-2),this.lang)}getNextMonth(){return 1===this.month.number?new je(new Date(this.year+1,0),this.lang):new je(new Date(this.year,this.month.number+2),this.lang)}goToDate(e,t){this.month=new je(new Date(t,e-1),this.lang),this.year=t}goToNextYear(){this.year+=1,this.month=new je(new Date(this.year,0),this.lang)}goToPreviousYear(){this.year-=1,this.month=new je(new Date(this.year,11),this.lang)}goToNextMonth(){if(12===this.month.number)return this.goToNextYear();this.month=new je(new Date(this.year,this.month.number+1-1),this.lang)}goToPreviousMonth(){if(1===this.month.number)return this.goToPreviousYear();this.month=new je(new Date(this.year,this.month.number-1-1),this.lang)}}const Ve=r.css`
311
+ `;class Ae extends m.DataGridRow{}const Me=void 0,Ne={},Ee=Ae.compose(Object.assign({baseName:"data-grid-row",template:s.dataGridRowTemplate,styles:Re,shadowOptions:Me},Ne));var Ie=o(4341),Pe=o.n(Ie),He=o(8113),Ge=o.n(He);class Be{constructor(e=null,t="default"){e=null!=e?e:new Date,this.Date=e,this.date=e.getDate(),this.day=e.toLocaleString(t,{weekday:"long"}),this.dayNumber=e.getDay()+1,this.dayShort=e.toLocaleString(t,{weekday:"short"}),this.year=e.getFullYear(),this.yearShort=Number(e.toLocaleString(t,{year:"2-digit"})),this.month=e.toLocaleString(t,{month:"long"}),this.monthShort=e.toLocaleString(t,{month:"short"}),this.monthNumber=e.getMonth()+1,this.timestamp=e.getTime()}}Pe().extend(Ge());class je{constructor(e=null,t="default"){const o=new Be(e,t);this.lang=t,this.name=o.month,this.number=o.monthNumber,this.year=o.year,this.numberOfDays=[31,28,31,30,31,30,31,31,30,31,30,31][this.number-1],2===this.number&&(this.numberOfDays+=Pe()(o.date).isLeapYear()?1:0)}getDay(e){return new Be(new Date(this.year,this.number-1,e),this.lang)}}Pe().extend(Ge());class ze{constructor(e=null,t=null,o="default"){this.weekDays=Array.from({length:7}),this.today=new Be(null,o),this.year=null!=e?e:this.today.year,this.month=new je(new Date(this.year,(t||this.today.monthNumber)-1),o),this.lang=o,this.weekDays.forEach(((e,t)=>{const o=this.month.getDay(t);this.weekDays[o.dayNumber-1]=o.day}))}getMonth(e){return new je(new Date(this.year,e-1),this.lang)}getPreviousMonth(){return 1===this.month.number?new je(new Date(this.year-1,11),this.lang):new je(new Date(this.year,this.month.number-2),this.lang)}getNextMonth(){return 1===this.month.number?new je(new Date(this.year+1,0),this.lang):new je(new Date(this.year,this.month.number+2),this.lang)}goToDate(e,t){this.month=new je(new Date(t,e-1),this.lang),this.year=t}goToNextYear(){this.year+=1,this.month=new je(new Date(this.year,0),this.lang)}goToPreviousYear(){this.year-=1,this.month=new je(new Date(this.year,11),this.lang)}goToNextMonth(){if(12===this.month.number)return this.goToNextYear();this.month=new je(new Date(this.year,this.month.number+1-1),this.lang)}goToPreviousMonth(){if(1===this.month.number)return this.goToPreviousYear();this.month=new je(new Date(this.year,this.month.number-1-1),this.lang)}}const Ve=r.css`
312
312
  :host {
313
313
  position: relative;
314
314
  }
@@ -524,7 +524,7 @@
524
524
  :host * {
525
525
  ${Tt()}
526
526
  }
527
- `}});var It=o(5098);const Pt=r.css`
527
+ `}});var It=o(3872);const Pt=r.css`
528
528
  .close-icon {
529
529
  position: absolute;
530
530
  right: calc(var(--design-unit) * 2px);
@@ -694,7 +694,7 @@
694
694
  </div>
695
695
  `,co=r.html`
696
696
  ${e=>lo(e.tagName.toLowerCase().split("-")[0])}
697
- `;class uo extends s.FoundationElement{constructor(){super(...arguments),this.autoClose=!0,this.disabled=!1,this.name="Dropdown Menu",this.open=!1,this.clickOutside=e=>this.handleClickOutside(e)}connectedCallback(){super.connectedCallback(),this.addEventListener("onMenuClick",this.onDropdownMenuItemClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this.clickOutside)}handleClickOutside(e){io(e,this)&&(this.open=!1)}openChanged(){this.classNames=(0,l.A)(["hidden",!this.open]),this.open?document.addEventListener("mousedown",this.clickOutside):document.removeEventListener("mousedown",this.clickOutside)}toggleDropdownMenuVisibility(){this.open=!this.open}onDropdownMenuItemClick(){this.autoClose&&(this.open=!1)}get allItems(){return this.items}}(0,n.__decorate)([r.observable],uo.prototype,"items",void 0),(0,n.__decorate)([(0,r.attr)({attribute:"auto-close",mode:"boolean"})],uo.prototype,"autoClose",void 0),(0,n.__decorate)([(0,r.attr)({attribute:"disable-button",mode:"boolean"})],uo.prototype,"disabled",void 0),(0,n.__decorate)([r.observable],uo.prototype,"classNames",void 0),(0,n.__decorate)([r.attr],uo.prototype,"name",void 0),(0,n.__decorate)([(0,r.attr)({attribute:"open",mode:"boolean"})],uo.prototype,"open",void 0),(0,n.__decorate)([r.attr],uo.prototype,"buttonAppearance",void 0);const po=uo.compose({baseName:"dropdown-menu",styles:ro,template:co});var ho=o(7943);const mo=(0,ho.createLogger)("foundation-ui"),fo=r.html`
697
+ `;class uo extends s.FoundationElement{constructor(){super(...arguments),this.autoClose=!0,this.disabled=!1,this.name="Dropdown Menu",this.open=!1,this.clickOutside=e=>this.handleClickOutside(e)}connectedCallback(){super.connectedCallback(),this.addEventListener("onMenuClick",this.onDropdownMenuItemClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("mousedown",this.clickOutside)}handleClickOutside(e){io(e,this)&&(this.open=!1)}openChanged(){this.classNames=(0,l.A)(["hidden",!this.open]),this.open?document.addEventListener("mousedown",this.clickOutside):document.removeEventListener("mousedown",this.clickOutside)}toggleDropdownMenuVisibility(){this.open=!this.open}onDropdownMenuItemClick(){this.autoClose&&(this.open=!1)}get allItems(){return this.items}}(0,n.__decorate)([r.observable],uo.prototype,"items",void 0),(0,n.__decorate)([(0,r.attr)({attribute:"auto-close",mode:"boolean"})],uo.prototype,"autoClose",void 0),(0,n.__decorate)([(0,r.attr)({attribute:"disable-button",mode:"boolean"})],uo.prototype,"disabled",void 0),(0,n.__decorate)([r.observable],uo.prototype,"classNames",void 0),(0,n.__decorate)([r.attr],uo.prototype,"name",void 0),(0,n.__decorate)([(0,r.attr)({attribute:"open",mode:"boolean"})],uo.prototype,"open",void 0),(0,n.__decorate)([r.attr],uo.prototype,"buttonAppearance",void 0);const po=uo.compose({baseName:"dropdown-menu",styles:ro,template:co});var ho=o(6684);const mo=(0,ho.createLogger)("foundation-ui"),fo=r.html`
698
698
  <foundation-banner ${(0,r.ref)("banner")}>
699
699
  <div slot="content">
700
700
  <div>${e=>{var t;return(null===(t=e.error)||void 0===t?void 0:t.errorDetails)||"Place holder for error message"}}</div>
@@ -2164,5 +2164,5 @@
2164
2164
  <a class="url-input-link" href=${e=>e.value} target="_blank">${e=>e.value}</a>
2165
2165
  `)}
2166
2166
  </div>
2167
- `,Ls=void 0,Ts={};class Rs extends m.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,n.__decorate)([r.observable],Rs.prototype,"value",void 0),(0,n.__decorate)([r.observable],Rs.prototype,"focused",void 0);const As=Rs.compose(Object.assign({baseName:"url-input",template:Os,styles:ks,shadowOptions:Ls},Ts)),Ms={foundationActionsMenu:h,foundationAnchor:w,foundationBadge:C,foundationBanner:T,foundationBreadcrumbItem:z,foundationBreadcrumb:I,foundationButton:X,foundationCard:te,foundationCheckbox:se,foundationCombobox:he,foundationConnectionIndicator:we,foundationDataGrid:Ce,foundationDataGridCell:Te,foundationDataGridRow:Ee,foundationDatePicker:Xe,foundationDesignSystemProvider:Et,foundationDialog:Ut,foundationDisclosure:Zt,foundationDivider:ao,foundationDropdownMenu:po,foundationErrorBoundary:_o,foundationErrorBanner:bo,foundationErrorDialog:Ao,foundationFileUpload:ea,foundationFilter:ha,foundationFilterBar:$a,foundationFlexLayout:Ta,foundationFlipper:Ia,foundationFlyout:Va,foundationGridLayout:Qa,foundationGridLayoutItem:ii,foundationIcon:gi,foundationListboxOption:Fi,foundationMenu:ki,foundationMenuItem:Mi,foundationModal:Gi,foundationMultiselect:Xi,foundationNumberField:tn,foundationProgress:mn,foundationPopper:ln,foundationProgressRing:wn,foundationRadio:Cn,foundationRadioGroup:Rn,foundationSegmentedControl:Pn,foundationSegmentedItem:Vn,foundationSelect:Kn,foundationSkeleton:or,foundationSlider:cr,foundationSnackbar:fr,foundationSwitch:xr,foundationTab:_r,foundationTabPanel:Ar,foundationTabs:Hr,foundationTextArea:Ur,foundationTextField:Zr,foundationToast:as,foundationToolbar:ds,foundationTooltip:fs,foundationTreeItem:xs,foundationTreeView:_s,foundationUrlInput:As,register(e,...t){if(e)for(const o in this)"register"!==o&&this[o]().register(e,...t)}};function Ns(e){return new Proxy(e,{get:(e,t,...o)=>{if(["withPrefix","withShadowRootMode","withElementDisambiguation"].includes(t))throw new Error("Modification of the Design System is not allowed.");return Reflect.get(e,t,...o)}})}const Es=(e,t="foundation")=>{e&&gt(a,i,e);return Ns(s.DesignSystem.getOrCreate(e).withPrefix(t))};class Is extends r.CSSDirective{constructor(e){super(),this.tokenMap=e}createTokenPartial(e,t){return r.cssPartial`${e}: ${t}`}createTokensCSS(){const e=[];for(const[t,o]of Object.entries(this.tokenMap))e.push(this.createTokenPartial(t,o).createCSS());return e}createCSS(){return this.createTokensCSS().join(";")}}var Ps=o(2940),Hs=o(9162),Gs=o(5127),Bs=o(2449),js=o(7641),zs=o(6714);class Vs extends s.FoundationElement{constructor(){super(...arguments),this.withGridInit=!0,this.isSnapshot=!1,this.maxRows=Ps.WJ.MAX_ROWS_250,this.maxView=Ps.WJ.MAX_VIEW_1000,this.reverse=!1,this.rowId="ROW_REF",this.withTimestampFormatting=!0,this.requiresFullDataRefresh=!0,this.rowsSyncedWithStream=new Map,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new zs.X(new Map)}disconnectedCallback(){super.disconnectedCallback(),this.clearData()}reset(){this.requiresFullDataRefresh=!0,this.fetchGenesisData()}fetchGenesisData(e=!0){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.data)return void this.syncComponentData(this.data);const t=e||!this.datasource.initialized;t||(this.connect.dataLogoff(this.sourceRef),this.clearData());if(yield this.datasource.init(this.datasourceOptions(),t))if(this.isSnapshot){const e=yield this.datasource.snapshotFiltered();this.syncComponentData(e)}else mo.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((e=>{this.sourceRef=e.SOURCE_REF;const t=e.MESSAGE_TYPE;if(t&&t===Hs.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const t=(0,Gs.$)(e);this.handleStreamUpdate(t)}else this.handleStreamUpdate(e)}));else mo.debug(`Genesis Datasource init failed for ${this.resourceName}`)}))}initDatasource(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){yield this.datasource.init(this.datasourceOptions(),!0)}))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView}}handleStreamUpdate(e){if(!e)return;e.hasOwnProperty("REPLY")?this.applyRequestServerData(e):this.applyDataserverData(e)}applyRequestServerData(e){var t,o;if(!Array.isArray(e.REPLY)||!(null===(t=e.MESSAGE_TYPE)||void 0===t?void 0:t.startsWith("REP_")))return void mo.error("received invalid RequestServerResult",e);if(this.requiresFullDataRefresh){"ROW_REF"!==this.rowId&&(null===(o=e.REPLY)||void 0===o||o.forEach((e=>{this.rowsSyncedWithStream.set(e[this.rowId],e)})));const t=this.rowsSyncedWithStream.size>0?Array.from(this.rowsSyncedWithStream.values()):e.REPLY;return void this.syncComponentData(t)}this.handleStreamInserts(e.REPLY);const a=Array.from(this.rowsSyncedWithStream.values()).filter((t=>!e.REPLY.includes(t)));this.handleStreamDeletes(a)}applyDataserverData(e){var t,o,a,i;if(this.requiresFullDataRefresh){null===(t=e.inserts)||void 0===t||t.forEach((e=>{this.rowsSyncedWithStream.set(e[this.rowId],e)}));const o=Array.from(this.rowsSyncedWithStream.values());this.syncComponentData(o)}else(null===(o=e.inserts)||void 0===o?void 0:o.length)>0&&this.handleStreamInserts(e.inserts),(null===(a=e.deletes)||void 0===a?void 0:a.length)>0&&this.handleStreamDeletes(e.deletes),(null===(i=e.updates)||void 0===i?void 0:i.length)>0&&this.handleStreamUpdates(e.updates)}buildCriteria(){var e;const t=(null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[];return(0,Bs.p)(t.join(" && "),";")}criteriaChanged(e,t){const o=!e&&t,a=e!==(0,Bs.p)(t,";");(o||a)&&r.DOM.queueUpdate((()=>this.fetchGenesisData(null)))}setFilter(e,t){this.criteriaFromFilters.set(e,t),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}}(0,n.__decorate)([me.lj],Vs.prototype,"connect",void 0),(0,n.__decorate)([js.Yh],Vs.prototype,"datasource",void 0),(0,n.__decorate)([(0,r.attr)({mode:"boolean"})],Vs.prototype,"withGridInit",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"criteria",void 0),(0,n.__decorate)([r.observable],Vs.prototype,"data",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"fields",void 0),(0,n.__decorate)([(0,r.attr)({mode:"boolean"})],Vs.prototype,"isSnapshot",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"maxRows",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"maxView",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"orderBy",void 0),(0,n.__decorate)([r.observable],Vs.prototype,"request",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"resourceName",void 0),(0,n.__decorate)([(0,r.attr)({mode:"boolean"})],Vs.prototype,"reverse",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"rowId",void 0),(0,n.__decorate)([(0,r.attr)({mode:"boolean",attribute:"with-timestamp-formatting"})],Vs.prototype,"withTimestampFormatting",void 0);let Us=class extends Vs{constructor(){super(...arguments),this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});return(0,n.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.dataGrid=this.parentElement,this.dataGrid&&this.resourceName&&this.connect.isConnected&&this.fetchGenesisData()}))}getColumnDefs(e){return null==e?void 0:e.flatMap((e=>this.fields&&!this.fields.includes(e.name)?[]:{columnDataKey:e.name}))}clearData(){mo.debug("clearData - Method not implemented.")}syncComponentData(e){const t=null!=e?e:Array.from(this.rowsSyncedWithStream.values()),o=this.getColumnDefs(this.datasource.fieldMetadata);this.dataGrid.columnDefinitions=o,this.dataGrid.rowsData=t}handleStreamInserts(e){mo.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){mo.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){mo.debug("handleStreamUpdates - Method not implemented.")}};var Ys;Us=(0,n.__decorate)([(0,r.customElement)({name:"data-grid-datasource"})],Us);let Ws=Ys=class extends Vs{constructor(){super(...arguments),this.optionElement="fast-option",this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,n.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.fields=this.labelField?null===(t=this.valueField)||void 0===t?void 0:t.concat(" ",this.labelField):this.valueField,this.select=this.parentElement,this.select.addEventListener("change",(e=>{const t=this.options.find((t=>t.label===e.target.value));this.select.$emit("value-change",t)})),this.select&&this.valueField&&(this.resourceName||this.data)&&this.connect.isConnected&&this.fetchGenesisData(),this.valueField||mo.warn('Specify field for values in options (e.g value-field="VALUE") and optionally field for label (e.g label-field="NAME")')}))}clearData(){Array.from(this.select.children).forEach((e=>{e instanceof Ys||this.select.removeChild(e)})),this.select.value="",this.select.initialValue=""}syncComponentData(e){var t;const o=null!=e?e:Array.from(this.rowsSyncedWithStream.values());this.options=o.map((e=>({value:e[this.valueField],label:e[this.labelField]})));this.options.map((({value:e,label:t})=>{const o=document.createElement(this.optionElement);return o.textContent=t||e,o.value=e,o})).forEach((e=>{this.select.appendChild(e)}));const a=null===(t=this.options.find((e=>e.value===this.initialSelectedValue)))||void 0===t?void 0:t.label;r.DOM.queueUpdate((()=>{this.select.value=a}))}handleStreamInserts(e){mo.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){mo.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){mo.debug("handleStreamUpdates - Method not implemented.")}};(0,n.__decorate)([(0,r.attr)({attribute:"label-field"})],Ws.prototype,"labelField",void 0),(0,n.__decorate)([(0,r.attr)({attribute:"value-field"})],Ws.prototype,"valueField",void 0),(0,n.__decorate)([r.observable],Ws.prototype,"initialSelectedValue",void 0),Ws=Ys=(0,n.__decorate)([(0,r.customElement)({name:"options-datasource"})],Ws);let qs=class extends Vs{constructor(){super(...arguments),this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});return(0,n.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.fields=this.valueField,this.select=this.parentElement,this.select&&this.valueField&&(this.resourceName||this.data)&&this.connect.isConnected&&this.fetchGenesisData(),this.valueField||mo.warn('Specify field for values in options (e.g value-field="VALUE") and optionally field for label which is supported only in select and combobox (e.g label-field="NAME")')}))}clearData(){this.select.options=[]}syncComponentData(e){const t=(null!=e?e:Array.from(this.rowsSyncedWithStream.values())).map((e=>({value:e[this.valueField]})));this.select.options=t.map((({value:e})=>e))}handleStreamInserts(e){mo.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){mo.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){mo.debug("handleStreamUpdates - Method not implemented.")}};(0,n.__decorate)([(0,r.attr)({attribute:"value-field"})],qs.prototype,"valueField",void 0),qs=(0,n.__decorate)([(0,r.customElement)({name:"multiselect-datasource"})],qs);const Xs=(e,t)=>o=>{const a="function"==typeof t?t:(i=t,e=>Object.assign(Object.assign({},i),e));var i;return r.FASTElement.define(class extends e{},a(o))};function Ks(e){if("string"==typeof e)return e;if("function"==typeof e&&!(e=r.FASTElementDefinition.forType(e)))throw new Error("Missing FASTElement definition.");return e.name}var Zs=o(3376);let Js=class extends(Zs.F0.from(r.FASTElement)){connectedCallback(){super.connectedCallback(),r.DOM.queueUpdate((()=>(0,n.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};Js=(0,n.__decorate)([(0,r.customElement)({name:"foundation-router"})],Js);const Qs=()=>Es().register(Ms)}}]);
2168
- //# sourceMappingURL=614.17585a98348f75c1df46753957899f82.js.map
2167
+ `,Ls=void 0,Ts={};class Rs extends m.TextField{constructor(){super(...arguments),this.value=""}saveUrl(e){this.value=e.startsWith("http")?e:"https://"+e,this.focused=!1}focus(){this.focused=!0}}(0,n.__decorate)([r.observable],Rs.prototype,"value",void 0),(0,n.__decorate)([r.observable],Rs.prototype,"focused",void 0);const As=Rs.compose(Object.assign({baseName:"url-input",template:Os,styles:ks,shadowOptions:Ls},Ts)),Ms={foundationActionsMenu:h,foundationAnchor:w,foundationBadge:C,foundationBanner:T,foundationBreadcrumbItem:z,foundationBreadcrumb:I,foundationButton:X,foundationCard:te,foundationCheckbox:se,foundationCombobox:he,foundationConnectionIndicator:we,foundationDataGrid:Ce,foundationDataGridCell:Te,foundationDataGridRow:Ee,foundationDatePicker:Xe,foundationDesignSystemProvider:Et,foundationDialog:Ut,foundationDisclosure:Zt,foundationDivider:ao,foundationDropdownMenu:po,foundationErrorBoundary:_o,foundationErrorBanner:bo,foundationErrorDialog:Ao,foundationFileUpload:ea,foundationFilter:ha,foundationFilterBar:$a,foundationFlexLayout:Ta,foundationFlipper:Ia,foundationFlyout:Va,foundationGridLayout:Qa,foundationGridLayoutItem:ii,foundationIcon:gi,foundationListboxOption:Fi,foundationMenu:ki,foundationMenuItem:Mi,foundationModal:Gi,foundationMultiselect:Xi,foundationNumberField:tn,foundationProgress:mn,foundationPopper:ln,foundationProgressRing:wn,foundationRadio:Cn,foundationRadioGroup:Rn,foundationSegmentedControl:Pn,foundationSegmentedItem:Vn,foundationSelect:Kn,foundationSkeleton:or,foundationSlider:cr,foundationSnackbar:fr,foundationSwitch:xr,foundationTab:_r,foundationTabPanel:Ar,foundationTabs:Hr,foundationTextArea:Ur,foundationTextField:Zr,foundationToast:as,foundationToolbar:ds,foundationTooltip:fs,foundationTreeItem:xs,foundationTreeView:_s,foundationUrlInput:As,register(e,...t){if(e)for(const o in this)"register"!==o&&this[o]().register(e,...t)}};function Ns(e){return new Proxy(e,{get:(e,t,...o)=>{if(["withPrefix","withShadowRootMode","withElementDisambiguation"].includes(t))throw new Error("Modification of the Design System is not allowed.");return Reflect.get(e,t,...o)}})}const Es=(e,t="foundation")=>{e&&gt(a,i,e);return Ns(s.DesignSystem.getOrCreate(e).withPrefix(t))};class Is extends r.CSSDirective{constructor(e){super(),this.tokenMap=e}createTokenPartial(e,t){return r.cssPartial`${e}: ${t}`}createTokensCSS(){const e=[];for(const[t,o]of Object.entries(this.tokenMap))e.push(this.createTokenPartial(t,o).createCSS());return e}createCSS(){return this.createTokensCSS().join(";")}}var Ps=o(2940),Hs=o(9162),Gs=o(5127),Bs=o(2449),js=o(7641),zs=o(8017);class Vs extends s.FoundationElement{constructor(){super(...arguments),this.withGridInit=!0,this.isSnapshot=!1,this.maxRows=Ps.WJ.MAX_ROWS_250,this.maxView=Ps.WJ.MAX_VIEW_1000,this.reverse=!1,this.rowId="ROW_REF",this.withTimestampFormatting=!0,this.requiresFullDataRefresh=!0,this.rowsSyncedWithStream=new Map,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new zs.X(new Map)}disconnectedCallback(){super.disconnectedCallback(),this.clearData()}reset(){this.requiresFullDataRefresh=!0,this.fetchGenesisData()}fetchGenesisData(e=!0){return(0,n.__awaiter)(this,void 0,void 0,(function*(){if(this.data)return void this.syncComponentData(this.data);const t=e||!this.datasource.initialized;t||(this.connect.dataLogoff(this.sourceRef),this.clearData());if(yield this.datasource.init(this.datasourceOptions(),t))if(this.isSnapshot){const e=yield this.datasource.snapshotFiltered();this.syncComponentData(e)}else mo.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((e=>{this.sourceRef=e.SOURCE_REF;const t=e.MESSAGE_TYPE;if(t&&t===Hs.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const t=(0,Gs.$)(e);this.handleStreamUpdate(t)}else this.handleStreamUpdate(e)}));else mo.debug(`Genesis Datasource init failed for ${this.resourceName}`)}))}initDatasource(){return(0,n.__awaiter)(this,void 0,void 0,(function*(){yield this.datasource.init(this.datasourceOptions(),!0)}))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,orderBy:this.orderBy,resourceName:this.resourceName,request:this.request,reverse:this.reverse,maxRows:this.maxRows,maxView:this.maxView}}handleStreamUpdate(e){if(!e)return;e.hasOwnProperty("REPLY")?this.applyRequestServerData(e):this.applyDataserverData(e)}applyRequestServerData(e){var t,o;if(!Array.isArray(e.REPLY)||!(null===(t=e.MESSAGE_TYPE)||void 0===t?void 0:t.startsWith("REP_")))return void mo.error("received invalid RequestServerResult",e);if(this.requiresFullDataRefresh){"ROW_REF"!==this.rowId&&(null===(o=e.REPLY)||void 0===o||o.forEach((e=>{this.rowsSyncedWithStream.set(e[this.rowId],e)})));const t=this.rowsSyncedWithStream.size>0?Array.from(this.rowsSyncedWithStream.values()):e.REPLY;return void this.syncComponentData(t)}this.handleStreamInserts(e.REPLY);const a=Array.from(this.rowsSyncedWithStream.values()).filter((t=>!e.REPLY.includes(t)));this.handleStreamDeletes(a)}applyDataserverData(e){var t,o,a,i;if(this.requiresFullDataRefresh){null===(t=e.inserts)||void 0===t||t.forEach((e=>{this.rowsSyncedWithStream.set(e[this.rowId],e)}));const o=Array.from(this.rowsSyncedWithStream.values());this.syncComponentData(o)}else(null===(o=e.inserts)||void 0===o?void 0:o.length)>0&&this.handleStreamInserts(e.inserts),(null===(a=e.deletes)||void 0===a?void 0:a.length)>0&&this.handleStreamDeletes(e.deletes),(null===(i=e.updates)||void 0===i?void 0:i.length)>0&&this.handleStreamUpdates(e.updates)}buildCriteria(){var e;const t=(null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[];return(0,Bs.p)(t.join(" && "),";")}criteriaChanged(e,t){const o=!e&&t,a=e!==(0,Bs.p)(t,";");(o||a)&&r.DOM.queueUpdate((()=>this.fetchGenesisData(null)))}setFilter(e,t){this.criteriaFromFilters.set(e,t),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}}(0,n.__decorate)([me.lj],Vs.prototype,"connect",void 0),(0,n.__decorate)([js.Yh],Vs.prototype,"datasource",void 0),(0,n.__decorate)([(0,r.attr)({mode:"boolean"})],Vs.prototype,"withGridInit",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"criteria",void 0),(0,n.__decorate)([r.observable],Vs.prototype,"data",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"fields",void 0),(0,n.__decorate)([(0,r.attr)({mode:"boolean"})],Vs.prototype,"isSnapshot",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"maxRows",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"maxView",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"orderBy",void 0),(0,n.__decorate)([r.observable],Vs.prototype,"request",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"resourceName",void 0),(0,n.__decorate)([(0,r.attr)({mode:"boolean"})],Vs.prototype,"reverse",void 0),(0,n.__decorate)([r.attr],Vs.prototype,"rowId",void 0),(0,n.__decorate)([(0,r.attr)({mode:"boolean",attribute:"with-timestamp-formatting"})],Vs.prototype,"withTimestampFormatting",void 0);let Us=class extends Vs{constructor(){super(...arguments),this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});return(0,n.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.dataGrid=this.parentElement,this.dataGrid&&this.resourceName&&this.connect.isConnected&&this.fetchGenesisData()}))}getColumnDefs(e){return null==e?void 0:e.flatMap((e=>this.fields&&!this.fields.includes(e.name)?[]:{columnDataKey:e.name}))}clearData(){mo.debug("clearData - Method not implemented.")}syncComponentData(e){const t=null!=e?e:Array.from(this.rowsSyncedWithStream.values()),o=this.getColumnDefs(this.datasource.fieldMetadata);this.dataGrid.columnDefinitions=o,this.dataGrid.rowsData=t}handleStreamInserts(e){mo.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){mo.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){mo.debug("handleStreamUpdates - Method not implemented.")}};var Ys;Us=(0,n.__decorate)([(0,r.customElement)({name:"data-grid-datasource"})],Us);let Ws=Ys=class extends Vs{constructor(){super(...arguments),this.optionElement="fast-option",this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});var t;return(0,n.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.fields=this.labelField?null===(t=this.valueField)||void 0===t?void 0:t.concat(" ",this.labelField):this.valueField,this.select=this.parentElement,this.select.addEventListener("change",(e=>{const t=this.options.find((t=>t.label===e.target.value));this.select.$emit("value-change",t)})),this.select&&this.valueField&&(this.resourceName||this.data)&&this.connect.isConnected&&this.fetchGenesisData(),this.valueField||mo.warn('Specify field for values in options (e.g value-field="VALUE") and optionally field for label (e.g label-field="NAME")')}))}clearData(){Array.from(this.select.children).forEach((e=>{e instanceof Ys||this.select.removeChild(e)})),this.select.value="",this.select.initialValue=""}syncComponentData(e){var t;const o=null!=e?e:Array.from(this.rowsSyncedWithStream.values());this.options=o.map((e=>({value:e[this.valueField],label:e[this.labelField]})));this.options.map((({value:e,label:t})=>{const o=document.createElement(this.optionElement);return o.textContent=t||e,o.value=e,o})).forEach((e=>{this.select.appendChild(e)}));const a=null===(t=this.options.find((e=>e.value===this.initialSelectedValue)))||void 0===t?void 0:t.label;r.DOM.queueUpdate((()=>{this.select.value=a}))}handleStreamInserts(e){mo.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){mo.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){mo.debug("handleStreamUpdates - Method not implemented.")}};(0,n.__decorate)([(0,r.attr)({attribute:"label-field"})],Ws.prototype,"labelField",void 0),(0,n.__decorate)([(0,r.attr)({attribute:"value-field"})],Ws.prototype,"valueField",void 0),(0,n.__decorate)([r.observable],Ws.prototype,"initialSelectedValue",void 0),Ws=Ys=(0,n.__decorate)([(0,r.customElement)({name:"options-datasource"})],Ws);let qs=class extends Vs{constructor(){super(...arguments),this.isSnapshot=!0}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});return(0,n.__awaiter)(this,void 0,void 0,(function*(){e.connectedCallback.call(this),this.fields=this.valueField,this.select=this.parentElement,this.select&&this.valueField&&(this.resourceName||this.data)&&this.connect.isConnected&&this.fetchGenesisData(),this.valueField||mo.warn('Specify field for values in options (e.g value-field="VALUE") and optionally field for label which is supported only in select and combobox (e.g label-field="NAME")')}))}clearData(){this.select.options=[]}syncComponentData(e){const t=(null!=e?e:Array.from(this.rowsSyncedWithStream.values())).map((e=>({value:e[this.valueField]})));this.select.options=t.map((({value:e})=>e))}handleStreamInserts(e){mo.debug("handleStreamInserts - Method not implemented.")}handleStreamDeletes(e){mo.debug("handleStreamDeletes - Method not implemented.")}handleStreamUpdates(e){mo.debug("handleStreamUpdates - Method not implemented.")}};(0,n.__decorate)([(0,r.attr)({attribute:"value-field"})],qs.prototype,"valueField",void 0),qs=(0,n.__decorate)([(0,r.customElement)({name:"multiselect-datasource"})],qs);const Xs=(e,t)=>o=>{const a="function"==typeof t?t:(i=t,e=>Object.assign(Object.assign({},i),e));var i;return r.FASTElement.define(class extends e{},a(o))};function Ks(e){if("string"==typeof e)return e;if("function"==typeof e&&!(e=r.FASTElementDefinition.forType(e)))throw new Error("Missing FASTElement definition.");return e.name}var Zs=o(3376);let Js=class extends(Zs.F0.from(r.FASTElement)){connectedCallback(){super.connectedCallback(),r.DOM.queueUpdate((()=>(0,n.__awaiter)(this,void 0,void 0,(function*(){this.$router.config=this.config}))))}};Js=(0,n.__decorate)([(0,r.customElement)({name:"foundation-router"})],Js);const Qs=()=>Es().register(Ms)}}]);
2168
+ //# sourceMappingURL=614.cf5163b15fd13bfc62e1bc999b62999d.js.map