@uxland/primary-shell 7.13.2 → 7.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{component-C26_oeb6.js → component-RL8LM9a9.js} +2 -2
- package/dist/{component-C26_oeb6.js.map → component-RL8LM9a9.js.map} +1 -1
- package/dist/{index-BzY8_3e-.js → index-cueNwNYW.js} +83 -79
- package/dist/index-cueNwNYW.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +16 -17
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/api/user-manager/user-manager.d.ts +2 -0
- package/dist/primary/shell/src/bootstrapper.d.ts +4 -1
- package/dist/primary/shell/src/features/bootstrapper.d.ts +2 -1
- package/dist/primary/shell/src/features/visit/finalize-visit/bootstrapper.d.ts +2 -1
- package/dist/primary/shell/src/features/visit/finalize-visit/component/finalize-visit-button.d.ts +2 -3
- package/package.json +1 -1
- package/src/UI/components/primaria-shell/shell-header/template.ts +0 -1
- package/src/api/user-manager/user-manager.ts +28 -2
- package/src/bootstrapper.ts +6 -2
- package/src/features/bootstrapper.ts +3 -2
- package/src/features/visit/finalize-visit/bootstrapper.ts +11 -2
- package/src/features/visit/finalize-visit/component/finalize-visit-button.ts +7 -18
- package/dist/index-BzY8_3e-.js.map +0 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -306,7 +306,7 @@ Registered bindings:`,ne.forEach(function(oe){var de="Object";oe.implementationT
|
|
|
306
306
|
</div>
|
|
307
307
|
`,Ps=class Ps extends h$o{render(){return ke$1`${template$n(this)}`}};Ps.styles=i$D`
|
|
308
308
|
${r$H(styles$l)}
|
|
309
|
-
`;let PluginBusyList=Ps;class PluginBusyManagerImpl{constructor(){this.tasks=[],customElements.get("plugin-busy-list")||t$k("plugin-busy-list")(PluginBusyList)}addTask(J){this.tasks.some(re=>re.taskId===J.taskId)||this.tasks.push(J)}removeTask(J){const X=this.tasks.findIndex(re=>re.taskId===J);X>-1&&this.tasks.splice(X,1)}isBusy(){return this.tasks.length>0}clearAll(){this.tasks=[]}getTasks(){return this.tasks}}class QuickActionBusyManagerImpl{constructor(J){this.broker=J,this.tasks=[]}addTask(J){this.tasks.findIndex(re=>re.taskId===J.taskId)>-1||(this.tasks.push(J),this.emitBusyChanged())}removeTask(J){const X=this.tasks.findIndex(re=>re.taskId===J);X>-1&&(this.tasks.splice(X,1),this.emitBusyChanged())}isBusy(){return this.tasks.length>0}clearAll(){this.tasks=[]}emitBusyChanged(){const J=this.isBusy();this.broker.publish(shellEvents.quickActionBusyChanged,{busy:J})}}const shellRegions={header:"header-region",headerRightActions:"header-actions-region",main:"main-region",navigationMenu:"menu-region",navigationLowerLeftMenu:"navigation-lower-left-menu",quickActions:"quick-actions-region",floating:"floating-region",communicationSidenav:"communication-sidenav-region",importData:"import-data-region"},clinicalMonitoringRegions={sidebar:"clinical-monitoring-widgets-sidebar-region",header:"clinical-monitoring-header-widgets-region",content:"clinical-monitoring-content-widgets-region"};class RegionManagerProxy{constructor(J,X,re){this.pluginInfo=J,this.regionManager=X,this.broker=re,this.regions={shell:shellRegions,clinicalMonitoring:clinicalMonitoringRegions}}registerView(J,X){return this.regionManager.registerViewWithRegion(J,`${this.pluginInfo.pluginId}::${X.id}`,X),Promise.resolve()}removeView(J,X){const re=this.regionManager.getRegion(J);return re&&re.removeView(`${this.pluginInfo.pluginId}::${X}`),Promise.resolve()}activateView(J,X){return this.regionManager.getRegion(J).activate(`${this.pluginInfo.pluginId}::${X}`),J===this.regions.shell.main&&this._notifyMainViewChanged(X),Promise.resolve()}deactivateView(J,X){return this.regionManager.getRegion(J).deactivate(`${this.pluginInfo.pluginId}::${X}`),Promise.resolve()}getRegion(J){return Promise.resolve(this.regionManager.getRegion(J))}containsView(J,X){const re=this.regionManager.getRegion(J);return Promise.resolve(re?.containsView(`${this.pluginInfo.pluginId}::${X}`))}isViewActive(J,X){const ne=this.regionManager.getRegion(J).currentActiveViews.some(oe=>oe.id===X);return Promise.resolve(ne)}registerQuickAction(J){return this.regionManager.registerViewWithRegion(this.regions.shell.quickActions,`${this.pluginInfo.pluginId}::${J.id}`,J),Promise.resolve()}registerNavigationMenu(J){return this.regionManager.registerViewWithRegion(this.regions.shell.navigationMenu,`${this.pluginInfo.pluginId}::${J.id}`,J),Promise.resolve()}registerMainView(J){return this.regionManager.registerViewWithRegion(this.regions.shell.main,`${this.pluginInfo.pluginId}::${J.id}`,J),Promise.resolve()}activateMainView(J){return this.regionManager.getRegion(this.regions.shell.main).activate(`${this.pluginInfo.pluginId}::${J}`),this._notifyMainViewChanged(J),Promise.resolve()}getCurrentMainViewActive(){return this.regionManager.getRegion(this.regions.shell.main).currentActiveViews[0]?.id}_notifyMainViewChanged(J){this.broker.publish(shellEvents.mainViewChanged,{viewId:J})}_destroy(){this.regionManager.destroy()}}const createRegionManagerProxy=(te,J,X)=>new RegionManagerProxy(te,J,X);let token,refreshToken,tokenInitialized=!1;class TokenManagerImpl{constructor(){this.getUrlParams=()=>new URLSearchParams(window.location.search),this.initToken=()=>{if(tokenInitialized)throw new Error("Token already initialized");tokenInitialized=!0;const J=this.getUrlParams();return token=J.get("access_token")||"",refreshToken=J.get("refresh_token")||"",token},this.setInitialTokens=(J,X)=>{if(tokenInitialized)throw new Error("Token already initialized");token=J,refreshToken=X,tokenInitialized=!0},this.getToken=()=>(tokenInitialized||this.initToken(),token),this.refreshToken=async()=>{tokenInitialized||this.initToken();const J=await axios.post("/api/token/refresh",{token:refreshToken}),{access_token:X,refresh_token:re}=J.data;if(!X)throw new Error("Invalid refresh token response");return token=X,refreshToken=re,token}}}let tokenManager$1;const createTokenManager=()=>tokenManager$1||(tokenManager$1=new TokenManagerImpl,tokenManager$1);class UserManagerImpl{constructor(J){this.tokenManager=J,this.getRole=()=>{const X=this.tokenManager.getToken();if(X)try{return jwtDecode(X).access_info?.role_type}catch(re){console.error("Error decoding JWT token:",re);return}},this.isUserRoleAdministrative=()=>this.getRole()==="ADM"}}let userManager$1;const createUserManager=te=>userManager$1||(userManager$1=new UserManagerImpl(te),userManager$1);class ImportDataManagerImpl{constructor(J){this.interactionService=J,this.selectedItems={},this.currentImporterId="",this.pluginTexts={}}async import(J){this.currentImporterId=J,this.selectedItems={},this.pluginTexts={};try{const{ImportDataManagerModal:X}=await Promise.resolve().then(()=>component),{confirmed:re}=await this.interactionService.confirm(void 0,{component:X},{fullCustomization:!0}),ne=this.getConcatenatedText(),oe={accepted:re,data:re?this.selectedItems:{},text:re?ne:{raw:"",html:""}};return this.selectedItems={},this.currentImporterId="",this.pluginTexts={},oe}catch(X){throw this.selectedItems={},this.currentImporterId="",this.pluginTexts={},X}}selectItems(J){this.selectedItems[J.pluginId]=J.data,this.pluginTexts[J.pluginId]=J.text}getCurrentImporterId(){return this.currentImporterId}getConcatenatedText(){const J=[],X=[];for(const re of Object.values(this.pluginTexts))re.raw&&J.push(re.raw),re.html&&X.push(re.html);return{raw:J.join(`
|
|
309
|
+
`;let PluginBusyList=Ps;class PluginBusyManagerImpl{constructor(){this.tasks=[],customElements.get("plugin-busy-list")||t$k("plugin-busy-list")(PluginBusyList)}addTask(J){this.tasks.some(re=>re.taskId===J.taskId)||this.tasks.push(J)}removeTask(J){const X=this.tasks.findIndex(re=>re.taskId===J);X>-1&&this.tasks.splice(X,1)}isBusy(){return this.tasks.length>0}clearAll(){this.tasks=[]}getTasks(){return this.tasks}}class QuickActionBusyManagerImpl{constructor(J){this.broker=J,this.tasks=[]}addTask(J){this.tasks.findIndex(re=>re.taskId===J.taskId)>-1||(this.tasks.push(J),this.emitBusyChanged())}removeTask(J){const X=this.tasks.findIndex(re=>re.taskId===J);X>-1&&(this.tasks.splice(X,1),this.emitBusyChanged())}isBusy(){return this.tasks.length>0}clearAll(){this.tasks=[]}emitBusyChanged(){const J=this.isBusy();this.broker.publish(shellEvents.quickActionBusyChanged,{busy:J})}}const shellRegions={header:"header-region",headerRightActions:"header-actions-region",main:"main-region",navigationMenu:"menu-region",navigationLowerLeftMenu:"navigation-lower-left-menu",quickActions:"quick-actions-region",floating:"floating-region",communicationSidenav:"communication-sidenav-region",importData:"import-data-region"},clinicalMonitoringRegions={sidebar:"clinical-monitoring-widgets-sidebar-region",header:"clinical-monitoring-header-widgets-region",content:"clinical-monitoring-content-widgets-region"};class RegionManagerProxy{constructor(J,X,re){this.pluginInfo=J,this.regionManager=X,this.broker=re,this.regions={shell:shellRegions,clinicalMonitoring:clinicalMonitoringRegions}}registerView(J,X){return this.regionManager.registerViewWithRegion(J,`${this.pluginInfo.pluginId}::${X.id}`,X),Promise.resolve()}removeView(J,X){const re=this.regionManager.getRegion(J);return re&&re.removeView(`${this.pluginInfo.pluginId}::${X}`),Promise.resolve()}activateView(J,X){return this.regionManager.getRegion(J).activate(`${this.pluginInfo.pluginId}::${X}`),J===this.regions.shell.main&&this._notifyMainViewChanged(X),Promise.resolve()}deactivateView(J,X){return this.regionManager.getRegion(J).deactivate(`${this.pluginInfo.pluginId}::${X}`),Promise.resolve()}getRegion(J){return Promise.resolve(this.regionManager.getRegion(J))}containsView(J,X){const re=this.regionManager.getRegion(J);return Promise.resolve(re?.containsView(`${this.pluginInfo.pluginId}::${X}`))}isViewActive(J,X){const ne=this.regionManager.getRegion(J).currentActiveViews.some(oe=>oe.id===X);return Promise.resolve(ne)}registerQuickAction(J){return this.regionManager.registerViewWithRegion(this.regions.shell.quickActions,`${this.pluginInfo.pluginId}::${J.id}`,J),Promise.resolve()}registerNavigationMenu(J){return this.regionManager.registerViewWithRegion(this.regions.shell.navigationMenu,`${this.pluginInfo.pluginId}::${J.id}`,J),Promise.resolve()}registerMainView(J){return this.regionManager.registerViewWithRegion(this.regions.shell.main,`${this.pluginInfo.pluginId}::${J.id}`,J),Promise.resolve()}activateMainView(J){return this.regionManager.getRegion(this.regions.shell.main).activate(`${this.pluginInfo.pluginId}::${J}`),this._notifyMainViewChanged(J),Promise.resolve()}getCurrentMainViewActive(){return this.regionManager.getRegion(this.regions.shell.main).currentActiveViews[0]?.id}_notifyMainViewChanged(J){this.broker.publish(shellEvents.mainViewChanged,{viewId:J})}_destroy(){this.regionManager.destroy()}}const createRegionManagerProxy=(te,J,X)=>new RegionManagerProxy(te,J,X);let token,refreshToken,tokenInitialized=!1;class TokenManagerImpl{constructor(){this.getUrlParams=()=>new URLSearchParams(window.location.search),this.initToken=()=>{if(tokenInitialized)throw new Error("Token already initialized");tokenInitialized=!0;const J=this.getUrlParams();return token=J.get("access_token")||"",refreshToken=J.get("refresh_token")||"",token},this.setInitialTokens=(J,X)=>{if(tokenInitialized)throw new Error("Token already initialized");token=J,refreshToken=X,tokenInitialized=!0},this.getToken=()=>(tokenInitialized||this.initToken(),token),this.refreshToken=async()=>{tokenInitialized||this.initToken();const J=await axios.post("/api/token/refresh",{token:refreshToken}),{access_token:X,refresh_token:re}=J.data;if(!X)throw new Error("Invalid refresh token response");return token=X,refreshToken=re,token}}}let tokenManager$1;const createTokenManager=()=>tokenManager$1||(tokenManager$1=new TokenManagerImpl,tokenManager$1);class UserManagerImpl{constructor(J){this.tokenManager=J,this.getRole=()=>{const X=this.tokenManager.getToken();if(X)try{return jwtDecode(X).access_info?.role_type}catch(re){console.error("Error decoding JWT token:",re);return}},this.isUserRoleAdministrative=()=>this.getRole()==="ADM",this.getFullName=()=>{const X=this.tokenManager.getToken();if(X)try{const re=jwtDecode(X),ne=re.access_info?.trace_user_given_name,oe=re.access_info?.trace_user_family_name;return!ne&&!oe?void 0:[oe,ne].filter(Boolean).join(" ")}catch(re){console.error("Error decoding JWT token:",re);return}}}}let userManager$1;const createUserManager=te=>userManager$1||(userManager$1=new UserManagerImpl(te),userManager$1);class ImportDataManagerImpl{constructor(J){this.interactionService=J,this.selectedItems={},this.currentImporterId="",this.pluginTexts={}}async import(J){this.currentImporterId=J,this.selectedItems={},this.pluginTexts={};try{const{ImportDataManagerModal:X}=await Promise.resolve().then(()=>component),{confirmed:re}=await this.interactionService.confirm(void 0,{component:X},{fullCustomization:!0}),ne=this.getConcatenatedText(),oe={accepted:re,data:re?this.selectedItems:{},text:re?ne:{raw:"",html:""}};return this.selectedItems={},this.currentImporterId="",this.pluginTexts={},oe}catch(X){throw this.selectedItems={},this.currentImporterId="",this.pluginTexts={},X}}selectItems(J){this.selectedItems[J.pluginId]=J.data,this.pluginTexts[J.pluginId]=J.text}getCurrentImporterId(){return this.currentImporterId}getConcatenatedText(){const J=[],X=[];for(const re of Object.values(this.pluginTexts))re.raw&&J.push(re.raw),re.html&&X.push(re.html);return{raw:J.join(`
|
|
310
310
|
|
|
311
311
|
`),html:X.join("<br><br>")}}}const broker$1=createBroker(),regionManager=d$o("primaria"),PrimariaRegionHost=y$b(regionManager),tokenManager=createTokenManager(),userManager=createUserManager(tokenManager),globalStateManager=createGlobalStateManager(broker$1),pluginBusyManager=new PluginBusyManagerImpl,quickActionBusyManager=new QuickActionBusyManagerImpl(broker$1),interactionService=new ParimariaInteractionServiceImpl,notificationService=new PrimariaNotificationServiceImpl,ecapEventManager=createEcapEventManager(),pdfViewerManager=createPdfViewerManager(broker$1,notificationService),importDataManager=new ImportDataManagerImpl(interactionService),primariaApiFactory=te=>{const J=createRegionManagerProxy(te,regionManager,broker$1);return{pluginInfo:te,regionManager:J,httpClient:createHttpClient(tokenManager,broker$1),broker:broker$1,createLocaleManager:createLocaleManager(te.pluginId),globalStateManager,tokenManager,userManager,ecapEventManager,pluginBusyManager,quickActionBusyManager,interactionService,notificationService,pdfViewerManager,importDataManager}},shellApi=primariaApiFactory({pluginId:primariaShellId}),registerRequest=(te,J)=>(X,re)=>{J.bind(re).to(re).inTransientScope(),injectable()(re);const ne=te.broker.registerRequest(X,oe=>J.get(re).handle(oe));return{dispose:()=>{J.isBound(re)&&J.unbind(re),ne.dispose()}}},TYPES={primaryApi:Symbol.for("primaryApi"),store:Symbol.for("store")};function formatProdErrorMessage$1(te){return`Minified Redux error #${te}; visit https://redux.js.org/Errors?code=${te} for the full message or use the non-minified dev environment for full errors. `}var $$observable=typeof Symbol=="function"&&Symbol.observable||"@@observable",symbol_observable_default=$$observable,randomString=()=>Math.random().toString(36).substring(7).split("").join("."),ActionTypes={INIT:`@@redux/INIT${randomString()}`,REPLACE:`@@redux/REPLACE${randomString()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${randomString()}`},actionTypes_default=ActionTypes;function isPlainObject$1(te){if(typeof te!="object"||te===null)return!1;let J=te;for(;Object.getPrototypeOf(J)!==null;)J=Object.getPrototypeOf(J);return Object.getPrototypeOf(te)===J||Object.getPrototypeOf(te)===null}function createStore(te,J,X){if(typeof te!="function")throw new Error(formatProdErrorMessage$1(2));if(typeof J=="function"&&typeof X=="function"||typeof X=="function"&&typeof arguments[3]=="function")throw new Error(formatProdErrorMessage$1(0));if(typeof J=="function"&&typeof X>"u"&&(X=J,J=void 0),typeof X<"u"){if(typeof X!="function")throw new Error(formatProdErrorMessage$1(1));return X(createStore)(te,J)}let re=te,ne=J,oe=new Map,de=oe,ce=0,ue=!1;function he(){de===oe&&(de=new Map,oe.forEach((_e,ye)=>{de.set(ye,_e)}))}function pe(){if(ue)throw new Error(formatProdErrorMessage$1(3));return ne}function fe(_e){if(typeof _e!="function")throw new Error(formatProdErrorMessage$1(4));if(ue)throw new Error(formatProdErrorMessage$1(5));let ye=!0;he();const Ce=ce++;return de.set(Ce,_e),function(){if(ye){if(ue)throw new Error(formatProdErrorMessage$1(6));ye=!1,he(),de.delete(Ce),oe=null}}}function be(_e){if(!isPlainObject$1(_e))throw new Error(formatProdErrorMessage$1(7));if(typeof _e.type>"u")throw new Error(formatProdErrorMessage$1(8));if(typeof _e.type!="string")throw new Error(formatProdErrorMessage$1(17));if(ue)throw new Error(formatProdErrorMessage$1(9));try{ue=!0,ne=re(ne,_e)}finally{ue=!1}return(oe=de).forEach(Ce=>{Ce()}),_e}function ge(_e){if(typeof _e!="function")throw new Error(formatProdErrorMessage$1(10));re=_e,be({type:actionTypes_default.REPLACE})}function ve(){const _e=fe;return{subscribe(ye){if(typeof ye!="object"||ye===null)throw new Error(formatProdErrorMessage$1(11));function Ce(){const we=ye;we.next&&we.next(pe())}return Ce(),{unsubscribe:_e(Ce)}},[symbol_observable_default](){return this}}}return be({type:actionTypes_default.INIT}),{dispatch:be,subscribe:fe,getState:pe,replaceReducer:ge,[symbol_observable_default]:ve}}function assertReducerShape(te){Object.keys(te).forEach(J=>{const X=te[J];if(typeof X(void 0,{type:actionTypes_default.INIT})>"u")throw new Error(formatProdErrorMessage$1(12));if(typeof X(void 0,{type:actionTypes_default.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(formatProdErrorMessage$1(13))})}function combineReducers(te){const J=Object.keys(te),X={};for(let oe=0;oe<J.length;oe++){const de=J[oe];typeof te[de]=="function"&&(X[de]=te[de])}const re=Object.keys(X);let ne;try{assertReducerShape(X)}catch(oe){ne=oe}return function(de={},ce){if(ne)throw ne;let ue=!1;const he={};for(let pe=0;pe<re.length;pe++){const fe=re[pe],be=X[fe],ge=de[fe],ve=be(ge,ce);if(typeof ve>"u")throw ce&&ce.type,new Error(formatProdErrorMessage$1(14));he[fe]=ve,ue=ue||ve!==ge}return ue=ue||re.length!==Object.keys(de).length,ue?he:de}}function compose(...te){return te.length===0?J=>J:te.length===1?te[0]:te.reduce((J,X)=>(...re)=>J(X(...re)))}function applyMiddleware(...te){return J=>(X,re)=>{const ne=J(X,re);let oe=()=>{throw new Error(formatProdErrorMessage$1(15))};const de={getState:ne.getState,dispatch:(ue,...he)=>oe(ue,...he)},ce=te.map(ue=>ue(de));return oe=compose(...ce)(ne.dispatch),{...ne,dispatch:oe}}}function isAction(te){return isPlainObject$1(te)&&"type"in te&&typeof te.type=="string"}var NOTHING=Symbol.for("immer-nothing"),DRAFTABLE=Symbol.for("immer-draftable"),DRAFT_STATE=Symbol.for("immer-state");function die(te,...J){throw new Error(`[Immer] minified error nr: ${te}. Full error at: https://bit.ly/3cXEKWf`)}var getPrototypeOf=Object.getPrototypeOf;function isDraft(te){return!!te&&!!te[DRAFT_STATE]}function isDraftable(te){return te?isPlainObject(te)||Array.isArray(te)||!!te[DRAFTABLE]||!!te.constructor?.[DRAFTABLE]||isMap(te)||isSet(te):!1}var objectCtorString=Object.prototype.constructor.toString();function isPlainObject(te){if(!te||typeof te!="object")return!1;const J=getPrototypeOf(te);if(J===null)return!0;const X=Object.hasOwnProperty.call(J,"constructor")&&J.constructor;return X===Object?!0:typeof X=="function"&&Function.toString.call(X)===objectCtorString}function each(te,J){getArchtype(te)===0?Reflect.ownKeys(te).forEach(X=>{J(X,te[X],te)}):te.forEach((X,re)=>J(re,X,te))}function getArchtype(te){const J=te[DRAFT_STATE];return J?J.type_:Array.isArray(te)?1:isMap(te)?2:isSet(te)?3:0}function has(te,J){return getArchtype(te)===2?te.has(J):Object.prototype.hasOwnProperty.call(te,J)}function set(te,J,X){const re=getArchtype(te);re===2?te.set(J,X):re===3?te.add(X):te[J]=X}function is(te,J){return te===J?te!==0||1/te===1/J:te!==te&&J!==J}function isMap(te){return te instanceof Map}function isSet(te){return te instanceof Set}function latest(te){return te.copy_||te.base_}function shallowCopy(te,J){if(isMap(te))return new Map(te);if(isSet(te))return new Set(te);if(Array.isArray(te))return Array.prototype.slice.call(te);const X=isPlainObject(te);if(J===!0||J==="class_only"&&!X){const re=Object.getOwnPropertyDescriptors(te);delete re[DRAFT_STATE];let ne=Reflect.ownKeys(re);for(let oe=0;oe<ne.length;oe++){const de=ne[oe],ce=re[de];ce.writable===!1&&(ce.writable=!0,ce.configurable=!0),(ce.get||ce.set)&&(re[de]={configurable:!0,writable:!0,enumerable:ce.enumerable,value:te[de]})}return Object.create(getPrototypeOf(te),re)}else{const re=getPrototypeOf(te);if(re!==null&&X)return{...te};const ne=Object.create(re);return Object.assign(ne,te)}}function freeze(te,J=!1){return isFrozen(te)||isDraft(te)||!isDraftable(te)||(getArchtype(te)>1&&(te.set=te.add=te.clear=te.delete=dontMutateFrozenCollections),Object.freeze(te),J&&Object.entries(te).forEach(([X,re])=>freeze(re,!0))),te}function dontMutateFrozenCollections(){die(2)}function isFrozen(te){return Object.isFrozen(te)}var plugins={};function getPlugin(te){const J=plugins[te];return J||die(0,te),J}var currentScope;function getCurrentScope(){return currentScope}function createScope(te,J){return{drafts_:[],parent_:te,immer_:J,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function usePatchesInScope(te,J){J&&(getPlugin("Patches"),te.patches_=[],te.inversePatches_=[],te.patchListener_=J)}function revokeScope(te){leaveScope(te),te.drafts_.forEach(revokeDraft),te.drafts_=null}function leaveScope(te){te===currentScope&&(currentScope=te.parent_)}function enterScope(te){return currentScope=createScope(currentScope,te)}function revokeDraft(te){const J=te[DRAFT_STATE];J.type_===0||J.type_===1?J.revoke_():J.revoked_=!0}function processResult(te,J){J.unfinalizedDrafts_=J.drafts_.length;const X=J.drafts_[0];return te!==void 0&&te!==X?(X[DRAFT_STATE].modified_&&(revokeScope(J),die(4)),isDraftable(te)&&(te=finalize(J,te),J.parent_||maybeFreeze(J,te)),J.patches_&&getPlugin("Patches").generateReplacementPatches_(X[DRAFT_STATE].base_,te,J.patches_,J.inversePatches_)):te=finalize(J,X,[]),revokeScope(J),J.patches_&&J.patchListener_(J.patches_,J.inversePatches_),te!==NOTHING?te:void 0}function finalize(te,J,X){if(isFrozen(J))return J;const re=J[DRAFT_STATE];if(!re)return each(J,(ne,oe)=>finalizeProperty(te,re,J,ne,oe,X)),J;if(re.scope_!==te)return J;if(!re.modified_)return maybeFreeze(te,re.base_,!0),re.base_;if(!re.finalized_){re.finalized_=!0,re.scope_.unfinalizedDrafts_--;const ne=re.copy_;let oe=ne,de=!1;re.type_===3&&(oe=new Set(ne),ne.clear(),de=!0),each(oe,(ce,ue)=>finalizeProperty(te,re,ne,ce,ue,X,de)),maybeFreeze(te,ne,!1),X&&te.patches_&&getPlugin("Patches").generatePatches_(re,X,te.patches_,te.inversePatches_)}return re.copy_}function finalizeProperty(te,J,X,re,ne,oe,de){if(isDraft(ne)){const ce=oe&&J&&J.type_!==3&&!has(J.assigned_,re)?oe.concat(re):void 0,ue=finalize(te,ne,ce);if(set(X,re,ue),isDraft(ue))te.canAutoFreeze_=!1;else return}else de&&X.add(ne);if(isDraftable(ne)&&!isFrozen(ne)){if(!te.immer_.autoFreeze_&&te.unfinalizedDrafts_<1)return;finalize(te,ne),(!J||!J.scope_.parent_)&&typeof re!="symbol"&&Object.prototype.propertyIsEnumerable.call(X,re)&&maybeFreeze(te,ne)}}function maybeFreeze(te,J,X=!1){!te.parent_&&te.immer_.autoFreeze_&&te.canAutoFreeze_&&freeze(J,X)}function createProxyProxy(te,J){const X=Array.isArray(te),re={type_:X?1:0,scope_:J?J.scope_:getCurrentScope(),modified_:!1,finalized_:!1,assigned_:{},parent_:J,base_:te,draft_:null,copy_:null,revoke_:null,isManual_:!1};let ne=re,oe=objectTraps;X&&(ne=[re],oe=arrayTraps);const{revoke:de,proxy:ce}=Proxy.revocable(ne,oe);return re.draft_=ce,re.revoke_=de,ce}var objectTraps={get(te,J){if(J===DRAFT_STATE)return te;const X=latest(te);if(!has(X,J))return readPropFromProto(te,X,J);const re=X[J];return te.finalized_||!isDraftable(re)?re:re===peek(te.base_,J)?(prepareCopy(te),te.copy_[J]=createProxy(re,te)):re},has(te,J){return J in latest(te)},ownKeys(te){return Reflect.ownKeys(latest(te))},set(te,J,X){const re=getDescriptorFromProto(latest(te),J);if(re?.set)return re.set.call(te.draft_,X),!0;if(!te.modified_){const ne=peek(latest(te),J),oe=ne?.[DRAFT_STATE];if(oe&&oe.base_===X)return te.copy_[J]=X,te.assigned_[J]=!1,!0;if(is(X,ne)&&(X!==void 0||has(te.base_,J)))return!0;prepareCopy(te),markChanged(te)}return te.copy_[J]===X&&(X!==void 0||J in te.copy_)||Number.isNaN(X)&&Number.isNaN(te.copy_[J])||(te.copy_[J]=X,te.assigned_[J]=!0),!0},deleteProperty(te,J){return peek(te.base_,J)!==void 0||J in te.base_?(te.assigned_[J]=!1,prepareCopy(te),markChanged(te)):delete te.assigned_[J],te.copy_&&delete te.copy_[J],!0},getOwnPropertyDescriptor(te,J){const X=latest(te),re=Reflect.getOwnPropertyDescriptor(X,J);return re&&{writable:!0,configurable:te.type_!==1||J!=="length",enumerable:re.enumerable,value:X[J]}},defineProperty(){die(11)},getPrototypeOf(te){return getPrototypeOf(te.base_)},setPrototypeOf(){die(12)}},arrayTraps={};each(objectTraps,(te,J)=>{arrayTraps[te]=function(){return arguments[0]=arguments[0][0],J.apply(this,arguments)}}),arrayTraps.deleteProperty=function(te,J){return arrayTraps.set.call(this,te,J,void 0)},arrayTraps.set=function(te,J,X){return objectTraps.set.call(this,te[0],J,X,te[0])};function peek(te,J){const X=te[DRAFT_STATE];return(X?latest(X):te)[J]}function readPropFromProto(te,J,X){const re=getDescriptorFromProto(J,X);return re?"value"in re?re.value:re.get?.call(te.draft_):void 0}function getDescriptorFromProto(te,J){if(!(J in te))return;let X=getPrototypeOf(te);for(;X;){const re=Object.getOwnPropertyDescriptor(X,J);if(re)return re;X=getPrototypeOf(X)}}function markChanged(te){te.modified_||(te.modified_=!0,te.parent_&&markChanged(te.parent_))}function prepareCopy(te){te.copy_||(te.copy_=shallowCopy(te.base_,te.scope_.immer_.useStrictShallowCopy_))}var Immer2=class{constructor(te){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(J,X,re)=>{if(typeof J=="function"&&typeof X!="function"){const oe=X;X=J;const de=this;return function(ue=oe,...he){return de.produce(ue,pe=>X.call(this,pe,...he))}}typeof X!="function"&&die(6),re!==void 0&&typeof re!="function"&&die(7);let ne;if(isDraftable(J)){const oe=enterScope(this),de=createProxy(J,void 0);let ce=!0;try{ne=X(de),ce=!1}finally{ce?revokeScope(oe):leaveScope(oe)}return usePatchesInScope(oe,re),processResult(ne,oe)}else if(!J||typeof J!="object"){if(ne=X(J),ne===void 0&&(ne=J),ne===NOTHING&&(ne=void 0),this.autoFreeze_&&freeze(ne,!0),re){const oe=[],de=[];getPlugin("Patches").generateReplacementPatches_(J,ne,oe,de),re(oe,de)}return ne}else die(1,J)},this.produceWithPatches=(J,X)=>{if(typeof J=="function")return(de,...ce)=>this.produceWithPatches(de,ue=>J(ue,...ce));let re,ne;return[this.produce(J,X,(de,ce)=>{re=de,ne=ce}),re,ne]},typeof te?.autoFreeze=="boolean"&&this.setAutoFreeze(te.autoFreeze),typeof te?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(te.useStrictShallowCopy)}createDraft(te){isDraftable(te)||die(8),isDraft(te)&&(te=current(te));const J=enterScope(this),X=createProxy(te,void 0);return X[DRAFT_STATE].isManual_=!0,leaveScope(J),X}finishDraft(te,J){const X=te&&te[DRAFT_STATE];(!X||!X.isManual_)&&die(9);const{scope_:re}=X;return usePatchesInScope(re,J),processResult(void 0,re)}setAutoFreeze(te){this.autoFreeze_=te}setUseStrictShallowCopy(te){this.useStrictShallowCopy_=te}applyPatches(te,J){let X;for(X=J.length-1;X>=0;X--){const ne=J[X];if(ne.path.length===0&&ne.op==="replace"){te=ne.value;break}}X>-1&&(J=J.slice(X+1));const re=getPlugin("Patches").applyPatches_;return isDraft(te)?re(te,J):this.produce(te,ne=>re(ne,J))}};function createProxy(te,J){const X=isMap(te)?getPlugin("MapSet").proxyMap_(te,J):isSet(te)?getPlugin("MapSet").proxySet_(te,J):createProxyProxy(te,J);return(J?J.scope_:getCurrentScope()).drafts_.push(X),X}function current(te){return isDraft(te)||die(10,te),currentImpl(te)}function currentImpl(te){if(!isDraftable(te)||isFrozen(te))return te;const J=te[DRAFT_STATE];let X;if(J){if(!J.modified_)return J.base_;J.finalized_=!0,X=shallowCopy(te,J.scope_.immer_.useStrictShallowCopy_)}else X=shallowCopy(te,!0);return each(X,(re,ne)=>{set(X,re,currentImpl(ne))}),J&&(J.finalized_=!1),X}var immer=new Immer2,produce=immer.produce;immer.produceWithPatches.bind(immer),immer.setAutoFreeze.bind(immer),immer.setUseStrictShallowCopy.bind(immer),immer.applyPatches.bind(immer),immer.createDraft.bind(immer),immer.finishDraft.bind(immer);function assertIsFunction(te,J=`expected a function, instead received ${typeof te}`){if(typeof te!="function")throw new TypeError(J)}function assertIsObject(te,J=`expected an object, instead received ${typeof te}`){if(typeof te!="object")throw new TypeError(J)}function assertIsArrayOfFunctions(te,J="expected all items to be functions, instead received the following types: "){if(!te.every(X=>typeof X=="function")){const X=te.map(re=>typeof re=="function"?`function ${re.name||"unnamed"}()`:typeof re).join(", ");throw new TypeError(`${J}[${X}]`)}}var ensureIsArray=te=>Array.isArray(te)?te:[te];function getDependencies(te){const J=Array.isArray(te[0])?te[0]:te;return assertIsArrayOfFunctions(J,"createSelector expects all input-selectors to be functions, but received the following types: "),J}function collectInputSelectorResults(te,J){const X=[],{length:re}=te;for(let ne=0;ne<re;ne++)X.push(te[ne].apply(null,J));return X}var StrongRef=class{constructor(te){this.value=te}deref(){return this.value}},Ref=typeof WeakRef<"u"?WeakRef:StrongRef,UNTERMINATED=0,TERMINATED=1;function createCacheNode(){return{s:UNTERMINATED,v:void 0,o:null,p:null}}function weakMapMemoize(te,J={}){let X=createCacheNode();const{resultEqualityCheck:re}=J;let ne,oe=0;function de(){let ce=X;const{length:ue}=arguments;for(let fe=0,be=ue;fe<be;fe++){const ge=arguments[fe];if(typeof ge=="function"||typeof ge=="object"&&ge!==null){let ve=ce.o;ve===null&&(ce.o=ve=new WeakMap);const me=ve.get(ge);me===void 0?(ce=createCacheNode(),ve.set(ge,ce)):ce=me}else{let ve=ce.p;ve===null&&(ce.p=ve=new Map);const me=ve.get(ge);me===void 0?(ce=createCacheNode(),ve.set(ge,ce)):ce=me}}const he=ce;let pe;if(ce.s===TERMINATED)pe=ce.v;else if(pe=te.apply(null,arguments),oe++,re){const fe=ne?.deref?.()??ne;fe!=null&&re(fe,pe)&&(pe=fe,oe!==0&&oe--),ne=typeof pe=="object"&&pe!==null||typeof pe=="function"?new Ref(pe):pe}return he.s=TERMINATED,he.v=pe,pe}return de.clearCache=()=>{X=createCacheNode(),de.resetResultsCount()},de.resultsCount=()=>oe,de.resetResultsCount=()=>{oe=0},de}function createSelectorCreator(te,...J){const X=typeof te=="function"?{memoize:te,memoizeOptions:J}:te,re=(...ne)=>{let oe=0,de=0,ce,ue={},he=ne.pop();typeof he=="object"&&(ue=he,he=ne.pop()),assertIsFunction(he,`createSelector expects an output function after the inputs, but received: [${typeof he}]`);const pe={...X,...ue},{memoize:fe,memoizeOptions:be=[],argsMemoize:ge=weakMapMemoize,argsMemoizeOptions:ve=[]}=pe,me=ensureIsArray(be),_e=ensureIsArray(ve),ye=getDependencies(ne),Ce=fe(function(){return oe++,he.apply(null,arguments)},...me),Se=ge(function(){de++;const Ae=collectInputSelectorResults(ye,arguments);return ce=Ce.apply(null,Ae),ce},..._e);return Object.assign(Se,{resultFunc:he,memoizedResultFunc:Ce,dependencies:ye,dependencyRecomputations:()=>de,resetDependencyRecomputations:()=>{de=0},lastResult:()=>ce,recomputations:()=>oe,resetRecomputations:()=>{oe=0},memoize:fe,argsMemoize:ge})};return Object.assign(re,{withTypes:()=>re}),re}var createSelector=createSelectorCreator(weakMapMemoize),createStructuredSelector=Object.assign((te,J=createSelector)=>{assertIsObject(te,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof te}`);const X=Object.keys(te),re=X.map(oe=>te[oe]);return J(re,(...oe)=>oe.reduce((de,ce,ue)=>(de[X[ue]]=ce,de),{}))},{withTypes:()=>createStructuredSelector});function createThunkMiddleware(te){return({dispatch:X,getState:re})=>ne=>oe=>typeof oe=="function"?oe(X,re,te):ne(oe)}var thunk=createThunkMiddleware(),withExtraArgument=createThunkMiddleware,composeWithDevTools=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?compose:compose.apply(null,arguments)};function createAction(te,J){function X(...re){if(J){let ne=J(...re);if(!ne)throw new Error(formatProdErrorMessage(0));return{type:te,payload:ne.payload,..."meta"in ne&&{meta:ne.meta},..."error"in ne&&{error:ne.error}}}return{type:te,payload:re[0]}}return X.toString=()=>`${te}`,X.type=te,X.match=re=>isAction(re)&&re.type===te,X}var Tuple=class Ts extends Array{constructor(...J){super(...J),Object.setPrototypeOf(this,Ts.prototype)}static get[Symbol.species](){return Ts}concat(...J){return super.concat.apply(this,J)}prepend(...J){return J.length===1&&Array.isArray(J[0])?new Ts(...J[0].concat(this)):new Ts(...J.concat(this))}};function freezeDraftable(te){return isDraftable(te)?produce(te,()=>{}):te}function getOrInsertComputed(te,J,X){return te.has(J)?te.get(J):te.set(J,X(J)).get(J)}function isBoolean(te){return typeof te=="boolean"}var buildGetDefaultMiddleware=()=>function(J){const{thunk:X=!0,immutableCheck:re=!0,serializableCheck:ne=!0,actionCreatorCheck:oe=!0}=J??{};let de=new Tuple;return X&&(isBoolean(X)?de.push(thunk):de.push(withExtraArgument(X.extraArgument))),de},SHOULD_AUTOBATCH="RTK_autoBatch",createQueueWithTimer=te=>J=>{setTimeout(J,te)},autoBatchEnhancer=(te={type:"raf"})=>J=>(...X)=>{const re=J(...X);let ne=!0,oe=!1,de=!1;const ce=new Set,ue=te.type==="tick"?queueMicrotask:te.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:createQueueWithTimer(10):te.type==="callback"?te.queueNotification:createQueueWithTimer(te.timeout),he=()=>{de=!1,oe&&(oe=!1,ce.forEach(pe=>pe()))};return Object.assign({},re,{subscribe(pe){const fe=()=>ne&&pe(),be=re.subscribe(fe);return ce.add(pe),()=>{be(),ce.delete(pe)}},dispatch(pe){try{return ne=!pe?.meta?.[SHOULD_AUTOBATCH],oe=!ne,oe&&(de||(de=!0,ue(he))),re.dispatch(pe)}finally{ne=!0}}})},buildGetDefaultEnhancers=te=>function(X){const{autoBatch:re=!0}=X??{};let ne=new Tuple(te);return re&&ne.push(autoBatchEnhancer(typeof re=="object"?re:void 0)),ne};function configureStore(te){const J=buildGetDefaultMiddleware(),{reducer:X=void 0,middleware:re,devTools:ne=!0,preloadedState:oe=void 0,enhancers:de=void 0}=te||{};let ce;if(typeof X=="function")ce=X;else if(isPlainObject$1(X))ce=combineReducers(X);else throw new Error(formatProdErrorMessage(1));let ue;typeof re=="function"?ue=re(J):ue=J();let he=compose;ne&&(he=composeWithDevTools({trace:!1,...typeof ne=="object"&&ne}));const pe=applyMiddleware(...ue),fe=buildGetDefaultEnhancers(pe);let be=typeof de=="function"?de(fe):fe();const ge=he(...be);return createStore(ce,oe,ge)}function executeReducerBuilderCallback(te){const J={},X=[];let re;const ne={addCase(oe,de){const ce=typeof oe=="string"?oe:oe.type;if(!ce)throw new Error(formatProdErrorMessage(28));if(ce in J)throw new Error(formatProdErrorMessage(29));return J[ce]=de,ne},addMatcher(oe,de){return X.push({matcher:oe,reducer:de}),ne},addDefaultCase(oe){return re=oe,ne}};return te(ne),[J,X,re]}function isStateFunction(te){return typeof te=="function"}function createReducer(te,J){let[X,re,ne]=executeReducerBuilderCallback(J),oe;if(isStateFunction(te))oe=()=>freezeDraftable(te());else{const ce=freezeDraftable(te);oe=()=>ce}function de(ce=oe(),ue){let he=[X[ue.type],...re.filter(({matcher:pe})=>pe(ue)).map(({reducer:pe})=>pe)];return he.filter(pe=>!!pe).length===0&&(he=[ne]),he.reduce((pe,fe)=>{if(fe)if(isDraft(pe)){const ge=fe(pe,ue);return ge===void 0?pe:ge}else{if(isDraftable(pe))return produce(pe,be=>fe(be,ue));{const be=fe(pe,ue);if(be===void 0){if(pe===null)return pe;throw Error("A case reducer on a non-draftable value must not return undefined")}return be}}return pe},ce)}return de.getInitialState=oe,de}var asyncThunkSymbol=Symbol.for("rtk-slice-createasyncthunk");function getType(te,J){return`${te}/${J}`}function buildCreateSlice({creators:te}={}){const J=te?.asyncThunk?.[asyncThunkSymbol];return function(re){const{name:ne,reducerPath:oe=ne}=re;if(!ne)throw new Error(formatProdErrorMessage(11));const de=(typeof re.reducers=="function"?re.reducers(buildReducerCreators()):re.reducers)||{},ce=Object.keys(de),ue={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},he={addCase(Ce,Se){const we=typeof Ce=="string"?Ce:Ce.type;if(!we)throw new Error(formatProdErrorMessage(12));if(we in ue.sliceCaseReducersByType)throw new Error(formatProdErrorMessage(13));return ue.sliceCaseReducersByType[we]=Se,he},addMatcher(Ce,Se){return ue.sliceMatchers.push({matcher:Ce,reducer:Se}),he},exposeAction(Ce,Se){return ue.actionCreators[Ce]=Se,he},exposeCaseReducer(Ce,Se){return ue.sliceCaseReducersByName[Ce]=Se,he}};ce.forEach(Ce=>{const Se=de[Ce],we={reducerName:Ce,type:getType(ne,Ce),createNotation:typeof re.reducers=="function"};isAsyncThunkSliceReducerDefinition(Se)?handleThunkCaseReducerDefinition(we,Se,he,J):handleNormalReducerDefinition(we,Se,he)});function pe(){const[Ce={},Se=[],we=void 0]=typeof re.extraReducers=="function"?executeReducerBuilderCallback(re.extraReducers):[re.extraReducers],Ae={...Ce,...ue.sliceCaseReducersByType};return createReducer(re.initialState,Le=>{for(let ze in Ae)Le.addCase(ze,Ae[ze]);for(let ze of ue.sliceMatchers)Le.addMatcher(ze.matcher,ze.reducer);for(let ze of Se)Le.addMatcher(ze.matcher,ze.reducer);we&&Le.addDefaultCase(we)})}const fe=Ce=>Ce,be=new Map;let ge;function ve(Ce,Se){return ge||(ge=pe()),ge(Ce,Se)}function me(){return ge||(ge=pe()),ge.getInitialState()}function _e(Ce,Se=!1){function we(Le){let ze=Le[Ce];return typeof ze>"u"&&Se&&(ze=me()),ze}function Ae(Le=fe){const ze=getOrInsertComputed(be,Se,()=>new WeakMap);return getOrInsertComputed(ze,Le,()=>{const Fe={};for(const[je,Pe]of Object.entries(re.selectors??{}))Fe[je]=wrapSelector(Pe,Le,me,Se);return Fe})}return{reducerPath:Ce,getSelectors:Ae,get selectors(){return Ae(we)},selectSlice:we}}const ye={name:ne,reducer:ve,actions:ue.actionCreators,caseReducers:ue.sliceCaseReducersByName,getInitialState:me,..._e(oe),injectInto(Ce,{reducerPath:Se,...we}={}){const Ae=Se??oe;return Ce.inject({reducerPath:Ae,reducer:ve},we),{...ye,..._e(Ae,!0)}}};return ye}}function wrapSelector(te,J,X,re){function ne(oe,...de){let ce=J(oe);return typeof ce>"u"&&re&&(ce=X()),te(ce,...de)}return ne.unwrapped=te,ne}var createSlice=buildCreateSlice();function buildReducerCreators(){function te(J,X){return{_reducerDefinitionType:"asyncThunk",payloadCreator:J,...X}}return te.withTypes=()=>te,{reducer(J){return Object.assign({[J.name](...X){return J(...X)}}[J.name],{_reducerDefinitionType:"reducer"})},preparedReducer(J,X){return{_reducerDefinitionType:"reducerWithPrepare",prepare:J,reducer:X}},asyncThunk:te}}function handleNormalReducerDefinition({type:te,reducerName:J,createNotation:X},re,ne){let oe,de;if("reducer"in re){if(X&&!isCaseReducerWithPrepareDefinition(re))throw new Error(formatProdErrorMessage(17));oe=re.reducer,de=re.prepare}else oe=re;ne.addCase(te,oe).exposeCaseReducer(J,oe).exposeAction(J,de?createAction(te,de):createAction(te))}function isAsyncThunkSliceReducerDefinition(te){return te._reducerDefinitionType==="asyncThunk"}function isCaseReducerWithPrepareDefinition(te){return te._reducerDefinitionType==="reducerWithPrepare"}function handleThunkCaseReducerDefinition({type:te,reducerName:J},X,re,ne){if(!ne)throw new Error(formatProdErrorMessage(18));const{payloadCreator:oe,fulfilled:de,pending:ce,rejected:ue,settled:he,options:pe}=X,fe=ne(te,oe,pe);re.exposeAction(J,fe),de&&re.addCase(fe.fulfilled,de),ce&&re.addCase(fe.pending,ce),ue&&re.addCase(fe.rejected,ue),he&&re.addMatcher(fe.settled,he),re.exposeCaseReducer(J,{fulfilled:de||noop,pending:ce||noop,rejected:ue||noop,settled:he||noop})}function noop(){}function formatProdErrorMessage(te){return`Minified Redux Toolkit error #${te}; visit https://redux-toolkit.js.org/Errors?code=${te} for the full message or use the non-minified dev environment for full errors. `}const addItemsToCollection=(te,J,X,re,ne,oe)=>te[J]?{...te,[J]:{...te[J],items:[...te[J]?.items||[],...X]}}:{...te,[J]:{id:J,items:X,componentFactory:re,searchPredicate:ne,asyncDataProvider:oe}},addItemToCollection=(te,J,X,re)=>addItemsToCollection(te,J,[X],re);function addActivityHistoryItemReducer(te,J){const{id:X,item:re,componentFactory:ne}=J.payload;te.collections=addItemToCollection(te.collections,X,re,ne)}function addActivityHistoryItemsReducer(te,J){const{id:X,items:re,componentFactory:ne,searchPredicate:oe,asyncDataProvider:de}=J.payload;return{...te,collections:addItemsToCollection(te.collections,X,re,ne,oe,de)}}const setItemsToCollection=(te,J,X)=>te[J]?{...te,[J]:{...te[J],items:X}}:te;function setActivityHistoryItemsReducer(te,J){const{id:X,items:re}=J.payload;return{...te,collections:setItemsToCollection(te.collections,X,re)}}const removeItemFromCollection=(te,J,X)=>{if(!te[J]?.items)return te;const re=te[J]?.items??[];return{...te,[J]:{...te[J],items:re.filter(ne=>ne.id!==X)}}};function removeActivityHistoryItemReducer(te,J){const{id:X,itemId:re}=J.payload;te.collections=removeItemFromCollection(te.collections,X,re)}const updateItemInCollection=(te,J,X)=>{if(!te[J]?.items)return te;const re=te[J]?.items??[];return{...te,[J]:{...te[J],items:re.map(ne=>ne.id===X.id?X:ne)}}};function updateActivityHistoryItemReducer(te,J){const{id:X,item:re}=J.payload;te.collections=updateItemInCollection(te.collections,X,re)}function addBusyHistoryItemReducer(te,J){te.busy.push(J.payload)}function removeBusyHistoryItemReducer(te,J){te.busy=te.busy.filter(X=>X!==J.payload)}function addErrorHistoryItemReducer(te,J){te.error.push(J.payload)}function removeErrorHistoryItemReducer(te,J){te.error=te.error.filter(X=>X.entityId!==J.payload)}const activityHistoryCollectionsSlice=createSlice({name:"activity-history-collections",initialState:{busy:[],error:[],collections:{}},reducers:{addBusyHistoryItem:addBusyHistoryItemReducer,removeBusyHistoryItem:removeBusyHistoryItemReducer,addActivityHistoryItem:addActivityHistoryItemReducer,updateActivityHistoryItem:updateActivityHistoryItemReducer,addActivityHistoryItems:addActivityHistoryItemsReducer,setActivityHistoryItems:setActivityHistoryItemsReducer,addErrorHistoryItem:addErrorHistoryItemReducer,removeErrorHistoryItem:removeErrorHistoryItemReducer,removeActivityHistoryItem:removeActivityHistoryItemReducer}});function setSearchStringReducer(te,J){te.searchString=J.payload}class Spec{and(J){return new AndSpec(this,J)}or(J){return new OrSpec(this,J)}not(){return new NotSpec(this)}}class AndSpec extends Spec{constructor(J,X){super(),this.left=J,this.right=X}isSatisfiedBy(J){return this.left.isSatisfiedBy(J)&&this.right.isSatisfiedBy(J)}}class OrSpec extends Spec{constructor(J,X){super(),this.left=J,this.right=X}isSatisfiedBy(J){return this.left.isSatisfiedBy(J)||this.right.isSatisfiedBy(J)}}class NotSpec extends Spec{constructor(J){super(),this.spec=J}isSatisfiedBy(J){return!this.spec.isSatisfiedBy(J)}}let shellApiRef=null;const setShellApiForOwnSpec=te=>{shellApiRef=te};class OwnSpec extends Spec{constructor(J){super(),this.context=J}isSatisfiedBy(J){if(!shellApiRef)return!1;try{const X=shellApiRef.globalStateManager.getData("userInfo");return J?.professional?.id===X?.userId}catch{return!1}}}class RelevantSpec extends Spec{constructor(J){super(),this.context=J}isSatisfiedBy(J){return J?.relevant??!1}}var ActivityHistoryFilterType=(te=>(te.Switch="switch",te.Checkbox="checkbox",te.Dropdown="dropdown",te))(ActivityHistoryFilterType||{});const isCommonFilterGroup=te=>te.id==="common",isDiagnosticFilter=te=>te.id===diagnosticsfilterId,isCustomFilter=te=>!isCommonFilterGroup(te)&&!isDiagnosticFilter(te)&&!isUpFilter(te),isUpFilter=te=>te.id===upFilterId,diagnosticsfilterId="history-diagnostics",relevantFilterId="history-relevant",ownFilterId="history-own",upFilterId="history-up",commonFilters=[{id:"common",title:"Comuns",filters:[{id:relevantFilterId,title:"Veure rellevants",spec:RelevantSpec,enabled:!1,type:ActivityHistoryFilterType.Switch},{id:ownFilterId,title:"Veure meus",spec:OwnSpec,enabled:!1,type:ActivityHistoryFilterType.Switch}]}];function setCommonFilterValueReducer(te,J){te.filters=te.filters.map(X=>X.id==="common"?{...X,filters:X.filters.map(re=>re.id===J.payload.id?{...re,enabled:J.payload.enabled}:re)}:X)}function addCustomFiltersReducer(te,J){te.filters.some(re=>re.id===J.payload.id)||(te.filters=[...te.filters,J.payload])}function setCustomFilterGroupValueReducer(te,J){te.filters=te.filters.map(X=>X.id===J.payload.id?{...X,enabled:J.payload.enabled}:X)}function setCustomFilterValueReducer(te,J){te.filters=te.filters.map(X=>X.id===J.payload.filterGroupId?{...X,filters:X.filters.map(re=>re.id===J.payload.filterId?re.singleOption?setSingleOptionFilterValue(re,J.payload.enabled):setMultipleOptionsFilterValue(re,J.payload):re)}:X)}const setMultipleOptionsFilterValue=(te,J)=>{const{optionId:X,enabled:re}=J;return te.enabledValues?.some(ne=>ne===X)&&re?te:X==null?{...te,enabledValues:[]}:{...te,enabledValues:re?[...te.enabledValues||[],X]:te.enabledValues.filter(ne=>ne!==X)}},setSingleOptionFilterValue=(te,J)=>({...te,enabled:J,enabledValues:J?[!0]:[]});function addDiagnosticFiltersReducer(te,J){const X=te.filters.findIndex(isDiagnosticFilter);if(X===-1)te.filters.push(J.payload);else{const re=te.filters[X],ne=[...re.values,...J.payload.values.filter(oe=>!re.values.some(de=>de.value===oe.value))];te.filters[X]={...re,values:ne}}}function setDiagnosticFilterValuesReducer(te,J){te.filters=[...te.filters].map(X=>isDiagnosticFilter(X)?{...X,enabledValues:J.payload}:X)}function addUpFiltersReducer(te,J){const X=te.filters.findIndex(isUpFilter);if(X===-1)te.filters.push(J.payload);else{const re=te.filters[X],ne=[...re.values,...J.payload.values.filter(oe=>!re.values.some(de=>de.value===oe.value))];te.filters[X]={...re,values:ne}}}function setUpFilterValuesReducer(te,J){te.filters=[...te.filters].map(X=>isUpFilter(X)?{...X,enabledValues:J.payload}:X)}function resetFiltersReducer(te,J){te.filters=te.filters.map(X=>X.id!=="common"&&X.id!=="history-diagnostics"&&X.id!=="history-up"?{...X,filters:X.filters.map(re=>re.singleOption?{...re,enabled:!1}:{...re,enabled:!0,enabledValues:[]})}:X.id==="history-diagnostics"||X.id==="history-up"?{...X,enabledValues:[]}:X.id==="common"?commonFilters[0]:X)}function setCustomFilterAllValuesReducer(te,J){te.filters=te.filters.map(X=>X.id===J.payload.filterGroupId?{...X,filters:X.filters.map(re=>re.id===J.payload.filterId?{...re,enabledValues:J.payload.values}:re)}:X)}const activityHistoryFiltersSlice=createSlice({name:"activity-history-filters",initialState:{searchString:"",filters:[...commonFilters]},reducers:{setSearchString:setSearchStringReducer,setCommonFilterValue:setCommonFilterValueReducer,addCustomFilters:addCustomFiltersReducer,setCustomFilterGroupValue:setCustomFilterGroupValueReducer,setCustomFilterValue:setCustomFilterValueReducer,setCustomFilterAllValues:setCustomFilterAllValuesReducer,addDiagnosticFilters:addDiagnosticFiltersReducer,setDiagnosticFilterValues:setDiagnosticFilterValuesReducer,addUpFilters:addUpFiltersReducer,setUpFilterValues:setUpFilterValuesReducer,resetFilters:resetFiltersReducer}}),store=configureStore({reducer:{activityHistoryCollections:activityHistoryCollectionsSlice.reducer,activityHistoryFilters:activityHistoryFiltersSlice.reducer},devTools:{name:"activity-history"},middleware:te=>te({serializableCheck:!1})});store.dispatch,store.getState;const container=new Container,{lazyInject}=getDecorators(container),bindDeps=te=>{container.bind(TYPES.primaryApi).toConstantValue(te),container.bind(TYPES.store).toConstantValue(store)},unbindDeps=()=>{container.unbind(TYPES.primaryApi),container.unbind(TYPES.store)};var __getOwnPropDesc$k=Object.getOwnPropertyDescriptor,__decorateClass$u=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$k(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam$5=(te,J)=>(X,re)=>J(X,re,te);let StoreBaseHandler=class{constructor(te){this.store=te}};StoreBaseHandler=__decorateClass$u([injectable(),__decorateParam$5(0,inject(TYPES.store))],StoreBaseHandler);let ApiBaseHandler=class{constructor(te){this.api=te}};ApiBaseHandler=__decorateClass$u([injectable(),__decorateParam$5(0,inject(TYPES.primaryApi))],ApiBaseHandler);let BaseHandler=class{constructor(te,J){this.store=te,this.api=J}};BaseHandler=__decorateClass$u([injectable(),__decorateParam$5(0,inject(TYPES.store)),__decorateParam$5(1,inject(TYPES.primaryApi))],BaseHandler);class AddCustomFiltersCommand{constructor(J){this.payload=J}}const{addBusyHistoryItem,removeBusyHistoryItem}=activityHistoryCollectionsSlice.actions,{addErrorHistoryItem,removeErrorHistoryItem}=activityHistoryCollectionsSlice.actions,validateAddAsyncCommand=(te,J)=>{if(te.entityId!==te.filters.id)throw new Error("entityId and filters.id must be the same");if(!te.filters.title)throw new Error("filters.title is required");if(!te.asyncDataProvider)throw new Error("asyncDataProvider is required");if(!te.componentFactory)throw new Error("componentFactory is required");if(!te.errorMessage)throw new Error("errorMessage is required for failure asyncDataProviders");if(!J)throw new Error("items is required");if(!Array.isArray(J))throw new Error("items must be an array")};class InjectAsyncHistoryItemsHandler extends BaseHandler{async handle(J){this.store.dispatch(addBusyHistoryItem(J.entityId));try{const X=await J.asyncDataProvider();validateAddAsyncCommand(J,X),this.api.broker.send("add_history_items_request",{entityId:J.entityId,entityDescription:J.entityDescription,items:X,componentFactory:J.componentFactory,searchPredicate:J.searchPredicate,asyncDataProvider:J.asyncDataProvider}),J.filters&&this.api.broker.send(new AddCustomFiltersCommand(J.filters))}catch(X){this.store.dispatch(addErrorHistoryItem({entityId:J.entityId,message:J.errorMessage||X.message,entityDescription:J.entityDescription}))}finally{this.store.dispatch(removeBusyHistoryItem(J.entityId))}}}let request$m;const bootstrapInjectAsyncHistoryItems=te=>{request$m=te.registerRequest("inject_async_history_items_request",InjectAsyncHistoryItemsHandler)},teardownInjectAsyncHistoryItems=()=>{request$m?.dispose()},isString=te=>typeof te=="string"&&te.trim()!=="",isValidDateString=te=>{if(typeof te!="string"||te.trim()==="")return!1;const J=new Date(te);return J instanceof Date&&!Number.isNaN(J.getTime())},isValidBasicActivityHistoryItem=te=>te&&isString(te.id)&&isValidDateString(te.date),ensureAreValidBasicActivityHistoryItems=te=>{if(!te.every(isValidBasicActivityHistoryItem))throw console.error("Invalid activity history items",te),new Error("Invalid activity history items");return te},notifyInvalidItem=te=>{console.error("Invalid history item",te)},validateAndFilterBasicItems=te=>{const J=[];for(const X of te)isValidBasicActivityHistoryItem(X)?J.push(X):notifyInvalidItem(X);return J},handleAddDiagnosticsFilter=(te,J)=>{const X=te.flatMap(re=>re.diagnostics??[]).filter(re=>typeof re.codi=="string"&&re.codi.trim()!=="").filter((re,ne,oe)=>ne===oe.findIndex(de=>de.codi===re.codi));if(X.length>0){const re={id:diagnosticsfilterId,title:"Diagnòstics",values:mapArrayToLabelValue(X,"descripcio","codi"),enabledValues:[]};J.dispatch(activityHistoryFiltersSlice.actions.addDiagnosticFilters(re))}},getUpFilter=te=>{const J=te.flatMap(X=>X.up??[]).filter(X=>X?.id?.trim()).filter((X,re,ne)=>re===ne.findIndex(oe=>oe.id===X.id));if(J.length>0)return{id:upFilterId,title:"UP",values:mapArrayToLabelValue(J,"description","id"),enabledValues:[]}},handleAddUpFilter=(te,J)=>{const X=getUpFilter(te);X&&J.dispatch(activityHistoryFiltersSlice.actions.addUpFilters(X))},{addActivityHistoryItem}=activityHistoryCollectionsSlice.actions;class AddHistoryItemHandler extends StoreBaseHandler{async handle(J){try{ensureAreValidBasicActivityHistoryItems([J.item]),handleAddDiagnosticsFilter([J.item],this.store),handleAddUpFilter([J.item],this.store),this.store.dispatch(addActivityHistoryItem({id:J.entityId,item:J.item}))}catch(X){console.log(X.message)}}}let request$l;const bootstrapAddHistoryItem=te=>{request$l=te.registerRequest("add_history_item_request",AddHistoryItemHandler)},teardownAddHistoryItem=()=>{request$l?.dispose()},{addActivityHistoryItems}=activityHistoryCollectionsSlice.actions;class AddHistoryItemsHandler extends StoreBaseHandler{async handle(J){try{const X=validateAndFilterBasicItems(J.items);handleAddDiagnosticsFilter(X,this.store),handleAddUpFilter(X,this.store),this.store.dispatch(addActivityHistoryItems({id:J.entityId,items:X,componentFactory:J.componentFactory,searchPredicate:J.searchPredicate,asyncDataProvider:J.asyncDataProvider}))}catch(X){console.log(X.message)}}}let request$k;const bootstrapAddHistoryItems=te=>{request$k=te.registerRequest("add_history_items_request",AddHistoryItemsHandler)},teardownAddHistoryItems=()=>{request$k?.dispose()},styles$k=".spinner-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}.skeleton-container{padding:20px;height:100%}";let pluginLocaleManager;const initializeLocalization=async te=>{pluginLocaleManager=await te.createLocaleManager(locales)},translate=te=>pluginLocaleManager?pluginLocaleManager.translate(te):te,locales={ca:{"activity-history":{activityHistory:"Històric d’activitat",search:"Cercar",groupedView:"Visió agrupada",maximize:"Ampliar",deleted:"Eliminat",goToDate:"Anar a data",busyEntriesLoading:"Carregant totes les entrades",noResults:"Sense resultats. Modifica la cerca",noData:{title:"Sense dades",description:"No existeix informació per a mostrar"},isGrouping:"Creant agrupacions i preparant les dades...",searchBarResults:"Resultats per",actions:{cronogram:"Cronograma",exportPdf:"Exportar PDF",moreOptions:"Més opcions",refresh:"Refrescar",entryLegend:"Llegenda entrades",maximizeButton:"Botó maximitzar",menuButton:"Botó menu"},modal:{selectExportOption:"Tria una opció d'exportació",allActivityHistory:"Tot l’històric d’activitat",onlyAppliedFilters:"Només amb filtres aplicats",selectDateRange:"En el cas que sigui necessari, selecciona un rang de dates",helpText:"Sense seleccionar data, s'aplicarà la de la primera entrada. Sense seleccionar data de fi, s'aplicarà la de l'última entrada.",startDate:"Data Inici",endDate:"Data Fi",cancel:"Cancel·lar",export:"Exportar"},filters:{filters:"Filtres",searchFilter:"Cercar filtre",ownFilters:"Els meus",rellevantFilters:"Rellevants",episode:"Episodi",dates:"Dates",diagnoses:"Diagnòstics",clinicalCourseType:"Tipus Curs Clínic",selected:"seleccionats",applyFilters:"Aplicar filtres",deleted:"Eliminats"},tooltips:{subjective:"Subjectiu",UPconfidenciality:"Confidencialitat: per a la meva UP"},grouped:{clinicalCourses:"Cursos clínics",activities:"Activitats",variablees:"Variables",prescriptions:"Prescripcions"},chipHeader:{selection:"Selecció:",without:"Sense",cleanFilters:"Netejar filtres"},error:{general:{title:"Hi ha hagut un problema durant la càrrega de contingut. Actualitza la pàgina o torna-ho a provar més tard.",refresh:"Actualitzar pàgina",noInfo:"No hi ha informació disponible."},partial:{title:"Hi ha hagut un problema i no s'ha pogut carregar les notes de tipus",refresh:"Actualitzar",limit:"Límit de clicks superat"},title:"Error en la càrrega",viewDetails:"Veure detalls",imageAlt:"Imatge d'error",errorToRefresh:"Error en l'acció d'actualitzar la pàgina"}}}},template$m=te=>te.isCollectionInitialState?ke$1`<div class="skeleton-container">${te.skeletons}</div>`:te.isSomeCollectionLoadedAndOtherLoading?ke$1`<div class="spinner-container"><dss-spinner size="sm"></dss-spinner><div class="busy-description">${translate("busyEntriesLoading")}</div></div>`:D$4;function connectedProperty(te,J={}){return createConnectedProperty(store)(te,J)}const isAnyCollectionBusySelector=te=>te.activityHistoryCollections.busy.length>0,isSomeCollectionLoadedAndOtherLoading=te=>Object.values(te.activityHistoryCollections.collections)&&isAnyCollectionBusySelector(te),isCollectionInitialState=te=>!Object.values(te.activityHistoryCollections.collections)?.length&&!isAnyCollectionBusySelector(te);var __defProp$n=Object.defineProperty,__getOwnPropDesc$j=Object.getOwnPropertyDescriptor,__decorateClass$t=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$j(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(J,X,ne):de(ne))||ne);return re&&ne&&__defProp$n(J,X,ne),ne};let ActivityHistoryBusy=class extends h$o{render(){return ke$1`${template$m(this)}`}get skeletons(){return Array.from({length:12},()=>ke$1`<dss-skeleton width="100" height="10"></dss-skeleton>`)}};ActivityHistoryBusy.styles=i$D`
|
|
312
312
|
${r$H(styles$k)}
|
|
@@ -656,7 +656,9 @@ ${te.searchString?.length>1?ke$1`
|
|
|
656
656
|
</div>
|
|
657
657
|
`;var __defProp$d=Object.defineProperty,__getOwnPropDesc$8=Object.getOwnPropertyDescriptor,__decorateClass$i=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$8(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(J,X,ne):de(ne))||ne);return re&&ne&&__defProp$d(J,X,ne),ne};let ActivityHistoryMain=class extends PrimariaRegionHost(h$o){constructor(){super(...arguments),this.subscriptions=[],this._searchTimeout=null,this.maximized=!1,this.searchQuery=""}render(){return ke$1`${template$b(this)}`}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._unsubscribeEvents()}firstUpdated(){super.firstUpdated(),this._subscribeEvents()}_maximize(){this.maximized=!0}_minimize(){this.maximized=!1}_subscribeEvents(){const te=this.api.broker.subscribe("mainViewChanged",({viewId:J})=>{(J==="clinical-monitoring"||J==="admin-clinical-monitoring")&&(this.maximized=!1)});this.subscriptions.push(te)}_unsubscribeEvents(){this.subscriptions.forEach(te=>te.dispose())}_handleSelectDate(te){const J=parse(te,"dd/MM/yyyy",new Date);this.scrollToClosestDate(J)}_handleSearchChange(te){typeof te.detail=="string"&&(this.searchQuery=te.detail,this._searchTimeout&&clearTimeout(this._searchTimeout),this._searchTimeout=setTimeout(()=>{this.api.broker.send(new SearchActivityHistoryItems(this.searchQuery))},300))}async _raiseEcapCronogramEvent(){const te=await this.api.broker.send("get_patient_cip");this.api.ecapEventManager.publish("CRONOGRAMA","NO_TANCAR",{CIP:te})}scrollToClosestDate(te){const J=te.getTime();this.shadowRoot.querySelector("activity-history-timeline")._scrollIntoDate(J)}_refreshHistory(){this.api.broker.send(new HandleRefreshHistoryItems)}};ActivityHistoryMain.styles=i$D`
|
|
658
658
|
${r$H(styles$9)}
|
|
659
|
-
`,__decorateClass$i([n$z({type:Boolean,reflect:!0})],ActivityHistoryMain.prototype,"maximized",2),__decorateClass$i([lazyInject(TYPES.primaryApi)],ActivityHistoryMain.prototype,"api",2),__decorateClass$i([connectedProperty(activityHistoryCollectionsSelector)],ActivityHistoryMain.prototype,"historyItems",2),__decorateClass$i([connectedProperty(isCollectionInitialState)],ActivityHistoryMain.prototype,"isCollectionInitialState",2),__decorateClass$i([connectedProperty(isSomeCollectionLoadedAndOtherLoading)],ActivityHistoryMain.prototype,"isSomeCollectionLoadedAndOtherLoading",2),__decorateClass$i([n$z()],ActivityHistoryMain.prototype,"searchQuery",2),ActivityHistoryMain=__decorateClass$i([t$k("activity-history-main")],ActivityHistoryMain);const registerViews=te=>{te.regionManager.registerView(te.regionManager.regions.clinicalMonitoring.content,{id:te.pluginInfo.pluginId,factory:()=>Promise.resolve(new ActivityHistoryMain)})},unregisterViews=()=>{const te=container.get(TYPES.primaryApi);te.regionManager.removeView(te.regionManager.regions.clinicalMonitoring.content,te.pluginInfo.pluginId)},bootstrapFeatures=te=>{bootstrapActivityHistoryItem(te)},teardownFeatures=()=>{teardownActivityHistoryItem()},initialize=async te=>(setShellApiForOwnSpec(te),registerViews(te),await initializeLocalization(te),bindDeps(te),bootstrapFeatures(te),Promise.resolve()),dispose=()=>(setShellApiForOwnSpec(null),teardownFeatures(),unregisterViews(),unbindDeps(),Promise.resolve());let bootstrappedPlugins=[];const internalPlugins=[{pluginId:"activity-history",importer:()=>Promise.resolve({initialize,dispose})}],bootstrapPlugins=async(te,J)=>{const X=internalPlugins.concat(te||[]);bootstrappedPlugins=await v$k(X,primariaApiFactory),setTimeout(()=>{handleStartupPlugin(bootstrappedPlugins,J)},500)},handleStartupPlugin=(te,J)=>{if(te&&te.length>0&&J?.pluginId){const X=te.find(re=>re?.apiInstance.pluginInfo.pluginId===J.pluginId);X?.importedPlugin?.startup&&X?.importedPlugin?.startup?.(X.apiInstance,J.params)}},disposePlugins=async()=>Promise.all(bootstrappedPlugins.map(te=>te?.dispose()));var __getOwnPropDesc$7=Object.getOwnPropertyDescriptor,__decorateClass$h=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$7(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam$4=(te,J)=>(X,re)=>J(X,re,te);let ExitShellHandler=class{constructor(te){this.api=te}async handle(te){const J=te&&te.ecapEvent!==void 0?te:void 0;try{const X=this.api.pluginBusyManager.getTasks();if(X.length>0){const{confirmed:re}=await this.askForClose(X);if(!re)return}await Promise.race([disposePlugins(),this.timeout(1e4)]),disposeShell(),this.emitClose(J)}catch{this.api.notificationService.error(translate$1("errors.exit")),this.emitClose(J)}}askForClose(te){return this.api.interactionService.confirm({busyTasks:te},{component:PluginBusyList},{title:translate$1("actions.askExit"),state:"error",confirmButtonText:"Sí",cancelButtonText:"No"})}timeout(te){return new Promise(J=>setTimeout(J,te))}emitClose(te){te?raiseCustomCloseEvent(te):raiseCloseEvent()}};ExitShellHandler=__decorateClass$h([__decorateParam$4(0,inject(TYPES$1.primaryApi))],ExitShellHandler);class ExitShell{constructor(J,X){this.ecapEvent=J,this.payload=X}}let request$3;const useExitShell=te=>{disposeExitShell(),request$3=registerRequest(te,container$1)(ExitShell,ExitShellHandler)},disposeExitShell=()=>{request$3?.dispose()};var __getOwnPropDesc$6=Object.getOwnPropertyDescriptor,__decorateClass$g=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$6(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam$3=(te,J)=>(X,re)=>J(X,re,te);let GetUserInfoBackendAdapter=class{constructor(te){this.api=te}getUserInfo(){const te=jwtDecode(this.api.tokenManager.getToken()),J={userId:this.getUserId(te.access_info),firstName:te.access_info.trace_user_given_name,familyName:te.access_info.trace_user_family_name,lastName:te.access_info.trace_user_last_name,registrationNumber:te.access_info.identifier.find(X=>X.type==="NUMCOL")?.value,workCenter:te.access_info.center_code,role:te.access_info.role_type,speciality:te.access_info.professional_category};return Promise.resolve(J)}getUserId(te){return te.identifier?.find(J=>J.type==="DNI")?.value||te.identifier?.find(J=>J.type==="NIE")?.value}};GetUserInfoBackendAdapter=__decorateClass$g([injectable(),__decorateParam$3(0,inject(TYPES$1.primaryApi))],GetUserInfoBackendAdapter);var __getOwnPropDesc$5=Object.getOwnPropertyDescriptor,__decorateClass$f=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$5(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam$2=(te,J)=>(X,re)=>J(X,re,te);let GetUserInfoHandler=class{constructor(te,J){this.api=te,this.backendAdapter=J}async handle(te){try{const J=await this.backendAdapter.getUserInfo();return this.api.globalStateManager.setData("userInfo",J),J}catch(J){this.api.notificationService.error(J.message)}}};GetUserInfoHandler=__decorateClass$f([__decorateParam$2(0,inject(TYPES$1.primaryApi)),__decorateParam$2(1,inject(GetUserInfoBackendAdapter))],GetUserInfoHandler);class GetUserInfo{}let request$2;const useGetUserInfo=te=>{disposeGetUserInfo(),request$2=registerRequest(te,container$1)(GetUserInfo,GetUserInfoHandler),registerDep(GetUserInfoBackendAdapter)},disposeGetUserInfo=()=>{request$2?.dispose(),unregisterDep(GetUserInfoBackendAdapter)};var __getOwnPropDesc$4=Object.getOwnPropertyDescriptor,__decorateClass$e=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$4(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam$1=(te,J)=>(X,re)=>J(X,re,te);let GetVisitIdHandler=class{constructor(te){this.api=te}async handle(te){try{return await this.getVisitId()}catch(J){this.api.notificationService.error(J.message);return}}getVisitId(){const J=new URLSearchParams(window.location.search).get("visit_id");return Promise.resolve(J||void 0)}};GetVisitIdHandler=__decorateClass$e([__decorateParam$1(0,inject(TYPES$1.primaryApi))],GetVisitIdHandler);class GetVisitId{}let request$1;const useGetVisitId=te=>{disposeGetVisitId(),request$1=registerRequest(te,container$1)(GetVisitId,GetVisitIdHandler)},disposeGetVisitId=()=>{request$1?.dispose()};var __getOwnPropDesc$3=Object.getOwnPropertyDescriptor,__decorateClass$d=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$3(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam=(te,J)=>(X,re)=>J(X,re,te);let FinalizeVisitHandler=class{constructor(te){this.api=te}async handle(te){try{const J=te.visitId;this.api.broker.send(new ExitShell("RESOL_VISITA",{VisiID:J}))}catch(J){this.api.notificationService.error(J.message)}}};FinalizeVisitHandler=__decorateClass$d([__decorateParam(0,inject(TYPES$1.primaryApi))],FinalizeVisitHandler);class FinalizeVisit{constructor(J){this.visitId=J}}let request;const useFinalizeVisit=te=>{disposeFinalizeVisit(),request=registerRequest(te,container$1)(FinalizeVisit,FinalizeVisitHandler)},disposeFinalizeVisit=()=>{request?.dispose()},useFeatures=te=>{container$1.bind(TYPES$1.primaryApi).toConstantValue(te),useGetUserInfo(te),useExitShell(te),useGetVisitId(te),useFinalizeVisit(te),te.broker.send(new GetUserInfo)},disposeFeatures=te=>{disposeGetUserInfo(),disposeExitShell(),disposeGetVisitId(),disposeFinalizeVisit(),container$1.unbindAll(),te.regionManager._destroy(),mediatorSettings.resolver.clear()},disposeShell=()=>{disposeFeatures(shellApi)},raiseCloseEvent=()=>{shellApi.ecapEventManager.publish("CLOSE_FORM","",{})},raiseCustomCloseEvent=te=>{shellApi.ecapEventManager.publish(te.ecapEvent,"",te.payload)};var shellViews=(te=>(te.shell="primaria-shell",te.error="primaria-error-view",te))(shellViews||{});const styles$8=":host{width:100%;overflow:hidden}#main-switcher{display:inherit}.container{width:100%;height:100%;display:flex;flex-direction:column;background:#fff}.main-container{min-height:1px;height:100%;display:flex}.main-container .sidebar{padding-inline:16px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;background:var(--color-primary-700);width:40px;height:100%;color:#fff}.main-container .sidebar .quick-actions-content{padding-top:24px;padding-bottom:22px;border-radius:8px}.main-container .sidebar .quick-actions-content .create-button-icon-badge{position:relative}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-notification-badge{position:absolute;top:-7px;right:-6px;z-index:1}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-icon{position:relative}.main-container .sidebar .icon{margin-left:8px}.main-container .sidebar #menu-region-container{padding-top:24px;min-height:1px;height:100%;width:100%;display:flex;flex-direction:column;gap:4px;overflow-y:auto;margin-right:-14px;padding-right:14px;scrollbar-color:var(--color-primary-200) var(--color-primary-700);scrollbar-width:thin}.main-container .sidebar #menu-region-container::-webkit-scrollbar{width:6px}.main-container .sidebar #menu-region-container::-webkit-scrollbar-track{background:var(--color-primary-700)}.main-container .sidebar #menu-region-container::-webkit-scrollbar-thumb{background-color:var(--color-primary-400);border-radius:4px}.main-container .sidebar .bottom-content{display:flex;flex-direction:column;gap:24px;width:100%}.main-container .sidebar .bottom-content .bottom-content-first{display:flex;flex-direction:column;gap:22px}.main-container .sidebar[expanded]{width:252px;align-items:flex-start}.main-container .sidebar .create-button-closed{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;width:40px;height:40px;display:flex;flex-direction:row;align-items:center;justify-content:center;transition:background-color .3s ease}.main-container .sidebar .create-button-closed:hover{background-color:var(--color-primary-900);color:#fff}.main-container .sidebar .create-button-opened{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;gap:8px;font-weight:600;width:220px;height:40px;display:flex;flex-direction:row;align-items:center;transition:background-color .3s ease}.main-container .sidebar .create-button-opened:hover{background-color:var(--color-primary-900);color:#fff}.main-container .content{display:flex;height:100%;width:100%}.main-container #main-region-container{min-height:1px;height:100%;flex:1}.main-container #navigation-menu-lower-region-container{display:flex;flex-direction:column;gap:4px}.main-container #floating-region-container{position:fixed;z-index:300}.footer{display:flex;height:48px;padding:12px 24px}.footer .footer-logo{align-self:center;display:flex;gap:16px}.divider-opened{width:220px}.divider-closed{width:40px}.toggle-button{margin-bottom:24px}@media (max-width: 1439px){.bottom-content-first{margin-bottom:24px}.toggle-button{display:none}.content{overflow-y:auto}}";let t$g="";function f$o(){return t$g}function s$u(te,J){const X=f$o(),re=`${te}${X}`;customElements.define(re,J)}const e$I="*,*:before,*:after{box-sizing:border-box}*{margin:0;padding:0;font-family:var(--font-family)}ul,ol{list-style:none}",n$w={type:Boolean,converter:{fromAttribute:te=>te!==null&&te!=="false",toAttribute:te=>te?"true":null}},o$I={fromAttribute:te=>!(te===null||te==="false"),toAttribute:te=>te?"":null},i$z={type:Array,converter:{fromAttribute:te=>{if(!te)return[];const J=JSON.parse(te);return Array.isArray(J)?J.map(X=>X.toString()):[J.toString()]},toAttribute:te=>JSON.stringify(te)}},i$y=':host{display:flex;align-items:center}.dss-icon,.material-symbols-rounded{font-family:var(--icon-font);font-size:var(--icon-size-md);font-weight:400;font-style:normal;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24}.dss-icon--fill,.material-symbols-rounded--fill{font-variation-settings:"FILL" 1}.dss-icon--sm{font-size:var(--icon-size-sm)}.dss-icon--md{font-size:var(--icon-size-md)}.dss-icon--lg{font-size:var(--icon-size-lg)}.dss-icon--xl{font-size:var(--icon-size-xl)}.dss-icon-ghost{display:inline-block;height:var(--icon-size-md);width:var(--icon-size-md);overflow:hidden;background-color:transparent}.dss-icon-ghost--sm{height:var(--icon-size-sm);width:var(--icon-size-sm);border-radius:var(--dss-radius-xs)}.dss-icon-ghost--lg{height:var(--icon-size-lg);width:var(--icon-size-lg)}.dss-icon-ghost--xl{height:var(--icon-size-xl);width:var(--icon-size-xl)}',d$n=te=>ke$1`
|
|
659
|
+
`,__decorateClass$i([n$z({type:Boolean,reflect:!0})],ActivityHistoryMain.prototype,"maximized",2),__decorateClass$i([lazyInject(TYPES.primaryApi)],ActivityHistoryMain.prototype,"api",2),__decorateClass$i([connectedProperty(activityHistoryCollectionsSelector)],ActivityHistoryMain.prototype,"historyItems",2),__decorateClass$i([connectedProperty(isCollectionInitialState)],ActivityHistoryMain.prototype,"isCollectionInitialState",2),__decorateClass$i([connectedProperty(isSomeCollectionLoadedAndOtherLoading)],ActivityHistoryMain.prototype,"isSomeCollectionLoadedAndOtherLoading",2),__decorateClass$i([n$z()],ActivityHistoryMain.prototype,"searchQuery",2),ActivityHistoryMain=__decorateClass$i([t$k("activity-history-main")],ActivityHistoryMain);const registerViews=te=>{te.regionManager.registerView(te.regionManager.regions.clinicalMonitoring.content,{id:te.pluginInfo.pluginId,factory:()=>Promise.resolve(new ActivityHistoryMain)})},unregisterViews=()=>{const te=container.get(TYPES.primaryApi);te.regionManager.removeView(te.regionManager.regions.clinicalMonitoring.content,te.pluginInfo.pluginId)},bootstrapFeatures=te=>{bootstrapActivityHistoryItem(te)},teardownFeatures=()=>{teardownActivityHistoryItem()},initialize=async te=>(setShellApiForOwnSpec(te),registerViews(te),await initializeLocalization(te),bindDeps(te),bootstrapFeatures(te),Promise.resolve()),dispose=()=>(setShellApiForOwnSpec(null),teardownFeatures(),unregisterViews(),unbindDeps(),Promise.resolve());let bootstrappedPlugins=[];const internalPlugins=[{pluginId:"activity-history",importer:()=>Promise.resolve({initialize,dispose})}],bootstrapPlugins=async(te,J)=>{const X=internalPlugins.concat(te||[]);bootstrappedPlugins=await v$k(X,primariaApiFactory),setTimeout(()=>{handleStartupPlugin(bootstrappedPlugins,J)},500)},handleStartupPlugin=(te,J)=>{if(te&&te.length>0&&J?.pluginId){const X=te.find(re=>re?.apiInstance.pluginInfo.pluginId===J.pluginId);X?.importedPlugin?.startup&&X?.importedPlugin?.startup?.(X.apiInstance,J.params)}},disposePlugins=async()=>Promise.all(bootstrappedPlugins.map(te=>te?.dispose()));var __getOwnPropDesc$7=Object.getOwnPropertyDescriptor,__decorateClass$h=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$7(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam$4=(te,J)=>(X,re)=>J(X,re,te);let ExitShellHandler=class{constructor(te){this.api=te}async handle(te){const J=te&&te.ecapEvent!==void 0?te:void 0;try{const X=this.api.pluginBusyManager.getTasks();if(X.length>0){const{confirmed:re}=await this.askForClose(X);if(!re)return}await Promise.race([disposePlugins(),this.timeout(1e4)]),disposeShell(),this.emitClose(J)}catch{this.api.notificationService.error(translate$1("errors.exit")),this.emitClose(J)}}askForClose(te){return this.api.interactionService.confirm({busyTasks:te},{component:PluginBusyList},{title:translate$1("actions.askExit"),state:"error",confirmButtonText:"Sí",cancelButtonText:"No"})}timeout(te){return new Promise(J=>setTimeout(J,te))}emitClose(te){te?raiseCustomCloseEvent(te):raiseCloseEvent()}};ExitShellHandler=__decorateClass$h([__decorateParam$4(0,inject(TYPES$1.primaryApi))],ExitShellHandler);class ExitShell{constructor(J,X){this.ecapEvent=J,this.payload=X}}let request$3;const useExitShell=te=>{disposeExitShell(),request$3=registerRequest(te,container$1)(ExitShell,ExitShellHandler)},disposeExitShell=()=>{request$3?.dispose()};var __getOwnPropDesc$6=Object.getOwnPropertyDescriptor,__decorateClass$g=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$6(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam$3=(te,J)=>(X,re)=>J(X,re,te);let GetUserInfoBackendAdapter=class{constructor(te){this.api=te}getUserInfo(){const te=jwtDecode(this.api.tokenManager.getToken()),J={userId:this.getUserId(te.access_info),firstName:te.access_info.trace_user_given_name,familyName:te.access_info.trace_user_family_name,lastName:te.access_info.trace_user_last_name,registrationNumber:te.access_info.identifier.find(X=>X.type==="NUMCOL")?.value,workCenter:te.access_info.center_code,role:te.access_info.role_type,speciality:te.access_info.professional_category};return Promise.resolve(J)}getUserId(te){return te.identifier?.find(J=>J.type==="DNI")?.value||te.identifier?.find(J=>J.type==="NIE")?.value}};GetUserInfoBackendAdapter=__decorateClass$g([injectable(),__decorateParam$3(0,inject(TYPES$1.primaryApi))],GetUserInfoBackendAdapter);var __getOwnPropDesc$5=Object.getOwnPropertyDescriptor,__decorateClass$f=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$5(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam$2=(te,J)=>(X,re)=>J(X,re,te);let GetUserInfoHandler=class{constructor(te,J){this.api=te,this.backendAdapter=J}async handle(te){try{const J=await this.backendAdapter.getUserInfo();return this.api.globalStateManager.setData("userInfo",J),J}catch(J){this.api.notificationService.error(J.message)}}};GetUserInfoHandler=__decorateClass$f([__decorateParam$2(0,inject(TYPES$1.primaryApi)),__decorateParam$2(1,inject(GetUserInfoBackendAdapter))],GetUserInfoHandler);class GetUserInfo{}let request$2;const useGetUserInfo=te=>{disposeGetUserInfo(),request$2=registerRequest(te,container$1)(GetUserInfo,GetUserInfoHandler),registerDep(GetUserInfoBackendAdapter)},disposeGetUserInfo=()=>{request$2?.dispose(),unregisterDep(GetUserInfoBackendAdapter)};var __getOwnPropDesc$4=Object.getOwnPropertyDescriptor,__decorateClass$e=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$4(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam$1=(te,J)=>(X,re)=>J(X,re,te);let GetVisitIdHandler=class{constructor(te){this.api=te}async handle(te){try{return await this.getVisitId()}catch(J){this.api.notificationService.error(J.message);return}}getVisitId(){const J=new URLSearchParams(window.location.search).get("visit_id");return Promise.resolve(J||void 0)}};GetVisitIdHandler=__decorateClass$e([__decorateParam$1(0,inject(TYPES$1.primaryApi))],GetVisitIdHandler);class GetVisitId{}let request$1;const useGetVisitId=te=>{disposeGetVisitId(),request$1=registerRequest(te,container$1)(GetVisitId,GetVisitIdHandler)},disposeGetVisitId=()=>{request$1?.dispose()};var __getOwnPropDesc$3=Object.getOwnPropertyDescriptor,__decorateClass$d=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$3(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(ne)||ne);return ne},__decorateParam=(te,J)=>(X,re)=>J(X,re,te);let FinalizeVisitHandler=class{constructor(te){this.api=te}async handle(te){try{const J=te.visitId;this.api.broker.send(new ExitShell("RESOL_VISITA",{VisiID:J}))}catch(J){this.api.notificationService.error(J.message)}}};FinalizeVisitHandler=__decorateClass$d([__decorateParam(0,inject(TYPES$1.primaryApi))],FinalizeVisitHandler);class FinalizeVisit{constructor(J){this.visitId=J}}const template$a=te=>ke$1`
|
|
660
|
+
${te.visitId?ke$1`<dss-button @click=${te.finalizeVisitHandler} variant="subtle" size="md" icon="door_front" label=${translate$1("actions.finalizeVisit")}></dss-button>`:D$4}
|
|
661
|
+
`;var __defProp$c=Object.defineProperty,__decorateClass$c=(te,J,X,re)=>{for(var ne=void 0,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&__defProp$c(J,X,ne),ne};class FinalizeVisitButton extends h$o{constructor(J){super(),this.visitId=J}render(){return ke$1`${template$a(this)}`}finalizeVisitHandler(){this.visitId&&shellApi.broker.send(new FinalizeVisit(this.visitId))}}__decorateClass$c([n$z({type:String})],FinalizeVisitButton.prototype,"visitId");let request;const useFinalizeVisit=(te,J)=>{disposeFinalizeVisit(),J?.visitId&&(te.regionManager.registerView(te.regionManager.regions.shell.headerRightActions,{id:"finalize-visit-button",sortHint:"0001",factory:()=>Promise.resolve(new FinalizeVisitButton(J.visitId))}),request=registerRequest(te,container$1)(FinalizeVisit,FinalizeVisitHandler))},disposeFinalizeVisit=()=>{request?.dispose()},useFeatures=(te,J)=>{container$1.bind(TYPES$1.primaryApi).toConstantValue(te),useGetUserInfo(te),useExitShell(te),useGetVisitId(te),useFinalizeVisit(te,J),te.broker.send(new GetUserInfo)},disposeFeatures=te=>{disposeGetUserInfo(),disposeExitShell(),disposeGetVisitId(),disposeFinalizeVisit(),container$1.unbindAll(),te.regionManager._destroy(),mediatorSettings.resolver.clear()},disposeShell=()=>{disposeFeatures(shellApi)},raiseCloseEvent=()=>{shellApi.ecapEventManager.publish("CLOSE_FORM","",{})},raiseCustomCloseEvent=te=>{shellApi.ecapEventManager.publish(te.ecapEvent,"",te.payload)};var shellViews=(te=>(te.shell="primaria-shell",te.error="primaria-error-view",te))(shellViews||{});const styles$8=":host{width:100%;overflow:hidden}#main-switcher{display:inherit}.container{width:100%;height:100%;display:flex;flex-direction:column;background:#fff}.main-container{min-height:1px;height:100%;display:flex}.main-container .sidebar{padding-inline:16px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;background:var(--color-primary-700);width:40px;height:100%;color:#fff}.main-container .sidebar .quick-actions-content{padding-top:24px;padding-bottom:22px;border-radius:8px}.main-container .sidebar .quick-actions-content .create-button-icon-badge{position:relative}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-notification-badge{position:absolute;top:-7px;right:-6px;z-index:1}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-icon{position:relative}.main-container .sidebar .icon{margin-left:8px}.main-container .sidebar #menu-region-container{padding-top:24px;min-height:1px;height:100%;width:100%;display:flex;flex-direction:column;gap:4px;overflow-y:auto;margin-right:-14px;padding-right:14px;scrollbar-color:var(--color-primary-200) var(--color-primary-700);scrollbar-width:thin}.main-container .sidebar #menu-region-container::-webkit-scrollbar{width:6px}.main-container .sidebar #menu-region-container::-webkit-scrollbar-track{background:var(--color-primary-700)}.main-container .sidebar #menu-region-container::-webkit-scrollbar-thumb{background-color:var(--color-primary-400);border-radius:4px}.main-container .sidebar .bottom-content{display:flex;flex-direction:column;gap:24px;width:100%}.main-container .sidebar .bottom-content .bottom-content-first{display:flex;flex-direction:column;gap:22px}.main-container .sidebar[expanded]{width:252px;align-items:flex-start}.main-container .sidebar .create-button-closed{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;width:40px;height:40px;display:flex;flex-direction:row;align-items:center;justify-content:center;transition:background-color .3s ease}.main-container .sidebar .create-button-closed:hover{background-color:var(--color-primary-900);color:#fff}.main-container .sidebar .create-button-opened{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;gap:8px;font-weight:600;width:220px;height:40px;display:flex;flex-direction:row;align-items:center;transition:background-color .3s ease}.main-container .sidebar .create-button-opened:hover{background-color:var(--color-primary-900);color:#fff}.main-container .content{display:flex;height:100%;width:100%}.main-container #main-region-container{min-height:1px;height:100%;flex:1}.main-container #navigation-menu-lower-region-container{display:flex;flex-direction:column;gap:4px}.main-container #floating-region-container{position:fixed;z-index:300}.footer{display:flex;height:48px;padding:12px 24px}.footer .footer-logo{align-self:center;display:flex;gap:16px}.divider-opened{width:220px}.divider-closed{width:40px}.toggle-button{margin-bottom:24px}@media (max-width: 1439px){.bottom-content-first{margin-bottom:24px}.toggle-button{display:none}.content{overflow-y:auto}}";let t$g="";function f$o(){return t$g}function s$u(te,J){const X=f$o(),re=`${te}${X}`;customElements.define(re,J)}const e$I="*,*:before,*:after{box-sizing:border-box}*{margin:0;padding:0;font-family:var(--font-family)}ul,ol{list-style:none}",n$w={type:Boolean,converter:{fromAttribute:te=>te!==null&&te!=="false",toAttribute:te=>te?"true":null}},o$I={fromAttribute:te=>!(te===null||te==="false"),toAttribute:te=>te?"":null},i$z={type:Array,converter:{fromAttribute:te=>{if(!te)return[];const J=JSON.parse(te);return Array.isArray(J)?J.map(X=>X.toString()):[J.toString()]},toAttribute:te=>JSON.stringify(te)}},i$y=':host{display:flex;align-items:center}.dss-icon,.material-symbols-rounded{font-family:var(--icon-font);font-size:var(--icon-size-md);font-weight:400;font-style:normal;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24}.dss-icon--fill,.material-symbols-rounded--fill{font-variation-settings:"FILL" 1}.dss-icon--sm{font-size:var(--icon-size-sm)}.dss-icon--md{font-size:var(--icon-size-md)}.dss-icon--lg{font-size:var(--icon-size-lg)}.dss-icon--xl{font-size:var(--icon-size-xl)}.dss-icon-ghost{display:inline-block;height:var(--icon-size-md);width:var(--icon-size-md);overflow:hidden;background-color:transparent}.dss-icon-ghost--sm{height:var(--icon-size-sm);width:var(--icon-size-sm);border-radius:var(--dss-radius-xs)}.dss-icon-ghost--lg{height:var(--icon-size-lg);width:var(--icon-size-lg)}.dss-icon-ghost--xl{height:var(--icon-size-xl);width:var(--icon-size-xl)}',d$n=te=>ke$1`
|
|
660
662
|
|
|
661
663
|
${te.fontLoaded?ke$1`
|
|
662
664
|
<i
|
|
@@ -3153,7 +3155,7 @@ ${te.searchString?.length>1?ke$1`
|
|
|
3153
3155
|
<slot name="menu"></slot>
|
|
3154
3156
|
</div>
|
|
3155
3157
|
</div>
|
|
3156
|
-
`};var f$9=Object.defineProperty,C$8=Object.getOwnPropertyDescriptor,i$b=(te,J,X,re)=>{for(var ne=re>1?void 0:re?C$8(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(J,X,ne):de(ne))||ne);return re&&ne&&f$9(J,X,ne),ne};let n$c=class extends h$o{constructor(){super(),this.secondaryLabelOpen="Obrir",this.secondaryLabelClose="Tamcar",this.icon=void 0,this.iconFill=!1,this._iconSize="md",this._size="lg",this._iconClose="expand_more",this._iconOpen="expand_less",this._variant="primary",this._text="",this._disabled=!1,this._isOpen=!1,this._dropdownPosition="bottom-right",this._hasMenu=!1,this._handleDocumentClickBound=this._handleDocumentClick.bind(this)}static get styles(){return[r$H(i$y),r$H(o$w),r$H(s$6)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound)}get _actionMenu(){var J;const X=((J=this.shadowRoot)==null?void 0:J.querySelector('slot[name="menu"]'))||void 0;return this.requestUpdate(),X?.assignedElements()[0]}set iconClose(J){const X=this._iconClose;this._iconClose=J,this.requestUpdate("iconClose",X)}get iconClose(){return this._iconClose}set iconOpen(J){const X=this._iconOpen;this._iconOpen=J,this.requestUpdate("iconOpen",X)}get iconOpen(){return this._iconOpen}set variant(J){const X=this._variant;this._variant=J,this.requestUpdate("variant",X)}get variant(){return this._variant}set text(J){const X=this._text;this._text=J,this.requestUpdate("text",X)}get text(){return this._text}set disabled(J){const X=this._disabled;this._disabled=J,this.requestUpdate("disabled",X)}get disabled(){return this._disabled}set isOpen(J){const X=this._isOpen;this._isOpen=J,this.requestUpdate("disabled",X)}get isOpen(){return this._isOpen}set size(J){const X=this._size;J==="md"||J==="sm"?this._size=J:this._size="lg",this.requestUpdate("size",X)}get size(){return this._size}set dropdownPosition(J){const X=this._dropdownPosition;this._dropdownPosition=J,this.requestUpdate("dropdownPosition",X)}get dropdownPosition(){return this._dropdownPosition}set hasMenu(J){const X=this._hasMenu;this._hasMenu=J,this.requestUpdate("hasMenu",X)}get hasMenu(){return this._hasMenu}_dispatchMainClick(){const J={bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("onClick",J))}_dispatchIconClick(){this._hasMenu&&this._toggleMenu();const J={bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("onSecondaryClick",J))}_toggleMenu(){this._isOpen=!this._isOpen,this.requestUpdate()}_handleActionMenuClosed(){this._isOpen=!1,this._actionMenu&&!this._isOpen&&this._actionMenu._closeMenu()}_handleDocumentClick(J){this._clickedOutsideItem(this,J)}_clickedOutsideItem(J,X){X.composedPath().includes(J)||this._isOpen&&(this._isOpen=!1,this.requestUpdate())}async firstUpdated(){await this.updateComplete,this._actionMenu&&this._actionMenu.addEventListener("onCloseActionMenu",()=>{this._handleActionMenuClosed()})}willUpdate(J){J.has("size")&&(this._iconSize=this.size==="lg"?"md":"sm")}render(){return _$7(this)}};i$b([n$z({type:String})],n$c.prototype,"iconClose",1),i$b([n$z({type:String})],n$c.prototype,"iconOpen",1),i$b([n$z({type:String})],n$c.prototype,"variant",1),i$b([n$z({type:String})],n$c.prototype,"text",1),i$b([n$z(n$w)],n$c.prototype,"disabled",1),i$b([n$z(n$w)],n$c.prototype,"isOpen",1),i$b([n$z({type:String})],n$c.prototype,"size",1),i$b([n$z({type:String})],n$c.prototype,"dropdownPosition",1),i$b([n$z(n$w)],n$c.prototype,"hasMenu",1),i$b([n$z({type:String})],n$c.prototype,"secondaryLabelOpen",2),i$b([n$z({type:String})],n$c.prototype,"secondaryLabelClose",2),i$b([n$z({type:String})],n$c.prototype,"icon",2),i$b([n$z(n$w)],n$c.prototype,"iconFill",2);const r$c=':host{display:inline-block;height:100%;width:100%;--circle: 32px;--circle-md: 24px;--circle-sm: 16px;--default-background: var(--color-white);--default-border-color: var(--color-neutral-500);--default-font-color: var(--color-neutral-900);--default-background-hover: var(--color-neutral-50);--default-font-color-active: var(--color-neutral-500);--active-background: var(--color-primary-500);--active-border-color: var(--color-primary-500);--active-font-color: var(--color-white);--completed-background: var(--color-primary-50);--disabled-background: var(--color-neutral-100);--disabled-border-color: var(--color-neutral-100);--disabled-font-color: var(--color-neutral-600);--line-width: 2px;--font-size: 18px;--font-size-md: 16px;--font-size-sm: 16px}.dss-circular-stepper{display:flex;gap:16px;align-items:center}.dss-circular-stepper__item{width:3rem;height:3rem;position:relative}.dss-circular-stepper__item svg{width:3rem;height:3rem;transform:rotate(-90deg)}.dss-circular-stepper__counter{position:absolute;font-size:.9rem;line-height:24px;left:0;top:0;width:3rem;height:3rem;display:flex;justify-content:center;align-items:center}.dss-circular-stepper__label,.dss-circular-stepper__counter b{font-weight:600;color:var(--color-neutral-700);font-size:.9rem;transition:.3s all ease-in;line-height:24px}.dss-circular-stepper circle{stroke:var(--color-neutral-200);stroke-dashoffset:0;fill:none;stroke-linecap:round;stroke-width:6px;stroke-dasharray:100,100;transition:.3s all ease-in}.dss-circular-stepper circle:last-of-type{stroke:var(--color-primary-500);stroke-dasharray:var(--percent),100;stroke-dashoffset:0}.dss-stepper{display:flex;list-style:none;justify-content:space-between;background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle) - var(--line-width)) / 2) / 100% var(--line-width);margin:var(--dss-spacing-xxs) 0 var(--dss-spacing-xl);padding:0;counter-reset:step}.dss-stepper--md{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-md) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-stepper--sm{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-sm) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-bubble{display:grid;place-items:center;gap:0;position:relative;border-radius:50%;transition:.3s outline ease-in}.dss-bubble:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-bubble:before{cursor:pointer;content:counter(step) " ";counter-increment:step;display:grid;place-content:center;aspect-ratio:1;height:var(--circle);box-sizing:border-box;border-radius:50%;font-size:var(--font-size);font-weight:var(--font-semibold);font-family:var(--font-family);z-index:100;background-color:var(--default-background);border:var(--line-width) solid var(--active-border-color);color:var(--default-font-color);transition:.3s all ease-in}.dss-bubble:not(.dss-bubble--active):not(:active):hover:before{background-color:var(--completed-background)}.dss-stepper--md .dss-bubble:before{height:var(--circle-md);font-size:var(--font-size-md)}.dss-stepper--sm .dss-bubble:before{content:"";height:var(--circle-sm);font-size:var(--font-size-sm);height:16px;width:16px}.dss-bubble--active:before{background-color:var(--active-background);border-color:var(--active-border-color);color:var(--active-font-color)}.dss-bubble--active~.dss-bubble:before{background-color:var(--default-background);border-color:var(--default-border-color);color:var(--default-font-color)}.dss-bubble--active~.dss-bubble:not(.dss-bubble--active):hover:before{background-color:var(--default-background-hover)}.dss-bubble--active~.dss-bubble:active:before{background-color:var(--default-background);color:var(--default-font-color-active)}.dss-bubble--icon:before{content:attr(icon);font-family:var(--icon-font);font-weight:400}.dss-bubble--checked:before{content:"done";font-family:var(--icon-font);font-weight:400;font-size:24px;color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:before{content:"check_circle";background-color:var(--color-primary-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--checked:hover:before{border-color:var(--color-white);color:var(--color-primary-500)!important}.dss-bubble--checked:active:before{background-color:var(--color-white);color:var(--color-primary-300)!important;border-color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:active:before{border-color:var(--color-white)!important;color:var(--color-primary-300)!important}.dss-bubble--info:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info_i";font-family:var(--icon-font);font-weight:400;background-color:var(--color-white);color:var(--color-blue-500);border-color:var(--color-blue-500)}.dss-bubble--info:hover:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important}.dss-bubble--info:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:not(.dss-bubble--active):active:before{color:var(--color-blue-300)!important;background-color:var(--color-white)!important}.dss-stepper--sm .dss-bubble--info:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info";background-color:var(--color-blue-500);border-color:var(--color-blue-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--info:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important;border-color:var(--color-white);color:var(--color-blue-500)!important}.dss-stepper--sm .dss-bubble--info:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-blue-300)!important}.dss-bubble--alert:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"priority_high";font-family:var(--icon-font);font-weight:400;background-color:var(--color-white);color:var(--color-yellow-800);border-color:var(--color-yellow-800)}.dss-bubble--alert:not(:active):hover:before{background-color:var(--color-yellow-50)!important}.dss-bubble--alert:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{color:var(--color-yellow-700)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--alert:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"error";background-color:var(--color-yellow-800);border-color:var(--color-yellow-800);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--alert:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:hover:before{background-color:var(--color-yellow-50)!important;border-color:var(--color-white);color:var(--color-yellow-800)!important}.dss-stepper--sm .dss-bubble--alert:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-yellow-700)!important}.dss-bubble--error:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"close";font-family:var(--icon-font);font-weight:400;background-color:var(--color-white);color:var(--color-red-500);border-color:var(--color-red-500)}.dss-bubble--error:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{color:var(--color-red-300)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--error:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background-color:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-stepper--vertical .dss-bubble:not(:first-child){margin-top:var(--dss-spacing-lg)}.dss-bubble--error:not(:active):hover:before{background-color:var(--color-red-50)!important}.dss-bubble--error:active:before{color:var(--color-red-300)!important}.dss-stepper--sm .dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-bubble--completed:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background)}.dss-bubble--active:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background);animation:animate .3s}.dss-stepper--md .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--md .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--vertical{height:100%;flex-direction:column;gap:0;background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--vertical .dss-bubble{display:flex;width:-moz-fit-content;width:fit-content}.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background)}.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background);animation:column-animate .5s}.dss-stepper--md.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-md) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--sm.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-sm) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--md.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--md.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper:not(.dss-stepper--vertical) .dss-bubble-label{position:absolute;top:calc(100% + var(--dss-spacing-xxs));left:50%;transform:translate(-50%)}.dss-bubble-label{width:-moz-max-content;width:max-content;font-weight:var(--font-regular);font-size:14px;color:var(--color-neutral-700)}.dss-bubble-label--disabled{color:var(--color-neutral-500)}.dss-bubble--active .dss-bubble-label{color:var(--color-neutral-700);font-weight:var(--font-semibold)}.dss-stepper--vertical .dss-bubble-label{position:absolute;left:calc(100% + var(--dss-spacing-xs));top:50%;transform:translateY(-50%)}.dss-bubble-label.hide-label{display:none}@keyframes animate{0%{width:0}to{width:100%}}@keyframes column-animate{0%{height:0}to{height:100%}}';var __defProp$c=Object.defineProperty,__getOwnPropDesc$2=Object.getOwnPropertyDescriptor,__decorateClass$c=(te,J,X,re)=>{for(var ne=__getOwnPropDesc$2(J,X),oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&__defProp$c(J,X,ne),ne};class Stepper extends h$o{constructor(){super(...arguments),this._steps=[],this._currentStep=1,this._column=!1,this._circular=!1,this._hideLabel=!1,this._size="md",this._activeBarWidth="0",this._isFirstUpdate=!0}static get styles(){return r$H(r$c)}set steps(steps){const oldValue=this._steps;this._steps=steps,typeof steps=="string"&&(this._steps=eval(`(${steps})`)),this.requestUpdate("steps",oldValue)}get steps(){return this._steps}set currentStep(te){const J=this._currentStep;this._currentStep=te,this.requestUpdate("currentStep",J)}get currentStep(){return this._currentStep}set column(te){const J=this._column;this._column=te,this.requestUpdate("column",J)}get column(){return this._column}set circular(te){const J=this._circular;this._circular=te,this.requestUpdate("circular",J)}get circular(){return this._circular}set hideLabel(te){const J=this._hideLabel;this._hideLabel=te,this.requestUpdate("hideLabel",J)}get hideLabel(){return this._hideLabel}set size(te){const J=this._size;this._size=te,this.requestUpdate("size",J)}get size(){return this._size}async firstUpdated(){await this.updateComplete,this._setActiveBarWidth(),this._isFirstUpdate=!1,this.requestUpdate()}willUpdate(te){this._isFirstUpdate||(te.has("currentStep")||te.has("steps")||te.has("column"))&&(this._setActiveBarWidth(),this.requestUpdate())}_setActiveBarWidth(){var te;const J=this._steps.length,X=(te=this.shadowRoot)==null?void 0:te.querySelector(".dss-stepper"),re=X?.getBoundingClientRect(),ne=this._column?re?.height:re?.width;if(ne){const oe=Math.floor(ne/(J-1));this._activeBarWidth=`${oe}px`}}_onStepClick(te,J){if(te.state!=="disabled"){const X={detail:{step:te,stepNumber:J},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onStepClick",X))}}render(){var te,J;const X=(te=this._steps)==null?void 0:te.length,re=Math.round(this._currentStep/X*100),ne={"dss-stepper--vertical":this._column,"dss-stepper--sm":this._size==="sm","dss-stepper--md":this._size==="md"};return ke$1`
|
|
3158
|
+
`};var f$9=Object.defineProperty,C$8=Object.getOwnPropertyDescriptor,i$b=(te,J,X,re)=>{for(var ne=re>1?void 0:re?C$8(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(J,X,ne):de(ne))||ne);return re&&ne&&f$9(J,X,ne),ne};let n$c=class extends h$o{constructor(){super(),this.secondaryLabelOpen="Obrir",this.secondaryLabelClose="Tamcar",this.icon=void 0,this.iconFill=!1,this._iconSize="md",this._size="lg",this._iconClose="expand_more",this._iconOpen="expand_less",this._variant="primary",this._text="",this._disabled=!1,this._isOpen=!1,this._dropdownPosition="bottom-right",this._hasMenu=!1,this._handleDocumentClickBound=this._handleDocumentClick.bind(this)}static get styles(){return[r$H(i$y),r$H(o$w),r$H(s$6)]}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClickBound)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClickBound)}get _actionMenu(){var J;const X=((J=this.shadowRoot)==null?void 0:J.querySelector('slot[name="menu"]'))||void 0;return this.requestUpdate(),X?.assignedElements()[0]}set iconClose(J){const X=this._iconClose;this._iconClose=J,this.requestUpdate("iconClose",X)}get iconClose(){return this._iconClose}set iconOpen(J){const X=this._iconOpen;this._iconOpen=J,this.requestUpdate("iconOpen",X)}get iconOpen(){return this._iconOpen}set variant(J){const X=this._variant;this._variant=J,this.requestUpdate("variant",X)}get variant(){return this._variant}set text(J){const X=this._text;this._text=J,this.requestUpdate("text",X)}get text(){return this._text}set disabled(J){const X=this._disabled;this._disabled=J,this.requestUpdate("disabled",X)}get disabled(){return this._disabled}set isOpen(J){const X=this._isOpen;this._isOpen=J,this.requestUpdate("disabled",X)}get isOpen(){return this._isOpen}set size(J){const X=this._size;J==="md"||J==="sm"?this._size=J:this._size="lg",this.requestUpdate("size",X)}get size(){return this._size}set dropdownPosition(J){const X=this._dropdownPosition;this._dropdownPosition=J,this.requestUpdate("dropdownPosition",X)}get dropdownPosition(){return this._dropdownPosition}set hasMenu(J){const X=this._hasMenu;this._hasMenu=J,this.requestUpdate("hasMenu",X)}get hasMenu(){return this._hasMenu}_dispatchMainClick(){const J={bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("onClick",J))}_dispatchIconClick(){this._hasMenu&&this._toggleMenu();const J={bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("onSecondaryClick",J))}_toggleMenu(){this._isOpen=!this._isOpen,this.requestUpdate()}_handleActionMenuClosed(){this._isOpen=!1,this._actionMenu&&!this._isOpen&&this._actionMenu._closeMenu()}_handleDocumentClick(J){this._clickedOutsideItem(this,J)}_clickedOutsideItem(J,X){X.composedPath().includes(J)||this._isOpen&&(this._isOpen=!1,this.requestUpdate())}async firstUpdated(){await this.updateComplete,this._actionMenu&&this._actionMenu.addEventListener("onCloseActionMenu",()=>{this._handleActionMenuClosed()})}willUpdate(J){J.has("size")&&(this._iconSize=this.size==="lg"?"md":"sm")}render(){return _$7(this)}};i$b([n$z({type:String})],n$c.prototype,"iconClose",1),i$b([n$z({type:String})],n$c.prototype,"iconOpen",1),i$b([n$z({type:String})],n$c.prototype,"variant",1),i$b([n$z({type:String})],n$c.prototype,"text",1),i$b([n$z(n$w)],n$c.prototype,"disabled",1),i$b([n$z(n$w)],n$c.prototype,"isOpen",1),i$b([n$z({type:String})],n$c.prototype,"size",1),i$b([n$z({type:String})],n$c.prototype,"dropdownPosition",1),i$b([n$z(n$w)],n$c.prototype,"hasMenu",1),i$b([n$z({type:String})],n$c.prototype,"secondaryLabelOpen",2),i$b([n$z({type:String})],n$c.prototype,"secondaryLabelClose",2),i$b([n$z({type:String})],n$c.prototype,"icon",2),i$b([n$z(n$w)],n$c.prototype,"iconFill",2);const r$c=':host{display:inline-block;height:100%;width:100%;--circle: 32px;--circle-md: 24px;--circle-sm: 16px;--default-background: var(--color-white);--default-border-color: var(--color-neutral-500);--default-font-color: var(--color-neutral-900);--default-background-hover: var(--color-neutral-50);--default-font-color-active: var(--color-neutral-500);--active-background: var(--color-primary-500);--active-border-color: var(--color-primary-500);--active-font-color: var(--color-white);--completed-background: var(--color-primary-50);--disabled-background: var(--color-neutral-100);--disabled-border-color: var(--color-neutral-100);--disabled-font-color: var(--color-neutral-600);--line-width: 2px;--font-size: 18px;--font-size-md: 16px;--font-size-sm: 16px}.dss-circular-stepper{display:flex;gap:16px;align-items:center}.dss-circular-stepper__item{width:3rem;height:3rem;position:relative}.dss-circular-stepper__item svg{width:3rem;height:3rem;transform:rotate(-90deg)}.dss-circular-stepper__counter{position:absolute;font-size:.9rem;line-height:24px;left:0;top:0;width:3rem;height:3rem;display:flex;justify-content:center;align-items:center}.dss-circular-stepper__label,.dss-circular-stepper__counter b{font-weight:600;color:var(--color-neutral-700);font-size:.9rem;transition:.3s all ease-in;line-height:24px}.dss-circular-stepper circle{stroke:var(--color-neutral-200);stroke-dashoffset:0;fill:none;stroke-linecap:round;stroke-width:6px;stroke-dasharray:100,100;transition:.3s all ease-in}.dss-circular-stepper circle:last-of-type{stroke:var(--color-primary-500);stroke-dasharray:var(--percent),100;stroke-dashoffset:0}.dss-stepper{display:flex;list-style:none;justify-content:space-between;background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle) - var(--line-width)) / 2) / 100% var(--line-width);margin:var(--dss-spacing-xxs) 0 var(--dss-spacing-xl);padding:0;counter-reset:step}.dss-stepper--md{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-md) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-stepper--sm{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-sm) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-bubble{display:grid;place-items:center;gap:0;position:relative;border-radius:50%;transition:.3s outline ease-in}.dss-bubble:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-bubble:before{cursor:pointer;content:counter(step) " ";counter-increment:step;display:grid;place-content:center;aspect-ratio:1;height:var(--circle);box-sizing:border-box;border-radius:50%;font-size:var(--font-size);font-weight:var(--font-semibold);font-family:var(--font-family);z-index:100;background-color:var(--default-background);border:var(--line-width) solid var(--active-border-color);color:var(--default-font-color);transition:.3s all ease-in}.dss-bubble:not(.dss-bubble--active):not(:active):hover:before{background-color:var(--completed-background)}.dss-stepper--md .dss-bubble:before{height:var(--circle-md);font-size:var(--font-size-md)}.dss-stepper--sm .dss-bubble:before{content:"";height:var(--circle-sm);font-size:var(--font-size-sm);height:16px;width:16px}.dss-bubble--active:before{background-color:var(--active-background);border-color:var(--active-border-color);color:var(--active-font-color)}.dss-bubble--active~.dss-bubble:before{background-color:var(--default-background);border-color:var(--default-border-color);color:var(--default-font-color)}.dss-bubble--active~.dss-bubble:not(.dss-bubble--active):hover:before{background-color:var(--default-background-hover)}.dss-bubble--active~.dss-bubble:active:before{background-color:var(--default-background);color:var(--default-font-color-active)}.dss-bubble--icon:before{content:attr(icon);font-family:var(--icon-font);font-weight:400}.dss-bubble--checked:before{content:"done";font-family:var(--icon-font);font-weight:400;font-size:24px;color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:before{content:"check_circle";background-color:var(--color-primary-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--checked:hover:before{border-color:var(--color-white);color:var(--color-primary-500)!important}.dss-bubble--checked:active:before{background-color:var(--color-white);color:var(--color-primary-300)!important;border-color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:active:before{border-color:var(--color-white)!important;color:var(--color-primary-300)!important}.dss-bubble--info:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info_i";font-family:var(--icon-font);font-weight:400;background-color:var(--color-white);color:var(--color-blue-500);border-color:var(--color-blue-500)}.dss-bubble--info:hover:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important}.dss-bubble--info:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:not(.dss-bubble--active):active:before{color:var(--color-blue-300)!important;background-color:var(--color-white)!important}.dss-stepper--sm .dss-bubble--info:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info";background-color:var(--color-blue-500);border-color:var(--color-blue-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--info:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important;border-color:var(--color-white);color:var(--color-blue-500)!important}.dss-stepper--sm .dss-bubble--info:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-blue-300)!important}.dss-bubble--alert:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"priority_high";font-family:var(--icon-font);font-weight:400;background-color:var(--color-white);color:var(--color-yellow-800);border-color:var(--color-yellow-800)}.dss-bubble--alert:not(:active):hover:before{background-color:var(--color-yellow-50)!important}.dss-bubble--alert:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{color:var(--color-yellow-700)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--alert:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"error";background-color:var(--color-yellow-800);border-color:var(--color-yellow-800);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--alert:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:hover:before{background-color:var(--color-yellow-50)!important;border-color:var(--color-white);color:var(--color-yellow-800)!important}.dss-stepper--sm .dss-bubble--alert:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-yellow-700)!important}.dss-bubble--error:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"close";font-family:var(--icon-font);font-weight:400;background-color:var(--color-white);color:var(--color-red-500);border-color:var(--color-red-500)}.dss-bubble--error:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{color:var(--color-red-300)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--error:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background-color:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-stepper--vertical .dss-bubble:not(:first-child){margin-top:var(--dss-spacing-lg)}.dss-bubble--error:not(:active):hover:before{background-color:var(--color-red-50)!important}.dss-bubble--error:active:before{color:var(--color-red-300)!important}.dss-stepper--sm .dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-bubble--completed:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background)}.dss-bubble--active:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background);animation:animate .3s}.dss-stepper--md .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--md .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--vertical{height:100%;flex-direction:column;gap:0;background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--vertical .dss-bubble{display:flex;width:-moz-fit-content;width:fit-content}.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background)}.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background);animation:column-animate .5s}.dss-stepper--md.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-md) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--sm.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-sm) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--md.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--md.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper:not(.dss-stepper--vertical) .dss-bubble-label{position:absolute;top:calc(100% + var(--dss-spacing-xxs));left:50%;transform:translate(-50%)}.dss-bubble-label{width:-moz-max-content;width:max-content;font-weight:var(--font-regular);font-size:14px;color:var(--color-neutral-700)}.dss-bubble-label--disabled{color:var(--color-neutral-500)}.dss-bubble--active .dss-bubble-label{color:var(--color-neutral-700);font-weight:var(--font-semibold)}.dss-stepper--vertical .dss-bubble-label{position:absolute;left:calc(100% + var(--dss-spacing-xs));top:50%;transform:translateY(-50%)}.dss-bubble-label.hide-label{display:none}@keyframes animate{0%{width:0}to{width:100%}}@keyframes column-animate{0%{height:0}to{height:100%}}';var __defProp$b=Object.defineProperty,__getOwnPropDesc$2=Object.getOwnPropertyDescriptor,__decorateClass$b=(te,J,X,re)=>{for(var ne=__getOwnPropDesc$2(J,X),oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&__defProp$b(J,X,ne),ne};class Stepper extends h$o{constructor(){super(...arguments),this._steps=[],this._currentStep=1,this._column=!1,this._circular=!1,this._hideLabel=!1,this._size="md",this._activeBarWidth="0",this._isFirstUpdate=!0}static get styles(){return r$H(r$c)}set steps(steps){const oldValue=this._steps;this._steps=steps,typeof steps=="string"&&(this._steps=eval(`(${steps})`)),this.requestUpdate("steps",oldValue)}get steps(){return this._steps}set currentStep(te){const J=this._currentStep;this._currentStep=te,this.requestUpdate("currentStep",J)}get currentStep(){return this._currentStep}set column(te){const J=this._column;this._column=te,this.requestUpdate("column",J)}get column(){return this._column}set circular(te){const J=this._circular;this._circular=te,this.requestUpdate("circular",J)}get circular(){return this._circular}set hideLabel(te){const J=this._hideLabel;this._hideLabel=te,this.requestUpdate("hideLabel",J)}get hideLabel(){return this._hideLabel}set size(te){const J=this._size;this._size=te,this.requestUpdate("size",J)}get size(){return this._size}async firstUpdated(){await this.updateComplete,this._setActiveBarWidth(),this._isFirstUpdate=!1,this.requestUpdate()}willUpdate(te){this._isFirstUpdate||(te.has("currentStep")||te.has("steps")||te.has("column"))&&(this._setActiveBarWidth(),this.requestUpdate())}_setActiveBarWidth(){var te;const J=this._steps.length,X=(te=this.shadowRoot)==null?void 0:te.querySelector(".dss-stepper"),re=X?.getBoundingClientRect(),ne=this._column?re?.height:re?.width;if(ne){const oe=Math.floor(ne/(J-1));this._activeBarWidth=`${oe}px`}}_onStepClick(te,J){if(te.state!=="disabled"){const X={detail:{step:te,stepNumber:J},bubbles:!0,composed:!0};this.dispatchEvent(new CustomEvent("onStepClick",X))}}render(){var te,J;const X=(te=this._steps)==null?void 0:te.length,re=Math.round(this._currentStep/X*100),ne={"dss-stepper--vertical":this._column,"dss-stepper--sm":this._size==="sm","dss-stepper--md":this._size==="md"};return ke$1`
|
|
3157
3159
|
${this._circular?ke$1`
|
|
3158
3160
|
<div class="dss-circular-stepper">
|
|
3159
3161
|
<div class="dss-circular-stepper__item">
|
|
@@ -3198,7 +3200,7 @@ ${te.searchString?.length>1?ke$1`
|
|
|
3198
3200
|
`})}
|
|
3199
3201
|
</ol>
|
|
3200
3202
|
`}
|
|
3201
|
-
`}}__decorateClass$
|
|
3203
|
+
`}}__decorateClass$b([n$z({type:[]})],Stepper.prototype,"steps"),__decorateClass$b([n$z({type:Number})],Stepper.prototype,"currentStep"),__decorateClass$b([n$z(n$w)],Stepper.prototype,"column"),__decorateClass$b([n$z(n$w)],Stepper.prototype,"circular"),__decorateClass$b([n$z(n$w)],Stepper.prototype,"hideLabel"),__decorateClass$b([n$z({type:String})],Stepper.prototype,"size");const n$b=":host{width:100%;display:flex;justify-content:flex-end;height:-moz-fit-content;height:fit-content;font-family:var(--font-family);font-style:normal;border-top:2px solid var(--color-neutral-700)}.pagination__container{display:flex;align-items:center;padding:.5rem .75rem;gap:1rem}.pagination__results{font-weight:600;font-size:.875rem;line-height:1.5rem;color:#0073e6}.pagination__divider{height:1rem;border-left:1px solid rgb(216,216,216)}.pagination__text{font-weight:400;font-size:12px;line-height:1rem;color:#656565}.pagination__button{color:#0073e6;font-size:1.5rem;padding:0;align-items:center;background-color:transparent;border:none;border-radius:100%;cursor:pointer;display:flex;height:-moz-fit-content;height:fit-content;justify-content:center;transition:all .3s ease-in;width:-moz-fit-content;width:fit-content;font-family:var(--icon-font);width:2rem;height:2rem}.pagination__button:hover:enabled{background-color:#bfddfa}.pagination__button:focus-visible:enabled{outline:.25rem solid #8fc2f5;transition:none}.pagination__button:active:enabled{background-color:#eff7ff;transition:none}.pagination__button:disabled{transition:none;opacity:.4;cursor:not-allowed}.pagination__row-page{display:flex;align-items:center;gap:1rem}.pagination__buttons{display:flex;align-items:center}.pagination__select{background:#eff7ff;border-radius:4px;position:relative}.pagination__select select{border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;padding:7px 32px 7px 12px;color:#00356a;font-weight:400;font-size:12px;line-height:1rem;position:inherit;z-index:1;font-family:var(--font-family)}.pagination__select select:active,.pagination__select select:focus-visible{outline:none}.pagination__arrow-down{position:absolute;height:100%;display:flex;align-items:center;top:0;right:12px;color:#00356a}.pagination-select-options:disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500);cursor:not-allowed}";var x$5=Object.defineProperty,S$5=Object.getOwnPropertyDescriptor,n$a=(te,J,X,re)=>{for(var ne=S$5(J,X),oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&x$5(J,X,ne),ne};let a$8=class extends h$o{constructor(){super(...arguments),this._length=0,this._pageSizeOptions=[],this._pageSize=10,this._totalPages=0,this._currentIndex=1,this._startIndex=1,this._endIndex=this._pageSize,this._rowsPerPageText="Files per pàgina",this._resultsText="Resultats",this._pageSizeOptionsDisabled=!1,this._hidePaginationResults=!1}static get styles(){return[r$H(i$y),r$H(n$b)]}set length(J){const X=this._length;this._length=J,this.requestUpdate("length",X)}get length(){return this._length}set pageSize(J){const X=this._pageSize;this._pageSize=J,this.requestUpdate("pageSize",X)}get pageSize(){return this._pageSize}set pageSizeOptions(J){const X=this._pageSizeOptions;this._pageSizeOptions=J,this.requestUpdate("pageSizeOptions",X)}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptionsDisabled(J){const X=this._pageSizeOptionsDisabled;this._pageSizeOptionsDisabled=J,this.requestUpdate("pageSizeOptionsDisabled",X)}get pageSizeOptionsDisabled(){return this._pageSizeOptionsDisabled}set currentIndex(J){const X=this._currentIndex;this._currentIndex=J,this.requestUpdate("currentIndex",X)}get currentIndex(){return this._currentIndex}set rowsPerPageText(J){const X=this._rowsPerPageText;this._rowsPerPageText=J,this.requestUpdate("rowsPerPageText",X)}get rowsPerPageText(){return this._rowsPerPageText}set resultsText(J){const X=this._resultsText;this._resultsText=J,this.requestUpdate("resultsText",X)}get resultsText(){return this._resultsText}set hidePaginationResults(J){const X=this._hidePaginationResults;this._hidePaginationResults=J,this.requestUpdate("hidePaginationResults",X)}get hidePaginationResults(){return this._hidePaginationResults}_next(){this._currentIndex++,this._startIndex+=this._pageSize,this._endIndex+=this._pageSize,this._currentIndex===this._totalPages&&(this._endIndex=this._length),this._emitCurrentPage(),this.requestUpdate()}_prev(){const J=Math.abs(this._startIndex-this._endIndex)+1;this._startIndex-=this._pageSize,this._endIndex-=this._currentIndex===this._totalPages?J:this._pageSize,this._currentIndex--,this._emitCurrentPage(),this.requestUpdate()}_handleChange(){var J;const X=(J=this.shadowRoot)==null?void 0:J.querySelector("#pagination-select");this._pageSize=Number(X.value),this._reload(this._startIndex),this._emitCurrentPage(),this.requestUpdate()}_emitCurrentPage(){this.dispatchEvent(new CustomEvent("onChangePage",{detail:{currentIndex:this._currentIndex,startIndex:this._startIndex,endIndex:this._endIndex,pageSize:this._pageSize},bubbles:!0,composed:!0}))}_reload(J){this._currentIndex=Math.ceil(J/this._pageSize),this._reset(!0)}_reset(J){this._totalPages=Math.ceil(this._length/this._pageSize),J||(this._currentIndex<1?this._currentIndex=1:this._currentIndex>this._totalPages&&(this._currentIndex=this._totalPages)),this._startIndex=(this._currentIndex-1)*this._pageSize+1,this._endIndex=this._startIndex-1+this._pageSize,this._endIndex>this._length&&(this._endIndex=this._length)}_getDefaultPageSize(){var J;const X=this._pageSizeOptions.includes(this._pageSize);return(J=this._pageSizeOptions)!=null&&J.length?X?this._pageSize:this._pageSizeOptions[0]:this._pageSize}_printStartIndex(){return this._startIndex<=0||this._length<=0?"0":this._startIndex.toString()}async firstUpdated(){try{await this.updateComplete,this._pageSize=this._getDefaultPageSize(),this._reset(),this._emitCurrentPage(),this.requestUpdate()}catch{console.error("ERROR OCURRED")}}willUpdate(J){const X=J.has("length"),re=J.has("pageSize"),ne=J.has("pageSizeOptions"),oe=J.has("currentIndex");(X||re||ne||oe)&&(this._pageSize=this._getDefaultPageSize(),this._reset(),oe&&this._emitCurrentPage(),this.requestUpdate())}render(){var J;return ke$1`
|
|
3202
3204
|
<div class="pagination__container">
|
|
3203
3205
|
${this._hidePaginationResults?null:ke$1`
|
|
3204
3206
|
<span class="pagination__results"
|
|
@@ -6909,7 +6911,7 @@ ${te.searchString?.length>1?ke$1`
|
|
|
6909
6911
|
</div>
|
|
6910
6912
|
`:D$4}
|
|
6911
6913
|
</div>
|
|
6912
|
-
`};var k=Object.defineProperty,e=(te,J,X,re)=>{for(var ne=void 0,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&k(J,X,ne),ne};const h$1=class extends h$o{constructor(){super(),this.label="",this.hideLabel=!1,this.name="",this.type="text",this.placeholder="",this.value="",this.disabled=!1,this.readonly=!1,this.required=!1,this.invalid=!1,this.autocapitalize="none",this.autocomplete="off",this.autocorrect=!1,this.autofocus=!1,this.spellcheck=!1,this.size="lg",this._isFocused=!1,this._isTruncated=!1,this._onHoldInterval=null,this._previousValue=null,this.internals=this.attachInternals()}static get styles(){return[r$H(e$I),r$H(s)]}disconnectedCallback(){super.disconnectedCallback(),this._stopHold()}updated(J){J.has("value")&&this.internals.setFormValue(this.value)}formDisabledCallback(J){this.disabled=J}formResetCallback(){this.value=""}formStateRestoreCallback(J){this.value=J??""}render(){return x(this)}_handleFocusin(){this._isFocused=!0}_handleFocusout(){this._isFocused=!1}_onInput(J){const X=J.target;if(this.maskRegex&&this.maskReplace){this._previousValue&&this._previousValue.length>X?.value.length&&(X.value=M$2(this._previousValue,X.value,this.maskReplace));const re=R$1(X.value,this.maskRegex,this.maskReplace,this.allowedChars);re!==X.value&&(X.value=re)}this._previousValue=X.value,this.value=X.value,this._handleValidity(),this.dispatchEvent(new Event("input",{bubbles:!1,composed:!0}))}_handleValidity(){var J;const X=(J=this._input)==null?void 0:J.checkValidity();this.invalid=!X,this.internals.setValidity(this._input.validity,this._input.validationMessage,this._input)}_stepUp(){var J;(J=this._input)==null||J.stepUp(),this.value=this._input.value,this._handleValidity(),this._emitChange()}_stepDown(){var J;(J=this._input)==null||J.stepDown(),this.value=this._input.value,this._handleValidity(),this._emitChange()}_onHold(J){this._onHoldInterval=window.setInterval(()=>{J==="up"?this._stepUp():this._stepDown()},150)}_stopHold(){this._onHoldInterval!==null&&(clearInterval(this._onHoldInterval),this._onHoldInterval=null)}_emitChange(){this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}};h$1.formAssociated=!0;let t=h$1;e([e$M("input.dss-input")],t.prototype,"_input"),e([n$z({type:String})],t.prototype,"label"),e([n$z(n$w)],t.prototype,"hideLabel"),e([n$z({type:String})],t.prototype,"name"),e([n$z({type:String})],t.prototype,"type"),e([n$z({type:String})],t.prototype,"placeholder"),e([n$z({type:String})],t.prototype,"value"),e([n$z({converter:o$I,reflect:!0})],t.prototype,"disabled"),e([n$z({converter:o$I,reflect:!0})],t.prototype,"readonly"),e([n$z({converter:o$I,reflect:!0})],t.prototype,"required"),e([n$z({converter:o$I,reflect:!0})],t.prototype,"invalid"),e([n$z({type:Number})],t.prototype,"step"),e([n$z({type:Number})],t.prototype,"min"),e([n$z({type:Number})],t.prototype,"max"),e([n$z({type:Number})],t.prototype,"minLength"),e([n$z({type:Number})],t.prototype,"maxLength"),e([n$z({type:String})],t.prototype,"pattern"),e([n$z({type:String})],t.prototype,"inputmode"),e([n$z({type:String})],t.prototype,"autocapitalize"),e([n$z({type:String})],t.prototype,"autocomplete"),e([n$z(n$w)],t.prototype,"autocorrect"),e([n$z(n$w)],t.prototype,"autofocus"),e([n$z(n$w)],t.prototype,"spellcheck"),e([n$z({type:String})],t.prototype,"size"),e([n$z({type:String})],t.prototype,"icon"),e([n$z({type:String})],t.prototype,"helpText"),e([n$z({type:String})],t.prototype,"maskRegex"),e([n$z({type:String})],t.prototype,"maskReplace"),e([n$z({type:String})],t.prototype,"allowedChars"),e([n$z({type:String})],t.prototype,"unit"),e([n$z({type:String})],t.prototype,"inputPrefix"),e([r$E()],t.prototype,"_isFocused"),e([r$E()],t.prototype,"_isTruncated"),e([r$E()],t.prototype,"_onHoldInterval"),e([r$E()],t.prototype,"_previousValue"),s$u("dss-accordion",o$F),s$u("dss-action-menu",r$A),s$u("dss-action-menu-item",o$D),s$u("dss-alert",a$q),s$u("dss-avatar",m$d),s$u("dss-badge",o$x),s$u("dss-badge-button",o$z),s$u("dss-button",s$n),s$u("dss-breadcrumb-bar",v$i),s$u("dss-calendar",u$q),s$u("dss-chat-message",r$y),s$u("dss-checkbox",d$e),s$u("dss-chip",i$r),s$u("dss-content-switcher",l$q),s$u("dss-custom-table",o$u),s$u("dss-custom-table-header",r$v),s$u("dss-datepicker",o$t),s$u("dss-datepicker-range",r$s),s$u("dss-decorative-icon",o$r),s$u("dss-divider",c$b),s$u("dss-drawer",h$h),s$u("dss-footer",f$i),s$u("dss-header-links",r$p),s$u("dss-header-menu-patient",i$j),s$u("dss-header-menu-professional",o$q),s$u("dss-icon",r$D),s$u("dss-icon-badge",n$o),s$u("dss-icon-button",r$o),s$u("dss-input",n$l),s$u("dss-input-action",n$n),s$u("dss-input-dropdown",n$m),s$u("dss-input-switch",a$e),s$u("dss-item-list",n$j),s$u("dss-list-menu",o$l),s$u("dss-link",o$m),s$u("dss-legend",o$n),s$u("dss-modal",d$8),s$u("dss-module-header",m$5),s$u("dss-notification-badge",r$j),s$u("dss-pagination",g$d),s$u("dss-progress-indicator",i$h),s$u("dss-radio-button",a$b),s$u("dss-search-bar",h$c),s$u("dss-selector",c$7),s$u("dss-slider",n$d),s$u("dss-spinner",d$6),s$u("dss-stepper",Stepper),s$u("dss-skeleton",h$a),s$u("dss-tabs-list",l$b),s$u("dss-tabs-panel",o$d),s$u("dss-table-pagination",a$8),s$u("dss-textarea",a$6),s$u("dss-tile",o$b),s$u("dss-timepicker",_$4),s$u("dss-toast",o$9),s$u("dss-tooltip",p$6),s$u("dss-typography",o$G),s$u("dss-popover",r$i),s$u("dss-popover-body",l$f),s$u("dss-popover-footer",l$e),s$u("dss-sidemenu-list",c$6),s$u("dss-sidemenu-list-item",o$f),s$u("dss-split-button",n$c),s$u("dss-user-feedback",r$9),s$u("dss-upload-box",o$7),s$u("dss-card",l$7),s$u("dss-card-body",n$8),s$u("dss-card-description",p$4),s$u("dss-card-footer",l$6),s$u("dss-card-form",b$3),s$u("dss-card-header",o$6),s$u("dss-card-highlights-item",e$9),s$u("dss-card-highlights",n$6),s$u("dss-card-image",d$4),s$u("dss-card-info-item",n$4),s$u("dss-card-info",i$5),s$u("dss-card-menu",p$2),s$u("dss-card-subtitle",r$7),s$u("dss-card-tags",i$4),s$u("dss-card-title",p$1),s$u("dss-header",l$3),s$u("dss-preset-texts",l$2),s$u("dss-side-menu",d$3),s$u("dss-widget",o$3),s$u("dss-button-link",o$1),s$u("dss-breadcrumb",v$2),s$u("dss-date-picker",n$2),s$u("dss-dropdownlist",l$1),s$u("dss-input-field",n$1),s$u("dss-table",r),s$u("dss-sidemenu",o),s$u("dss-switch",d$1),s$u("dss-form-input",t);const gencatLogo="data:image/svg+xml,%3csvg%20width='94'%20height='24'%20viewBox='0%200%2094%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.36109%200.0906219C4.28803%200.0906219%200.175049%204.88609%200.175049%2010.8006C0.175049%2016.7148%204.28803%2021.5103%209.36109%2021.5103C14.4341%2021.5103%2018.5471%2016.7148%2018.5471%2010.8006C18.5471%204.88609%2014.4341%200.0906219%209.36109%200.0906219Z'%20fill='%23ED192D'/%3e%3cpath%20d='M2.94731%2016.1348C2.06504%2014.6225%201.54761%2012.784%201.54761%2010.8007C1.54761%208.81751%202.06504%206.97893%202.94731%205.46631V16.1348Z'%20fill='white'/%3e%3cpath%20d='M4.92041%203.11644C5.42915%202.69532%205.98132%202.34559%206.56749%202.07705V19.5234C5.98132%2019.2553%205.42915%2018.9048%204.92041%2018.4844V3.11644Z'%20fill='white'/%3e%3cpath%20d='M8.54004%201.5129C8.81008%201.47928%209.08354%201.46191%209.36076%201.46191C9.63986%201.46191%209.91557%201.47966%2010.1871%201.51365V20.087C9.91557%2020.121%209.63986%2020.1392%209.36076%2020.1392C9.08354%2020.1392%208.81008%2020.1214%208.54004%2020.0882V1.5129Z'%20fill='white'/%3e%3cpath%20d='M12.1604%202.07993C12.7469%202.34884%2013.2991%202.70008%2013.8075%203.12119V18.4797C13.2991%2018.9012%2012.7469%2019.2521%2012.1604%2019.521V2.07993Z'%20fill='white'/%3e%3cpath%20d='M15.7808%205.47645C16.6596%206.98681%2017.1752%208.82161%2017.1752%2010.8007C17.1752%2012.7797%2016.6596%2014.6142%2015.7808%2016.1245V5.47645Z'%20fill='white'/%3e%3cpath%20d='M0.944824%2010.8007C0.944824%208.34538%201.69906%206.09853%202.94769%204.36383V4.94963C1.89848%206.56989%201.27454%208.59843%201.27454%2010.8007C1.27454%2013.0026%201.89848%2015.0311%202.94769%2016.6514V17.2368C1.69906%2015.5025%200.944824%2013.2557%200.944824%2010.8007Z'%20fill='white'/%3e%3cpath%20d='M15.7808%2016.6428C16.8266%2015.0241%2017.4486%2012.9989%2017.4486%2010.8008C17.4486%208.6027%2016.8266%206.57755%2015.7808%204.9588V4.37226C17.0264%206.10545%2017.7776%208.34928%2017.7776%2010.8008C17.7776%2013.252%2017.0264%2015.4958%2015.7808%2017.229V16.6428Z'%20fill='white'/%3e%3cpath%20d='M18.3143%2020.3882C18.377%2020.1193%2018.5042%2019.844%2018.6523%2019.6241C18.4623%2019.5309%2018.3022%2019.4606%2018.1371%2019.3175C18.5012%2018.7675%2018.5919%2018.391%2018.6515%2017.7289L18.6259%2013.9857C18.3856%2015.0742%2017.8044%2016.5018%2017.3025%2017.2481C17.1559%2017.4664%2017.0913%2017.6047%2017.0007%2017.7501C16.9486%2017.8343%2016.6536%2018.3204%2016.6611%2018.9156C16.4553%2018.9571%2016.2665%2018.9496%2016.0274%2018.9318C16.0569%2019.1909%2016.0727%2019.2276%2016.0047%2019.6521C15.0972%2019.7223%2014.8328%2020.2666%2013.7571%2020.8482C13.2314%2021.1326%2012.8903%2021.2621%2012.104%2021.5492C13.9324%2021.5273%2015.275%2021.7871%2016.4243%2021.0144C16.555%2021.1874%2016.6521%2021.3554%2016.7382%2021.559C16.8964%2021.4348%2017.2069%2021.2814%2017.4649%2021.2149C17.7606%2021.5061%2018.1568%2021.6209%2018.6644%2021.5752C18.7361%2021.1666%2018.6345%2020.6643%2018.3143%2020.3882Z'%20fill='%23ED192D'/%3e%3cpath%20d='M18.4518%2019.6968C18.3101%2019.7546%2017.6431%2020.0008%2017.6431%2020.0008L17.6341%2020.0103C17.6307%2019.9517%2017.6167%2019.8939%2017.5922%2019.8395L17.5884%2019.8271C17.8456%2019.6734%2018.0072%2019.4558%2018.011%2019.4222C18.0091%2019.4195%2018.008%2019.4177%2018.0095%2019.418C18.0106%2019.4184%2018.011%2019.4199%2018.011%2019.4222C18.0329%2019.452%2018.2524%2019.6556%2018.4518%2019.6968Z'%20fill='white'/%3e%3cpath%20d='M17.9002%2016.5344C18.5691%2015.055%2018.4116%2015.1192%2018.5596%2014.5051C18.54%2014.8008%2018.5211%2015.174%2018.4792%2015.4444C18.1876%2017.0563%2017.7687%2018.2506%2017.2653%2019.5683C17.2653%2019.5683%2017.1271%2019.5566%2017.0576%2019.5698C16.9356%2019.4293%2016.8974%2019.2348%2016.8974%2019.2348C16.6633%2018.2634%2017.3918%2017.6584%2017.9002%2016.5344Z'%20fill='white'/%3e%3cpath%20d='M16.2266%2019.1308L16.8509%2019.652L16.8528%2019.6569C16.8339%2019.6709%2016.8154%2019.6868%2016.798%2019.7038C16.7667%2019.7355%2016.7402%2019.7699%2016.7195%2019.8069L16.7157%2019.8159C16.3977%2019.6614%2016.1851%2019.655%2016.1851%2019.655C16.2651%2019.3106%2016.2266%2019.1308%2016.2266%2019.1308Z'%20fill='white'/%3e%3cpath%20d='M13.3914%2021.3775C13.0776%2021.4493%2012.8241%2021.4459%2012.6262%2021.4546L13.2909%2021.2487C14.7314%2020.7087%2015.0982%2019.8725%2016.0711%2019.8532C16.2988%2019.8551%2016.4854%2019.9148%2016.6542%2020.0096L16.6561%2020.0356C16.6493%2020.0979%2016.655%2020.1614%2016.6731%2020.2222L16.6735%2020.2313C16.0016%2020.5648%2014.4655%2021.1313%2013.3914%2021.3775Z'%20fill='white'/%3e%3cpath%20d='M16.8149%2021.334C16.7764%2021.2309%2016.7228%2021.0643%2016.574%2020.8996C16.7745%2020.7297%2016.8157%2020.6383%2016.8829%2020.4721L16.8878%2020.4744C16.9509%2020.5118%2017.0208%2020.5333%2017.0914%2020.539L17.0997%2020.5378L16.8149%2021.334Z'%20fill='white'/%3e%3cpath%20d='M16.9431%2020.2505C16.8324%2020.1391%2016.8328%2019.9589%2016.9442%2019.8479C17.0556%2019.7372%2017.2354%2019.7376%2017.3464%2019.8494C17.4571%2019.9604%2017.4567%2020.1406%2017.3453%2020.2512C17.2339%2020.3619%2017.0537%2020.3615%2016.9431%2020.2505Z'%20fill='white'/%3e%3cpath%20d='M17.5617%2021.0476C17.4147%2020.8765%2017.3517%2020.7443%2017.2961%2020.5128C17.369%2020.4916%2017.4548%2020.4474%2017.5061%2020.3757L18.5032%2021.3883C18.1248%2021.4234%2017.7973%2021.3342%2017.5617%2021.0476Z'%20fill='white'/%3e%3cpath%20d='M18.6644%200.00993252C18.1568%20-0.0361447%2017.7606%200.0786629%2017.4649%200.369858C17.2069%200.303385%2016.8964%200.150051%2016.7382%200.0257921C16.6521%200.229364%2016.555%200.397053%2016.4243%200.57041C15.275%20-0.202332%2013.9324%200.057518%2012.104%200.0352345C12.8903%200.322652%2013.2314%200.452191%2013.7571%200.736588C14.8328%201.31822%2015.0972%201.86208%2016.0047%201.93271C16.0727%202.35723%2016.0569%202.39349%2016.0274%202.65334C16.2665%202.63521%2016.4553%202.62765%2016.6611%202.6692C16.6536%203.26405%2016.9486%203.75051%2017.0007%203.83436C17.0913%203.98014%2017.1559%204.11839%2017.3025%204.33669C17.8044%205.08299%2018.3856%206.51026%2018.6259%207.59912L18.6515%203.8559C18.5919%203.19382%2018.5012%202.81726%2018.1371%202.26735C18.3022%202.12421%2018.4623%202.05396%2018.6523%201.96067C18.5042%201.74086%2018.377%201.46515%2018.3143%201.19661C18.6345%200.920149%2018.7361%200.41821%2018.6644%200.00993252Z'%20fill='%23ED192D'/%3e%3cpath%20d='M18.4518%201.88761C18.3101%201.82982%2017.6431%201.58358%2017.6431%201.58358L17.6341%201.57414C17.6307%201.6323%2017.6167%201.69047%2017.5922%201.74485L17.5884%201.75732C17.8456%201.91104%2018.0072%202.12857%2018.011%202.16219C18.0091%202.16521%2018.008%202.16709%2018.0095%202.16634C18.0106%202.16558%2018.011%202.16445%2018.011%202.16219C18.0329%202.13273%2018.2524%201.92878%2018.4518%201.88761Z'%20fill='white'/%3e%3cpath%20d='M17.9002%205.05029C18.5691%206.52968%2018.4116%206.46547%2018.5596%207.07959C18.54%206.78386%2018.5211%206.41034%2018.4792%206.14067C18.1876%204.52834%2017.7687%203.33408%2017.2653%202.01596C17.2653%202.01596%2017.1271%202.02806%2017.0576%202.01484C16.9356%202.15534%2016.8974%202.34985%2016.8974%202.34985C16.6633%203.32125%2017.3918%203.9263%2017.9002%205.05029Z'%20fill='white'/%3e%3cpath%20d='M16.2266%202.45361L16.8509%201.9324L16.8528%201.92749C16.8339%201.91352%2016.8154%201.89766%2016.798%201.88067C16.7667%201.84932%2016.7402%201.81419%2016.7195%201.77793L16.7157%201.76812C16.3977%201.92297%2016.1851%201.929%2016.1851%201.929C16.2651%202.27345%2016.2266%202.45361%2016.2266%202.45361Z'%20fill='white'/%3e%3cpath%20d='M13.3914%200.207236C13.0776%200.135476%2012.8241%200.138873%2012.6262%200.130187L13.2909%200.336013C14.7314%200.876102%2015.0982%201.71229%2016.0711%201.73193C16.2988%201.72967%2016.4854%201.67%2016.6542%201.5752L16.6561%201.54914C16.6493%201.48682%2016.655%201.42337%2016.6731%201.36257L16.6735%201.35351C16.0016%201.01964%2014.4655%200.453108%2013.3914%200.207236Z'%20fill='white'/%3e%3cpath%20d='M16.8149%200.250924C16.7764%200.354032%2016.7228%200.52059%2016.574%200.685261C16.7745%200.855219%2016.8157%200.946612%2016.8829%201.11279L16.8878%201.11091C16.9509%201.07314%2017.0208%201.05162%2017.0914%201.04557L17.0997%201.04709L16.8149%200.250924Z'%20fill='white'/%3e%3cpath%20d='M16.9431%201.3342C16.8324%201.446%2016.8328%201.62577%2016.9442%201.73643C17.0556%201.84747%2017.2354%201.84672%2017.3464%201.73568C17.4571%201.62388%2017.4567%201.44411%2017.3453%201.33345C17.2339%201.22279%2017.0537%201.22316%2016.9431%201.3342Z'%20fill='white'/%3e%3cpath%20d='M17.5617%200.537082C17.4147%200.708173%2017.3517%200.84035%2017.2961%201.07187C17.369%201.09302%2017.4548%201.13722%2017.5061%201.20898L18.5032%200.19641C18.1248%200.161286%2017.7973%200.25042%2017.5617%200.537082Z'%20fill='white'/%3e%3cpath%20d='M0.0217433%2021.5752C0.529351%2021.6209%200.925543%2021.5061%201.22127%2021.2149C1.47923%2021.2814%201.78968%2021.4348%201.94831%2021.559C2.03405%2021.3554%202.13149%2021.1874%202.26217%2021.0144C3.41146%2021.7871%204.75375%2021.5273%206.58213%2021.5492C5.79579%2021.2621%205.45474%2021.1326%204.929%2020.8482C3.85335%2020.2666%203.58935%2019.7223%202.6814%2019.6521C2.61379%2019.2276%202.62927%2019.1909%202.65873%2018.9318C2.42004%2018.9496%202.2312%2018.9571%202.02536%2018.9156C2.03291%2018.3204%201.73794%2017.8343%201.68545%2017.7501C1.5948%2017.6047%201.5306%2017.4664%201.38368%2017.2481C0.882111%2016.5018%200.300853%2015.0742%200.0602679%2013.9857L0.0345879%2017.7289C0.0942621%2018.391%200.185284%2018.7675%200.549372%2019.3175C0.383946%2019.4606%200.224185%2019.5309%200.0342099%2019.6241C0.181884%2019.844%200.30954%2020.1193%200.372236%2020.3882C0.0515815%2020.6643%20-0.049639%2021.1666%200.0217433%2021.5752Z'%20fill='%23ED192D'/%3e%3cpath%20d='M0.234375%2019.6968C0.376007%2019.7546%201.04338%2020.0008%201.04338%2020.0008L1.05244%2020.0103C1.05546%2019.9517%201.06981%2019.8939%201.09436%2019.8395L1.09777%2019.8271C0.84094%2019.6734%200.678912%2019.4558%200.675512%2019.4222C0.677401%2019.4195%200.678535%2019.4177%200.676647%2019.418C0.675514%2019.4184%200.675135%2019.4199%200.675512%2019.4222C0.653229%2019.452%200.43417%2019.6556%200.234375%2019.6968Z'%20fill='white'/%3e%3cpath%20d='M0.785417%2016.5344C0.116538%2015.055%200.274029%2015.1192%200.125977%2014.5051C0.145238%2014.8008%200.164123%2015.174%200.206424%2015.4444C0.497996%2017.0563%200.916471%2018.2506%201.4203%2019.5683C1.4203%2019.5683%201.55816%2019.5566%201.62765%2019.5698C1.74964%2019.4293%201.78779%2019.2348%201.78779%2019.2348C2.02195%2018.2634%201.29378%2017.6584%200.785417%2016.5344Z'%20fill='white'/%3e%3cpath%20d='M2.45945%2019.1308L1.83552%2019.652L1.83325%2019.6569C1.85251%2019.6709%201.87064%2019.6868%201.88801%2019.7038C1.91936%2019.7355%201.9458%2019.7699%201.96657%2019.8069L1.97035%2019.8159C2.28836%2019.6614%202.50137%2019.655%202.50137%2019.655C2.42093%2019.3106%202.45945%2019.1308%202.45945%2019.1308Z'%20fill='white'/%3e%3cpath%20d='M5.29439%2021.3775C5.60825%2021.4493%205.86167%2021.4459%206.05958%2021.4546L5.39524%2021.2487C3.95437%2020.7087%203.58764%2019.8725%202.61472%2019.8532C2.38736%2019.8551%202.2004%2019.9148%202.03158%2020.0096L2.03007%2020.0356C2.03649%2020.0979%202.03082%2020.1614%202.01307%2020.2222L2.0127%2020.2313C2.68422%2020.5648%204.22063%2021.1313%205.29439%2021.3775Z'%20fill='white'/%3e%3cpath%20d='M1.8712%2021.334C1.90973%2021.2309%201.96336%2021.0643%202.11254%2020.8996C1.91199%2020.7297%201.87044%2020.6383%201.80359%2020.4721L1.79831%2020.4744C1.73561%2020.5118%201.66574%2020.5333%201.59473%2020.539L1.58643%2020.5378L1.8712%2021.334Z'%20fill='white'/%3e%3cpath%20d='M1.74254%2020.2505C1.85358%2020.1391%201.85282%2019.9589%201.74178%2019.8479C1.63037%2019.7372%201.45021%2019.7376%201.33955%2019.8494C1.22889%2019.9604%201.22927%2020.1406%201.34068%2020.2512C1.4521%2020.3619%201.63188%2020.3615%201.74254%2020.2505Z'%20fill='white'/%3e%3cpath%20d='M1.1243%2021.0476C1.27122%2020.8765%201.33429%2020.7443%201.39019%2020.5128C1.31729%2020.4916%201.23156%2020.4474%201.17982%2020.3757L0.183105%2021.3883C0.561545%2021.4234%200.888999%2021.3342%201.1243%2021.0476Z'%20fill='white'/%3e%3cpath%20d='M0.372236%201.19661C0.30954%201.46515%200.181884%201.74086%200.0342099%201.96067C0.224185%202.05396%200.383946%202.12421%200.549372%202.26735C0.185284%202.81726%200.0942621%203.19382%200.0345879%203.8559L0.0602679%207.59912C0.300853%206.51026%200.882111%205.08299%201.38368%204.33669C1.5306%204.11839%201.5948%203.98014%201.68545%203.83436C1.73794%203.75051%202.03291%203.26405%202.02536%202.6692C2.2312%202.62765%202.42004%202.63521%202.65873%202.65334C2.62927%202.39349%202.61379%202.35723%202.6814%201.93271C3.58935%201.86208%203.85335%201.31822%204.929%200.736588C5.45474%200.452191%205.79579%200.322652%206.58213%200.0352345C4.75375%200.057518%203.41146%20-0.202332%202.26217%200.57041C2.13149%200.397053%202.03405%200.229364%201.94831%200.0257921C1.78968%200.150051%201.47923%200.303385%201.22127%200.369858C0.925543%200.0786629%200.529351%20-0.0361447%200.0217433%200.00993252C-0.049639%200.41821%200.0515815%200.920149%200.372236%201.19661Z'%20fill='%23ED192D'/%3e%3cpath%20d='M0.234375%201.88761C0.376007%201.82982%201.04338%201.58358%201.04338%201.58358L1.05244%201.57414C1.05546%201.6323%201.06981%201.69047%201.09436%201.74485L1.09777%201.75732C0.84094%201.91104%200.678912%202.12857%200.675512%202.16219C0.677401%202.16521%200.678535%202.16709%200.676647%202.16634C0.675514%202.16558%200.675135%202.16445%200.675512%202.16219C0.653229%202.13273%200.43417%201.92878%200.234375%201.88761Z'%20fill='white'/%3e%3cpath%20d='M0.785417%205.05029C0.116538%206.52968%200.274029%206.46547%200.125977%207.07959C0.145238%206.78386%200.164123%206.41034%200.206424%206.14067C0.497996%204.52834%200.916471%203.33408%201.4203%202.01596C1.4203%202.01596%201.55816%202.02806%201.62765%202.01484C1.74964%202.15534%201.78779%202.34985%201.78779%202.34985C2.02195%203.32125%201.29378%203.9263%200.785417%205.05029Z'%20fill='white'/%3e%3cpath%20d='M2.45945%202.45361L1.83552%201.9324L1.83325%201.92749C1.85251%201.91352%201.87064%201.89766%201.88801%201.88067C1.91936%201.84932%201.9458%201.81419%201.96657%201.77793L1.97035%201.76812C2.28836%201.92297%202.50137%201.929%202.50137%201.929C2.42093%202.27345%202.45945%202.45361%202.45945%202.45361Z'%20fill='white'/%3e%3cpath%20d='M5.29439%200.207236C5.60825%200.135476%205.86167%200.138873%206.05958%200.130187L5.39524%200.336013C3.95437%200.876102%203.58764%201.71229%202.61472%201.73193C2.38736%201.72967%202.2004%201.67%202.03158%201.5752L2.03007%201.54914C2.03649%201.48682%202.03082%201.42337%202.01307%201.36257L2.0127%201.35351C2.68422%201.01964%204.22063%200.453108%205.29439%200.207236Z'%20fill='white'/%3e%3cpath%20d='M1.8712%200.250924C1.90973%200.354032%201.96336%200.52059%202.11254%200.685261C1.91199%200.855219%201.87044%200.946612%201.80359%201.11279L1.79831%201.11091C1.73561%201.07314%201.66574%201.05162%201.59473%201.04557L1.58643%201.04709L1.8712%200.250924Z'%20fill='white'/%3e%3cpath%20d='M1.74254%201.3342C1.85358%201.446%201.85282%201.62577%201.74178%201.73643C1.63037%201.84747%201.45021%201.84672%201.33955%201.73568C1.22889%201.62388%201.22927%201.44411%201.34068%201.33345C1.4521%201.22279%201.63188%201.22316%201.74254%201.3342Z'%20fill='white'/%3e%3cpath%20d='M1.1243%200.537082C1.27122%200.708173%201.33429%200.84035%201.39019%201.07187C1.31729%201.09302%201.23156%201.13722%201.17982%201.20898L0.183105%200.19641C0.561545%200.161286%200.888999%200.25042%201.1243%200.537082Z'%20fill='white'/%3e%3cpath%20d='M13.8075%202.35891V2.77588C13.2961%202.37516%2012.7443%202.04129%2012.1604%201.7856V1.42263C12.7417%201.66473%2013.2931%201.98047%2013.8075%202.35891Z'%20fill='white'/%3e%3cpath%20d='M9.36076%200.858693C9.63949%200.858693%209.91519%200.875302%2010.1871%200.906272V1.24316C9.91557%201.21068%209.63986%201.19369%209.36076%201.19369C9.08391%201.19369%208.81008%201.21031%208.54004%201.2428V0.905904C8.81046%200.874933%209.08391%200.858693%209.36076%200.858693Z'%20fill='white'/%3e%3cpath%20d='M6.56749%201.42051V1.78309C5.98396%202.03802%205.43217%202.37152%204.92041%202.77148V2.35454C5.43519%201.97648%205.98699%201.66185%206.56749%201.42051Z'%20fill='white'/%3e%3cpath%20d='M4.92041%2019.2462V18.8296C5.43217%2019.2295%205.98396%2019.5626%206.56749%2019.818V20.1802C5.98699%2019.9388%205.43519%2019.6246%204.92041%2019.2462Z'%20fill='white'/%3e%3cpath%20d='M9.36076%2020.7427C9.08391%2020.7427%208.81046%2020.7264%208.54004%2020.6955V20.3582C8.81008%2020.3907%209.08391%2020.4073%209.36076%2020.4073C9.63986%2020.4073%209.91557%2020.3903%2010.1871%2020.3574V20.6947C9.91519%2020.7261%209.63949%2020.7427%209.36076%2020.7427Z'%20fill='white'/%3e%3cpath%20d='M12.1604%2020.1777V19.8152C12.7443%2019.5598%2013.2961%2019.226%2013.8075%2018.8252V19.2415C13.2931%2019.6206%2012.7417%2019.936%2012.1604%2020.1777Z'%20fill='white'/%3e%3cpath%20d='M28.4893%205.86063H31.8881V10.2455H30.7554L30.5855%209.22543C30.1545%209.72398%2029.5317%2010.4604%2028.0474%2010.4604C26.0876%2010.4604%2024.3083%209.05546%2024.3083%206.20054C24.3083%203.98014%2025.5434%201.884%2028.2854%201.89533C30.7781%201.89533%2031.7635%203.51559%2031.8541%204.63693H30.1545C30.1545%204.31968%2029.577%203.29994%2028.376%203.29994C27.1636%203.29994%2026.0423%204.13839%2026.0423%206.22321C26.0423%208.44399%2027.2547%209.02185%2028.41%209.02185C28.7839%209.02185%2030.0303%208.87418%2030.3815%207.23163H28.4893V5.86063Z'%20fill='%23231F20'/%3e%3cpath%20d='M36.9077%208.47762C36.7831%208.90856%2036.3298%209.13517%2035.888%209.13517C34.6076%209.13517%2034.517%208.11505%2034.4716%207.6622H38.6069V7.37894C38.6069%204.62562%2036.9644%204.05946%2035.7746%204.05946C33.135%204.05946%2032.8857%206.38184%2032.8857%207.107C32.8857%209.58839%2034.1884%2010.4038%2035.888%2010.4038C36.9187%2010.4038%2038.1201%209.9283%2038.5389%208.47762H36.9077ZM34.517%206.63113C34.6076%205.83799%2035.0042%205.36211%2035.752%205.36211C36.2619%205.36211%2036.885%205.65671%2036.9757%206.63113H34.517Z'%20fill='%23231F20'/%3e%3cpath%20d='M45.1106%2010.2456H43.5243V6.58585C43.5243%206.14396%2043.5017%205.39614%2042.4933%205.39614C41.7908%205.39614%2041.2469%205.87202%2041.2469%206.78979V10.2456H39.6606V4.21776H41.1793V5.10155H41.2016C41.4172%204.73898%2041.8701%204.05951%2043.0145%204.05951C44.1928%204.05951%2045.1106%204.7503%2045.1106%206.07597V10.2456Z'%20fill='%23231F20'/%3e%3cpath%20d='M50.1294%208.47762C50.0047%208.90856%2049.5515%209.13517%2049.1096%209.13517C47.8293%209.13517%2047.7386%208.11505%2047.6933%207.6622H51.829V7.37894C51.829%204.62562%2050.186%204.05946%2048.9963%204.05946C46.3567%204.05946%2046.1074%206.38184%2046.1074%207.107C46.1074%209.58839%2047.4104%2010.4038%2049.1096%2010.4038C50.1407%2010.4038%2051.3417%209.9283%2051.7606%208.47762H50.1294ZM47.7386%206.63113C47.8293%205.83799%2048.2258%205.36211%2048.9737%205.36211C49.4835%205.36211%2050.1063%205.65671%2050.1974%206.63113H47.7386Z'%20fill='%23231F20'/%3e%3cpath%20d='M52.8713%204.21776H54.3893V5.26017H54.4123C54.7405%204.64832%2055.1031%204.05951%2056.0662%204.05951C56.1681%204.05951%2056.2701%204.07047%2056.3721%204.08217V5.69073C56.2361%205.66807%2056.0662%205.66808%2055.9189%205.66808C54.6842%205.66808%2054.4572%206.43854%2054.4572%207.10704V10.2456H52.8713V4.21776Z'%20fill='%23231F20'/%3e%3cpath%20d='M62.1731%205.80399C62.1731%204.31969%2060.6208%204.05946%2059.771%204.05946C58.5363%204.05946%2057.256%204.31969%2057.0747%206.16657H58.6039C58.6496%205.81532%2058.7856%205.32849%2059.5787%205.32849C59.9866%205.32849%2060.6208%205.3621%2060.6208%206.0306C60.6208%206.37051%2060.3152%206.47249%2060.066%206.50648L58.6379%206.72177C57.6295%206.86907%2056.8821%207.46959%2056.8821%208.64796C56.8821%209.89394%2057.8112%2010.4038%2058.7172%2010.4038C59.794%2010.4038%2060.3035%209.90526%2060.6661%209.53135C60.7001%209.87165%2060.7227%209.9623%2060.8134%2010.2456H62.5243V10.0072C62.3317%209.93926%2062.1731%209.78101%2062.1731%209.06681V5.80399ZM60.6208%208.08144C60.6208%208.81792%2059.9073%209.27076%2059.2045%209.27076C58.8989%209.27076%2058.4684%209.10118%2058.4684%208.54598C58.4684%207.88881%2058.9552%207.74151%2059.5448%207.63954C60.2015%207.53756%2060.4622%207.4356%2060.6208%207.31096V8.08144Z'%20fill='%23231F20'/%3e%3cpath%20d='M65.2206%2010.2456H63.6343V2.11066H65.2206V10.2456Z'%20fill='%23231F20'/%3e%3cpath%20d='M68.371%203.50394H66.7852V2.03136H68.371V3.50394ZM68.371%204.21776V10.2456H66.7852V4.21776H68.371Z'%20fill='%23231F20'/%3e%3cpath%20d='M71.6672%204.21763H72.653V5.35069H71.6672V8.62522C71.6672%208.97609%2071.6785%209.11243%2072.3244%209.11243C72.426%209.11243%2072.5397%209.1011%2072.653%209.0894V10.2904C72.4037%2010.3018%2072.154%2010.3135%2071.9052%2010.3135H71.7012C70.3302%2010.3135%2070.0809%209.79189%2070.0809%209.01047V5.35069H69.2651V4.21763H70.0809V2.58642H71.6672V4.21763Z'%20fill='%23231F20'/%3e%3cpath%20d='M78.5445%205.80399C78.5445%204.31969%2076.9926%204.05946%2076.1428%204.05946C74.9078%204.05946%2073.6278%204.31969%2073.4461%206.16657H74.9758C75.0211%205.81532%2075.1574%205.32849%2075.9502%205.32849C76.3581%205.32849%2076.9926%205.3621%2076.9926%206.0306C76.9926%206.37051%2076.6867%206.47249%2076.4374%206.50648L75.0098%206.72177C74.0013%206.86907%2073.2539%207.46959%2073.2539%208.64796C73.2539%209.89394%2074.1826%2010.4038%2075.0891%2010.4038C76.1655%2010.4038%2076.6753%209.90526%2077.0379%209.53135C77.0719%209.87165%2077.0942%209.9623%2077.1852%2010.2456H78.8961V10.0072C78.7031%209.93926%2078.5445%209.78101%2078.5445%209.06681V5.80399ZM76.9926%208.08144C76.9926%208.81792%2076.2788%209.27076%2075.5763%209.27076C75.2704%209.27076%2074.8398%209.10118%2074.8398%208.54598C74.8398%207.88881%2075.327%207.74151%2075.9162%207.63954C76.5734%207.53756%2076.834%207.4356%2076.9926%207.31096V8.08144Z'%20fill='%23231F20'/%3e%3cpath%20d='M81.7398%204.21763H82.7256V5.35069H81.7398V8.62522C81.7398%208.97609%2081.7515%209.11243%2082.3974%209.11243C82.499%209.11243%2082.6123%209.1011%2082.7256%209.0894V10.2904C82.4759%2010.3018%2082.227%2010.3135%2081.9778%2010.3135H81.7738C80.4028%2010.3135%2080.1536%209.79189%2080.1536%209.01047V5.35069H79.3381V4.21763H80.1536V2.58642H81.7398V4.21763Z'%20fill='%23231F20'/%3e%3cpath%20d='M30.0527%2013.4412H28.4664V16.3301H28.4438C28.1945%2015.9449%2027.7186%2015.39%2026.6989%2015.39C25.3732%2015.39%2024.1948%2016.4094%2024.1948%2018.4938C24.1948%2020.1485%2024.943%2021.7344%2026.7329%2021.7344C27.39%2021.7344%2028.0925%2021.4968%2028.4778%2020.817H28.5004V21.5761H30.0527V13.4412ZM25.8264%2018.6075C25.8264%2017.6558%2026.1663%2016.7607%2027.1751%2016.7607C28.2625%2016.7607%2028.5344%2017.7351%2028.5344%2018.6978C28.5344%2019.5933%2028.1378%2020.4318%2027.1294%2020.4318C26.1097%2020.4318%2025.8264%2019.3213%2025.8264%2018.6075Z'%20fill='%23231F20'/%3e%3cpath%20d='M35.0151%2019.8082C34.8905%2020.2387%2034.4373%2020.4657%2033.9954%2020.4657C32.7154%2020.4657%2032.6244%2019.4456%2032.5791%2018.9928H36.7143V18.7095C36.7143%2015.9562%2035.0718%2015.39%2033.8821%2015.39C31.2421%2015.39%2030.9932%2017.7124%2030.9932%2018.4376C30.9932%2020.919%2032.2958%2021.7344%2033.9954%2021.7344C35.0265%2021.7344%2036.2271%2021.2589%2036.6467%2019.8082H35.0151ZM32.6244%2017.9617C32.7154%2017.1686%2033.1116%2016.6927%2033.8594%2016.6927C34.3693%2016.6927%2034.9925%2016.9873%2035.0831%2017.9617H32.6244Z'%20fill='%23231F20'/%3e%3cpath%20d='M46.2321%2016.1035C46.0958%2015.6163%2045.8356%2014.6985%2044.4306%2014.6985C43.6148%2014.6985%2042.4137%2015.2427%2042.4137%2017.5425C42.4137%2019.0041%2042.9916%2020.3184%2044.4306%2020.3184C45.3706%2020.3184%2046.0282%2019.7859%2046.2321%2018.7888H47.9313C47.5914%2020.556%2046.4361%2021.791%2044.3962%2021.791C42.2325%2021.791%2040.6802%2020.3298%2040.6802%2017.5198C40.6802%2014.6762%2042.3231%2013.2259%2044.4193%2013.2259C46.8549%2013.2259%2047.8407%2014.9024%2047.9313%2016.1035H46.2321Z'%20fill='%23231F20'/%3e%3cpath%20d='M53.9813%2017.1346C53.9813%2015.6503%2052.429%2015.39%2051.5792%2015.39C50.3442%2015.39%2049.0642%2015.6503%2048.8826%2017.4971H50.4122C50.4575%2017.1459%2050.5935%2016.6591%2051.3866%2016.6591C51.7945%2016.6591%2052.429%2016.6927%2052.429%2017.3612C52.429%2017.7011%2052.1231%2017.8031%2051.8738%2017.8371L50.4466%2018.0523C49.4381%2018.1996%2048.6899%2018.8002%2048.6899%2019.9785C48.6899%2021.2245%2049.619%2021.7344%2050.5259%2021.7344C51.6019%2021.7344%2052.1118%2021.2358%2052.4743%2020.8619C52.5083%2021.2022%2052.531%2021.2929%2052.6216%2021.5761H54.3326V21.3378C54.1399%2021.2698%2053.9813%2021.1116%2053.9813%2020.3974V17.1346ZM52.429%2019.412C52.429%2020.1485%2051.7152%2020.6013%2051.0131%2020.6013C50.7068%2020.6013%2050.2766%2020.4317%2050.2766%2019.8765C50.2766%2019.2194%2050.7638%2019.0721%2051.3526%2018.9701C52.0098%2018.8681%2052.2704%2018.7662%2052.429%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3cpath%20d='M57.1766%2015.5482H58.1627V16.6813H57.1766V19.9558C57.1766%2020.3067%2057.1879%2020.443%2057.8338%2020.443C57.9357%2020.443%2058.0494%2020.4317%2058.1627%2020.42V21.621C57.9131%2021.6323%2057.6638%2021.644%2057.4145%2021.644H57.211C55.84%2021.644%2055.5907%2021.1225%2055.5907%2020.341V16.6813H54.7749V15.5482H55.5907V13.917H57.1766V15.5482Z'%20fill='%23231F20'/%3e%3cpath%20d='M64.0532%2017.1346C64.0532%2015.6503%2062.5013%2015.39%2061.6515%2015.39C60.4165%2015.39%2059.1361%2015.6503%2058.9548%2017.4971H60.4844C60.5298%2017.1459%2060.6654%2016.6591%2061.4589%2016.6591C61.8668%2016.6591%2062.5013%2016.6927%2062.5013%2017.3612C62.5013%2017.7011%2062.195%2017.8031%2061.9461%2017.8371L60.5184%2018.0523C59.51%2018.1996%2058.7622%2018.8002%2058.7622%2019.9785C58.7622%2021.2245%2059.6913%2021.7344%2060.5977%2021.7344C61.6738%2021.7344%2062.184%2021.2358%2062.5466%2020.8619C62.5806%2021.2022%2062.6029%2021.2929%2062.6939%2021.5761H64.4044V21.3378C64.2118%2021.2698%2064.0532%2021.1116%2064.0532%2020.3974V17.1346ZM62.5013%2019.412C62.5013%2020.1485%2061.7875%2020.6013%2061.085%2020.6013C60.779%2020.6013%2060.3485%2020.4317%2060.3485%2019.8765C60.3485%2019.2194%2060.8357%2019.0721%2061.4249%2018.9701C62.0817%2018.8681%2062.3427%2018.7662%2062.5013%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3cpath%20d='M67.1014%2021.5762H65.5151V13.4412H67.1014V21.5762Z'%20fill='%23231F20'/%3e%3cpath%20d='M74.0578%2021.5761H72.5395V20.7263H72.5169C72.1543%2021.3718%2071.5201%2021.7344%2070.6817%2021.7344C69.492%2021.7344%2068.6309%2021.0545%2068.6309%2019.514V15.5483H70.2168V19.2874C70.2168%2020.2165%2070.761%2020.3974%2071.2478%2020.3974C71.769%2020.3974%2072.4715%2020.1028%2072.4715%2019.0268V15.5483H74.0578V21.5761Z'%20fill='%23231F20'/%3e%3cpath%20d='M80.9916%2021.5762H79.4053V17.9164C79.4053%2017.4745%2079.3827%2016.7267%2078.3742%2016.7267C77.6721%2016.7267%2077.1279%2017.2026%2077.1279%2018.1204V21.5762H75.542V15.5483H77.0603V16.4321H77.0826C77.2982%2016.0695%2077.7514%2015.3901%2078.8955%2015.3901C80.0738%2015.3901%2080.9916%2016.0809%2080.9916%2017.4065V21.5762Z'%20fill='%23231F20'/%3e%3cpath%20d='M85.5378%2021.4741C84.7896%2023.7058%2084.586%2024%2083.2037%2024C82.9884%2024%2082.7165%2023.989%2082.4903%2023.9777V22.7091C82.5579%2022.72%2082.6598%2022.7317%2082.7958%2022.7317C83.3737%2022.7317%2083.6909%2022.652%2083.8382%2021.8253L81.6174%2015.5482H83.385L84.6767%2019.9894H84.6993L85.9344%2015.5482H87.6109L85.5378%2021.4741Z'%20fill='%23231F20'/%3e%3cpath%20d='M93.0864%2017.1346C93.0864%2015.6503%2091.5345%2015.39%2090.6847%2015.39C89.4493%2015.39%2088.1693%2015.6503%2087.988%2017.4971H89.5173C89.563%2017.1459%2089.6989%2016.6591%2090.4917%2016.6591C90.8996%2016.6591%2091.5345%2016.6927%2091.5345%2017.3612C91.5345%2017.7011%2091.2282%2017.8031%2090.9789%2017.8371L89.5516%2018.0523C88.5432%2018.1996%2087.7954%2018.8002%2087.7954%2019.9785C87.7954%2021.2245%2088.7241%2021.7344%2089.631%2021.7344C90.707%2021.7344%2091.2168%2021.2358%2091.5794%2020.8619C91.6138%2021.2022%2091.6361%2021.2929%2091.7271%2021.5761H93.4376V21.3378C93.245%2021.2698%2093.0864%2021.1116%2093.0864%2020.3974V17.1346ZM91.5345%2019.412C91.5345%2020.1485%2090.8203%2020.6013%2090.1182%2020.6013C89.8119%2020.6013%2089.3817%2020.4317%2089.3817%2019.8765C89.3817%2019.2194%2089.8689%2019.0721%2090.4577%2018.9701C91.1152%2018.8681%2091.3755%2018.7662%2091.5345%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3c/svg%3e",template$a=te=>ke$1`
|
|
6914
|
+
`};var k=Object.defineProperty,e=(te,J,X,re)=>{for(var ne=void 0,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&k(J,X,ne),ne};const h$1=class extends h$o{constructor(){super(),this.label="",this.hideLabel=!1,this.name="",this.type="text",this.placeholder="",this.value="",this.disabled=!1,this.readonly=!1,this.required=!1,this.invalid=!1,this.autocapitalize="none",this.autocomplete="off",this.autocorrect=!1,this.autofocus=!1,this.spellcheck=!1,this.size="lg",this._isFocused=!1,this._isTruncated=!1,this._onHoldInterval=null,this._previousValue=null,this.internals=this.attachInternals()}static get styles(){return[r$H(e$I),r$H(s)]}disconnectedCallback(){super.disconnectedCallback(),this._stopHold()}updated(J){J.has("value")&&this.internals.setFormValue(this.value)}formDisabledCallback(J){this.disabled=J}formResetCallback(){this.value=""}formStateRestoreCallback(J){this.value=J??""}render(){return x(this)}_handleFocusin(){this._isFocused=!0}_handleFocusout(){this._isFocused=!1}_onInput(J){const X=J.target;if(this.maskRegex&&this.maskReplace){this._previousValue&&this._previousValue.length>X?.value.length&&(X.value=M$2(this._previousValue,X.value,this.maskReplace));const re=R$1(X.value,this.maskRegex,this.maskReplace,this.allowedChars);re!==X.value&&(X.value=re)}this._previousValue=X.value,this.value=X.value,this._handleValidity(),this.dispatchEvent(new Event("input",{bubbles:!1,composed:!0}))}_handleValidity(){var J;const X=(J=this._input)==null?void 0:J.checkValidity();this.invalid=!X,this.internals.setValidity(this._input.validity,this._input.validationMessage,this._input)}_stepUp(){var J;(J=this._input)==null||J.stepUp(),this.value=this._input.value,this._handleValidity(),this._emitChange()}_stepDown(){var J;(J=this._input)==null||J.stepDown(),this.value=this._input.value,this._handleValidity(),this._emitChange()}_onHold(J){this._onHoldInterval=window.setInterval(()=>{J==="up"?this._stepUp():this._stepDown()},150)}_stopHold(){this._onHoldInterval!==null&&(clearInterval(this._onHoldInterval),this._onHoldInterval=null)}_emitChange(){this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}};h$1.formAssociated=!0;let t=h$1;e([e$M("input.dss-input")],t.prototype,"_input"),e([n$z({type:String})],t.prototype,"label"),e([n$z(n$w)],t.prototype,"hideLabel"),e([n$z({type:String})],t.prototype,"name"),e([n$z({type:String})],t.prototype,"type"),e([n$z({type:String})],t.prototype,"placeholder"),e([n$z({type:String})],t.prototype,"value"),e([n$z({converter:o$I,reflect:!0})],t.prototype,"disabled"),e([n$z({converter:o$I,reflect:!0})],t.prototype,"readonly"),e([n$z({converter:o$I,reflect:!0})],t.prototype,"required"),e([n$z({converter:o$I,reflect:!0})],t.prototype,"invalid"),e([n$z({type:Number})],t.prototype,"step"),e([n$z({type:Number})],t.prototype,"min"),e([n$z({type:Number})],t.prototype,"max"),e([n$z({type:Number})],t.prototype,"minLength"),e([n$z({type:Number})],t.prototype,"maxLength"),e([n$z({type:String})],t.prototype,"pattern"),e([n$z({type:String})],t.prototype,"inputmode"),e([n$z({type:String})],t.prototype,"autocapitalize"),e([n$z({type:String})],t.prototype,"autocomplete"),e([n$z(n$w)],t.prototype,"autocorrect"),e([n$z(n$w)],t.prototype,"autofocus"),e([n$z(n$w)],t.prototype,"spellcheck"),e([n$z({type:String})],t.prototype,"size"),e([n$z({type:String})],t.prototype,"icon"),e([n$z({type:String})],t.prototype,"helpText"),e([n$z({type:String})],t.prototype,"maskRegex"),e([n$z({type:String})],t.prototype,"maskReplace"),e([n$z({type:String})],t.prototype,"allowedChars"),e([n$z({type:String})],t.prototype,"unit"),e([n$z({type:String})],t.prototype,"inputPrefix"),e([r$E()],t.prototype,"_isFocused"),e([r$E()],t.prototype,"_isTruncated"),e([r$E()],t.prototype,"_onHoldInterval"),e([r$E()],t.prototype,"_previousValue"),s$u("dss-accordion",o$F),s$u("dss-action-menu",r$A),s$u("dss-action-menu-item",o$D),s$u("dss-alert",a$q),s$u("dss-avatar",m$d),s$u("dss-badge",o$x),s$u("dss-badge-button",o$z),s$u("dss-button",s$n),s$u("dss-breadcrumb-bar",v$i),s$u("dss-calendar",u$q),s$u("dss-chat-message",r$y),s$u("dss-checkbox",d$e),s$u("dss-chip",i$r),s$u("dss-content-switcher",l$q),s$u("dss-custom-table",o$u),s$u("dss-custom-table-header",r$v),s$u("dss-datepicker",o$t),s$u("dss-datepicker-range",r$s),s$u("dss-decorative-icon",o$r),s$u("dss-divider",c$b),s$u("dss-drawer",h$h),s$u("dss-footer",f$i),s$u("dss-header-links",r$p),s$u("dss-header-menu-patient",i$j),s$u("dss-header-menu-professional",o$q),s$u("dss-icon",r$D),s$u("dss-icon-badge",n$o),s$u("dss-icon-button",r$o),s$u("dss-input",n$l),s$u("dss-input-action",n$n),s$u("dss-input-dropdown",n$m),s$u("dss-input-switch",a$e),s$u("dss-item-list",n$j),s$u("dss-list-menu",o$l),s$u("dss-link",o$m),s$u("dss-legend",o$n),s$u("dss-modal",d$8),s$u("dss-module-header",m$5),s$u("dss-notification-badge",r$j),s$u("dss-pagination",g$d),s$u("dss-progress-indicator",i$h),s$u("dss-radio-button",a$b),s$u("dss-search-bar",h$c),s$u("dss-selector",c$7),s$u("dss-slider",n$d),s$u("dss-spinner",d$6),s$u("dss-stepper",Stepper),s$u("dss-skeleton",h$a),s$u("dss-tabs-list",l$b),s$u("dss-tabs-panel",o$d),s$u("dss-table-pagination",a$8),s$u("dss-textarea",a$6),s$u("dss-tile",o$b),s$u("dss-timepicker",_$4),s$u("dss-toast",o$9),s$u("dss-tooltip",p$6),s$u("dss-typography",o$G),s$u("dss-popover",r$i),s$u("dss-popover-body",l$f),s$u("dss-popover-footer",l$e),s$u("dss-sidemenu-list",c$6),s$u("dss-sidemenu-list-item",o$f),s$u("dss-split-button",n$c),s$u("dss-user-feedback",r$9),s$u("dss-upload-box",o$7),s$u("dss-card",l$7),s$u("dss-card-body",n$8),s$u("dss-card-description",p$4),s$u("dss-card-footer",l$6),s$u("dss-card-form",b$3),s$u("dss-card-header",o$6),s$u("dss-card-highlights-item",e$9),s$u("dss-card-highlights",n$6),s$u("dss-card-image",d$4),s$u("dss-card-info-item",n$4),s$u("dss-card-info",i$5),s$u("dss-card-menu",p$2),s$u("dss-card-subtitle",r$7),s$u("dss-card-tags",i$4),s$u("dss-card-title",p$1),s$u("dss-header",l$3),s$u("dss-preset-texts",l$2),s$u("dss-side-menu",d$3),s$u("dss-widget",o$3),s$u("dss-button-link",o$1),s$u("dss-breadcrumb",v$2),s$u("dss-date-picker",n$2),s$u("dss-dropdownlist",l$1),s$u("dss-input-field",n$1),s$u("dss-table",r),s$u("dss-sidemenu",o),s$u("dss-switch",d$1),s$u("dss-form-input",t);const gencatLogo="data:image/svg+xml,%3csvg%20width='94'%20height='24'%20viewBox='0%200%2094%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.36109%200.0906219C4.28803%200.0906219%200.175049%204.88609%200.175049%2010.8006C0.175049%2016.7148%204.28803%2021.5103%209.36109%2021.5103C14.4341%2021.5103%2018.5471%2016.7148%2018.5471%2010.8006C18.5471%204.88609%2014.4341%200.0906219%209.36109%200.0906219Z'%20fill='%23ED192D'/%3e%3cpath%20d='M2.94731%2016.1348C2.06504%2014.6225%201.54761%2012.784%201.54761%2010.8007C1.54761%208.81751%202.06504%206.97893%202.94731%205.46631V16.1348Z'%20fill='white'/%3e%3cpath%20d='M4.92041%203.11644C5.42915%202.69532%205.98132%202.34559%206.56749%202.07705V19.5234C5.98132%2019.2553%205.42915%2018.9048%204.92041%2018.4844V3.11644Z'%20fill='white'/%3e%3cpath%20d='M8.54004%201.5129C8.81008%201.47928%209.08354%201.46191%209.36076%201.46191C9.63986%201.46191%209.91557%201.47966%2010.1871%201.51365V20.087C9.91557%2020.121%209.63986%2020.1392%209.36076%2020.1392C9.08354%2020.1392%208.81008%2020.1214%208.54004%2020.0882V1.5129Z'%20fill='white'/%3e%3cpath%20d='M12.1604%202.07993C12.7469%202.34884%2013.2991%202.70008%2013.8075%203.12119V18.4797C13.2991%2018.9012%2012.7469%2019.2521%2012.1604%2019.521V2.07993Z'%20fill='white'/%3e%3cpath%20d='M15.7808%205.47645C16.6596%206.98681%2017.1752%208.82161%2017.1752%2010.8007C17.1752%2012.7797%2016.6596%2014.6142%2015.7808%2016.1245V5.47645Z'%20fill='white'/%3e%3cpath%20d='M0.944824%2010.8007C0.944824%208.34538%201.69906%206.09853%202.94769%204.36383V4.94963C1.89848%206.56989%201.27454%208.59843%201.27454%2010.8007C1.27454%2013.0026%201.89848%2015.0311%202.94769%2016.6514V17.2368C1.69906%2015.5025%200.944824%2013.2557%200.944824%2010.8007Z'%20fill='white'/%3e%3cpath%20d='M15.7808%2016.6428C16.8266%2015.0241%2017.4486%2012.9989%2017.4486%2010.8008C17.4486%208.6027%2016.8266%206.57755%2015.7808%204.9588V4.37226C17.0264%206.10545%2017.7776%208.34928%2017.7776%2010.8008C17.7776%2013.252%2017.0264%2015.4958%2015.7808%2017.229V16.6428Z'%20fill='white'/%3e%3cpath%20d='M18.3143%2020.3882C18.377%2020.1193%2018.5042%2019.844%2018.6523%2019.6241C18.4623%2019.5309%2018.3022%2019.4606%2018.1371%2019.3175C18.5012%2018.7675%2018.5919%2018.391%2018.6515%2017.7289L18.6259%2013.9857C18.3856%2015.0742%2017.8044%2016.5018%2017.3025%2017.2481C17.1559%2017.4664%2017.0913%2017.6047%2017.0007%2017.7501C16.9486%2017.8343%2016.6536%2018.3204%2016.6611%2018.9156C16.4553%2018.9571%2016.2665%2018.9496%2016.0274%2018.9318C16.0569%2019.1909%2016.0727%2019.2276%2016.0047%2019.6521C15.0972%2019.7223%2014.8328%2020.2666%2013.7571%2020.8482C13.2314%2021.1326%2012.8903%2021.2621%2012.104%2021.5492C13.9324%2021.5273%2015.275%2021.7871%2016.4243%2021.0144C16.555%2021.1874%2016.6521%2021.3554%2016.7382%2021.559C16.8964%2021.4348%2017.2069%2021.2814%2017.4649%2021.2149C17.7606%2021.5061%2018.1568%2021.6209%2018.6644%2021.5752C18.7361%2021.1666%2018.6345%2020.6643%2018.3143%2020.3882Z'%20fill='%23ED192D'/%3e%3cpath%20d='M18.4518%2019.6968C18.3101%2019.7546%2017.6431%2020.0008%2017.6431%2020.0008L17.6341%2020.0103C17.6307%2019.9517%2017.6167%2019.8939%2017.5922%2019.8395L17.5884%2019.8271C17.8456%2019.6734%2018.0072%2019.4558%2018.011%2019.4222C18.0091%2019.4195%2018.008%2019.4177%2018.0095%2019.418C18.0106%2019.4184%2018.011%2019.4199%2018.011%2019.4222C18.0329%2019.452%2018.2524%2019.6556%2018.4518%2019.6968Z'%20fill='white'/%3e%3cpath%20d='M17.9002%2016.5344C18.5691%2015.055%2018.4116%2015.1192%2018.5596%2014.5051C18.54%2014.8008%2018.5211%2015.174%2018.4792%2015.4444C18.1876%2017.0563%2017.7687%2018.2506%2017.2653%2019.5683C17.2653%2019.5683%2017.1271%2019.5566%2017.0576%2019.5698C16.9356%2019.4293%2016.8974%2019.2348%2016.8974%2019.2348C16.6633%2018.2634%2017.3918%2017.6584%2017.9002%2016.5344Z'%20fill='white'/%3e%3cpath%20d='M16.2266%2019.1308L16.8509%2019.652L16.8528%2019.6569C16.8339%2019.6709%2016.8154%2019.6868%2016.798%2019.7038C16.7667%2019.7355%2016.7402%2019.7699%2016.7195%2019.8069L16.7157%2019.8159C16.3977%2019.6614%2016.1851%2019.655%2016.1851%2019.655C16.2651%2019.3106%2016.2266%2019.1308%2016.2266%2019.1308Z'%20fill='white'/%3e%3cpath%20d='M13.3914%2021.3775C13.0776%2021.4493%2012.8241%2021.4459%2012.6262%2021.4546L13.2909%2021.2487C14.7314%2020.7087%2015.0982%2019.8725%2016.0711%2019.8532C16.2988%2019.8551%2016.4854%2019.9148%2016.6542%2020.0096L16.6561%2020.0356C16.6493%2020.0979%2016.655%2020.1614%2016.6731%2020.2222L16.6735%2020.2313C16.0016%2020.5648%2014.4655%2021.1313%2013.3914%2021.3775Z'%20fill='white'/%3e%3cpath%20d='M16.8149%2021.334C16.7764%2021.2309%2016.7228%2021.0643%2016.574%2020.8996C16.7745%2020.7297%2016.8157%2020.6383%2016.8829%2020.4721L16.8878%2020.4744C16.9509%2020.5118%2017.0208%2020.5333%2017.0914%2020.539L17.0997%2020.5378L16.8149%2021.334Z'%20fill='white'/%3e%3cpath%20d='M16.9431%2020.2505C16.8324%2020.1391%2016.8328%2019.9589%2016.9442%2019.8479C17.0556%2019.7372%2017.2354%2019.7376%2017.3464%2019.8494C17.4571%2019.9604%2017.4567%2020.1406%2017.3453%2020.2512C17.2339%2020.3619%2017.0537%2020.3615%2016.9431%2020.2505Z'%20fill='white'/%3e%3cpath%20d='M17.5617%2021.0476C17.4147%2020.8765%2017.3517%2020.7443%2017.2961%2020.5128C17.369%2020.4916%2017.4548%2020.4474%2017.5061%2020.3757L18.5032%2021.3883C18.1248%2021.4234%2017.7973%2021.3342%2017.5617%2021.0476Z'%20fill='white'/%3e%3cpath%20d='M18.6644%200.00993252C18.1568%20-0.0361447%2017.7606%200.0786629%2017.4649%200.369858C17.2069%200.303385%2016.8964%200.150051%2016.7382%200.0257921C16.6521%200.229364%2016.555%200.397053%2016.4243%200.57041C15.275%20-0.202332%2013.9324%200.057518%2012.104%200.0352345C12.8903%200.322652%2013.2314%200.452191%2013.7571%200.736588C14.8328%201.31822%2015.0972%201.86208%2016.0047%201.93271C16.0727%202.35723%2016.0569%202.39349%2016.0274%202.65334C16.2665%202.63521%2016.4553%202.62765%2016.6611%202.6692C16.6536%203.26405%2016.9486%203.75051%2017.0007%203.83436C17.0913%203.98014%2017.1559%204.11839%2017.3025%204.33669C17.8044%205.08299%2018.3856%206.51026%2018.6259%207.59912L18.6515%203.8559C18.5919%203.19382%2018.5012%202.81726%2018.1371%202.26735C18.3022%202.12421%2018.4623%202.05396%2018.6523%201.96067C18.5042%201.74086%2018.377%201.46515%2018.3143%201.19661C18.6345%200.920149%2018.7361%200.41821%2018.6644%200.00993252Z'%20fill='%23ED192D'/%3e%3cpath%20d='M18.4518%201.88761C18.3101%201.82982%2017.6431%201.58358%2017.6431%201.58358L17.6341%201.57414C17.6307%201.6323%2017.6167%201.69047%2017.5922%201.74485L17.5884%201.75732C17.8456%201.91104%2018.0072%202.12857%2018.011%202.16219C18.0091%202.16521%2018.008%202.16709%2018.0095%202.16634C18.0106%202.16558%2018.011%202.16445%2018.011%202.16219C18.0329%202.13273%2018.2524%201.92878%2018.4518%201.88761Z'%20fill='white'/%3e%3cpath%20d='M17.9002%205.05029C18.5691%206.52968%2018.4116%206.46547%2018.5596%207.07959C18.54%206.78386%2018.5211%206.41034%2018.4792%206.14067C18.1876%204.52834%2017.7687%203.33408%2017.2653%202.01596C17.2653%202.01596%2017.1271%202.02806%2017.0576%202.01484C16.9356%202.15534%2016.8974%202.34985%2016.8974%202.34985C16.6633%203.32125%2017.3918%203.9263%2017.9002%205.05029Z'%20fill='white'/%3e%3cpath%20d='M16.2266%202.45361L16.8509%201.9324L16.8528%201.92749C16.8339%201.91352%2016.8154%201.89766%2016.798%201.88067C16.7667%201.84932%2016.7402%201.81419%2016.7195%201.77793L16.7157%201.76812C16.3977%201.92297%2016.1851%201.929%2016.1851%201.929C16.2651%202.27345%2016.2266%202.45361%2016.2266%202.45361Z'%20fill='white'/%3e%3cpath%20d='M13.3914%200.207236C13.0776%200.135476%2012.8241%200.138873%2012.6262%200.130187L13.2909%200.336013C14.7314%200.876102%2015.0982%201.71229%2016.0711%201.73193C16.2988%201.72967%2016.4854%201.67%2016.6542%201.5752L16.6561%201.54914C16.6493%201.48682%2016.655%201.42337%2016.6731%201.36257L16.6735%201.35351C16.0016%201.01964%2014.4655%200.453108%2013.3914%200.207236Z'%20fill='white'/%3e%3cpath%20d='M16.8149%200.250924C16.7764%200.354032%2016.7228%200.52059%2016.574%200.685261C16.7745%200.855219%2016.8157%200.946612%2016.8829%201.11279L16.8878%201.11091C16.9509%201.07314%2017.0208%201.05162%2017.0914%201.04557L17.0997%201.04709L16.8149%200.250924Z'%20fill='white'/%3e%3cpath%20d='M16.9431%201.3342C16.8324%201.446%2016.8328%201.62577%2016.9442%201.73643C17.0556%201.84747%2017.2354%201.84672%2017.3464%201.73568C17.4571%201.62388%2017.4567%201.44411%2017.3453%201.33345C17.2339%201.22279%2017.0537%201.22316%2016.9431%201.3342Z'%20fill='white'/%3e%3cpath%20d='M17.5617%200.537082C17.4147%200.708173%2017.3517%200.84035%2017.2961%201.07187C17.369%201.09302%2017.4548%201.13722%2017.5061%201.20898L18.5032%200.19641C18.1248%200.161286%2017.7973%200.25042%2017.5617%200.537082Z'%20fill='white'/%3e%3cpath%20d='M0.0217433%2021.5752C0.529351%2021.6209%200.925543%2021.5061%201.22127%2021.2149C1.47923%2021.2814%201.78968%2021.4348%201.94831%2021.559C2.03405%2021.3554%202.13149%2021.1874%202.26217%2021.0144C3.41146%2021.7871%204.75375%2021.5273%206.58213%2021.5492C5.79579%2021.2621%205.45474%2021.1326%204.929%2020.8482C3.85335%2020.2666%203.58935%2019.7223%202.6814%2019.6521C2.61379%2019.2276%202.62927%2019.1909%202.65873%2018.9318C2.42004%2018.9496%202.2312%2018.9571%202.02536%2018.9156C2.03291%2018.3204%201.73794%2017.8343%201.68545%2017.7501C1.5948%2017.6047%201.5306%2017.4664%201.38368%2017.2481C0.882111%2016.5018%200.300853%2015.0742%200.0602679%2013.9857L0.0345879%2017.7289C0.0942621%2018.391%200.185284%2018.7675%200.549372%2019.3175C0.383946%2019.4606%200.224185%2019.5309%200.0342099%2019.6241C0.181884%2019.844%200.30954%2020.1193%200.372236%2020.3882C0.0515815%2020.6643%20-0.049639%2021.1666%200.0217433%2021.5752Z'%20fill='%23ED192D'/%3e%3cpath%20d='M0.234375%2019.6968C0.376007%2019.7546%201.04338%2020.0008%201.04338%2020.0008L1.05244%2020.0103C1.05546%2019.9517%201.06981%2019.8939%201.09436%2019.8395L1.09777%2019.8271C0.84094%2019.6734%200.678912%2019.4558%200.675512%2019.4222C0.677401%2019.4195%200.678535%2019.4177%200.676647%2019.418C0.675514%2019.4184%200.675135%2019.4199%200.675512%2019.4222C0.653229%2019.452%200.43417%2019.6556%200.234375%2019.6968Z'%20fill='white'/%3e%3cpath%20d='M0.785417%2016.5344C0.116538%2015.055%200.274029%2015.1192%200.125977%2014.5051C0.145238%2014.8008%200.164123%2015.174%200.206424%2015.4444C0.497996%2017.0563%200.916471%2018.2506%201.4203%2019.5683C1.4203%2019.5683%201.55816%2019.5566%201.62765%2019.5698C1.74964%2019.4293%201.78779%2019.2348%201.78779%2019.2348C2.02195%2018.2634%201.29378%2017.6584%200.785417%2016.5344Z'%20fill='white'/%3e%3cpath%20d='M2.45945%2019.1308L1.83552%2019.652L1.83325%2019.6569C1.85251%2019.6709%201.87064%2019.6868%201.88801%2019.7038C1.91936%2019.7355%201.9458%2019.7699%201.96657%2019.8069L1.97035%2019.8159C2.28836%2019.6614%202.50137%2019.655%202.50137%2019.655C2.42093%2019.3106%202.45945%2019.1308%202.45945%2019.1308Z'%20fill='white'/%3e%3cpath%20d='M5.29439%2021.3775C5.60825%2021.4493%205.86167%2021.4459%206.05958%2021.4546L5.39524%2021.2487C3.95437%2020.7087%203.58764%2019.8725%202.61472%2019.8532C2.38736%2019.8551%202.2004%2019.9148%202.03158%2020.0096L2.03007%2020.0356C2.03649%2020.0979%202.03082%2020.1614%202.01307%2020.2222L2.0127%2020.2313C2.68422%2020.5648%204.22063%2021.1313%205.29439%2021.3775Z'%20fill='white'/%3e%3cpath%20d='M1.8712%2021.334C1.90973%2021.2309%201.96336%2021.0643%202.11254%2020.8996C1.91199%2020.7297%201.87044%2020.6383%201.80359%2020.4721L1.79831%2020.4744C1.73561%2020.5118%201.66574%2020.5333%201.59473%2020.539L1.58643%2020.5378L1.8712%2021.334Z'%20fill='white'/%3e%3cpath%20d='M1.74254%2020.2505C1.85358%2020.1391%201.85282%2019.9589%201.74178%2019.8479C1.63037%2019.7372%201.45021%2019.7376%201.33955%2019.8494C1.22889%2019.9604%201.22927%2020.1406%201.34068%2020.2512C1.4521%2020.3619%201.63188%2020.3615%201.74254%2020.2505Z'%20fill='white'/%3e%3cpath%20d='M1.1243%2021.0476C1.27122%2020.8765%201.33429%2020.7443%201.39019%2020.5128C1.31729%2020.4916%201.23156%2020.4474%201.17982%2020.3757L0.183105%2021.3883C0.561545%2021.4234%200.888999%2021.3342%201.1243%2021.0476Z'%20fill='white'/%3e%3cpath%20d='M0.372236%201.19661C0.30954%201.46515%200.181884%201.74086%200.0342099%201.96067C0.224185%202.05396%200.383946%202.12421%200.549372%202.26735C0.185284%202.81726%200.0942621%203.19382%200.0345879%203.8559L0.0602679%207.59912C0.300853%206.51026%200.882111%205.08299%201.38368%204.33669C1.5306%204.11839%201.5948%203.98014%201.68545%203.83436C1.73794%203.75051%202.03291%203.26405%202.02536%202.6692C2.2312%202.62765%202.42004%202.63521%202.65873%202.65334C2.62927%202.39349%202.61379%202.35723%202.6814%201.93271C3.58935%201.86208%203.85335%201.31822%204.929%200.736588C5.45474%200.452191%205.79579%200.322652%206.58213%200.0352345C4.75375%200.057518%203.41146%20-0.202332%202.26217%200.57041C2.13149%200.397053%202.03405%200.229364%201.94831%200.0257921C1.78968%200.150051%201.47923%200.303385%201.22127%200.369858C0.925543%200.0786629%200.529351%20-0.0361447%200.0217433%200.00993252C-0.049639%200.41821%200.0515815%200.920149%200.372236%201.19661Z'%20fill='%23ED192D'/%3e%3cpath%20d='M0.234375%201.88761C0.376007%201.82982%201.04338%201.58358%201.04338%201.58358L1.05244%201.57414C1.05546%201.6323%201.06981%201.69047%201.09436%201.74485L1.09777%201.75732C0.84094%201.91104%200.678912%202.12857%200.675512%202.16219C0.677401%202.16521%200.678535%202.16709%200.676647%202.16634C0.675514%202.16558%200.675135%202.16445%200.675512%202.16219C0.653229%202.13273%200.43417%201.92878%200.234375%201.88761Z'%20fill='white'/%3e%3cpath%20d='M0.785417%205.05029C0.116538%206.52968%200.274029%206.46547%200.125977%207.07959C0.145238%206.78386%200.164123%206.41034%200.206424%206.14067C0.497996%204.52834%200.916471%203.33408%201.4203%202.01596C1.4203%202.01596%201.55816%202.02806%201.62765%202.01484C1.74964%202.15534%201.78779%202.34985%201.78779%202.34985C2.02195%203.32125%201.29378%203.9263%200.785417%205.05029Z'%20fill='white'/%3e%3cpath%20d='M2.45945%202.45361L1.83552%201.9324L1.83325%201.92749C1.85251%201.91352%201.87064%201.89766%201.88801%201.88067C1.91936%201.84932%201.9458%201.81419%201.96657%201.77793L1.97035%201.76812C2.28836%201.92297%202.50137%201.929%202.50137%201.929C2.42093%202.27345%202.45945%202.45361%202.45945%202.45361Z'%20fill='white'/%3e%3cpath%20d='M5.29439%200.207236C5.60825%200.135476%205.86167%200.138873%206.05958%200.130187L5.39524%200.336013C3.95437%200.876102%203.58764%201.71229%202.61472%201.73193C2.38736%201.72967%202.2004%201.67%202.03158%201.5752L2.03007%201.54914C2.03649%201.48682%202.03082%201.42337%202.01307%201.36257L2.0127%201.35351C2.68422%201.01964%204.22063%200.453108%205.29439%200.207236Z'%20fill='white'/%3e%3cpath%20d='M1.8712%200.250924C1.90973%200.354032%201.96336%200.52059%202.11254%200.685261C1.91199%200.855219%201.87044%200.946612%201.80359%201.11279L1.79831%201.11091C1.73561%201.07314%201.66574%201.05162%201.59473%201.04557L1.58643%201.04709L1.8712%200.250924Z'%20fill='white'/%3e%3cpath%20d='M1.74254%201.3342C1.85358%201.446%201.85282%201.62577%201.74178%201.73643C1.63037%201.84747%201.45021%201.84672%201.33955%201.73568C1.22889%201.62388%201.22927%201.44411%201.34068%201.33345C1.4521%201.22279%201.63188%201.22316%201.74254%201.3342Z'%20fill='white'/%3e%3cpath%20d='M1.1243%200.537082C1.27122%200.708173%201.33429%200.84035%201.39019%201.07187C1.31729%201.09302%201.23156%201.13722%201.17982%201.20898L0.183105%200.19641C0.561545%200.161286%200.888999%200.25042%201.1243%200.537082Z'%20fill='white'/%3e%3cpath%20d='M13.8075%202.35891V2.77588C13.2961%202.37516%2012.7443%202.04129%2012.1604%201.7856V1.42263C12.7417%201.66473%2013.2931%201.98047%2013.8075%202.35891Z'%20fill='white'/%3e%3cpath%20d='M9.36076%200.858693C9.63949%200.858693%209.91519%200.875302%2010.1871%200.906272V1.24316C9.91557%201.21068%209.63986%201.19369%209.36076%201.19369C9.08391%201.19369%208.81008%201.21031%208.54004%201.2428V0.905904C8.81046%200.874933%209.08391%200.858693%209.36076%200.858693Z'%20fill='white'/%3e%3cpath%20d='M6.56749%201.42051V1.78309C5.98396%202.03802%205.43217%202.37152%204.92041%202.77148V2.35454C5.43519%201.97648%205.98699%201.66185%206.56749%201.42051Z'%20fill='white'/%3e%3cpath%20d='M4.92041%2019.2462V18.8296C5.43217%2019.2295%205.98396%2019.5626%206.56749%2019.818V20.1802C5.98699%2019.9388%205.43519%2019.6246%204.92041%2019.2462Z'%20fill='white'/%3e%3cpath%20d='M9.36076%2020.7427C9.08391%2020.7427%208.81046%2020.7264%208.54004%2020.6955V20.3582C8.81008%2020.3907%209.08391%2020.4073%209.36076%2020.4073C9.63986%2020.4073%209.91557%2020.3903%2010.1871%2020.3574V20.6947C9.91519%2020.7261%209.63949%2020.7427%209.36076%2020.7427Z'%20fill='white'/%3e%3cpath%20d='M12.1604%2020.1777V19.8152C12.7443%2019.5598%2013.2961%2019.226%2013.8075%2018.8252V19.2415C13.2931%2019.6206%2012.7417%2019.936%2012.1604%2020.1777Z'%20fill='white'/%3e%3cpath%20d='M28.4893%205.86063H31.8881V10.2455H30.7554L30.5855%209.22543C30.1545%209.72398%2029.5317%2010.4604%2028.0474%2010.4604C26.0876%2010.4604%2024.3083%209.05546%2024.3083%206.20054C24.3083%203.98014%2025.5434%201.884%2028.2854%201.89533C30.7781%201.89533%2031.7635%203.51559%2031.8541%204.63693H30.1545C30.1545%204.31968%2029.577%203.29994%2028.376%203.29994C27.1636%203.29994%2026.0423%204.13839%2026.0423%206.22321C26.0423%208.44399%2027.2547%209.02185%2028.41%209.02185C28.7839%209.02185%2030.0303%208.87418%2030.3815%207.23163H28.4893V5.86063Z'%20fill='%23231F20'/%3e%3cpath%20d='M36.9077%208.47762C36.7831%208.90856%2036.3298%209.13517%2035.888%209.13517C34.6076%209.13517%2034.517%208.11505%2034.4716%207.6622H38.6069V7.37894C38.6069%204.62562%2036.9644%204.05946%2035.7746%204.05946C33.135%204.05946%2032.8857%206.38184%2032.8857%207.107C32.8857%209.58839%2034.1884%2010.4038%2035.888%2010.4038C36.9187%2010.4038%2038.1201%209.9283%2038.5389%208.47762H36.9077ZM34.517%206.63113C34.6076%205.83799%2035.0042%205.36211%2035.752%205.36211C36.2619%205.36211%2036.885%205.65671%2036.9757%206.63113H34.517Z'%20fill='%23231F20'/%3e%3cpath%20d='M45.1106%2010.2456H43.5243V6.58585C43.5243%206.14396%2043.5017%205.39614%2042.4933%205.39614C41.7908%205.39614%2041.2469%205.87202%2041.2469%206.78979V10.2456H39.6606V4.21776H41.1793V5.10155H41.2016C41.4172%204.73898%2041.8701%204.05951%2043.0145%204.05951C44.1928%204.05951%2045.1106%204.7503%2045.1106%206.07597V10.2456Z'%20fill='%23231F20'/%3e%3cpath%20d='M50.1294%208.47762C50.0047%208.90856%2049.5515%209.13517%2049.1096%209.13517C47.8293%209.13517%2047.7386%208.11505%2047.6933%207.6622H51.829V7.37894C51.829%204.62562%2050.186%204.05946%2048.9963%204.05946C46.3567%204.05946%2046.1074%206.38184%2046.1074%207.107C46.1074%209.58839%2047.4104%2010.4038%2049.1096%2010.4038C50.1407%2010.4038%2051.3417%209.9283%2051.7606%208.47762H50.1294ZM47.7386%206.63113C47.8293%205.83799%2048.2258%205.36211%2048.9737%205.36211C49.4835%205.36211%2050.1063%205.65671%2050.1974%206.63113H47.7386Z'%20fill='%23231F20'/%3e%3cpath%20d='M52.8713%204.21776H54.3893V5.26017H54.4123C54.7405%204.64832%2055.1031%204.05951%2056.0662%204.05951C56.1681%204.05951%2056.2701%204.07047%2056.3721%204.08217V5.69073C56.2361%205.66807%2056.0662%205.66808%2055.9189%205.66808C54.6842%205.66808%2054.4572%206.43854%2054.4572%207.10704V10.2456H52.8713V4.21776Z'%20fill='%23231F20'/%3e%3cpath%20d='M62.1731%205.80399C62.1731%204.31969%2060.6208%204.05946%2059.771%204.05946C58.5363%204.05946%2057.256%204.31969%2057.0747%206.16657H58.6039C58.6496%205.81532%2058.7856%205.32849%2059.5787%205.32849C59.9866%205.32849%2060.6208%205.3621%2060.6208%206.0306C60.6208%206.37051%2060.3152%206.47249%2060.066%206.50648L58.6379%206.72177C57.6295%206.86907%2056.8821%207.46959%2056.8821%208.64796C56.8821%209.89394%2057.8112%2010.4038%2058.7172%2010.4038C59.794%2010.4038%2060.3035%209.90526%2060.6661%209.53135C60.7001%209.87165%2060.7227%209.9623%2060.8134%2010.2456H62.5243V10.0072C62.3317%209.93926%2062.1731%209.78101%2062.1731%209.06681V5.80399ZM60.6208%208.08144C60.6208%208.81792%2059.9073%209.27076%2059.2045%209.27076C58.8989%209.27076%2058.4684%209.10118%2058.4684%208.54598C58.4684%207.88881%2058.9552%207.74151%2059.5448%207.63954C60.2015%207.53756%2060.4622%207.4356%2060.6208%207.31096V8.08144Z'%20fill='%23231F20'/%3e%3cpath%20d='M65.2206%2010.2456H63.6343V2.11066H65.2206V10.2456Z'%20fill='%23231F20'/%3e%3cpath%20d='M68.371%203.50394H66.7852V2.03136H68.371V3.50394ZM68.371%204.21776V10.2456H66.7852V4.21776H68.371Z'%20fill='%23231F20'/%3e%3cpath%20d='M71.6672%204.21763H72.653V5.35069H71.6672V8.62522C71.6672%208.97609%2071.6785%209.11243%2072.3244%209.11243C72.426%209.11243%2072.5397%209.1011%2072.653%209.0894V10.2904C72.4037%2010.3018%2072.154%2010.3135%2071.9052%2010.3135H71.7012C70.3302%2010.3135%2070.0809%209.79189%2070.0809%209.01047V5.35069H69.2651V4.21763H70.0809V2.58642H71.6672V4.21763Z'%20fill='%23231F20'/%3e%3cpath%20d='M78.5445%205.80399C78.5445%204.31969%2076.9926%204.05946%2076.1428%204.05946C74.9078%204.05946%2073.6278%204.31969%2073.4461%206.16657H74.9758C75.0211%205.81532%2075.1574%205.32849%2075.9502%205.32849C76.3581%205.32849%2076.9926%205.3621%2076.9926%206.0306C76.9926%206.37051%2076.6867%206.47249%2076.4374%206.50648L75.0098%206.72177C74.0013%206.86907%2073.2539%207.46959%2073.2539%208.64796C73.2539%209.89394%2074.1826%2010.4038%2075.0891%2010.4038C76.1655%2010.4038%2076.6753%209.90526%2077.0379%209.53135C77.0719%209.87165%2077.0942%209.9623%2077.1852%2010.2456H78.8961V10.0072C78.7031%209.93926%2078.5445%209.78101%2078.5445%209.06681V5.80399ZM76.9926%208.08144C76.9926%208.81792%2076.2788%209.27076%2075.5763%209.27076C75.2704%209.27076%2074.8398%209.10118%2074.8398%208.54598C74.8398%207.88881%2075.327%207.74151%2075.9162%207.63954C76.5734%207.53756%2076.834%207.4356%2076.9926%207.31096V8.08144Z'%20fill='%23231F20'/%3e%3cpath%20d='M81.7398%204.21763H82.7256V5.35069H81.7398V8.62522C81.7398%208.97609%2081.7515%209.11243%2082.3974%209.11243C82.499%209.11243%2082.6123%209.1011%2082.7256%209.0894V10.2904C82.4759%2010.3018%2082.227%2010.3135%2081.9778%2010.3135H81.7738C80.4028%2010.3135%2080.1536%209.79189%2080.1536%209.01047V5.35069H79.3381V4.21763H80.1536V2.58642H81.7398V4.21763Z'%20fill='%23231F20'/%3e%3cpath%20d='M30.0527%2013.4412H28.4664V16.3301H28.4438C28.1945%2015.9449%2027.7186%2015.39%2026.6989%2015.39C25.3732%2015.39%2024.1948%2016.4094%2024.1948%2018.4938C24.1948%2020.1485%2024.943%2021.7344%2026.7329%2021.7344C27.39%2021.7344%2028.0925%2021.4968%2028.4778%2020.817H28.5004V21.5761H30.0527V13.4412ZM25.8264%2018.6075C25.8264%2017.6558%2026.1663%2016.7607%2027.1751%2016.7607C28.2625%2016.7607%2028.5344%2017.7351%2028.5344%2018.6978C28.5344%2019.5933%2028.1378%2020.4318%2027.1294%2020.4318C26.1097%2020.4318%2025.8264%2019.3213%2025.8264%2018.6075Z'%20fill='%23231F20'/%3e%3cpath%20d='M35.0151%2019.8082C34.8905%2020.2387%2034.4373%2020.4657%2033.9954%2020.4657C32.7154%2020.4657%2032.6244%2019.4456%2032.5791%2018.9928H36.7143V18.7095C36.7143%2015.9562%2035.0718%2015.39%2033.8821%2015.39C31.2421%2015.39%2030.9932%2017.7124%2030.9932%2018.4376C30.9932%2020.919%2032.2958%2021.7344%2033.9954%2021.7344C35.0265%2021.7344%2036.2271%2021.2589%2036.6467%2019.8082H35.0151ZM32.6244%2017.9617C32.7154%2017.1686%2033.1116%2016.6927%2033.8594%2016.6927C34.3693%2016.6927%2034.9925%2016.9873%2035.0831%2017.9617H32.6244Z'%20fill='%23231F20'/%3e%3cpath%20d='M46.2321%2016.1035C46.0958%2015.6163%2045.8356%2014.6985%2044.4306%2014.6985C43.6148%2014.6985%2042.4137%2015.2427%2042.4137%2017.5425C42.4137%2019.0041%2042.9916%2020.3184%2044.4306%2020.3184C45.3706%2020.3184%2046.0282%2019.7859%2046.2321%2018.7888H47.9313C47.5914%2020.556%2046.4361%2021.791%2044.3962%2021.791C42.2325%2021.791%2040.6802%2020.3298%2040.6802%2017.5198C40.6802%2014.6762%2042.3231%2013.2259%2044.4193%2013.2259C46.8549%2013.2259%2047.8407%2014.9024%2047.9313%2016.1035H46.2321Z'%20fill='%23231F20'/%3e%3cpath%20d='M53.9813%2017.1346C53.9813%2015.6503%2052.429%2015.39%2051.5792%2015.39C50.3442%2015.39%2049.0642%2015.6503%2048.8826%2017.4971H50.4122C50.4575%2017.1459%2050.5935%2016.6591%2051.3866%2016.6591C51.7945%2016.6591%2052.429%2016.6927%2052.429%2017.3612C52.429%2017.7011%2052.1231%2017.8031%2051.8738%2017.8371L50.4466%2018.0523C49.4381%2018.1996%2048.6899%2018.8002%2048.6899%2019.9785C48.6899%2021.2245%2049.619%2021.7344%2050.5259%2021.7344C51.6019%2021.7344%2052.1118%2021.2358%2052.4743%2020.8619C52.5083%2021.2022%2052.531%2021.2929%2052.6216%2021.5761H54.3326V21.3378C54.1399%2021.2698%2053.9813%2021.1116%2053.9813%2020.3974V17.1346ZM52.429%2019.412C52.429%2020.1485%2051.7152%2020.6013%2051.0131%2020.6013C50.7068%2020.6013%2050.2766%2020.4317%2050.2766%2019.8765C50.2766%2019.2194%2050.7638%2019.0721%2051.3526%2018.9701C52.0098%2018.8681%2052.2704%2018.7662%2052.429%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3cpath%20d='M57.1766%2015.5482H58.1627V16.6813H57.1766V19.9558C57.1766%2020.3067%2057.1879%2020.443%2057.8338%2020.443C57.9357%2020.443%2058.0494%2020.4317%2058.1627%2020.42V21.621C57.9131%2021.6323%2057.6638%2021.644%2057.4145%2021.644H57.211C55.84%2021.644%2055.5907%2021.1225%2055.5907%2020.341V16.6813H54.7749V15.5482H55.5907V13.917H57.1766V15.5482Z'%20fill='%23231F20'/%3e%3cpath%20d='M64.0532%2017.1346C64.0532%2015.6503%2062.5013%2015.39%2061.6515%2015.39C60.4165%2015.39%2059.1361%2015.6503%2058.9548%2017.4971H60.4844C60.5298%2017.1459%2060.6654%2016.6591%2061.4589%2016.6591C61.8668%2016.6591%2062.5013%2016.6927%2062.5013%2017.3612C62.5013%2017.7011%2062.195%2017.8031%2061.9461%2017.8371L60.5184%2018.0523C59.51%2018.1996%2058.7622%2018.8002%2058.7622%2019.9785C58.7622%2021.2245%2059.6913%2021.7344%2060.5977%2021.7344C61.6738%2021.7344%2062.184%2021.2358%2062.5466%2020.8619C62.5806%2021.2022%2062.6029%2021.2929%2062.6939%2021.5761H64.4044V21.3378C64.2118%2021.2698%2064.0532%2021.1116%2064.0532%2020.3974V17.1346ZM62.5013%2019.412C62.5013%2020.1485%2061.7875%2020.6013%2061.085%2020.6013C60.779%2020.6013%2060.3485%2020.4317%2060.3485%2019.8765C60.3485%2019.2194%2060.8357%2019.0721%2061.4249%2018.9701C62.0817%2018.8681%2062.3427%2018.7662%2062.5013%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3cpath%20d='M67.1014%2021.5762H65.5151V13.4412H67.1014V21.5762Z'%20fill='%23231F20'/%3e%3cpath%20d='M74.0578%2021.5761H72.5395V20.7263H72.5169C72.1543%2021.3718%2071.5201%2021.7344%2070.6817%2021.7344C69.492%2021.7344%2068.6309%2021.0545%2068.6309%2019.514V15.5483H70.2168V19.2874C70.2168%2020.2165%2070.761%2020.3974%2071.2478%2020.3974C71.769%2020.3974%2072.4715%2020.1028%2072.4715%2019.0268V15.5483H74.0578V21.5761Z'%20fill='%23231F20'/%3e%3cpath%20d='M80.9916%2021.5762H79.4053V17.9164C79.4053%2017.4745%2079.3827%2016.7267%2078.3742%2016.7267C77.6721%2016.7267%2077.1279%2017.2026%2077.1279%2018.1204V21.5762H75.542V15.5483H77.0603V16.4321H77.0826C77.2982%2016.0695%2077.7514%2015.3901%2078.8955%2015.3901C80.0738%2015.3901%2080.9916%2016.0809%2080.9916%2017.4065V21.5762Z'%20fill='%23231F20'/%3e%3cpath%20d='M85.5378%2021.4741C84.7896%2023.7058%2084.586%2024%2083.2037%2024C82.9884%2024%2082.7165%2023.989%2082.4903%2023.9777V22.7091C82.5579%2022.72%2082.6598%2022.7317%2082.7958%2022.7317C83.3737%2022.7317%2083.6909%2022.652%2083.8382%2021.8253L81.6174%2015.5482H83.385L84.6767%2019.9894H84.6993L85.9344%2015.5482H87.6109L85.5378%2021.4741Z'%20fill='%23231F20'/%3e%3cpath%20d='M93.0864%2017.1346C93.0864%2015.6503%2091.5345%2015.39%2090.6847%2015.39C89.4493%2015.39%2088.1693%2015.6503%2087.988%2017.4971H89.5173C89.563%2017.1459%2089.6989%2016.6591%2090.4917%2016.6591C90.8996%2016.6591%2091.5345%2016.6927%2091.5345%2017.3612C91.5345%2017.7011%2091.2282%2017.8031%2090.9789%2017.8371L89.5516%2018.0523C88.5432%2018.1996%2087.7954%2018.8002%2087.7954%2019.9785C87.7954%2021.2245%2088.7241%2021.7344%2089.631%2021.7344C90.707%2021.7344%2091.2168%2021.2358%2091.5794%2020.8619C91.6138%2021.2022%2091.6361%2021.2929%2091.7271%2021.5761H93.4376V21.3378C93.245%2021.2698%2093.0864%2021.1116%2093.0864%2020.3974V17.1346ZM91.5345%2019.412C91.5345%2020.1485%2090.8203%2020.6013%2090.1182%2020.6013C89.8119%2020.6013%2089.3817%2020.4317%2089.3817%2019.8765C89.3817%2019.2194%2089.8689%2019.0721%2090.4577%2018.9701C91.1152%2018.8681%2091.3755%2018.7662%2091.5345%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3c/svg%3e",template$9=te=>ke$1`
|
|
6913
6915
|
<primaria-content-switcher id="main-switcher" attrForSelected="view" .selected=${te.viewSelected}>
|
|
6914
6916
|
<div class="container" view=${shellViews.shell}>
|
|
6915
6917
|
<primaria-shell-header></primaria-shell-header>
|
|
@@ -6957,21 +6959,21 @@ ${te.searchString?.length>1?ke$1`
|
|
|
6957
6959
|
</div>
|
|
6958
6960
|
<primaria-error-view .error=${te.error} view=${shellViews.error}></primaria-error-view>
|
|
6959
6961
|
</primaria-content-switcher>
|
|
6960
|
-
`;var __defProp$
|
|
6962
|
+
`;var __defProp$a=Object.defineProperty,__decorateClass$a=(te,J,X,re)=>{for(var ne=void 0,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&__defProp$a(J,X,ne),ne};const Is=class Is extends PrimariaRegionHost(h$o){constructor(){super(...arguments),this.sidebarExpanded=!1,this.viewSelected=shellViews.shell,this.quickActionBusy=!1,this.subscriptions=[]}render(){return ke$1`${template$9(this)}`}connectedCallback(){super.connectedCallback(),this._subscribeEvents()}disconnectedCallback(){super.disconnectedCallback(),this._unsubscribeEvents()}_toggleSidebar(){this.sidebarExpanded=!this.sidebarExpanded}_subscribeEvents(){this.subscriptions.push(shellApi.broker.subscribe(shellEvents.appCrashed,J=>{this._handleError(J)})),this.subscriptions.push(shellApi.broker.subscribe(shellEvents.refreshTokenFailed,J=>{this._handleError({message:translate$1("errors.session")})})),this.subscriptions.push(shellApi.broker.subscribe(shellEvents.mpidHeaderInvalid,J=>{this._handleError({message:translate$1("errors.invalidPatient")})})),this.subscriptions.push(shellApi.broker.subscribe(shellEvents.quickActionBusyChanged,J=>{this.quickActionBusy=J.busy}))}_handleError(J){this.viewSelected=shellViews.error,this.error=J,disposeShell()}_unsubscribeEvents(){this.subscriptions.forEach(J=>J.dispose())}};Is.styles=i$D`
|
|
6961
6963
|
${r$H(styles$8)}
|
|
6962
|
-
`;let PrimariaShell=Is;__decorateClass$
|
|
6964
|
+
`;let PrimariaShell=Is;__decorateClass$a([s$B({targetId:"menu-region-container",name:shellApi.regionManager.regions.shell.navigationMenu})],PrimariaShell.prototype,"navigationMenuRegion"),__decorateClass$a([s$B({targetId:"main-region-container",name:shellApi.regionManager.regions.shell.main})],PrimariaShell.prototype,"mainRegion"),__decorateClass$a([s$B({targetId:"quick-actions-region-container",name:shellApi.regionManager.regions.shell.quickActions})],PrimariaShell.prototype,"quickActionsRegion"),__decorateClass$a([s$B({targetId:"floating-region-container",name:shellApi.regionManager.regions.shell.floating})],PrimariaShell.prototype,"floatingRegion"),__decorateClass$a([s$B({targetId:"navigation-menu-lower-region-container",name:shellApi.regionManager.regions.shell.navigationLowerLeftMenu})],PrimariaShell.prototype,"navLowerLeftMenu"),__decorateClass$a([r$E()],PrimariaShell.prototype,"sidebarExpanded"),__decorateClass$a([r$E()],PrimariaShell.prototype,"viewSelected"),__decorateClass$a([r$E()],PrimariaShell.prototype,"error"),__decorateClass$a([r$E()],PrimariaShell.prototype,"quickActionBusy");const styles$7=":host{width:100%;height:100%;min-height:1px;display:flex}.container{width:100%;min-height:1px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#60a8f0}svg{width:45px;height:45px;fill:#d36262}h1{color:#fff}",template$8=te=>ke$1`
|
|
6963
6965
|
<div class="container">
|
|
6964
6966
|
<svg height="24px" viewBox="0 -960 960 960" width="24px" fill="#e8eaed"><path d="M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>
|
|
6965
6967
|
<h1>${te.error?.message}</h1>
|
|
6966
6968
|
</div>
|
|
6967
|
-
`;var __defProp$
|
|
6969
|
+
`;var __defProp$9=Object.defineProperty,__decorateClass$9=(te,J,X,re)=>{for(var ne=void 0,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&__defProp$9(J,X,ne),ne};const Ls=class Ls extends h$o{render(){return ke$1`${template$8(this)}`}};Ls.styles=i$D`
|
|
6968
6970
|
${r$H(styles$7)}
|
|
6969
|
-
`;let PrimariaErrorView=Ls;__decorateClass$
|
|
6971
|
+
`;let PrimariaErrorView=Ls;__decorateClass$9([n$z()],PrimariaErrorView.prototype,"error");const template$7=te=>ke$1`
|
|
6970
6972
|
<span >
|
|
6971
6973
|
<slot name="anchor"></slot>
|
|
6972
6974
|
<slot name="content"></slot>
|
|
6973
6975
|
</span>
|
|
6974
|
-
`;class QuickActionsMenu extends h$o{render(){return ke$1`${template$
|
|
6976
|
+
`;class QuickActionsMenu extends h$o{render(){return ke$1`${template$7()}`}firstUpdated(J){super.firstUpdated(J),this.shadowRoot?.querySelector('slot[name="anchor"]')?.addEventListener("slotchange",this.handleSlotChange.bind(this))}handleSlotChange(J){const re=J.target.assignedElements();if(re.length>0){const ne=re[0];ne.id==="usage-anchor"&&ne.addEventListener("click",this._handleOpenMenu.bind(this))}}_handleOpenMenu(J){const X=this.shadowRoot?.querySelector('slot[name="content"]'),re=this.querySelector("dss-action-menu"),ne=X?.assignedElements();ne[0]&&this._addMenuCustomStyle(X,re);const oe=ne.find(de=>de.id==="content");oe&&oe.show()}_addMenuCustomStyle(J,X){J.style.borderRadius="var(--dss-radius-sm)";const re=X.shadowRoot?.querySelector("ul");re&&(re.style.overflow="hidden")}}const styles$6=":host{z-index:301}.header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 16px;height:60px;background-color:#fff;color:#000;z-index:1;box-shadow:#0000001f 4px -1px 3px,#0000003d 0 1px 2px}.header .header__left{display:flex;flex-direction:row;align-items:center;gap:16px}.header .header__left .header-logo{align-self:center}.header .header__left #header-region-container,.header .header__right{display:flex;flex-direction:row;align-items:center;gap:16px}.header .header__right #header-actions-region-container{display:flex;flex-direction:row;align-items:center}",salutLogo="data:image/svg+xml,%3csvg%20width='80'%20height='24'%20viewBox='0%200%2080%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.51539%2023.4832H0L8.22624%200.518679H10.7412L2.51539%2023.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M20.1573%2024C17.1695%2024%2014.8372%2023.3218%2013.1604%2021.9659C11.4836%2020.6095%2010.633%2018.5906%2010.6094%2015.9092H13.4169C13.4812%2019.6737%2015.7275%2021.5563%2020.1573%2021.5563C22.0287%2021.5563%2023.4647%2021.1901%2024.4642%2020.4587C25.4641%2019.7269%2025.9643%2018.6581%2025.9643%2017.2522C26.0073%2016.2425%2025.5399%2015.2791%2024.7212%2014.6874C23.8941%2014.0743%2022.449%2013.5427%2020.3853%2013.091L18.3511%2012.6389C16.028%2012.0994%2014.2875%2011.3204%2013.128%2010.3019C11.969%209.28302%2011.393%207.84942%2011.4004%206.00159C11.35%204.28135%2012.1493%202.64663%2013.5381%201.63049C14.9439%200.544998%2016.844%200.00226593%2019.2383%200.00226593C20.6576%20-0.0236225%2022.0722%200.172396%2023.4314%200.582922C24.4817%200.885733%2025.4406%201.44557%2026.2209%202.21115C26.858%202.86207%2027.3573%203.63505%2027.6883%204.48384C28.0096%205.35251%2028.1797%206.26925%2028.1908%207.19525H25.4156C25.2875%205.55869%2024.7554%204.35948%2023.8197%203.59668C22.8835%202.83434%2021.3566%202.4534%2019.2383%202.4534C17.623%202.4534%2016.3808%202.76592%2015.5116%203.39049C14.6573%203.97947%2014.1645%204.96464%2014.2038%206.00159C14.1492%206.99831%2014.5612%207.96359%2015.3193%208.61313C16.0484%209.2377%2017.4732%209.78646%2019.5943%2010.2589L21.6289%2010.7115C24.1651%2011.2718%2025.9925%2012.0721%2027.1113%2013.1127C28.2301%2014.1529%2028.7881%2015.5352%2028.7858%2017.2596C28.7858%2019.3446%2028.0235%2020.9895%2026.4988%2022.1938C24.9736%2023.3976%2022.86%2024%2020.1573%2024Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M36.6945%2021.677C38.0098%2021.6978%2039.2894%2021.2521%2040.3074%2020.4195C41.3356%2019.6026%2041.8515%2018.4302%2041.8538%2016.9033V14.9366C41.1997%2015.3647%2040.4434%2015.6107%2039.6625%2015.6495L37.2437%2015.938C35.8434%2016.1123%2034.8495%2016.4331%2034.2582%2016.907C33.6558%2017.4039%2033.3262%2018.1579%2033.371%2018.9374C33.3313%2019.7025%2033.6401%2020.444%2034.212%2020.954C34.7783%2021.4348%2035.6261%2021.677%2036.6945%2021.677ZM45.2841%2021.3779H46.2175V23.4763C45.746%2023.5438%2045.2693%2023.5757%2044.7927%2023.5725C43.0498%2023.5725%2042.1146%2022.7768%2041.9893%2021.1856C40.8345%2022.9766%2039.0305%2023.8716%2036.5776%2023.8716C34.7464%2023.8716%2033.3142%2023.4444%2032.2703%2022.5965C31.2264%2021.7487%2030.7063%2020.5476%2030.7063%2019.0017C30.7063%2015.9879%2032.7594%2014.2668%2036.866%2013.8396L39.2529%2013.583C40.9935%2013.3884%2041.864%2012.6246%2041.864%2011.2923C41.864%2010.3658%2041.5792%209.69872%2041.0092%209.29005C40.4392%208.88368%2039.4771%208.67749%2038.1235%208.67749C36.6982%208.67749%2035.6298%208.91975%2035.0099%209.38991C34.3899%209.86007%2034.0159%2010.7292%2033.941%2011.9548H31.3512C31.5648%208.27807%2033.8213%206.43995%2038.1198%206.43995C42.2907%206.43995%2044.3762%208.05292%2044.3762%2011.278V20.58C44.3794%2021.1176%2044.6822%2021.3779%2045.2841%2021.3779Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M50.8951%2023.4832H48.3159V0.518679H50.8951V23.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M65.7337%2016.2584V6.83891H68.3129V23.4832H65.8618V20.9896C64.5937%2022.9109%2062.8517%2023.8716%2060.6359%2023.8716C58.7876%2023.8716%2057.3471%2023.3658%2056.3143%2022.3543C55.281%2021.3423%2054.7642%2019.9175%2054.7642%2018.0789V6.83891H57.3581V17.8403C57.3581%2020.3127%2058.6262%2021.549%2061.1629%2021.549C62.3718%2021.5531%2063.5304%2021.0631%2064.3694%2020.1916C65.2788%2019.2915%2065.7337%2017.9804%2065.7337%2016.2584Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M79.4708%206.83878V9.09759H76.0544V19.903C76.0544%2020.8507%2076.6882%2021.3279%2077.9568%2021.3279H79.4708V23.4905C78.7584%2023.5548%2078.1459%2023.5867%2077.6323%2023.5867C74.8607%2023.5867%2073.4748%2022.436%2073.4748%2020.1346V9.09066H70.7314V6.83878H73.4748V2.13992H76.0544V6.83878H79.4708Z'%20fill='%236AAAE4'/%3e%3c/svg%3e",template$6=te=>{const J=[{label:te.professional?.workCenter,value:"1"}],X=[{label:te.professional?.role,value:"1"}],re=[{label:te.professional?.speciality,value:"1"}];return ke$1`
|
|
6975
6977
|
<div class="header">
|
|
6976
6978
|
<div class="header__left">
|
|
6977
6979
|
<div class="header-logo">
|
|
@@ -6981,7 +6983,6 @@ ${te.searchString?.length>1?ke$1`
|
|
|
6981
6983
|
<div id="header-region-container"></div>
|
|
6982
6984
|
</div>
|
|
6983
6985
|
<div class="header__right">
|
|
6984
|
-
<finalize-visit-button></finalize-visit-button>
|
|
6985
6986
|
<div id="header-actions-region-container"></div>
|
|
6986
6987
|
<header-divider></header-divider>
|
|
6987
6988
|
${nn(te.professional,()=>ke$1`<dss-header-menu-professional @onExit=${te.logout} slot="professional-menu" name="${te.professional.firstName} ${te.professional?.familyName} ${te.professional?.lastName}" center="${te.professional.workCenter}" collegiate="${te.professional.registrationNumber}">
|
|
@@ -7001,9 +7002,9 @@ ${te.searchString?.length>1?ke$1`
|
|
|
7001
7002
|
</dss-header-menu-professional>`)}
|
|
7002
7003
|
</div>
|
|
7003
7004
|
</div>
|
|
7004
|
-
`};var __defProp$
|
|
7005
|
+
`};var __defProp$8=Object.defineProperty,__decorateClass$8=(te,J,X,re)=>{for(var ne=void 0,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&__defProp$8(J,X,ne),ne};const Fs=class Fs extends PrimariaRegionHost(h$o){constructor(){super(...arguments),this.menuOpened=!1}render(){return ke$1`${template$6(this)}`}toggleMenu(){this.menuOpened=!this.menuOpened}logout(){shellApi.broker.send(new ExitShell)}connectedCallback(){super.connectedCallback(),shellApi.broker.send(new GetUserInfo).then(J=>{this.professional=J})}firstUpdated(){const J=this.renderRoot?.querySelector("#header-region-container");if(!J)return;let X;const re=()=>{X.disconnect(),Array.from(J.querySelectorAll("header-divider")).forEach(oe=>oe.remove());const ne=Array.from(J.children).filter(oe=>oe.tagName!=="HEADER-DIVIDER");for(let oe=1;oe<ne.length;oe++){const de=document.createElement("header-divider");J.insertBefore(de,ne[oe])}X.observe(J,{childList:!0})};X=new MutationObserver(re),X.observe(J,{childList:!0})}};Fs.styles=i$D`
|
|
7005
7006
|
${r$H(styles$6)}
|
|
7006
|
-
`;let PrimariaShellHeader=Fs;__decorateClass$
|
|
7007
|
+
`;let PrimariaShellHeader=Fs;__decorateClass$8([s$B({targetId:"header-region-container",name:shellApi.regionManager.regions.shell.header})],PrimariaShellHeader.prototype,"headerRegion"),__decorateClass$8([s$B({targetId:"header-actions-region-container",name:shellApi.regionManager.regions.shell.headerRightActions})],PrimariaShellHeader.prototype,"headerRightActionsRegion"),__decorateClass$8([n$z({type:Object})],PrimariaShellHeader.prototype,"professional"),__decorateClass$8([r$E()],PrimariaShellHeader.prototype,"menuOpened");const Ms=class Ms extends h$o{render(){return ke$1`<div>
|
|
7007
7008
|
<h1>POC ECAP Test </h1>
|
|
7008
7009
|
<hr>
|
|
7009
7010
|
<p>Emplenar valors de url i accio per navegar a ECAP</p>
|
|
@@ -7034,9 +7035,7 @@ ${te.searchString?.length>1?ke$1`
|
|
|
7034
7035
|
|
|
7035
7036
|
<button @click=${J=>this.getPDFS()}>GET PDFs</button>
|
|
7036
7037
|
`}sendPdfToViewer(){const J=this.shadowRoot?.getElementById("pdfName")?.value,re={url:this.shadowRoot?.getElementById("url")?.value};shellApi.pdfViewerManager.add(J,re)}getPDFS(){return shellApi.pdfViewerManager.getPdfs()}goToLinkOnEcap(){const J=this.shadowRoot?.getElementById("eventType")?.value,X=this.shadowRoot?.getElementById("accio")?.value,re=this.shadowRoot?.getElementById("parameterName")?.value,ne=this.shadowRoot?.getElementById("parameterValue")?.value;shellApi.ecapEventManager.publish(J,X,{[re]:ne})}};Ms.styles=i$D`
|
|
7037
|
-
`;let PocEventsEcap=Ms;
|
|
7038
|
-
${te.visitId?ke$1`<dss-button @click=${te.finalizeVisitHandler} variant="subtle" size="md" icon="door_front" label=${translate$1("actions.finalizeVisit")}></dss-button>`:D$4}
|
|
7039
|
-
`;var __defProp$8=Object.defineProperty,__decorateClass$8=(te,J,X,re)=>{for(var ne=void 0,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&__defProp$8(J,X,ne),ne};class FinalizeVisitButton extends h$o{render(){return ke$1`${template$6(this)}`}connectedCallback(){super.connectedCallback(),this.getVisitId()}async getVisitId(){try{await shellApi.broker.send(new GetVisitId).then(J=>{this.visitId=J})}catch(J){console.error(J.message)}}finalizeVisitHandler(){this.visitId&&shellApi.broker.send(new FinalizeVisit(this.visitId))}}__decorateClass$8([n$z({type:String})],FinalizeVisitButton.prototype,"visitId");var __defProp$7=Object.defineProperty,__decorateClass$7=(te,J,X,re)=>{for(var ne=void 0,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&__defProp$7(J,X,ne),ne};const Hs=class Hs extends h$o{toggle(){this.isOpen=!this.isOpen}render(){return ke$1`
|
|
7038
|
+
`;let PocEventsEcap=Ms;var __defProp$7=Object.defineProperty,__decorateClass$7=(te,J,X,re)=>{for(var ne=void 0,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=de(J,X,ne)||ne);return ne&&__defProp$7(J,X,ne),ne};const Hs=class Hs extends h$o{toggle(){this.isOpen=!this.isOpen}render(){return ke$1`
|
|
7040
7039
|
<div class="title" @click=${this.toggle}>
|
|
7041
7040
|
<slot name="title"></slot>
|
|
7042
7041
|
<dss-icon-button size="md" variant="primary" icon=${this.isOpen?"keyboard_arrow_up":"keyboard_arrow_down"}></dss-icon-button>
|
|
@@ -7172,7 +7171,7 @@ ${te.searchString?.length>1?ke$1`
|
|
|
7172
7171
|
${r$H(styles$1)}
|
|
7173
7172
|
`;let PrimariaCharacterLimitBadge=Ws;__decorateClass$2([n$z({type:Number})],PrimariaCharacterLimitBadge.prototype,"characterCount"),__decorateClass$2([n$z({type:Number})],PrimariaCharacterLimitBadge.prototype,"characterLimit"),__decorateClass$2([n$z({type:String})],PrimariaCharacterLimitBadge.prototype,"label");const useSharedUI=()=>{t$k("primaria-content-switcher")(PrimariaContentSwitcher),t$k("primaria-nav-item")(PrimariaNavItem),t$k("primaria-rich-text-editor")(PrimariaRichTextEditor),t$k("primaria-nav-tree-menu")(PrimariaNavTreeMenu),t$k("primaria-character-limit-badge")(PrimariaCharacterLimitBadge)},getPatientCip=async te=>await te.broker.send("get_patient_cip"),navigateToEcapWithoutClosingWithCip=async te=>{const J=await getPatientCip(shellApi);shellApi.ecapEventManager.publish(te,"NO_TANCAR",{CIP:J})},template$1=te=>ke$1`
|
|
7174
7173
|
<dss-action-menu-item @click=${te.callbackFn} notificationsstate="error" rightIcon=${te.icon} label=${te.label}></dss-action-menu-item>
|
|
7175
|
-
`;var __defProp$1=Object.defineProperty,__getOwnPropDesc$1=Object.getOwnPropertyDescriptor,__decorateClass$1=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$1(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(J,X,ne):de(ne))||ne);return re&&ne&&__defProp$1(J,X,ne),ne};let QuickActionItem=class extends h$o{constructor(te,J,X){super(),this.icon="",this.label="",this.callbackFn=()=>{},this.icon=te,this.label=J,this.callbackFn=X}render(){return ke$1`${template$1(this)}`}};__decorateClass$1([n$z({type:String})],QuickActionItem.prototype,"icon",2),__decorateClass$1([n$z({type:String})],QuickActionItem.prototype,"label",2),__decorateClass$1([n$z({attribute:!1})],QuickActionItem.prototype,"callbackFn",2),QuickActionItem=__decorateClass$1([t$k("quick-action-item")],QuickActionItem);const commonNavMenuItems=[{id:"landing",icon:"home",label:"Pàgina inici",type:"item",sortHint:"0010",callbackFn:()=>shellApi.broker.send(new ExitShell("OBRIR_PI"))}],registerNavMenuViews=te=>{const J=[...commonNavMenuItems,...te];for(const X of J)shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu,{id:X.id,sortHint:X.sortHint,factory:()=>{const re=X.type==="item"?new PrimariaNavItem({icon:X.icon,label:X.label,callbackFn:X.callbackFn}):new PrimariaNavTreeMenu({icon:X.icon,label:X.label,actionMenuItems:X.actionMenuItems});return Promise.resolve(re)}})},registerCommunicationNavMenu=()=>{shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu,{id:"communication",sortHint:"0120",factory:()=>{const te=new CommunicationActionMenu("3p","Comunicació");return Promise.resolve(te)}})},administrativeNavMenuItems=[{id:"create-visits",icon:"today",label:"Crear visites",type:"tree",sortHint:"0040",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"register-visits",icon:"event_note",label:"Registre de visites",type:"tree",sortHint:"0050",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"petitions",icon:"alt_route",label:"Peticions",type:"tree",sortHint:"0060",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"administrative-procedures",icon:"list_alt",label:"Procediments administratius",type:"tree",sortHint:"0070",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"billing",icon:"receipt",label:"Facturació",type:"tree",sortHint:"0080",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"user-docs",icon:"library_books",label:"Documents de l'usuari",type:"tree",sortHint:"0090",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"healthcare-procedures",icon:"folder",label:"Gestions sanitàries",type:"tree",sortHint:"0100",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]}],registerAdministrativeCommunicationMenuActions=()=>{const te=[{id:"1",sortHint:"0010",icon:"open_in_new",label:"SMS",callbackFn:async()=>{const J=await getPatientCip(shellApi);shellApi.ecapEventManager.publish("MISSATGES_DEV","NO_TANCAR",{CIP:J||"",TipusMissatge:"SMS"})}},{id:"2",sortHint:"0020",icon:"open_in_new",label:"eConsulta",callbackFn:async()=>{const J=await getPatientCip(shellApi),X=await shellApi.broker.send(new GetVisitId);shellApi.ecapEventManager.publish("NAVEGACIO_ECAP_ECONSULTA","NO_TANCAR",{CIP:J||"",VisiID:X||""})}},{id:"3",icon:"open_in_new",label:"Mail",callbackFn:async()=>{const J=await getPatientCip(shellApi);shellApi.ecapEventManager.publish("COMUNICACIO_MISSATGES_CREAR","NO_TANCAR",{CIP:J||"",TipusMissatge:"SMS"})}},{id:"4",sortHint:"0030",icon:"open_in_new",label:"Veu IP",callbackFn:()=>navigateToEcapWithoutClosingWithCip("VOIP")}];for(const J of te)shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.communicationSidenav,{id:J.id,sortHint:J.sortHint,factory:()=>{const X=new QuickActionItem(J.icon,J.label,J.callbackFn);return Promise.resolve(X)}})},registerAdministrativeNavMenuViews=()=>{registerCommunicationNavMenu(),registerAdministrativeCommunicationMenuActions(),registerNavMenuViews(administrativeNavMenuItems)},doctorNavMenuItems=[{id:"dinamic-monitoring",icon:"poll",label:"Monitoratge dinàmic",type:"item",sortHint:"0030",callbackFn:()=>navigateToEcapWithoutClosingWithCip("IA_DEV")},{id:"processes",icon:"account_tree",label:"Vies clíniques",type:"tree",sortHint:"0040",actionMenuItems:[{icon:"open_in_new",label:"Proces d'atenció - ARES",callbackFn:()=>navigateToEcapWithoutClosingWithCip("PROCES_ATENCIO")},{icon:"open_in_new",label:"Nen sa",callbackFn:()=>navigateToEcapWithoutClosingWithCip("NEN_SA")},{icon:"open_in_new",label:"ASSIR",callbackFn:()=>navigateToEcapWithoutClosingWithCip("NAVEGACIO_ASSIR")},{icon:"open_in_new",label:"Odontologia",callbackFn:()=>navigateToEcapWithoutClosingWithCip("ODONTOLOGO")},{icon:"open_in_new",label:"Situació d'especial cura",callbackFn:()=>navigateToEcapWithoutClosingWithCip("SIT_ESPEC_CURA_DEV")},{icon:"open_in_new",label:"Valoració social",callbackFn:()=>navigateToEcapWithoutClosingWithCip("VALORACIO_SOCIAL")}]},{id:"unique-petition",icon:"playlist_add",label:"Peticionari",type:"tree",sortHint:"0050",actionMenuItems:[{icon:"open_in_new",label:"Analítiques",callbackFn:()=>navigateToEcapWithoutClosingWithCip("LABORATORI")},{icon:"open_in_new",label:"Ordres Clíniques",callbackFn:()=>navigateToEcapWithoutClosingWithCip("RESULT_OC")},{icon:"open_in_new",label:"OC Exprés",callbackFn:()=>navigateToEcapWithoutClosingWithCip("OC_EXPRES")},{icon:"open_in_new",label:"Sol·licitud de trasllat",callbackFn:()=>navigateToEcapWithoutClosingWithCip("TRANSPORT")}]},{id:"analytics-monitoring",icon:"science",label:"Seguiment analític",type:"item",sortHint:"0060",callbackFn:()=>navigateToEcapWithoutClosingWithCip("SEGUIMENT_ANALITIC")},{id:"results-reports",icon:"folder_shared",label:"Documents",type:"tree",sortHint:"0070",actionMenuItems:[{icon:"open_in_new",label:"Resultats i informes",callbackFn:()=>navigateToEcapWithoutClosingWithCip("RESULTAT_INFORMES")},{icon:"open_in_new",label:"Documents usuari",callbackFn:()=>{setTimeout(()=>{navigateToEcapWithoutClosingWithCip("CRIDA_DOCS_USU")},0)}},{icon:"open_in_new",label:"Informes clínics",callbackFn:()=>navigateToEcapWithoutClosingWithCip("INFORME_CLINIC_NET")}]},{id:"test-cabinets",icon:"list_alt",label:"Gabinets de proves",type:"item",sortHint:"0080",callbackFn:()=>navigateToEcapWithoutClosingWithCip("GABINETS_PROVES")},{id:"prescriptions",icon:"pill",label:"Prescripció",type:"tree",sortHint:"0090",actionMenuItems:[{icon:"open_in_new",label:"Prescripció",callbackFn:()=>navigateToEcapWithoutClosingWithCip("PRESCRIPCIO_ACTIVA")},{icon:"open_in_new",label:"Ordres de tractament",callbackFn:()=>navigateToEcapWithoutClosingWithCip("ORDRE_TRACTAMENT")},{icon:"open_in_new",label:"Dispensació material sanitari",callbackFn:()=>navigateToEcapWithoutClosingWithCip("DISPENSACIO_MATERIAL_PACIENT")},{icon:"open_in_new",label:"Prescripció social",callbackFn:()=>navigateToEcapWithoutClosingWithCip("PRESCRIPCIO_SOCIAL")}]},{id:"vaccines",icon:"vaccines",label:"Immunitzacions",type:"item",sortHint:"0100",callbackFn:()=>navigateToEcapWithoutClosingWithCip("IMMUNITZACIONS")},{id:"it",icon:"history_toggle_off",label:"Incapacitat temporal",type:"item",sortHint:"0100",callbackFn:()=>navigateToEcapWithoutClosingWithCip("REV_IT")},{id:"visits",icon:"event",label:"Visites",type:"item",sortHint:"0130",callbackFn:()=>navigateToEcapWithoutClosingWithCip("CONSULTA_VISITES")}],registerDoctorCommunicationMenuActions=()=>{const te=[{id:"1",sortHint:"0010",icon:"open_in_new",label:"SMS",callbackFn:async()=>{const J=await getPatientCip(shellApi);shellApi.ecapEventManager.publish("MISSATGES_DEV","NO_TANCAR",{CIP:J||"",TipusMissatge:"SMS"})}},{id:"2",sortHint:"0020",icon:"open_in_new",label:"eConsulta",callbackFn:async()=>{const J=await getPatientCip(shellApi),X=await shellApi.broker.send(new GetVisitId);shellApi.ecapEventManager.publish("NAVEGACIO_ECAP_ECONSULTA","NO_TANCAR",{CIP:J||"",VisiID:X||""})}},{id:"3",icon:"open_in_new",label:"Mail",callbackFn:async()=>{const J=await getPatientCip(shellApi);shellApi.ecapEventManager.publish("COMUNICACIO_MISSATGES_CREAR","NO_TANCAR",{CIP:J||"",TipusMissatge:"SMS"})}},{id:"4",sortHint:"0030",icon:"open_in_new",label:"Veu IP",callbackFn:()=>navigateToEcapWithoutClosingWithCip("VOIP")}];for(const J of te)shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.communicationSidenav,{id:J.id,sortHint:J.sortHint,factory:()=>{const X=new QuickActionItem(J.icon,J.label,J.callbackFn);return Promise.resolve(X)}})},registerDoctorNavMenuViews=()=>{registerCommunicationNavMenu(),registerDoctorCommunicationMenuActions(),registerNavMenuViews(doctorNavMenuItems)},registerDoctorQuickActionViews=()=>{shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.quickActions,{id:"dates",sortHint:"0011",factory:()=>{const te=new QuickActionItem("","Cita",()=>{navigateToEcapWithoutClosingWithCip("CREAR_VISITA")});return Promise.resolve(te)}})},registerMainViews=()=>{registerPDFVisorMainView()},useInternalViews=()=>{registerMainViews(),shellApi.userManager.isUserRoleAdministrative()?registerAdministrativeNavMenuViews():(registerDoctorNavMenuViews(),registerDoctorQuickActionViews())},useUI=()=>{p$g.registerAdapterFactory("primaria-content-switcher",d$u),useSharedUI(),useComponents(),useInternalViews()},initializeShell=te=>{useLocalization(shellApi),useUI(),useFeatures(shellApi);const J=new PrimariaShell;te.appendChild(J)};class n extends HTMLElement{constructor(J,X,re={}){super(),this.jsx=J,this.styles=X,this.root=this.attachShadow({mode:"open"}),this.reactRoot=null,re&&(this.props=re)}connectedCallback(){const J=document.createElement("div");J.style.minHeight="100%",J.style.width="100%",J.style.height="100%";const X=document.createElement("style");X.innerText=this.styles,this.root.appendChild(J),this.root.appendChild(X),this.reactRoot=r$N.createRoot(J),this.renderReact()}disconnectedCallback(){this.reactRoot&&this.reactRoot.unmount()}renderReact(){this.reactRoot&&this.reactRoot.render(c$r.createElement(this.jsx,{...this.props}))}}customElements.define("ux-react-web-component",n);const h=(te,J)=>(X={})=>Promise.resolve(new n(te,J,X));if(typeof document<"u"){const te=document.createElement("style");te.textContent=fontsCSS+`
|
|
7174
|
+
`;var __defProp$1=Object.defineProperty,__getOwnPropDesc$1=Object.getOwnPropertyDescriptor,__decorateClass$1=(te,J,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$1(J,X):J,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(J,X,ne):de(ne))||ne);return re&&ne&&__defProp$1(J,X,ne),ne};let QuickActionItem=class extends h$o{constructor(te,J,X){super(),this.icon="",this.label="",this.callbackFn=()=>{},this.icon=te,this.label=J,this.callbackFn=X}render(){return ke$1`${template$1(this)}`}};__decorateClass$1([n$z({type:String})],QuickActionItem.prototype,"icon",2),__decorateClass$1([n$z({type:String})],QuickActionItem.prototype,"label",2),__decorateClass$1([n$z({attribute:!1})],QuickActionItem.prototype,"callbackFn",2),QuickActionItem=__decorateClass$1([t$k("quick-action-item")],QuickActionItem);const commonNavMenuItems=[{id:"landing",icon:"home",label:"Pàgina inici",type:"item",sortHint:"0010",callbackFn:()=>shellApi.broker.send(new ExitShell("OBRIR_PI"))}],registerNavMenuViews=te=>{const J=[...commonNavMenuItems,...te];for(const X of J)shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu,{id:X.id,sortHint:X.sortHint,factory:()=>{const re=X.type==="item"?new PrimariaNavItem({icon:X.icon,label:X.label,callbackFn:X.callbackFn}):new PrimariaNavTreeMenu({icon:X.icon,label:X.label,actionMenuItems:X.actionMenuItems});return Promise.resolve(re)}})},registerCommunicationNavMenu=()=>{shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu,{id:"communication",sortHint:"0120",factory:()=>{const te=new CommunicationActionMenu("3p","Comunicació");return Promise.resolve(te)}})},administrativeNavMenuItems=[{id:"create-visits",icon:"today",label:"Crear visites",type:"tree",sortHint:"0040",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"register-visits",icon:"event_note",label:"Registre de visites",type:"tree",sortHint:"0050",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"petitions",icon:"alt_route",label:"Peticions",type:"tree",sortHint:"0060",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"administrative-procedures",icon:"list_alt",label:"Procediments administratius",type:"tree",sortHint:"0070",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"billing",icon:"receipt",label:"Facturació",type:"tree",sortHint:"0080",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"user-docs",icon:"library_books",label:"Documents de l'usuari",type:"tree",sortHint:"0090",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]},{id:"healthcare-procedures",icon:"folder",label:"Gestions sanitàries",type:"tree",sortHint:"0100",actionMenuItems:[{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")},{icon:"open_in_new",label:"",callbackFn:()=>navigateToEcapWithoutClosingWithCip("")}]}],registerAdministrativeCommunicationMenuActions=()=>{const te=[{id:"1",sortHint:"0010",icon:"open_in_new",label:"SMS",callbackFn:async()=>{const J=await getPatientCip(shellApi);shellApi.ecapEventManager.publish("MISSATGES_DEV","NO_TANCAR",{CIP:J||"",TipusMissatge:"SMS"})}},{id:"2",sortHint:"0020",icon:"open_in_new",label:"eConsulta",callbackFn:async()=>{const J=await getPatientCip(shellApi),X=await shellApi.broker.send(new GetVisitId);shellApi.ecapEventManager.publish("NAVEGACIO_ECAP_ECONSULTA","NO_TANCAR",{CIP:J||"",VisiID:X||""})}},{id:"3",icon:"open_in_new",label:"Mail",callbackFn:async()=>{const J=await getPatientCip(shellApi);shellApi.ecapEventManager.publish("COMUNICACIO_MISSATGES_CREAR","NO_TANCAR",{CIP:J||"",TipusMissatge:"SMS"})}},{id:"4",sortHint:"0030",icon:"open_in_new",label:"Veu IP",callbackFn:()=>navigateToEcapWithoutClosingWithCip("VOIP")}];for(const J of te)shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.communicationSidenav,{id:J.id,sortHint:J.sortHint,factory:()=>{const X=new QuickActionItem(J.icon,J.label,J.callbackFn);return Promise.resolve(X)}})},registerAdministrativeNavMenuViews=()=>{registerCommunicationNavMenu(),registerAdministrativeCommunicationMenuActions(),registerNavMenuViews(administrativeNavMenuItems)},doctorNavMenuItems=[{id:"dinamic-monitoring",icon:"poll",label:"Monitoratge dinàmic",type:"item",sortHint:"0030",callbackFn:()=>navigateToEcapWithoutClosingWithCip("IA_DEV")},{id:"processes",icon:"account_tree",label:"Vies clíniques",type:"tree",sortHint:"0040",actionMenuItems:[{icon:"open_in_new",label:"Proces d'atenció - ARES",callbackFn:()=>navigateToEcapWithoutClosingWithCip("PROCES_ATENCIO")},{icon:"open_in_new",label:"Nen sa",callbackFn:()=>navigateToEcapWithoutClosingWithCip("NEN_SA")},{icon:"open_in_new",label:"ASSIR",callbackFn:()=>navigateToEcapWithoutClosingWithCip("NAVEGACIO_ASSIR")},{icon:"open_in_new",label:"Odontologia",callbackFn:()=>navigateToEcapWithoutClosingWithCip("ODONTOLOGO")},{icon:"open_in_new",label:"Situació d'especial cura",callbackFn:()=>navigateToEcapWithoutClosingWithCip("SIT_ESPEC_CURA_DEV")},{icon:"open_in_new",label:"Valoració social",callbackFn:()=>navigateToEcapWithoutClosingWithCip("VALORACIO_SOCIAL")}]},{id:"unique-petition",icon:"playlist_add",label:"Peticionari",type:"tree",sortHint:"0050",actionMenuItems:[{icon:"open_in_new",label:"Analítiques",callbackFn:()=>navigateToEcapWithoutClosingWithCip("LABORATORI")},{icon:"open_in_new",label:"Ordres Clíniques",callbackFn:()=>navigateToEcapWithoutClosingWithCip("RESULT_OC")},{icon:"open_in_new",label:"OC Exprés",callbackFn:()=>navigateToEcapWithoutClosingWithCip("OC_EXPRES")},{icon:"open_in_new",label:"Sol·licitud de trasllat",callbackFn:()=>navigateToEcapWithoutClosingWithCip("TRANSPORT")}]},{id:"analytics-monitoring",icon:"science",label:"Seguiment analític",type:"item",sortHint:"0060",callbackFn:()=>navigateToEcapWithoutClosingWithCip("SEGUIMENT_ANALITIC")},{id:"results-reports",icon:"folder_shared",label:"Documents",type:"tree",sortHint:"0070",actionMenuItems:[{icon:"open_in_new",label:"Resultats i informes",callbackFn:()=>navigateToEcapWithoutClosingWithCip("RESULTAT_INFORMES")},{icon:"open_in_new",label:"Documents usuari",callbackFn:()=>{setTimeout(()=>{navigateToEcapWithoutClosingWithCip("CRIDA_DOCS_USU")},0)}},{icon:"open_in_new",label:"Informes clínics",callbackFn:()=>navigateToEcapWithoutClosingWithCip("INFORME_CLINIC_NET")}]},{id:"test-cabinets",icon:"list_alt",label:"Gabinets de proves",type:"item",sortHint:"0080",callbackFn:()=>navigateToEcapWithoutClosingWithCip("GABINETS_PROVES")},{id:"prescriptions",icon:"pill",label:"Prescripció",type:"tree",sortHint:"0090",actionMenuItems:[{icon:"open_in_new",label:"Prescripció",callbackFn:()=>navigateToEcapWithoutClosingWithCip("PRESCRIPCIO_ACTIVA")},{icon:"open_in_new",label:"Ordres de tractament",callbackFn:()=>navigateToEcapWithoutClosingWithCip("ORDRE_TRACTAMENT")},{icon:"open_in_new",label:"Dispensació material sanitari",callbackFn:()=>navigateToEcapWithoutClosingWithCip("DISPENSACIO_MATERIAL_PACIENT")},{icon:"open_in_new",label:"Prescripció social",callbackFn:()=>navigateToEcapWithoutClosingWithCip("PRESCRIPCIO_SOCIAL")}]},{id:"vaccines",icon:"vaccines",label:"Immunitzacions",type:"item",sortHint:"0100",callbackFn:()=>navigateToEcapWithoutClosingWithCip("IMMUNITZACIONS")},{id:"it",icon:"history_toggle_off",label:"Incapacitat temporal",type:"item",sortHint:"0100",callbackFn:()=>navigateToEcapWithoutClosingWithCip("REV_IT")},{id:"visits",icon:"event",label:"Visites",type:"item",sortHint:"0130",callbackFn:()=>navigateToEcapWithoutClosingWithCip("CONSULTA_VISITES")}],registerDoctorCommunicationMenuActions=()=>{const te=[{id:"1",sortHint:"0010",icon:"open_in_new",label:"SMS",callbackFn:async()=>{const J=await getPatientCip(shellApi);shellApi.ecapEventManager.publish("MISSATGES_DEV","NO_TANCAR",{CIP:J||"",TipusMissatge:"SMS"})}},{id:"2",sortHint:"0020",icon:"open_in_new",label:"eConsulta",callbackFn:async()=>{const J=await getPatientCip(shellApi),X=await shellApi.broker.send(new GetVisitId);shellApi.ecapEventManager.publish("NAVEGACIO_ECAP_ECONSULTA","NO_TANCAR",{CIP:J||"",VisiID:X||""})}},{id:"3",icon:"open_in_new",label:"Mail",callbackFn:async()=>{const J=await getPatientCip(shellApi);shellApi.ecapEventManager.publish("COMUNICACIO_MISSATGES_CREAR","NO_TANCAR",{CIP:J||"",TipusMissatge:"SMS"})}},{id:"4",sortHint:"0030",icon:"open_in_new",label:"Veu IP",callbackFn:()=>navigateToEcapWithoutClosingWithCip("VOIP")}];for(const J of te)shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.communicationSidenav,{id:J.id,sortHint:J.sortHint,factory:()=>{const X=new QuickActionItem(J.icon,J.label,J.callbackFn);return Promise.resolve(X)}})},registerDoctorNavMenuViews=()=>{registerCommunicationNavMenu(),registerDoctorCommunicationMenuActions(),registerNavMenuViews(doctorNavMenuItems)},registerDoctorQuickActionViews=()=>{shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.quickActions,{id:"dates",sortHint:"0011",factory:()=>{const te=new QuickActionItem("","Cita",()=>{navigateToEcapWithoutClosingWithCip("CREAR_VISITA")});return Promise.resolve(te)}})},registerMainViews=()=>{registerPDFVisorMainView()},useInternalViews=()=>{registerMainViews(),shellApi.userManager.isUserRoleAdministrative()?registerAdministrativeNavMenuViews():(registerDoctorNavMenuViews(),registerDoctorQuickActionViews())},useUI=()=>{p$g.registerAdapterFactory("primaria-content-switcher",d$u),useSharedUI(),useComponents(),useInternalViews()},initializeShell=(te,J)=>{useLocalization(shellApi),useUI(),useFeatures(shellApi,J);const X=new PrimariaShell;te.appendChild(X)};class n extends HTMLElement{constructor(J,X,re={}){super(),this.jsx=J,this.styles=X,this.root=this.attachShadow({mode:"open"}),this.reactRoot=null,re&&(this.props=re)}connectedCallback(){const J=document.createElement("div");J.style.minHeight="100%",J.style.width="100%",J.style.height="100%";const X=document.createElement("style");X.innerText=this.styles,this.root.appendChild(J),this.root.appendChild(X),this.reactRoot=r$N.createRoot(J),this.renderReact()}disconnectedCallback(){this.reactRoot&&this.reactRoot.unmount()}renderReact(){this.reactRoot&&this.reactRoot.render(c$r.createElement(this.jsx,{...this.props}))}}customElements.define("ux-react-web-component",n);const h=(te,J)=>(X={})=>Promise.resolve(new n(te,J,X));if(typeof document<"u"){const te=document.createElement("style");te.textContent=fontsCSS+`
|
|
7176
7175
|
`+dssCSS,document.head.appendChild(te)}const styles=".container{background-color:#fff;display:flex;flex-direction:column;min-width:500px;width:90vw;height:90vh;border-radius:var(--dss-radius-sm);overflow:hidden}.content{display:grid;height:100%;min-height:1px;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:16px;padding:16px;overflow-y:auto;max-height:calc(90vh - 120px)}.content>*{border:1px solid var(--color-neutral-200);border-radius:8px;padding:16px;background-color:var(--color-neutral-50);min-height:200px}.footer{display:flex;flex-direction:row;align-items:center;background:#fff;justify-content:end;gap:12px;height:56px;border-top:1px solid var(--color-neutral-100);padding:var(--dss-spacing-sm)}",template=te=>ke$1`
|
|
7177
7176
|
<div class="container">
|
|
7178
7177
|
<!-- <div class="header">
|