@wavemaker/app-runtime-wm-build 12.0.0-next.45092 → 12.0.0-next.45096

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.
@@ -1503,40 +1503,40 @@ hooks.version="2.30.1";setHookCallback(createLocal);hooks.fn=proto;hooks.min=min
1503
1503
  \******************/__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{$rootScope:()=>_src_constants_variables_constants__WEBPACK_IMPORTED_MODULE_0__.$rootScope,ApiAwareVariable:()=>_src_model_variable_api_aware_variable__WEBPACK_IMPORTED_MODULE_3__.ApiAwareVariable,BaseAction:()=>_src_model_base_action__WEBPACK_IMPORTED_MODULE_2__.BaseAction,CONSTANTS:()=>_src_constants_variables_constants__WEBPACK_IMPORTED_MODULE_0__.CONSTANTS,CrudVariable:()=>_src_model_variable_crud_variable__WEBPACK_IMPORTED_MODULE_7__.CrudVariable,DB_CONSTANTS:()=>_src_constants_variables_constants__WEBPACK_IMPORTED_MODULE_0__.DB_CONSTANTS,LVService:()=>_src_util_variable_live_variable_http_utils__WEBPACK_IMPORTED_MODULE_10__.LVService,LiveVariable:()=>_src_model_variable_live_variable__WEBPACK_IMPORTED_MODULE_8__.LiveVariable,LiveVariableUtils:()=>_src_util_variable_live_variable_utils__WEBPACK_IMPORTED_MODULE_11__.LiveVariableUtils,ModelVariable:()=>_src_model_variable_model_variable__WEBPACK_IMPORTED_MODULE_5__.ModelVariable,SWAGGER_CONSTANTS:()=>_src_constants_variables_constants__WEBPACK_IMPORTED_MODULE_0__.SWAGGER_CONSTANTS,ServiceVariable:()=>_src_model_variable_service_variable__WEBPACK_IMPORTED_MODULE_6__.ServiceVariable,TEST:()=>TEST,TimerAction:()=>_src_model_action_timer_action__WEBPACK_IMPORTED_MODULE_4__.TimerAction,VARIABLE_CONSTANTS:()=>_src_constants_variables_constants__WEBPACK_IMPORTED_MODULE_0__.VARIABLE_CONSTANTS,VARIABLE_URLS:()=>_src_constants_variables_constants__WEBPACK_IMPORTED_MODULE_0__.VARIABLE_URLS,WS_CONSTANTS:()=>_src_constants_variables_constants__WEBPACK_IMPORTED_MODULE_0__.WS_CONSTANTS,appManager:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.appManager,debounceVariableCall:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.debounceVariableCall,decodeData:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.decodeData,dialogService:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.dialogService,formatDate:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.formatDate,formatExportExpression:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.formatExportExpression,generateConnectionParams:()=>_src_util_variable_live_variable_http_utils__WEBPACK_IMPORTED_MODULE_10__.generateConnectionParams,getBlob:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.getBlob,getErrMessage:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.getErrMessage,getEvaluatedOrderBy:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.getEvaluatedOrderBy,getTarget:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.getTarget,getTargetNodeKey:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.getTargetNodeKey,getTargetObj:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.getTargetObj,httpService:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.httpService,initiateCallback:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.initiateCallback,internalBoundNodeMap:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.internalBoundNodeMap,isFileUploadSupported:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.isFileUploadSupported,metadataService:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.metadataService,navigationService:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.navigationService,oauthService:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.oauthService,parseConfig:()=>_src_util_variable_live_variable_http_utils__WEBPACK_IMPORTED_MODULE_10__.parseConfig,routerService:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.routerService,securityService:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.securityService,setInput:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.setInput,setValueToNode:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.setValueToNode,toasterService:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.toasterService,updateInternalNodes:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.updateInternalNodes,wmSetDependency:()=>_src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__.wmSetDependency});var _src_constants_variables_constants__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./src/constants/variables.constants */"./src/constants/variables.constants.ts");var _src_util_variable_variables_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./src/util/variable/variables.utils */"./src/util/variable/variables.utils.ts");var _src_model_base_action__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(/*! ./src/model/base-action */"./src/model/base-action.ts");var _src_model_variable_api_aware_variable__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(/*! ./src/model/variable/api-aware-variable */"./src/model/variable/api-aware-variable.ts");var _src_model_action_timer_action__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(/*! ./src/model/action/timer-action */"./src/model/action/timer-action.ts");var _src_model_variable_model_variable__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(/*! ./src/model/variable/model-variable */"./src/model/variable/model-variable.ts");var _src_model_variable_service_variable__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(/*! ./src/model/variable/service-variable */"./src/model/variable/service-variable.ts");var _src_model_variable_crud_variable__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(/*! ./src/model/variable/crud-variable */"./src/model/variable/crud-variable.ts");var _src_model_variable_live_variable__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(/*! ./src/model/variable/live-variable */"./src/model/variable/live-variable.ts");var _src_types_http_client_service__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(/*! ./src/types/http-client.service */"./src/types/http-client.service.ts");var _src_util_variable_live_variable_http_utils__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(/*! ./src/util/variable/live-variable.http.utils */"./src/util/variable/live-variable.http.utils.ts");var _src_util_variable_live_variable_utils__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(/*! ./src/util/variable/live-variable.utils */"./src/util/variable/live-variable.utils.ts");var _src_types_date_formatter__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(/*! ./src/types/date-formatter */"./src/types/date-formatter.ts");var TEST="hello from variables"})();return __webpack_exports__})()));(function webpackUniversalModuleDefinition(root,factory){if(typeof exports==="object"&&typeof module==="object")module.exports=factory();else if(typeof define==="function"&&define.amd)define([],factory);else if(typeof exports==="object")exports["wm_custom_widgets"]=factory();else root["wm_custom_widgets"]=factory()})(window,(()=>(()=>{"use strict";var __webpack_modules__={"./src/checkbox_set/page.min.js":
1504
1504
  /*!**************************************!*\
1505
1505
  !*** ./src/checkbox_set/page.min.js ***!
1506
- \**************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{checkbox_set:()=>checkbox_set});const checkbox_set={markup:"%3Cwm-custom-widget-container%20name%3D%22partial1%22%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite1%22%20captionposition%3D%22top%22%20required%3D%22false%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-label%20class%3D%22%20control-label%22%20notag%3D%22true%22%20name%3D%22label1%22%20caption%3D%22bind%3Aprops.label_text%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22container1%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-checkboxset%20height%3D%22auto%22%20name%3D%22checkboxset%22%20dataset%3D%22bind%3Aprops.data_set%22%20datafield%3D%22All%20Fields%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%22%20required%3D%22bind%3Aprops.required%22%20datavalue%3D%22bind%3Aprops.default_value%22%3E%3C%2Fwm-checkboxset%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0AWidget.onPropertyChange%20%3D%20function(propName%2C%20newValue%2C%20oldValue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20show_intermediate%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20layout%2C%0A%20%20%20%20%20%20%20%20label_placement%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20const%20propertyHandlers%20%3D%20%7B%0A%20%20%20%20%20%20%20%20'prop-required'%3A%20()%20%3D%3E%20handleRequiredChange(widgetMap%2C%20required)%2C%0A%20%20%20%20%20%20%20%20'prop-layout'%3A%20()%20%3D%3E%20handleLayoutChange(widgetMap%2C%20layout)%2C%0A%20%20%20%20%20%20%20%20'prop-show_intermediate'%3A%20()%20%3D%3E%20handleIntermediateChange(widgetMap%2C%20show_intermediate)%2C%0A%20%20%20%20%20%20%20%20'prop-label_placement'%3A%20()%20%3D%3E%20handleLabelPlacementChange(widgetMap%2C%20label_placement)%0A%20%20%20%20%7D%3B%0A%0A%20%20%20%20if%20(propertyHandlers%5BpropName%5D)%20%7B%0A%20%20%20%20%20%20%20%20propertyHandlers%5BpropName%5D()%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20show_intermediate%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20layout%2C%0A%20%20%20%20%20%20%20%20label_placement%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20handleLayoutChange(widgetMap%2C%20layout)%3B%0A%20%20%20%20handleLabelPlacementChange(widgetMap%2C%20label_placement)%0A%20%20%20%20handleIntermediateChange(widgetMap%2C%20show_intermediate)%3B%0A%20%20%20%20handleRequiredChange(widgetMap%2C%20required)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.default_value%3B%0A%0A%7D%3B%0A%0Afunction%20handleLabelPlacementChange(widgetMap%2C%20label_placement)%20%7B%0A%20%20%20%20updateClasses(widgetMap.checkboxset.nativeElement%2C%20%7B%0A%20%20%20%20%20%20%20%20'top-placement'%3A%20label_placement%20%3D%3D%3D%20%22top%22%2C%0A%20%20%20%20%20%20%20%20'bottom-placement'%3A%20label_placement%20%3D%3D%3D%20%22bottom%22%2C%0A%20%20%20%20%20%20%20%20'start-placement'%3A%20label_placement%20%3D%3D%3D%20%22start%22%0A%20%20%20%20%7D)%3B%0A%7D%0A%0A%2F%2F%20Utility%20function%20to%20manage%20class%20additions%20and%20removals%0Afunction%20updateClasses(element%2C%20classMap)%20%7B%0A%20%20%20%20Object.keys(classMap).forEach((className)%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20element.classList.toggle(className%2C%20classMap%5BclassName%5D)%3B%0A%20%20%20%20%7D)%3B%0A%7D%0A%0Afunction%20handleIntermediateChange(widgetMap%2C%20show_intermediate)%20%7B%0A%20%20%20%20updateClasses(widgetMap.checkboxset.nativeElement%2C%20%7B%0A%20%20%20%20%20%20%20%20'intermediate-checkbox'%3A%20show_intermediate.toString().toLowerCase()%20%3D%3D%3D%20'true'%0A%20%20%20%20%7D)%3B%0A%7D%0A%0A%0Afunction%20handleLayoutChange(widgetMap%2C%20layout)%20%7B%0A%20%20%20%20updateClasses(widgetMap.checkboxset.nativeElement%2C%20%7B%0A%20%20%20%20%20%20%20%20'horizontal'%3A%20layout%20%3D%3D%3D%20%22horizontal%22%2C%0A%20%20%20%20%20%20%20%20'vertical'%3A%20layout%20%3D%3D%3D%20%22vertical%22%0A%20%20%20%20%7D)%3B%0A%7D%0A%0Afunction%20handleRequiredChange(widgetMap%2C%20required)%20%7B%0A%20%20%20%20widgetMap.composite1.required%20%3D%20required%3B%0A%7D%0A",styles:".app-checkboxset.list-group.inline%2C%0A.app-checkboxset.list-group%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%7D%0A%0A.app-checkboxset.list-group.inline.horizontal%2C%0A.app-checkboxset.list-group.horizontal%20%7B%0A%20%20%20%20flex-direction%3A%20row%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%7D%0A%0A.app-checkboxset%20.checkbox%3Elabel%20.caption%3Aafter%20%7B%0A%20%20%20%20box-sizing%3A%20unset%3B%0A%7D%0A%0A%0A%2F*%20start%20label%20placement%20styles%20%20*%2F%0A%0A.app-checkboxset.horizontal.start-placement%20.app-checkboxset-label%3E.caption%2C%0A.app-checkboxset.vertical.start-placement%20.app-checkboxset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-right%3A%20calc(var(--wm-checkbox-state-layer-size)%20%2B%20var(--wm-checkbox-gap))%3B%0A%7D%0A%0A.app-checkboxset.horizontal.start-placement%20.checkbox%3Elabel%20.caption%3Abefore%2C%0A.app-checkboxset.vertical.start-placement%20.checkbox%3Elabel%20.caption%3Abefore%20%7B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20right%3A%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.start-placement%20.checkbox%3Elabel%20.caption%3Aafter%2C%0A.app-checkboxset.vertical.start-placement%20.checkbox%3Elabel%20.caption%3Aafter%20%7B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20right%3A%20calc(calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202)%20%2B%206px)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.start-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2C%0A.app-checkboxset.vertical.start-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%20%7B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20right%3A%200px%3B%0A%7D%0A%0A%0A%2F*%20top%20label%20placement%20styles%20%20*%2F%0A%0A.app-checkboxset.top-placement%20.app-checkboxset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-bottom%3A%20calc(var(--wm-checkbox-state-layer-size)%20%2B%20var(--wm-checkbox-gap))%3B%0A%20%20%20%20min-width%3A%2020px%3B%0A%20%20%20%20padding-top%3A%20unset%3B%0A%7D%0A%0A.app-checkboxset.top-placement%20.app-checkboxset-label%3E.caption%3A%3Abefore%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20%2B%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202))%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.app-checkboxset.top-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap)))%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.wm-app%20.app-checkboxset.top-placement%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Achecked%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20%2B%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202))%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translate(-6px%2C%204px)%20rotate(-45deg)%20scale(1)%3B%0A%7D%0A%0A%0A%2F*%20bottom%20label%20placement%20style%20%20*%2F%0A%0A.app-checkboxset.bottom-placement%20.app-checkboxset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-bottom%3A%20unset%3B%0A%20%20%20%20padding-top%3A%20calc(var(--wm-checkbox-state-layer-size)%20%2B%20var(--wm-checkbox-gap))%3B%0A%7D%0A%0A.app-checkboxset.bottom-placement%20%7B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%20%20%20%20min-width%3A%2040px%3B%0A%20%20%20%20max-width%3A%20max-content%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%7D%0A%0A.app-checkboxset.bottom-placement%20.app-checkboxset-label%3E.caption%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.app-checkboxset.bottom-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.wm-app%20.app-checkboxset.bottom-placement%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Achecked%2B.caption%3Aafter%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translate(-6px%2C%204px)%20rotate(-45deg)%20scale(1)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement%20.app-checkboxset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-top%3A%20calc(var(--wm-checkbox-state-layer-size)%20%2B%20var(--wm-checkbox-gap))%3B%0A%20%20%20%20min-width%3A%2020px%3B%0A%20%20%20%20justify-content%3A%20center%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%20%20%20%20margin-top%3A%20unset%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Achecked%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement%20.app-checkboxset-label%3E.caption%3A%3Abefore%20%7B%0A%20%20%20%20top%3A%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%20%7B%0A%20%20%20%20top%3A%200px%3B%0A%7D%0A%0A.app-checkboxset%20.app-checkboxset-label.disabled%3Einput%5Btype%3D%22checkbox%22%5D%3Achecked%2B.caption%3A%3Abefore%2C%0A.app-checkboxset.intermediate-checkbox%20.app-checkboxset-label.disabled%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3A%3Abefore%2C%0A.app-checkboxset%20.app-checkboxset-label.disabled%3Einput%5Btype%3D%22checkbox%22%5D%3Achecked%2B.caption%3A%3Abefore%2C%0A.app-checkboxset.intermediate-checkbox%20.app-checkboxset-label.disabled%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3A%3Abefore%20%7B%0A%20%20%20%20border-color%3A%20var(--wm-checkbox-border-color)%3B%0A%20%20%20%20background-color%3A%20var(--wm-checkbox-border-color)%3B%0A%7D%0A%0A.app-checkboxset.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Anot(%3Achecked)%2B.caption%3Aafter%2C%0A.app-checkboxset.top-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Anot(%3Achecked)%2B.caption%3Aafter%2C%0A.app-checkboxset.bottom-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Anot(%3Achecked)%2B.caption%3Aafter%2C%0A.app-checkboxset.start-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Anot(%3Achecked)%2B.caption%3Aafter%20%7B%0A%20%20%20%20border%3A%200px%3B%0A%7D%0A%0A.app-checkboxset.horizontal.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%2C%0A.app-checkboxset.vertical.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-state-layer-size)%2F2)%20-%201px)%3B%0A%20%20%20%20height%3A%200px%3B%0A%20%20%20%20transform%3A%20translate(3px%2C%200px)%20rotate(0deg)%20scale(1)%3B%0A%7D%0A%0A.app-checkboxset.top-placement.horizontal.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%2C%0A.app-checkboxset.top-placement.vertical.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20%2B%20calc(var(--wm-checkbox-state-layer-size)%2F2)%20-%201px)%3B%0A%20%20%20%20height%3A%200px%3B%0A%20%20%20%20transform%3A%20translate(-6px%2C%200px)%20rotate(0deg)%20scale(1)%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%2C%0A.app-checkboxset.vertical.bottom-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20-%20calc(var(--wm-checkbox-state-layer-size)%2F2)%20%2B%207px)%3B%0A%20%20%20%20height%3A%200px%3B%0A%20%20%20%20transform%3A%20translate(-6px%2C%204px)%20rotate(0deg)%20scale(1)%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%7D%0A%0A.app-checkboxset.start-placement.horizontal.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%2C%0A.app-checkboxset.start-placement.vertical.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20-%20calc(var(--wm-checkbox-state-layer-size)%2F2))%3B%0A%20%20%20%20height%3A%200px%3B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20transform%3A%20translate(3px%2C%2011px)%20rotate(0deg)%20scale(1)%3B%0A%7D%0A",variables:"%7B%20%7D",config:"%7B%0A%09%22widgetType%22%20%3A%20%22wm-checkbox%22%2C%0A%09%22properties%22%20%3A%20%7B%0A%09%20%20%22layout%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22list%22%2C%0A%09%09%22displayName%22%20%3A%20%22Layout%22%2C%0A%09%09%22description%22%20%3A%20%22Defines%20the%20orientation%20of%20the%20element.%20'horizontal'%20indicates%20that%20the%20element's%20layout%20or%20behavior%20is%20aligned%20along%20the%20horizontal%20axis%20(left%20to%20right)%2C%20while%20'vertical'%20means%20the%20element%20is%20aligned%20along%20the%20vertical%20axis%20(top%20to%20bottom)%22%2C%0A%09%09%22options%22%20%3A%20%5B%20%22horizontal%22%2C%20%22vertical%22%20%5D%2C%0A%09%09%22value%22%20%3A%20%22horizontal%22%0A%09%20%20%7D%2C%0A%09%20%20%22show_intermediate%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22boolean%22%2C%0A%09%09%22displayName%22%20%3A%20%22Intermediate%20checkbox%22%2C%0A%09%09%22description%22%20%3A%20%22Controls%20whether%20the%20checkbox%20shows%20an%20indeterminate%20state.%20True%20displays%20the%20intermediate%20state%22%2C%0A%09%09%22value%22%20%3A%20false%0A%09%20%20%7D%2C%0A%09%20%20%22state%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22list%22%2C%0A%09%09%22displayName%22%20%3A%20%22State%22%2C%0A%09%09%22description%22%20%3A%20%22Specifies%20whether%20the%20component%20is%20active%20or%20inactive.%20'enabled'%20means%20the%20component%20is%20interactive%20and%20functional%2C%20while%20'disabled'%20means%20it%20is%20non-interactive%20and%20inactive%22%2C%0A%09%09%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%09%09%22value%22%20%3A%20%22Enabled%22%0A%09%20%20%7D%2C%0A%09%20%20%22label_placement%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22list%22%2C%0A%09%09%22displayName%22%20%3A%20%22Label%20placement%22%2C%0A%09%09%22description%22%20%3A%20%22Specifies%20the%20label's%20position%20relative%20to%20the%20component%2C%20with%20options%3A%20'top'%20(Label%20appears%20above%20the%20component)%2C%20'bottom'%20(Label%20appears%20below%20the%20component)%2C%20'start'%20(Label%20appears%20left%20of%20the%20component)%22%2C%0A%09%09%22options%22%20%3A%20%5B%20%22top%22%2C%20%22bottom%22%2C%20%22start%22%2C%20%22end%22%20%5D%2C%0A%09%09%22value%22%20%3A%20%22end%22%0A%09%20%20%7D%2C%0A%09%20%20%22label_text%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22string%22%2C%0A%09%09%22displayName%22%20%3A%20%22Label%20text%22%2C%0A%09%09%22description%22%20%3A%20%22Label%20text%20informs%20users%20about%20what%20information%20is%20requested%20for%20a%20checkboxSet%22%2C%0A%09%09%22value%22%20%3A%20%22Label%20Text%22%0A%09%20%20%7D%2C%0A%09%20%20%22data_set%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22string%22%2C%0A%09%09%22displayName%22%20%3A%20%22Data%20Set%20values%22%2C%0A%09%09%22description%22%20%3A%20%22Defines%20the%20available%20options%20for%20the%20data%20set%2C%20typically%20a%20list%20of%20labels%20such%20as%20'Option1'%2C%20'Option2'%2C%20'Option3'%22%2C%0A%09%09%22value%22%20%3A%20%22Option1%2COption2%2COption3%22%0A%09%20%20%7D%2C%0A%09%20%20%22default_value%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22string%22%2C%0A%09%09%22displayName%22%20%3A%20%22Default%20Value%22%2C%0A%09%09%22description%22%20%3A%20%22Specifies%20the%20default%20value%20for%20the%20checked%20attribute.%20Default%20is%20'Option1'%22%2C%0A%09%09%22value%22%20%3A%20%22%22%0A%09%20%20%7D%2C%0A%09%20%20%22required%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22boolean%22%2C%0A%09%09%22displayName%22%20%3A%20%22Required%22%2C%0A%09%09%22description%22%20%3A%20%22Indicates%20whether%20the%20checkboxSet%20is%20mandatory.%20True%20makes%20it%20required%3B%20false%20means%20it%20is%20optional%22%2C%0A%09%09%22value%22%20%3A%20false%0A%09%20%20%7D%0A%09%7D%2C%0A%09%22events%22%20%3A%20%7B%20%7D%0A%20%20%7D%0A%20%20"}},"./src/discrete_slider/page.min.js":
1506
+ \**************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{checkbox_set:()=>checkbox_set});const checkbox_set={markup:"%3Cwm-custom-widget-container%20name%3D%22partial1%22%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite1%22%20captionposition%3D%22top%22%20required%3D%22false%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-label%20class%3D%22%20control-label%22%20notag%3D%22true%22%20name%3D%22label1%22%20caption%3D%22bind%3Aprops.label_text%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22container1%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-checkboxset%20height%3D%22auto%22%20name%3D%22checkboxset%22%20dataset%3D%22bind%3Aprops.data_set%22%20datafield%3D%22All%20Fields%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%3D%3D%26quot%3Bdisabled%26quot%3B%22%20required%3D%22bind%3Aprops.required%22%20datavalue%3D%22bind%3Aprops.default_value%22%3E%3C%2Fwm-checkboxset%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0AWidget.onPropertyChange%20%3D%20function(propName%2C%20newValue%2C%20oldValue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20show_intermediate%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20layout%2C%0A%20%20%20%20%20%20%20%20label_placement%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20const%20propertyHandlers%20%3D%20%7B%0A%20%20%20%20%20%20%20%20'prop-required'%3A%20()%20%3D%3E%20handleRequiredChange(widgetMap%2C%20required)%2C%0A%20%20%20%20%20%20%20%20'prop-layout'%3A%20()%20%3D%3E%20handleLayoutChange(widgetMap%2C%20layout)%2C%0A%20%20%20%20%20%20%20%20'prop-show_intermediate'%3A%20()%20%3D%3E%20handleIntermediateChange(widgetMap%2C%20show_intermediate)%2C%0A%20%20%20%20%20%20%20%20'prop-label_placement'%3A%20()%20%3D%3E%20handleLabelPlacementChange(widgetMap%2C%20label_placement)%0A%20%20%20%20%7D%3B%0A%0A%20%20%20%20if%20(propertyHandlers%5BpropName%5D)%20%7B%0A%20%20%20%20%20%20%20%20propertyHandlers%5BpropName%5D()%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20show_intermediate%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20layout%2C%0A%20%20%20%20%20%20%20%20label_placement%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20handleLayoutChange(widgetMap%2C%20layout)%3B%0A%20%20%20%20handleLabelPlacementChange(widgetMap%2C%20label_placement)%0A%20%20%20%20handleIntermediateChange(widgetMap%2C%20show_intermediate)%3B%0A%20%20%20%20handleRequiredChange(widgetMap%2C%20required)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.default_value%3B%0A%0A%7D%3B%0A%0Afunction%20handleLabelPlacementChange(widgetMap%2C%20label_placement)%20%7B%0A%20%20%20%20updateClasses(widgetMap.checkboxset.nativeElement%2C%20%7B%0A%20%20%20%20%20%20%20%20'top-placement'%3A%20label_placement%20%3D%3D%3D%20%22top%22%2C%0A%20%20%20%20%20%20%20%20'bottom-placement'%3A%20label_placement%20%3D%3D%3D%20%22bottom%22%2C%0A%20%20%20%20%20%20%20%20'start-placement'%3A%20label_placement%20%3D%3D%3D%20%22start%22%0A%20%20%20%20%7D)%3B%0A%7D%0A%0A%2F%2F%20Utility%20function%20to%20manage%20class%20additions%20and%20removals%0Afunction%20updateClasses(element%2C%20classMap)%20%7B%0A%20%20%20%20Object.keys(classMap).forEach((className)%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20element.classList.toggle(className%2C%20classMap%5BclassName%5D)%3B%0A%20%20%20%20%7D)%3B%0A%7D%0A%0Afunction%20handleIntermediateChange(widgetMap%2C%20show_intermediate)%20%7B%0A%20%20%20%20updateClasses(widgetMap.checkboxset.nativeElement%2C%20%7B%0A%20%20%20%20%20%20%20%20'intermediate-checkbox'%3A%20show_intermediate.toString().toLowerCase()%20%3D%3D%3D%20'true'%0A%20%20%20%20%7D)%3B%0A%7D%0A%0A%0Afunction%20handleLayoutChange(widgetMap%2C%20layout)%20%7B%0A%20%20%20%20updateClasses(widgetMap.checkboxset.nativeElement%2C%20%7B%0A%20%20%20%20%20%20%20%20'horizontal'%3A%20layout%20%3D%3D%3D%20%22horizontal%22%2C%0A%20%20%20%20%20%20%20%20'vertical'%3A%20layout%20%3D%3D%3D%20%22vertical%22%0A%20%20%20%20%7D)%3B%0A%7D%0A%0Afunction%20handleRequiredChange(widgetMap%2C%20required)%20%7B%0A%20%20%20%20widgetMap.composite1.required%20%3D%20required%3B%0A%7D%0A",styles:".app-checkboxset.list-group.inline%2C%0A.app-checkboxset.list-group%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%7D%0A%0A.app-checkboxset.list-group.inline.horizontal%2C%0A.app-checkboxset.list-group.horizontal%20%7B%0A%20%20%20%20flex-direction%3A%20row%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%7D%0A%0A.app-checkboxset%20.checkbox%3Elabel%20.caption%3Aafter%20%7B%0A%20%20%20%20box-sizing%3A%20unset%3B%0A%7D%0A%0A%0A%2F*%20start%20label%20placement%20styles%20%20*%2F%0A%0A.app-checkboxset.horizontal.start-placement%20.app-checkboxset-label%3E.caption%2C%0A.app-checkboxset.vertical.start-placement%20.app-checkboxset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-right%3A%20calc(var(--wm-checkbox-state-layer-size)%20%2B%20var(--wm-checkbox-gap))%3B%0A%7D%0A%0A.app-checkboxset.horizontal.start-placement%20.checkbox%3Elabel%20.caption%3Abefore%2C%0A.app-checkboxset.vertical.start-placement%20.checkbox%3Elabel%20.caption%3Abefore%20%7B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20right%3A%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.start-placement%20.checkbox%3Elabel%20.caption%3Aafter%2C%0A.app-checkboxset.vertical.start-placement%20.checkbox%3Elabel%20.caption%3Aafter%20%7B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20right%3A%20calc(calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202)%20%2B%206px)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.start-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2C%0A.app-checkboxset.vertical.start-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%20%7B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20right%3A%200px%3B%0A%7D%0A%0A%0A%2F*%20top%20label%20placement%20styles%20%20*%2F%0A%0A.app-checkboxset.top-placement%20.app-checkboxset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-bottom%3A%20calc(var(--wm-checkbox-state-layer-size)%20%2B%20var(--wm-checkbox-gap))%3B%0A%20%20%20%20min-width%3A%2020px%3B%0A%20%20%20%20padding-top%3A%20unset%3B%0A%7D%0A%0A.app-checkboxset.top-placement%20.app-checkboxset-label%3E.caption%3A%3Abefore%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20%2B%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202))%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.app-checkboxset.top-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap)))%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.wm-app%20.app-checkboxset.top-placement%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Achecked%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20%2B%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202))%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translate(-6px%2C%204px)%20rotate(-45deg)%20scale(1)%3B%0A%7D%0A%0A%0A%2F*%20bottom%20label%20placement%20style%20%20*%2F%0A%0A.app-checkboxset.bottom-placement%20.app-checkboxset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-bottom%3A%20unset%3B%0A%20%20%20%20padding-top%3A%20calc(var(--wm-checkbox-state-layer-size)%20%2B%20var(--wm-checkbox-gap))%3B%0A%7D%0A%0A.app-checkboxset.bottom-placement%20%7B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%20%20%20%20min-width%3A%2040px%3B%0A%20%20%20%20max-width%3A%20max-content%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%7D%0A%0A.app-checkboxset.bottom-placement%20.app-checkboxset-label%3E.caption%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.app-checkboxset.bottom-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.wm-app%20.app-checkboxset.bottom-placement%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Achecked%2B.caption%3Aafter%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translate(-6px%2C%204px)%20rotate(-45deg)%20scale(1)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement%20.app-checkboxset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-top%3A%20calc(var(--wm-checkbox-state-layer-size)%20%2B%20var(--wm-checkbox-gap))%3B%0A%20%20%20%20min-width%3A%2020px%3B%0A%20%20%20%20justify-content%3A%20center%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%20%20%20%20margin-top%3A%20unset%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Achecked%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement%20.app-checkboxset-label%3E.caption%3A%3Abefore%20%7B%0A%20%20%20%20top%3A%20calc((var(--wm-checkbox-state-layer-size)%20-%20var(--wm-checkbox-size))%20%2F%202)%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement%20.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%20%7B%0A%20%20%20%20top%3A%200px%3B%0A%7D%0A%0A.app-checkboxset.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Anot(%3Achecked)%2B.caption%3Aafter%2C%0A.app-checkboxset.top-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Anot(%3Achecked)%2B.caption%3Aafter%2C%0A.app-checkboxset.bottom-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Anot(%3Achecked)%2B.caption%3Aafter%2C%0A.app-checkboxset.start-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%3Anot(%3Achecked)%2B.caption%3Aafter%20%7B%0A%20%20%20%20border%3A%200px%3B%0A%7D%0A%0A.app-checkboxset.horizontal.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%2C%0A.app-checkboxset.vertical.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-state-layer-size)%2F2)%20-%201px)%3B%0A%20%20%20%20height%3A%200px%3B%0A%20%20%20%20transform%3A%20translate(3px%2C%200px)%20rotate(0deg)%20scale(1)%3B%0A%7D%0A%0A.app-checkboxset.top-placement.horizontal.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%2C%0A.app-checkboxset.top-placement.vertical.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20%2B%20calc(var(--wm-checkbox-state-layer-size)%2F2)%20-%201px)%3B%0A%20%20%20%20height%3A%200px%3B%0A%20%20%20%20transform%3A%20translate(-6px%2C%200px)%20rotate(0deg)%20scale(1)%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%7D%0A%0A.app-checkboxset.horizontal.bottom-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%2C%0A.app-checkboxset.vertical.bottom-placement.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20-%20calc(var(--wm-checkbox-state-layer-size)%2F2)%20%2B%207px)%3B%0A%20%20%20%20height%3A%200px%3B%0A%20%20%20%20transform%3A%20translate(-6px%2C%204px)%20rotate(0deg)%20scale(1)%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%7D%0A%0A.app-checkboxset.start-placement.horizontal.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%2C%0A.app-checkboxset.start-placement.vertical.intermediate-checkbox%3E.app-checkbox.checkbox%3Elabel%3Einput%5Btype%3D%22checkbox%22%5D%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-checkbox-caption-line-height)%20%2B%20var(--wm-checkbox-gap))%20-%20calc(var(--wm-checkbox-state-layer-size)%2F2))%3B%0A%20%20%20%20height%3A%200px%3B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20transform%3A%20translate(3px%2C%2011px)%20rotate(0deg)%20scale(1)%3B%0A%7D%0A",variables:"%7B%20%7D",config:"%7B%0A%09%22widgetType%22%20%3A%20%22wm-checkbox%22%2C%0A%09%22properties%22%20%3A%20%7B%0A%09%20%20%22layout%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22list%22%2C%0A%09%09%22displayName%22%20%3A%20%22Layout%22%2C%0A%09%09%22description%22%20%3A%20%22Defines%20the%20orientation%20of%20the%20element.%20'horizontal'%20indicates%20that%20the%20element's%20layout%20or%20behavior%20is%20aligned%20along%20the%20horizontal%20axis%20(left%20to%20right)%2C%20while%20'vertical'%20means%20the%20element%20is%20aligned%20along%20the%20vertical%20axis%20(top%20to%20bottom)%22%2C%0A%09%09%22options%22%20%3A%20%5B%20%22horizontal%22%2C%20%22vertical%22%20%5D%2C%0A%09%09%22value%22%20%3A%20%22horizontal%22%0A%09%20%20%7D%2C%0A%09%20%20%22show_intermediate%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22boolean%22%2C%0A%09%09%22displayName%22%20%3A%20%22Intermediate%20checkbox%22%2C%0A%09%09%22description%22%20%3A%20%22Controls%20whether%20the%20checkbox%20shows%20an%20indeterminate%20state.%20True%20displays%20the%20intermediate%20state%22%2C%0A%09%09%22value%22%20%3A%20false%0A%09%20%20%7D%2C%0A%09%20%20%22state%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22list%22%2C%0A%09%09%22displayName%22%20%3A%20%22State%22%2C%0A%09%09%22description%22%20%3A%20%22Specifies%20whether%20the%20component%20is%20active%20or%20inactive.%20'enabled'%20means%20the%20component%20is%20interactive%20and%20functional%2C%20while%20'disabled'%20means%20it%20is%20non-interactive%20and%20inactive%22%2C%0A%09%09%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%09%09%22value%22%20%3A%20%22Enabled%22%0A%09%20%20%7D%2C%0A%09%20%20%22label_placement%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22list%22%2C%0A%09%09%22displayName%22%20%3A%20%22Label%20placement%22%2C%0A%09%09%22description%22%20%3A%20%22Specifies%20the%20label's%20position%20relative%20to%20the%20component%2C%20with%20options%3A%20'top'%20(Label%20appears%20above%20the%20component)%2C%20'bottom'%20(Label%20appears%20below%20the%20component)%2C%20'start'%20(Label%20appears%20left%20of%20the%20component)%22%2C%0A%09%09%22options%22%20%3A%20%5B%20%22top%22%2C%20%22bottom%22%2C%20%22start%22%2C%20%22end%22%20%5D%2C%0A%09%09%22value%22%20%3A%20%22end%22%0A%09%20%20%7D%2C%0A%09%20%20%22label_text%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22string%22%2C%0A%09%09%22displayName%22%20%3A%20%22Label%20text%22%2C%0A%09%09%22description%22%20%3A%20%22Label%20text%20informs%20users%20about%20what%20information%20is%20requested%20for%20a%20checkboxSet%22%2C%0A%09%09%22value%22%20%3A%20%22Label%20Text%22%0A%09%20%20%7D%2C%0A%09%20%20%22data_set%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22string%22%2C%0A%09%09%22displayName%22%20%3A%20%22Data%20Set%20values%22%2C%0A%09%09%22description%22%20%3A%20%22Defines%20the%20available%20options%20for%20the%20data%20set%2C%20typically%20a%20list%20of%20labels%20such%20as%20'Option1'%2C%20'Option2'%2C%20'Option3'%22%2C%0A%09%09%22value%22%20%3A%20%22Option1%2COption2%2COption3%22%0A%09%20%20%7D%2C%0A%09%20%20%22default_value%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22string%22%2C%0A%09%09%22displayName%22%20%3A%20%22Default%20Value%22%2C%0A%09%09%22description%22%20%3A%20%22Specifies%20the%20default%20value%20for%20the%20checked%20attribute.%20Default%20is%20'Option1'%22%2C%0A%09%09%22value%22%20%3A%20%22%22%0A%09%20%20%7D%2C%0A%09%20%20%22required%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22boolean%22%2C%0A%09%09%22displayName%22%20%3A%20%22Required%22%2C%0A%09%09%22description%22%20%3A%20%22Indicates%20whether%20the%20checkboxSet%20is%20mandatory.%20True%20makes%20it%20required%3B%20false%20means%20it%20is%20optional%22%2C%0A%09%09%22value%22%20%3A%20false%0A%09%20%20%7D%0A%09%7D%2C%0A%09%22events%22%20%3A%20%7B%20%7D%0A%20%20%7D%0A%20%20"}},"./src/discrete_slider/page.min.js":
1507
1507
  /*!*****************************************!*\
1508
1508
  !*** ./src/discrete_slider/page.min.js ***!
1509
- \*****************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{discrete_slider:()=>discrete_slider});const discrete_slider={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite%22%20class%3D%22slider-composite%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22sliderContainer%22%20class%3D%22filled-slider%20discrete-slider%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22decrementButton%22%20iconclass%3D%22bind%3Aprops.start_icon%22%20on-click%3D%22decrementButtonClick(%24event%2C%20widget)%22%20show%3D%22false%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-slider%20name%3D%22slider%22%20class%3D%22cst-slider%22%20datavalue%3D%22bind%3Aprops.value%22%20on-change%3D%22sliderChange(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%22%20minvalue%3D%22bind%3Aprops.min_value%22%20maxvalue%3D%22bind%3Aprops.max_value%22%3E%3C%2Fwm-slider%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22incrementButton%22%20iconclass%3D%22bind%3Aprops.end_icon%22%20on-click%3D%22incrementButtonClick(%24event%2C%20widget)%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22labelsContainer%22%20class%3D%22stop-indicator%22%3E%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E",script:"Widget.onPropertyChange%20%3D%20function(propName%2C%20newValue%2C%20oldValue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20value%2C%0A%20%20%20%20%20%20%20%20step_value%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20min_value%2C%0A%20%20%20%20%20%20%20%20max_value%2C%0A%20%20%20%20%20%20%20%20show_labels%2C%0A%20%20%20%20%20%20%20%20show_icons%2C%0A%20%20%20%20%20%20%20%20icon_actions%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20showIconsBool%20%3D%20convertToBoolean(show_icons)%3B%0A%20%20%20%20const%20showLabelsBool%20%3D%20convertToBoolean(show_labels)%3B%0A%20%20%20%20const%20iconActionsBool%20%3D%20convertToBoolean(icon_actions)%3B%0A%0A%20%20%20%20switch%20(propName)%20%7B%0A%20%20%20%20%20%20%20%20case%20'prop-value'%3A%0A%20%20%20%20%20%20%20%20case%20'prop-min_value'%3A%0A%20%20%20%20%20%20%20%20case%20'prop-max_value'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateSlider(widgetMap%2C%20value%2C%20min_value%2C%20max_value%2C%20step_value)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20'prop-step_value'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateSliderStep(widgetMap%2C%20value%2C%20min_value%2C%20max_value%2C%20step_value)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20'prop-required'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20setRequired(widgetMap%2C%20required)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-show_labels%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20toggleLabelVisibilty(showLabelsBool%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-show_icons%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20toggleIconsVisibility(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20widgetMap%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20showIconsBool%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20iconActionsBool%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-start_icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-end_icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20value%2C%0A%20%20%20%20%20%20%20%20step_value%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20min_value%2C%0A%20%20%20%20%20%20%20%20max_value%2C%0A%20%20%20%20%20%20%20%20show_labels%2C%0A%20%20%20%20%20%20%20%20show_icons%2C%0A%20%20%20%20%20%20%20%20icon_actions%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20showIconsBool%20%3D%20convertToBoolean(show_icons)%3B%0A%20%20%20%20const%20showLabelsBool%20%3D%20convertToBoolean(show_labels)%3B%0A%20%20%20%20const%20iconActionsBool%20%3D%20convertToBoolean(icon_actions)%3B%0A%20%20%20%20widgetMap.sliderContainer.nativeElement.classList.add('filled-slider'%2C%20'discrete-slider')%3B%0A%20%20%20%20initializeSlider(widgetMap%2C%20value%2C%20min_value%2C%20max_value%2C%20step_value%2C%20required)%3B%0A%20%20%20%20toggleLabelVisibilty(showLabelsBool%2C%20widgetMap)%3B%0A%20%20%20%20toggleIconsVisibility(%0A%20%20%20%20%20%20%20%20widgetMap%2C%0A%20%20%20%20%20%20%20%20showIconsBool%2C%0A%20%20%20%20%20%20%20%20iconActionsBool%2C%0A%20%20%20%20)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.value%3B%0A%0A%0A%7D%3B%0A%0Afunction%20initializeSlider(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue%2C%20required)%20%7B%0A%20%20%20%20updateSlider(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%3B%0A%20%20%20%20setRequired(widgetMap%2C%20required)%3B%0A%20%20%20%20appendSliderIndicator(widgetMap.slider)%3B%0A%7D%0A%0Afunction%20updateSlider(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%20%7B%0A%20%20%20%20if%20(value%20!%3D%3D%20undefined)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider.datavalue%20%3D%20Number(value)%3B%0A%20%20%20%20%7D%0A%20%20%20%20configureSliderAndSetStyles(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%3B%0A%20%20%20%20setupStepsAndLabels(widgetMap)%3B%0A%7D%0A%0Afunction%20updateSliderStep(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%20%7B%0A%20%20%20%20updateSlider(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%3B%0A%7D%0A%0Afunction%20setRequired(widgetMap%2C%20required)%20%7B%0A%20%20%20%20widgetMap.composite.required%20%3D%20required%3B%0A%7D%0A%0Afunction%20appendSliderIndicator(slider)%20%7B%0A%20%20%20%20const%20sliderElement%20%3D%20slider.nativeElement%3B%0A%20%20%20%20if%20(sliderElement)%20%7B%0A%20%20%20%20%20%20%20%20const%20indicator%20%3D%20document.createElement('p')%3B%0A%20%20%20%20%20%20%20%20const%20labelContainer%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20labelContainer.className%20%3D%20'stop-indicator'%3B%0A%20%20%20%20%20%20%20%20indicator.className%20%3D%20'active-slider'%3B%0A%20%20%20%20%20%20%20%20sliderElement.appendChild(indicator)%3B%0A%20%20%20%20%20%20%20%20sliderElement.appendChild(labelContainer)%3B%0A%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20configureSliderAndSetStyles(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%20%7B%0A%20%20%20%20const%20slider%20%3D%20widgetMap.slider%3B%0A%20%20%20%20minValue%20%3D%20parseInt(minValue%2C%2010)%3B%0A%20%20%20%20maxValue%20%3D%20parseInt(maxValue%2C%2010)%3B%0A%20%20%20%20stepValue%20%3D%20parseInt(stepValue%2C%2010)%3B%0A%0A%20%20%20%20if%20(isNaN(minValue)%20%7C%7C%20isNaN(maxValue)%20%7C%7C%20isNaN(stepValue)%20%7C%7C%20stepValue%20%3C%3D%200)%20%7B%0A%20%20%20%20%20%20%20%20console.error(%22Invalid%20min%2C%20max%2C%20or%20step%20values%22)%3B%0A%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20slider.min%20%3D%20minValue%3B%0A%20%20%20%20slider.max%20%3D%20maxValue%3B%0A%20%20%20%20slider.step%20%3D%20stepValue%3B%0A%20%20%20%20slider.datavalue%20%3D%20clamp(slider.datavalue%2C%20minValue%2C%20maxValue)%3B%0A%20%20%20%20updateSliderStyles(slider%2C%20slider.datavalue%2C%20minValue%2C%20maxValue)%3B%0A%7D%0A%0Afunction%20updateSliderStyles(slider%2C%20value%2C%20minValue%2C%20maxValue)%20%7B%0A%20%20%20%20const%20percentage%20%3D%20getSliderPercentage(value%2C%20minValue%2C%20maxValue)%3B%0A%20%20%20%20slider.nativeElement.style.setProperty(%22--end%22%2C%20%60%24%7B100%20-%20percentage%7D%25%60)%0A%7D%0A%0Afunction%20setupStepsAndLabels(widgetMap)%20%7B%0A%20%20%20%20const%20slider%20%3D%20widgetMap.slider%3B%0A%20%20%20%20const%20labelContainer%20%3D%20widgetMap.labelsContainer%3B%0A%20%20%20%20const%20minValue%20%3D%20parseInt(slider.min%2C%2010)%3B%0A%20%20%20%20const%20maxValue%20%3D%20parseInt(slider.max%2C%2010)%3B%0A%20%20%20%20const%20stepValue%20%3D%20parseInt(slider.step%2C%2010)%3B%0A%0A%20%20%20%20if%20(!labelContainer)%20return%3B%0A%0A%20%20%20%20const%20numSteps%20%3D%20Math.ceil((maxValue%20-%20minValue)%20%2F%20stepValue)%3B%0A%20%20%20%20labelContainer.%24element%5B0%5D.innerHTML%20%3D%20''%3B%20%2F%2F%20Clear%20existing%20labels%0A%0A%20%20%20%20for%20(let%20i%20%3D%200%3B%20i%20%3C%3D%20numSteps%3B%20i%2B%2B)%20%7B%0A%20%20%20%20%20%20%20%20const%20labelValue%20%3D%20minValue%20%2B%20i%20*%20stepValue%3B%0A%20%20%20%20%20%20%20%20if%20(labelValue%20%3E%20maxValue)%20break%3B%0A%0A%20%20%20%20%20%20%20%20const%20stepLabel%20%3D%20createStepLabel(labelValue%2C%20minValue%2C%20maxValue)%3B%0A%20%20%20%20%20%20%20%20labelContainer.%24element%5B0%5D.appendChild(stepLabel)%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20slider.%24element%5B0%5D.addEventListener('input'%2C%20()%20%3D%3E%20updateLabelVisibility(widgetMap))%3B%0A%20%20%20%20updateLabelVisibility(widgetMap)%3B%0A%7D%0A%0Afunction%20createStepLabel(labelValue%2C%20minValue%2C%20maxValue)%20%7B%0A%20%20%20%20const%20stepLabel%20%3D%20document.createElement('p')%3B%0A%20%20%20%20stepLabel.className%20%3D%20'step-label'%3B%0A%20%20%20%20stepLabel.textContent%20%3D%20labelValue%3B%0A%0A%20%20%20%20const%20position%20%3D%20((labelValue%20-%20minValue)%20%2F%20(maxValue%20-%20minValue))%20*%20100%3B%0A%20%20%20%20stepLabel.style.setProperty('--position'%2C%20%60%24%7Bposition%20-%201%7D%25%60)%3B%0A%20%20%20%20stepLabel.setAttribute('data-position'%2C%20position)%3B%0A%0A%20%20%20%20return%20stepLabel%3B%0A%7D%0A%0Afunction%20updateLabelVisibility(widgetMap)%20%7B%0A%20%20%20%20const%20slider%20%3D%20widgetMap.slider%3B%0A%20%20%20%20const%20labels%20%3D%20widgetMap.labelsContainer.nativeElement.getElementsByClassName('step-label')%3B%0A%20%20%20%20const%20sliderValue%20%3D%20slider.datavalue%3B%0A%20%20%20%20const%20minValue%20%3D%20slider.min%3B%0A%20%20%20%20const%20maxValue%20%3D%20slider.max%3B%0A%20%20%20%20const%20stepValue%20%3D%20slider.step%3B%0A%0A%20%20%20%20const%20validValues%20%3D%20Array.from(%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20length%3A%20Math.ceil((maxValue%20-%20minValue)%20%2F%20stepValue)%20%2B%201%0A%20%20%20%20%20%20%20%20%7D%2C%20(_%2C%20i)%20%3D%3E%20minValue%20%2B%20i%20*%20stepValue)%0A%20%20%20%20%20%20%20%20.filter(value%20%3D%3E%20value%20%3C%3D%20maxValue)%3B%0A%0A%20%20%20%20for%20(const%20label%20of%20labels)%20%7B%0A%20%20%20%20%20%20%20%20const%20labelValue%20%3D%20parseInt(label.textContent%2C%2010)%3B%0A%20%20%20%20%20%20%20%20label.classList.remove('hidden'%2C%20'inactive'%2C%20'active')%3B%0A%0A%20%20%20%20%20%20%20%20if%20(validValues.includes(labelValue))%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(labelValue%20%3D%3D%3D%20sliderValue)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20label.classList.add('hidden')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20if%20(labelValue%20%3C%20sliderValue)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20label.classList.add('inactive')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20label.classList.add('active')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20label.style.display%20%3D%20'block'%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20getSliderPercentage(value%2C%20minValue%2C%20maxValue)%20%7B%0A%20%20%20%20return%20((value%20-%20minValue)%20%2F%20(maxValue%20-%20minValue))%20*%20100%3B%0A%7D%0A%0Afunction%20clamp(value%2C%20minValue%2C%20maxValue)%20%7B%0A%20%20%20%20return%20Math.min(Math.max(value%2C%20minValue)%2C%20maxValue)%3B%0A%7D%0A%0Afunction%20toggleLabelVisibilty(showLabelsBool%2C%20widgetMap)%20%7B%0A%20%20%20%20if%20(showLabelsBool)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider.nativeElement.classList.remove(%22hide-labels%22)%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider.nativeElement.classList.add(%22hide-labels%22)%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20toggleIconsVisibility(%0A%20%20%20%20widgetMap%2C%0A%20%20%20%20showIconsBool%2C%0A%20%20%20%20iconActionsBool%0A)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20decrementButton%2C%0A%20%20%20%20%20%20%20%20incrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20false%3B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20false%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20decrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20decrementButton.nativeElement.style.pointerEvents%20%3D%20iconActionsBool%20%3F%0A%20%20%20%20%20%20%20%20%20%20%20%20%22auto%22%20%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%22none%22%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20false%0A%20%20%20%20%7D%0A%0A%7D%0A%0Afunction%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20incrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20incrementButton.nativeElement.style.pointerEvents%20%3D%20iconActionsBool%20%3F%0A%20%20%20%20%20%20%20%20%20%20%20%20%22auto%22%20%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%22none%22%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20false%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20moveSlider(direction%2C%20widgetMap)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20slider%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20let%20newValue%20%3D%20Number(slider.datavalue)%20%2B%20(direction%20*%20slider.step)%3B%0A%20%20%20%20newValue%20%3D%20Math.max(Math.min(newValue%2C%20slider.maxvalue)%2C%20slider.minvalue)%3B%0A%20%20%20%20slider.datavalue%20%3D%20newValue%3B%0A%20%20%20%20Widget.sliderChange(null%2C%20slider%2C%20newValue)%3B%0A%7D%0A%0Afunction%20convertToBoolean(value)%20%7B%0A%20%20%20%20return%20value%20%3D%3D%3D%20true%20%7C%7C%20value%20%3D%3D%3D%20%22true%22%3B%0A%7D%0A%0A%0AWidget.sliderChange%20%3D%20function(%24event%2C%20widget%2C%20newVal)%20%7B%0A%20%20%20%20updateSliderStyles(widget%2C%20newVal%2C%20widget.min%2C%20widget.max)%3B%0A%20%20%20%20updateLabelVisibility(Widget.Widgets)%3B%0A%7D%3B%0A%0AWidget.decrementButtonClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20moveSlider(-1%2C%20Widget.Widgets)%3B%0A%7D%3B%0A%0AWidget.incrementButtonClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20moveSlider(1%2C%20Widget.Widgets)%3B%0A%7D%3B%0A",styles:".discrete-slider%2C%0A.stop-indicator%20%7B%0A%20%20%20%20--wm-discrete-slider-gap%3A%20var(--wm-space-3)%3B%0A%20%20%20%20--wm-discrete-slider-height%3A%20var(--wm-space-4)%3B%0A%20%20%20%20--wm-discrete-slider-border-radius%3A%20var(--wm-radius-lg)%3B%0A%20%20%20%20--wm-discrete-slider-filled-active-background%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-discrete-slider-filled-active-background-disabled%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-discrete-slider-filled-background-disabled%3A%20var(--wm-color-on-surface-focus)%3B%0A%20%20%20%20--wm-discrete-slider-filled-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-discrete-slider-filled-disabled-opacity%3A%200.38%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-background-disabled%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-background%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-width%3A%20var(--wm-space-1)%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-height%3A%20var(--wm-space-11)%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-border-radius%3A%20var(--wm-radius-xs)%3B%0A%20%20%20%20--wm-discrete-slider-step-label-height%3A%20var(--wm-space-1)%3B%0A%20%20%20%20--wm-discrete-slider-step-label-width%3A%20var(--wm-space-1)%3B%0A%20%20%20%20--wm-discrete-slider-step-label-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-discrete-slider-step-label-active-background%3A%20var(--wm-color-surface-tint)%3B%0A%7D%0A%0A.app-composite-widget.form-group%3Ahas(.filled-slider)%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%20%20%20%20align-items%3A%20start%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20gap%3A%20var(--wm-discrete-slider-gap)%3B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20width%3A%20100%25%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%20%7B%0A%20%20%20%20--start%3A%200%25%3B%0A%20%20%20%20--end%3A%20100%25%3B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20inline-size%3A%20auto%3B%0A%20%20%20%20block-size%3A%20calc(var(--wm-discrete-slider-height)%20%2B%20var(--wm-space-1))%3B%0A%20%20%20%20margin%3A%20calc(var(--wm-discrete-slider-height)%20%2B%202px)%200%3B%0A%20%20%20%20flex%3A%20none%3B%0A%20%20%20%20direction%3A%20ltr%3B%0A%20%20%20%20flex-grow%3A%201%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider.vertical%20%7B%0A%20%20%20%20flex-direction%3A%20row%3B%0A%20%20%20%20margin%3A%20var(--wm-space-2)%20auto%3B%0A%20%20%20%20padding%3A%2050%25%200%3B%0A%20%20%20%20transform%3A%20rotate(-90deg)%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%3Ahas(.app-slider.slider.cst-slider.vertical)%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider.discrete-slider%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%7D%0A%0A%5Bdir%3Drtl%5D%20.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%20%7B%0A%20%20%20%20transform%3A%20scaleX(-1)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-height)%3B%0A%20%20%20%20background%3A%20none%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%20%20margin%3A%200%3B%0A%20%20%20%20opacity%3A%20unset%3B%0A%20%20%20%20color%3A%20unset%3B%0A%20%20%20%20height%3A%20unset%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Aonly-of-type%20%7B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%2Binput%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-filled-thumb-height)%3B%0A%20%20%20%20inline-size%3A%20var(--wm-discrete-slider-filled-thumb-width)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-discrete-slider-filled-thumb-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-thumb-background)%3B%0A%20%20%20%20cursor%3A%20grab%3B%0A%20%20%20%20margin%3A%200%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-filled-thumb-height)%3B%0A%20%20%20%20inline-size%3A%20var(--wm-discrete-slider-filled-thumb-width)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-discrete-slider-filled-thumb-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-thumb-background)%3B%0A%20%20%20%20cursor%3A%20grab%3B%0A%20%20%20%20margin%3A%200%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-webkit-slider-thumb%3Aactive%20%7B%0A%20%20%20%20cursor%3A%20grabbing%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-moz-range-thumb%3Aactive%20%7B%0A%20%20%20%20cursor%3A%20grabbing%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Anot(%3Adisabled)%3Ais(%3Afocus)%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20transform%3A%20scaleX(0.6)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Anot(%3Adisabled)%3Ais(%3Afocus)%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20transform%3A%20scaleX(0.6)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%20%7B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%20%20%20%20opacity%3A%201%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%20%20%20%20opacity%3A%201%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-thumb-background-disabled)%3B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%20%20%20%20opacity%3A%20var(--wm-discrete-slider-filled-disabled-opacity)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3A%3Abefore%20%7B%0A%20%20%20%20content%3A%20%22%22%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-discrete-slider-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-background)%3B%0A%20%20%20%20clip-path%3A%20polygon(calc(var(--start)%20-%200.5rem)%200%2C%200%200%2C%200%20100%25%2C%20calc(var(--start)%20-%200.5rem)%20100%25%2C%20calc(var(--start)%20-%200.5rem)%200%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%200%2C%20100%25%200%2C%20100%25%20100%25%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%20100%25%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%200)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3E.active-slider%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-discrete-slider-border-radius)%200%200%20var(--wm-discrete-slider-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-active-background)%3B%0A%20%20%20%20z-index%3A%200%3B%0A%20%20%20%20float%3A%20unset%3B%0A%20%20%20%20vertical-align%3A%20baseline%3B%0A%20%20%20%20inset%3A%20calc(50%25%20-%200.5rem)%20var(--end)%20auto%20var(--start)%3B%0A%20%20%20%20clip-path%3A%20polygon(0%200%2C%20calc(100%25%20-%200.5rem)%200%2C%20calc(100%25%20-%200.5rem)%20100%25%2C%200%20100%25)%3B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%2036px%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value.pull-left%20%7B%0A%20%20%20%20left%3A%200%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value.pull-right%20%7B%0A%20%20%20%20right%3A%200%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Ahas(input%3Adisabled)%3A%3Abefore%20%7B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-background-disabled)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Ahas(input%3Adisabled)%3Ep.active-slider%20%7B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-active-background-disabled)%3B%0A%20%20%20%20opacity%3A%20var(--wm-discrete-slider-filled-disabled-opacity)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%20input%5Btype%3Drange%5D%3A%3A-webkit-slider-runnable-track%20%7B%0A%20%20%20%20background%3A%20unset%3B%0A%20%20%20%20height%3A%20unset%3B%0A%20%20%20%20position%3A%20relative%3B%0A%7D%0A%0A%0A%2F*%20Ensure%20the%20container%20is%20positioned%20relatively%20to%20contain%20absolutely%20positioned%20children%20*%2F%0A%0A.app-container.stop-indicator%20%7B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20box-sizing%3A%20border-box%3B%0A%20%20%20%20width%3A%20calc(100%25%20-%2048px)%3B%0A%20%20%20%20margin-inline%3A%20auto%3B%0A%7D%0A%0A.app-composite-widget%3Ahas(.discrete-slider%20%3E%20.btn-icon.btn)%20.app-container.stop-indicator%20%7B%0A%20%20%20%20width%3A%20calc(100%25%20-%20168px)%3B%0A%7D%0A%0A.app-composite-widget%3Ahas(.discrete-slider%20%3E%20.btn-icon.btn%5Bhidden%5D)%20.app-container.stop-indicator%20%7B%0A%20%20%20%20width%3A%20calc(100%25%20-%2048px)%3B%0A%7D%0A%0A%0A%2F*%20Style%20for%20individual%20step%20labels%20*%2F%0A%0A.app-container.stop-indicator%20.step-label%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20white-space%3A%20nowrap%3B%0A%20%20%20%20left%3A%20var(--position%2C%200%25)%3B%0A%20%20%20%20visibility%3A%20hidden%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label.hidden%20%7B%0A%20%20%20%20display%3A%20none%20!important%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label.inactive%3A%3Abefore%20%7B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-step-label-background)%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label.active%3A%3Abefore%20%7B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-step-label-active-background)%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label%5Bdata-position%3D%2299%22%5D%20%7B%0A%20%20%20%20--position%3A%2098.5%25%20!important%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label%3A%3Abefore%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20height%3A%20var(--wm-discrete-slider-step-label-height)%3B%0A%20%20%20%20width%3A%20var(--wm-discrete-slider-step-label-width)%3B%0A%20%20%20%20left%3A%20var(--position%2C%200%25)%3B%0A%20%20%20%20content%3A%20''%3B%0A%20%20%20%20top%3A%20-30px%3B%0A%20%20%20%20visibility%3A%20visible%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-step-label-active-background)%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider.hide-labels%3E.app-slider-value.pull-left%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider.hide-labels%3E.app-slider-value.pull-right%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A",variables:"%7B%20%7D",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-slider%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20interactivity%20of%20the%20widget.%20'Enabled'%20allows%20interaction%20with%20the%20widget%2C%20while%20'Disabled'%20makes%20the%20widget%20non-interactive%20and%20inactive.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_labels%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Labels%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20labels%20should%20be%20displayed%20on%20the%20widget.%20When%20set%20to%20true%2C%20lables%20will%20be%20shown.%20When%20false%2C%20labels%20will%20be%20hidden.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_icons%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Icons%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20icons%20should%20be%20displayed%20on%20the%20widget.%20When%20set%20to%20true%2C%20icons%20will%20be%20shown.%20When%20false%2C%20icons%20will%20be%20hidden.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22start_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Start%20Icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22The%20icon%20to%20be%20displayed%20at%20the%20start%20of%20the%20widget.%20Select%20an%20appropriate%20icon%20from%20the%20available%20options.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-minus%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22end_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22End%20Icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22The%20icon%20to%20be%20displayed%20at%20the%20end%20of%20the%20widget.%20Select%20an%20appropriate%20icon%20from%20the%20available%20options.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-plus%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22icon_actions%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Icon%20Actions%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20the%20icons%20on%20the%20widget%20are%20interactive.%20When%20set%20to%20true%2C%20icons%20will%20respond%20to%20user%20actions%20(e.g.%2C%20clicks).%20When%20false%2C%20icons%20will%20be%20displayed%20but%20not%20interactive.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Default%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Sets%20the%20initial%20value%20of%20the%20slider%20when%20the%20widget%20is%20first%20displayed.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%2250%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22step_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Step%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Defines%20the%20increment%20or%20decrement%20steps%20for%20the%20slider.%20This%20value%20controls%20the%20amount%20by%20which%20the%20slider%E2%80%99s%20value%20changes%20with%20each%20step.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%2210%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22min_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22integer%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Minimum%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20smallest%20value%20the%20slider%20can%20be%20set%20to.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%220%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22max_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22integer%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Maximum%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20largest%20value%20the%20slider%20can%20be%20set%20to.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22100%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22onChange%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Change%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Triggered%20when%20the%20slider%E2%80%99s%20value%20changes.%20The%20function%20receives%20parameters%20including%20the%20event%2C%20the%20widget%2C%20the%20new%20value%2C%20and%20the%20previous%20value.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22sliderChange(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22onDecrement%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Decrement%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20decreased.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22decrementButtonClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22onIncrement%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Increment%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20increased.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22incrementButtonClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/divider/page.min.js":
1509
+ \*****************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{discrete_slider:()=>discrete_slider});const discrete_slider={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite%22%20class%3D%22slider-composite%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22sliderContainer%22%20class%3D%22filled-slider%20discrete-slider%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22decrementButton%22%20iconclass%3D%22bind%3Aprops.start_icon%22%20on-click%3D%22decrementButtonClick(%24event%2C%20widget)%22%20show%3D%22false%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%3D%3D%26quot%3Bdisabled%26quot%3B%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-slider%20name%3D%22slider%22%20class%3D%22cst-slider%22%20datavalue%3D%22bind%3Aprops.value%22%20on-change%3D%22sliderChange(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%3D%3D%26quot%3Bdisabled%26quot%3B%22%20minvalue%3D%22bind%3Aprops.min_value%22%20maxvalue%3D%22bind%3Aprops.max_value%22%3E%3C%2Fwm-slider%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22incrementButton%22%20iconclass%3D%22bind%3Aprops.end_icon%22%20on-click%3D%22incrementButtonClick(%24event%2C%20widget)%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%3D%3D%26quot%3Bdisabled%26quot%3B%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22labelsContainer%22%20class%3D%22stop-indicator%22%3E%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"Widget.onPropertyChange%20%3D%20function(propName%2C%20newValue%2C%20oldValue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20value%2C%0A%20%20%20%20%20%20%20%20step_value%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20min_value%2C%0A%20%20%20%20%20%20%20%20max_value%2C%0A%20%20%20%20%20%20%20%20show_labels%2C%0A%20%20%20%20%20%20%20%20show_icons%2C%0A%20%20%20%20%20%20%20%20icon_actions%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20showIconsBool%20%3D%20convertToBoolean(show_icons)%3B%0A%20%20%20%20const%20showLabelsBool%20%3D%20convertToBoolean(show_labels)%3B%0A%20%20%20%20const%20iconActionsBool%20%3D%20convertToBoolean(icon_actions)%3B%0A%0A%20%20%20%20switch%20(propName)%20%7B%0A%20%20%20%20%20%20%20%20case%20'prop-value'%3A%0A%20%20%20%20%20%20%20%20case%20'prop-min_value'%3A%0A%20%20%20%20%20%20%20%20case%20'prop-max_value'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateSlider(widgetMap%2C%20value%2C%20min_value%2C%20max_value%2C%20step_value)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20'prop-step_value'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateSliderStep(widgetMap%2C%20value%2C%20min_value%2C%20max_value%2C%20step_value)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20'prop-required'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20setRequired(widgetMap%2C%20required)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-show_labels%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20toggleLabelVisibilty(showLabelsBool%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-show_icons%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20toggleIconsVisibility(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20widgetMap%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20showIconsBool%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20iconActionsBool%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-start_icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-end_icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20value%2C%0A%20%20%20%20%20%20%20%20step_value%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20min_value%2C%0A%20%20%20%20%20%20%20%20max_value%2C%0A%20%20%20%20%20%20%20%20show_labels%2C%0A%20%20%20%20%20%20%20%20show_icons%2C%0A%20%20%20%20%20%20%20%20icon_actions%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20showIconsBool%20%3D%20convertToBoolean(show_icons)%3B%0A%20%20%20%20const%20showLabelsBool%20%3D%20convertToBoolean(show_labels)%3B%0A%20%20%20%20const%20iconActionsBool%20%3D%20convertToBoolean(icon_actions)%3B%0A%20%20%20%20widgetMap.sliderContainer.nativeElement.classList.add('filled-slider'%2C%20'discrete-slider')%3B%0A%20%20%20%20initializeSlider(widgetMap%2C%20value%2C%20min_value%2C%20max_value%2C%20step_value%2C%20required)%3B%0A%20%20%20%20toggleLabelVisibilty(showLabelsBool%2C%20widgetMap)%3B%0A%20%20%20%20toggleIconsVisibility(%0A%20%20%20%20%20%20%20%20widgetMap%2C%0A%20%20%20%20%20%20%20%20showIconsBool%2C%0A%20%20%20%20%20%20%20%20iconActionsBool%2C%0A%20%20%20%20)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.value%3B%0A%0A%0A%7D%3B%0A%0Afunction%20initializeSlider(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue%2C%20required)%20%7B%0A%20%20%20%20updateSlider(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%3B%0A%20%20%20%20setRequired(widgetMap%2C%20required)%3B%0A%20%20%20%20appendSliderIndicator(widgetMap.slider)%3B%0A%7D%0A%0Afunction%20updateSlider(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%20%7B%0A%20%20%20%20if%20(value%20!%3D%3D%20undefined)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider.datavalue%20%3D%20Number(value)%3B%0A%20%20%20%20%7D%0A%20%20%20%20configureSliderAndSetStyles(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%3B%0A%20%20%20%20setupStepsAndLabels(widgetMap)%3B%0A%7D%0A%0Afunction%20updateSliderStep(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%20%7B%0A%20%20%20%20updateSlider(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%3B%0A%7D%0A%0Afunction%20setRequired(widgetMap%2C%20required)%20%7B%0A%20%20%20%20widgetMap.composite.required%20%3D%20required%3B%0A%7D%0A%0Afunction%20appendSliderIndicator(slider)%20%7B%0A%20%20%20%20const%20sliderElement%20%3D%20slider.nativeElement%3B%0A%20%20%20%20if%20(sliderElement)%20%7B%0A%20%20%20%20%20%20%20%20const%20indicator%20%3D%20document.createElement('p')%3B%0A%20%20%20%20%20%20%20%20const%20labelContainer%20%3D%20document.createElement('div')%3B%0A%20%20%20%20%20%20%20%20labelContainer.className%20%3D%20'stop-indicator'%3B%0A%20%20%20%20%20%20%20%20indicator.className%20%3D%20'active-slider'%3B%0A%20%20%20%20%20%20%20%20sliderElement.appendChild(indicator)%3B%0A%20%20%20%20%20%20%20%20sliderElement.appendChild(labelContainer)%3B%0A%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20configureSliderAndSetStyles(widgetMap%2C%20value%2C%20minValue%2C%20maxValue%2C%20stepValue)%20%7B%0A%20%20%20%20const%20slider%20%3D%20widgetMap.slider%3B%0A%20%20%20%20minValue%20%3D%20parseInt(minValue%2C%2010)%3B%0A%20%20%20%20maxValue%20%3D%20parseInt(maxValue%2C%2010)%3B%0A%20%20%20%20stepValue%20%3D%20parseInt(stepValue%2C%2010)%3B%0A%0A%20%20%20%20if%20(isNaN(minValue)%20%7C%7C%20isNaN(maxValue)%20%7C%7C%20isNaN(stepValue)%20%7C%7C%20stepValue%20%3C%3D%200)%20%7B%0A%20%20%20%20%20%20%20%20console.error(%22Invalid%20min%2C%20max%2C%20or%20step%20values%22)%3B%0A%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20slider.min%20%3D%20minValue%3B%0A%20%20%20%20slider.max%20%3D%20maxValue%3B%0A%20%20%20%20slider.step%20%3D%20stepValue%3B%0A%20%20%20%20slider.datavalue%20%3D%20clamp(slider.datavalue%2C%20minValue%2C%20maxValue)%3B%0A%20%20%20%20updateSliderStyles(slider%2C%20slider.datavalue%2C%20minValue%2C%20maxValue)%3B%0A%7D%0A%0Afunction%20updateSliderStyles(slider%2C%20value%2C%20minValue%2C%20maxValue)%20%7B%0A%20%20%20%20const%20percentage%20%3D%20getSliderPercentage(value%2C%20minValue%2C%20maxValue)%3B%0A%20%20%20%20slider.nativeElement.style.setProperty(%22--end%22%2C%20%60%24%7B100%20-%20percentage%7D%25%60)%0A%7D%0A%0Afunction%20setupStepsAndLabels(widgetMap)%20%7B%0A%20%20%20%20const%20slider%20%3D%20widgetMap.slider%3B%0A%20%20%20%20const%20labelContainer%20%3D%20widgetMap.labelsContainer%3B%0A%20%20%20%20const%20minValue%20%3D%20parseInt(slider.min%2C%2010)%3B%0A%20%20%20%20const%20maxValue%20%3D%20parseInt(slider.max%2C%2010)%3B%0A%20%20%20%20const%20stepValue%20%3D%20parseInt(slider.step%2C%2010)%3B%0A%0A%20%20%20%20if%20(!labelContainer)%20return%3B%0A%0A%20%20%20%20const%20numSteps%20%3D%20Math.ceil((maxValue%20-%20minValue)%20%2F%20stepValue)%3B%0A%20%20%20%20labelContainer.%24element%5B0%5D.innerHTML%20%3D%20''%3B%20%2F%2F%20Clear%20existing%20labels%0A%0A%20%20%20%20for%20(let%20i%20%3D%200%3B%20i%20%3C%3D%20numSteps%3B%20i%2B%2B)%20%7B%0A%20%20%20%20%20%20%20%20const%20labelValue%20%3D%20minValue%20%2B%20i%20*%20stepValue%3B%0A%20%20%20%20%20%20%20%20if%20(labelValue%20%3E%20maxValue)%20break%3B%0A%0A%20%20%20%20%20%20%20%20const%20stepLabel%20%3D%20createStepLabel(labelValue%2C%20minValue%2C%20maxValue)%3B%0A%20%20%20%20%20%20%20%20labelContainer.%24element%5B0%5D.appendChild(stepLabel)%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20slider.%24element%5B0%5D.addEventListener('input'%2C%20()%20%3D%3E%20updateLabelVisibility(widgetMap))%3B%0A%20%20%20%20updateLabelVisibility(widgetMap)%3B%0A%7D%0A%0Afunction%20createStepLabel(labelValue%2C%20minValue%2C%20maxValue)%20%7B%0A%20%20%20%20const%20stepLabel%20%3D%20document.createElement('p')%3B%0A%20%20%20%20stepLabel.className%20%3D%20'step-label'%3B%0A%20%20%20%20stepLabel.textContent%20%3D%20labelValue%3B%0A%0A%20%20%20%20const%20position%20%3D%20((labelValue%20-%20minValue)%20%2F%20(maxValue%20-%20minValue))%20*%20100%3B%0A%20%20%20%20stepLabel.style.setProperty('--position'%2C%20%60%24%7Bposition%20-%201%7D%25%60)%3B%0A%20%20%20%20stepLabel.setAttribute('data-position'%2C%20position)%3B%0A%0A%20%20%20%20return%20stepLabel%3B%0A%7D%0A%0Afunction%20updateLabelVisibility(widgetMap)%20%7B%0A%20%20%20%20const%20slider%20%3D%20widgetMap.slider%3B%0A%20%20%20%20const%20labels%20%3D%20widgetMap.labelsContainer.nativeElement.getElementsByClassName('step-label')%3B%0A%20%20%20%20const%20sliderValue%20%3D%20slider.datavalue%3B%0A%20%20%20%20const%20minValue%20%3D%20slider.min%3B%0A%20%20%20%20const%20maxValue%20%3D%20slider.max%3B%0A%20%20%20%20const%20stepValue%20%3D%20slider.step%3B%0A%0A%20%20%20%20const%20validValues%20%3D%20Array.from(%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20length%3A%20Math.ceil((maxValue%20-%20minValue)%20%2F%20stepValue)%20%2B%201%0A%20%20%20%20%20%20%20%20%7D%2C%20(_%2C%20i)%20%3D%3E%20minValue%20%2B%20i%20*%20stepValue)%0A%20%20%20%20%20%20%20%20.filter(value%20%3D%3E%20value%20%3C%3D%20maxValue)%3B%0A%0A%20%20%20%20for%20(const%20label%20of%20labels)%20%7B%0A%20%20%20%20%20%20%20%20const%20labelValue%20%3D%20parseInt(label.textContent%2C%2010)%3B%0A%20%20%20%20%20%20%20%20label.classList.remove('hidden'%2C%20'inactive'%2C%20'active')%3B%0A%0A%20%20%20%20%20%20%20%20if%20(validValues.includes(labelValue))%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(labelValue%20%3D%3D%3D%20sliderValue)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20label.classList.add('hidden')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20if%20(labelValue%20%3C%20sliderValue)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20label.classList.add('inactive')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20label.classList.add('active')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20label.style.display%20%3D%20'block'%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20getSliderPercentage(value%2C%20minValue%2C%20maxValue)%20%7B%0A%20%20%20%20return%20((value%20-%20minValue)%20%2F%20(maxValue%20-%20minValue))%20*%20100%3B%0A%7D%0A%0Afunction%20clamp(value%2C%20minValue%2C%20maxValue)%20%7B%0A%20%20%20%20return%20Math.min(Math.max(value%2C%20minValue)%2C%20maxValue)%3B%0A%7D%0A%0Afunction%20toggleLabelVisibilty(showLabelsBool%2C%20widgetMap)%20%7B%0A%20%20%20%20if%20(showLabelsBool)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider.nativeElement.classList.remove(%22hide-labels%22)%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider.nativeElement.classList.add(%22hide-labels%22)%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20toggleIconsVisibility(%0A%20%20%20%20widgetMap%2C%0A%20%20%20%20showIconsBool%2C%0A%20%20%20%20iconActionsBool%0A)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20decrementButton%2C%0A%20%20%20%20%20%20%20%20incrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20false%3B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20false%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20decrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20decrementButton.nativeElement.style.pointerEvents%20%3D%20iconActionsBool%20%3F%0A%20%20%20%20%20%20%20%20%20%20%20%20%22auto%22%20%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%22none%22%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20false%0A%20%20%20%20%7D%0A%0A%7D%0A%0Afunction%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20incrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20incrementButton.nativeElement.style.pointerEvents%20%3D%20iconActionsBool%20%3F%0A%20%20%20%20%20%20%20%20%20%20%20%20%22auto%22%20%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%22none%22%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20false%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20moveSlider(direction%2C%20widgetMap)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20slider%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20let%20newValue%20%3D%20Number(slider.datavalue)%20%2B%20(direction%20*%20slider.step)%3B%0A%20%20%20%20newValue%20%3D%20Math.max(Math.min(newValue%2C%20slider.maxvalue)%2C%20slider.minvalue)%3B%0A%20%20%20%20slider.datavalue%20%3D%20newValue%3B%0A%20%20%20%20Widget.sliderChange(null%2C%20slider%2C%20newValue)%3B%0A%7D%0A%0Afunction%20convertToBoolean(value)%20%7B%0A%20%20%20%20return%20value%20%3D%3D%3D%20true%20%7C%7C%20value%20%3D%3D%3D%20%22true%22%3B%0A%7D%0A%0A%0AWidget.sliderChange%20%3D%20function(%24event%2C%20widget%2C%20newVal)%20%7B%0A%20%20%20%20updateSliderStyles(widget%2C%20newVal%2C%20widget.min%2C%20widget.max)%3B%0A%20%20%20%20updateLabelVisibility(Widget.Widgets)%3B%0A%7D%3B%0A%0AWidget.decrementButtonClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20moveSlider(-1%2C%20Widget.Widgets)%3B%0A%7D%3B%0A%0AWidget.incrementButtonClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20moveSlider(1%2C%20Widget.Widgets)%3B%0A%7D%3B%0A",styles:".discrete-slider%2C%0A.stop-indicator%20%7B%0A%20%20%20%20--wm-discrete-slider-gap%3A%20var(--wm-space-3)%3B%0A%20%20%20%20--wm-discrete-slider-height%3A%20var(--wm-space-4)%3B%0A%20%20%20%20--wm-discrete-slider-border-radius%3A%20var(--wm-radius-lg)%3B%0A%20%20%20%20--wm-discrete-slider-filled-active-background%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-discrete-slider-filled-active-background-disabled%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-discrete-slider-filled-background-disabled%3A%20var(--wm-color-on-surface-focus)%3B%0A%20%20%20%20--wm-discrete-slider-filled-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-discrete-slider-filled-disabled-opacity%3A%200.38%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-background-disabled%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-background%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-width%3A%20var(--wm-space-1)%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-height%3A%20var(--wm-space-11)%3B%0A%20%20%20%20--wm-discrete-slider-filled-thumb-border-radius%3A%20var(--wm-radius-xs)%3B%0A%20%20%20%20--wm-discrete-slider-step-label-height%3A%20var(--wm-space-1)%3B%0A%20%20%20%20--wm-discrete-slider-step-label-width%3A%20var(--wm-space-1)%3B%0A%20%20%20%20--wm-discrete-slider-step-label-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-discrete-slider-step-label-active-background%3A%20var(--wm-color-surface-tint)%3B%0A%7D%0A%0A.app-composite-widget.form-group%3Ahas(.filled-slider)%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%20%20%20%20align-items%3A%20start%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20gap%3A%20var(--wm-discrete-slider-gap)%3B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20width%3A%20100%25%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%20%7B%0A%20%20%20%20--start%3A%200%25%3B%0A%20%20%20%20--end%3A%20100%25%3B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20inline-size%3A%20auto%3B%0A%20%20%20%20block-size%3A%20calc(var(--wm-discrete-slider-height)%20%2B%20var(--wm-space-1))%3B%0A%20%20%20%20margin%3A%20calc(var(--wm-discrete-slider-height)%20%2B%202px)%200%3B%0A%20%20%20%20flex%3A%20none%3B%0A%20%20%20%20direction%3A%20ltr%3B%0A%20%20%20%20flex-grow%3A%201%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider.vertical%20%7B%0A%20%20%20%20flex-direction%3A%20row%3B%0A%20%20%20%20margin%3A%20var(--wm-space-2)%20auto%3B%0A%20%20%20%20padding%3A%2050%25%200%3B%0A%20%20%20%20transform%3A%20rotate(-90deg)%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%3Ahas(.app-slider.slider.cst-slider.vertical)%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider.discrete-slider%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%7D%0A%0A%5Bdir%3Drtl%5D%20.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%20%7B%0A%20%20%20%20transform%3A%20scaleX(-1)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-height)%3B%0A%20%20%20%20background%3A%20none%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%20%20margin%3A%200%3B%0A%20%20%20%20opacity%3A%20unset%3B%0A%20%20%20%20color%3A%20unset%3B%0A%20%20%20%20height%3A%20unset%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Aonly-of-type%20%7B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%2Binput%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-filled-thumb-height)%3B%0A%20%20%20%20inline-size%3A%20var(--wm-discrete-slider-filled-thumb-width)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-discrete-slider-filled-thumb-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-thumb-background)%3B%0A%20%20%20%20cursor%3A%20grab%3B%0A%20%20%20%20margin%3A%200%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-filled-thumb-height)%3B%0A%20%20%20%20inline-size%3A%20var(--wm-discrete-slider-filled-thumb-width)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-discrete-slider-filled-thumb-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-thumb-background)%3B%0A%20%20%20%20cursor%3A%20grab%3B%0A%20%20%20%20margin%3A%200%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-webkit-slider-thumb%3Aactive%20%7B%0A%20%20%20%20cursor%3A%20grabbing%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-moz-range-thumb%3Aactive%20%7B%0A%20%20%20%20cursor%3A%20grabbing%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Anot(%3Adisabled)%3Ais(%3Afocus)%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20transform%3A%20scaleX(0.6)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Anot(%3Adisabled)%3Ais(%3Afocus)%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20transform%3A%20scaleX(0.6)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3A%3Abefore%20%7B%0A%20%20%20%20content%3A%20%22%22%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-discrete-slider-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-background)%3B%0A%20%20%20%20clip-path%3A%20polygon(calc(var(--start)%20-%200.5rem)%200%2C%200%200%2C%200%20100%25%2C%20calc(var(--start)%20-%200.5rem)%20100%25%2C%20calc(var(--start)%20-%200.5rem)%200%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%200%2C%20100%25%200%2C%20100%25%20100%25%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%20100%25%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%200)%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3E.active-slider%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20block-size%3A%20var(--wm-discrete-slider-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-discrete-slider-border-radius)%200%200%20var(--wm-discrete-slider-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-filled-active-background)%3B%0A%20%20%20%20z-index%3A%200%3B%0A%20%20%20%20float%3A%20unset%3B%0A%20%20%20%20vertical-align%3A%20baseline%3B%0A%20%20%20%20inset%3A%20calc(50%25%20-%200.5rem)%20var(--end)%20auto%20var(--start)%3B%0A%20%20%20%20clip-path%3A%20polygon(0%200%2C%20calc(100%25%20-%200.5rem)%200%2C%20calc(100%25%20-%200.5rem)%20100%25%2C%200%20100%25)%3B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%2036px%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value.pull-left%20%7B%0A%20%20%20%20left%3A%200%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value.pull-right%20%7B%0A%20%20%20%20right%3A%200%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider%20input%5Btype%3Drange%5D%3A%3A-webkit-slider-runnable-track%20%7B%0A%20%20%20%20background%3A%20unset%3B%0A%20%20%20%20height%3A%20unset%3B%0A%20%20%20%20position%3A%20relative%3B%0A%7D%0A%0A%0A%2F*%20Ensure%20the%20container%20is%20positioned%20relatively%20to%20contain%20absolutely%20positioned%20children%20*%2F%0A%0A.app-container.stop-indicator%20%7B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20box-sizing%3A%20border-box%3B%0A%20%20%20%20width%3A%20calc(100%25%20-%2048px)%3B%0A%20%20%20%20margin-inline%3A%20auto%3B%0A%7D%0A%0A.app-composite-widget%3Ahas(.discrete-slider%20%3E%20.btn-icon.btn)%20.app-container.stop-indicator%20%7B%0A%20%20%20%20width%3A%20calc(100%25%20-%20168px)%3B%0A%7D%0A%0A.app-composite-widget%3Ahas(.discrete-slider%20%3E%20.btn-icon.btn%5Bhidden%5D)%20.app-container.stop-indicator%20%7B%0A%20%20%20%20width%3A%20calc(100%25%20-%2048px)%3B%0A%7D%0A%0A%0A%2F*%20Style%20for%20individual%20step%20labels%20*%2F%0A%0A.app-container.stop-indicator%20.step-label%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20white-space%3A%20nowrap%3B%0A%20%20%20%20left%3A%20var(--position%2C%200%25)%3B%0A%20%20%20%20visibility%3A%20hidden%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label.hidden%20%7B%0A%20%20%20%20display%3A%20none%20!important%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label.inactive%3A%3Abefore%20%7B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-step-label-background)%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label.active%3A%3Abefore%20%7B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-step-label-active-background)%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label%5Bdata-position%3D%2299%22%5D%20%7B%0A%20%20%20%20--position%3A%2098.5%25%20!important%3B%0A%7D%0A%0A.app-container.stop-indicator%20.step-label%3A%3Abefore%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20height%3A%20var(--wm-discrete-slider-step-label-height)%3B%0A%20%20%20%20width%3A%20var(--wm-discrete-slider-step-label-width)%3B%0A%20%20%20%20left%3A%20var(--position%2C%200%25)%3B%0A%20%20%20%20content%3A%20''%3B%0A%20%20%20%20top%3A%20-30px%3B%0A%20%20%20%20visibility%3A%20visible%3B%0A%20%20%20%20background%3A%20var(--wm-discrete-slider-step-label-active-background)%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider.hide-labels%3E.app-slider-value.pull-left%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.app-container.discrete-slider.filled-slider%20.app-slider.slider.cst-slider.hide-labels%3E.app-slider-value.pull-right%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A",variables:"%7B%20%7D",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-slider%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20interactivity%20of%20the%20widget.%20'Enabled'%20allows%20interaction%20with%20the%20widget%2C%20while%20'Disabled'%20makes%20the%20widget%20non-interactive%20and%20inactive.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_labels%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Labels%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20labels%20should%20be%20displayed%20on%20the%20widget.%20When%20set%20to%20true%2C%20lables%20will%20be%20shown.%20When%20false%2C%20labels%20will%20be%20hidden.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_icons%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Icons%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20icons%20should%20be%20displayed%20on%20the%20widget.%20When%20set%20to%20true%2C%20icons%20will%20be%20shown.%20When%20false%2C%20icons%20will%20be%20hidden.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22start_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Start%20Icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22The%20icon%20to%20be%20displayed%20at%20the%20start%20of%20the%20widget.%20Select%20an%20appropriate%20icon%20from%20the%20available%20options.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-minus%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22end_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22End%20Icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22The%20icon%20to%20be%20displayed%20at%20the%20end%20of%20the%20widget.%20Select%20an%20appropriate%20icon%20from%20the%20available%20options.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-plus%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22icon_actions%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Icon%20Actions%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20the%20icons%20on%20the%20widget%20are%20interactive.%20When%20set%20to%20true%2C%20icons%20will%20respond%20to%20user%20actions%20(e.g.%2C%20clicks).%20When%20false%2C%20icons%20will%20be%20displayed%20but%20not%20interactive.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Default%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Sets%20the%20initial%20value%20of%20the%20slider%20when%20the%20widget%20is%20first%20displayed.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%2250%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22step_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Step%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Defines%20the%20increment%20or%20decrement%20steps%20for%20the%20slider.%20This%20value%20controls%20the%20amount%20by%20which%20the%20slider%E2%80%99s%20value%20changes%20with%20each%20step.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%2210%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22min_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22integer%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Minimum%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20smallest%20value%20the%20slider%20can%20be%20set%20to.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%220%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22max_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22integer%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Maximum%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20largest%20value%20the%20slider%20can%20be%20set%20to.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22100%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22onChange%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Change%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Triggered%20when%20the%20slider%E2%80%99s%20value%20changes.%20The%20function%20receives%20parameters%20including%20the%20event%2C%20the%20widget%2C%20the%20new%20value%2C%20and%20the%20previous%20value.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22sliderChange(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22onDecrement%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Decrement%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20decreased.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22decrementButtonClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22onIncrement%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Increment%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20increased.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22incrementButtonClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/divider/page.min.js":
1510
1510
  /*!*********************************!*\
1511
1511
  !*** ./src/divider/page.min.js ***!
1512
1512
  \*********************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{divider:()=>divider});const divider={markup:"%3Cwm-custom-widget-container%20name%3D%22partial1%22%3E%0A%20%20%20%20%3Cwm-container%20name%3D%22divider1%22%20class%3D%22divider%22%3E%3C%2Fwm-container%3E%0A%20%20%20%20%3C!--%20Height%20of%20vertical%20divider%20will%20be%20supplied%20using%20inline%20styles%20and%20the%20value%20can%20be%20picked%20up%20from%20node%20css.%20%0A%20%20%20%20A%20minimum%20height%20has%20been%20defined%20in%20the%20event%20that%20the%20user%20uses%20a%20custom%20widget%20divider.%20--%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"Widget.onPropertyChange%20%3D%20function(propName%2C%20newValue%2C%20oldValue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20orientation%2C%0A%20%20%20%20%20%20%20%20vertical_height%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20const%20relevantProps%20%3D%20%5B%22prop-vertical_height%22%2C%20%22prop-orientation%22%5D%3B%0A%20%20%20%20if%20(relevantProps.includes(propName))%20%7B%0A%20%20%20%20%20%20%20%20updateDivider(widgetMap.divider1%2C%20orientation%2C%20vertical_height)%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20orientation%2C%0A%20%20%20%20%20%20%20%20vertical_height%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20updateDivider(widgetMap.divider1%2C%20orientation%2C%20vertical_height)%3B%0A%7D%3B%0A%0Afunction%20updateDivider(divider%2C%20orientation_prop%2C%20vertical_height)%20%7B%0A%20%20%20%20const%20orientationArray%20%3D%20orientation_prop.toLowerCase().split(%22%2F%22)%3B%0A%20%20%20%20const%20orientation%20%3D%20orientationArray%5B0%5D%3B%20%2F%2F%20Vertical%20or%20Horizontal%0A%20%20%20%20const%20length%20%3D%20orientationArray%5B1%5D%3B%0A%20%20%20%20resetAndUpdateDividerClasses(divider%2C%20orientation%2C%20length)%3B%0A%0A%20%20%20%20if%20(orientation%20%3D%3D%3D%20%22vertical%22)%20%7B%0A%20%20%20%20%20%20%20%20const%20height%20%3D%20calculateHeight(length%2C%20vertical_height)%3B%0A%20%20%20%20%20%20%20%20setDividerHeight(divider%2C%20height)%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20resetAndUpdateDividerClasses(divider%2C%20orientation%2C%20length)%20%7B%0A%20%20%20%20divider.nativeElement.classList.remove(%0A%20%20%20%20%20%20%20%20%22full-width%22%2C%0A%20%20%20%20%20%20%20%20%22middle-inset%22%2C%0A%20%20%20%20%20%20%20%20%22horizontal-divider%22%2C%0A%20%20%20%20%20%20%20%20%22vertical-divider%22%2C%0A%20%20%20%20%20%20%20%20%22inset%22%0A%20%20%20%20)%3B%0A%0A%20%20%20%20divider.nativeElement.classList.add(%60%24%7Borientation%7D-divider%60%2C%20length)%3B%0A%7D%0A%0Afunction%20calculateHeight(length%2C%20vertical_height)%20%7B%0A%20%20%20%20switch%20(length)%20%7B%0A%20%20%20%20%20%20%20%20case%20%22full-width%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20vertical_height%3B%0A%20%20%20%20%20%20%20%20case%20%22inset%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20vertical_height%20-%2016%3B%0A%20%20%20%20%20%20%20%20case%20%22middle-inset%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20vertical_height%20-%2032%3B%0A%20%20%20%20%20%20%20%20default%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20vertical_height%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20setDividerHeight(divider%2C%20height)%20%7B%0A%20%20%20%20divider.nativeElement.style.setProperty(%22height%22%2C%20%60%24%7Bheight%7Dpx%60)%3B%0A%7D%0A",styles:".divider%20%7B%0A%20%20%20%20--wm-divider-border-width%3A%20var(--wm-border-width)%3B%0A%20%20%20%20--wm-divider-border-style%3A%20var(--wm-border-style)%3B%0A%20%20%20%20--wm-divider-border-color%3A%20var(--wm-color-outline-variant)%3B%0A%20%20%20%20--wm-divider-inset-width%3A%20var(--wm-space-4)%3B%0A%20%20%20%20--wm-vertical-divider-width%3A%201px%3B%0A%7D%0A%0A.divider%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20border-top%3A%20var(--wm-divider-border-width)%20var(--wm-divider-border-style)%20var(--wm-divider-border-color)%3B%0A%20%20%20%20height%3A%201px%3B%0A%20%20%20%20margin-block%3A%208px%3B%0A%7D%0A%0A.app-container%3E.divider.full-width%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20margin%3A%20auto%3B%0A%20%20%20%20padding%3A%200px%3B%0A%7D%0A%0A.divider.inset%20%7B%0A%20%20%20%20margin-left%3A%20var(--wm-divider-inset-width)%3B%0A%7D%0A%0A.divider.middle-inset%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20margin-inline%3A%20var(--wm-divider-inset-width)%3B%0A%7D%0A%0A.vertical-divider%20%7B%0A%20%20%20%20width%3A%20var(--wm-vertical-divider-width)%3B%0A%20%20%20%20border-left%3A%20var(--wm-divider-border-width)%20var(--wm-divider-border-style)%20var(--wm-divider-border-color)%3B%0A%20%20%20%20min-height%3A%201px%3B%0A%20%20%20%20margin-inline%3A%208px%3B%0A%7D%0A%0A.vertical-divider.full-width%20%7B%0A%20%20%20%20margin-top%3A%200%3B%0A%20%20%20%20margin-bottom%3A%200%3B%0A%7D%0A%0A.vertical-divider.inset%20%7B%0A%20%20%20%20margin-top%3A%20var(--wm-divider-inset-width)%3B%0A%7D%0A%0A.vertical-divider.middle-inset%20%7B%0A%20%20%20%20margin-block%3A%20var(--wm-divider-inset-width)%3B%0A%7D%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-container%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22orientation%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Orientation%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20the%20style%20of%20the%20M3%20divider%20being%20used.%20Default%20value%20is%20horizontal%2Ffull-width.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22horizontal%2Ffull-width%22%2C%20%22horizontal%2Fmiddle-inset%22%2C%20%22horizontal%2Finset%22%2C%20%22vertical%2Ffull-width%22%2C%20%22vertical%2Fmiddle-inset%22%2C%20%22vertical%2Finset%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22horizontal%2Ffull-width%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22vertical_height%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22integer%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Height%20(only%20for%20vertical)%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20the%20height%20of%20the%20vertical%20divider%20(in%20px)%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%2050%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22onRender%22%20%3A%20%7B%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Callback%20action%20to%20test%20event%20in%20the%20properties%20panel%22%2C%0A%20%20%20%20%20%20%22eventData%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Render%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/icon_button/page.min.js":
1513
1513
  /*!*************************************!*\
1514
1514
  !*** ./src/icon_button/page.min.js ***!
1515
- \*************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{icon_button:()=>icon_button});const icon_button={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20name%3D%22iconButton%22%20iconclass%3D%22bind%3Aprops.icon_class%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%20%3D%3D%20%26quot%3Bdisabled%26quot%3B%22%20conditionalclass%3D%22bind%3A'%20btn-'%20%2B%20props.style.toLowerCase()%20%2B%20'%20btn-'%20%2B%20props.button_size.toLowerCase()%20%2B%20'%20btn-'%20%2B%20props.color.toLowerCase()%22%3E%3C%2Fwm-button%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20%2F*%0A%20%20%20%20%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20%20%20%20%20*%20Widget.Variables.loggedInUser.getData()%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20widgets%20can%20be%20accessed%20through%20'Widget.Widgets'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20%20%20%20%20*%20'Widget.Widgets.username.datavalue'%0A%20%20%20%20%20*%2F%0A%7D%3B%0A",styles:"%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-button%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22style%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Style%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Filled%22%2C%20%22Standard%22%2C%20%22Outlined%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Filled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Icon%20class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22fa%20fa-gear%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22button_size%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Button%20size%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22This%20is%20an%20optinal%20property.%20the%20value%20for%20this%20property%20must%20be%20either%20'xs'%20for%20extrasmall%20etc.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22xs%22%2C%20%22sm%22%2C%20%22md%22%2C%20%22lg%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22md%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22color%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Tonal%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22This%20is%20an%20optinal%20property.%20The%20value%20for%20this%20property%20must%20be%20either%20secondary%2C%20tertiary%2C%20success%2C%20error%2C%20info%2C%20warning.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Default%22%2C%20%22Primary%22%2C%20%22Secondary%22%2C%20%22Tertiary%22%2C%20%22Success%22%2C%20%22Info%22%2C%20%22Warning%22%2C%20%22Error%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Default%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22onRender%22%20%3A%20%7B%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Callback%20action%20to%20test%20event%20in%20the%20properties%20panel%22%2C%0A%20%20%20%20%20%20%22eventData%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Render%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/icon_button_toggleable/page.min.js":
1515
+ \*************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{icon_button:()=>icon_button});const icon_button={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20name%3D%22iconButton%22%20iconclass%3D%22bind%3Aprops.icon_class%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%20%3D%3D%20%26quot%3Bdisabled%26quot%3B%22%20conditionalclass%3D%22bind%3A'%20btn-'%20%2B%20props.style.toLowerCase()%20%2B%20'%20btn-'%20%2B%20props.button_size.toLowerCase()%20%2B%20'%20btn-'%20%2B%20props.color.toLowerCase()%22%3E%3C%2Fwm-button%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20%2F*%0A%20%20%20%20%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20%20%20%20%20*%20Widget.Variables.loggedInUser.getData()%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20widgets%20can%20be%20accessed%20through%20'Widget.Widgets'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20%20%20%20%20*%20'Widget.Widgets.username.datavalue'%0A%20%20%20%20%20*%2F%0A%7D%3B%0A",styles:"%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-button%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22style%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Style%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20style%20of%20the%20widget.%20Options%20include%20'Filled'%2C%20'Standard'%2C%20and%20'Outlined'.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Filled%22%2C%20%22Standard%22%2C%20%22Outlined%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Filled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20whether%20the%20component%20is%20active%20or%20inactive.%20'enabled'%20means%20the%20component%20is%20interactive%20and%20functional%2C%20while%20'disabled'%20means%20it%20is%20non-interactive%20and%20inactive.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Icon%20class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20icon%20class%20to%20be%20used%20inside%20icon%20button%20%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22fa%20fa-gear%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22button_size%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Button%20size%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22This%20is%20an%20optinal%20property.%20the%20value%20for%20this%20property%20must%20be%20either%20'xs'%20for%20extrasmall%20etc.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22xs%22%2C%20%22sm%22%2C%20%22md%22%2C%20%22lg%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22md%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22color%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Tonal%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22This%20is%20an%20optinal%20property.%20The%20value%20for%20this%20property%20must%20be%20either%20secondary%2C%20tertiary%2C%20success%2C%20error%2C%20info%2C%20warning.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Default%22%2C%20%22Primary%22%2C%20%22Secondary%22%2C%20%22Tertiary%22%2C%20%22Success%22%2C%20%22Info%22%2C%20%22Warning%22%2C%20%22Error%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Default%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22onRender%22%20%3A%20%7B%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Callback%20action%20to%20test%20event%20in%20the%20properties%20panel%22%2C%0A%20%20%20%20%20%20%22eventData%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Render%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/icon_button_toggleable/page.min.js":
1516
1516
  /*!************************************************!*\
1517
1517
  !*** ./src/icon_button_toggleable/page.min.js ***!
1518
- \************************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{icon_button_toggleable:()=>icon_button_toggleable});const icon_button_toggleable={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-container%20name%3D%22containerIconButtonToggle%22%20class%3D%22btn%20btn-icon%20toggle-button%22%20conditionalclass%3D%22bind%3A'btn-'%20%2B%20props.style.toLowerCase()%20%2B%20'%20'%20%2B%20(props.selected%20%3D%3D%20true%20%3F%20'selected'%3A'')%20%2B%20'%20btn-'%20%2B%20props.color.toLowerCase()%20%2B%20'%20btn-'%20%2B%20props.button_size.toLowerCase()%20%2B%20(props.state.toLowerCase()%20%3D%3D%20%26quot%3Bdisabled%26quot%3B%3F%26quot%3B%20disabled%26quot%3B%3A%26quot%3B%26quot%3B)%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-checkbox%20name%3D%22checkboxIconBtnToggle%22%20class%3D%22toggle-checkbox%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%20%3D%3D%3D%20%26quot%3Bdisabled%26quot%3B%22%20datavalue%3D%22bind%3Aprops.selected%22%3E%3C%2Fwm-checkbox%3E%0A%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22iconUnselected%22%20class%3D%22toggle-icon%22%20iconclass%3D%22bind%3Aprops.icon_class_unselected%22%20show%3D%22bind%3Aprops.selected%20!%3D%20true%20%3F%20true%3Afalse%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22iconSelected%22%20class%3D%22toggle-icon%22%20show%3D%22bind%3Aprops.selected%20%3D%3D%20true%20%3F%20true%3Afalse%22%20iconclass%3D%22bind%3Aprops.icon_class_selected%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%3C%2Fwm-container%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0A%2F*%0A%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20*%20Widget.Variables.loggedInUser.getData()%0A%20*%0A%20*%20widgets%20can%20be%20accessed%20through%20'Widget.Widgets'%20property%20here%0A%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20*%20'Widget.Widgets.username.datavalue'%0A%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.selected%3B%0A%7D%3B%0A",styles:".btn.toggle-button%20.app-checkbox.toggle-checkbox%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20inset%3A%200%3B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20opacity%3A%200%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-default%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-secondary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-default-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-default%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-secondary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-default-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-primary%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-primary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-primary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-secondary%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-outline-variant)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-outline-variant)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-secondary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-secondary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-tertiary%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-tertiary-container)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-tertiary-container)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-tertiary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-tertiary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-success%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-success-active)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-success-active)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-success-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-success-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-info%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-info-active)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-info-active)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-info-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-warning%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-warning-active)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-warning-active)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-warning-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-warning-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-error%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-error-active)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-error-active)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-error)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-danger-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-standard.btn-default%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-default-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-primary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-secondary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-secondary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-outline-variant)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-tertiary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-tertiary-fixed)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-tertiary-container)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-success%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-success-container)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-success-container)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-info%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-info-container)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-info-container)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-warning%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-warning-container)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-warning-container)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-error%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-error-container)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-error-container)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-default%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-inverse-surface)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-inverse-surface)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-inverse-on-surface)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-secondary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-default%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-default-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-default-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-default-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-default-outlined-state-layer-color)%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-primary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-primary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-primary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-primary-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-primary-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-primary-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-primary-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-secondary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-secondary)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-secondary)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-secondary)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-secondary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-secondary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-secondary-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-secondary-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-secondary-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-secondary-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-tertiary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-tertiary)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-tertiary)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-tertiary)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-tertiary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-tertiary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-tertiary-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-tertiary-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-tertiary-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-tertiary-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-success%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-success)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-success)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-success)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-success-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-success%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-success-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-success-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-success-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-success-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-info%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-info)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-info)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-info)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-info%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-info-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-info-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-info-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-warning%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-warning)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-warning)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-warning)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-warning-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-warning%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-warning-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-warning-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-warning-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-warning-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-error%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-error)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-error)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-error)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-danger-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-error%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-danger-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-danger-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-danger-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-danger-outlined-state-layer-color)%3B%0A%7D%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%20%20%22widgetType%22%20%3A%20%22wm-checkbox%22%2C%0A%20%20%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22style%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Style%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Filled%22%2C%20%22Standard%22%2C%20%22Outlined%22%20%5D%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22Filled%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22button_size%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Button%20size%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22This%20is%20an%20optinal%20property.%20the%20value%20for%20this%20property%20must%20be%20either%20'xs'%20for%20extrasmall%20etc.%22%2C%0A%20%20%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22xs%22%2C%20%22sm%22%2C%20%22md%22%2C%20%22lg%22%20%5D%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22md%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22color%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Tonal%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22This%20is%20an%20optinal%20property.%20The%20value%20for%20this%20property%20must%20be%20either%20secondary%2C%20tertiary%2C%20success%2C%20error%2C%20info%2C%20warning.%22%2C%0A%20%20%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Default%22%2C%20%22Primary%22%2C%20%22Secondary%22%2C%20%22Tertiary%22%2C%20%22Success%22%2C%20%22Info%22%2C%20%22Warning%22%2C%20%22Error%22%20%5D%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22Default%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22icon_class_unselected%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Icon%20class%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22fa%20fa-gear%22%2C%0A%20%20%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22icon_class_selected%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Icon%20class%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22fa%20fa-gear%22%2C%0A%20%20%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22selected%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Selected%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%20%20%22onRender%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22Callback%20action%20to%20test%20event%20in%20the%20properties%20panel%22%2C%0A%20%20%20%20%20%20%20%20%22eventData%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Render%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20"}},"./src/input_chip/page.min.js":
1518
+ \************************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{icon_button_toggleable:()=>icon_button_toggleable});const icon_button_toggleable={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-container%20name%3D%22containerIconButtonToggle%22%20class%3D%22btn%20btn-icon%20toggle-button%22%20conditionalclass%3D%22bind%3A'btn-'%20%2B%20props.style.toLowerCase()%20%2B%20'%20'%20%2B%20(props.selected%20%3D%3D%20true%20%3F%20'selected'%3A'')%20%2B%20'%20btn-'%20%2B%20props.color.toLowerCase()%20%2B%20'%20btn-'%20%2B%20props.button_size.toLowerCase()%20%2B%20(props.state.toLowerCase()%20%3D%3D%20%26quot%3Bdisabled%26quot%3B%3F%26quot%3B%20disabled%26quot%3B%3A%26quot%3B%26quot%3B)%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-checkbox%20name%3D%22checkboxIconBtnToggle%22%20class%3D%22toggle-checkbox%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%20%3D%3D%3D%20%26quot%3Bdisabled%26quot%3B%22%20datavalue%3D%22bind%3Aprops.selected%22%3E%3C%2Fwm-checkbox%3E%0A%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22iconUnselected%22%20class%3D%22toggle-icon%22%20iconclass%3D%22bind%3Aprops.icon_class_unselected%22%20show%3D%22bind%3Aprops.selected%20!%3D%20true%20%3F%20true%3Afalse%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22iconSelected%22%20class%3D%22toggle-icon%22%20show%3D%22bind%3Aprops.selected%20%3D%3D%20true%20%3F%20true%3Afalse%22%20iconclass%3D%22bind%3Aprops.icon_class_selected%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%3C%2Fwm-container%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0A%2F*%0A%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20*%20Widget.Variables.loggedInUser.getData()%0A%20*%0A%20*%20widgets%20can%20be%20accessed%20through%20'Widget.Widgets'%20property%20here%0A%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20*%20'Widget.Widgets.username.datavalue'%0A%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.selected%3B%0A%7D%3B%0A",styles:".btn.toggle-button%20.app-checkbox.toggle-checkbox%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20inset%3A%200%3B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20opacity%3A%200%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-default%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-secondary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-default-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-default%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-secondary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-default-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-primary%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-primary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-primary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-secondary%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-outline-variant)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-outline-variant)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-secondary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-secondary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-tertiary%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-tertiary-container)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-tertiary-container)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-tertiary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-tertiary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-success%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-success-active)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-success-active)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-success-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-success-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-info%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-info-active)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-info-active)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-info-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-warning%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-warning-active)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-warning-active)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-warning-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-warning-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-error%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-error-active)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-error-active)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-error)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-danger-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-standard.btn-default%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-default-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-primary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-secondary-background)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-secondary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-outline-variant)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-tertiary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-tertiary-fixed)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-tertiary-container)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-success%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-success-container)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-success-container)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-info%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-info-container)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-info-container)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-warning%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-warning-container)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-warning-container)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-standard.btn-error%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-error-container)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-color-error-container)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-default%20%7B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-inverse-surface)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-inverse-surface)%3B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-inverse-on-surface)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-secondary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-default%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-default-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-default-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-default-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-default-outlined-state-layer-color)%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-primary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-primary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-primary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-primary-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-primary-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-primary-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-primary-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-secondary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-secondary)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-secondary)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-secondary)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-secondary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-secondary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-secondary-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-secondary-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-secondary-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-secondary-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-tertiary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-tertiary)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-tertiary)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-tertiary)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-tertiary-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-tertiary%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-tertiary-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-tertiary-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-tertiary-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-tertiary-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-success%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-success)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-success)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-success)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-success-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-success%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-success-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-success-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-success-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-success-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-info%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-info)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-info)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-info)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-info%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-info-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-info-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-info-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-info-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-warning%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-warning)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-warning)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-warning)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-warning-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-warning%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-warning-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-warning-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-warning-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-warning-outlined-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button.selected%3Anot(.disabled).btn-outlined.btn-error%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-color-on-error)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-color-error)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-color-error)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-danger-state-layer-color)%3B%0A%7D%0A%0A.btn.toggle-button%3Anot(.selected)%3Anot(.disabled).btn-outlined.btn-error%20%7B%0A%20%20%20%20--wm-btn-color%3A%20var(--wm-btn-danger-outlined-color)%3B%0A%20%20%20%20--wm-btn-background%3A%20var(--wm-btn-danger-outlined-background)%3B%0A%20%20%20%20--wm-btn-border-color%3A%20var(--wm-btn-danger-outlined-border-color)%3B%0A%20%20%20%20--wm-btn-state-layer-color%3A%20var(--wm-btn-danger-outlined-state-layer-color)%3B%0A%7D%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%20%20%22widgetType%22%20%3A%20%22wm-checkbox%22%2C%0A%20%20%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20whether%20the%20component%20is%20active%20or%20inactive.%20'enabled'%20means%20the%20component%20is%20interactive%20and%20functional%2C%20while%20'disabled'%20means%20it%20is%20non-interactive%20and%20inactive.%22%2C%0A%20%20%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22style%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Style%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20style%20of%20the%20widget.%20Options%20include%20'Filled'%2C%20'Standard'%2C%20and%20'Outlined'.%22%2C%0A%20%20%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Filled%22%2C%20%22Standard%22%2C%20%22Outlined%22%20%5D%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22Filled%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22button_size%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Button%20size%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22This%20is%20an%20optinal%20property.%20the%20value%20for%20this%20property%20must%20be%20either%20'xs'%20for%20extrasmall%20etc.%22%2C%0A%20%20%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22xs%22%2C%20%22sm%22%2C%20%22md%22%2C%20%22lg%22%20%5D%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22md%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22color%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Tonal%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22This%20is%20an%20optinal%20property.%20The%20value%20for%20this%20property%20must%20be%20either%20secondary%2C%20tertiary%2C%20success%2C%20error%2C%20info%2C%20warning.%22%2C%0A%20%20%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Default%22%2C%20%22Primary%22%2C%20%22Secondary%22%2C%20%22Tertiary%22%2C%20%22Success%22%2C%20%22Info%22%2C%20%22Warning%22%2C%20%22Error%22%20%5D%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22Default%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22icon_class_unselected%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Unselected%20Icon%20class%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20icon%20class%20to%20use%20when%20the%20icon%20button%20toggleable%20is%20in%20the%20unselected%20state.%22%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22fa%20fa-gear%22%2C%0A%20%20%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22icon_class_selected%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Selected%20Icon%20class%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20icon%20class%20to%20use%20when%20the%20icon%20button%20toggleable%20is%20in%20the%20selected%20state.%22%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20%22fa%20fa-gear%22%2C%0A%20%20%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22selected%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Selected%22%2C%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20default%20value%20of%20the%20icon%20button%20toggleable.%20This%20value%20is%20used%20to%20represent%20the%20state%20of%20the%20widget.%20For%20example%2C%20'true'%20for%20checked%20and%20'false'%20for%20unchecked.%22%2C%0A%20%20%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%20%20%22onRender%22%20%3A%20%7B%0A%20%20%20%20%20%20%20%20%22description%22%20%3A%20%22Callback%20action%20to%20test%20event%20in%20the%20properties%20panel%22%2C%0A%20%20%20%20%20%20%20%20%22eventData%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%20%20%22displayName%22%20%3A%20%22Render%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20"}},"./src/input_chip/page.min.js":
1519
1519
  /*!************************************!*\
1520
1520
  !*** ./src/input_chip/page.min.js ***!
1521
- \************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{input_chip:()=>input_chip});const input_chip={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-container%20name%3D%22chip%22%20class%3D%22input-chip-wrapper%22%20on-click%3D%22chipClick(%24event%2C%20widget)%22%20conditionalclass%3D%22bind%3A(props.configuration.toLowerCase().includes(%26quot%3Bavatar%26quot%3B)%20%3F%20%26quot%3Bwith-avatar%26quot%3B%3A%26quot%3B%26quot%3B%20)%2B%20%26quot%3B%20%26quot%3B%2B%20(props.selected.toString().toLowerCase()%20%3D%3D%20%26quot%3Btrue%26quot%3B%3F%20%26quot%3Bselected%26quot%3B%3A%26quot%3B%26quot%3B)%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22icon_avatar%22%20class%3D%22input-chip-leading-wrapper%20d-inline-flex%22%20show%3D%22bind%3Aprops.configuration.toLowerCase()%20!%3D%3D%20%26quot%3Blabel%20only%26quot%3B%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22displayIcon%22%20iconclass%3D%22bind%3A'text-primary%20'%20%2B%20props.leading_icon_class%22%20show%3D%22bind%3Aprops.configuration.toLowerCase().includes(%26quot%3Bicon%26quot%3B)%22%20class%3D%22leading_icon%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-picture%20name%3D%22pictureCase%22%20class%3D%22input-chip-avatar%22%20picturesource%3D%22bind%3Aprops.picture_source%22%20show%3D%22bind%3Aprops.configuration.toLowerCase().includes(%26quot%3Bavatar%26quot%3B)%22%20resizemode%3D%22cover%22%3E%3C%2Fwm-picture%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-label%20padding%3D%22unset%22%20class%3D%22p%22%20type%3D%22p%22%20name%3D%22displayLabel%22%20caption%3D%22bind%3Aprops.label_text%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%20btn-sm%20btn-chip-remove%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22buttonRemoveChip%22%20iconclass%3D%22bind%3Aprops.closing_icon_class%22%20show%3D%22bind%3Aprops.show_closing_icon%22%20on-click%3D%22buttonRemoveChipClick(%24event%2C%20widget)%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%3C%2Fwm-container%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0A%2F*%0A%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20*%20Widget.Variables.loggedInUser.getData()%0A%20*%0A%20*%20widgets%20can%20be%20accessed%20through%20'Widget.Widgets'%20property%20here%0A%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20*%20'Widget.Widgets.username.datavalue'%0A%20*%2F%0AWidget.onReady%20%3D%20function%20()%20%7B%7D%3B%0A%0A%2F%2F%20handle%20input%20chip%20selection%20in%20run%20time%0AWidget.chipClick%20%3D%20function%20(%24event%2C%20widget)%20%7B%0A%09handleSelection()%3B%0A%7D%3B%0A%0AWidget.onPropertyChange%20%3D%20function%20(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%09switch%20(propname)%20%7B%0A%09%09case%20%22prop-selected%22%3A%0A%09%09%09handleSelection()%3B%0A%09%09%09break%3B%0A%09%7D%0A%7D%3B%0A%0Afunction%20handleSelection()%20%7B%0A%09Widget.Widgets.chip.nativeElement.classList.toggle(%22selected%22)%3B%0A%7D%0A",styles:".input-chip-wrapper%20%7B%0A%20%20%20%20--wm-input-chip-height%3A%2032px%3B%0A%20%20%20%20--wm-input-chip-padding%3A%20var(--wm-space-1)%20var(--wm-space-3)%3B%0A%20%20%20%20--wm-input-chip-gap%3A%20var(--wm-space-2)%3B%0A%20%20%20%20--wm-input-chip-color%3A%20var(--wm-color-on-surface-variant)%3B%0A%20%20%20%20--wm-input-chip-background%3A%20none%3B%0A%20%20%20%20--wm-input-chip-background-selected%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-input-chip-border-width%3A%20var(--wm-border-width)%3B%0A%20%20%20%20--wm-input-chip-border-style%3A%20var(--wm-border-style)%3B%0A%20%20%20%20--wm-input-chip-border-color%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-input-chip-border-color-selected%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-input-chip-border-radius%3A%20var(--wm-radius-sm)%3B%0A%20%20%20%20--wm-input-chip-border-radius-with-icon%3A%20var(--wm-radius-sm)%3B%0A%20%20%20%20--wm-input-chip-border-radius-with-avatar%3A%20var(--wm-radius-pill)%3B%0A%20%20%20%20--wm-input-chip-font-family%3A%20var(--wm-label-large-font-family)%3B%0A%20%20%20%20--wm-input-chip-font-weight%3A%20var(--wm-label-large-font-weight)%3B%0A%20%20%20%20--wm-input-chip-font-size%3A%20var(--wm-label-large-font-size)%3B%0A%20%20%20%20--wm-input-chip-line-height%3A%20var(--wm-label-large-line-height)%3B%0A%20%20%20%20--wm-input-chip-letter-spacing%3A%20var(--wm-label-large-letter-spacing)%3B%0A%20%20%20%20--wm-input-chip-layer-color%3A%20var(--wm-color-on-surface-variant)%3B%0A%20%20%20%20--wm-input-chip-layer-opacity-hover%3A%20var(--wm-opacity-hover)%3B%0A%20%20%20%20--wm-input-chip-layer-opacity-focus%3A%20var(--wm-opacity-focus)%3B%0A%20%20%20%20--wm-input-chip-layer-opacity-active%3A%20var(--wm-opacity-active)%3B%0A%20%20%20%20--wm-input-chip-avatar-size%3A%20var(--wm-icon-size)%3B%0A%20%20%20%20--wm-input-chip-avatar-radius%3A%20var(--wm-radius-pill)%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%20%20%20%20justify-content%3A%20center%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20gap%3A%20var(--wm-input-chip-gap)%3B%0A%20%20%20%20min-height%3A%20var(--wm-input-chip-height)%3B%0A%20%20%20%20height%3A%20var(--wm-input-chip-height)%3B%0A%20%20%20%20padding%3A%20var(--wm-input-chip-padding)%3B%0A%20%20%20%20color%3A%20var(--wm-input-chip-color)%3B%0A%20%20%20%20background%3A%20var(--wm-input-chip-background)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-input-chip-border-radius)%3B%0A%20%20%20%20border%3A%20var(--wm-input-chip-border-width)%20var(--wm-input-chip-border-style)%20var(--wm-input-chip-border-color)%3B%0A%20%20%20%20font-family%3A%20var(--wm-input-chip-font-family)%3B%0A%20%20%20%20font-weight%3A%20var(--wm-input-chip-font-weight)%3B%0A%20%20%20%20font-size%3A%20var(--wm-input-chip-font-size)%3B%0A%20%20%20%20line-height%3A%20var(--wm-input-chip-line-height)%3B%0A%20%20%20%20letter-spacing%3A%20var(--wm-input-chip-letter-spacing)%3B%0A%7D%0A%0A.input-chip-wrapper%3Abefore%20%7B%0A%20%20%20%20content%3A%20%22%22%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%20%20%20%20border-radius%3A%20inherit%3B%0A%20%20%20%20opacity%3A%200%3B%0A%20%20%20%20background%3A%20var(--wm-input-chip-layer-color)%3B%0A%7D%0A%0A.input-chip-wrapper%3Ahover%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-input-chip-layer-opacity-hover)%3B%0A%7D%0A%0A.input-chip-wrapper%3Afocus%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-input-chip-layer-opacity-focus)%3B%0A%7D%0A%0A.input-chip-wrapper%3Aactive%3Abefore%2C%0A.input-chip-wrapper%3Aactive%3Ahover%3Abefore%2C%0A.input-chip-wrapper%3Aactive%3Afocus%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-input-chip-layer-opacity-active)%3B%0A%7D%0A%0A.input-chip-wrapper.selected%20%7B%0A%20%20%20%20--wm-input-chip-background%3A%20var(--wm-input-chip-background-selected)%3B%0A%20%20%20%20--wm-input-chip-border-color%3A%20var(--wm-input-chip-border-color-selected)%3B%0A%7D%0A%0A.input-chip-wrapper%20.input-chip-leading-wrapper%20%7B%0A%20%20%20%20margin-left%3A%20calc(var(--wm-space-1)%20*%20-1)%3B%0A%7D%0A%0A.input-chip-wrapper.with-avatar%20%7B%0A%20%20%20%20border-radius%3A%20var(--wm-input-chip-avatar-radius)%3B%0A%7D%0A%0A.input-chip-wrapper.with-avatar%20.input-chip-leading-wrapper%20%7B%0A%20%20%20%20margin-left%3A%20calc(var(--wm-space-2)%20*%20-1)%3B%0A%7D%0A%0A.input-chip-wrapper%20.btn.btn-chip-remove%20%7B%0A%20%20%20%20width%3A%20auto%3B%0A%20%20%20%20padding%3A%20var(--wm-space-0)%3B%0A%20%20%20%20min-height%3A%20var(--wm-btn-icon-size)%3B%0A%20%20%20%20height%3A%20var(--wm-btn-icon-size)%3B%0A%20%20%20%20margin%3A%20var(--wm-space-0)%20calc(var(--wm-space-1)%20*%20-1)%20var(--wm-space-0)%20var(--wm-space-0)%3B%0A%7D%0A%0A.input-chip-wrapper%20.input-chip-avatar%20%7B%0A%20%20%20%20width%3A%20var(--wm-input-chip-avatar-size)%3B%0A%20%20%20%20height%3A%20var(--wm-input-chip-avatar-size)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-input-chip-avatar-radius)%3B%0A%7D%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-container%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22enabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22configuration%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Label%20only%22%2C%20%22Label%20%26%20Leading%20icon%22%2C%20%22Label%20%26%20avatar%22%20%5D%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Configuration%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Label%20only%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_closing_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Closing%20icon%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22selected%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Selected%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22label_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Label%20text%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Label%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22leading_icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Leading%20Icon%20Class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22fa%20fa-user%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22trailing_icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Trailing%20Icon%20Class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-clear%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22picture_source%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Avatar%20Source%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22resources%2Fimages%2Fimagelists%2Fdefault-image.png%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22onRender%22%20%3A%20%7B%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Callback%20action%20to%20test%20event%20in%20the%20properties%20panel%22%2C%0A%20%20%20%20%20%20%22eventData%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Render%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/progressbar/page.min.js":
1521
+ \************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{input_chip:()=>input_chip});const input_chip={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-container%20name%3D%22chip%22%20class%3D%22input-chip-wrapper%22%20on-click%3D%22chipClick(%24event%2C%20widget)%22%20conditionalclass%3D%22bind%3A(props.configuration.toLowerCase().includes(%26quot%3Bavatar%26quot%3B)%20%3F%20%26quot%3Bwith-avatar%26quot%3B%3A%26quot%3B%26quot%3B%20)%2B%20%26quot%3B%20%26quot%3B%2B%20(props.selected.toString().toLowerCase()%20%3D%3D%20%26quot%3Btrue%26quot%3B%3F%20%26quot%3Bselected%26quot%3B%3A%26quot%3B%26quot%3B)%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22icon_avatar%22%20class%3D%22input-chip-leading-wrapper%20d-inline-flex%22%20show%3D%22bind%3Aprops.configuration.toLowerCase()%20!%3D%3D%20%26quot%3Blabel%20only%26quot%3B%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22displayIcon%22%20iconclass%3D%22bind%3A'text-primary%20'%20%2B%20props.leading_icon_class%22%20show%3D%22bind%3Aprops.configuration.toLowerCase().includes(%26quot%3Bicon%26quot%3B)%22%20class%3D%22leading_icon%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-picture%20name%3D%22pictureCase%22%20class%3D%22input-chip-avatar%22%20picturesource%3D%22bind%3Aprops.picture_source%22%20show%3D%22bind%3Aprops.configuration.toLowerCase().includes(%26quot%3Bavatar%26quot%3B)%22%20resizemode%3D%22cover%22%3E%3C%2Fwm-picture%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-label%20padding%3D%22unset%22%20class%3D%22p%22%20type%3D%22p%22%20name%3D%22displayLabel%22%20caption%3D%22bind%3Aprops.label_text%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%20btn-sm%20btn-chip-remove%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22buttonRemoveChip%22%20iconclass%3D%22bind%3Aprops.closing_icon_class%22%20show%3D%22bind%3Aprops.show_closing_icon%22%20on-click%3D%22buttonRemoveChipClick(%24event%2C%20widget)%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%3C%2Fwm-container%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0A%2F*%0A%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20*%20Widget.Variables.loggedInUser.getData()%0A%20*%0A%20*%20widgets%20can%20be%20accessed%20through%20'Widget.Widgets'%20property%20here%0A%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20*%20'Widget.Widgets.username.datavalue'%0A%20*%2F%0AWidget.onReady%20%3D%20function%20()%20%7B%7D%3B%0A%0A%2F%2F%20handle%20input%20chip%20selection%20in%20run%20time%0AWidget.chipClick%20%3D%20function%20(%24event%2C%20widget)%20%7B%0A%09handleSelection()%3B%0A%7D%3B%0A%0AWidget.onPropertyChange%20%3D%20function%20(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%09switch%20(propname)%20%7B%0A%09%09case%20%22prop-selected%22%3A%0A%09%09%09handleSelection()%3B%0A%09%09%09break%3B%0A%09%7D%0A%7D%3B%0A%0Afunction%20handleSelection()%20%7B%0A%09Widget.Widgets.chip.nativeElement.classList.toggle(%22selected%22)%3B%0A%7D%0A",styles:".input-chip-wrapper%20%7B%0A%20%20%20%20--wm-input-chip-height%3A%2032px%3B%0A%20%20%20%20--wm-input-chip-padding%3A%20var(--wm-space-1)%20var(--wm-space-3)%3B%0A%20%20%20%20--wm-input-chip-gap%3A%20var(--wm-space-2)%3B%0A%20%20%20%20--wm-input-chip-color%3A%20var(--wm-color-on-surface-variant)%3B%0A%20%20%20%20--wm-input-chip-background%3A%20none%3B%0A%20%20%20%20--wm-input-chip-background-selected%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-input-chip-border-width%3A%20var(--wm-border-width)%3B%0A%20%20%20%20--wm-input-chip-border-style%3A%20var(--wm-border-style)%3B%0A%20%20%20%20--wm-input-chip-border-color%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-input-chip-border-color-selected%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-input-chip-border-radius%3A%20var(--wm-radius-sm)%3B%0A%20%20%20%20--wm-input-chip-border-radius-with-icon%3A%20var(--wm-radius-sm)%3B%0A%20%20%20%20--wm-input-chip-border-radius-with-avatar%3A%20var(--wm-radius-pill)%3B%0A%20%20%20%20--wm-input-chip-font-family%3A%20var(--wm-label-large-font-family)%3B%0A%20%20%20%20--wm-input-chip-font-weight%3A%20var(--wm-label-large-font-weight)%3B%0A%20%20%20%20--wm-input-chip-font-size%3A%20var(--wm-label-large-font-size)%3B%0A%20%20%20%20--wm-input-chip-line-height%3A%20var(--wm-label-large-line-height)%3B%0A%20%20%20%20--wm-input-chip-letter-spacing%3A%20var(--wm-label-large-letter-spacing)%3B%0A%20%20%20%20--wm-input-chip-layer-color%3A%20var(--wm-color-on-surface-variant)%3B%0A%20%20%20%20--wm-input-chip-layer-opacity-hover%3A%20var(--wm-opacity-hover)%3B%0A%20%20%20%20--wm-input-chip-layer-opacity-focus%3A%20var(--wm-opacity-focus)%3B%0A%20%20%20%20--wm-input-chip-layer-opacity-active%3A%20var(--wm-opacity-active)%3B%0A%20%20%20%20--wm-input-chip-avatar-size%3A%20var(--wm-icon-size)%3B%0A%20%20%20%20--wm-input-chip-avatar-radius%3A%20var(--wm-radius-pill)%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%20%20%20%20justify-content%3A%20center%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20gap%3A%20var(--wm-input-chip-gap)%3B%0A%20%20%20%20min-height%3A%20var(--wm-input-chip-height)%3B%0A%20%20%20%20height%3A%20var(--wm-input-chip-height)%3B%0A%20%20%20%20padding%3A%20var(--wm-input-chip-padding)%3B%0A%20%20%20%20color%3A%20var(--wm-input-chip-color)%3B%0A%20%20%20%20background%3A%20var(--wm-input-chip-background)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-input-chip-border-radius)%3B%0A%20%20%20%20border%3A%20var(--wm-input-chip-border-width)%20var(--wm-input-chip-border-style)%20var(--wm-input-chip-border-color)%3B%0A%20%20%20%20font-family%3A%20var(--wm-input-chip-font-family)%3B%0A%20%20%20%20font-weight%3A%20var(--wm-input-chip-font-weight)%3B%0A%20%20%20%20font-size%3A%20var(--wm-input-chip-font-size)%3B%0A%20%20%20%20line-height%3A%20var(--wm-input-chip-line-height)%3B%0A%20%20%20%20letter-spacing%3A%20var(--wm-input-chip-letter-spacing)%3B%0A%7D%0A%0A.input-chip-wrapper%3Abefore%20%7B%0A%20%20%20%20content%3A%20%22%22%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%20%20%20%20border-radius%3A%20inherit%3B%0A%20%20%20%20opacity%3A%200%3B%0A%20%20%20%20background%3A%20var(--wm-input-chip-layer-color)%3B%0A%7D%0A%0A.input-chip-wrapper%3Ahover%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-input-chip-layer-opacity-hover)%3B%0A%7D%0A%0A.input-chip-wrapper%3Afocus%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-input-chip-layer-opacity-focus)%3B%0A%7D%0A%0A.input-chip-wrapper%3Aactive%3Abefore%2C%0A.input-chip-wrapper%3Aactive%3Ahover%3Abefore%2C%0A.input-chip-wrapper%3Aactive%3Afocus%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-input-chip-layer-opacity-active)%3B%0A%7D%0A%0A.input-chip-wrapper.selected%20%7B%0A%20%20%20%20--wm-input-chip-background%3A%20var(--wm-input-chip-background-selected)%3B%0A%20%20%20%20--wm-input-chip-border-color%3A%20var(--wm-input-chip-border-color-selected)%3B%0A%7D%0A%0A.input-chip-wrapper%20.input-chip-leading-wrapper%20%7B%0A%20%20%20%20margin-left%3A%20calc(var(--wm-space-1)%20*%20-1)%3B%0A%7D%0A%0A.input-chip-wrapper.with-avatar%20%7B%0A%20%20%20%20border-radius%3A%20var(--wm-input-chip-avatar-radius)%3B%0A%7D%0A%0A.input-chip-wrapper.with-avatar%20.input-chip-leading-wrapper%20%7B%0A%20%20%20%20margin-left%3A%20calc(var(--wm-space-2)%20*%20-1)%3B%0A%7D%0A%0A.input-chip-wrapper%20.btn.btn-chip-remove%20%7B%0A%20%20%20%20width%3A%20auto%3B%0A%20%20%20%20padding%3A%20var(--wm-space-0)%3B%0A%20%20%20%20min-height%3A%20var(--wm-btn-icon-size)%3B%0A%20%20%20%20height%3A%20var(--wm-btn-icon-size)%3B%0A%20%20%20%20margin%3A%20var(--wm-space-0)%20calc(var(--wm-space-1)%20*%20-1)%20var(--wm-space-0)%20var(--wm-space-0)%3B%0A%7D%0A%0A.input-chip-wrapper%20.input-chip-avatar%20%7B%0A%20%20%20%20width%3A%20var(--wm-input-chip-avatar-size)%3B%0A%20%20%20%20height%3A%20var(--wm-input-chip-avatar-size)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-input-chip-avatar-radius)%3B%0A%7D%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-container%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20whether%20the%20component%20is%20active%20or%20inactive.%20'enabled'%20means%20the%20component%20is%20interactive%20and%20functional%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22enabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22configuration%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Label%20only%22%2C%20%22Label%20%26%20Leading%20icon%22%2C%20%22Label%20%26%20avatar%22%20%5D%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Configuration%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20to%20show%2Fhide%20the%20Label%2C%20Leading%20Icon%20and%20avatar.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Label%20only%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_closing_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Closing%20icon%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20to%20show%2Fhide%20the%20closing%20Icon.%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22selected%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Selected%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20default%20value%20of%20the%20input%20chip.%20This%20value%20is%20used%20to%20represent%20the%20state%20of%20the%20input%20chip.%20For%20example%2C%20'true'%20for%20selected%20and%20'false'%20for%20unselected.%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22label_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Label%20text%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20label%20value%20of%20the%20Input%20chip.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Label%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22leading_icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Leading%20Icon%20Class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Allows%20to%20specify%20the%20icon%20for%20the%20Leading%20Icon%2FButton%20from%20wm%20icon%20library.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22fa%20fa-user%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22trailing_icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Trailing%20Icon%20Class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Allows%20to%20specify%20the%20icon%20for%20the%20Trailing%20Icon%2FButton%20from%20wm%20icon%20library.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-clear%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22picture_source%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Avatar%20Source%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Allows%20you%20to%20specify%20the%20source%20URL%20for%20the%20avatar%20image.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22resources%2Fimages%2Fimagelists%2Fdefault-image.png%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22onRender%22%20%3A%20%7B%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Callback%20action%20to%20test%20event%20in%20the%20properties%20panel%22%2C%0A%20%20%20%20%20%20%22eventData%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Render%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/progressbar/page.min.js":
1522
1522
  /*!*************************************!*\
1523
1523
  !*** ./src/progressbar/page.min.js ***!
1524
- \*************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{progressbar:()=>progressbar});const progressbar={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-container%20name%3D%22containerProgressLinearWrapper%22%20class%3D%22progress-linear-wrapper%22%20conditionalclass%3D%22bind%3ApageParams.linear_type.toLowerCase()%20%2B%20'%20'%20%2B%20pageParams.color.toLowerCase()%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22containerProgressLinearEndPoint%22%20conditionalclass%3D%22bind%3ApageParams.linear_type.toLowerCase()%20%3D%3D%20%26quot%3Bdeterminate%26quot%3B%20%3F%20%26quot%3Bprogress-linear-stop-indicator%26quot%3B%3A%26quot%3Bprogress-linear-track-inactive%26quot%3B%22%3E%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22containerProgressLinearTrackActive%22%20class%3D%22progress-linear-track-active%22%3E%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22containerProgressLinearTrackInactive%22%20class%3D%22progress-linear-track-inactive%22%3E%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-container%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%20*%2F%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20%2F*%0A%20%20%20%20%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20%20%20%20%20*%20Widget.Variables.loggedInUser.getData()%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20widgets%20can%20be%20accessed%20through%20'Widget.Widgets'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20%20%20%20%20*%20'Widget.Widgets.username.datavalue'%0A%20%20%20%20%20*%2F%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20progress%2C%0A%20%20%20%20%20%20%20%20transition_duration%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20%2F%2F%20change%20width%20of%20progress%20and%20inactive-tracker%20%0A%20%20%20%20handleProgress(widgetMap%2C%20progress)%3B%0A%0A%20%20%20%20%2F%2F%20change%20transition%20duration%0A%20%20%20%20handleTransitionDuration(widgetMap%2C%20transition_duration)%3B%0A%7D%0A%0AWidget.onPropertyChange%20%3D%20function(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20progress%2C%0A%20%20%20%20%20%20%20%20transition_duration%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20switch%20(propname)%20%7B%0A%20%20%20%20%20%20%20%20case%20%22prop-progress%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleProgress(widgetMap%2C%20progress)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-transition_duration%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleTransitionDuration(widgetMap%2C%20transition_duration)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleProgress(widgetMap%2C%20progress)%20%7B%0A%20%20%20%20let%20progressValue%20%3D%20progress%3B%0A%20%20%20%20let%20numericValue%20%3D%20parseFloat(progressValue)%3B%0A%20%20%20%20let%20progressWrapper%20%3D%20widgetMap.containerProgressLinearWrapper.%24element%5B0%5D%3B%0A%20%20%20%20progressWrapper.style.setProperty(%22gap%22%2C%20%22var(--wm-progress-linear-gap)%22)%3B%0A%20%20%20%20if%20(numericValue%20%3E%3D%20100)%20%7B%0A%20%20%20%20%20%20%20%20progressWrapper.style.setProperty(%22gap%22%2C%200)%3B%0A%20%20%20%20%7D%0A%20%20%20%20progressWrapper.style.setProperty(%22--wm-progress-linear-width-active%22%2C%20progressValue%20%2B%20%22%25%22)%3B%0A%20%20%20%20widgetMap.containerProgressLinearTrackActive.%24element%5B0%5D.setAttribute('title'%2C%20progressValue%20%2B%20%22%25%22)%3B%0A%7D%0A%0Afunction%20handleTransitionDuration(widgetMap%2C%20transition_duration)%20%7B%0A%20%20%20%20let%20transitionDuration%20%3D%20transition_duration%20%3F%20transition_duration%20%3A%201%3B%0A%20%20%20%20let%20progressWrapper%20%3D%20widgetMap.containerProgressLinearWrapper.%24element%5B0%5D%3B%0A%20%20%20%20let%20transitionValue%20%3D%20%60%24%7BparseFloat(transitionDuration)%7Ds%60%3B%0A%20%20%20%20progressWrapper.style.setProperty(%22--wm-progress-linear-transition-duration%22%2C%20transitionValue)%3B%0A%7D%0A",styles:".app-container.progress-linear-wrapper%20%7B%0A%20%20%20%20--wm-progress-linear-width%3A%20100%25%3B%0A%20%20%20%20--wm-progress-linear-width-active%3A%200%25%3B%0A%20%20%20%20--wm-progress-linear-height%3A%204px%3B%0A%20%20%20%20--wm-progress-linear-gap%3A%204px%3B%0A%20%20%20%20--wm-progress-linear-radius%3A%208px%3B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-progress-linear-transition-duration%3A%201s%3B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20gap%3A%20var(--wm-progress-linear-gap)%3B%0A%20%20%20%20width%3A%20var(--wm-progress-linear-width)%3B%0A%20%20%20%20height%3A%20var(--wm-progress-linear-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-progress-linear-radius)%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper%20.app-container.progress-linear-stop-indicator%20%7B%0A%20%20%20%20height%3A%20var(--wm-progress-linear-height)%3B%0A%20%20%20%20width%3A%20var(--wm-progress-linear-height)%3B%0A%20%20%20%20background%3A%20var(--wm-progress-linear-background-active)%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%20%20display%3A%20inline-block%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%201%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper%20.app-container.progress-linear-track-inactive%20%7B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20background%3A%20var(--wm-progress-linear-background)%3B%0A%20%20%20%20width%3A%20calc(100%25%20-%20var(--wm-progress-linear-width-active))%3B%0A%20%20%20%20%2F*%20Full%20width%20initially%20*%2F%0A%20%20%20%20border-radius%3A%20var(--wm-progress-linear-radius)%3B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20transition%3A%20width%20var(--wm-progress-linear-transition-duration)%20ease-in-out%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper%20.app-container.progress-linear-track-active%20%7B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20background%3A%20var(--wm-progress-linear-background-active)%3B%0A%20%20%20%20width%3A%20var(--wm-progress-linear-width-active)%3B%0A%20%20%20%20%2F*%20Width%20controlled%20by%20custom%20property%20*%2F%0A%20%20%20%20border-radius%3A%20var(--wm-progress-linear-radius)%3B%0A%20%20%20%20transition%3A%20width%20var(--wm-progress-linear-transition-duration)%20ease-in-out%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.indeterminate%20%7B%0A%20%20%20%20transition%3A%20none%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.indeterminate%20.app-container.progress-linear-track-inactive%3Afirst-child%20%7B%0A%20%20%20%20width%3A%200%25%3B%0A%20%20%20%20animation%3A%20var(--wm-progress-linear-transition-duration)%20ease-in-out%200s%20infinite%20normal%20none%20running%20animation-indeterminate-start%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.indeterminate%20.app-container.progress-linear-track-inactive%3Alast-child%20%7B%0A%20%20%20%20width%3A%200%25%3B%0A%20%20%20%20animation%3A%20var(--wm-progress-linear-transition-duration)%20ease-in-out%200s%20infinite%20normal%20none%20running%20animation-indeterminate-end%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.indeterminate%20.app-container.progress-linear-track-active%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20animation%3A%20var(--wm-progress-linear-transition-duration)%20ease-in-out%200s%20infinite%20normal%20none%20running%20animation-indeterminate-active%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.secondary%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-secondary)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.tertiary%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-tertiary-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-tertiary)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.success%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-success-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-success)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.info%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-info-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-info)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.warning%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-warning-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-warning)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.error%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-error-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-error)%3B%0A%7D%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-progress-bar%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22progress%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Progress%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Sets%20the%20current%20progress%20of%20the%20bar.%20This%20value%20represents%20the%20percentage%20of%20completion.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%220%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22linear_type%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Progress%20Type%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20type%20of%20progress%20bar.%20Options%20include%20'determinate'%20for%20a%20fixed%20progress%20bar%20or%20'indeterminate'%20for%20an%20animated%20progress%20bar%20without%20a%20fixed%20end.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Determinate%22%2C%20%22Indeterminate%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Determinate%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22color%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Color%20Variant%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20type%20of%20color%20for%20progress%20indicator.%20Options%20include%20like%20'Success'%20for%20a%20success%20color%20progress%20indicator.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Primary%22%2C%20%22Secondary%22%2C%20%22Tertiary%22%2C%20%22Success%22%2C%20%22Info%22%2C%20%22Warning%22%2C%20%22Error%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Primary%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22transition_duration%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Transition%20Duration%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Defines%20the%20duration%20of%20the%20progress%20transition%20animation.%20This%20value%20should%20be%20specified%20in%20a%20time%20format%20such%20as%20'500ms'%20or%20'2s'.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%220.75s%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%20%7D%0A%7D%0A"}},"./src/radio_set/page.min.js":
1524
+ \*************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{progressbar:()=>progressbar});const progressbar={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-container%20name%3D%22containerProgressLinearWrapper%22%20class%3D%22progress-linear-wrapper%22%20conditionalclass%3D%22bind%3Aprops.linear_type.toLowerCase()%20%2B%20'%20'%20%2B%20props.color.toLowerCase()%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22containerProgressLinearEndPoint%22%20conditionalclass%3D%22bind%3Aprops.linear_type.toLowerCase()%20%3D%3D%20%26quot%3Bdeterminate%26quot%3B%20%3F%20%26quot%3Bprogress-linear-stop-indicator%26quot%3B%3A%26quot%3Bprogress-linear-track-inactive%26quot%3B%22%3E%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22containerProgressLinearTrackActive%22%20class%3D%22progress-linear-track-active%22%3E%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22containerProgressLinearTrackInactive%22%20class%3D%22progress-linear-track-inactive%22%3E%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-container%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%20*%2F%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20%2F*%0A%20%20%20%20%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20%20%20%20%20*%20Widget.Variables.loggedInUser.getData()%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20widgets%20can%20be%20accessed%20through%20'Widget.Widgets'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20%20%20%20%20*%20'Widget.Widgets.username.datavalue'%0A%20%20%20%20%20*%2F%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20progress%2C%0A%20%20%20%20%20%20%20%20transition_duration%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20%2F%2F%20change%20width%20of%20progress%20and%20inactive-tracker%20%0A%20%20%20%20handleProgress(widgetMap%2C%20progress)%3B%0A%0A%20%20%20%20%2F%2F%20change%20transition%20duration%0A%20%20%20%20handleTransitionDuration(widgetMap%2C%20transition_duration)%3B%0A%7D%0A%0AWidget.onPropertyChange%20%3D%20function(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20progress%2C%0A%20%20%20%20%20%20%20%20transition_duration%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20switch%20(propname)%20%7B%0A%20%20%20%20%20%20%20%20case%20%22prop-progress%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleProgress(widgetMap%2C%20progress)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-transition_duration%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleTransitionDuration(widgetMap%2C%20transition_duration)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleProgress(widgetMap%2C%20progress)%20%7B%0A%20%20%20%20let%20progressValue%20%3D%20progress%3B%0A%20%20%20%20let%20numericValue%20%3D%20parseFloat(progressValue)%3B%0A%20%20%20%20let%20progressWrapper%20%3D%20widgetMap.containerProgressLinearWrapper.%24element%5B0%5D%3B%0A%20%20%20%20progressWrapper.style.setProperty(%22gap%22%2C%20%22var(--wm-progress-linear-gap)%22)%3B%0A%20%20%20%20if%20(numericValue%20%3E%3D%20100)%20%7B%0A%20%20%20%20%20%20%20%20progressWrapper.style.setProperty(%22gap%22%2C%200)%3B%0A%20%20%20%20%7D%0A%20%20%20%20progressWrapper.style.setProperty(%22--wm-progress-linear-width-active%22%2C%20progressValue%20%2B%20%22%25%22)%3B%0A%20%20%20%20widgetMap.containerProgressLinearTrackActive.%24element%5B0%5D.setAttribute('title'%2C%20progressValue%20%2B%20%22%25%22)%3B%0A%7D%0A%0Afunction%20handleTransitionDuration(widgetMap%2C%20transition_duration)%20%7B%0A%20%20%20%20let%20transitionDuration%20%3D%20transition_duration%20%3F%20transition_duration%20%3A%201%3B%0A%20%20%20%20let%20progressWrapper%20%3D%20widgetMap.containerProgressLinearWrapper.%24element%5B0%5D%3B%0A%20%20%20%20let%20transitionValue%20%3D%20%60%24%7BparseFloat(transitionDuration)%7Ds%60%3B%0A%20%20%20%20progressWrapper.style.setProperty(%22--wm-progress-linear-transition-duration%22%2C%20transitionValue)%3B%0A%7D%0A",styles:".app-container.progress-linear-wrapper%20%7B%0A%20%20%20%20--wm-progress-linear-width%3A%20100%25%3B%0A%20%20%20%20--wm-progress-linear-width-active%3A%200%25%3B%0A%20%20%20%20--wm-progress-linear-height%3A%204px%3B%0A%20%20%20%20--wm-progress-linear-gap%3A%204px%3B%0A%20%20%20%20--wm-progress-linear-radius%3A%208px%3B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-progress-linear-transition-duration%3A%201s%3B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20gap%3A%20var(--wm-progress-linear-gap)%3B%0A%20%20%20%20width%3A%20var(--wm-progress-linear-width)%3B%0A%20%20%20%20height%3A%20var(--wm-progress-linear-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-progress-linear-radius)%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper%20.app-container.progress-linear-stop-indicator%20%7B%0A%20%20%20%20height%3A%20var(--wm-progress-linear-height)%3B%0A%20%20%20%20width%3A%20var(--wm-progress-linear-height)%3B%0A%20%20%20%20background%3A%20var(--wm-progress-linear-background-active)%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%20%20display%3A%20inline-block%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%201%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper%20.app-container.progress-linear-track-inactive%20%7B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20background%3A%20var(--wm-progress-linear-background)%3B%0A%20%20%20%20width%3A%20calc(100%25%20-%20var(--wm-progress-linear-width-active))%3B%0A%20%20%20%20%2F*%20Full%20width%20initially%20*%2F%0A%20%20%20%20border-radius%3A%20var(--wm-progress-linear-radius)%3B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20transition%3A%20width%20var(--wm-progress-linear-transition-duration)%20ease-in-out%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper%20.app-container.progress-linear-track-active%20%7B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20background%3A%20var(--wm-progress-linear-background-active)%3B%0A%20%20%20%20width%3A%20var(--wm-progress-linear-width-active)%3B%0A%20%20%20%20%2F*%20Width%20controlled%20by%20custom%20property%20*%2F%0A%20%20%20%20border-radius%3A%20var(--wm-progress-linear-radius)%3B%0A%20%20%20%20transition%3A%20width%20var(--wm-progress-linear-transition-duration)%20ease-in-out%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.indeterminate%20%7B%0A%20%20%20%20transition%3A%20none%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.indeterminate%20.app-container.progress-linear-track-inactive%3Afirst-child%20%7B%0A%20%20%20%20width%3A%200%25%3B%0A%20%20%20%20animation%3A%20var(--wm-progress-linear-transition-duration)%20ease-in-out%200s%20infinite%20normal%20none%20running%20animation-indeterminate-start%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.indeterminate%20.app-container.progress-linear-track-inactive%3Alast-child%20%7B%0A%20%20%20%20width%3A%200%25%3B%0A%20%20%20%20animation%3A%20var(--wm-progress-linear-transition-duration)%20ease-in-out%200s%20infinite%20normal%20none%20running%20animation-indeterminate-end%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.indeterminate%20.app-container.progress-linear-track-active%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20animation%3A%20var(--wm-progress-linear-transition-duration)%20ease-in-out%200s%20infinite%20normal%20none%20running%20animation-indeterminate-active%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.secondary%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-secondary-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-secondary)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.tertiary%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-tertiary-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-tertiary)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.success%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-success-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-success)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.info%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-info-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-info)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.warning%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-warning-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-warning)%3B%0A%7D%0A%0A.app-container.progress-linear-wrapper.error%20%7B%0A%20%20%20%20--wm-progress-linear-background%3A%20var(--wm-color-error-container)%3B%0A%20%20%20%20--wm-progress-linear-background-active%3A%20var(--wm-color-error)%3B%0A%7D%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-progress-bar%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22progress%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Progress%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Sets%20the%20current%20progress%20of%20the%20bar.%20This%20value%20represents%20the%20percentage%20of%20completion.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%220%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22linear_type%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Progress%20Type%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20type%20of%20progress%20bar.%20Options%20include%20'determinate'%20for%20a%20fixed%20progress%20bar%20or%20'indeterminate'%20for%20an%20animated%20progress%20bar%20without%20a%20fixed%20end.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Determinate%22%2C%20%22Indeterminate%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Determinate%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22color%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Color%20Variant%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20type%20of%20color%20for%20progress%20indicator.%20Options%20include%20like%20'Success'%20for%20a%20success%20color%20progress%20indicator.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Primary%22%2C%20%22Secondary%22%2C%20%22Tertiary%22%2C%20%22Success%22%2C%20%22Info%22%2C%20%22Warning%22%2C%20%22Error%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Primary%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22transition_duration%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Transition%20Duration%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Defines%20the%20duration%20of%20the%20progress%20transition%20animation.%20This%20value%20should%20be%20specified%20in%20a%20time%20format%20such%20as%20'500ms'%20or%20'2s'.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%220.75s%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%20%7D%0A%7D%0A"}},"./src/radio_set/page.min.js":
1525
1525
  /*!***********************************!*\
1526
1526
  !*** ./src/radio_set/page.min.js ***!
1527
1527
  \***********************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{radio_set:()=>radio_set});const radio_set={markup:"%3Cwm-custom-widget-container%20name%3D%22partial1%22%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite1%22%20captionposition%3D%22top%22%20required%3D%22false%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-label%20class%3D%22control-label%22%20notag%3D%22true%22%20name%3D%22label1%22%20required%3D%22false%22%20caption%3D%22bind%3Aprops.label_text%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22container1%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-radioset%20height%3D%22auto%22%20name%3D%22radioset%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%22%20readonly%3D%22false%22%20dataset%3D%22bind%3Aprops.data_set%22%20datafield%3D%22All%20Fields%22%20required%3D%22bind%3Aprops.required%22%20usekeys%3D%22false%22%20datavalue%3D%22bind%3Aprops.default_value%22%3E%3C%2Fwm-radioset%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0A%0AWidget.onPropertyChange%20%3D%20function(propName%2C%20newValue%2C%20oldValue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20layout%2C%0A%20%20%20%20%20%20%20%20label_placement%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20const%20propertyHandlers%20%3D%20%7B%0A%20%20%20%20%20%20%20%20'prop-required'%3A%20()%20%3D%3E%20handleRequiredChange(widgetMap%2C%20required)%2C%0A%20%20%20%20%20%20%20%20'prop-layout'%3A%20()%20%3D%3E%20handleLayoutChange(widgetMap%2C%20layout)%2C%0A%20%20%20%20%20%20%20%20'prop-label_placement'%3A%20()%20%3D%3E%20handleLabelPlacementChange(widgetMap%2C%20label_placement)%0A%0A%20%20%20%20%7D%3B%0A%0A%20%20%20%20if%20(propertyHandlers%5BpropName%5D)%20%7B%0A%20%20%20%20%20%20%20%20propertyHandlers%5BpropName%5D()%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20layout%2C%0A%20%20%20%20%20%20%20%20label_placement%2C%0A%20%20%20%20%20%20%20%20default_value%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20handleLayoutChange(widgetMap%2C%20layout)%3B%0A%20%20%20%20handleLabelPlacementChange(widgetMap%2C%20label_placement)%0A%20%20%20%20handleRequiredChange(widgetMap%2C%20required)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.default_value%3B%0A%7D%3B%0A%0A%2F%2F%20Utility%20function%20to%20manage%20class%20additions%20and%20removals%0Afunction%20updateClasses(element%2C%20classMap)%20%7B%0A%20%20%20%20Object.keys(classMap).forEach((className)%20%3D%3E%20%7B%0A%20%20%20%20%20%20%20%20element.classList.toggle(className%2C%20classMap%5BclassName%5D)%3B%0A%20%20%20%20%7D)%3B%0A%7D%0A%0A%0Afunction%20handleLabelPlacementChange(widgetMap%2C%20label_placement)%20%7B%0A%20%20%20%20updateClasses(widgetMap.radioset.nativeElement%2C%20%7B%0A%20%20%20%20%20%20%20%20'top-placement'%3A%20label_placement%20%3D%3D%3D%20%22top%22%2C%0A%20%20%20%20%20%20%20%20'bottom-placement'%3A%20label_placement%20%3D%3D%3D%20%22bottom%22%2C%0A%20%20%20%20%20%20%20%20'start-placement'%3A%20label_placement%20%3D%3D%3D%20%22start%22%0A%20%20%20%20%7D)%3B%0A%7D%0A%0A%0A%0Afunction%20handleLayoutChange(widgetMap%2C%20layout)%20%7B%0A%20%20%20%20updateClasses(widgetMap.radioset.nativeElement%2C%20%7B%0A%20%20%20%20%20%20%20%20'horizontal'%3A%20layout%20%3D%3D%3D%20%22horizontal%22%2C%0A%20%20%20%20%20%20%20%20'vertical'%3A%20layout%20%3D%3D%3D%20%22vertical%22%0A%20%20%20%20%7D)%3B%0A%7D%0A%0Afunction%20handleRequiredChange(widgetMap%2C%20required)%20%7B%0A%20%20%20%20widgetMap.composite1.required%20%3D%20required%3B%0A%7D%0A",styles:".app-radioset.list-group.inline%2C%0A.app-radioset.list-group%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%7D%0A%0A.wm-app%20.app-radio.radio%20%7B%0A%20%20%20%20width%3A%20auto%3B%0A%7D%0A%0A.app-radioset.list-group.inline.horizontal%2C%0A.app-radioset.list-group.horizontal%20%7B%0A%20%20%20%20flex-direction%3A%20row%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%7D%0A%0A%0A%2F*%20start%20label%20placement%20styles%20%20*%2F%0A%0A.app-radioset.horizontal.start-placement%20.app-radioset-label%3E.caption%2C%0A.app-radioset.vertical.start-placement%20.app-radioset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-right%3A%20calc(var(--wm-radiobutton-state-layer-size)%20%2B%20var(--wm-radiobutton-gap))%3B%0A%7D%0A%0A.app-radioset.horizontal.start-placement%20.radio%3Elabel%20.caption%3Abefore%2C%0A.app-radioset.vertical.start-placement%20.radio%3Elabel%20.caption%3Abefore%20%7B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20right%3A%20calc((var(--wm-radiobutton-state-layer-size)%20-%20var(--wm-radiobutton-size))%20%2F%202)%3B%0A%7D%0A%0A.app-radioset.horizontal.start-placement%20.radio%3Elabel%20.caption%3Aafter%2C%0A.app-radioset.vertical.start-placement%20.radio%3Elabel%20.caption%3Aafter%20%7B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20top%3A%20calc(calc((var(--wm-radiobutton-state-layer-size)%20-%20var(--wm-radiobutton-size))%20%2F%202)%20%2B%20calc(var(--wm-radiobutton-size)%20*%200.25))%3B%0A%20%20%20%20right%3A%20calc(calc((var(--wm-radiobutton-state-layer-size)%20-%20var(--wm-radiobutton-size))%20%2F%202)%20%2B%20calc(var(--wm-radiobutton-size)%20*%200.25))%3B%0A%7D%0A%0A.app-radioset.horizontal.start-placement%20.app-radio.radio%3Elabel%3Einput%5Btype%3D%22radio%22%5D%2C%0A.app-radioset.vertical.start-placement%20.app-radio.radio%3Elabel%3Einput%5Btype%3D%22radio%22%5D%20%7B%0A%20%20%20%20left%3A%20unset%3B%0A%20%20%20%20right%3A%200px%3B%0A%7D%0A%0A%0A%2F*%20top%20label%20placement%20styles%20%20*%2F%0A%0A.app-radioset.top-placement%20%7B%0A%20%20%20%20align-items%3A%20center%3B%0A%7D%0A%0A.app-radioset.top-placement%20.app-radioset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-bottom%3A%20calc(var(--wm-radiobutton-state-layer-size)%20%2B%20var(--wm-radiobutton-gap))%3B%0A%20%20%20%20min-width%3A%2020px%3B%0A%20%20%20%20padding-top%3A%20unset%3B%0A%7D%0A%0A.app-radioset.top-placement%20.app-radioset-label%3E.caption%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%20calc(calc((var(--wm-radiobutton-state-layer-size)%20-%20var(--wm-radiobutton-size))%20%2F%202)%20%2B%20calc(var(--wm-radiobutton-caption-line-height)%20%2B%20var(--wm-radiobutton-gap)))%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.app-radioset.top-placement%20.app-radio.radio%3Elabel%3Einput%5Btype%3D%22radio%22%5D%20%7B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-radiobutton-caption-line-height)%20%2B%20var(--wm-radiobutton-gap)))%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.wm-app%20.app-radioset.top-placement%3E.app-radio.radio%3Elabel%3Einput%5Btype%3D%22radio%22%5D%3Achecked%2B.caption%3Aafter%20%7B%0A%20%20%20%20top%3A%20calc(calc((var(--wm-radiobutton-state-layer-size)%20-%20var(--wm-radiobutton-size))%20*%200.5)%20%2B%20calc(var(--wm-radiobutton-caption-line-height)%20%2B%20var(--wm-radiobutton-gap))%20%2B%20calc(var(--wm-radiobutton-size)*%200.25))%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translate(-50%25%2C%200px)%20rotate(0deg)%20scale(1)%3B%0A%20%20%20%20transition%3A%20unsetal%3B%0A%7D%0A%0A%0A%2F*%20bottom%20label%20placement%20style%20%20*%2F%0A%0A.app-radioset.top-placement%20%7B%0A%20%20%20%20align-items%3A%20center%3B%0A%7D%0A%0A.app-radioset.bottom-placement%20.app-radioset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-bottom%3A%20unset%3B%0A%20%20%20%20padding-top%3A%20calc(var(--wm-radiobutton-state-layer-size)%20%2B%20var(--wm-radiobutton-gap))%3B%0A%7D%0A%0A.app-radioset.bottom-placement%20%7B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%20%20%20%20min-width%3A%2040px%3B%0A%20%20%20%20max-width%3A%20max-content%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%7D%0A%0A.app-radioset.bottom-placement%20.app-radioset-label%3E.caption%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.app-radioset.bottom-placement%20.app-radio.radio%3Elabel%3Einput%5Btype%3D%22radio%22%5D%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.wm-app%20.app-radioset.bottom-placement%3E.app-radio.radio%3Elabel%3Einput%5Btype%3D%22radio%22%5D%3Achecked%2B.caption%3Aafter%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20transform%3A%20translate(-50%25%2C%200px)%20rotate(0deg)%20scale(1)%3B%0A%20%20%20%20transition%3A%20unset%3B%0A%7D%0A%0A.app-radio.radio%3Elabel%20.caption%3Aafter%20%7B%0A%20%20%20%20transition%3A%20unset%3B%0A%7D%0A%0A.app-radioset.horizontal.bottom-placement%20.app-radioset-label%3E.caption%20%7B%0A%20%20%20%20padding-left%3A%20unset%3B%0A%20%20%20%20padding-top%3A%20calc(var(--wm-radiobutton-state-layer-size)%20%2B%20var(--wm-radiobutton-gap))%3B%0A%20%20%20%20min-width%3A%2020px%3B%0A%20%20%20%20justify-content%3A%20center%3B%0A%20%20%20%20display%3A%20inline-flex%3B%0A%20%20%20%20margin-top%3A%20unset%3B%0A%7D%0A%0A.app-radioset.horizontal.bottom-placement%20.app-radio.radio%3Elabel%3Einput%5Btype%3D%22radio%22%5D%3Achecked%2B.caption%3Aafter%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%20calc((var(--wm-radiobutton-state-layer-size)%20-%20var(--wm-radiobutton-size))%20%2F%202)%3B%0A%20%20%20%20transform%3A%20translate(-50%25%2C%205px)%20rotate(0deg)%20scale(1)%3B%0A%20%20%20%20transition%3A%20unset%3B%0A%7D%0A%0A.app-radioset.horizontal.bottom-placement%20.app-radioset-label%3E.caption%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%20calc((var(--wm-radiobutton-state-layer-size)%20-%20var(--wm-radiobutton-size))%20%2F%202)%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A%0A.app-radioset.horizontal.bottom-placement%20.app-radio.radio%3Elabel%3Einput%5Btype%3D%22radio%22%5D%20%7B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%200px%3B%0A%20%20%20%20transform%3A%20translateX(-50%25)%3B%0A%7D%0A",variables:"%7B%20%7D",config:"%7B%0A%09%22widgetType%22%20%3A%20%22wm-radioset%22%2C%0A%09%22properties%22%20%3A%20%7B%0A%09%20%20%22layout%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22list%22%2C%0A%09%09%22displayName%22%20%3A%20%22Layout%22%2C%0A%09%09%22description%22%20%3A%20%22Defines%20the%20orientation%20of%20the%20element.%20'horizontal'%20indicates%20that%20the%20element's%20layout%20or%20behavior%20is%20aligned%20along%20the%20horizontal%20axis%20(left%20to%20right)%2C%20while%20'vertical'%20means%20the%20element%20is%20aligned%20along%20the%20vertical%20axis%20(top%20to%20bottom)%22%2C%0A%09%09%22options%22%20%3A%20%5B%20%22horizontal%22%2C%20%22vertical%22%20%5D%2C%0A%09%09%22value%22%20%3A%20%22horizontal%22%0A%09%20%20%7D%2C%0A%09%20%20%22state%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22list%22%2C%0A%09%09%22displayName%22%20%3A%20%22State%22%2C%0A%09%09%22description%22%20%3A%20%22Specifies%20whether%20the%20component%20is%20active%20or%20inactive.%20'enabled'%20means%20the%20component%20is%20interactive%20and%20functional%2C%20while%20'disabled'%20means%20it%20is%20non-interactive%20and%20inactive%22%2C%0A%09%09%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%09%09%22value%22%20%3A%20%22Enabled%22%0A%09%20%20%7D%2C%0A%09%20%20%22label_placement%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22list%22%2C%0A%09%09%22displayName%22%20%3A%20%22Label%20Placement%22%2C%0A%09%09%22description%22%20%3A%20%22Specifies%20the%20label's%20position%20relative%20to%20the%20component.%20Options%3A%20'top'%20(Label%20appears%20above%20the%20component)%2C%20'bottom'%20(Label%20appears%20below%20the%20component)%2C%20'start'%20(Label%20appears%20left%20of%20the%20component)%22%2C%0A%09%09%22options%22%20%3A%20%5B%20%22top%22%2C%20%22bottom%22%2C%20%22start%22%2C%20%22end%22%20%5D%2C%0A%09%09%22value%22%20%3A%20%22end%22%0A%09%20%20%7D%2C%0A%09%20%20%22label_text%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22string%22%2C%0A%09%09%22displayName%22%20%3A%20%22Label%20Text%22%2C%0A%09%09%22description%22%20%3A%20%22Label%20text%20informs%20users%20about%20what%20information%20is%20requested%20for%20a%20RadioSet%22%2C%0A%09%09%22value%22%20%3A%20%22Label%20Text%22%0A%09%20%20%7D%2C%0A%09%20%20%22data_set%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22string%22%2C%0A%09%09%22displayName%22%20%3A%20%22Data%20Set%20Values%22%2C%0A%09%09%22description%22%20%3A%20%22Defines%20the%20available%20options%20for%20the%20data%20set%2C%20typically%20a%20list%20of%20labels%20such%20as%20'Option1'%2C%20'Option2'%2C%20'Option3'%22%2C%0A%09%09%22value%22%20%3A%20%22Option1%2COption2%2COption3%22%0A%09%20%20%7D%2C%0A%09%20%20%22default_value%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22string%22%2C%0A%09%09%22displayName%22%20%3A%20%22Default%20Value%22%2C%0A%09%09%22description%22%20%3A%20%22Specifies%20the%20default%20value%20for%20the%20checked%20attribute.%20Default%20is%20'Option1'%22%2C%0A%09%09%22value%22%20%3A%20%22%22%0A%09%20%20%7D%2C%0A%09%20%20%22required%22%20%3A%20%7B%0A%09%09%22type%22%20%3A%20%22boolean%22%2C%0A%09%09%22displayName%22%20%3A%20%22Required%22%2C%0A%09%09%22description%22%20%3A%20%22Indicates%20whether%20the%20RadioSet%20label%20is%20mandatory.%20True%20makes%20it%20required%3B%20false%20means%20it%20is%20optional%22%2C%0A%09%09%22value%22%20%3A%20false%0A%09%20%20%7D%0A%09%7D%2C%0A%09%22events%22%20%3A%20%7B%20%7D%0A%20%20%7D%0A%20%20"}},"./src/slider/page.min.js":
1528
1528
  /*!********************************!*\
1529
1529
  !*** ./src/slider/page.min.js ***!
1530
- \********************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{slider:()=>slider});const slider={markup:"%3Cwm-custom-widget-container%20name%3D%22partial1%22%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite1%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22container1%22%20class%3D%22filled-slider%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22decrementButton%22%20iconclass%3D%22bind%3Aprops.start_icon%22%20on-click%3D%22decrementButtonClick(%24event%2C%20widget)%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-slider%20name%3D%22slider1%22%20class%3D%22cst-slider%22%20minvalue%3D%22bind%3Aprops.min_value%22%20maxvalue%3D%22bind%3Aprops.max_value%22%20datavalue%3D%22bind%3Aprops.value%22%20on-change%3D%22slider1Change(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%22%3E%3C%2Fwm-slider%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22incrementButton%22%20iconclass%3D%22bind%3Aprops.end_icon%22%20on-click%3D%22incrementButtonClick(%24event%2C%20widget)%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"Widget.onPropertyChange%20%3D%20function(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20start_icon%2C%0A%20%20%20%20%20%20%20%20end_icon%2C%0A%20%20%20%20%20%20%20%20show_icons%2C%0A%20%20%20%20%20%20%20%20icon_actions%2C%0A%20%20%20%20%20%20%20%20value%3A%20datavalue%2C%0A%20%20%20%20%20%20%20%20show_labels%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20showIconsBool%20%3D%20convertToBoolean(show_icons)%3B%0A%20%20%20%20const%20showLabelsBool%20%3D%20convertToBoolean(show_labels)%3B%0A%20%20%20%20const%20iconActionsBool%20%3D%20convertToBoolean(icon_actions)%3B%0A%0A%20%20%20%20switch%20(propname)%20%7B%0A%20%20%20%20%20%20%20%20case%20%22prop-show_icons%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20toggleIconsVisibility(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20widgetMap%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20showIconsBool%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20start_icon%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20end_icon%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20iconActionsBool%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-start_icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-end_icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-value%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateSliderValue(widgetMap%2C%20datavalue)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-show_labels%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20toggleLabelVisibilty(widgetMap%2C%20showLabelsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-max_value%22%3A%0A%20%20%20%20%20%20%20%20case%20%22prop-min_value%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateSliderValue(widgetMap%2C%20datavalue)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20start_icon%2C%0A%20%20%20%20%20%20%20%20end_icon%2C%0A%20%20%20%20%20%20%20%20show_icons%2C%0A%20%20%20%20%20%20%20%20icon_actions%2C%0A%20%20%20%20%20%20%20%20value%3A%20datavalue%2C%0A%20%20%20%20%20%20%20%20show_labels%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20const%20showIconsBool%20%3D%20convertToBoolean(show_icons)%3B%0A%20%20%20%20const%20showLabelsBool%20%3D%20convertToBoolean(show_labels)%3B%0A%20%20%20%20const%20iconActionsBool%20%3D%20convertToBoolean(icon_actions)%3B%0A%20%20%20%20toggleIconsVisibility(%0A%20%20%20%20%20%20%20%20widgetMap%2C%0A%20%20%20%20%20%20%20%20showIconsBool%2C%0A%20%20%20%20%20%20%20%20start_icon%2C%0A%20%20%20%20%20%20%20%20end_icon%2C%0A%20%20%20%20%20%20%20%20iconActionsBool%2C%0A%20%20%20%20)%3B%0A%20%20%20%20toggleLabelVisibilty(widgetMap%2C%20showLabelsBool)%3B%0A%20%20%20%20updateSliderValue(widgetMap%2C%20datavalue)%3B%0A%20%20%20%20activeSliderElement(widgetMap)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.value%3B%0A%7D%3B%0A%0Afunction%20convertToBoolean(value)%20%7B%0A%20%20%20%20return%20value%20%3D%3D%3D%20true%20%7C%7C%20value%20%3D%3D%3D%20%22true%22%3B%0A%7D%0A%0Afunction%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20decrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20decrementButton.nativeElement.style.pointerEvents%20%3D%20iconActionsBool%20%3F%0A%20%20%20%20%20%20%20%20%20%20%20%20%22auto%22%20%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%22none%22%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20false%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20incrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20incrementButton.nativeElement.style.pointerEvents%20%3D%20iconActionsBool%20%3F%0A%20%20%20%20%20%20%20%20%20%20%20%20%22auto%22%20%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%22none%22%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20false%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20updateSliderValue(widgetMap%2C%20datavalue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20slider1%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%0A%20%20%20%20if%20(datavalue%20!%3D%3D%20undefined)%20%7B%0A%20%20%20%20%20%20%20%20slider1.datavalue%20%3D%20Number(datavalue)%3B%0A%20%20%20%20%7D%0A%20%20%20%20slider1.nativeElement.style.setProperty(%22--end%22%2C%20(100%20-%20getSliderPercentage(slider1.datavalue))%20%2B%20'%25')%3B%0A%7D%0A%0Afunction%20toggleIconsVisibility(%0A%20%20%20%20widgetMap%2C%0A%20%20%20%20showIconsBool%2C%0A%20%20%20%20startIcon%2C%0A%20%20%20%20endIcon%2C%0A%20%20%20%20iconActionsBool%2C%0A%0A)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20decrementButton%2C%0A%20%20%20%20%20%20%20%20incrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20false%3B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20false%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20toggleLabelVisibilty(widgetMap%2C%20showLabelsBool)%20%7B%0A%20%20%20%20if%20(showLabelsBool)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider1.nativeElement.classList.remove(%22hide-labels%22)%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider1.nativeElement.classList.add(%22hide-labels%22)%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20activeSliderElement(widgetMap)%20%7B%0A%20%20%20%20const%20activeSlider%20%3D%20widgetMap.slider1.nativeElement%3B%20%2F%2F%20Get%20the%20slider%20element%0A%20%20%20%20if%20(activeSlider)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Create%20a%20new%20div%20element%0A%20%20%20%20%20%20%20%20const%20newDiv%20%3D%20document.createElement(%22p%22)%3B%0A%20%20%20%20%20%20%20%20newDiv.className%20%3D%20%22active-slider%22%3B%20%2F%2F%20Set%20a%20class%20for%20styling%0A%20%20%20%20%20%20%20%20%2F%2F%20Append%20the%20new%20element%20to%20slider%20container%0A%20%20%20%20%20%20%20%20activeSlider.appendChild(newDiv)%3B%0A%20%20%20%20%7D%0A%7D%0A%0A%2F*%0A%20*%20Convert%20slider%20value%20to%20percentage%20based%20on%20min%20and%20max%0A%20*%2F%0Afunction%20getSliderPercentage(value)%20%7B%0A%20%20%20%20const%20minValue%20%3D%20parseInt(Widget.props.min_value%2C%2010)%3B%0A%20%20%20%20const%20maxValue%20%3D%20parseInt(Widget.props.max_value%2C%2010)%3B%0A%20%20%20%20return%20((value%20-%20minValue)%20%2F%20(maxValue%20-%20minValue))%20*%20100%3B%0A%7D%0A%0AWidget.slider1Change%20%3D%20function(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%20%7B%0A%20%20%20%20const%20sliderValue%20%3D%0A%20%20%20%20%20%20%20%20100%20-%20getSliderPercentage(newVal)%20%2B%20%22%25%22%3B%0A%20%20%20%20widget.nativeElement.style.setProperty(%22--end%22%2C%20sliderValue)%3B%0A%7D%3B%0A%0Afunction%20moveSlider(widgetMap%2C%20direction)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20slider1%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%0A%20%20%20%20let%20newValue%20%3D%20Number(slider1.datavalue)%20%2B%20direction%3B%0A%20%20%20%20newValue%20%3D%20Math.max(Math.min(newValue%2C%20slider1.maxvalue)%2C%20slider1.minvalue)%3B%0A%20%20%20%20slider1.datavalue%20%3D%20newValue%3B%0A%20%20%20%20Widget.slider1Change(null%2C%20slider1%2C%20newValue%2C%20slider1.datavalue)%3B%0A%7D%0A%0AWidget.decrementButtonClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20moveSlider(Widget.Widgets%2C%20-1)%3B%0A%7D%3B%0A%0AWidget.incrementButtonClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20moveSlider(Widget.Widgets%2C%201)%3B%0A%7D%3B%0A",styles:".filled-slider%20%7B%0A%20%20%20%20--wm-slider-gap%3A%20var(--wm-space-3)%3B%0A%20%20%20%20--wm-slider-height%3A%20var(--wm-space-4)%3B%0A%20%20%20%20--wm-slider-border-radius%3A%20var(--wm-radius-lg)%3B%0A%20%20%20%20--wm-slider-filled-active-background%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-slider-filled-active-background-disabled%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-slider-filled-background-disabled%3A%20var(--wm-color-on-surface-focus)%3B%0A%20%20%20%20--wm-slider-filled-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-slider-filled-disabled-opacity%3A%200.38%3B%0A%20%20%20%20--wm-slider-filled-thumb-background-disabled%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-slider-filled-thumb-background%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-slider-filled-thumb-width%3A%20var(--wm-space-1)%3B%0A%20%20%20%20--wm-slider-filled-thumb-height%3A%20var(--wm-space-11)%3B%0A%20%20%20%20--wm-slider-filled-thumb-border-radius%3A%20var(%20--wm-radius-xs)%3B%0A%7D%0A%0A.app-composite-widget.form-group%3Ahas(.filled-slider)%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%20%20%20%20align-items%3A%20start%3B%0A%7D%0A%0A.app-container.filled-slider%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20gap%3A%20var(--wm-slider-gap)%3B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%20%7B%0A%20%20%20%20--start%3A%200%25%3B%0A%20%20%20%20--end%3A%20100%25%3B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20inline-size%3A%20auto%3B%0A%20%20%20%20block-size%3A%20calc(var(--wm-slider-height)%20%2B%20var(--wm-space-1))%3B%0A%20%20%20%20margin%3A%20calc(var(--wm-slider-height)%20%2B%202px)%200%3B%0A%20%20%20%20flex%3A%20none%3B%0A%20%20%20%20direction%3A%20ltr%3B%0A%20%20%20%20flex-grow%3A%201%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider.vertical%20%7B%0A%20%20%20%20flex-direction%3A%20row%3B%0A%20%20%20%20margin%3A%20var(--wm-space-2)%20auto%3B%0A%20%20%20%20padding%3A%2050%25%200%3B%0A%20%20%20%20transform%3A%20rotate(-90deg)%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%7D%0A%0A.app-container.filled-slider%3Ahas(.app-slider.slider.cst-slider.vertical)%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%7D%0A%0A.app-container.filled-slider.continous-slider%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%7D%0A%0A%5Bdir%3Drtl%5D%20.app-container.filled-slider%20.app-slider.slider.cst-slider%20%7B%0A%20%20%20%20transform%3A%20scaleX(-1)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-height)%3B%0A%20%20%20%20background%3A%20none%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%20%20margin%3A%200%3B%0A%20%20%20%20opacity%3A%20unset%3B%0A%20%20%20%20color%3A%20unset%3B%0A%20%20%20%20height%3A%20unset%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Aonly-of-type%20%7B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%2Binput%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-filled-thumb-height)%3B%0A%20%20%20%20inline-size%3A%20var(--wm-slider-filled-thumb-width)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-slider-filled-thumb-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-thumb-background)%3B%0A%20%20%20%20cursor%3A%20grab%3B%0A%20%20%20%20margin%3A%200%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-filled-thumb-height)%3B%0A%20%20%20%20inline-size%3A%20var(--wm-slider-filled-thumb-width)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-slider-filled-thumb-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-thumb-background)%3B%0A%20%20%20%20cursor%3A%20grab%3B%0A%20%20%20%20margin%3A%200%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-webkit-slider-thumb%3Aactive%20%7B%0A%20%20%20%20cursor%3A%20grabbing%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-moz-range-thumb%3Aactive%20%7B%0A%20%20%20%20cursor%3A%20grabbing%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Anot(%3Adisabled)%3Ais(%3Afocus)%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20transform%3A%20scaleX(0.6)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Anot(%3Adisabled)%3Ais(%3Afocus)%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20transform%3A%20scaleX(0.6)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%20%7B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%20%20%20%20opacity%3A%201%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%20%20%20%20opacity%3A%201%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-thumb-background-disabled)%3B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%20%20%20%20opacity%3A%20var(--wm-slider-filled-disabled-opacity)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3A%3Abefore%20%7B%0A%20%20%20%20content%3A%20%22%22%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-slider-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-background)%3B%0A%20%20%20%20clip-path%3A%20polygon(calc(var(--start)%20-%200.5rem)%200%2C%200%200%2C%200%20100%25%2C%20calc(var(--start)%20-%200.5rem)%20100%25%2C%20calc(var(--start)%20-%200.5rem)%200%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%200%2C%20100%25%200%2C%20100%25%20100%25%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%20100%25%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%200)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Ahas(input%3Adisabled)%3A%3Abefore%20%7B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-background-disabled)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%20input%5Btype%3Drange%5D%3A%3A-webkit-slider-runnable-track%20%7B%0A%20%20%20%20background%3A%20unset%3B%0A%20%20%20%20height%3A%20unset%3B%0A%20%20%20%20position%3A%20relative%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Ahas(input%3Adisabled)%3Ep.active-slider%20%7B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-active-background-disabled)%3B%0A%20%20%20%20opacity%3A%20var(--wm-slider-filled-disabled-opacity)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3E.active-slider%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200px%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-slider-border-radius)%200%200%20var(--wm-slider-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-active-background)%3B%0A%20%20%20%20z-index%3A%200%3B%0A%20%20%20%20float%3A%20unset%3B%0A%20%20%20%20vertical-align%3A%20baseline%3B%0A%20%20%20%20inset%3A%20calc(50%25%20-%200.5rem)%20var(--end)%20auto%20var(--start)%3B%0A%20%20%20%20clip-path%3A%20polygon(0%200%2C%20calc(100%25%20-%200.5rem)%200%2C%20calc(100%25%20-%200.5rem)%20100%25%2C%200%20100%25)%3B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%20var(--wm-space-6)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value.pull-left%20%7B%0A%20%20%20%20left%3A%200%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value.pull-right%20%7B%0A%20%20%20%20right%3A%200%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider.hide-labels%3E.app-slider-value.pull-left%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider.hide-labels%3E.app-slider-value.pull-right%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A",variables:"%7B%20%7D",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-slider%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Defines%20whether%20the%20widget%20is%20interactive%20or%20not.%20'Enabled'%20means%20the%20widget%20is%20interactive%20and%20functional%2C%20while%20'Disabled'%20means%20it%20is%20non-interactive%20and%20inactive.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_labels%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Labels%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20labels%20should%20be%20displayed%20on%20the%20widget.%20When%20set%20to%20true%2C%20lables%20will%20be%20shown.%20When%20false%2C%20labels%20will%20be%20hidden.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_icons%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Icons%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20icons%20should%20be%20displayed%20on%20the%20widget.%20When%20set%20to%20true%2C%20icons%20will%20be%20shown.%20When%20false%2C%20icons%20will%20be%20hidden.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22start_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Start%20Icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22The%20icon%20to%20be%20displayed%20at%20the%20start%20of%20the%20widget.%20Select%20an%20appropriate%20icon%20from%20the%20available%20options.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-minus%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22end_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22End%20Icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22The%20icon%20to%20be%20displayed%20at%20the%20end%20of%20the%20widget.%20Select%20an%20appropriate%20icon%20from%20the%20available%20options.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-plus%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22icon_actions%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Icon%20Actions%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20the%20icons%20on%20the%20widget%20are%20interactive.%20When%20set%20to%20true%2C%20icons%20will%20respond%20to%20user%20actions%20(e.g.%2C%20clicks).%20When%20false%2C%20icons%20will%20be%20displayed%20but%20not%20interactive.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Default%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Sets%20the%20default%20value%20for%20the%20slider.%20This%20value%20is%20used%20when%20the%20widget%20is%20initially%20rendered.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%2250%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22min_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22integer%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Minimum%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20smallest%20value%20the%20slider%20can%20be%20set%20to.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%220%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22max_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22integer%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Maximum%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20largest%20value%20the%20slider%20can%20be%20set%20to.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22100%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22onChange%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Change%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20changes.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget%2C%20new%20value%2C%20and%20old%20value.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22slider1Change(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22onDecrement%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Decrement%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20decreased.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22decrementButtonClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22onIncrement%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Increment%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20increased.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22incrementButtonClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/switch_button/page.min.js":
1530
+ \********************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{slider:()=>slider});const slider={markup:"%3Cwm-custom-widget-container%20name%3D%22partial1%22%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite1%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22container1%22%20class%3D%22filled-slider%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22decrementButton%22%20iconclass%3D%22bind%3Aprops.start_icon%22%20on-click%3D%22decrementButtonClick(%24event%2C%20widget)%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%3D%3D%26quot%3Bdisabled%26quot%3B%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-slider%20name%3D%22slider1%22%20class%3D%22cst-slider%22%20minvalue%3D%22bind%3Aprops.min_value%22%20maxvalue%3D%22bind%3Aprops.max_value%22%20datavalue%3D%22bind%3Aprops.value%22%20on-change%3D%22slider1Change(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%3D%3D%26quot%3Bdisabled%26quot%3B%22%3E%3C%2Fwm-slider%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22incrementButton%22%20iconclass%3D%22bind%3Aprops.end_icon%22%20on-click%3D%22incrementButtonClick(%24event%2C%20widget)%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%3D%3D%26quot%3Bdisabled%26quot%3B%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"Widget.onPropertyChange%20%3D%20function(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20start_icon%2C%0A%20%20%20%20%20%20%20%20end_icon%2C%0A%20%20%20%20%20%20%20%20show_icons%2C%0A%20%20%20%20%20%20%20%20icon_actions%2C%0A%20%20%20%20%20%20%20%20value%3A%20datavalue%2C%0A%20%20%20%20%20%20%20%20show_labels%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20showIconsBool%20%3D%20convertToBoolean(show_icons)%3B%0A%20%20%20%20const%20showLabelsBool%20%3D%20convertToBoolean(show_labels)%3B%0A%20%20%20%20const%20iconActionsBool%20%3D%20convertToBoolean(icon_actions)%3B%0A%0A%20%20%20%20switch%20(propname)%20%7B%0A%20%20%20%20%20%20%20%20case%20%22prop-show_icons%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20toggleIconsVisibility(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20widgetMap%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20showIconsBool%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20start_icon%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20end_icon%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20iconActionsBool%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-start_icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-end_icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-value%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateSliderValue(widgetMap%2C%20datavalue)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-show_labels%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20toggleLabelVisibilty(widgetMap%2C%20showLabelsBool)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-max_value%22%3A%0A%20%20%20%20%20%20%20%20case%20%22prop-min_value%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20updateSliderValue(widgetMap%2C%20datavalue)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20start_icon%2C%0A%20%20%20%20%20%20%20%20end_icon%2C%0A%20%20%20%20%20%20%20%20show_icons%2C%0A%20%20%20%20%20%20%20%20icon_actions%2C%0A%20%20%20%20%20%20%20%20value%3A%20datavalue%2C%0A%20%20%20%20%20%20%20%20show_labels%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%0A%20%20%20%20const%20showIconsBool%20%3D%20convertToBoolean(show_icons)%3B%0A%20%20%20%20const%20showLabelsBool%20%3D%20convertToBoolean(show_labels)%3B%0A%20%20%20%20const%20iconActionsBool%20%3D%20convertToBoolean(icon_actions)%3B%0A%20%20%20%20toggleIconsVisibility(%0A%20%20%20%20%20%20%20%20widgetMap%2C%0A%20%20%20%20%20%20%20%20showIconsBool%2C%0A%20%20%20%20%20%20%20%20start_icon%2C%0A%20%20%20%20%20%20%20%20end_icon%2C%0A%20%20%20%20%20%20%20%20iconActionsBool%2C%0A%20%20%20%20)%3B%0A%20%20%20%20toggleLabelVisibilty(widgetMap%2C%20showLabelsBool)%3B%0A%20%20%20%20updateSliderValue(widgetMap%2C%20datavalue)%3B%0A%20%20%20%20activeSliderElement(widgetMap)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.value%3B%0A%7D%3B%0A%0Afunction%20convertToBoolean(value)%20%7B%0A%20%20%20%20return%20value%20%3D%3D%3D%20true%20%7C%7C%20value%20%3D%3D%3D%20%22true%22%3B%0A%7D%0A%0Afunction%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20decrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20decrementButton.nativeElement.style.pointerEvents%20%3D%20iconActionsBool%20%3F%0A%20%20%20%20%20%20%20%20%20%20%20%20%22auto%22%20%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%22none%22%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20false%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20incrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20incrementButton.nativeElement.style.pointerEvents%20%3D%20iconActionsBool%20%3F%0A%20%20%20%20%20%20%20%20%20%20%20%20%22auto%22%20%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20%22none%22%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20false%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20updateSliderValue(widgetMap%2C%20datavalue)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20slider1%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%0A%20%20%20%20if%20(datavalue%20!%3D%3D%20undefined)%20%7B%0A%20%20%20%20%20%20%20%20slider1.datavalue%20%3D%20Number(datavalue)%3B%0A%20%20%20%20%7D%0A%20%20%20%20slider1.nativeElement.style.setProperty(%22--end%22%2C%20(100%20-%20getSliderPercentage(slider1.datavalue))%20%2B%20'%25')%3B%0A%7D%0A%0Afunction%20toggleIconsVisibility(%0A%20%20%20%20widgetMap%2C%0A%20%20%20%20showIconsBool%2C%0A%20%20%20%20startIcon%2C%0A%20%20%20%20endIcon%2C%0A%20%20%20%20iconActionsBool%2C%0A%0A)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20decrementButton%2C%0A%20%20%20%20%20%20%20%20incrementButton%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%0A%20%20%20%20if%20(showIconsBool)%20%7B%0A%20%20%20%20%20%20%20%20updateStartIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%20%20%20%20updateEndIconVisibility(widgetMap%2C%20iconActionsBool%2C%20showIconsBool)%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20decrementButton.show%20%3D%20false%3B%0A%20%20%20%20%20%20%20%20incrementButton.show%20%3D%20false%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20toggleLabelVisibilty(widgetMap%2C%20showLabelsBool)%20%7B%0A%20%20%20%20if%20(showLabelsBool)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider1.nativeElement.classList.remove(%22hide-labels%22)%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.slider1.nativeElement.classList.add(%22hide-labels%22)%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20activeSliderElement(widgetMap)%20%7B%0A%20%20%20%20const%20activeSlider%20%3D%20widgetMap.slider1.nativeElement%3B%20%2F%2F%20Get%20the%20slider%20element%0A%20%20%20%20if%20(activeSlider)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Create%20a%20new%20div%20element%0A%20%20%20%20%20%20%20%20const%20newDiv%20%3D%20document.createElement(%22p%22)%3B%0A%20%20%20%20%20%20%20%20newDiv.className%20%3D%20%22active-slider%22%3B%20%2F%2F%20Set%20a%20class%20for%20styling%0A%20%20%20%20%20%20%20%20%2F%2F%20Append%20the%20new%20element%20to%20slider%20container%0A%20%20%20%20%20%20%20%20activeSlider.appendChild(newDiv)%3B%0A%20%20%20%20%7D%0A%7D%0A%0A%2F*%0A%20*%20Convert%20slider%20value%20to%20percentage%20based%20on%20min%20and%20max%0A%20*%2F%0Afunction%20getSliderPercentage(value)%20%7B%0A%20%20%20%20const%20minValue%20%3D%20parseInt(Widget.props.min_value%2C%2010)%3B%0A%20%20%20%20const%20maxValue%20%3D%20parseInt(Widget.props.max_value%2C%2010)%3B%0A%20%20%20%20return%20((value%20-%20minValue)%20%2F%20(maxValue%20-%20minValue))%20*%20100%3B%0A%7D%0A%0AWidget.slider1Change%20%3D%20function(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%20%7B%0A%20%20%20%20const%20sliderValue%20%3D%0A%20%20%20%20%20%20%20%20100%20-%20getSliderPercentage(newVal)%20%2B%20%22%25%22%3B%0A%20%20%20%20widget.nativeElement.style.setProperty(%22--end%22%2C%20sliderValue)%3B%0A%7D%3B%0A%0Afunction%20moveSlider(widgetMap%2C%20direction)%20%7B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20slider1%0A%20%20%20%20%7D%20%3D%20widgetMap%3B%0A%0A%20%20%20%20let%20newValue%20%3D%20Number(slider1.datavalue)%20%2B%20direction%3B%0A%20%20%20%20newValue%20%3D%20Math.max(Math.min(newValue%2C%20slider1.maxvalue)%2C%20slider1.minvalue)%3B%0A%20%20%20%20slider1.datavalue%20%3D%20newValue%3B%0A%20%20%20%20Widget.slider1Change(null%2C%20slider1%2C%20newValue%2C%20slider1.datavalue)%3B%0A%7D%0A%0AWidget.decrementButtonClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20moveSlider(Widget.Widgets%2C%20-1)%3B%0A%7D%3B%0A%0AWidget.incrementButtonClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20moveSlider(Widget.Widgets%2C%201)%3B%0A%7D%3B%0A",styles:".filled-slider%20%7B%0A%20%20%20%20--wm-slider-gap%3A%20var(--wm-space-3)%3B%0A%20%20%20%20--wm-slider-height%3A%20var(--wm-space-4)%3B%0A%20%20%20%20--wm-slider-border-radius%3A%20var(--wm-radius-lg)%3B%0A%20%20%20%20--wm-slider-filled-active-background%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-slider-filled-active-background-disabled%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-slider-filled-background-disabled%3A%20var(--wm-color-on-surface-focus)%3B%0A%20%20%20%20--wm-slider-filled-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-slider-filled-disabled-opacity%3A%200.38%3B%0A%20%20%20%20--wm-slider-filled-thumb-background-disabled%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-slider-filled-thumb-background%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-slider-filled-thumb-width%3A%20var(--wm-space-1)%3B%0A%20%20%20%20--wm-slider-filled-thumb-height%3A%20var(--wm-space-11)%3B%0A%20%20%20%20--wm-slider-filled-thumb-border-radius%3A%20var(%20--wm-radius-xs)%3B%0A%7D%0A%0A.app-composite-widget.form-group%3Ahas(.filled-slider)%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%20%20%20%20align-items%3A%20start%3B%0A%7D%0A%0A.app-container.filled-slider%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20gap%3A%20var(--wm-slider-gap)%3B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%20%7B%0A%20%20%20%20--start%3A%200%25%3B%0A%20%20%20%20--end%3A%20100%25%3B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20inline-size%3A%20auto%3B%0A%20%20%20%20block-size%3A%20calc(var(--wm-slider-height)%20%2B%20var(--wm-space-1))%3B%0A%20%20%20%20margin%3A%20calc(var(--wm-slider-height)%20%2B%202px)%200%3B%0A%20%20%20%20flex%3A%20none%3B%0A%20%20%20%20direction%3A%20ltr%3B%0A%20%20%20%20flex-grow%3A%201%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider.vertical%20%7B%0A%20%20%20%20flex-direction%3A%20row%3B%0A%20%20%20%20margin%3A%20var(--wm-space-2)%20auto%3B%0A%20%20%20%20padding%3A%2050%25%200%3B%0A%20%20%20%20transform%3A%20rotate(-90deg)%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%7D%0A%0A.app-container.filled-slider%3Ahas(.app-slider.slider.cst-slider.vertical)%20%7B%0A%20%20%20%20flex-direction%3A%20column%3B%0A%7D%0A%0A.app-container.filled-slider.continous-slider%20%7B%0A%20%20%20%20display%3A%20flex%3B%0A%7D%0A%0A%5Bdir%3Drtl%5D%20.app-container.filled-slider%20.app-slider.slider.cst-slider%20%7B%0A%20%20%20%20transform%3A%20scaleX(-1)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-height)%3B%0A%20%20%20%20background%3A%20none%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%20%20margin%3A%200%3B%0A%20%20%20%20opacity%3A%20unset%3B%0A%20%20%20%20color%3A%20unset%3B%0A%20%20%20%20height%3A%20unset%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Aonly-of-type%20%7B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%2Binput%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-filled-thumb-height)%3B%0A%20%20%20%20inline-size%3A%20var(--wm-slider-filled-thumb-width)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-slider-filled-thumb-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-thumb-background)%3B%0A%20%20%20%20cursor%3A%20grab%3B%0A%20%20%20%20margin%3A%200%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20appearance%3A%20none%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20pointer-events%3A%20all%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-filled-thumb-height)%3B%0A%20%20%20%20inline-size%3A%20var(--wm-slider-filled-thumb-width)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-slider-filled-thumb-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-thumb-background)%3B%0A%20%20%20%20cursor%3A%20grab%3B%0A%20%20%20%20margin%3A%200%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-webkit-slider-thumb%3Aactive%20%7B%0A%20%20%20%20cursor%3A%20grabbing%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3A%3A-moz-range-thumb%3Aactive%20%7B%0A%20%20%20%20cursor%3A%20grabbing%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Anot(%3Adisabled)%3Ais(%3Afocus)%3A%3A-webkit-slider-thumb%20%7B%0A%20%20%20%20transform%3A%20scaleX(0.6)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Anot(%3Adisabled)%3Ais(%3Afocus)%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20transform%3A%20scaleX(0.6)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%20%7B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3Einput%3Adisabled%3A%3A-moz-range-thumb%20%7B%0A%20%20%20%20cursor%3A%20not-allowed%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3A%3Abefore%20%7B%0A%20%20%20%20content%3A%20%22%22%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20inline-size%3A%20100%25%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-slider-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-background)%3B%0A%20%20%20%20clip-path%3A%20polygon(calc(var(--start)%20-%200.5rem)%200%2C%200%200%2C%200%20100%25%2C%20calc(var(--start)%20-%200.5rem)%20100%25%2C%20calc(var(--start)%20-%200.5rem)%200%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%200%2C%20100%25%200%2C%20100%25%20100%25%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%20100%25%2C%20calc(100%25%20-%20var(--end)%20%2B%200.5rem)%200)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%20input%5Btype%3Drange%5D%3A%3A-webkit-slider-runnable-track%20%7B%0A%20%20%20%20background%3A%20unset%3B%0A%20%20%20%20height%3A%20unset%3B%0A%20%20%20%20position%3A%20relative%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3E.active-slider%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200px%3B%0A%20%20%20%20block-size%3A%20var(--wm-slider-height)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-slider-border-radius)%200%200%20var(--wm-slider-border-radius)%3B%0A%20%20%20%20background%3A%20var(--wm-slider-filled-active-background)%3B%0A%20%20%20%20z-index%3A%200%3B%0A%20%20%20%20float%3A%20unset%3B%0A%20%20%20%20vertical-align%3A%20baseline%3B%0A%20%20%20%20inset%3A%20calc(50%25%20-%200.5rem)%20var(--end)%20auto%20var(--start)%3B%0A%20%20%20%20clip-path%3A%20polygon(0%200%2C%20calc(100%25%20-%200.5rem)%200%2C%20calc(100%25%20-%200.5rem)%20100%25%2C%200%20100%25)%3B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%20var(--wm-space-6)%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value.pull-left%20%7B%0A%20%20%20%20left%3A%200%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider%3E.app-slider-value.pull-right%20%7B%0A%20%20%20%20right%3A%200%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider.hide-labels%3E.app-slider-value.pull-left%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.app-container.filled-slider%20.app-slider.slider.cst-slider.hide-labels%3E.app-slider-value.pull-right%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A",variables:"%7B%20%7D",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-slider%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Defines%20whether%20the%20widget%20is%20interactive%20or%20not.%20'Enabled'%20means%20the%20widget%20is%20interactive%20and%20functional%2C%20while%20'Disabled'%20means%20it%20is%20non-interactive%20and%20inactive.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_labels%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Labels%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20labels%20should%20be%20displayed%20on%20the%20widget.%20When%20set%20to%20true%2C%20lables%20will%20be%20shown.%20When%20false%2C%20labels%20will%20be%20hidden.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_icons%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20Icons%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20icons%20should%20be%20displayed%20on%20the%20widget.%20When%20set%20to%20true%2C%20icons%20will%20be%20shown.%20When%20false%2C%20icons%20will%20be%20hidden.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22start_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Start%20Icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22The%20icon%20to%20be%20displayed%20at%20the%20start%20of%20the%20widget.%20Select%20an%20appropriate%20icon%20from%20the%20available%20options.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-minus%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22end_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22End%20Icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22The%20icon%20to%20be%20displayed%20at%20the%20end%20of%20the%20widget.%20Select%20an%20appropriate%20icon%20from%20the%20available%20options.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-plus%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22icon_actions%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Icon%20Actions%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Determines%20whether%20the%20icons%20on%20the%20widget%20are%20interactive.%20When%20set%20to%20true%2C%20icons%20will%20respond%20to%20user%20actions%20(e.g.%2C%20clicks).%20When%20false%2C%20icons%20will%20be%20displayed%20but%20not%20interactive.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Default%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Sets%20the%20default%20value%20for%20the%20slider.%20This%20value%20is%20used%20when%20the%20widget%20is%20initially%20rendered.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%2250%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22min_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22integer%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Minimum%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20smallest%20value%20the%20slider%20can%20be%20set%20to.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%220%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22max_value%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22integer%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Maximum%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20largest%20value%20the%20slider%20can%20be%20set%20to.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22100%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22onChange%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Change%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20changes.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget%2C%20new%20value%2C%20and%20old%20value.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22slider1Change(%24event%2C%20widget%2C%20newVal%2C%20oldVal)%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22onDecrement%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Decrement%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20decreased.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22decrementButtonClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22onIncrement%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22function%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22On%20Increment%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20increased.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22incrementButtonClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/switch_button/page.min.js":
1531
1531
  /*!***************************************!*\
1532
1532
  !*** ./src/switch_button/page.min.js ***!
1533
- \***************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{switch_button:()=>switch_button});const switch_button={markup:"%3Cwm-custom-widget-container%20name%3D%22partial1%22%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite%22%20required%3D%22false%22%20captionposition%3D%22top%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-label%20class%3D%22%20control-label%22%20notag%3D%22true%22%20name%3D%22label1%22%20caption%3D%22bind%3Aprops.label_text%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22container1%22%20class%3D%22switch-wrapper%22%20conditionalclass%3D%22bind%3A%7B'filled-switch-wrapper'%3A%20props.switch_type%20%3D%3D%3D%20%26quot%3BFilled%26quot%3B%2C%0A'condensed-switch-wrapper'%3A%20props.switch_type%20%3D%3D%3D%20%26quot%3BCondensed%26quot%3B%2C%20%20%20%20%0A'ios-switch-wrapper'%3Aprops.switch_type%20%20%3D%3D%3D%20%26quot%3BIOS%26quot%3B%7D%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-checkbox%20caption%3D%22Toggle%22%20type%3D%22toggle%22%20name%3D%22toggle%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%3Ftrue%3Afalse%22%20datavalue%3D%22bind%3Aprops.selected%22%20class%3D%22switch%22%20checkedvalue%3D%22true%22%20uncheckedvalue%3D%22false%22%20required%3D%22bind%3Aprops.required%22%20show%3D%22true%22%3E%3C%2Fwm-checkbox%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22container2%22%20class%3D%22icon-container%22%20show%3D%22true%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22icon1%22%20iconclass%3D%22bind%3Aprops.unselected_icon%22%20show%3D%22bind%3Aprops.unselected_icon%22%20class%3D%22start-icon%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22icon2%22%20iconclass%3D%22bind%3Aprops.selected_icon%22%20show%3D%22bind%3Aprops.selected_icon%22%20class%3D%22end-icon%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20Example%3A%0A%20*%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0AWidget.onPropertyChange%20%3D%20function(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20switch_type%2C%0A%20%20%20%20%20%20%20%20icon%2C%0A%20%20%20%20%20%20%20%20unselected_icon%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20unchecked_value%2C%0A%20%20%20%20%20%20%20%20checked_value%2C%0A%20%20%20%20%20%20%20%20selected%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20switch%20(propname)%20%7B%0A%20%20%20%20%20%20%20%20case%20%22prop-switch_type%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleTypeChange(switch_type%2C%20icon%2C%20unselected_icon%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-required%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleRequiredChange(required%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-selected%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleSelectedValueChange(selected%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-checked_value%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleCheckedValueChange(checked_value%2C%20selected%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-unchecked_value%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleUnCheckedValueChange(unchecked_value%2C%20selected%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleIconVisibiltyChange(icon%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0A%2F*%20Perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20switch_type%2C%0A%20%20%20%20%20%20%20%20icon%2C%0A%20%20%20%20%20%20%20%20unselected_icon%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20unchecked_value%2C%0A%20%20%20%20%20%20%20%20checked_value%2C%0A%20%20%20%20%20%20%20%20selected%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20handleTypeChange(switch_type%2C%20icon%2C%20unselected_icon%2C%20widgetMap)%3B%0A%20%20%20%20handleRequiredChange(required%2C%20widgetMap)%3B%0A%20%20%20%20handleCheckedValueChange(checked_value%2C%20selected%2C%20widgetMap)%3B%0A%20%20%20%20handleUnCheckedValueChange(unchecked_value%2C%20selected%2C%20widgetMap)%3B%0A%20%20%20%20handleSelectedValueChange(selected%2C%20widgetMap)%3B%0A%20%20%20%20handleIconVisibiltyChange(icon%2C%20widgetMap)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.selected%3B%0A%7D%3B%0A%0Afunction%20handleTypeChange(switch_type%2C%20icon%2C%20unselected_icon%2C%20widgetMap)%20%7B%0A%20%20%20%20widgetMap.toggle.nativeElement.classList.remove(%0A%20%20%20%20%20%20%20%20%22filled-switch%22%2C%0A%20%20%20%20%20%20%20%20%22icon%22%2C%0A%20%20%20%20%20%20%20%20%22unselected-icon%22%2C%0A%20%20%20%20%20%20%20%20%22condensed-switch%22%2C%0A%20%20%20%20%20%20%20%20%22ios-switch%22%0A%20%20%20%20)%3B%0A%20%20%20%20%2F%2F%20Set%20CSS%20classes%20for%20the%20toggle%20widget%20based%20on%20the%20switch%20type%0A%20%20%20%20if%20(switch_type%20%3D%3D%3D%20%22Filled%22)%20%7B%0A%20%20%20%20%20%20%20%20if%20(icon.toString().toLowerCase()%20%3D%3D%3D%20%22true%22)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%22filled-switch%22)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.container1.nativeElement.classList.add(%22icon%22)%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%22filled-switch%22)%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%2F%2F%20Add%20'unselected-icon'%20class%20if%20no%20unselected_icon%20is%20specified%0A%20%20%20%20%20%20%20%20if%20(%0A%20%20%20%20%20%20%20%20%20%20%20%20unselected_icon%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20%20%20unselected_icon%20%3D%3D%3D%20%22%22%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20%20%20unselected_icon%20%3D%3D%3D%20%22%20%22%0A%20%20%20%20%20%20%20%20)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22filled-switch%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22unselected-icon%22%0A%20%20%20%20%20%20%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.container1.nativeElement.classList.add(%22icon%22)%3B%0A%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20(switch_type%20%3D%3D%3D%20%22Condensed%22)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Add%20'condensed-switch'%20class%0A%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%22condensed-switch%22)%3B%0A%20%20%20%20%7D%20else%20if%20(switch_type%20%3D%3D%3D%20%22IOS%22)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Add%20'iOS-switch'%20class%0A%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%22ios-switch%22)%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleRequiredChange(required%2C%20widgetMap)%20%7B%0A%20%20%20%20%2F%2F%20Set%20the%20'required'%20property%20for%20the%20composite%20widget%0A%20%20%20%20widgetMap.composite.required%20%3D%20required%3B%0A%7D%0A%0Afunction%20handleCheckedValueChange(checked_value%2C%20selected%2C%20widgetMap)%20%7B%0A%20%20%20%20%2F%2F%20Set%20the%20'checkedvalue'%20and%20'uncheckedvalue'%20properties%20for%20the%20toggle%20widget%0A%20%20%20%20widgetMap.toggle.checkedvalue%20%3D%20checked_value%3B%0A%20%20%20%20handleSelectedValueChange(selected%2C%20widgetMap)%3B%0A%7D%0A%0Afunction%20handleIconVisibiltyChange(icon%2C%20widgetMap)%20%7B%0A%20%20%20%20if%20(icon.toString().toLowerCase()%20%3D%3D%3D%20%22true%22)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.container1.nativeElement.classList.add(%22icon%22)%3B%0A%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.container1.nativeElement.classList.remove(%22icon%22)%3B%0A%0A%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleUnCheckedValueChange(unchecked_value%2C%20selected%2C%20widgetMap)%20%7B%0A%20%20%20%20widgetMap.toggle.uncheckedvalue%20%3D%20unchecked_value%3B%0A%20%20%20%20handleSelectedValueChange(selected%2C%20widgetMap)%3B%0A%7D%0A%0Afunction%20handleSelectedValueChange(selected%2C%20widgetMap)%20%7B%0A%20%20%20%20%2F%2F%20Retrieve%20the%20selected%20value%20from%20page%20parameters%0A%20%20%20%20var%20selectedValue%20%3D%20selected%3B%0A%0A%20%20%20%20%2F%2F%20Determine%20the%20correct%20'datavalue'%20based%20on%20the%20selected%20value%0A%20%20%20%20if%20(selectedValue%20%3D%3D%3D%20widgetMap.toggle.checkedvalue)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20If%20selected%20value%20matches%20the%20checked%20value%2C%20set%20datavalue%20to%20checked%20value%0A%20%20%20%20%20%20%20%20widgetMap.toggle.datavalue%20%3D%20widgetMap.toggle.checkedvalue%3B%0A%20%20%20%20%7D%20else%20if%20(selectedValue%20%3D%3D%3D%20widgetMap.toggle.uncheckedvalue)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20If%20selected%20value%20matches%20the%20unchecked%20value%2C%20set%20datavalue%20to%20unchecked%20value%0A%20%20%20%20%20%20%20%20widgetMap.toggle.datavalue%20%3D%20widgetMap.toggle.uncheckedvalue%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Log%20a%20warning%20if%20the%20selected%20value%20does%20not%20match%20known%20values%0A%20%20%20%20%20%20%20%20console.warn(%22Selected%20value%20does%20not%20match%20any%20known%20value%22)%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20Optionally%20set%20to%20a%20default%20value%20or%20handle%20the%20error%0A%20%20%20%20%20%20%20%20widgetMap.toggle.datavalue%20%3D%20widgetMap.toggle.uncheckedvalue%3B%20%2F%2F%20Default%20to%20unchecked%0A%20%20%20%20%7D%0A%7D%0A",styles:".switch-wrapper%20%7B%0A%20%20%20%20--wm-switch-height%3A%2032px%3B%0A%20%20%20%20--wm-switch-width%3A%2052px%3B%0A%20%20%20%20--wm-switch-background%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-switch-border-color%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-switch-active-background%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-switch-active-border-color%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-switch-border-style%3A%20solid%3B%0A%20%20%20%20--wm-switch-border-width%3A%202px%3B%0A%20%20%20%20--wm-switch-border-radius%3A%20100px%3B%0A%20%20%20%20--wm-switch-caption-border-radius%3A%2024px%3B%0A%20%20%20%20--wm-switch-caption-width%3A%20var(--wm-space-4)%3B%0A%20%20%20%20--wm-switch-caption-height%3A%20var(--wm-space-4)%3B%0A%20%20%20%20--wm-switch-caption-background%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-switch-caption-active-background%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-switch-tranistion%3A%200.25s%20ease-in%3B%0A%20%20%20%20--wm-switch-caption-icon-width%3A%20calc(var(--wm-switch-height)%20-%20var(--wm-space-2))%3B%0A%20%20%20%20--wm-switch-caption-icon-height%3A%20calc(var(--wm-switch-height)%20-%20var(--wm-space-2))%3B%0A%20%20%20%20--wm-switch-caption-icon-size%3A%2016px%3B%0A%20%20%20%20--wm-switch-caption-state-layer-color%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-switch-condensed-height%3A%2014px%3B%0A%20%20%20%20--wm-switch-condensed-width%3A%2034px%3B%0A%20%20%20%20--wm-switch-condensed-background%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-switch-condensed-caption-background%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-switch-condensed-active-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-switch-condensed-caption-active-background%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-switch-condensed-caption-border-radius%3A%2024px%3B%0A%20%20%20%20--wm-switch-condensed-caption-icon-width%3A%20var(--wm-space-5)%3B%0A%20%20%20%20--wm-switch-condensed-caption-icon-height%3A%20var(--wm-space-5)%3B%0A%20%20%20%20--wm-switch-condensed-shadow%3A%20var(--wm-elevation-shadow-1)%3B%0A%20%20%20%20--wm-switch-ios-height%3A%2026px%3B%0A%20%20%20%20--wm-switch-ios-width%3A%2042px%3B%0A%20%20%20%20--wm-switch-ios-background%3A%20%23E9E9EA%3B%0A%20%20%20%20--wm-switch-ios-border-color%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-switch-ios-active-background%3A%20%2365C466%3B%0A%20%20%20%20--wm-switch-ios-border-radius%3A%20100px%3B%0A%20%20%20%20--wm-switch-ios-caption-border-radius%3A%2024px%3B%0A%20%20%20%20--wm-switch-ios-caption-width%3A%2022px%3B%0A%20%20%20%20--wm-switch-ios-caption-height%3A%2022px%3B%0A%20%20%20%20--wm-switch-ios-caption-background%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-switch-ios-caption-active-background%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-switch-ios-tranistion%3A%200.25s%20ease-in%3B%0A%20%20%20%20--wm-switch-ios-caption-icon-width%3A%2022px%3B%0A%20%20%20%20--wm-switch-ios-caption-icon-height%3A%2022px%3B%0A%20%20%20%20--wm-switch-ios-caption-icon-size%3A%2016px%3B%0A%7D%0A%0A.switch-wrapper%20.app-checkbox%2C%0A.condensed-switch-wrapper%20.app-checkbox%2C%0A.ios-switch-wrapper%20.app-checkbox%20%7B%0A%20%20%20%20margin%3A%200px%3B%0A%7D%0A%0A.switch-wrapper%20%7B%0A%20%20%20%20margin%3A%208px%3B%0A%7D%0A%0A.switch-wrapper%20.switch%20label%20input%5Btype%3D%22checkbox%22%5D%2C%0A.switch-wrapper%20.switch%20label%20span.caption%2C%0A.switch-wrapper%20.switch%20label%20span.caption%3A%3Abefore%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.switch-wrapper%20.switch%20label%20%7B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20border%3A%20var(--wm-switch-border-width)%20var(--wm-switch-border-style)%20var(--wm-switch-border-color)%3B%0A%20%20%20%20background%3A%20var(--wm-switch-background)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-switch-border-radius)%3B%0A%20%20%20%20height%3A%20var(--wm-switch-height)%3B%0A%20%20%20%20min-height%3A%20var(--wm-switch-height)%3B%0A%20%20%20%20width%3A%20var(--wm-switch-width)%3B%0A%20%20%20%20user-select%3A%20none%3B%0A%20%20%20%20-webkit-tap-highlight-color%3A%20transparent%3B%0A%20%20%20%20display%3A%20block%3B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20box-shadow%3A%20unset%3B%0A%20%20%20%20overflow%3A%20visible%3B%0A%20%20%20%20margin-block%3A%208px%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.switch%20label%20%7B%0A%20%20%20%20border%3A%20var(--wm-switch-border-width)%20var(--wm-switch-border-style)%20var(--wm-switch-active-background)%3B%0A%20%20%20%20background%3A%20var(--wm-switch-active-background)%3B%0A%7D%0A%0A.switch-wrapper.icon%20.switch%20label%20%7B%0A%20%20%20%20padding%3A%200px%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20%7B%0A%20%20%20%20background%3A%20var(--wm-switch-caption-background)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-switch-caption-border-radius)%3B%0A%20%20%20%20width%3A%20var(--wm-switch-caption-width)%3B%0A%20%20%20%20height%3A%20var(--wm-switch-caption-height)%3B%0A%20%20%20%20min-height%3A%20var(--wm-switch-caption-height)%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%208px%3B%0A%20%20%20%20top%3A%2016px%3B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20justify-content%3A%20space-between%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%20%20%20%20padding%3A%200px%3B%0A%20%20%20%20transition%3A%20transform%200.3s%20ease%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%2C%0A.switch-wrapper.icon%20.icon-container%2C%0A.switch-wrapper.icon%20.icon-container%20%7B%0A%20%20%20%20top%3A%2012px%3B%0A%20%20%20%20left%3A%204px%3B%0A%20%20%20%20width%3A%20var(--wm-switch-caption-icon-width)%3B%0A%20%20%20%20height%3A%20var(--wm-switch-caption-icon-height)%3B%0A%20%20%20%20font-size%3A%20var(--wm-switch-caption-icon-size)%3B%0A%20%20%20%20max-width%3A%20var(--wm-switch-caption-icon-width)%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20%7B%0A%20%20%20%20transform%3A%20translateX(calc(var(--wm-switch-width)%20-%20var(--wm-switch-caption-width)%20-%20var(--wm-space-4)))%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.start-icon%2C%0A.switch-wrapper%20.icon-container%20.end-icon%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.switch-wrapper.icon%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Anot(%3Achecked))%20.icon-container%20span.start-icon%20%7B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.switch-wrapper.icon%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20span.end-icon%20%7B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%2C%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20%7B%0A%20%20%20%20background%3A%20var(--wm-switch-caption-active-background)%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.start-icon%2C%0A.switch-wrapper%20.icon-container%20.end-icon%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20min-height%3A%20100%25%3B%0A%20%20%20%20min-width%3A%20100%25%3B%0A%20%20%20%20color%3A%20var(--wm-switch-background)%3B%0A%20%20%20%20overflow%3A%20visible%3B%0A%20%20%20%20z-index%3A%2010%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.start-icon%20.app-icon%2C%0A.switch-wrapper%20.icon-container%20.end-icon%20.app-icon%20%7B%0A%20%20%20%20font-size%3A%20var(--wm-switch-caption-icon-size)%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.end-icon%20.app-icon%20%7B%0A%20%20%20%20color%3A%20var(--wm-switch-active-background)%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.start-icon%20.switch-wrapper%20%7B%0A%20%20%20%20position%3A%20relative%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20-webkit-appearance%3A%20none%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20content%3A%20%22%22%3B%0A%20%20%20%20left%3A%20-12px%3B%0A%20%20%20%20top%3A%20-12px%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%20%20width%3A%20calc(var(--wm-switch-caption-icon-width)%20%2B%20var(--wm-space-4))%3B%0A%20%20%20%20height%3A%20calc(var(--wm-switch-caption-icon-height)%20%2B%20var(--wm-space-4))%3B%0A%20%20%20%20background%3A%20var(--wm-switch-caption-state-layer-color)%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20opacity%3A%200%3B%0A%20%20%20%20transform%3A%20scale(1)%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%3A%3Abefore%2C%0A.switch-wrapper.icon%20.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%20-8px%3B%0A%20%20%20%20top%3A%20-8px%3B%0A%7D%0A%0A.switch-wrapper%20.app-checkbox%3Ahover~.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-opacity-hover)%3B%0A%7D%0A%0A.switch-wrapper%20.app-checkbox%3Afocus~.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-opacity-focus)%3B%0A%7D%0A%0A.switch-wrapper%20.app-checkbox%3Aactive~.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-opacity-focus)%3B%0A%7D%0A%0A%0A%2F*%20condensed%20styles%20*%2F%0A%0A.condensed-switch-wrapper%20%7B%0A%20%20%20%20--wm-switch-background%3A%20var(--wm-switch-condensed-background)%3B%0A%20%20%20%20--wm-switch-caption-icon-width%3A%20var(--wm-switch-condensed-caption-icon-width)%3B%0A%20%20%20%20--wm-switch-caption-icon-height%3A%20var(--wm-switch-condensed-caption-icon-height)%3B%0A%20%20%20%20--wm-switch-caption-width%3A%20var(--wm-switch-condensed-caption-icon-width)%3B%0A%20%20%20%20--wm-switch-caption-height%3A%20var(--wm-switch-condensed-caption-icon-height)%3B%0A%20%20%20%20--wm-switch-caption-icon-size%3A%20var(--wm-switch-condensed-caption-icon-size)%3B%0A%20%20%20%20--wm-switch-height%3A%20var(--wm-switch-condensed-height)%3B%0A%20%20%20%20--wm-switch-width%3A%20var(--wm-switch-condensed-width)%3B%0A%20%20%20%20--wm-switch-active-background%3A%20var(--wm-switch-condensed-active-background)%3B%0A%20%20%20%20--wm-switch-caption-background%3A%20var(--wm-switch-condensed-caption-background)%3B%0A%20%20%20%20--wm-switch-caption-border-radius%3A%20var(--wm-switch-condensed-caption-border-radius)%3B%0A%20%20%20%20--wm-switch-caption-active-background%3A%20var(--wm-switch-condensed-caption-active-background)%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.icon-container%20.start-icon%20.app-icon%2C%0A.condensed-switch-wrapper%20.icon-container%20.end-icon%20.app-icon%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%20-8px%3B%0A%20%20%20%20top%3A%20-8px%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.condensed-switch%20label%2C%0A.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.condensed-switch%20label%3Einput%3Achecked)%20.condensed-switch%20label%20%7B%0A%20%20%20%20border%3A%200px%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.icon-container%20%7B%0A%20%20%20%20left%3A%20-4px%3B%0A%20%20%20%20top%3A%205px%3B%0A%20%20%20%20box-shadow%3A%20var(--wm-switch-condensed-shadow)%3B%0A%7D%0A%0A.switch-wrapper.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%2C%0A.switch-wrapper.condensed-switch-wrapper.icon%20.icon-container%2C%0A.switch-wrapper.condensed-switch-wrapper.icon%20.icon-container%20%7B%0A%20%20%20%20top%3A%205px%3B%0A%20%20%20%20left%3A%20-4px%3B%0A%7D%0A%0A.switch-wrapper.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20%7B%0A%20%20%20%20transform%3A%20translateX(calc(var(--wm-switch-condensed-width)%20-%20var(--wm-switch-condensed-caption-icon-width)%20%2B%208px))%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.icon-container%20.start-icon%2C%0A.condensed-switch-wrapper%20.icon-container%20.end-icon%20%7B%0A%20%20%20%20background%3A%20var(--wm-switch-condensed-caption-background)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-switch-condensed-caption-border-radius)%3B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.condensed-switch%20label%3Einput%3Achecked)%20.icon-container%20.start-icon%2C%0A.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.condensed-switch%20label%3Einput%3Achecked)%20.icon-container%20.end-icon%20%7B%0A%20%20%20%20background%3A%20var(--wm-switch-condensed-caption-active-background)%3B%0A%7D%0A%0A%0A%2F*%20ios%20styles%20*%2F%0A%0A.ios-switch-wrapper%20%7B%0A%20%20%20%20--wm-switch-background%3A%20var(--wm-switch-ios-background)%3B%0A%20%20%20%20--wm-switch-border-radius%3A%20var(--wm-switch-ios-border-radius)%3B%0A%20%20%20%20--wm-switch-height%3A%20var(--wm-switch-ios-height)%3B%0A%20%20%20%20--wm-switch-width%3A%20var(--wm-switch-ios-width)%3B%0A%20%20%20%20--wm-switch-active-background%3A%20var(--wm-switch-ios-active-background)%3B%0A%20%20%20%20--wm-switch-caption-background%3A%20var(--wm-switch-ios-caption-background)%3B%0A%20%20%20%20--wm-switch-caption-border-radius%3A%20var(--wm-switch-ios-caption-border-radius)%3B%0A%20%20%20%20--wm-switch-caption-height%3A%20var(--wm-switch-ios-caption-height)%3B%0A%20%20%20%20--wm-switch-caption-width%3A%20var(--wm-switch-ios-caption-width)%3B%0A%20%20%20%20--wm-switch-caption-icon-height%3A%20var(--wm-switch-ios-caption-height)%3B%0A%20%20%20%20--wm-switch-caption-icon-width%3A%20var(--wm-switch-ios-caption-width)%3B%0A%20%20%20%20--wm-switch-caption-active-background%3A%20var(--wm-switch-ios-caption-active-background)%3B%0A%7D%0A%0A.ios-switch-wrapper%20.ios-switch%20label%2C%0A.ios-switch-wrapper%3Ahas(.app-toggle.checkbox.ios-switch%20label%3Einput%3Achecked)%20.ios-switch%20label%20%7B%0A%20%20%20%20border%3A%200px%3B%0A%7D%0A%0A.ios-switch-wrapper.icon%3Ahas(.app-toggle.checkbox.ios-switch)%20.ios-switch%20label%20%7B%0A%20%20%20%20padding%3A%200px%3B%0A%7D%0A%0A.ios-switch-wrapper.switch-wrapper%20.icon-container%2C%0A.switch-wrapper.ios-switch-wrapper.icon%20.icon-container%2C%0A.switch-wrapper.ios-switch-wrapper.icon%20.icon-container%20%7B%0A%20%20%20%20top%3A%2010px%3B%0A%20%20%20%20left%3A%202px%3B%0A%20%20%20%20box-shadow%3A%20var(--wm-switch-condensed-shadow)%3B%0A%7D%0A%0A.ios-switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20%7B%0A%20%20%20%20top%3A%2010px%3B%0A%20%20%20%20transform%3A%20translateX(calc(var(--wm-switch-width)%20-%20var(--wm-switch-caption-width)%20-%206px))%3B%0A%7D%0A%0A.ios-switch-wrapper%20.icon-container%20.start-icon%20.app-icon%2C%0A.ios-switch-wrapper%20.icon-container%20.end-icon%20.app-icon%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.ios-switch-wrapper%20.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%20-8px%3B%0A%20%20%20%20top%3A%20-8px%3B%0A%7D%0A",variables:"",config:"%7B%0A%09%22widgetType%22%3A%20%22wm-checkbox%22%2C%0A%09%22properties%22%3A%20%7B%0A%09%09%22switch_type%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22list%22%2C%0A%09%09%09%22displayName%22%3A%20%22Switch%20Type%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20style%20of%20the%20switch.%20Options%20include%20'filled'%2C%20'condensed'%2C%20and%20'iOS'.%22%2C%0A%09%09%09%22options%22%3A%20%5B%22Filled%22%2C%20%22Condensed%22%2C%20%22IOS%22%5D%2C%0A%09%09%09%22value%22%3A%20%22Filled%22%0A%09%09%7D%2C%0A%09%09%22state%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22list%22%2C%0A%09%09%09%22displayName%22%3A%20%22State%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20whether%20the%20component%20is%20active%20or%20inactive.%20'enabled'%20means%20the%20component%20is%20interactive%20and%20functional%2C%20while%20'disabled'%20means%20it%20is%20non-interactive%20and%20inactive.%22%2C%0A%09%09%09%22options%22%3A%20%5B%22Enabled%22%2C%20%22Disabled%22%5D%2C%0A%09%09%09%22value%22%3A%20%22Enabled%22%0A%09%09%7D%2C%0A%09%09%22label_text%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Label%20Text%22%2C%0A%09%09%09%22description%22%3A%20%22Sets%20the%20text%20displayed%20on%20the%20label%20of%20the%20switch.%22%2C%0A%09%09%09%22value%22%3A%20%22%22%0A%09%09%7D%2C%0A%09%09%22icon%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22boolean%22%2C%0A%09%09%09%22displayName%22%3A%20%22Switch%20Icons%22%2C%0A%09%09%09%22description%22%3A%20%22Enables%20or%20disables%20icon%20options%20for%20the%20switch.%20If%20true%2C%20you%20can%20select%20icons%20for%20the%20switch.%22%2C%0A%09%09%09%22value%22%3A%20false%0A%09%09%7D%2C%0A%09%09%22selected_icon%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Selected%20Icon%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20icon%20to%20use%20when%20the%20switch%20is%20in%20the%20selected%20state.%22%2C%0A%09%09%09%22value%22%3A%20%22fa%20fa-check%22%2C%0A%09%09%09%22widget%22%3A%20%22select-icon%22%0A%09%09%7D%2C%0A%09%09%22unselected_icon%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Unselected%20Icon%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20icon%20to%20use%20when%20the%20switch%20is%20in%20the%20unselected%20state.%22%2C%0A%09%09%09%22value%22%3A%20%22fa%20fa-close%22%2C%0A%09%09%09%22widget%22%3A%20%22select-icon%22%0A%09%09%7D%2C%0A%09%09%22selected%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Default%20Value%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20default%20value%20of%20the%20switch.%20This%20value%20is%20used%20to%20represent%20the%20state%20of%20the%20switch.%20For%20example%2C%20'true'%20for%20checked%20and%20'false'%20for%20unchecked.%22%2C%0A%09%09%09%22value%22%3A%20%22false%22%0A%09%09%7D%2C%0A%09%09%22checked_value%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Checked%20Value%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20value%20to%20represent%20the%20switch%20when%20it%20is%20checked.%22%2C%0A%09%09%09%22value%22%3A%20%22true%22%0A%09%09%7D%2C%0A%09%09%22unchecked_value%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Unchecked%20Value%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20value%20to%20represent%20the%20switch%20when%20it%20is%20unchecked.%22%2C%0A%09%09%09%22value%22%3A%20%22false%22%0A%09%09%7D%2C%0A%09%09%22required%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22boolean%22%2C%0A%09%09%09%22displayName%22%3A%20%22Required%22%2C%0A%09%09%09%22description%22%3A%20%22Indicates%20whether%20the%20switch%20is%20required.%20Set%20to%20true%20to%20make%20it%20a%20required%20field.%22%2C%0A%09%09%09%22value%22%3A%20false%0A%09%09%7D%0A%09%7D%2C%0A%09%22events%22%3A%20%7B%7D%0A%7D%0A"}},"./src/textfield/page.min.js":
1533
+ \***************************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{switch_button:()=>switch_button});const switch_button={markup:"%3Cwm-custom-widget-container%20name%3D%22partial1%22%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite%22%20required%3D%22false%22%20captionposition%3D%22top%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-label%20class%3D%22%20control-label%22%20notag%3D%22true%22%20name%3D%22label1%22%20caption%3D%22bind%3Aprops.label_text%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22container1%22%20class%3D%22switch-wrapper%22%20conditionalclass%3D%22bind%3A%7B'filled-switch-wrapper'%3A%20props.switch_type%20%3D%3D%3D%20%26quot%3BFilled%26quot%3B%2C%0A'condensed-switch-wrapper'%3A%20props.switch_type%20%3D%3D%3D%20%26quot%3BCondensed%26quot%3B%2C%20%20%20%20%0A'ios-switch-wrapper'%3Aprops.switch_type%20%20%3D%3D%3D%20%26quot%3BIOS%26quot%3B%7D%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-checkbox%20caption%3D%22Toggle%22%20type%3D%22toggle%22%20name%3D%22toggle%22%20disabled%3D%22bind%3Aprops.state%3D%3D%26quot%3BDisabled%26quot%3B%3Ftrue%3Afalse%22%20datavalue%3D%22bind%3Aprops.selected%22%20class%3D%22switch%22%20checkedvalue%3D%22true%22%20uncheckedvalue%3D%22false%22%20required%3D%22bind%3Aprops.required%22%20show%3D%22true%22%3E%3C%2Fwm-checkbox%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-container%20name%3D%22container2%22%20class%3D%22icon-container%22%20show%3D%22true%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22icon1%22%20iconclass%3D%22bind%3Aprops.unselected_icon%22%20show%3D%22bind%3Aprops.unselected_icon%22%20class%3D%22start-icon%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-icon%20name%3D%22icon2%22%20iconclass%3D%22bind%3Aprops.selected_icon%22%20show%3D%22bind%3Aprops.selected_icon%22%20class%3D%22end-icon%22%3E%3C%2Fwm-icon%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20Example%3A%0A%20*%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%0AWidget.onPropertyChange%20%3D%20function(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20switch_type%2C%0A%20%20%20%20%20%20%20%20icon%2C%0A%20%20%20%20%20%20%20%20unselected_icon%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20unchecked_value%2C%0A%20%20%20%20%20%20%20%20checked_value%2C%0A%20%20%20%20%20%20%20%20selected%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20switch%20(propname)%20%7B%0A%20%20%20%20%20%20%20%20case%20%22prop-switch_type%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleTypeChange(switch_type%2C%20icon%2C%20unselected_icon%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-required%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleRequiredChange(required%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-selected%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleSelectedValueChange(selected%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-checked_value%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleCheckedValueChange(checked_value%2C%20selected%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-unchecked_value%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleUnCheckedValueChange(unchecked_value%2C%20selected%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%20%20%20%20case%20%22prop-icon%22%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleIconVisibiltyChange(icon%2C%20widgetMap)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%7D%3B%0A%0A%2F*%20Perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20switch_type%2C%0A%20%20%20%20%20%20%20%20icon%2C%0A%20%20%20%20%20%20%20%20unselected_icon%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%20%20%20%20unchecked_value%2C%0A%20%20%20%20%20%20%20%20checked_value%2C%0A%20%20%20%20%20%20%20%20selected%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%3B%0A%20%20%20%20handleTypeChange(switch_type%2C%20icon%2C%20unselected_icon%2C%20widgetMap)%3B%0A%20%20%20%20handleRequiredChange(required%2C%20widgetMap)%3B%0A%20%20%20%20handleCheckedValueChange(checked_value%2C%20selected%2C%20widgetMap)%3B%0A%20%20%20%20handleUnCheckedValueChange(unchecked_value%2C%20selected%2C%20widgetMap)%3B%0A%20%20%20%20handleSelectedValueChange(selected%2C%20widgetMap)%3B%0A%20%20%20%20handleIconVisibiltyChange(icon%2C%20widgetMap)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.selected%3B%0A%7D%3B%0A%0Afunction%20handleTypeChange(switch_type%2C%20icon%2C%20unselected_icon%2C%20widgetMap)%20%7B%0A%20%20%20%20widgetMap.toggle.nativeElement.classList.remove(%0A%20%20%20%20%20%20%20%20%22filled-switch%22%2C%0A%20%20%20%20%20%20%20%20%22icon%22%2C%0A%20%20%20%20%20%20%20%20%22unselected-icon%22%2C%0A%20%20%20%20%20%20%20%20%22condensed-switch%22%2C%0A%20%20%20%20%20%20%20%20%22ios-switch%22%0A%20%20%20%20)%3B%0A%20%20%20%20%2F%2F%20Set%20CSS%20classes%20for%20the%20toggle%20widget%20based%20on%20the%20switch%20type%0A%20%20%20%20if%20(switch_type%20%3D%3D%3D%20%22Filled%22)%20%7B%0A%20%20%20%20%20%20%20%20if%20(icon.toString().toLowerCase()%20%3D%3D%3D%20%22true%22)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%22filled-switch%22)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.container1.nativeElement.classList.add(%22icon%22)%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%22filled-switch%22)%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%2F%2F%20Add%20'unselected-icon'%20class%20if%20no%20unselected_icon%20is%20specified%0A%20%20%20%20%20%20%20%20if%20(%0A%20%20%20%20%20%20%20%20%20%20%20%20unselected_icon%20%3D%3D%20null%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20%20%20unselected_icon%20%3D%3D%3D%20%22%22%20%7C%7C%0A%20%20%20%20%20%20%20%20%20%20%20%20unselected_icon%20%3D%3D%3D%20%22%20%22%0A%20%20%20%20%20%20%20%20)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22filled-switch%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22unselected-icon%22%0A%20%20%20%20%20%20%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20widgetMap.container1.nativeElement.classList.add(%22icon%22)%3B%0A%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20if%20(switch_type%20%3D%3D%3D%20%22Condensed%22)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Add%20'condensed-switch'%20class%0A%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%22condensed-switch%22)%3B%0A%20%20%20%20%7D%20else%20if%20(switch_type%20%3D%3D%3D%20%22IOS%22)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Add%20'iOS-switch'%20class%0A%20%20%20%20%20%20%20%20widgetMap.toggle.nativeElement.classList.add(%22ios-switch%22)%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleRequiredChange(required%2C%20widgetMap)%20%7B%0A%20%20%20%20%2F%2F%20Set%20the%20'required'%20property%20for%20the%20composite%20widget%0A%20%20%20%20widgetMap.composite.required%20%3D%20required%3B%0A%7D%0A%0Afunction%20handleCheckedValueChange(checked_value%2C%20selected%2C%20widgetMap)%20%7B%0A%20%20%20%20%2F%2F%20Set%20the%20'checkedvalue'%20and%20'uncheckedvalue'%20properties%20for%20the%20toggle%20widget%0A%20%20%20%20widgetMap.toggle.checkedvalue%20%3D%20checked_value%3B%0A%20%20%20%20handleSelectedValueChange(selected%2C%20widgetMap)%3B%0A%7D%0A%0Afunction%20handleIconVisibiltyChange(icon%2C%20widgetMap)%20%7B%0A%20%20%20%20if%20(icon.toString().toLowerCase()%20%3D%3D%3D%20%22true%22)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.container1.nativeElement.classList.add(%22icon%22)%3B%0A%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.container1.nativeElement.classList.remove(%22icon%22)%3B%0A%0A%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleUnCheckedValueChange(unchecked_value%2C%20selected%2C%20widgetMap)%20%7B%0A%20%20%20%20widgetMap.toggle.uncheckedvalue%20%3D%20unchecked_value%3B%0A%20%20%20%20handleSelectedValueChange(selected%2C%20widgetMap)%3B%0A%7D%0A%0Afunction%20handleSelectedValueChange(selected%2C%20widgetMap)%20%7B%0A%20%20%20%20%2F%2F%20Retrieve%20the%20selected%20value%20from%20page%20parameters%0A%20%20%20%20var%20selectedValue%20%3D%20selected%3B%0A%0A%20%20%20%20%2F%2F%20Determine%20the%20correct%20'datavalue'%20based%20on%20the%20selected%20value%0A%20%20%20%20if%20(selectedValue%20%3D%3D%3D%20widgetMap.toggle.checkedvalue)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20If%20selected%20value%20matches%20the%20checked%20value%2C%20set%20datavalue%20to%20checked%20value%0A%20%20%20%20%20%20%20%20widgetMap.toggle.datavalue%20%3D%20widgetMap.toggle.checkedvalue%3B%0A%20%20%20%20%7D%20else%20if%20(selectedValue%20%3D%3D%3D%20widgetMap.toggle.uncheckedvalue)%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20If%20selected%20value%20matches%20the%20unchecked%20value%2C%20set%20datavalue%20to%20unchecked%20value%0A%20%20%20%20%20%20%20%20widgetMap.toggle.datavalue%20%3D%20widgetMap.toggle.uncheckedvalue%3B%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Log%20a%20warning%20if%20the%20selected%20value%20does%20not%20match%20known%20values%0A%20%20%20%20%20%20%20%20console.warn(%22Selected%20value%20does%20not%20match%20any%20known%20value%22)%3B%0A%20%20%20%20%20%20%20%20%2F%2F%20Optionally%20set%20to%20a%20default%20value%20or%20handle%20the%20error%0A%20%20%20%20%20%20%20%20widgetMap.toggle.datavalue%20%3D%20widgetMap.toggle.uncheckedvalue%3B%20%2F%2F%20Default%20to%20unchecked%0A%20%20%20%20%7D%0A%7D%0A",styles:".switch-wrapper%20%7B%0A%20%20%20%20--wm-switch-height%3A%2032px%3B%0A%20%20%20%20--wm-switch-width%3A%2052px%3B%0A%20%20%20%20--wm-switch-background%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20--wm-switch-border-color%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-switch-active-background%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-switch-active-border-color%3A%20var(--wm-color-surface-tint)%3B%0A%20%20%20%20--wm-switch-border-style%3A%20solid%3B%0A%20%20%20%20--wm-switch-border-width%3A%202px%3B%0A%20%20%20%20--wm-switch-border-radius%3A%20100px%3B%0A%20%20%20%20--wm-switch-caption-border-radius%3A%2024px%3B%0A%20%20%20%20--wm-switch-caption-width%3A%20var(--wm-space-4)%3B%0A%20%20%20%20--wm-switch-caption-height%3A%20var(--wm-space-4)%3B%0A%20%20%20%20--wm-switch-caption-background%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-switch-caption-active-background%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-switch-tranistion%3A%200.25s%20ease-in%3B%0A%20%20%20%20--wm-switch-caption-icon-width%3A%20calc(var(--wm-switch-height)%20-%20var(--wm-space-2))%3B%0A%20%20%20%20--wm-switch-caption-icon-height%3A%20calc(var(--wm-switch-height)%20-%20var(--wm-space-2))%3B%0A%20%20%20%20--wm-switch-caption-icon-size%3A%2016px%3B%0A%20%20%20%20--wm-switch-caption-state-layer-color%3A%20var(--wm-color-on-surface)%3B%0A%20%20%20%20--wm-switch-condensed-height%3A%2014px%3B%0A%20%20%20%20--wm-switch-condensed-width%3A%2034px%3B%0A%20%20%20%20--wm-switch-condensed-background%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-switch-condensed-caption-background%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-switch-condensed-active-background%3A%20var(--wm-color-primary-container)%3B%0A%20%20%20%20--wm-switch-condensed-caption-active-background%3A%20var(--wm-color-primary)%3B%0A%20%20%20%20--wm-switch-condensed-caption-border-radius%3A%2024px%3B%0A%20%20%20%20--wm-switch-condensed-caption-icon-width%3A%20var(--wm-space-5)%3B%0A%20%20%20%20--wm-switch-condensed-caption-icon-height%3A%20var(--wm-space-5)%3B%0A%20%20%20%20--wm-switch-condensed-shadow%3A%20var(--wm-elevation-shadow-1)%3B%0A%20%20%20%20--wm-switch-ios-height%3A%2026px%3B%0A%20%20%20%20--wm-switch-ios-width%3A%2042px%3B%0A%20%20%20%20--wm-switch-ios-background%3A%20%23E9E9EA%3B%0A%20%20%20%20--wm-switch-ios-border-color%3A%20var(--wm-color-outline)%3B%0A%20%20%20%20--wm-switch-ios-active-background%3A%20%2365C466%3B%0A%20%20%20%20--wm-switch-ios-border-radius%3A%20100px%3B%0A%20%20%20%20--wm-switch-ios-caption-border-radius%3A%2024px%3B%0A%20%20%20%20--wm-switch-ios-caption-width%3A%2022px%3B%0A%20%20%20%20--wm-switch-ios-caption-height%3A%2022px%3B%0A%20%20%20%20--wm-switch-ios-caption-background%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-switch-ios-caption-active-background%3A%20var(--wm-color-on-primary)%3B%0A%20%20%20%20--wm-switch-ios-tranistion%3A%200.25s%20ease-in%3B%0A%20%20%20%20--wm-switch-ios-caption-icon-width%3A%2022px%3B%0A%20%20%20%20--wm-switch-ios-caption-icon-height%3A%2022px%3B%0A%20%20%20%20--wm-switch-ios-caption-icon-size%3A%2016px%3B%0A%7D%0A%0A.switch-wrapper%20.app-checkbox%2C%0A.condensed-switch-wrapper%20.app-checkbox%2C%0A.ios-switch-wrapper%20.app-checkbox%20%7B%0A%20%20%20%20margin%3A%200px%3B%0A%7D%0A%0A.switch-wrapper%20%7B%0A%20%20%20%20margin%3A%208px%3B%0A%7D%0A%0A.switch-wrapper%20.switch%20label%20input%5Btype%3D%22checkbox%22%5D%2C%0A.switch-wrapper%20.switch%20label%20span.caption%2C%0A.switch-wrapper%20.switch%20label%20span.caption%3A%3Abefore%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.switch-wrapper%20.switch%20label%20%7B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20border%3A%20var(--wm-switch-border-width)%20var(--wm-switch-border-style)%20var(--wm-switch-border-color)%3B%0A%20%20%20%20background%3A%20var(--wm-switch-background)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-switch-border-radius)%3B%0A%20%20%20%20height%3A%20var(--wm-switch-height)%3B%0A%20%20%20%20min-height%3A%20var(--wm-switch-height)%3B%0A%20%20%20%20width%3A%20var(--wm-switch-width)%3B%0A%20%20%20%20user-select%3A%20none%3B%0A%20%20%20%20-webkit-tap-highlight-color%3A%20transparent%3B%0A%20%20%20%20display%3A%20block%3B%0A%20%20%20%20position%3A%20relative%3B%0A%20%20%20%20box-shadow%3A%20unset%3B%0A%20%20%20%20overflow%3A%20visible%3B%0A%20%20%20%20margin-block%3A%208px%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.switch%20label%20%7B%0A%20%20%20%20border%3A%20var(--wm-switch-border-width)%20var(--wm-switch-border-style)%20var(--wm-switch-active-background)%3B%0A%20%20%20%20background%3A%20var(--wm-switch-active-background)%3B%0A%7D%0A%0A.switch-wrapper.icon%20.switch%20label%20%7B%0A%20%20%20%20padding%3A%200px%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20%7B%0A%20%20%20%20background%3A%20var(--wm-switch-caption-background)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-switch-caption-border-radius)%3B%0A%20%20%20%20width%3A%20var(--wm-switch-caption-width)%3B%0A%20%20%20%20height%3A%20var(--wm-switch-caption-height)%3B%0A%20%20%20%20min-height%3A%20var(--wm-switch-caption-height)%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%208px%3B%0A%20%20%20%20top%3A%2016px%3B%0A%20%20%20%20display%3A%20flex%3B%0A%20%20%20%20justify-content%3A%20space-between%3B%0A%20%20%20%20align-items%3A%20center%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%20%20%20%20padding%3A%200px%3B%0A%20%20%20%20transition%3A%20transform%200.3s%20ease%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%2C%0A.switch-wrapper.icon%20.icon-container%2C%0A.switch-wrapper.icon%20.icon-container%20%7B%0A%20%20%20%20top%3A%2012px%3B%0A%20%20%20%20left%3A%204px%3B%0A%20%20%20%20width%3A%20var(--wm-switch-caption-icon-width)%3B%0A%20%20%20%20height%3A%20var(--wm-switch-caption-icon-height)%3B%0A%20%20%20%20font-size%3A%20var(--wm-switch-caption-icon-size)%3B%0A%20%20%20%20max-width%3A%20var(--wm-switch-caption-icon-width)%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20%7B%0A%20%20%20%20transform%3A%20translateX(calc(var(--wm-switch-width)%20-%20var(--wm-switch-caption-width)%20-%20var(--wm-space-4)))%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.start-icon%2C%0A.switch-wrapper%20.icon-container%20.end-icon%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.switch-wrapper.icon%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Anot(%3Achecked))%20.icon-container%20span.start-icon%20%7B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.switch-wrapper.icon%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20span.end-icon%20%7B%0A%20%20%20%20display%3A%20block%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%2C%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20%7B%0A%20%20%20%20background%3A%20var(--wm-switch-caption-active-background)%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.start-icon%2C%0A.switch-wrapper%20.icon-container%20.end-icon%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20min-height%3A%20100%25%3B%0A%20%20%20%20min-width%3A%20100%25%3B%0A%20%20%20%20color%3A%20var(--wm-switch-background)%3B%0A%20%20%20%20overflow%3A%20visible%3B%0A%20%20%20%20z-index%3A%2010%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.start-icon%20.app-icon%2C%0A.switch-wrapper%20.icon-container%20.end-icon%20.app-icon%20%7B%0A%20%20%20%20font-size%3A%20var(--wm-switch-caption-icon-size)%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.end-icon%20.app-icon%20%7B%0A%20%20%20%20color%3A%20var(--wm-switch-active-background)%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%20.start-icon%20.switch-wrapper%20%7B%0A%20%20%20%20position%3A%20relative%3B%0A%7D%0A%0A.switch-wrapper%20.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20-webkit-appearance%3A%20none%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20content%3A%20%22%22%3B%0A%20%20%20%20left%3A%20-12px%3B%0A%20%20%20%20top%3A%20-12px%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%20%20width%3A%20calc(var(--wm-switch-caption-icon-width)%20%2B%20var(--wm-space-4))%3B%0A%20%20%20%20height%3A%20calc(var(--wm-switch-caption-icon-height)%20%2B%20var(--wm-space-4))%3B%0A%20%20%20%20background%3A%20var(--wm-switch-caption-state-layer-color)%3B%0A%20%20%20%20box-shadow%3A%20none%3B%0A%20%20%20%20outline%3A%20none%3B%0A%20%20%20%20opacity%3A%200%3B%0A%20%20%20%20transform%3A%20scale(1)%3B%0A%20%20%20%20pointer-events%3A%20none%3B%0A%7D%0A%0A.switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%3A%3Abefore%2C%0A.switch-wrapper.icon%20.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%20-8px%3B%0A%20%20%20%20top%3A%20-8px%3B%0A%7D%0A%0A.switch-wrapper%20.app-checkbox%3Ahover~.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-opacity-hover)%3B%0A%7D%0A%0A.switch-wrapper%20.app-checkbox%3Afocus~.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-opacity-focus)%3B%0A%7D%0A%0A.switch-wrapper%20.app-checkbox%3Aactive~.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20opacity%3A%20var(--wm-opacity-focus)%3B%0A%7D%0A%0A%0A%2F*%20condensed%20styles%20*%2F%0A%0A.condensed-switch-wrapper%20%7B%0A%20%20%20%20--wm-switch-background%3A%20var(--wm-switch-condensed-background)%3B%0A%20%20%20%20--wm-switch-caption-icon-width%3A%20var(--wm-switch-condensed-caption-icon-width)%3B%0A%20%20%20%20--wm-switch-caption-icon-height%3A%20var(--wm-switch-condensed-caption-icon-height)%3B%0A%20%20%20%20--wm-switch-caption-width%3A%20var(--wm-switch-condensed-caption-icon-width)%3B%0A%20%20%20%20--wm-switch-caption-height%3A%20var(--wm-switch-condensed-caption-icon-height)%3B%0A%20%20%20%20--wm-switch-caption-icon-size%3A%20var(--wm-switch-condensed-caption-icon-size)%3B%0A%20%20%20%20--wm-switch-height%3A%20var(--wm-switch-condensed-height)%3B%0A%20%20%20%20--wm-switch-width%3A%20var(--wm-switch-condensed-width)%3B%0A%20%20%20%20--wm-switch-active-background%3A%20var(--wm-switch-condensed-active-background)%3B%0A%20%20%20%20--wm-switch-caption-background%3A%20var(--wm-switch-condensed-caption-background)%3B%0A%20%20%20%20--wm-switch-caption-border-radius%3A%20var(--wm-switch-condensed-caption-border-radius)%3B%0A%20%20%20%20--wm-switch-caption-active-background%3A%20var(--wm-switch-condensed-caption-active-background)%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.icon-container%20.start-icon%20.app-icon%2C%0A.condensed-switch-wrapper%20.icon-container%20.end-icon%20.app-icon%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%20-8px%3B%0A%20%20%20%20top%3A%20-8px%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.condensed-switch%20label%2C%0A.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.condensed-switch%20label%3Einput%3Achecked)%20.condensed-switch%20label%20%7B%0A%20%20%20%20border%3A%200px%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.icon-container%20%7B%0A%20%20%20%20left%3A%20-4px%3B%0A%20%20%20%20top%3A%205px%3B%0A%20%20%20%20box-shadow%3A%20var(--wm-switch-condensed-shadow)%3B%0A%7D%0A%0A.switch-wrapper.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%2C%0A.switch-wrapper.condensed-switch-wrapper.icon%20.icon-container%2C%0A.switch-wrapper.condensed-switch-wrapper.icon%20.icon-container%20%7B%0A%20%20%20%20top%3A%205px%3B%0A%20%20%20%20left%3A%20-4px%3B%0A%7D%0A%0A.switch-wrapper.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20%7B%0A%20%20%20%20transform%3A%20translateX(calc(var(--wm-switch-condensed-width)%20-%20var(--wm-switch-condensed-caption-icon-width)%20%2B%208px))%3B%0A%7D%0A%0A.condensed-switch-wrapper%20.icon-container%20.start-icon%2C%0A.condensed-switch-wrapper%20.icon-container%20.end-icon%20%7B%0A%20%20%20%20background%3A%20var(--wm-switch-condensed-caption-background)%3B%0A%20%20%20%20border-radius%3A%20var(--wm-switch-condensed-caption-border-radius)%3B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.condensed-switch%20label%3Einput%3Achecked)%20.icon-container%20.start-icon%2C%0A.condensed-switch-wrapper%3Ahas(.app-toggle.checkbox.condensed-switch%20label%3Einput%3Achecked)%20.icon-container%20.end-icon%20%7B%0A%20%20%20%20background%3A%20var(--wm-switch-condensed-caption-active-background)%3B%0A%7D%0A%0A%0A%2F*%20ios%20styles%20*%2F%0A%0A.ios-switch-wrapper%20%7B%0A%20%20%20%20--wm-switch-background%3A%20var(--wm-switch-ios-background)%3B%0A%20%20%20%20--wm-switch-border-radius%3A%20var(--wm-switch-ios-border-radius)%3B%0A%20%20%20%20--wm-switch-height%3A%20var(--wm-switch-ios-height)%3B%0A%20%20%20%20--wm-switch-width%3A%20var(--wm-switch-ios-width)%3B%0A%20%20%20%20--wm-switch-active-background%3A%20var(--wm-switch-ios-active-background)%3B%0A%20%20%20%20--wm-switch-caption-background%3A%20var(--wm-switch-ios-caption-background)%3B%0A%20%20%20%20--wm-switch-caption-border-radius%3A%20var(--wm-switch-ios-caption-border-radius)%3B%0A%20%20%20%20--wm-switch-caption-height%3A%20var(--wm-switch-ios-caption-height)%3B%0A%20%20%20%20--wm-switch-caption-width%3A%20var(--wm-switch-ios-caption-width)%3B%0A%20%20%20%20--wm-switch-caption-icon-height%3A%20var(--wm-switch-ios-caption-height)%3B%0A%20%20%20%20--wm-switch-caption-icon-width%3A%20var(--wm-switch-ios-caption-width)%3B%0A%20%20%20%20--wm-switch-caption-active-background%3A%20var(--wm-switch-ios-caption-active-background)%3B%0A%7D%0A%0A.ios-switch-wrapper%20.ios-switch%20label%2C%0A.ios-switch-wrapper%3Ahas(.app-toggle.checkbox.ios-switch%20label%3Einput%3Achecked)%20.ios-switch%20label%20%7B%0A%20%20%20%20border%3A%200px%3B%0A%7D%0A%0A.ios-switch-wrapper.icon%3Ahas(.app-toggle.checkbox.ios-switch)%20.ios-switch%20label%20%7B%0A%20%20%20%20padding%3A%200px%3B%0A%7D%0A%0A.ios-switch-wrapper.switch-wrapper%20.icon-container%2C%0A.switch-wrapper.ios-switch-wrapper.icon%20.icon-container%2C%0A.switch-wrapper.ios-switch-wrapper.icon%20.icon-container%20%7B%0A%20%20%20%20top%3A%2010px%3B%0A%20%20%20%20left%3A%202px%3B%0A%20%20%20%20box-shadow%3A%20var(--wm-switch-condensed-shadow)%3B%0A%7D%0A%0A.ios-switch-wrapper%3Ahas(.app-toggle.checkbox.switch%20label%3Einput%3Achecked)%20.icon-container%20%7B%0A%20%20%20%20top%3A%2010px%3B%0A%20%20%20%20transform%3A%20translateX(calc(var(--wm-switch-width)%20-%20var(--wm-switch-caption-width)%20-%206px))%3B%0A%7D%0A%0A.ios-switch-wrapper%20.icon-container%20.start-icon%20.app-icon%2C%0A.ios-switch-wrapper%20.icon-container%20.end-icon%20.app-icon%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.ios-switch-wrapper%20.icon-container%3A%3Abefore%20%7B%0A%20%20%20%20left%3A%20-8px%3B%0A%20%20%20%20top%3A%20-8px%3B%0A%7D%0A",variables:"%7B%20%7D",config:"%7B%0A%09%22widgetType%22%3A%20%22wm-checkbox%22%2C%0A%09%22properties%22%3A%20%7B%0A%09%09%22switch_type%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22list%22%2C%0A%09%09%09%22displayName%22%3A%20%22Switch%20Type%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20style%20of%20the%20switch.%20Options%20include%20'filled'%2C%20'condensed'%2C%20and%20'iOS'.%22%2C%0A%09%09%09%22options%22%3A%20%5B%22Filled%22%2C%20%22Condensed%22%2C%20%22IOS%22%5D%2C%0A%09%09%09%22value%22%3A%20%22Filled%22%0A%09%09%7D%2C%0A%09%09%22state%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22list%22%2C%0A%09%09%09%22displayName%22%3A%20%22State%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20whether%20the%20component%20is%20active%20or%20inactive.%20'enabled'%20means%20the%20component%20is%20interactive%20and%20functional%2C%20while%20'disabled'%20means%20it%20is%20non-interactive%20and%20inactive.%22%2C%0A%09%09%09%22options%22%3A%20%5B%22Enabled%22%2C%20%22Disabled%22%5D%2C%0A%09%09%09%22value%22%3A%20%22Enabled%22%0A%09%09%7D%2C%0A%09%09%22label_text%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Label%20Text%22%2C%0A%09%09%09%22description%22%3A%20%22Sets%20the%20text%20displayed%20on%20the%20label%20of%20the%20switch.%22%2C%0A%09%09%09%22value%22%3A%20%22%22%0A%09%09%7D%2C%0A%09%09%22icon%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22boolean%22%2C%0A%09%09%09%22displayName%22%3A%20%22Switch%20Icons%22%2C%0A%09%09%09%22description%22%3A%20%22Enables%20or%20disables%20icon%20options%20for%20the%20switch.%20If%20true%2C%20you%20can%20select%20icons%20for%20the%20switch.%22%2C%0A%09%09%09%22value%22%3A%20false%0A%09%09%7D%2C%0A%09%09%22selected_icon%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Selected%20Icon%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20icon%20to%20use%20when%20the%20switch%20is%20in%20the%20selected%20state.%22%2C%0A%09%09%09%22value%22%3A%20%22fa%20fa-check%22%2C%0A%09%09%09%22widget%22%3A%20%22select-icon%22%0A%09%09%7D%2C%0A%09%09%22unselected_icon%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Unselected%20Icon%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20icon%20to%20use%20when%20the%20switch%20is%20in%20the%20unselected%20state.%22%2C%0A%09%09%09%22value%22%3A%20%22fa%20fa-close%22%2C%0A%09%09%09%22widget%22%3A%20%22select-icon%22%0A%09%09%7D%2C%0A%09%09%22selected%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Default%20Value%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20default%20value%20of%20the%20switch.%20This%20value%20is%20used%20to%20represent%20the%20state%20of%20the%20switch.%20For%20example%2C%20'true'%20for%20checked%20and%20'false'%20for%20unchecked.%22%2C%0A%09%09%09%22value%22%3A%20%22false%22%0A%09%09%7D%2C%0A%09%09%22checked_value%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Checked%20Value%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20value%20to%20represent%20the%20switch%20when%20it%20is%20checked.%22%2C%0A%09%09%09%22value%22%3A%20%22true%22%0A%09%09%7D%2C%0A%09%09%22unchecked_value%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22string%22%2C%0A%09%09%09%22displayName%22%3A%20%22Unchecked%20Value%22%2C%0A%09%09%09%22description%22%3A%20%22Specifies%20the%20value%20to%20represent%20the%20switch%20when%20it%20is%20unchecked.%22%2C%0A%09%09%09%22value%22%3A%20%22false%22%0A%09%09%7D%2C%0A%09%09%22required%22%3A%20%7B%0A%09%09%09%22type%22%3A%20%22boolean%22%2C%0A%09%09%09%22displayName%22%3A%20%22Required%22%2C%0A%09%09%09%22description%22%3A%20%22Indicates%20whether%20the%20switch%20is%20required.%20Set%20to%20true%20to%20make%20it%20a%20required%20field.%22%2C%0A%09%09%09%22value%22%3A%20false%0A%09%09%7D%0A%09%7D%2C%0A%09%22events%22%3A%20%7B%7D%0A%7D%0A"}},"./src/textfield/page.min.js":
1534
1534
  /*!***********************************!*\
1535
1535
  !*** ./src/textfield/page.min.js ***!
1536
- \***********************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{textfield:()=>textfield});const textfield={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite%22%20captionposition%3D%22floating%22%20required%3D%22false%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-label%20class%3D%22control-label%22%20notag%3D%22true%22%20name%3D%22labelCaption%22%20caption%3D%22bind%3Aprops.label_text%22%20conditionalclass%3D%22bind%3Aprops.style.toLowerCase()%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20class%3D%22form-field-wrapper%22%20name%3D%22container2%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%20btn-leading-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22buttonLeadingIcon%22%20iconclass%3D%22bind%3Aprops.leading_icon_class%22%20show%3D%22bind%3Aprops.leading_icon%22%20deferload%3D%22false%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-text%20name%3D%22textField%22%20updateon%3D%22default%22%20placeholder%3D%22bind%3Aprops.placeholder_text%22%20conditionalclass%3D%22bind%3Aprops.style.toLowerCase()%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%20%3D%3D%20%26quot%3Bdisabled%26quot%3B%22%20datavalue%3D%22bind%3Aprops.input_text%22%3E%3C%2Fwm-text%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%20btn-trailing-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22buttonTrailingIcon%22%20iconclass%3D%22bind%3Aprops.trailing_icon_class%22%20on-click%3D%22buttonTrailingIconClick(%24event%2C%20widget)%22%20show%3D%22bind%3Aprops.trailing_icon%22%20deferload%3D%22false%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20class%3D%22help-wrapper%22%20name%3D%22containerSupportingWrapper%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-label%20padding%3D%22unset%22%20class%3D%22p%20help-block%22%20type%3D%22p%22%20name%3D%22labelSupportingText%22%20caption%3D%22bind%3Aprops.supporting_text%22%20show%3D%22bind%3Aprops.show_supporting_text%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20%2F*%0A%20%20%20%20%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20%20%20%20%20*%20Widget.Variables.loggedInUser.getData()%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20widgets%20can%20be%20accessed%20through%20'widgetMap'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20%20%20%20%20*%20'widgetMap.username.datavalue'%0A%20%20%20%20%20*%2F%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20leading_icon%2C%0A%20%20%20%20%20%20%20%20trailing_icon%2C%0A%20%20%20%20%20%20%20%20input_type%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%0A%20%20%20%20handleLeadingIcon(widgetMap%2C%20leading_icon)%3B%0A%20%20%20%20handleTrailingIcon(widgetMap%2C%20trailing_icon)%3B%0A%20%20%20%20handleinputType(widgetMap%2C%20input_type)%3B%0A%20%20%20%20handleRequired(widgetMap%2C%20required)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.input_text%3B%0A%7D%3B%0A%0AWidget.onPropertyChange%20%3D%20function(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20leading_icon%2C%0A%20%20%20%20%20%20%20%20trailing_icon%2C%0A%20%20%20%20%20%20%20%20input_type%2C%0A%20%20%20%20%20%20%20%20required%0A%20%20%20%20%7D%20%3D%20Widget.props%0A%20%20%20%20switch%20(propname)%20%7B%0A%20%20%20%20%20%20%20%20case%20'prop-leading_icon'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleLeadingIcon(widgetMap%2C%20leading_icon)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%0A%20%20%20%20%20%20%20%20case%20'prop-trailing_icon'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleTrailingIcon(widgetMap%2C%20trailing_icon)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%0A%20%20%20%20%20%20%20%20case%20'prop-required'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleRequired(widgetMap%2C%20required)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%0A%20%20%20%20%20%20%20%20case%20'prop-input_type'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleinputType(widgetMap%2C%20input_type)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleLeadingIcon(widgetMap%2C%20leading_icon)%20%7B%0A%20%20%20%20widgetMap.textField.nativeElement.classList.remove('with-leading-icon')%3B%0A%20%20%20%20widgetMap.labelCaption.nativeElement.classList.remove('with-leading-icon')%3B%0A%20%20%20%20if%20(leading_icon%20%3D%3D%20true)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.labelCaption.class%20%2B%3D%20'%20with-leading-icon'%3B%0A%20%20%20%20%20%20%20%20widgetMap.textField.class%20%2B%3D%20'%20with-leading-icon'%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleTrailingIcon(widgetMap%2C%20trailing_icon)%20%7B%0A%20%20%20%20widgetMap.textField.nativeElement.classList.remove('with-trailing-icon')%3B%0A%20%20%20%20widgetMap.labelCaption.nativeElement.classList.remove('with-trailing-icon')%3B%0A%20%20%20%20if%20(trailing_icon%20%3D%3D%20true)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.labelCaption.class%20%2B%3D%20'%20with-trailing-icon'%3B%0A%20%20%20%20%20%20%20%20widgetMap.textField.class%20%2B%3D%20'%20with-trailing-icon'%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleRequired(widgetMap%2C%20required)%20%7B%0A%20%20%20%20widgetMap.composite.required%20%3D%20required%3B%0A%7D%0A%0Afunction%20handleinputType(widgetMap%2C%20input_type)%20%7B%0A%20%20%20%20widgetMap.textField.type%20%3D%20input_type%3B%0A%7D%0A%0AWidget.buttonTrailingIconClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20%2F%2F%20Widget.invokeEvent('trailingIconButtonOnClick')%3B%0A%7D%3B%0A",styles:".wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.with-leading-icon%20%7B%0A%20%20%20%20padding-left%3A%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.with-trailing-icon%20%7B%0A%20%20%20%20padding-right%3A%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.filled%20%7B%0A%20%20%20%20--wm-form-control-background%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20border-width%3A%200%200%201px%200%3B%0A%20%20%20%20border-radius%3A%20var(--wm-form-control-radius)%20var(--wm-form-control-radius)%200%200%3B%0A%20%20%20%20padding-bottom%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.filled%3Afocus%20%7B%0A%20%20%20%20box-shadow%3A%20inset%200%20-2px%200%200%20var(--wm-form-control-border-color-focus)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.filled.ng-touched.ng-invalid%3Afocus%20%7B%0A%20%20%20%20box-shadow%3A%20inset%200%20-2px%200%200%20var(--wm-form-control-border-color-error)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn%20%7B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%20%20background%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20min-height%3A%20auto%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn%20.app-icon%20%7B%0A%20%20%20%20font-size%3A%20var(--wm-icon-size-md)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn-leading-icon%2C%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn-trailing-icon%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-form-control-height)%20-%20var(--wm-btn-icon-md-height)%20-%20var(--wm-btn-icon-md-margin)%20-%20var(--wm-btn-icon-md-margin))%20%2F%202)%3B%0A%20%20%20%20left%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn-trailing-icon%20%7B%0A%20%20%20%20left%3A%20auto%3B%0A%20%20%20%20right%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.help-wrapper%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20margin-top%3A%204px%3B%0A%20%20%20%20padding%3A%200%20var(--wm-form-control-padding)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.help-wrapper%20.help-block%20%7B%0A%20%20%20%20margin%3A%200%3B%0A%20%20%20%20padding%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.help-wrapper%20.help-block.required%3Aafter%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%3Ahas(.form-control.ng-touched.ng-invalid)%20.help-wrapper%20.help-block%20%7B%0A%20%20%20%20--wm-help-block-color%3A%20var(--wm-color-error)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating%3Anot(.float-active)%20.control-label.with-leading-icon%20%7B%0A%20%20%20%20max-width%3A%20calc(100%25%20-%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md))%20-%20var(--wm-form-control-padding))%3B%0A%20%20%20%20left%3A%20calc(calc(var(--wm-form-control-padding)*%201.5)%20%2B%20var(--wm-icon-size-md))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating%3Anot(.float-active)%20.control-label.with-trailing-icon%20%7B%0A%20%20%20%20max-width%3A%20calc(100%25%20-%20var(--wm-form-control-padding)%20-%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md)))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating%3Anot(.float-active)%20.control-label.with-leading-icon.with-trailing-icon%20%7B%0A%20%20%20%20max-width%3A%20calc(100%25%20-%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md))%20-%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md)))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating.float-active%20.control-label.filled%20%7B%0A%20%20%20%20left%3A%20var(--wm-form-control-padding)%3B%0A%20%20%20%20top%3A%20calc(var(--wm-form-control-height)*0.15)%3B%0A%20%20%20%20padding%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating.float-active%20.control-label.filled%3Abefore%20%7B%0A%20%20%20%20background%3A%20none%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating.float-active%20.control-label.filled.with-leading-icon%20%7B%0A%20%20%20%20left%3A%20calc(calc(var(--wm-form-control-padding)*%201.5)%20%2B%20var(--wm-icon-size-md))%3B%0A%20%20%20%20max-width%3A%20calc(100%25%20-%20var(--wm-form-control-padding)%20-%20var(--wm-form-control-padding)%20-%20calc(calc(var(--wm-form-control-padding)*%202.5)%20%2B%20var(--wm-icon-size-md)))%3B%0A%7D%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-input-text%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22style%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Style%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20style%20variant%20between%20outlined%20and%20filled.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Outlined%22%2C%20%22Filled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Outlined%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20whether%20the%20TextField%20is%20interactive(enabled)%20or%20non-interactive(disabled)%20state.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22text_configurations%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Text%20configurations%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Input%20text%22%2C%20%22Label%20text%22%2C%20%22Placeholder%20text%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Input%20text%22%2C%0A%20%20%20%20%20%20%22show%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22leading_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Leading%20icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20to%20show%2Fhide%20the%20Leading%20Icon%2FButton.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22trailing_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Trailing%20icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20to%20show%2Fhide%20the%20Trailing%20Icon%2FButton.%20%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_supporting_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20supporting%20text%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20to%20show%2Fhide%20the%20Supporting%20text(help%20text).%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22label_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Caption%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20caption%20value%20of%20the%20TextField.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Label%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22placeholder_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Placeholder%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20caption%20text%20of%20the%20TextField.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enter%20Text%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22input_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Default%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20default%20value%20of%20the%20TextField.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22supporting_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Supporting%20Text%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20supporting%20text(helper%20text)%20value%20of%20the%20TextField.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Supporting%20Text%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22leading_icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Leading%20Icon%20Class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Allows%20to%20specify%20the%20icon%20for%20the%20Leading%20Icon%2FButton%20from%20wm%20icon%20library.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-search%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22trailing_icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Trailing%20Icon%20Class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Allows%20to%20specify%20the%20icon%20for%20the%20Trailing%20Icon%2FButton%20from%20wm%20icon%20library.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-clear%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22input_type%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Input%20Type%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20input%20type%20between%20text%2C%20password%20and%20tel.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22text%22%2C%20%22password%22%2C%20%22tel%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22text%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22required%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Required%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20textfiled%20to%20be%20mandatory%20while%20submittion.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22trailingIconButtonOnClick%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22event%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Trailing%20Icon%20Button%20onClick%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20changes.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget%2C%20new%20value%2C%20and%20old%20value.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22buttonTrailingIconClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/widget-registry.js":
1536
+ \***********************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{textfield:()=>textfield});const textfield={markup:"%3Cwm-custom-widget-container%3E%0A%20%20%20%20%3Cwm-composite%20name%3D%22composite%22%20captionposition%3D%22floating%22%20required%3D%22false%22%3E%0A%20%20%20%20%20%20%20%20%3Cwm-label%20class%3D%22control-label%22%20notag%3D%22true%22%20name%3D%22labelCaption%22%20caption%3D%22bind%3Aprops.label_text%22%20conditionalclass%3D%22bind%3Aprops.style.toLowerCase()%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20class%3D%22form-field-wrapper%22%20name%3D%22container2%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%20btn-leading-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22buttonLeadingIcon%22%20iconclass%3D%22bind%3Aprops.leading_icon_class%22%20show%3D%22bind%3Aprops.leading_icon%22%20deferload%3D%22false%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-text%20name%3D%22textField%22%20updateon%3D%22default%22%20placeholder%3D%22bind%3Aprops.placeholder_text%22%20conditionalclass%3D%22bind%3Aprops.style.toLowerCase()%22%20disabled%3D%22bind%3Aprops.state.toLowerCase()%20%3D%3D%20%26quot%3Bdisabled%26quot%3B%22%20datavalue%3D%22bind%3Aprops.input_text%22%3E%3C%2Fwm-text%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-button%20class%3D%22btn-icon%20btn-trailing-icon%22%20caption%3D%22%22%20type%3D%22button%22%20margin%3D%22unset%22%20name%3D%22buttonTrailingIcon%22%20iconclass%3D%22bind%3Aprops.trailing_icon_class%22%20on-click%3D%22buttonTrailingIconClick(%24event%2C%20widget)%22%20show%3D%22bind%3Aprops.trailing_icon%22%20deferload%3D%22false%22%3E%3C%2Fwm-button%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%20%20%20%20%3Cwm-container%20class%3D%22help-wrapper%22%20name%3D%22containerSupportingWrapper%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cwm-label%20padding%3D%22unset%22%20class%3D%22p%20help-block%22%20type%3D%22p%22%20name%3D%22labelSupportingText%22%20caption%3D%22bind%3Aprops.supporting_text%22%20show%3D%22bind%3Aprops.show_supporting_text%22%3E%3C%2Fwm-label%3E%0A%20%20%20%20%20%20%20%20%3C%2Fwm-container%3E%0A%20%20%20%20%3C%2Fwm-composite%3E%0A%3C%2Fwm-custom-widget-container%3E%0A",script:"%2F*%0A%20*%20Use%20App.getDependency%20for%20Dependency%20Injection%0A%20*%20eg%3A%20var%20DialogService%20%3D%20App.getDependency('DialogService')%3B%0A%20*%2F%0A%2F*%20perform%20any%20action%20on%20widgets%2Fvariables%20within%20this%20block%20*%2F%0AWidget.onReady%20%3D%20function()%20%7B%0A%20%20%20%20%2F*%0A%20%20%20%20%20*%20variables%20can%20be%20accessed%20through%20'Widget.Variables'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20dataSet%20in%20a%20staticVariable%20named%20'loggedInUser'%20use%20following%20script%0A%20%20%20%20%20*%20Widget.Variables.loggedInUser.getData()%0A%20%20%20%20%20*%0A%20%20%20%20%20*%20widgets%20can%20be%20accessed%20through%20'widgetMap'%20property%20here%0A%20%20%20%20%20*%20e.g.%20to%20get%20value%20of%20text%20widget%20named%20'username'%20use%20following%20script%0A%20%20%20%20%20*%20'widgetMap.username.datavalue'%0A%20%20%20%20%20*%2F%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20leading_icon%2C%0A%20%20%20%20%20%20%20%20trailing_icon%2C%0A%20%20%20%20%20%20%20%20input_type%2C%0A%20%20%20%20%20%20%20%20required%2C%0A%20%20%20%20%7D%20%3D%20Widget.props%0A%20%20%20%20handleLeadingIcon(widgetMap%2C%20leading_icon)%3B%0A%20%20%20%20handleTrailingIcon(widgetMap%2C%20trailing_icon)%3B%0A%20%20%20%20handleinputType(widgetMap%2C%20input_type)%3B%0A%20%20%20%20handleRequired(widgetMap%2C%20required)%3B%0A%20%20%20%20Widget.getDatavalue%20%3D%20()%20%3D%3E%20Widget.props.input_text%3B%0A%7D%3B%0A%0AWidget.onPropertyChange%20%3D%20function(propname%2C%20newvalue%2C%20oldvalue)%20%7B%0A%20%20%20%20const%20widgetMap%20%3D%20Widget.Widgets%3B%0A%20%20%20%20const%20%7B%0A%20%20%20%20%20%20%20%20leading_icon%2C%0A%20%20%20%20%20%20%20%20trailing_icon%2C%0A%20%20%20%20%20%20%20%20input_type%2C%0A%20%20%20%20%20%20%20%20required%0A%20%20%20%20%7D%20%3D%20Widget.props%0A%20%20%20%20switch%20(propname)%20%7B%0A%20%20%20%20%20%20%20%20case%20'prop-leading_icon'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleLeadingIcon(widgetMap%2C%20leading_icon)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%0A%20%20%20%20%20%20%20%20case%20'prop-trailing_icon'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleTrailingIcon(widgetMap%2C%20trailing_icon)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%0A%20%20%20%20%20%20%20%20case%20'prop-required'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleRequired(widgetMap%2C%20required)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%0A%20%20%20%20%20%20%20%20case%20'prop-input_type'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20handleinputType(widgetMap%2C%20input_type)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20break%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleLeadingIcon(widgetMap%2C%20leading_icon)%20%7B%0A%20%20%20%20widgetMap.textField.nativeElement.classList.remove('with-leading-icon')%3B%0A%20%20%20%20widgetMap.labelCaption.nativeElement.classList.remove('with-leading-icon')%3B%0A%20%20%20%20if%20(leading_icon%20%3D%3D%20true)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.labelCaption.class%20%2B%3D%20'%20with-leading-icon'%3B%0A%20%20%20%20%20%20%20%20widgetMap.textField.class%20%2B%3D%20'%20with-leading-icon'%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleTrailingIcon(widgetMap%2C%20trailing_icon)%20%7B%0A%20%20%20%20widgetMap.textField.nativeElement.classList.remove('with-trailing-icon')%3B%0A%20%20%20%20widgetMap.labelCaption.nativeElement.classList.remove('with-trailing-icon')%3B%0A%20%20%20%20if%20(trailing_icon%20%3D%3D%20true)%20%7B%0A%20%20%20%20%20%20%20%20widgetMap.labelCaption.class%20%2B%3D%20'%20with-trailing-icon'%3B%0A%20%20%20%20%20%20%20%20widgetMap.textField.class%20%2B%3D%20'%20with-trailing-icon'%3B%0A%20%20%20%20%7D%0A%7D%0A%0Afunction%20handleRequired(widgetMap%2C%20required)%20%7B%0A%20%20%20%20widgetMap.composite.required%20%3D%20required%3B%0A%7D%0A%0Afunction%20handleinputType(widgetMap%2C%20input_type)%20%7B%0A%20%20%20%20widgetMap.textField.type%20%3D%20input_type%3B%0A%7D%0A%0AWidget.buttonTrailingIconClick%20%3D%20function(%24event%2C%20widget)%20%7B%0A%20%20%20%20%2F%2F%20Widget.invokeEvent('trailingIconButtonOnClick')%3B%0A%7D%3B%0A",styles:".wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.with-leading-icon%20%7B%0A%20%20%20%20padding-left%3A%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.with-trailing-icon%20%7B%0A%20%20%20%20padding-right%3A%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.filled%20%7B%0A%20%20%20%20--wm-form-control-background%3A%20var(--wm-color-surface-container-highest)%3B%0A%20%20%20%20border-width%3A%200%200%201px%200%3B%0A%20%20%20%20border-radius%3A%20var(--wm-form-control-radius)%20var(--wm-form-control-radius)%200%200%3B%0A%20%20%20%20padding-bottom%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.filled%3Afocus%20%7B%0A%20%20%20%20box-shadow%3A%20inset%200%20-2px%200%200%20var(--wm-form-control-border-color-focus)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.form-control.filled.ng-touched.ng-invalid%3Afocus%20%7B%0A%20%20%20%20box-shadow%3A%20inset%200%20-2px%200%200%20var(--wm-form-control-border-color-error)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn%20%7B%0A%20%20%20%20padding%3A%200%3B%0A%20%20%20%20background%3A%20none%3B%0A%20%20%20%20border%3A%20none%3B%0A%20%20%20%20min-height%3A%20auto%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn%20.app-icon%20%7B%0A%20%20%20%20font-size%3A%20var(--wm-icon-size-md)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn-leading-icon%2C%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn-trailing-icon%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20top%3A%20calc(calc(var(--wm-form-control-height)%20-%20var(--wm-btn-icon-md-height)%20-%20var(--wm-btn-icon-md-margin)%20-%20var(--wm-btn-icon-md-margin))%20%2F%202)%3B%0A%20%20%20%20left%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.form-field-wrapper%20.btn-trailing-icon%20%7B%0A%20%20%20%20left%3A%20auto%3B%0A%20%20%20%20right%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.help-wrapper%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20margin-top%3A%204px%3B%0A%20%20%20%20padding%3A%200%20var(--wm-form-control-padding)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.help-wrapper%20.help-block%20%7B%0A%20%20%20%20margin%3A%200%3B%0A%20%20%20%20padding%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%20.help-wrapper%20.help-block.required%3Aafter%20%7B%0A%20%20%20%20display%3A%20none%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget%3Ahas(.form-control.ng-touched.ng-invalid)%20.help-wrapper%20.help-block%20%7B%0A%20%20%20%20--wm-help-block-color%3A%20var(--wm-color-error)%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating%3Anot(.float-active)%20.control-label.with-leading-icon%20%7B%0A%20%20%20%20max-width%3A%20calc(100%25%20-%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md))%20-%20var(--wm-form-control-padding))%3B%0A%20%20%20%20left%3A%20calc(calc(var(--wm-form-control-padding)*%201.5)%20%2B%20var(--wm-icon-size-md))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating%3Anot(.float-active)%20.control-label.with-trailing-icon%20%7B%0A%20%20%20%20max-width%3A%20calc(100%25%20-%20var(--wm-form-control-padding)%20-%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md)))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating%3Anot(.float-active)%20.control-label.with-leading-icon.with-trailing-icon%20%7B%0A%20%20%20%20max-width%3A%20calc(100%25%20-%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md))%20-%20calc(calc(var(--wm-form-control-padding)*1.5)%20%2B%20var(--wm-icon-size-md)))%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating.float-active%20.control-label.filled%20%7B%0A%20%20%20%20left%3A%20var(--wm-form-control-padding)%3B%0A%20%20%20%20top%3A%20calc(var(--wm-form-control-height)*0.15)%3B%0A%20%20%20%20padding%3A%200%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating.float-active%20.control-label.filled%3Abefore%20%7B%0A%20%20%20%20background%3A%20none%3B%0A%7D%0A%0A.wm-app%20.app-composite-widget.caption-floating.float-active%20.control-label.filled.with-leading-icon%20%7B%0A%20%20%20%20left%3A%20calc(calc(var(--wm-form-control-padding)*%201.5)%20%2B%20var(--wm-icon-size-md))%3B%0A%20%20%20%20max-width%3A%20calc(100%25%20-%20var(--wm-form-control-padding)%20-%20var(--wm-form-control-padding)%20-%20calc(calc(var(--wm-form-control-padding)*%202.5)%20%2B%20var(--wm-icon-size-md)))%3B%0A%7D%0A",variables:"%7B%20%7D%0A",config:"%7B%0A%20%20%22widgetType%22%20%3A%20%22wm-input-text%22%2C%0A%20%20%22properties%22%20%3A%20%7B%0A%20%20%20%20%22style%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Style%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20style%20variant%20between%20outlined%20and%20filled.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Outlined%22%2C%20%22Filled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Outlined%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22state%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22State%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20whether%20the%20TextField%20is%20interactive(enabled)%20or%20non-interactive(disabled)%20state.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Enabled%22%2C%20%22Disabled%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enabled%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22text_configurations%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Text%20configurations%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Allows%20you%20to%20specify%20different%20text%20types%20for%20the%20TextField%2C%20including%20input%20text%2C%20label%20text%2C%20and%20placeholder%20text.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22Input%20text%22%2C%20%22Label%20text%22%2C%20%22Placeholder%20text%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Input%20text%22%2C%0A%20%20%20%20%20%20%22show%22%20%3A%20false%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22leading_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Leading%20icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20to%20show%2Fhide%20the%20Leading%20Icon%2FButton.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22trailing_icon%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Trailing%20icon%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20to%20show%2Fhide%20the%20Trailing%20Icon%2FButton.%20%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22show_supporting_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Show%20supporting%20text%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20to%20show%2Fhide%20the%20Supporting%20text(help%20text).%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22label_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Caption%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20caption%20value%20of%20the%20TextField.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Label%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22placeholder_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Placeholder%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20caption%20text%20of%20the%20TextField.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Enter%20Text%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22input_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Default%20Value%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20default%20value%20of%20the%20TextField.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22supporting_text%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Supporting%20Text%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20supporting%20text(helper%20text)%20value%20of%20the%20TextField.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22Supporting%20Text%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22leading_icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Leading%20Icon%20Class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Allows%20to%20specify%20the%20icon%20for%20the%20Leading%20Icon%2FButton%20from%20wm%20icon%20library.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-search%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22trailing_icon_class%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22string%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Trailing%20Icon%20Class%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Allows%20to%20specify%20the%20icon%20for%20the%20Trailing%20Icon%2FButton%20from%20wm%20icon%20library.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22wi%20wi-clear%22%2C%0A%20%20%20%20%20%20%22widget%22%20%3A%20%22select-icon%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22input_type%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22list%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Input%20Type%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20input%20type%20between%20text%2C%20password%20and%20tel.%22%2C%0A%20%20%20%20%20%20%22options%22%20%3A%20%5B%20%22text%22%2C%20%22password%22%2C%20%22tel%22%20%5D%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22text%22%0A%20%20%20%20%7D%2C%0A%20%20%20%20%22required%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22boolean%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Required%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Specifies%20the%20textfiled%20to%20be%20mandatory%20while%20submittion.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22false%22%0A%20%20%20%20%7D%0A%20%20%7D%2C%0A%20%20%22events%22%20%3A%20%7B%0A%20%20%20%20%22trailingIconButtonOnClick%22%20%3A%20%7B%0A%20%20%20%20%20%20%22type%22%20%3A%20%22event%22%2C%0A%20%20%20%20%20%20%22displayName%22%20%3A%20%22Trailing%20Icon%20Button%20onClick%22%2C%0A%20%20%20%20%20%20%22description%22%20%3A%20%22Function%20to%20be%20called%20when%20the%20value%20of%20the%20slider%20changes.%20This%20function%20receives%20parameters%20such%20as%20the%20event%2C%20widget%2C%20new%20value%2C%20and%20old%20value.%22%2C%0A%20%20%20%20%20%20%22value%22%20%3A%20%22buttonTrailingIconClick(%24event%2C%20widget)%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A"}},"./src/widget-registry.js":
1537
1537
  /*!********************************!*\
1538
1538
  !*** ./src/widget-registry.js ***!
1539
- \********************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{widgetRegistry:()=>widgetRegistry});const widgetRegistry=[{name:"checkbox_set",displayName:"Chekboxset",iconClass:"checkboxset",desc:"Checkbox set control supporting Material 3 design system"},{name:"divider",displayName:"Divider",iconClass:"design-dialog",desc:"Divider based on Material 3 design system"},{name:"icon_button",displayName:"Icon button",iconClass:"button",desc:"Icon button based on Material 3 design system"},{name:"input_chip",displayName:"Input Chip",iconClass:"chips",desc:"Input chips based on Material 3 design system"},{name:"radio_set",displayName:"Radioset",iconClass:"radioset",desc:"Radioset based on Material 3 design system"},{name:"switch_button",displayName:"Switch",iconClass:"switch",desc:"Switch button based on Material 3 design system"},{name:"textfield",displayName:"Textfield",iconClass:"text",desc:"Input text control based on Material 3 design system"},{name:"slider",displayName:"Slider",iconClass:"slider",desc:"Slider control based on Material 3 design system"},{name:"discrete_slider",displayName:"Discrete slider",iconClass:"slider",desc:"Discrete Slider control based on Material 3 design system"},{name:"progressbar",displayName:"Progress bar",iconClass:"progress",desc:"Progress bar widget based on Material 3 design system"},{name:"icon_button_toggleable",displayName:"Icon Button Toggleable",iconClass:"button",desc:"Icon Button Toggleable based on Material 3 design system"}]}};var __webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(cachedModule!==undefined){return cachedModule.exports}var module=__webpack_module_cache__[moduleId]={exports:{}};__webpack_modules__[moduleId](module,module.exports,__webpack_require__);return module.exports}(()=>{__webpack_require__.d=(exports,definition)=>{for(var key in definition){if(__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)){Object.defineProperty(exports,key,{enumerable:true,get:definition[key]})}}}})();(()=>{__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop)})();(()=>{__webpack_require__.r=exports=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(exports,"__esModule",{value:true})}})();var __webpack_exports__={};
1539
+ \********************************/(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{widgetRegistry:()=>widgetRegistry});const widgetRegistry=[{name:"checkbox_set",displayName:"Checkboxset",iconClass:"checkboxset",desc:"Checkbox set control supporting Material 3 design system"},{name:"divider",displayName:"Divider",iconClass:"design-dialog",desc:"Divider based on Material 3 design system"},{name:"icon_button",displayName:"Icon button",iconClass:"button",desc:"Icon button based on Material 3 design system"},{name:"input_chip",displayName:"Input Chip",iconClass:"chips",desc:"Input chips based on Material 3 design system"},{name:"radio_set",displayName:"Radioset",iconClass:"radioset",desc:"Radioset based on Material 3 design system"},{name:"switch_button",displayName:"Switch",iconClass:"switch",desc:"Switch button based on Material 3 design system"},{name:"textfield",displayName:"Textfield",iconClass:"text",desc:"Input text control based on Material 3 design system"},{name:"slider",displayName:"Slider",iconClass:"slider",desc:"Slider control based on Material 3 design system"},{name:"discrete_slider",displayName:"Discrete slider",iconClass:"slider",desc:"Discrete Slider control based on Material 3 design system"},{name:"progressbar",displayName:"Progress bar",iconClass:"progress",desc:"Progress bar widget based on Material 3 design system"},{name:"icon_button_toggleable",displayName:"Icon Button Toggleable",iconClass:"button",desc:"Icon Button Toggleable based on Material 3 design system"}]}};var __webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(cachedModule!==undefined){return cachedModule.exports}var module=__webpack_module_cache__[moduleId]={exports:{}};__webpack_modules__[moduleId](module,module.exports,__webpack_require__);return module.exports}(()=>{__webpack_require__.d=(exports,definition)=>{for(var key in definition){if(__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)){Object.defineProperty(exports,key,{enumerable:true,get:definition[key]})}}}})();(()=>{__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop)})();(()=>{__webpack_require__.r=exports=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(exports,"__esModule",{value:true})}})();var __webpack_exports__={};
1540
1540
  /*!******************!*\
1541
1541
  !*** ./index.ts ***!
1542
1542
  \******************/__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{checkbox_set:()=>_src_checkbox_set_page_min__WEBPACK_IMPORTED_MODULE_1__.checkbox_set,discrete_slider:()=>_src_discrete_slider_page_min__WEBPACK_IMPORTED_MODULE_9__.discrete_slider,divider:()=>_src_divider_page_min__WEBPACK_IMPORTED_MODULE_2__.divider,icon_button:()=>_src_icon_button_page_min__WEBPACK_IMPORTED_MODULE_3__.icon_button,icon_button_toggleable:()=>_src_icon_button_toggleable_page_min__WEBPACK_IMPORTED_MODULE_10__.icon_button_toggleable,input_chip:()=>_src_input_chip_page_min__WEBPACK_IMPORTED_MODULE_4__.input_chip,progressbar:()=>_src_progressbar_page_min__WEBPACK_IMPORTED_MODULE_8__.progressbar,radio_set:()=>_src_radio_set_page_min__WEBPACK_IMPORTED_MODULE_5__.radio_set,slider:()=>_src_slider_page_min__WEBPACK_IMPORTED_MODULE_7__.slider,switch_button:()=>_src_switch_button_page_min__WEBPACK_IMPORTED_MODULE_6__.switch_button,textfield:()=>_src_textfield_page_min__WEBPACK_IMPORTED_MODULE_0__.textfield,widgetRegistry:()=>_src_widget_registry__WEBPACK_IMPORTED_MODULE_11__.widgetRegistry});var _src_textfield_page_min__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./src/textfield/page.min */"./src/textfield/page.min.js");var _src_checkbox_set_page_min__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./src/checkbox_set/page.min */"./src/checkbox_set/page.min.js");var _src_divider_page_min__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(/*! ./src/divider/page.min */"./src/divider/page.min.js");var _src_icon_button_page_min__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(/*! ./src/icon_button/page.min */"./src/icon_button/page.min.js");var _src_input_chip_page_min__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(/*! ./src/input_chip/page.min */"./src/input_chip/page.min.js");var _src_radio_set_page_min__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(/*! ./src/radio_set/page.min */"./src/radio_set/page.min.js");var _src_switch_button_page_min__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(/*! ./src/switch_button/page.min */"./src/switch_button/page.min.js");var _src_slider_page_min__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(/*! ./src/slider/page.min */"./src/slider/page.min.js");var _src_progressbar_page_min__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(/*! ./src/progressbar/page.min */"./src/progressbar/page.min.js");var _src_discrete_slider_page_min__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(/*! ./src/discrete_slider/page.min */"./src/discrete_slider/page.min.js");var _src_icon_button_toggleable_page_min__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(/*! ./src/icon_button_toggleable/page.min */"./src/icon_button_toggleable/page.min.js");var _src_widget_registry__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(/*! ./src/widget-registry */"./src/widget-registry.js");return __webpack_exports__})()));!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).IMask={})}(this,(function(t){"use strict";function e(t){return"string"==typeof t||t instanceof String}function s(t){var e;return"object"==typeof t&&null!=t&&"Object"===(null==t||null==(e=t.constructor)?void 0:e.name)}function i(t,e){return Array.isArray(e)?i(t,((t,s)=>e.includes(s))):Object.entries(t).reduce(((t,s)=>{let[i,a]=s;return e(a,i)&&(t[i]=a),t}),{})}const a={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function u(t){switch(t){case a.LEFT:return a.FORCE_LEFT;case a.RIGHT:return a.FORCE_RIGHT;default:return t}}function n(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function r(t,e){if(e===t)return!0;const s=Array.isArray(e),i=Array.isArray(t);let a;if(s&&i){if(e.length!=t.length)return!1;for(a=0;a<e.length;a++)if(!r(e[a],t[a]))return!1;return!0}if(s!=i)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){const s=e instanceof Date,i=t instanceof Date;if(s&&i)return e.getTime()==t.getTime();if(s!=i)return!1;const u=e instanceof RegExp,n=t instanceof RegExp;if(u&&n)return e.toString()==t.toString();if(u!=n)return!1;const h=Object.keys(e);for(a=0;a<h.length;a++)if(!Object.prototype.hasOwnProperty.call(t,h[a]))return!1;for(a=0;a<h.length;a++)if(!r(t[h[a]],e[h[a]]))return!1;return!0}return!(!e||!t||"function"!=typeof e||"function"!=typeof t)&&e.toString()===t.toString()}class h{constructor(t){for(Object.assign(this,t);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start;if(this.insertedCount)for(;this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end);)this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end?++this.oldSelection.end:++this.cursorPos}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?a.NONE:this.oldSelection.end!==this.cursorPos&&this.oldSelection.start!==this.cursorPos||this.oldSelection.end!==this.oldSelection.start?a.LEFT:a.RIGHT}}function o(t,e){return new o.InputMask(t,e)}function l(t){if(null==t)throw new Error("mask property should be defined");return t instanceof RegExp?o.MaskedRegExp:e(t)?o.MaskedPattern:t===Date?o.MaskedDate:t===Number?o.MaskedNumber:Array.isArray(t)||t===Array?o.MaskedDynamic:o.Masked&&t.prototype instanceof o.Masked?t:o.Masked&&t instanceof o.Masked?t.constructor:t instanceof Function?o.MaskedFunction:(console.warn("Mask not found for mask",t),o.Masked)}function p(t){if(!t)throw new Error("Options in not defined");if(o.Masked){if(t.prototype instanceof o.Masked)return{mask:t};const{mask:e,...a}=t instanceof o.Masked?{mask:t}:s(t)&&t.mask instanceof o.Masked?t:{};if(e){const t=e.mask;return{...i(e,((t,e)=>!e.startsWith("_"))),mask:e.constructor,_mask:t,...a}}}return s(t)?{...t}:{mask:t}}function d(t){if(o.Masked&&t instanceof o.Masked)return t;const e=p(t),s=l(e.mask);if(!s)throw new Error("Masked class is not found for provided mask "+e.mask+", appropriate module needs to be imported manually before creating mask.");return e.mask===s&&delete e.mask,e._mask&&(e.mask=e._mask,delete e._mask),new s(e)}o.createMask=d;class c{get selectionStart(){let t;try{t=this._unsafeSelectionStart}catch{}return null!=t?t:this.value.length}get selectionEnd(){let t;try{t=this._unsafeSelectionEnd}catch{}return null!=t?t:this.value.length}select(t,e){if(null!=t&&null!=e&&(t!==this.selectionStart||e!==this.selectionEnd))try{this._unsafeSelect(t,e)}catch{}}get isActive(){return!1}}o.MaskElement=c;class g extends c{constructor(t){super(),this.input=t,this._onKeydown=this._onKeydown.bind(this),this._onInput=this._onInput.bind(this),this._onBeforeinput=this._onBeforeinput.bind(this),this._onCompositionEnd=this._onCompositionEnd.bind(this)}get rootElement(){var t,e,s;return null!=(t=null==(e=(s=this.input).getRootNode)?void 0:e.call(s))?t:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(t){this.input.addEventListener("keydown",this._onKeydown),this.input.addEventListener("input",this._onInput),this.input.addEventListener("beforeinput",this._onBeforeinput),this.input.addEventListener("compositionend",this._onCompositionEnd),this.input.addEventListener("drop",t.drop),this.input.addEventListener("click",t.click),this.input.addEventListener("focus",t.focus),this.input.addEventListener("blur",t.commit),this._handlers=t}_onKeydown(t){return this._handlers.redo&&(90===t.keyCode&&t.shiftKey&&(t.metaKey||t.ctrlKey)||89===t.keyCode&&t.ctrlKey)?(t.preventDefault(),this._handlers.redo(t)):this._handlers.undo&&90===t.keyCode&&(t.metaKey||t.ctrlKey)?(t.preventDefault(),this._handlers.undo(t)):void(t.isComposing||this._handlers.selectionChange(t))}_onBeforeinput(t){return"historyUndo"===t.inputType&&this._handlers.undo?(t.preventDefault(),this._handlers.undo(t)):"historyRedo"===t.inputType&&this._handlers.redo?(t.preventDefault(),this._handlers.redo(t)):void 0}_onCompositionEnd(t){this._handlers.input(t)}_onInput(t){t.isComposing||this._handlers.input(t)}unbindEvents(){this.input.removeEventListener("keydown",this._onKeydown),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("beforeinput",this._onBeforeinput),this.input.removeEventListener("compositionend",this._onCompositionEnd),this.input.removeEventListener("drop",this._handlers.drop),this.input.removeEventListener("click",this._handlers.click),this.input.removeEventListener("focus",this._handlers.focus),this.input.removeEventListener("blur",this._handlers.commit),this._handlers={}}}o.HTMLMaskElement=g;class k extends g{constructor(t){super(t),this.input=t}get _unsafeSelectionStart(){return null!=this.input.selectionStart?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(t,e){this.input.setSelectionRange(t,e)}get value(){return this.input.value}set value(t){this.input.value=t}}o.HTMLMaskElement=g;class m extends g{get _unsafeSelectionStart(){const t=this.rootElement,e=t.getSelection&&t.getSelection(),s=e&&e.anchorOffset,i=e&&e.focusOffset;return null==i||null==s||s<i?s:i}get _unsafeSelectionEnd(){const t=this.rootElement,e=t.getSelection&&t.getSelection(),s=e&&e.anchorOffset,i=e&&e.focusOffset;return null==i||null==s||s>i?s:i}_unsafeSelect(t,e){if(!this.rootElement.createRange)return;const s=this.rootElement.createRange();s.setStart(this.input.firstChild||this.input,t),s.setEnd(this.input.lastChild||this.input,e);const i=this.rootElement,a=i.getSelection&&i.getSelection();a&&(a.removeAllRanges(),a.addRange(s))}get value(){return this.input.textContent||""}set value(t){this.input.textContent=t}}o.HTMLContenteditableMaskElement=m;class _{constructor(){this.states=[],this.currentIndex=0}get currentState(){return this.states[this.currentIndex]}get isEmpty(){return 0===this.states.length}push(t){this.currentIndex<this.states.length-1&&(this.states.length=this.currentIndex+1),this.states.push(t),this.states.length>_.MAX_LENGTH&&this.states.shift(),this.currentIndex=this.states.length-1}go(t){return this.currentIndex=Math.min(Math.max(this.currentIndex+t,0),this.states.length-1),this.currentState}undo(){return this.go(-1)}redo(){return this.go(1)}clear(){this.states.length=0,this.currentIndex=0}}_.MAX_LENGTH=100;class f{constructor(t,e){this.el=t instanceof c?t:t.isContentEditable&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName?new m(t):new k(t),this.masked=d(e),this._listeners={},this._value="",this._unmaskedValue="",this._rawInputValue="",this.history=new _,this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this._onUndo=this._onUndo.bind(this),this._onRedo=this._onRedo.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}maskEquals(t){var e;return null==t||(null==(e=this.masked)?void 0:e.maskEquals(t))}get mask(){return this.masked.mask}set mask(t){if(this.maskEquals(t))return;if(!(t instanceof o.Masked)&&this.masked.constructor===l(t))return void this.masked.updateOptions({mask:t});const e=t instanceof o.Masked?t:d({mask:t});e.unmaskedValue=this.masked.unmaskedValue,this.masked=e}get value(){return this._value}set value(t){this.value!==t&&(this.masked.value=t,this.updateControl("auto"))}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(t){this.unmaskedValue!==t&&(this.masked.unmaskedValue=t,this.updateControl("auto"))}get rawInputValue(){return this._rawInputValue}set rawInputValue(t){this.rawInputValue!==t&&(this.masked.rawInputValue=t,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(t){this.masked.typedValueEquals(t)||(this.masked.typedValue=t,this.updateControl("auto"))}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange,undo:this._onUndo,redo:this._onRedo})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(t,e){const s=this._listeners[t];s&&s.forEach((t=>t(e)))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(t){this.el&&this.el.isActive&&(this.el.select(t,t),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value,this._unmaskedValue=this.masked.unmaskedValue,this._rawInputValue=this.masked.rawInputValue}updateControl(t){const e=this.masked.unmaskedValue,s=this.masked.value,i=this.masked.rawInputValue,a=this.displayValue,u=this.unmaskedValue!==e||this.value!==s||this._rawInputValue!==i;this._unmaskedValue=e,this._value=s,this._rawInputValue=i,this.el.value!==a&&(this.el.value=a),"auto"===t?this.alignCursor():null!=t&&(this.cursorPos=t),u&&this._fireChangeEvents(),this._historyChanging||!u&&!this.history.isEmpty||this.history.push({unmaskedValue:e,selection:{start:this.selectionStart,end:this.cursorPos}})}updateOptions(t){const{mask:e,...s}=t,i=!this.maskEquals(e),a=this.masked.optionsIsChanged(s);i&&(this.mask=e),a&&this.masked.updateOptions(s),(i||a)&&this.updateControl()}updateCursor(t){null!=t&&(this.cursorPos=t,this._delayUpdateCursor(t))}_delayUpdateCursor(t){this._abortUpdateCursor(),this._changingCursorPos=t,this._cursorChanging=setTimeout((()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())}),10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,a.LEFT))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(t,e){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(e),this}off(t,e){if(!this._listeners[t])return this;if(!e)return delete this._listeners[t],this;const s=this._listeners[t].indexOf(e);return s>=0&&this._listeners[t].splice(s,1),this}_onInput(t){this._inputEvent=t,this._abortUpdateCursor();const e=new h({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),s=this.masked.rawInputValue,i=this.masked.splice(e.startChangePos,e.removed.length,e.inserted,e.removeDirection,{input:!0,raw:!0}).offset,u=s===this.masked.rawInputValue?e.removeDirection:a.NONE;let n=this.masked.nearestInputPos(e.startChangePos+i,u);u!==a.NONE&&(n=this.masked.nearestInputPos(n,a.NONE)),this.updateControl(n),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(t){t.preventDefault(),t.stopPropagation()}_onFocus(t){this.alignCursorFriendly()}_onClick(t){this.alignCursorFriendly()}_onUndo(){this._applyHistoryState(this.history.undo())}_onRedo(){this._applyHistoryState(this.history.redo())}_applyHistoryState(t){t&&(this._historyChanging=!0,this.unmaskedValue=t.unmaskedValue,this.el.select(t.selection.start,t.selection.end),this._saveSelection(),this._historyChanging=!1)}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}}o.InputMask=f;class v{static normalize(t){return Array.isArray(t)?t:[t,new v]}constructor(t){Object.assign(this,{inserted:"",rawInserted:"",tailShift:0,skip:!1},t)}aggregate(t){return this.inserted+=t.inserted,this.rawInserted+=t.rawInserted,this.tailShift+=t.tailShift,this.skip=this.skip||t.skip,this}get offset(){return this.tailShift+this.inserted.length}get consumed(){return Boolean(this.rawInserted)||this.skip}equals(t){return this.inserted===t.inserted&&this.tailShift===t.tailShift&&this.rawInserted===t.rawInserted&&this.skip===t.skip}}o.ChangeDetails=v;class E{constructor(t,e,s){void 0===t&&(t=""),void 0===e&&(e=0),this.value=t,this.from=e,this.stop=s}toString(){return this.value}extend(t){this.value+=String(t)}appendTo(t){return t.append(this.toString(),{tail:!0}).aggregate(t._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(t){Object.assign(this,t)}unshift(t){if(!this.value.length||null!=t&&this.from>=t)return"";const e=this.value[0];return this.value=this.value.slice(1),e}shift(){if(!this.value.length)return"";const t=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),t}}class C{constructor(t){this._value="",this._update({...C.DEFAULTS,...t}),this._initialized=!0}updateOptions(t){this.optionsIsChanged(t)&&this.withValueRefresh(this._update.bind(this,t))}_update(t){Object.assign(this,t)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value}reset(){this._value=""}get value(){return this._value}set value(t){this.resolve(t,{input:!0})}resolve(t,e){void 0===e&&(e={input:!0}),this.reset(),this.append(t,e,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(t){this.resolve(t,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(t){this.format?this.value=this.format(t,this):this.unmaskedValue=String(t)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(t){this.resolve(t,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(t,e){return t}totalInputPositions(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),Math.min(this.displayValue.length,e-t)}extractInput(t,e,s){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),this.displayValue.slice(t,e)}extractTail(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),new E(this.extractInput(t,e),t)}appendTail(t){return e(t)&&(t=new E(String(t))),t.appendTo(this)}_appendCharRaw(t,e){return t?(this._value+=t,new v({inserted:t,rawInserted:t})):new v}_appendChar(t,e,s){void 0===e&&(e={});const i=this.state;let a;if([t,a]=this.doPrepareChar(t,e),t&&(a=a.aggregate(this._appendCharRaw(t,e)),!a.rawInserted&&"pad"===this.autofix)){const s=this.state;this.state=i;let u=this.pad(e);const n=this._appendCharRaw(t,e);u=u.aggregate(n),n.rawInserted||u.equals(a)?a=u:this.state=s}if(a.inserted){let t,u=!1!==this.doValidate(e);if(u&&null!=s){const e=this.state;if(!0===this.overwrite){t=s.state;for(let t=0;t<a.rawInserted.length;++t)s.unshift(this.displayValue.length-a.tailShift)}let i=this.appendTail(s);if(u=i.rawInserted.length===s.toString().length,!(u&&i.inserted||"shift"!==this.overwrite)){this.state=e,t=s.state;for(let t=0;t<a.rawInserted.length;++t)s.shift();i=this.appendTail(s),u=i.rawInserted.length===s.toString().length}u&&i.inserted&&(this.state=e)}u||(a=new v,this.state=i,s&&t&&(s.state=t))}return a}_appendPlaceholder(){return new v}_appendEager(){return new v}append(t,s,i){if(!e(t))throw new Error("value should be string");const a=e(i)?new E(String(i)):i;let u;null!=s&&s.tail&&(s._beforeTailState=this.state),[t,u]=this.doPrepare(t,s);for(let e=0;e<t.length;++e){const i=this._appendChar(t[e],s,a);if(!i.rawInserted&&!this.doSkipInvalid(t[e],s,a))break;u.aggregate(i)}return(!0===this.eager||"append"===this.eager)&&null!=s&&s.input&&t&&u.aggregate(this._appendEager()),null!=a&&(u.tailShift+=this.appendTail(a).tailShift),u}remove(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),this._value=this.displayValue.slice(0,t)+this.displayValue.slice(e),new v}withValueRefresh(t){if(this._refreshing||!this._initialized)return t();this._refreshing=!0;const e=this.rawInputValue,s=this.value,i=t();return this.rawInputValue=e,this.value&&this.value!==s&&0===s.indexOf(this.value)&&(this.append(s.slice(this.displayValue.length),{},""),this.doCommit()),delete this._refreshing,i}runIsolated(t){if(this._isolated||!this._initialized)return t(this);this._isolated=!0;const e=this.state,s=t(this);return this.state=e,delete this._isolated,s}doSkipInvalid(t,e,s){return Boolean(this.skipInvalid)}doPrepare(t,e){return void 0===e&&(e={}),v.normalize(this.prepare?this.prepare(t,this,e):t)}doPrepareChar(t,e){return void 0===e&&(e={}),v.normalize(this.prepareChar?this.prepareChar(t,this,e):t)}doValidate(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))}doCommit(){this.commit&&this.commit(this.value,this)}splice(t,e,s,i,n){void 0===s&&(s=""),void 0===i&&(i=a.NONE),void 0===n&&(n={input:!0});const r=t+e,h=this.extractTail(r),o=!0===this.eager||"remove"===this.eager;let l;o&&(i=u(i),l=this.extractInput(0,r,{raw:!0}));let p=t;const d=new v;if(i!==a.NONE&&(p=this.nearestInputPos(t,e>1&&0!==t&&!o?a.NONE:i),d.tailShift=p-t),d.aggregate(this.remove(p)),o&&i!==a.NONE&&l===this.rawInputValue)if(i===a.FORCE_LEFT){let t;for(;l===this.rawInputValue&&(t=this.displayValue.length);)d.aggregate(new v({tailShift:-1})).aggregate(this.remove(t-1))}else i===a.FORCE_RIGHT&&h.unshift();return d.aggregate(this.append(s,n,h))}maskEquals(t){return this.mask===t}optionsIsChanged(t){return!r(this,t)}typedValueEquals(t){const e=this.typedValue;return t===e||C.EMPTY_VALUES.includes(t)&&C.EMPTY_VALUES.includes(e)||!!this.format&&this.format(t,this)===this.format(this.typedValue,this)}pad(t){return new v}}C.DEFAULTS={skipInvalid:!0},C.EMPTY_VALUES=[void 0,null,""],o.Masked=C;class A{constructor(t,e){void 0===t&&(t=[]),void 0===e&&(e=0),this.chunks=t,this.from=e}toString(){return this.chunks.map(String).join("")}extend(t){if(!String(t))return;t=e(t)?new E(String(t)):t;const s=this.chunks[this.chunks.length-1],i=s&&(s.stop===t.stop||null==t.stop)&&t.from===s.from+s.toString().length;if(t instanceof E)i?s.extend(t.toString()):this.chunks.push(t);else if(t instanceof A){if(null==t.stop){let e;for(;t.chunks.length&&null==t.chunks[0].stop;)e=t.chunks.shift(),e.from+=t.from,this.extend(e)}t.toString()&&(t.stop=t.blockIndex,this.chunks.push(t))}}appendTo(t){if(!(t instanceof o.MaskedPattern)){return new E(this.toString()).appendTo(t)}const e=new v;for(let s=0;s<this.chunks.length;++s){const i=this.chunks[s],a=t._mapPosToBlock(t.displayValue.length),u=i.stop;let n;if(null!=u&&(!a||a.index<=u)&&((i instanceof A||t._stops.indexOf(u)>=0)&&e.aggregate(t._appendPlaceholder(u)),n=i instanceof A&&t._blocks[u]),n){const s=n.appendTail(i);e.aggregate(s);const a=i.toString().slice(s.rawInserted.length);a&&e.aggregate(t.append(a,{tail:!0}))}else e.aggregate(t.append(i.toString(),{tail:!0}))}return e}get state(){return{chunks:this.chunks.map((t=>t.state)),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(t){const{chunks:e,...s}=t;Object.assign(this,s),this.chunks=e.map((t=>{const e="chunks"in t?new A:new E;return e.state=t,e}))}unshift(t){if(!this.chunks.length||null!=t&&this.from>=t)return"";const e=null!=t?t-this.from:t;let s=0;for(;s<this.chunks.length;){const t=this.chunks[s],i=t.unshift(e);if(t.toString()){if(!i)break;++s}else this.chunks.splice(s,1);if(i)return i}return""}shift(){if(!this.chunks.length)return"";let t=this.chunks.length-1;for(;0<=t;){const e=this.chunks[t],s=e.shift();if(e.toString()){if(!s)break;--t}else this.chunks.splice(t,1);if(s)return s}return""}}class F{constructor(t,e){this.masked=t,this._log=[];const{offset:s,index:i}=t._mapPosToBlock(e)||(e<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=s,this.index=i,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(t){Object.assign(this,t)}pushState(){this._log.push(this.state)}popState(){const t=this._log.pop();return t&&(this.state=t),t}bindBlock(){this.block||(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(t){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=(null==(e=this.block)?void 0:e.displayValue.length)||0){var e;if(t())return this.ok=!0}return this.ok=!1}_pushRight(t){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(t())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,a.FORCE_LEFT),0!==this.offset||void 0}))}pushLeftBeforeInput(){return this._pushLeft((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,a.LEFT),!0}))}pushLeftBeforeRequired(){return this._pushLeft((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,a.LEFT),!0}))}pushRightBeforeFilled(){return this._pushRight((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,a.FORCE_RIGHT),this.offset!==this.block.value.length||void 0}))}pushRightBeforeInput(){return this._pushRight((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,a.NONE),!0}))}pushRightBeforeRequired(){return this._pushRight((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,a.NONE),!0}))}}class x{constructor(t){Object.assign(this,t),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(t,e){return void 0===t&&(t=0),void 0===e&&(e=this._value.length),this._value=this._value.slice(0,t)+this._value.slice(e),this._value||(this._isRawInput=!1),new v}nearestInputPos(t,e){void 0===e&&(e=a.NONE);const s=this._value.length;switch(e){case a.LEFT:case a.FORCE_LEFT:return 0;default:return s}}totalInputPositions(t,e){return void 0===t&&(t=0),void 0===e&&(e=this._value.length),this._isRawInput?e-t:0}extractInput(t,e,s){return void 0===t&&(t=0),void 0===e&&(e=this._value.length),void 0===s&&(s={}),s.raw&&this._isRawInput&&this._value.slice(t,e)||""}get isComplete(){return!0}get isFilled(){return Boolean(this._value)}_appendChar(t,e){if(void 0===e&&(e={}),this.isFilled)return new v;const s=!0===this.eager||"append"===this.eager,i=this.char===t&&(this.isUnmasking||e.input||e.raw)&&(!e.raw||!s)&&!e.tail,a=new v({inserted:this.char,rawInserted:i?this.char:""});return this._value=this.char,this._isRawInput=i&&(e.raw||e.input),a}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const t=new v;return this.isFilled||(this._value=t.inserted=this.char),t}extractTail(){return new E("")}appendTail(t){return e(t)&&(t=new E(String(t))),t.appendTo(this)}append(t,e,s){const i=this._appendChar(t[0],e);return null!=s&&(i.tailShift+=this.appendTail(s).tailShift),i}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value,this._isRawInput=Boolean(t._rawInputValue)}pad(t){return this._appendPlaceholder()}}class S{constructor(t){const{parent:e,isOptional:s,placeholderChar:i,displayChar:a,lazy:u,eager:n,...r}=t;this.masked=d(r),Object.assign(this,{parent:e,isOptional:s,placeholderChar:i,displayChar:a,lazy:u,eager:n})}reset(){this.isFilled=!1,this.masked.reset()}remove(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.value.length),0===t&&e>=1?(this.isFilled=!1,this.masked.remove(t,e)):new v}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return Boolean(this.masked.value)||this.isOptional}_appendChar(t,e){if(void 0===e&&(e={}),this.isFilled)return new v;const s=this.masked.state;let i=this.masked._appendChar(t,this.currentMaskFlags(e));return i.inserted&&!1===this.doValidate(e)&&(i=new v,this.masked.state=s),i.inserted||this.isOptional||this.lazy||e.input||(i.inserted=this.placeholderChar),i.skip=!i.inserted&&!this.isOptional,this.isFilled=Boolean(i.inserted),i}append(t,e,s){return this.masked.append(t,this.currentMaskFlags(e),s)}_appendPlaceholder(){return this.isFilled||this.isOptional?new v:(this.isFilled=!0,new v({inserted:this.placeholderChar}))}_appendEager(){return new v}extractTail(t,e){return this.masked.extractTail(t,e)}appendTail(t){return this.masked.appendTail(t)}extractInput(t,e,s){return void 0===t&&(t=0),void 0===e&&(e=this.value.length),this.masked.extractInput(t,e,s)}nearestInputPos(t,e){void 0===e&&(e=a.NONE);const s=this.value.length,i=Math.min(Math.max(t,0),s);switch(e){case a.LEFT:case a.FORCE_LEFT:return this.isComplete?i:0;case a.RIGHT:case a.FORCE_RIGHT:return this.isComplete?i:s;default:return i}}totalInputPositions(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.value.length),this.value.slice(t,e).length}doValidate(t){return this.masked.doValidate(this.currentMaskFlags(t))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(t)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(t){this.masked.state=t.masked,this.isFilled=t.isFilled}currentMaskFlags(t){var e;return{...t,_beforeTailState:(null==t||null==(e=t._beforeTailState)?void 0:e.masked)||(null==t?void 0:t._beforeTailState)}}pad(t){return new v}}S.DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};class B extends C{updateOptions(t){super.updateOptions(t)}_update(t){const e=t.mask;e&&(t.validate=t=>t.search(e)>=0),super._update(t)}}o.MaskedRegExp=B;class b extends C{constructor(t){super({...b.DEFAULTS,...t,definitions:Object.assign({},S.DEFAULT_DEFINITIONS,null==t?void 0:t.definitions)})}updateOptions(t){super.updateOptions(t)}_update(t){t.definitions=Object.assign({},this.definitions,t.definitions),super._update(t),this._rebuildMask()}_rebuildMask(){const t=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};const e=this.mask;if(!e||!t)return;let s=!1,i=!1;for(let a=0;a<e.length;++a){if(this.blocks){const t=e.slice(a),s=Object.keys(this.blocks).filter((e=>0===t.indexOf(e)));s.sort(((t,e)=>e.length-t.length));const i=s[0];if(i){const{expose:t,repeat:e,...s}=p(this.blocks[i]),u={lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,autofix:this.autofix,...s,repeat:e,parent:this},n=null!=e?new o.RepeatBlock(u):d(u);n&&(this._blocks.push(n),t&&(this.exposeBlock=n),this._maskedBlocks[i]||(this._maskedBlocks[i]=[]),this._maskedBlocks[i].push(this._blocks.length-1)),a+=i.length-1;continue}}let u=e[a],n=u in t;if(u===b.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===u||"}"===u){s=!s;continue}if("["===u||"]"===u){i=!i;continue}if(u===b.ESCAPE_CHAR){if(++a,u=e[a],!u)break;n=!1}const r=n?new S({isOptional:i,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...p(t[u]),parent:this}):new x({char:u,eager:this.eager,isUnmasking:s});this._blocks.push(r)}}get state(){return{...super.state,_blocks:this._blocks.map((t=>t.state))}}set state(t){if(!t)return void this.reset();const{_blocks:e,...s}=t;this._blocks.forEach(((t,s)=>t.state=e[s])),super.state=s}reset(){super.reset(),this._blocks.forEach((t=>t.reset()))}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every((t=>t.isComplete))}get isFilled(){return this._blocks.every((t=>t.isFilled))}get isFixed(){return this._blocks.every((t=>t.isFixed))}get isOptional(){return this._blocks.every((t=>t.isOptional))}doCommit(){this._blocks.forEach((t=>t.doCommit())),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce(((t,e)=>t+e.unmaskedValue),"")}set unmaskedValue(t){if(this.exposeBlock){const e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=t,this.appendTail(e),this.doCommit()}else super.unmaskedValue=t}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce(((t,e)=>t+e.value),"")}set value(t){if(this.exposeBlock){const e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=t,this.appendTail(e),this.doCommit()}else super.value=t}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(t){if(this.exposeBlock){const e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=t,this.appendTail(e),this.doCommit()}else super.typedValue=t}get displayValue(){return this._blocks.reduce(((t,e)=>t+e.displayValue),"")}appendTail(t){return super.appendTail(t).aggregate(this._appendPlaceholder())}_appendEager(){var t;const e=new v;let s=null==(t=this._mapPosToBlock(this.displayValue.length))?void 0:t.index;if(null==s)return e;this._blocks[s].isFilled&&++s;for(let t=s;t<this._blocks.length;++t){const s=this._blocks[t]._appendEager();if(!s.inserted)break;e.aggregate(s)}return e}_appendCharRaw(t,e){void 0===e&&(e={});const s=this._mapPosToBlock(this.displayValue.length),i=new v;if(!s)return i;for(let u,n=s.index;u=this._blocks[n];++n){var a;const s=u._appendChar(t,{...e,_beforeTailState:null==(a=e._beforeTailState)||null==(a=a._blocks)?void 0:a[n]});if(i.aggregate(s),s.consumed)break}return i}extractTail(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length);const s=new A;return t===e||this._forEachBlocksInRange(t,e,((t,e,i,a)=>{const u=t.extractTail(i,a);u.stop=this._findStopBefore(e),u.from=this._blockStartPos(e),u instanceof A&&(u.blockIndex=e),s.extend(u)})),s}extractInput(t,e,s){if(void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),void 0===s&&(s={}),t===e)return"";let i="";return this._forEachBlocksInRange(t,e,((t,e,a,u)=>{i+=t.extractInput(a,u,s)})),i}_findStopBefore(t){let e;for(let s=0;s<this._stops.length;++s){const i=this._stops[s];if(!(i<=t))break;e=i}return e}_appendPlaceholder(t){const e=new v;if(this.lazy&&null==t)return e;const s=this._mapPosToBlock(this.displayValue.length);if(!s)return e;const i=s.index,a=null!=t?t:this._blocks.length;return this._blocks.slice(i,a).forEach((s=>{var i;s.lazy&&null==t||e.aggregate(s._appendPlaceholder(null==(i=s._blocks)?void 0:i.length))})),e}_mapPosToBlock(t){let e="";for(let s=0;s<this._blocks.length;++s){const i=this._blocks[s],a=e.length;if(e+=i.displayValue,t<=e.length)return{index:s,offset:t-a}}}_blockStartPos(t){return this._blocks.slice(0,t).reduce(((t,e)=>t+e.displayValue.length),0)}_forEachBlocksInRange(t,e,s){void 0===e&&(e=this.displayValue.length);const i=this._mapPosToBlock(t);if(i){const t=this._mapPosToBlock(e),a=t&&i.index===t.index,u=i.offset,n=t&&a?t.offset:this._blocks[i.index].displayValue.length;if(s(this._blocks[i.index],i.index,u,n),t&&!a){for(let e=i.index+1;e<t.index;++e)s(this._blocks[e],e,0,this._blocks[e].displayValue.length);s(this._blocks[t.index],t.index,0,t.offset)}}}remove(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length);const s=super.remove(t,e);return this._forEachBlocksInRange(t,e,((t,e,i,a)=>{s.aggregate(t.remove(i,a))})),s}nearestInputPos(t,e){if(void 0===e&&(e=a.NONE),!this._blocks.length)return 0;const s=new F(this,t);if(e===a.NONE)return s.pushRightBeforeInput()?s.pos:(s.popState(),s.pushLeftBeforeInput()?s.pos:this.displayValue.length);if(e===a.LEFT||e===a.FORCE_LEFT){if(e===a.LEFT){if(s.pushRightBeforeFilled(),s.ok&&s.pos===t)return t;s.popState()}if(s.pushLeftBeforeInput(),s.pushLeftBeforeRequired(),s.pushLeftBeforeFilled(),e===a.LEFT){if(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.ok&&s.pos<=t)return s.pos;if(s.popState(),s.ok&&s.pos<=t)return s.pos;s.popState()}return s.ok?s.pos:e===a.FORCE_LEFT?0:(s.popState(),s.ok?s.pos:(s.popState(),s.ok?s.pos:0))}return e===a.RIGHT||e===a.FORCE_RIGHT?(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.pushRightBeforeFilled()?s.pos:e===a.FORCE_RIGHT?this.displayValue.length:(s.popState(),s.ok?s.pos:(s.popState(),s.ok?s.pos:this.nearestInputPos(t,a.LEFT)))):t}totalInputPositions(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length);let s=0;return this._forEachBlocksInRange(t,e,((t,e,i,a)=>{s+=t.totalInputPositions(i,a)})),s}maskedBlock(t){return this.maskedBlocks(t)[0]}maskedBlocks(t){const e=this._maskedBlocks[t];return e?e.map((t=>this._blocks[t])):[]}pad(t){const e=new v;return this._forEachBlocksInRange(0,this.displayValue.length,(s=>e.aggregate(s.pad(t)))),e}}b.DEFAULTS={...C.DEFAULTS,lazy:!0,placeholderChar:"_"},b.STOP_CHAR="`",b.ESCAPE_CHAR="\\",b.InputDefinition=S,b.FixedDefinition=x,o.MaskedPattern=b;class D extends b{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){const{to:e=this.to||0,from:s=this.from||0,maxLength:i=this.maxLength||0,autofix:a=this.autofix,...u}=t;this.to=e,this.from=s,this.maxLength=Math.max(String(e).length,i),this.autofix=a;const n=String(this.from).padStart(this.maxLength,"0"),r=String(this.to).padStart(this.maxLength,"0");let h=0;for(;h<r.length&&r[h]===n[h];)++h;u.mask=r.slice(0,h).replace(/0/g,"\\0")+"0".repeat(this.maxLength-h),super._update(u)}get isComplete(){return super.isComplete&&Boolean(this.value)}boundaries(t){let e="",s="";const[,i,a]=t.match(/^(\D*)(\d*)(\D*)/)||[];return a&&(e="0".repeat(i.length)+a,s="9".repeat(i.length)+a),e=e.padEnd(this.maxLength,"0"),s=s.padEnd(this.maxLength,"9"),[e,s]}doPrepareChar(t,e){let s;return void 0===e&&(e={}),[t,s]=super.doPrepareChar(t.replace(/\D/g,""),e),t||(s.skip=!this.isComplete),[t,s]}_appendCharRaw(t,e){if(void 0===e&&(e={}),!this.autofix||this.value.length+1>this.maxLength)return super._appendCharRaw(t,e);const s=String(this.from).padStart(this.maxLength,"0"),i=String(this.to).padStart(this.maxLength,"0"),[a,u]=this.boundaries(this.value+t);return Number(u)<this.from?super._appendCharRaw(s[this.value.length],e):Number(a)>this.to?!e.tail&&"pad"===this.autofix&&this.value.length+1<this.maxLength?super._appendCharRaw(s[this.value.length],e).aggregate(this._appendCharRaw(t,e)):super._appendCharRaw(i[this.value.length],e):super._appendCharRaw(t,e)}doValidate(t){const e=this.value;if(-1===e.search(/[^0]/)&&e.length<=this._matchFrom)return!0;const[s,i]=this.boundaries(e);return this.from<=Number(i)&&Number(s)<=this.to&&super.doValidate(t)}pad(t){const e=new v;if(this.value.length===this.maxLength)return e;const s=this.value,i=this.maxLength-this.value.length;if(i){this.reset();for(let s=0;s<i;++s)e.aggregate(super._appendCharRaw("0",t));s.split("").forEach((t=>this._appendCharRaw(t)))}return e}}o.MaskedRange=D;class y extends b{static extractPatternOptions(t){const{mask:s,pattern:i,...a}=t;return{...a,mask:e(s)?s:i}}constructor(t){super(y.extractPatternOptions({...y.DEFAULTS,...t}))}updateOptions(t){super.updateOptions(t)}_update(t){const{mask:s,pattern:i,blocks:a,...u}={...y.DEFAULTS,...t},n=Object.assign({},y.GET_DEFAULT_BLOCKS());t.min&&(n.Y.from=t.min.getFullYear()),t.max&&(n.Y.to=t.max.getFullYear()),t.min&&t.max&&n.Y.from===n.Y.to&&(n.m.from=t.min.getMonth()+1,n.m.to=t.max.getMonth()+1,n.m.from===n.m.to&&(n.d.from=t.min.getDate(),n.d.to=t.max.getDate())),Object.assign(n,this.blocks,a),super._update({...u,mask:e(s)?s:i,blocks:n})}doValidate(t){const e=this.date;return super.doValidate(t)&&(!this.isComplete||this.isDateExist(this.value)&&null!=e&&(null==this.min||this.min<=e)&&(null==this.max||e<=this.max))}isDateExist(t){return this.format(this.parse(t,this),this).indexOf(t)>=0}get date(){return this.typedValue}set date(t){this.typedValue=t}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(t){super.typedValue=t}maskEquals(t){return t===Date||super.maskEquals(t)}optionsIsChanged(t){return super.optionsIsChanged(y.extractPatternOptions(t))}}y.GET_DEFAULT_BLOCKS=()=>({d:{mask:D,from:1,to:31,maxLength:2},m:{mask:D,from:1,to:12,maxLength:2},Y:{mask:D,from:1900,to:9999}}),y.DEFAULTS={...b.DEFAULTS,mask:Date,pattern:"d{.}`m{.}`Y",format:(t,e)=>{if(!t)return"";return[String(t.getDate()).padStart(2,"0"),String(t.getMonth()+1).padStart(2,"0"),t.getFullYear()].join(".")},parse:(t,e)=>{const[s,i,a]=t.split(".").map(Number);return new Date(a,i-1,s)}},o.MaskedDate=y;class M extends C{constructor(t){super({...M.DEFAULTS,...t}),this.currentMask=void 0}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),"mask"in t&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(t.mask)?t.mask.map((t=>{const{expose:e,...s}=p(t),i=d({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...s});return e&&(this.exposeMask=i),i})):[])}_appendCharRaw(t,e){void 0===e&&(e={});const s=this._applyDispatch(t,e);return this.currentMask&&s.aggregate(this.currentMask._appendChar(t,this.currentMaskFlags(e))),s}_applyDispatch(t,e,s){void 0===t&&(t=""),void 0===e&&(e={}),void 0===s&&(s="");const i=e.tail&&null!=e._beforeTailState?e._beforeTailState._value:this.value,a=this.rawInputValue,u=e.tail&&null!=e._beforeTailState?e._beforeTailState._rawInputValue:a,n=a.slice(u.length),r=this.currentMask,h=new v,o=null==r?void 0:r.state;return this.currentMask=this.doDispatch(t,{...e},s),this.currentMask&&(this.currentMask!==r?(this.currentMask.reset(),u&&(this.currentMask.append(u,{raw:!0}),h.tailShift=this.currentMask.value.length-i.length),n&&(h.tailShift+=this.currentMask.append(n,{raw:!0,tail:!0}).tailShift)):o&&(this.currentMask.state=o)),h}_appendPlaceholder(){const t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendPlaceholder()),t}_appendEager(){const t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendEager()),t}appendTail(t){const e=new v;return t&&e.aggregate(this._applyDispatch("",{},t)),e.aggregate(this.currentMask?this.currentMask.appendTail(t):super.appendTail(t))}currentMaskFlags(t){var e,s;return{...t,_beforeTailState:(null==(e=t._beforeTailState)?void 0:e.currentMaskRef)===this.currentMask&&(null==(s=t._beforeTailState)?void 0:s.currentMask)||t._beforeTailState}}doDispatch(t,e,s){return void 0===e&&(e={}),void 0===s&&(s=""),this.dispatch(t,this,e,s)}doValidate(t){return super.doValidate(t)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(t)))}doPrepare(t,e){void 0===e&&(e={});let[s,i]=super.doPrepare(t,e);if(this.currentMask){let t;[s,t]=super.doPrepare(s,this.currentMaskFlags(e)),i=i.aggregate(t)}return[s,i]}doPrepareChar(t,e){void 0===e&&(e={});let[s,i]=super.doPrepareChar(t,e);if(this.currentMask){let t;[s,t]=super.doPrepareChar(s,this.currentMaskFlags(e)),i=i.aggregate(t)}return[s,i]}reset(){var t;null==(t=this.currentMask)||t.reset(),this.compiledMasks.forEach((t=>t.reset()))}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(t){this.exposeMask?(this.exposeMask.value=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=t}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(t){this.exposeMask?(this.exposeMask.unmaskedValue=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=t}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(t){if(this.exposeMask)return this.exposeMask.typedValue=t,this.currentMask=this.exposeMask,void this._applyDispatch();let e=String(t);this.currentMask&&(this.currentMask.typedValue=t,e=this.currentMask.unmaskedValue),this.unmaskedValue=e}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var t;return Boolean(null==(t=this.currentMask)?void 0:t.isComplete)}get isFilled(){var t;return Boolean(null==(t=this.currentMask)?void 0:t.isFilled)}remove(t,e){const s=new v;return this.currentMask&&s.aggregate(this.currentMask.remove(t,e)).aggregate(this._applyDispatch()),s}get state(){var t;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((t=>t.state)),currentMaskRef:this.currentMask,currentMask:null==(t=this.currentMask)?void 0:t.state}}set state(t){const{compiledMasks:e,currentMaskRef:s,currentMask:i,...a}=t;e&&this.compiledMasks.forEach(((t,s)=>t.state=e[s])),null!=s&&(this.currentMask=s,this.currentMask.state=i),super.state=a}extractInput(t,e,s){return this.currentMask?this.currentMask.extractInput(t,e,s):""}extractTail(t,e){return this.currentMask?this.currentMask.extractTail(t,e):super.extractTail(t,e)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(t,e){return this.currentMask?this.currentMask.nearestInputPos(t,e):super.nearestInputPos(t,e)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(t){this._overwrite=t}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(t){this._eager=t}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(t){this._skipInvalid=t}get autofix(){return this.currentMask?this.currentMask.autofix:this._autofix}set autofix(t){this._autofix=t}maskEquals(t){return Array.isArray(t)?this.compiledMasks.every(((e,s)=>{if(!t[s])return;const{mask:i,...a}=t[s];return r(e,a)&&e.maskEquals(i)})):super.maskEquals(t)}typedValueEquals(t){var e;return Boolean(null==(e=this.currentMask)?void 0:e.typedValueEquals(t))}}M.DEFAULTS={...C.DEFAULTS,dispatch:(t,e,s,i)=>{if(!e.compiledMasks.length)return;const u=e.rawInputValue,n=e.compiledMasks.map(((n,r)=>{const h=e.currentMask===n,o=h?n.displayValue.length:n.nearestInputPos(n.displayValue.length,a.FORCE_LEFT);return n.rawInputValue!==u?(n.reset(),n.append(u,{raw:!0})):h||n.remove(o),n.append(t,e.currentMaskFlags(s)),n.appendTail(i),{index:r,weight:n.rawInputValue.length,totalInputPositions:n.totalInputPositions(0,Math.max(o,n.nearestInputPos(n.displayValue.length,a.FORCE_LEFT)))}}));return n.sort(((t,e)=>e.weight-t.weight||e.totalInputPositions-t.totalInputPositions)),e.compiledMasks[n[0].index]}},o.MaskedDynamic=M;class I extends b{constructor(t){super({...I.DEFAULTS,...t})}updateOptions(t){super.updateOptions(t)}_update(t){const{enum:e,...s}=t;if(e){const t=e.map((t=>t.length)),i=Math.min(...t),a=Math.max(...t)-i;s.mask="*".repeat(i),a&&(s.mask+="["+"*".repeat(a)+"]"),this.enum=e}super._update(s)}_appendCharRaw(t,e){void 0===e&&(e={});const s=Math.min(this.nearestInputPos(0,a.FORCE_RIGHT),this.value.length),i=this.enum.filter((e=>this.matchValue(e,this.unmaskedValue+t,s)));if(i.length){1===i.length&&this._forEachBlocksInRange(0,this.value.length,((t,s)=>{const a=i[0][s];s>=this.value.length||a===t.value||(t.reset(),t._appendChar(a,e))}));const t=super._appendCharRaw(i[0][this.value.length],e);return 1===i.length&&i[0].slice(this.unmaskedValue.length).split("").forEach((e=>t.aggregate(super._appendCharRaw(e)))),t}return new v({skip:!this.isComplete})}extractTail(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),new E("",t)}remove(t,e){if(void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),t===e)return new v;const s=Math.min(super.nearestInputPos(0,a.FORCE_RIGHT),this.value.length);let i;for(i=t;i>=0;--i){if(this.enum.filter((t=>this.matchValue(t,this.value.slice(s,i),s))).length>1)break}const u=super.remove(i,e);return u.tailShift+=i-t,u}get isComplete(){return this.enum.indexOf(this.value)>=0}}I.DEFAULTS={...b.DEFAULTS,matchValue:(t,e,s)=>t.indexOf(e,s)===s},o.MaskedEnum=I;class V extends C{updateOptions(t){super.updateOptions(t)}_update(t){super._update({...t,validate:t.mask})}}var T;o.MaskedFunction=V;class w extends C{constructor(t){super({...w.DEFAULTS,...t})}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),this._updateRegExps()}_updateRegExps(){const t="^"+(this.allowNegative?"[+|\\-]?":""),e=(this.scale?"("+n(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(t+"\\d*"+e),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(n).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(n(this.thousandsSeparator),"g")}_removeThousandsSeparators(t){return t.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(t){const e=t.split(this.radix);return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),e.join(this.radix)}doPrepareChar(t,e){void 0===e&&(e={});const[s,i]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(e.input&&e.raw||!e.input&&!e.raw)?t.replace(this._mapToRadixRegExp,this.radix):t),e);return t&&!s&&(i.skip=!0),!s||this.allowPositive||this.value||"-"===s||i.aggregate(this._appendChar("-")),[s,i]}_separatorsCount(t,e){void 0===e&&(e=!1);let s=0;for(let i=0;i<t;++i)this._value.indexOf(this.thousandsSeparator,i)===i&&(++s,e&&(t+=this.thousandsSeparator.length));return s}_separatorsCountFromSlice(t){return void 0===t&&(t=this._value),this._separatorsCount(this._removeThousandsSeparators(t).length,!0)}extractInput(t,e,s){return void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),[t,e]=this._adjustRangeWithSeparators(t,e),this._removeThousandsSeparators(super.extractInput(t,e,s))}_appendCharRaw(t,e){void 0===e&&(e={});const s=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value,i=this._separatorsCountFromSlice(s);this._value=this._removeThousandsSeparators(this.value);const a=this._value;this._value+=t;const u=this.number;let n,r=!isNaN(u),h=!1;if(r){let t;null!=this.min&&this.min<0&&this.number<this.min&&(t=this.min),null!=this.max&&this.max>0&&this.number>this.max&&(t=this.max),null!=t&&(this.autofix?(this._value=this.format(t,this).replace(w.UNMASKED_RADIX,this.radix),h||(h=a===this._value&&!e.tail)):r=!1),r&&(r=Boolean(this._value.match(this._numberRegExp)))}r?n=new v({inserted:this._value.slice(a.length),rawInserted:h?"":t,skip:h}):(this._value=a,n=new v),this._value=this._insertThousandsSeparators(this._value);const o=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value,l=this._separatorsCountFromSlice(o);return n.tailShift+=(l-i)*this.thousandsSeparator.length,n}_findSeparatorAround(t){if(this.thousandsSeparator){const e=t-this.thousandsSeparator.length+1,s=this.value.indexOf(this.thousandsSeparator,e);if(s<=t)return s}return-1}_adjustRangeWithSeparators(t,e){const s=this._findSeparatorAround(t);s>=0&&(t=s);const i=this._findSeparatorAround(e);return i>=0&&(e=i+this.thousandsSeparator.length),[t,e]}remove(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length),[t,e]=this._adjustRangeWithSeparators(t,e);const s=this.value.slice(0,t),i=this.value.slice(e),a=this._separatorsCount(s.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(s+i));const u=this._separatorsCountFromSlice(s);return new v({tailShift:(u-a)*this.thousandsSeparator.length})}nearestInputPos(t,e){if(!this.thousandsSeparator)return t;switch(e){case a.NONE:case a.LEFT:case a.FORCE_LEFT:{const s=this._findSeparatorAround(t-1);if(s>=0){const i=s+this.thousandsSeparator.length;if(t<i||this.value.length<=i||e===a.FORCE_LEFT)return s}break}case a.RIGHT:case a.FORCE_RIGHT:{const e=this._findSeparatorAround(t);if(e>=0)return e+this.thousandsSeparator.length}}return t}doCommit(){if(this.value){const t=this.number;let e=t;null!=this.min&&(e=Math.max(e,this.min)),null!=this.max&&(e=Math.min(e,this.max)),e!==t&&(this.unmaskedValue=this.format(e,this));let s=this.value;this.normalizeZeros&&(s=this._normalizeZeros(s)),this.padFractionalZeros&&this.scale>0&&(s=this._padFractionalZeros(s)),this._value=s}super.doCommit()}_normalizeZeros(t){const e=this._removeThousandsSeparators(t).split(this.radix);return e[0]=e[0].replace(/^(\D*)(0*)(\d*)/,((t,e,s,i)=>e+i)),t.length&&!/\d$/.test(e[0])&&(e[0]=e[0]+"0"),e.length>1&&(e[1]=e[1].replace(/0*$/,""),e[1].length||(e.length=1)),this._insertThousandsSeparators(e.join(this.radix))}_padFractionalZeros(t){if(!t)return t;const e=t.split(this.radix);return e.length<2&&e.push(""),e[1]=e[1].padEnd(this.scale,"0"),e.join(this.radix)}doSkipInvalid(t,e,s){void 0===e&&(e={});const i=0===this.scale&&t!==this.thousandsSeparator&&(t===this.radix||t===w.UNMASKED_RADIX||this.mapToRadix.includes(t));return super.doSkipInvalid(t,e,s)&&!i}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,w.UNMASKED_RADIX)}set unmaskedValue(t){super.unmaskedValue=t}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(t){this.rawInputValue=this.format(t,this).replace(w.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(t){this.typedValue=t}get allowNegative(){return null!=this.min&&this.min<0||null!=this.max&&this.max<0}get allowPositive(){return null!=this.min&&this.min>0||null!=this.max&&this.max>0}typedValueEquals(t){return(super.typedValueEquals(t)||w.EMPTY_VALUES.includes(t)&&w.EMPTY_VALUES.includes(this.typedValue))&&!(0===t&&""===this.value)}}T=w,w.UNMASKED_RADIX=".",w.EMPTY_VALUES=[...C.EMPTY_VALUES,0],w.DEFAULTS={...C.DEFAULTS,mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[T.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})},o.MaskedNumber=w;const R={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function P(t,e,s){void 0===e&&(e=R.MASKED),void 0===s&&(s=R.MASKED);const i=d(t);return t=>i.runIsolated((i=>(i[e]=t,i[s])))}function O(t,e,s,i){return P(e,s,i)(t)}o.PIPE_TYPE=R,o.createPipe=P,o.pipe=O;class L extends b{get repeatFrom(){var t;return null!=(t=Array.isArray(this.repeat)?this.repeat[0]:this.repeat===1/0?0:this.repeat)?t:0}get repeatTo(){var t;return null!=(t=Array.isArray(this.repeat)?this.repeat[1]:this.repeat)?t:1/0}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){var e,s,i;const{repeat:a,...u}=p(t);this._blockOpts=Object.assign({},this._blockOpts,u);const n=d(this._blockOpts);this.repeat=null!=(e=null!=(s=null!=a?a:n.repeat)?s:this.repeat)?e:1/0,super._update({mask:"m".repeat(Math.max(this.repeatTo===1/0&&(null==(i=this._blocks)?void 0:i.length)||0,this.repeatFrom)),blocks:{m:n},eager:n.eager,overwrite:n.overwrite,skipInvalid:n.skipInvalid,lazy:n.lazy,placeholderChar:n.placeholderChar,displayChar:n.displayChar})}_allocateBlock(t){return t<this._blocks.length?this._blocks[t]:this.repeatTo===1/0||this._blocks.length<this.repeatTo?(this._blocks.push(d(this._blockOpts)),this.mask+="m",this._blocks[this._blocks.length-1]):void 0}_appendCharRaw(t,e){void 0===e&&(e={});const s=new v;for(let r,h,o=null!=(i=null==(a=this._mapPosToBlock(this.displayValue.length))?void 0:a.index)?i:Math.max(this._blocks.length-1,0);r=null!=(u=this._blocks[o])?u:h=!h&&this._allocateBlock(o);++o){var i,a,u,n;const l=r._appendChar(t,{...e,_beforeTailState:null==(n=e._beforeTailState)||null==(n=n._blocks)?void 0:n[o]});if(l.skip&&h){this._blocks.pop(),this.mask=this.mask.slice(1);break}if(s.aggregate(l),l.consumed)break}return s}_trimEmptyTail(t,e){var s,i;void 0===t&&(t=0);const a=Math.max((null==(s=this._mapPosToBlock(t))?void 0:s.index)||0,this.repeatFrom,0);let u;null!=e&&(u=null==(i=this._mapPosToBlock(e))?void 0:i.index),null==u&&(u=this._blocks.length-1);let n=0;for(let t=u;a<=t&&!this._blocks[t].unmaskedValue;--t,++n);n&&(this._blocks.splice(u-n+1,n),this.mask=this.mask.slice(n))}reset(){super.reset(),this._trimEmptyTail()}remove(t,e){void 0===t&&(t=0),void 0===e&&(e=this.displayValue.length);const s=super.remove(t,e);return this._trimEmptyTail(t,e),s}totalInputPositions(t,e){return void 0===t&&(t=0),null==e&&this.repeatTo===1/0?1/0:super.totalInputPositions(t,e)}get state(){return super.state}set state(t){this._blocks.length=t._blocks.length,this.mask=this.mask.slice(0,this._blocks.length),super.state=t}}o.RepeatBlock=L;try{globalThis.IMask=o}catch{}t.ChangeDetails=v,t.ChunksTailDetails=A,t.DIRECTION=a,t.HTMLContenteditableMaskElement=m,t.HTMLInputMaskElement=k,t.HTMLMaskElement=g,t.InputMask=f,t.MaskElement=c,t.Masked=C,t.MaskedDate=y,t.MaskedDynamic=M,t.MaskedEnum=I,t.MaskedFunction=V,t.MaskedNumber=w,t.MaskedPattern=b,t.MaskedRange=D,t.MaskedRegExp=B,t.PIPE_TYPE=R,t.PatternFixedDefinition=x,t.PatternInputDefinition=S,t.RepeatBlock=L,t.createMask=d,t.createPipe=P,t.default=o,t.forceDirection=u,t.normalizeOpts=p,t.pipe=O,Object.defineProperty(t,"__esModule",{value:!0})}));(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports,require("imask"),require("@angular/common"),require("@angular/core"),require("@angular/forms")):typeof define==="function"&&define.amd?define(["exports","imask","@angular/common","@angular/core","@angular/forms"],factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,factory(global.angularIMask={},global.IMask,global.ng.common,global.ng.core,global.ng.forms))})(this,(function(exports,IMask,common,i0,forms){"use strict";function _interopNamespaceDefault(e){var n=Object.create(null);if(e){Object.keys(e).forEach((function(k){if(k!=="default"){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}})}}))}n.default=e;return Object.freeze(n)}var i0__namespace=_interopNamespaceDefault(i0);class DefaultImaskFactory{create(el,opts){return IMask(el,opts)}static{this.\u0275fac=i0__namespace.\u0275\u0275ngDeclareFactory({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:DefaultImaskFactory,deps:[],target:i0__namespace.\u0275\u0275FactoryTarget.Injectable})}static{this.\u0275prov=i0__namespace.\u0275\u0275ngDeclareInjectable({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:DefaultImaskFactory,providedIn:"root"})}}i0__namespace.\u0275\u0275ngDeclareClassMetadata({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:DefaultImaskFactory,decorators:[{type:i0.Injectable,args:[{providedIn:"root"}]}]});const IMASK_FACTORY=new i0.InjectionToken("IMASK_FACTORY",{providedIn:"root",factory:()=>i0.inject(DefaultImaskFactory)});const MASKEDINPUT_VALUE_ACCESSOR={provide:forms.NG_VALUE_ACCESSOR,useExisting:i0.forwardRef((()=>IMaskDirective)),multi:true};const DEFAULT_IMASK_ELEMENT=elementRef=>elementRef.nativeElement;class IMaskDirective{constructor(){this.onTouched=()=>{};this.onChange=()=>{};this._viewInitialized=false;this._composing=false;this._writing=false;this._elementRef=i0.inject(i0.ElementRef);this._renderer=i0.inject(i0.Renderer2);this._factory=i0.inject(IMASK_FACTORY);this._platformId=i0.inject(i0.PLATFORM_ID);this._compositionMode=i0.inject(forms.COMPOSITION_BUFFER_MODE,{optional:true})??!this._isAndroid();this.imaskElement=DEFAULT_IMASK_ELEMENT;this.accept=new i0.EventEmitter;this.complete=new i0.EventEmitter}get element(){return this.imaskElement(this._elementRef,this)}get maskValue(){if(!this.maskRef)return this.element?.value||"";if(this.unmask==="typed")return this.maskRef.typedValue;if(this.unmask)return this.maskRef.unmaskedValue;return this.maskRef.value}set maskValue(value){if(this.maskRef){if(this.unmask==="typed")this.maskRef.typedValue=value;else if(this.unmask)this.maskRef.unmaskedValue=value;else this.maskRef.value=value}else{this._renderer.setProperty(this.element,"value",value)}}ngAfterViewInit(){if(this.imask)this.initMask();this._viewInitialized=true}ngOnChanges(changes){if(changes["elementRef"]&&!this.imaskElement)this.imaskElement=DEFAULT_IMASK_ELEMENT;if(!changes["imask"]||!this._viewInitialized)return;if(this.imask){if(this.maskRef)this.maskRef.updateOptions(this.imask);else{this.initMask();this.onChange(this.maskValue)}}else{this.destroyMask()}}destroyMask(){if(this.maskRef){this.maskRef.destroy();delete this.maskRef}}ngOnDestroy(){this.destroyMask();this.accept.complete();this.complete.complete()}beginWrite(value){this._writing=true;this._writingValue=value}endWrite(){this._writing=false;return this._writingValue}writeValue(value){value=value==null&&this.unmask!=="typed"?"":value;if(this.maskRef){this.beginWrite(value);this.maskValue=value;this.endWrite()}else{this._renderer.setProperty(this.element,"value",value);this._initialValue=value}}_onAccept(){const value=this.maskValue;if(this._writing&&value===this.endWrite())return;this.onChange(value);this.accept.emit(value)}_onComplete(){this.complete.emit(this.maskValue)}initMask(){this.maskRef=this._factory.create(this.element,this.imask).on("accept",this._onAccept.bind(this)).on("complete",this._onComplete.bind(this));if(this._initialValue!=null)this.writeValue(this._initialValue);delete this._initialValue}setDisabledState(isDisabled){this._renderer.setProperty(this.element,"disabled",isDisabled)}registerOnChange(fn){this.onChange=fn}registerOnTouched(fn){this.onTouched=fn}_handleInput(value){if(this.maskRef)return;if(!this._compositionMode||this._compositionMode&&!this._composing){this.onChange(value)}}_compositionStart(){this._composing=true}_compositionEnd(value){this._composing=false;this._compositionMode&&this._handleInput(value)}_isAndroid(){return common.isPlatformBrowser(this._platformId)&&/android (\d+)/.test(navigator.userAgent.toLowerCase())}static{this.\u0275fac=i0__namespace.\u0275\u0275ngDeclareFactory({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:IMaskDirective,deps:[],target:i0__namespace.\u0275\u0275FactoryTarget.Directive})}static{this.\u0275dir=i0__namespace.\u0275\u0275ngDeclareDirective({minVersion:"14.0.0",version:"16.2.12",type:IMaskDirective,isStandalone:true,selector:"[imask]",inputs:{imask:"imask",unmask:"unmask",imaskElement:"imaskElement"},outputs:{accept:"accept",complete:"complete"},host:{listeners:{input:"_handleInput($event.target.value)",blur:"onTouched()",compositionstart:"_compositionStart()",compositionend:"_compositionEnd($event.target.value)"}},providers:[MASKEDINPUT_VALUE_ACCESSOR],exportAs:["imask"],usesOnChanges:true,ngImport:i0__namespace})}}i0__namespace.\u0275\u0275ngDeclareClassMetadata({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:IMaskDirective,decorators:[{type:i0.Directive,args:[{selector:"[imask]",standalone:true,exportAs:"imask",host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[MASKEDINPUT_VALUE_ACCESSOR]}]}],propDecorators:{imask:[{type:i0.Input}],unmask:[{type:i0.Input}],imaskElement:[{type:i0.Input}],accept:[{type:i0.Output}],complete:[{type:i0.Output}]}});class IMaskPipe{transform(...args){return IMask.pipe(...args)}static{this.\u0275fac=i0__namespace.\u0275\u0275ngDeclareFactory({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:IMaskPipe,deps:[],target:i0__namespace.\u0275\u0275FactoryTarget.Pipe})}static{this.\u0275pipe=i0__namespace.\u0275\u0275ngDeclarePipe({minVersion:"14.0.0",version:"16.2.12",ngImport:i0__namespace,type:IMaskPipe,isStandalone:true,name:"imask"})}}i0__namespace.\u0275\u0275ngDeclareClassMetadata({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:IMaskPipe,decorators:[{type:i0.Pipe,args:[{name:"imask",standalone:true}]}]});class IMaskModule{static{this.\u0275fac=i0__namespace.\u0275\u0275ngDeclareFactory({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:IMaskModule,deps:[],target:i0__namespace.\u0275\u0275FactoryTarget.NgModule})}static{this.\u0275mod=i0__namespace.\u0275\u0275ngDeclareNgModule({minVersion:"14.0.0",version:"16.2.12",ngImport:i0__namespace,type:IMaskModule,imports:[IMaskDirective,IMaskPipe],exports:[IMaskDirective,IMaskPipe]})}static{this.\u0275inj=i0__namespace.\u0275\u0275ngDeclareInjector({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:IMaskModule})}}i0__namespace.\u0275\u0275ngDeclareClassMetadata({minVersion:"12.0.0",version:"16.2.12",ngImport:i0__namespace,type:IMaskModule,decorators:[{type:i0.NgModule,args:[{imports:[IMaskDirective,IMaskPipe],exports:[IMaskDirective,IMaskPipe]}]}]});exports.IMask=IMask;Object.defineProperty(exports,"PIPE_TYPE",{enumerable:true,get:function(){return IMask.PIPE_TYPE}});Object.defineProperty(exports,"pipe",{enumerable:true,get:function(){return IMask.pipe}});exports.DEFAULT_IMASK_ELEMENT=DEFAULT_IMASK_ELEMENT;exports.DefaultImaskFactory=DefaultImaskFactory;exports.IMASK_FACTORY=IMASK_FACTORY;exports.IMaskDirective=IMaskDirective;exports.IMaskModule=IMaskModule;exports.IMaskPipe=IMaskPipe;exports.MASKEDINPUT_VALUE_ACCESSOR=MASKEDINPUT_VALUE_ACCESSOR}));(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define(["exports"],factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,factory(global.jmespath={}))})(this,(function(exports){"use strict";const isObject=obj=>obj!==null&&Object.prototype.toString.call(obj)==="[object Object]";const strictDeepEqual=(first,second)=>{if(first===second){return true}if(typeof first!==typeof second){return false}if(Array.isArray(first)&&Array.isArray(second)){if(first.length!==second.length){return false}for(let i=0;i<first.length;i+=1){if(!strictDeepEqual(first[i],second[i])){return false}}return true}if(isObject(first)&&isObject(second)){const firstEntries=Object.entries(first);const secondKeys=new Set(Object.keys(second));if(firstEntries.length!==secondKeys.size){return false}for(const[key,value]of firstEntries){if(!strictDeepEqual(value,second[key])){return false}secondKeys.delete(key)}return secondKeys.size===0}return false};const isFalse=obj=>{if(obj===""||obj===false||obj===null||obj===undefined){return true}if(Array.isArray(obj)&&obj.length===0){return true}if(isObject(obj)){for(const key in obj){if(obj.hasOwnProperty(key)){return false}}return true}return false};const isAlpha=ch=>ch>="a"&&ch<="z"||ch>="A"&&ch<="Z"||ch==="_";const isNum=ch=>ch>="0"&&ch<="9"||ch==="-";const isAlphaNum=ch=>ch>="a"&&ch<="z"||ch>="A"&&ch<="Z"||ch>="0"&&ch<="9"||ch==="_";var Token;(function(Token){Token["TOK_EOF"]="EOF";Token["TOK_UNQUOTEDIDENTIFIER"]="UnquotedIdentifier";Token["TOK_QUOTEDIDENTIFIER"]="QuotedIdentifier";Token["TOK_RBRACKET"]="Rbracket";Token["TOK_RPAREN"]="Rparen";Token["TOK_COMMA"]="Comma";Token["TOK_COLON"]="Colon";Token["TOK_RBRACE"]="Rbrace";Token["TOK_NUMBER"]="Number";Token["TOK_CURRENT"]="Current";Token["TOK_ROOT"]="Root";Token["TOK_EXPREF"]="Expref";Token["TOK_PIPE"]="Pipe";Token["TOK_OR"]="Or";Token["TOK_AND"]="And";Token["TOK_EQ"]="EQ";Token["TOK_GT"]="GT";Token["TOK_LT"]="LT";Token["TOK_GTE"]="GTE";Token["TOK_LTE"]="LTE";Token["TOK_NE"]="NE";Token["TOK_FLATTEN"]="Flatten";Token["TOK_STAR"]="Star";Token["TOK_FILTER"]="Filter";Token["TOK_DOT"]="Dot";Token["TOK_NOT"]="Not";Token["TOK_LBRACE"]="Lbrace";Token["TOK_LBRACKET"]="Lbracket";Token["TOK_LPAREN"]="Lparen";Token["TOK_LITERAL"]="Literal"})(Token||(Token={}));const basicTokens={"(":Token.TOK_LPAREN,")":Token.TOK_RPAREN,"*":Token.TOK_STAR,",":Token.TOK_COMMA,".":Token.TOK_DOT,":":Token.TOK_COLON,"@":Token.TOK_CURRENT,["$"]:Token.TOK_ROOT,"]":Token.TOK_RBRACKET,"{":Token.TOK_LBRACE,"}":Token.TOK_RBRACE};const operatorStartToken={"!":true,"<":true,"=":true,">":true};const skipChars={"\t":true,"\n":true,"\r":true," ":true};class StreamLexer{constructor(){this._current=0}tokenize(stream){const tokens=[];this._current=0;let start;let identifier;let token;while(this._current<stream.length){if(isAlpha(stream[this._current])){start=this._current;identifier=this.consumeUnquotedIdentifier(stream);tokens.push({start:start,type:Token.TOK_UNQUOTEDIDENTIFIER,value:identifier})}else if(basicTokens[stream[this._current]]!==undefined){tokens.push({start:this._current,type:basicTokens[stream[this._current]],value:stream[this._current]});this._current+=1}else if(isNum(stream[this._current])){token=this.consumeNumber(stream);tokens.push(token)}else if(stream[this._current]==="["){token=this.consumeLBracket(stream);tokens.push(token)}else if(stream[this._current]==='"'){start=this._current;identifier=this.consumeQuotedIdentifier(stream);tokens.push({start:start,type:Token.TOK_QUOTEDIDENTIFIER,value:identifier})}else if(stream[this._current]===`'`){start=this._current;identifier=this.consumeRawStringLiteral(stream);tokens.push({start:start,type:Token.TOK_LITERAL,value:identifier})}else if(stream[this._current]==="`"){start=this._current;const literal=this.consumeLiteral(stream);tokens.push({start:start,type:Token.TOK_LITERAL,value:literal})}else if(operatorStartToken[stream[this._current]]!==undefined){token=this.consumeOperator(stream);token&&tokens.push(token)}else if(skipChars[stream[this._current]]!==undefined){this._current+=1}else if(stream[this._current]==="&"){start=this._current;this._current+=1;if(stream[this._current]==="&"){this._current+=1;tokens.push({start:start,type:Token.TOK_AND,value:"&&"})}else{tokens.push({start:start,type:Token.TOK_EXPREF,value:"&"})}}else if(stream[this._current]==="|"){start=this._current;this._current+=1;if(stream[this._current]==="|"){this._current+=1;tokens.push({start:start,type:Token.TOK_OR,value:"||"})}else{tokens.push({start:start,type:Token.TOK_PIPE,value:"|"})}}else{const error=new Error(`Unknown character: ${stream[this._current]}`);error.name="LexerError";throw error}}return tokens}consumeUnquotedIdentifier(stream){const start=this._current;this._current+=1;while(this._current<stream.length&&isAlphaNum(stream[this._current])){this._current+=1}return stream.slice(start,this._current)}consumeQuotedIdentifier(stream){const start=this._current;this._current+=1;const maxLength=stream.length;while(stream[this._current]!=='"'&&this._current<maxLength){let current=this._current;if(stream[current]==="\\"&&(stream[current+1]==="\\"||stream[current+1]==='"')){current+=2}else{current+=1}this._current=current}this._current+=1;return JSON.parse(stream.slice(start,this._current))}consumeRawStringLiteral(stream){const start=this._current;this._current+=1;const maxLength=stream.length;while(stream[this._current]!==`'`&&this._current<maxLength){let current=this._current;if(stream[current]==="\\"&&(stream[current+1]==="\\"||stream[current+1]===`'`)){current+=2}else{current+=1}this._current=current}this._current+=1;const literal=stream.slice(start+1,this._current-1);return literal.replace(`\\'`,`'`)}consumeNumber(stream){const start=this._current;this._current+=1;const maxLength=stream.length;while(isNum(stream[this._current])&&this._current<maxLength){this._current+=1}const value=parseInt(stream.slice(start,this._current),10);return{start:start,value:value,type:Token.TOK_NUMBER}}consumeLBracket(stream){const start=this._current;this._current+=1;if(stream[this._current]==="?"){this._current+=1;return{start:start,type:Token.TOK_FILTER,value:"[?"}}if(stream[this._current]==="]"){this._current+=1;return{start:start,type:Token.TOK_FLATTEN,value:"[]"}}return{start:start,type:Token.TOK_LBRACKET,value:"["}}consumeOperator(stream){const start=this._current;const startingChar=stream[start];this._current+=1;if(startingChar==="!"){if(stream[this._current]==="="){this._current+=1;return{start:start,type:Token.TOK_NE,value:"!="}}return{start:start,type:Token.TOK_NOT,value:"!"}}if(startingChar==="<"){if(stream[this._current]==="="){this._current+=1;return{start:start,type:Token.TOK_LTE,value:"<="}}return{start:start,type:Token.TOK_LT,value:"<"}}if(startingChar===">"){if(stream[this._current]==="="){this._current+=1;return{start:start,type:Token.TOK_GTE,value:">="}}return{start:start,type:Token.TOK_GT,value:">"}}if(startingChar==="="&&stream[this._current]==="="){this._current+=1;return{start:start,type:Token.TOK_EQ,value:"=="}}}consumeLiteral(stream){this._current+=1;const start=this._current;const maxLength=stream.length;while(stream[this._current]!=="`"&&this._current<maxLength){let current=this._current;if(stream[current]==="\\"&&(stream[current+1]==="\\"||stream[current+1]==="`")){current+=2}else{current+=1}this._current=current}let literalString=stream.slice(start,this._current).trimLeft();literalString=literalString.replace("\\`","`");const literal=this.looksLikeJSON(literalString)?JSON.parse(literalString):JSON.parse(`"${literalString}"`);this._current+=1;return literal}looksLikeJSON(literalString){const startingChars='[{"';const jsonLiterals=["true","false","null"];const numberLooking="-0123456789";if(literalString===""){return false}if(startingChars.includes(literalString[0])){return true}if(jsonLiterals.includes(literalString)){return true}if(numberLooking.includes(literalString[0])){try{JSON.parse(literalString);return true}catch(ex){return false}}return false}}const Lexer=new StreamLexer;const bindingPower={[Token.TOK_EOF]:0,[Token.TOK_UNQUOTEDIDENTIFIER]:0,[Token.TOK_QUOTEDIDENTIFIER]:0,[Token.TOK_RBRACKET]:0,[Token.TOK_RPAREN]:0,[Token.TOK_COMMA]:0,[Token.TOK_RBRACE]:0,[Token.TOK_NUMBER]:0,[Token.TOK_CURRENT]:0,[Token.TOK_EXPREF]:0,[Token.TOK_ROOT]:0,[Token.TOK_PIPE]:1,[Token.TOK_OR]:2,[Token.TOK_AND]:3,[Token.TOK_EQ]:5,[Token.TOK_GT]:5,[Token.TOK_LT]:5,[Token.TOK_GTE]:5,[Token.TOK_LTE]:5,[Token.TOK_NE]:5,[Token.TOK_FLATTEN]:9,[Token.TOK_STAR]:20,[Token.TOK_FILTER]:21,[Token.TOK_DOT]:40,[Token.TOK_NOT]:45,[Token.TOK_LBRACE]:50,[Token.TOK_LBRACKET]:55,[Token.TOK_LPAREN]:60};class TokenParser{constructor(){this.index=0;this.tokens=[]}parse(expression){this.loadTokens(expression);this.index=0;const ast=this.expression(0);if(this.lookahead(0)!==Token.TOK_EOF){const token=this.lookaheadToken(0);this.errorToken(token,`Unexpected token type: ${token.type}, value: ${token.value}`)}return ast}loadTokens(expression){this.tokens=[...Lexer.tokenize(expression),{type:Token.TOK_EOF,value:"",start:expression.length}]}expression(rbp){const leftToken=this.lookaheadToken(0);this.advance();let left=this.nud(leftToken);let currentTokenType=this.lookahead(0);while(rbp<bindingPower[currentTokenType]){this.advance();left=this.led(currentTokenType,left);currentTokenType=this.lookahead(0)}return left}lookahead(offset){return this.tokens[this.index+offset].type}lookaheadToken(offset){return this.tokens[this.index+offset]}advance(){this.index+=1}nud(token){let left;let right;let expression;switch(token.type){case Token.TOK_LITERAL:return{type:"Literal",value:token.value};case Token.TOK_UNQUOTEDIDENTIFIER:return{type:"Field",name:token.value};case Token.TOK_QUOTEDIDENTIFIER:const node={type:"Field",name:token.value};if(this.lookahead(0)===Token.TOK_LPAREN){throw new Error("Quoted identifier not allowed for function names.")}else{return node}case Token.TOK_NOT:right=this.expression(bindingPower.Not);return{type:"NotExpression",children:[right]};case Token.TOK_STAR:left={type:"Identity"};right=this.lookahead(0)===Token.TOK_RBRACKET&&{type:"Identity"}||this.parseProjectionRHS(bindingPower.Star);return{type:"ValueProjection",children:[left,right]};case Token.TOK_FILTER:return this.led(token.type,{type:"Identity"});case Token.TOK_LBRACE:return this.parseMultiselectHash();case Token.TOK_FLATTEN:left={type:Token.TOK_FLATTEN,children:[{type:"Identity"}]};right=this.parseProjectionRHS(bindingPower.Flatten);return{type:"Projection",children:[left,right]};case Token.TOK_LBRACKET:if(this.lookahead(0)===Token.TOK_NUMBER||this.lookahead(0)===Token.TOK_COLON){right=this.parseIndexExpression();return this.projectIfSlice({type:"Identity"},right)}if(this.lookahead(0)===Token.TOK_STAR&&this.lookahead(1)===Token.TOK_RBRACKET){this.advance();this.advance();right=this.parseProjectionRHS(bindingPower.Star);return{children:[{type:"Identity"},right],type:"Projection"}}return this.parseMultiselectList();case Token.TOK_CURRENT:return{type:Token.TOK_CURRENT};case Token.TOK_ROOT:return{type:Token.TOK_ROOT};case Token.TOK_EXPREF:expression=this.expression(bindingPower.Expref);return{type:"ExpressionReference",children:[expression]};case Token.TOK_LPAREN:const args=[];while(this.lookahead(0)!==Token.TOK_RPAREN){if(this.lookahead(0)===Token.TOK_CURRENT){expression={type:Token.TOK_CURRENT};this.advance()}else{expression=this.expression(0)}args.push(expression)}this.match(Token.TOK_RPAREN);return args[0];default:this.errorToken(token)}}led(tokenName,left){let right;switch(tokenName){case Token.TOK_DOT:const rbp=bindingPower.Dot;if(this.lookahead(0)!==Token.TOK_STAR){right=this.parseDotRHS(rbp);return{type:"Subexpression",children:[left,right]}}this.advance();right=this.parseProjectionRHS(rbp);return{type:"ValueProjection",children:[left,right]};case Token.TOK_PIPE:right=this.expression(bindingPower.Pipe);return{type:Token.TOK_PIPE,children:[left,right]};case Token.TOK_OR:right=this.expression(bindingPower.Or);return{type:"OrExpression",children:[left,right]};case Token.TOK_AND:right=this.expression(bindingPower.And);return{type:"AndExpression",children:[left,right]};case Token.TOK_LPAREN:const name=left.name;const args=[];let expression;while(this.lookahead(0)!==Token.TOK_RPAREN){if(this.lookahead(0)===Token.TOK_CURRENT){expression={type:Token.TOK_CURRENT};this.advance()}else{expression=this.expression(0)}if(this.lookahead(0)===Token.TOK_COMMA){this.match(Token.TOK_COMMA)}args.push(expression)}this.match(Token.TOK_RPAREN);const node={name:name,type:"Function",children:args};return node;case Token.TOK_FILTER:const condition=this.expression(0);this.match(Token.TOK_RBRACKET);right=this.lookahead(0)===Token.TOK_FLATTEN&&{type:"Identity"}||this.parseProjectionRHS(bindingPower.Filter);return{type:"FilterProjection",children:[left,right,condition]};case Token.TOK_FLATTEN:const leftNode={type:Token.TOK_FLATTEN,children:[left]};const rightNode=this.parseProjectionRHS(bindingPower.Flatten);return{type:"Projection",children:[leftNode,rightNode]};case Token.TOK_EQ:case Token.TOK_NE:case Token.TOK_GT:case Token.TOK_GTE:case Token.TOK_LT:case Token.TOK_LTE:return this.parseComparator(left,tokenName);case Token.TOK_LBRACKET:const token=this.lookaheadToken(0);if(token.type===Token.TOK_NUMBER||token.type===Token.TOK_COLON){right=this.parseIndexExpression();return this.projectIfSlice(left,right)}this.match(Token.TOK_STAR);this.match(Token.TOK_RBRACKET);right=this.parseProjectionRHS(bindingPower.Star);return{type:"Projection",children:[left,right]};default:return this.errorToken(this.lookaheadToken(0))}}match(tokenType){if(this.lookahead(0)===tokenType){this.advance();return}else{const token=this.lookaheadToken(0);this.errorToken(token,`Expected ${tokenType}, got: ${token.type}`)}}errorToken(token,message=""){const error=new Error(message||`Invalid token (${token.type}): "${token.value}"`);error.name="ParserError";throw error}parseIndexExpression(){if(this.lookahead(0)===Token.TOK_COLON||this.lookahead(1)===Token.TOK_COLON){return this.parseSliceExpression()}const node={type:"Index",value:this.lookaheadToken(0).value};this.advance();this.match(Token.TOK_RBRACKET);return node}projectIfSlice(left,right){const indexExpr={type:"IndexExpression",children:[left,right]};if(right.type==="Slice"){return{children:[indexExpr,this.parseProjectionRHS(bindingPower.Star)],type:"Projection"}}return indexExpr}parseSliceExpression(){const parts=[null,null,null];let index=0;let currentTokenType=this.lookahead(0);while(currentTokenType!==Token.TOK_RBRACKET&&index<3){if(currentTokenType===Token.TOK_COLON){index+=1;this.advance()}else if(currentTokenType===Token.TOK_NUMBER){parts[index]=this.lookaheadToken(0).value;this.advance()}else{const token=this.lookaheadToken(0);this.errorToken(token,`Syntax error, unexpected token: ${token.value}(${token.type})`)}currentTokenType=this.lookahead(0)}this.match(Token.TOK_RBRACKET);return{children:parts,type:"Slice"}}parseComparator(left,comparator){const right=this.expression(bindingPower[comparator]);return{type:"Comparator",name:comparator,children:[left,right]}}parseDotRHS(rbp){const lookahead=this.lookahead(0);const exprTokens=[Token.TOK_UNQUOTEDIDENTIFIER,Token.TOK_QUOTEDIDENTIFIER,Token.TOK_STAR];if(exprTokens.includes(lookahead)){return this.expression(rbp)}if(lookahead===Token.TOK_LBRACKET){this.match(Token.TOK_LBRACKET);return this.parseMultiselectList()}if(lookahead===Token.TOK_LBRACE){this.match(Token.TOK_LBRACE);return this.parseMultiselectHash()}const token=this.lookaheadToken(0);this.errorToken(token,`Syntax error, unexpected token: ${token.value}(${token.type})`)}parseProjectionRHS(rbp){if(bindingPower[this.lookahead(0)]<10){return{type:"Identity"}}if(this.lookahead(0)===Token.TOK_LBRACKET){return this.expression(rbp)}if(this.lookahead(0)===Token.TOK_FILTER){return this.expression(rbp)}if(this.lookahead(0)===Token.TOK_DOT){this.match(Token.TOK_DOT);return this.parseDotRHS(rbp)}const token=this.lookaheadToken(0);this.errorToken(token,`Syntax error, unexpected token: ${token.value}(${token.type})`)}parseMultiselectList(){const expressions=[];while(this.lookahead(0)!==Token.TOK_RBRACKET){const expression=this.expression(0);expressions.push(expression);if(this.lookahead(0)===Token.TOK_COMMA){this.match(Token.TOK_COMMA);if(this.lookahead(0)===Token.TOK_RBRACKET){throw new Error("Unexpected token Rbracket")}}}this.match(Token.TOK_RBRACKET);return{type:"MultiSelectList",children:expressions}}parseMultiselectHash(){const pairs=[];const identifierTypes=[Token.TOK_UNQUOTEDIDENTIFIER,Token.TOK_QUOTEDIDENTIFIER];let keyToken;let keyName;let value;for(;;){keyToken=this.lookaheadToken(0);if(!identifierTypes.includes(keyToken.type)){throw new Error(`Expecting an identifier token, got: ${keyToken.type}`)}keyName=keyToken.value;this.advance();this.match(Token.TOK_COLON);value=this.expression(0);pairs.push({value:value,type:"KeyValuePair",name:keyName});if(this.lookahead(0)===Token.TOK_COMMA){this.match(Token.TOK_COMMA)}else if(this.lookahead(0)===Token.TOK_RBRACE){this.match(Token.TOK_RBRACE);break}}return{type:"MultiSelectHash",children:pairs}}}const Parser=new TokenParser;var InputArgument;(function(InputArgument){InputArgument[InputArgument["TYPE_NUMBER"]=0]="TYPE_NUMBER";InputArgument[InputArgument["TYPE_ANY"]=1]="TYPE_ANY";InputArgument[InputArgument["TYPE_STRING"]=2]="TYPE_STRING";InputArgument[InputArgument["TYPE_ARRAY"]=3]="TYPE_ARRAY";InputArgument[InputArgument["TYPE_OBJECT"]=4]="TYPE_OBJECT";InputArgument[InputArgument["TYPE_BOOLEAN"]=5]="TYPE_BOOLEAN";InputArgument[InputArgument["TYPE_EXPREF"]=6]="TYPE_EXPREF";InputArgument[InputArgument["TYPE_NULL"]=7]="TYPE_NULL";InputArgument[InputArgument["TYPE_ARRAY_NUMBER"]=8]="TYPE_ARRAY_NUMBER";InputArgument[InputArgument["TYPE_ARRAY_STRING"]=9]="TYPE_ARRAY_STRING"})(InputArgument||(InputArgument={}));class Runtime{constructor(interpreter){this.TYPE_NAME_TABLE={[InputArgument.TYPE_NUMBER]:"number",[InputArgument.TYPE_ANY]:"any",[InputArgument.TYPE_STRING]:"string",[InputArgument.TYPE_ARRAY]:"array",[InputArgument.TYPE_OBJECT]:"object",[InputArgument.TYPE_BOOLEAN]:"boolean",[InputArgument.TYPE_EXPREF]:"expression",[InputArgument.TYPE_NULL]:"null",[InputArgument.TYPE_ARRAY_NUMBER]:"Array<number>",[InputArgument.TYPE_ARRAY_STRING]:"Array<string>"};this.functionAbs=([inputValue])=>Math.abs(inputValue);this.functionAvg=([inputArray])=>{let sum=0;for(let i=0;i<inputArray.length;i+=1){sum+=inputArray[i]}return sum/inputArray.length};this.functionCeil=([inputValue])=>Math.ceil(inputValue);this.functionContains=resolvedArgs=>{const[searchable,searchValue]=resolvedArgs;return searchable.includes(searchValue)};this.functionEndsWith=resolvedArgs=>{const[searchStr,suffix]=resolvedArgs;return searchStr.includes(suffix,searchStr.length-suffix.length)};this.functionFloor=([inputValue])=>Math.floor(inputValue);this.functionJoin=resolvedArgs=>{const[joinChar,listJoin]=resolvedArgs;return listJoin.join(joinChar)};this.functionKeys=([inputObject])=>Object.keys(inputObject);this.functionLength=([inputValue])=>{if(!isObject(inputValue)){return inputValue.length}return Object.keys(inputValue).length};this.functionMap=resolvedArgs=>{if(!this._interpreter){return[]}const mapped=[];const interpreter=this._interpreter;const exprefNode=resolvedArgs[0];const elements=resolvedArgs[1];for(let i=0;i<elements.length;i+=1){mapped.push(interpreter.visit(exprefNode,elements[i]))}return mapped};this.functionMax=([inputValue])=>{if(!inputValue.length){return null}const typeName=this.getTypeName(inputValue[0]);if(typeName===InputArgument.TYPE_NUMBER){return Math.max(...inputValue)}const elements=inputValue;let maxElement=elements[0];for(let i=1;i<elements.length;i+=1){if(maxElement.localeCompare(elements[i])<0){maxElement=elements[i]}}return maxElement};this.functionMaxBy=resolvedArgs=>{const exprefNode=resolvedArgs[1];const resolvedArray=resolvedArgs[0];const keyFunction=this.createKeyFunction(exprefNode,[InputArgument.TYPE_NUMBER,InputArgument.TYPE_STRING]);let maxNumber=-Infinity;let maxRecord;let current;for(let i=0;i<resolvedArray.length;i+=1){current=keyFunction&&keyFunction(resolvedArray[i]);if(current!==undefined&&current>maxNumber){maxNumber=current;maxRecord=resolvedArray[i]}}return maxRecord};this.functionMerge=resolvedArgs=>{let merged={};for(let i=0;i<resolvedArgs.length;i+=1){const current=resolvedArgs[i];merged=Object.assign(merged,current)}return merged};this.functionMin=([inputValue])=>{if(!inputValue.length){return null}const typeName=this.getTypeName(inputValue[0]);if(typeName===InputArgument.TYPE_NUMBER){return Math.min(...inputValue)}const elements=inputValue;let minElement=elements[0];for(let i=1;i<elements.length;i+=1){if(elements[i].localeCompare(minElement)<0){minElement=elements[i]}}return minElement};this.functionMinBy=resolvedArgs=>{const exprefNode=resolvedArgs[1];const resolvedArray=resolvedArgs[0];const keyFunction=this.createKeyFunction(exprefNode,[InputArgument.TYPE_NUMBER,InputArgument.TYPE_STRING]);let minNumber=Infinity;let minRecord;let current;for(let i=0;i<resolvedArray.length;i+=1){current=keyFunction&&keyFunction(resolvedArray[i]);if(current!==undefined&&current<minNumber){minNumber=current;minRecord=resolvedArray[i]}}return minRecord};this.functionNotNull=resolvedArgs=>{for(let i=0;i<resolvedArgs.length;i+=1){if(this.getTypeName(resolvedArgs[i])!==InputArgument.TYPE_NULL){return resolvedArgs[i]}}return null};this.functionReverse=([inputValue])=>{const typeName=this.getTypeName(inputValue);if(typeName===InputArgument.TYPE_STRING){const originalStr=inputValue;let reversedStr="";for(let i=originalStr.length-1;i>=0;i-=1){reversedStr+=originalStr[i]}return reversedStr}const reversedArray=inputValue.slice(0);reversedArray.reverse();return reversedArray};this.functionSort=([inputValue])=>[...inputValue].sort();this.functionSortBy=resolvedArgs=>{if(!this._interpreter){return[]}const sortedArray=resolvedArgs[0].slice(0);if(sortedArray.length===0){return sortedArray}const interpreter=this._interpreter;const exprefNode=resolvedArgs[1];const requiredType=this.getTypeName(interpreter.visit(exprefNode,sortedArray[0]));if(requiredType!==undefined&&![InputArgument.TYPE_NUMBER,InputArgument.TYPE_STRING].includes(requiredType)){throw new Error(`TypeError: unexpected type (${this.TYPE_NAME_TABLE[requiredType]})`)}const decorated=[];for(let i=0;i<sortedArray.length;i+=1){decorated.push([i,sortedArray[i]])}decorated.sort(((a,b)=>{const exprA=interpreter.visit(exprefNode,a[1]);const exprB=interpreter.visit(exprefNode,b[1]);if(this.getTypeName(exprA)!==requiredType){throw new Error(`TypeError: expected (${this.TYPE_NAME_TABLE[requiredType]}), received ${this.TYPE_NAME_TABLE[this.getTypeName(exprA)]}`)}else if(this.getTypeName(exprB)!==requiredType){throw new Error(`TypeError: expected (${this.TYPE_NAME_TABLE[requiredType]}), received ${this.TYPE_NAME_TABLE[this.getTypeName(exprB)]}`)}if(exprA>exprB){return 1}return exprA<exprB?-1:a[0]-b[0]}));for(let j=0;j<decorated.length;j+=1){sortedArray[j]=decorated[j][1]}return sortedArray};this.functionStartsWith=([searchable,searchStr])=>searchable.startsWith(searchStr);this.functionSum=([inputValue])=>inputValue.reduce(((x,y)=>x+y),0);this.functionToArray=([inputValue])=>{if(this.getTypeName(inputValue)===InputArgument.TYPE_ARRAY){return inputValue}return[inputValue]};this.functionToNumber=([inputValue])=>{const typeName=this.getTypeName(inputValue);let convertedValue;if(typeName===InputArgument.TYPE_NUMBER){return inputValue}if(typeName===InputArgument.TYPE_STRING){convertedValue=+inputValue;if(!isNaN(convertedValue)){return convertedValue}}return null};this.functionToString=([inputValue])=>{if(this.getTypeName(inputValue)===InputArgument.TYPE_STRING){return inputValue}return JSON.stringify(inputValue)};this.functionType=([inputValue])=>{switch(this.getTypeName(inputValue)){case InputArgument.TYPE_NUMBER:return"number";case InputArgument.TYPE_STRING:return"string";case InputArgument.TYPE_ARRAY:return"array";case InputArgument.TYPE_OBJECT:return"object";case InputArgument.TYPE_BOOLEAN:return"boolean";case InputArgument.TYPE_EXPREF:return"expref";case InputArgument.TYPE_NULL:return"null";default:return}};this.functionValues=([inputObject])=>Object.values(inputObject);this.functionTable={abs:{_func:this.functionAbs,_signature:[{types:[InputArgument.TYPE_NUMBER]}]},avg:{_func:this.functionAvg,_signature:[{types:[InputArgument.TYPE_ARRAY_NUMBER]}]},ceil:{_func:this.functionCeil,_signature:[{types:[InputArgument.TYPE_NUMBER]}]},contains:{_func:this.functionContains,_signature:[{types:[InputArgument.TYPE_STRING,InputArgument.TYPE_ARRAY]},{types:[InputArgument.TYPE_ANY]}]},ends_with:{_func:this.functionEndsWith,_signature:[{types:[InputArgument.TYPE_STRING]},{types:[InputArgument.TYPE_STRING]}]},floor:{_func:this.functionFloor,_signature:[{types:[InputArgument.TYPE_NUMBER]}]},join:{_func:this.functionJoin,_signature:[{types:[InputArgument.TYPE_STRING]},{types:[InputArgument.TYPE_ARRAY_STRING]}]},keys:{_func:this.functionKeys,_signature:[{types:[InputArgument.TYPE_OBJECT]}]},length:{_func:this.functionLength,_signature:[{types:[InputArgument.TYPE_STRING,InputArgument.TYPE_ARRAY,InputArgument.TYPE_OBJECT]}]},map:{_func:this.functionMap,_signature:[{types:[InputArgument.TYPE_EXPREF]},{types:[InputArgument.TYPE_ARRAY]}]},max:{_func:this.functionMax,_signature:[{types:[InputArgument.TYPE_ARRAY_NUMBER,InputArgument.TYPE_ARRAY_STRING]}]},max_by:{_func:this.functionMaxBy,_signature:[{types:[InputArgument.TYPE_ARRAY]},{types:[InputArgument.TYPE_EXPREF]}]},merge:{_func:this.functionMerge,_signature:[{types:[InputArgument.TYPE_OBJECT],variadic:true}]},min:{_func:this.functionMin,_signature:[{types:[InputArgument.TYPE_ARRAY_NUMBER,InputArgument.TYPE_ARRAY_STRING]}]},min_by:{_func:this.functionMinBy,_signature:[{types:[InputArgument.TYPE_ARRAY]},{types:[InputArgument.TYPE_EXPREF]}]},not_null:{_func:this.functionNotNull,_signature:[{types:[InputArgument.TYPE_ANY],variadic:true}]},reverse:{_func:this.functionReverse,_signature:[{types:[InputArgument.TYPE_STRING,InputArgument.TYPE_ARRAY]}]},sort:{_func:this.functionSort,_signature:[{types:[InputArgument.TYPE_ARRAY_STRING,InputArgument.TYPE_ARRAY_NUMBER]}]},sort_by:{_func:this.functionSortBy,_signature:[{types:[InputArgument.TYPE_ARRAY]},{types:[InputArgument.TYPE_EXPREF]}]},starts_with:{_func:this.functionStartsWith,_signature:[{types:[InputArgument.TYPE_STRING]},{types:[InputArgument.TYPE_STRING]}]},sum:{_func:this.functionSum,_signature:[{types:[InputArgument.TYPE_ARRAY_NUMBER]}]},to_array:{_func:this.functionToArray,_signature:[{types:[InputArgument.TYPE_ANY]}]},to_number:{_func:this.functionToNumber,_signature:[{types:[InputArgument.TYPE_ANY]}]},to_string:{_func:this.functionToString,_signature:[{types:[InputArgument.TYPE_ANY]}]},type:{_func:this.functionType,_signature:[{types:[InputArgument.TYPE_ANY]}]},values:{_func:this.functionValues,_signature:[{types:[InputArgument.TYPE_OBJECT]}]}};this._interpreter=interpreter}registerFunction(name,customFunction,signature){if(name in this.functionTable){throw new Error(`Function already defined: ${name}()`)}this.functionTable[name]={_func:customFunction.bind(this),_signature:signature}}callFunction(name,resolvedArgs){const functionEntry=this.functionTable[name];if(functionEntry===undefined){throw new Error(`Unknown function: ${name}()`)}this.validateArgs(name,resolvedArgs,functionEntry._signature);return functionEntry._func.call(this,resolvedArgs)}validateInputSignatures(name,signature){for(let i=0;i<signature.length;i+=1){if("variadic"in signature[i]&&i!==signature.length-1){throw new Error(`ArgumentError: ${name}() 'variadic' argument ${i+1} must occur last`)}}}validateArgs(name,args,signature){var _a,_b;let pluralized;this.validateInputSignatures(name,signature);const numberOfRequiredArgs=signature.filter((argSignature=>{var _a;return(_a=!argSignature.optional)!==null&&_a!==void 0?_a:false})).length;const lastArgIsVariadic=(_b=(_a=signature[signature.length-1])===null||_a===void 0?void 0:_a.variadic)!==null&&_b!==void 0?_b:false;const tooFewArgs=args.length<numberOfRequiredArgs;const tooManyArgs=args.length>signature.length;const tooFewModifier=tooFewArgs&&(!lastArgIsVariadic&&numberOfRequiredArgs>1||lastArgIsVariadic)?"at least ":"";if(lastArgIsVariadic&&tooFewArgs||!lastArgIsVariadic&&(tooFewArgs||tooManyArgs)){pluralized=signature.length>1;throw new Error(`ArgumentError: ${name}() takes ${tooFewModifier}${numberOfRequiredArgs} argument${pluralized&&"s"||""} but received ${args.length}`)}let currentSpec;let actualType;let typeMatched;for(let i=0;i<signature.length;i+=1){typeMatched=false;currentSpec=signature[i].types;actualType=this.getTypeName(args[i]);let j;for(j=0;j<currentSpec.length;j+=1){if(actualType!==undefined&&this.typeMatches(actualType,currentSpec[j],args[i])){typeMatched=true;break}}if(!typeMatched&&actualType!==undefined){const expected=currentSpec.map((typeIdentifier=>this.TYPE_NAME_TABLE[typeIdentifier])).join(" | ");throw new Error(`TypeError: ${name}() expected argument ${i+1} to be type (${expected}) but received type ${this.TYPE_NAME_TABLE[actualType]} instead.`)}}}typeMatches(actual,expected,argValue){if(expected===InputArgument.TYPE_ANY){return true}if(expected===InputArgument.TYPE_ARRAY_STRING||expected===InputArgument.TYPE_ARRAY_NUMBER||expected===InputArgument.TYPE_ARRAY){if(expected===InputArgument.TYPE_ARRAY){return actual===InputArgument.TYPE_ARRAY}if(actual===InputArgument.TYPE_ARRAY){let subtype;if(expected===InputArgument.TYPE_ARRAY_NUMBER){subtype=InputArgument.TYPE_NUMBER}else if(expected===InputArgument.TYPE_ARRAY_STRING){subtype=InputArgument.TYPE_STRING}for(let i=0;i<argValue.length;i+=1){const typeName=this.getTypeName(argValue[i]);if(typeName!==undefined&&subtype!==undefined&&!this.typeMatches(typeName,subtype,argValue[i])){return false}}return true}}else{return actual===expected}return false}getTypeName(obj){switch(Object.prototype.toString.call(obj)){case"[object String]":return InputArgument.TYPE_STRING;case"[object Number]":return InputArgument.TYPE_NUMBER;case"[object Array]":return InputArgument.TYPE_ARRAY;case"[object Boolean]":return InputArgument.TYPE_BOOLEAN;case"[object Null]":return InputArgument.TYPE_NULL;case"[object Object]":if(obj.jmespathType===Token.TOK_EXPREF){return InputArgument.TYPE_EXPREF}return InputArgument.TYPE_OBJECT;default:return}}createKeyFunction(exprefNode,allowedTypes){if(!this._interpreter){return}const interpreter=this._interpreter;const keyFunc=x=>{const current=interpreter.visit(exprefNode,x);if(!allowedTypes.includes(this.getTypeName(current))){const msg=`TypeError: expected one of (${allowedTypes.map((t=>this.TYPE_NAME_TABLE[t])).join(" | ")}), received ${this.TYPE_NAME_TABLE[this.getTypeName(current)]}`;throw new Error(msg)}return current};return keyFunc}}class TreeInterpreter$1{constructor(){this._rootValue=null;this.runtime=new Runtime(this)}search(node,value){this._rootValue=value;return this.visit(node,value)}visit(node,value){let matched;let current;let result;let first;let second;let field;let left;let right;let collected;let i;let base;switch(node.type){case"Field":if(value===null){return null}if(isObject(value)){field=value[node.name];if(field===undefined){return null}return field}return null;case"Subexpression":result=this.visit(node.children[0],value);for(i=1;i<node.children.length;i+=1){result=this.visit(node.children[1],result);if(result===null){return null}}return result;case"IndexExpression":left=this.visit(node.children[0],value);right=this.visit(node.children[1],left);return right;case"Index":if(!Array.isArray(value)){return null}let index=node.value;if(index<0){index=value.length+index}result=value[index];if(result===undefined){result=null}return result;case"Slice":if(!Array.isArray(value)){return null}const sliceParams=[...node.children];const computed=this.computeSliceParams(value.length,sliceParams);const[start,stop,step]=computed;result=[];if(step>0){for(i=start;i<stop;i+=step){result.push(value[i])}}else{for(i=start;i>stop;i+=step){result.push(value[i])}}return result;case"Projection":base=this.visit(node.children[0],value);if(!Array.isArray(base)){return null}collected=[];for(i=0;i<base.length;i+=1){current=this.visit(node.children[1],base[i]);if(current!==null){collected.push(current)}}return collected;case"ValueProjection":base=this.visit(node.children[0],value);if(!isObject(base)){return null}collected=[];const values=Object.values(base);for(i=0;i<values.length;i+=1){current=this.visit(node.children[1],values[i]);if(current!==null){collected.push(current)}}return collected;case"FilterProjection":base=this.visit(node.children[0],value);if(!Array.isArray(base)){return null}const filtered=[];const finalResults=[];for(i=0;i<base.length;i+=1){matched=this.visit(node.children[2],base[i]);if(!isFalse(matched)){filtered.push(base[i])}}for(let j=0;j<filtered.length;j+=1){current=this.visit(node.children[1],filtered[j]);if(current!==null){finalResults.push(current)}}return finalResults;case"Comparator":first=this.visit(node.children[0],value);second=this.visit(node.children[1],value);switch(node.name){case Token.TOK_EQ:result=strictDeepEqual(first,second);break;case Token.TOK_NE:result=!strictDeepEqual(first,second);break;case Token.TOK_GT:result=first>second;break;case Token.TOK_GTE:result=first>=second;break;case Token.TOK_LT:result=first<second;break;case Token.TOK_LTE:result=first<=second;break;default:throw new Error(`Unknown comparator: ${node.name}`)}return result;case Token.TOK_FLATTEN:const original=this.visit(node.children[0],value);if(!Array.isArray(original)){return null}let merged=[];for(i=0;i<original.length;i+=1){current=original[i];if(Array.isArray(current)){merged=[...merged,...current]}else{merged.push(current)}}return merged;case"Identity":return value;case"MultiSelectList":if(value===null){return null}collected=[];for(i=0;i<node.children.length;i+=1){collected.push(this.visit(node.children[i],value))}return collected;case"MultiSelectHash":if(value===null){return null}collected={};let child;for(i=0;i<node.children.length;i+=1){child=node.children[i];collected[child.name]=this.visit(child.value,value)}return collected;case"OrExpression":matched=this.visit(node.children[0],value);if(isFalse(matched)){matched=this.visit(node.children[1],value)}return matched;case"AndExpression":first=this.visit(node.children[0],value);if(isFalse(first)){return first}return this.visit(node.children[1],value);case"NotExpression":first=this.visit(node.children[0],value);return isFalse(first);case"Literal":return node.value;case Token.TOK_PIPE:left=this.visit(node.children[0],value);return this.visit(node.children[1],left);case Token.TOK_CURRENT:return value;case Token.TOK_ROOT:return this._rootValue;case"Function":const resolvedArgs=[];for(let j=0;j<node.children.length;j+=1){resolvedArgs.push(this.visit(node.children[j],value))}return this.runtime.callFunction(node.name,resolvedArgs);case"ExpressionReference":const refNode=node.children[0];refNode.jmespathType=Token.TOK_EXPREF;return refNode;default:throw new Error(`Unknown node type: ${node.type}`)}}computeSliceParams(arrayLength,sliceParams){let[start,stop,step]=sliceParams;if(step===null){step=1}else if(step===0){const error=new Error("Invalid slice, step cannot be 0");error.name="RuntimeError";throw error}const stepValueNegative=step<0?true:false;start=start===null?stepValueNegative?arrayLength-1:0:this.capSliceRange(arrayLength,start,step);stop=stop===null?stepValueNegative?-1:arrayLength:this.capSliceRange(arrayLength,stop,step);return[start,stop,step]}capSliceRange(arrayLength,actualValue,step){let nextActualValue=actualValue;if(nextActualValue<0){nextActualValue+=arrayLength;if(nextActualValue<0){nextActualValue=step<0?-1:0}}else if(nextActualValue>=arrayLength){nextActualValue=step<0?arrayLength-1:arrayLength}return nextActualValue}}const TreeInterpreterInstance=new TreeInterpreter$1;const TYPE_ANY=InputArgument.TYPE_ANY;const TYPE_ARRAY=InputArgument.TYPE_ARRAY;const TYPE_ARRAY_NUMBER=InputArgument.TYPE_ARRAY_NUMBER;const TYPE_ARRAY_STRING=InputArgument.TYPE_ARRAY_STRING;const TYPE_BOOLEAN=InputArgument.TYPE_BOOLEAN;const TYPE_EXPREF=InputArgument.TYPE_EXPREF;const TYPE_NULL=InputArgument.TYPE_NULL;const TYPE_NUMBER=InputArgument.TYPE_NUMBER;const TYPE_OBJECT=InputArgument.TYPE_OBJECT;const TYPE_STRING=InputArgument.TYPE_STRING;function compile(expression){const nodeTree=Parser.parse(expression);return nodeTree}function tokenize(expression){return Lexer.tokenize(expression)}const registerFunction=(functionName,customFunction,signature)=>{TreeInterpreterInstance.runtime.registerFunction(functionName,customFunction,signature)};function search(data,expression){const nodeTree=Parser.parse(expression);return TreeInterpreterInstance.search(nodeTree,data)}const TreeInterpreter=TreeInterpreterInstance;const jmespath={compile:compile,registerFunction:registerFunction,search:search,tokenize:tokenize,TreeInterpreter:TreeInterpreter,TYPE_ANY:TYPE_ANY,TYPE_ARRAY_NUMBER:TYPE_ARRAY_NUMBER,TYPE_ARRAY_STRING:TYPE_ARRAY_STRING,TYPE_ARRAY:TYPE_ARRAY,TYPE_BOOLEAN:TYPE_BOOLEAN,TYPE_EXPREF:TYPE_EXPREF,TYPE_NULL:TYPE_NULL,TYPE_NUMBER:TYPE_NUMBER,TYPE_OBJECT:TYPE_OBJECT,TYPE_STRING:TYPE_STRING};exports.TYPE_ANY=TYPE_ANY;exports.TYPE_ARRAY=TYPE_ARRAY;exports.TYPE_ARRAY_NUMBER=TYPE_ARRAY_NUMBER;exports.TYPE_ARRAY_STRING=TYPE_ARRAY_STRING;exports.TYPE_BOOLEAN=TYPE_BOOLEAN;exports.TYPE_EXPREF=TYPE_EXPREF;exports.TYPE_NULL=TYPE_NULL;exports.TYPE_NUMBER=TYPE_NUMBER;exports.TYPE_OBJECT=TYPE_OBJECT;exports.TYPE_STRING=TYPE_STRING;exports.TreeInterpreter=TreeInterpreter;exports.compile=compile;exports.default=jmespath;exports.jmespath=jmespath;exports.registerFunction=registerFunction;exports.search=search;exports.tokenize=tokenize;Object.defineProperty(exports,"__esModule",{value:true})}));(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports,require("@angular/animations"),require("@angular/core")):typeof define==="function"&&define.amd?define(["exports","@angular/animations","@angular/core"],factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,factory(global.collapse={},global.ng.animations,global.ng.core))})(this,(function(exports,i1,i0){"use strict";function _interopNamespaceDefault(e){var n=Object.create(null);if(e){Object.keys(e).forEach((function(k){if(k!=="default"){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}})}}))}n.default=e;return Object.freeze(n)}var i1__namespace=_interopNamespaceDefault(i1);var i0__namespace=_interopNamespaceDefault(i0);const COLLAPSE_ANIMATION_TIMING="400ms cubic-bezier(0.4,0.0,0.2,1)";const expandAnimation=[i1.style({height:0,visibility:"hidden"}),i1.animate(COLLAPSE_ANIMATION_TIMING,i1.style({height:"*",visibility:"visible"}))];const collapseAnimation=[i1.style({height:"*",visibility:"visible"}),i1.animate(COLLAPSE_ANIMATION_TIMING,i1.style({height:0,visibility:"hidden"}))];class CollapseDirective{constructor(_el,_renderer,_builder){this._el=_el;this._renderer=_renderer;this.collapsed=new i0.EventEmitter;this.collapses=new i0.EventEmitter;this.expanded=new i0.EventEmitter;this.expands=new i0.EventEmitter;this.isExpanded=true;this.collapseNewValue=true;this.isCollapsed=false;this.isCollapse=true;this.isCollapsing=false;this.isAnimated=false;this._display="block";this._stylesLoaded=false;this._COLLAPSE_ACTION_NAME="collapse";this._EXPAND_ACTION_NAME="expand";this._factoryCollapseAnimation=_builder.build(collapseAnimation);this._factoryExpandAnimation=_builder.build(expandAnimation)}set display(value){this._display=value;if(value==="none"){this.hide();return}this.isAnimated?this.toggle():this.show()}set collapse(value){this.collapseNewValue=value;if(!this._player||this._isAnimationDone){this.isExpanded=value;this.toggle()}}get collapse(){return this.isExpanded}ngAfterViewChecked(){this._stylesLoaded=true;if(!this._player||!this._isAnimationDone){return}this._player.reset();this._renderer.setStyle(this._el.nativeElement,"height","*")}toggle(){if(this.isExpanded){this.hide()}else{this.show()}}hide(){this.isCollapsing=true;this.isExpanded=false;this.isCollapsed=true;this.isCollapsing=false;this.collapses.emit(this);this._isAnimationDone=false;this.animationRun(this.isAnimated,this._COLLAPSE_ACTION_NAME)((()=>{this._isAnimationDone=true;if(this.collapseNewValue!==this.isCollapsed&&this.isAnimated){this.show();return}this.collapsed.emit(this);this._renderer.setStyle(this._el.nativeElement,"display","none")}))}show(){this._renderer.setStyle(this._el.nativeElement,"display",this._display);this.isCollapsing=true;this.isExpanded=true;this.isCollapsed=false;this.isCollapsing=false;this.expands.emit(this);this._isAnimationDone=false;this.animationRun(this.isAnimated,this._EXPAND_ACTION_NAME)((()=>{this._isAnimationDone=true;if(this.collapseNewValue!==this.isCollapsed&&this.isAnimated){this.hide();return}this.expanded.emit(this);this._renderer.removeStyle(this._el.nativeElement,"overflow")}))}animationRun(isAnimated,action){if(!isAnimated||!this._stylesLoaded){return callback=>callback()}this._renderer.setStyle(this._el.nativeElement,"overflow","hidden");this._renderer.addClass(this._el.nativeElement,"collapse");const factoryAnimation=action===this._EXPAND_ACTION_NAME?this._factoryExpandAnimation:this._factoryCollapseAnimation;if(this._player){this._player.reset()}this._player=factoryAnimation.create(this._el.nativeElement);this._player.play();return callback=>this._player?.onDone(callback)}}CollapseDirective.\u0275fac=i0__namespace.\u0275\u0275ngDeclareFactory({minVersion:"12.0.0",version:"14.0.6",ngImport:i0__namespace,type:CollapseDirective,deps:[{token:i0__namespace.ElementRef},{token:i0__namespace.Renderer2},{token:i1__namespace.AnimationBuilder}],target:i0__namespace.\u0275\u0275FactoryTarget.Directive});CollapseDirective.\u0275dir=i0__namespace.\u0275\u0275ngDeclareDirective({minVersion:"14.0.0",version:"14.0.6",type:CollapseDirective,selector:"[collapse]",inputs:{display:"display",isAnimated:"isAnimated",collapse:"collapse"},outputs:{collapsed:"collapsed",collapses:"collapses",expanded:"expanded",expands:"expands"},host:{properties:{"class.collapse":"this.isCollapse","class.in":"this.isExpanded","class.show":"this.isExpanded","attr.aria-hidden":"this.isCollapsed","class.collapsing":"this.isCollapsing"}},exportAs:["bs-collapse"],ngImport:i0__namespace});i0__namespace.\u0275\u0275ngDeclareClassMetadata({minVersion:"12.0.0",version:"14.0.6",ngImport:i0__namespace,type:CollapseDirective,decorators:[{type:i0.Directive,args:[{selector:"[collapse]",exportAs:"bs-collapse",host:{"[class.collapse]":"true"}}]}],ctorParameters:function(){return[{type:i0__namespace.ElementRef},{type:i0__namespace.Renderer2},{type:i1__namespace.AnimationBuilder}]},propDecorators:{collapsed:[{type:i0.Output}],collapses:[{type:i0.Output}],expanded:[{type:i0.Output}],expands:[{type:i0.Output}],isExpanded:[{type:i0.HostBinding,args:["class.in"]},{type:i0.HostBinding,args:["class.show"]}],isCollapsed:[{type:i0.HostBinding,args:["attr.aria-hidden"]}],isCollapse:[{type:i0.HostBinding,args:["class.collapse"]}],isCollapsing:[{type:i0.HostBinding,args:["class.collapsing"]}],display:[{type:i0.Input}],isAnimated:[{type:i0.Input}],collapse:[{type:i0.Input}]}});class CollapseModule{static forRoot(){return{ngModule:CollapseModule,providers:[]}}}CollapseModule.\u0275fac=i0__namespace.\u0275\u0275ngDeclareFactory({minVersion:"12.0.0",version:"14.0.6",ngImport:i0__namespace,type:CollapseModule,deps:[],target:i0__namespace.\u0275\u0275FactoryTarget.NgModule});CollapseModule.\u0275mod=i0__namespace.\u0275\u0275ngDeclareNgModule({minVersion:"14.0.0",version:"14.0.6",ngImport:i0__namespace,type:CollapseModule,declarations:[CollapseDirective],exports:[CollapseDirective]});CollapseModule.\u0275inj=i0__namespace.\u0275\u0275ngDeclareInjector({minVersion:"12.0.0",version:"14.0.6",ngImport:i0__namespace,type:CollapseModule});i0__namespace.\u0275\u0275ngDeclareClassMetadata({minVersion:"12.0.0",version:"14.0.6",ngImport:i0__namespace,type:CollapseModule,decorators:[{type:i0.NgModule,args:[{declarations:[CollapseDirective],exports:[CollapseDirective]}]}]});exports.CollapseDirective=CollapseDirective;exports.CollapseModule=CollapseModule}));(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define(["exports"],factory):(global=typeof globalThis!=="undefined"?globalThis:global||self,factory(global.chronos={}))})(this,(function(exports){"use strict";function mod(n,x){return(n%x+x)%x}function absFloor(num){return num<0?Math.ceil(num)||0:Math.floor(num)}function isString(str){return typeof str==="string"}function isDate(value){return value instanceof Date||Object.prototype.toString.call(value)==="[object Date]"}function isDateValid(date){return date&&date.getTime&&!isNaN(date.getTime())}function isFunction(fn){return fn instanceof Function||Object.prototype.toString.call(fn)==="[object Function]"}function isNumber(value){return typeof value==="number"||Object.prototype.toString.call(value)==="[object Number]"}function isArray(input){return input instanceof Array||Object.prototype.toString.call(input)==="[object Array]"}function hasOwnProp(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function isObject(input){return input!=null&&Object.prototype.toString.call(input)==="[object Object]"}function isObjectEmpty(obj){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(obj).length===0}let k;for(k in obj){if(obj.hasOwnProperty(k)){return false}}return true}function isUndefined(input){return input===void 0}function toInt(argumentForCoercion){const coercedNumber=+argumentForCoercion;let value=0;if(coercedNumber!==0&&isFinite(coercedNumber)){value=absFloor(coercedNumber)}return value}const aliases={};const _mapUnits={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function addUnitAlias(unit,shorthand){const lowerCase=unit.toLowerCase();let _unit=unit;if(lowerCase in _mapUnits){_unit=_mapUnits[lowerCase]}aliases[lowerCase]=aliases[`${lowerCase}s`]=aliases[shorthand]=_unit}function normalizeUnits(units){return isString(units)?aliases[units]||aliases[units.toLowerCase()]:undefined}function normalizeObjectUnits(inputObject){const normalizedInput={};let normalizedProp;let prop;for(prop in inputObject){if(hasOwnProp(inputObject,prop)){normalizedProp=normalizeUnits(prop);if(normalizedProp){normalizedInput[normalizedProp]=inputObject[prop]}}}return normalizedInput}const YEAR=0;const MONTH=1;const DATE=2;const HOUR=3;const MINUTE=4;const SECOND=5;const MILLISECOND=6;const WEEK=7;const WEEKDAY=8;function zeroFill(num,targetLength,forceSign){const absNumber=`${Math.abs(num)}`;const zerosToFill=targetLength-absNumber.length;const sign=num>=0;const _sign=sign?forceSign?"+":"":"-";const _zeros=Math.pow(10,Math.max(0,zerosToFill)).toString().substr(1);return _sign+_zeros+absNumber}const formatFunctions={};const formatTokenFunctions={};const formattingTokens=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function addFormatToken(token,padded,ordinal,callback){if(token){formatTokenFunctions[token]=callback}if(padded){formatTokenFunctions[padded[0]]=function(){return zeroFill(callback.apply(null,arguments),padded[1],padded[2])}}if(ordinal){formatTokenFunctions[ordinal]=function(date,opts){return opts.locale.ordinal(callback.apply(null,arguments),token)}}}function makeFormatFunction(format){const array=format.match(formattingTokens);const length=array.length;const formatArr=new Array(length);for(let i=0;i<length;i++){formatArr[i]=formatTokenFunctions[array[i]]?formatTokenFunctions[array[i]]:removeFormattingTokens(array[i])}return function(date,locale,isUTC,offset=0){let output="";for(let j=0;j<length;j++){output+=isFunction(formatArr[j])?formatArr[j].call(null,date,{format:format,locale:locale,isUTC:isUTC,offset:offset}):formatArr[j]}return output}}function removeFormattingTokens(input){if(input.match(/\[[\s\S]/)){return input.replace(/^\[|\]$/g,"")}return input.replace(/\\/g,"")}function createUTCDate(y,m,d){const date=new Date(Date.UTC.apply(null,arguments));if(y<100&&y>=0&&isFinite(date.getUTCFullYear())){date.setUTCFullYear(y)}return date}function createDate(y,m=0,d=1,h=0,M=0,s=0,ms=0){const date=new Date(y,m,d,h,M,s,ms);if(y<100&&y>=0&&isFinite(date.getFullYear())){date.setFullYear(y)}return date}function getHours(date,isUTC=false){return isUTC?date.getUTCHours():date.getHours()}function getMinutes(date,isUTC=false){return isUTC?date.getUTCMinutes():date.getMinutes()}function getSeconds(date,isUTC=false){return isUTC?date.getUTCSeconds():date.getSeconds()}function getMilliseconds(date,isUTC=false){return isUTC?date.getUTCMilliseconds():date.getMilliseconds()}function getTime(date){return date.getTime()}function getDay(date,isUTC=false){return isUTC?date.getUTCDay():date.getDay()}function getDate(date,isUTC=false){return isUTC?date.getUTCDate():date.getDate()}function getMonth(date,isUTC=false){return isUTC?date.getUTCMonth():date.getMonth()}function getFullYear(date,isUTC=false){return isUTC?date.getUTCFullYear():date.getFullYear()}function unix(date){return Math.floor(date.valueOf()/1e3)}function getFirstDayOfMonth(date){return createDate(date.getFullYear(),date.getMonth(),1,date.getHours(),date.getMinutes(),date.getSeconds())}function isFirstDayOfWeek(date,firstDayOfWeek){return date.getDay()===Number(firstDayOfWeek)}function isSameMonth(date1,date2){if(!date1||!date2){return false}return isSameYear(date1,date2)&&getMonth(date1)===getMonth(date2)}function isSameYear(date1,date2){if(!date1||!date2){return false}return getFullYear(date1)===getFullYear(date2)}function isSameDay$1(date1,date2){if(!date1||!date2){return false}return isSameYear(date1,date2)&&isSameMonth(date1,date2)&&getDate(date1)===getDate(date2)}const match1=/\d/;const match2=/\d\d/;const match3=/\d{3}/;const match4=/\d{4}/;const match6=/[+-]?\d{6}/;const match1to2=/\d\d?/;const match3to4=/\d\d\d\d?/;const match5to6=/\d\d\d\d\d\d?/;const match1to3=/\d{1,3}/;const match1to4=/\d{1,4}/;const match1to6=/[+-]?\d{1,6}/;const matchUnsigned=/\d+/;const matchSigned=/[+-]?\d+/;const matchShortOffset=/Z|[+-]\d\d(?::?\d\d)?/gi;const matchTimestamp=/[+-]?\d+(\.\d{1,3})?/;const matchWord=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;const regexes={};function addRegexToken(token,regex,strictRegex){if(isFunction(regex)){regexes[token]=regex;return}regexes[token]=function(isStrict,locale){return isStrict&&strictRegex?strictRegex:regex}}function getParseRegexForToken(token,locale){const _strict=false;if(!hasOwnProp(regexes,token)){return new RegExp(unescapeFormat(token))}return regexes[token](_strict,locale)}function unescapeFormat(str){return regexEscape(str.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,((matched,p1,p2,p3,p4)=>p1||p2||p3||p4)))}function regexEscape(str){return str.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const tokens={};function addParseToken(token,callback){const _token=isString(token)?[token]:token;let func=callback;if(isNumber(callback)){func=function(input,array,config){array[callback]=toInt(input);return config}}if(isArray(_token)&&isFunction(func)){let i;for(i=0;i<_token.length;i++){tokens[_token[i]]=func}}}function addWeekParseToken(token,callback){addParseToken(token,(function(input,array,config,_token){config._w=config._w||{};return callback(input,config._w,config,_token)}))}function addTimeToArrayFromToken(token,input,config){if(input!=null&&hasOwnProp(tokens,token)){tokens[token](input,config._a,config,token)}return config}const priorities={};function addUnitPriority(unit,priority){priorities[unit]=priority}function initDayOfMonth(){addFormatToken("D",["DD",2,false],"Do",(function(date,opts){return getDate(date,opts.isUTC).toString(10)}));addUnitAlias("date","D");addUnitPriority("date",9);addRegexToken("D",match1to2);addRegexToken("DD",match1to2,match2);addRegexToken("Do",(function(isStrict,locale){return locale._dayOfMonthOrdinalParse||locale._ordinalParse}));addParseToken(["D","DD"],DATE);addParseToken("Do",(function(input,array,config){array[DATE]=toInt(input.match(match1to2)[0]);return config}))}function defaultParsingFlags(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],meridiem:null,rfc2822:false,weekdayMismatch:false}}function getParsingFlags(config){if(config._pf==null){config._pf=defaultParsingFlags()}return config._pf}function getYear(date,opts){if(opts.locale.getFullYear){return opts.locale.getFullYear(date,opts.isUTC).toString()}return getFullYear(date,opts.isUTC).toString()}function initYear(){addFormatToken("Y",null,null,(function(date,opts){const y=getFullYear(date,opts.isUTC);return y<=9999?y.toString(10):`+${y}`}));addFormatToken(null,["YY",2,false],null,(function(date,opts){return(getFullYear(date,opts.isUTC)%100).toString(10)}));addFormatToken(null,["YYYY",4,false],null,getYear);addFormatToken(null,["YYYYY",5,false],null,getYear);addFormatToken(null,["YYYYYY",6,true],null,getYear);addUnitAlias("year","y");addUnitPriority("year",1);addRegexToken("Y",matchSigned);addRegexToken("YY",match1to2,match2);addRegexToken("YYYY",match1to4,match4);addRegexToken("YYYYY",match1to6,match6);addRegexToken("YYYYYY",match1to6,match6);addParseToken(["YYYYY","YYYYYY"],YEAR);addParseToken("YYYY",(function(input,array,config){array[YEAR]=input.length===2?parseTwoDigitYear(input):toInt(input);return config}));addParseToken("YY",(function(input,array,config){array[YEAR]=parseTwoDigitYear(input);return config}));addParseToken("Y",(function(input,array,config){array[YEAR]=parseInt(input,10);return config}))}function parseTwoDigitYear(input){return toInt(input)+(toInt(input)>68?1900:2e3)}function daysInYear(year){return isLeapYear(year)?366:365}function isLeapYear(year){return year%4===0&&year%100!==0||year%400===0}function daysInMonth(year,month){if(isNaN(year)||isNaN(month)){return NaN}const modMonth=mod(month,12);const _year=year+(month-modMonth)/12;return modMonth===1?isLeapYear(_year)?29:28:31-modMonth%7%2}function initMonth(){addFormatToken("M",["MM",2,false],"Mo",(function(date,opts){return(getMonth(date,opts.isUTC)+1).toString(10)}));addFormatToken("MMM",null,null,(function(date,opts){return opts.locale.monthsShort(date,opts.format,opts.isUTC)}));addFormatToken("MMMM",null,null,(function(date,opts){return opts.locale.months(date,opts.format,opts.isUTC)}));addUnitAlias("month","M");addUnitPriority("month",8);addRegexToken("M",match1to2);addRegexToken("MM",match1to2,match2);addRegexToken("MMM",(function(isStrict,locale){return locale.monthsShortRegex(isStrict)}));addRegexToken("MMMM",(function(isStrict,locale){return locale.monthsRegex(isStrict)}));addParseToken(["M","MM"],(function(input,array,config){array[MONTH]=toInt(input)-1;return config}));addParseToken(["MMM","MMMM"],(function(input,array,config,token){const month=config._locale.monthsParse(input,token,config._strict);if(month!=null){array[MONTH]=month}else{getParsingFlags(config).invalidMonth=!!input}return config}))}const defaultTimeUnit={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function shiftDate(date,unit){const _unit=Object.assign({},defaultTimeUnit,unit);const year=date.getFullYear()+(_unit.year||0);const month=date.getMonth()+(_unit.month||0);let day=date.getDate()+(_unit.day||0);if(_unit.month&&!_unit.day){day=Math.min(day,daysInMonth(year,month))}return createDate(year,month,day,date.getHours()+(_unit.hour||0),date.getMinutes()+(_unit.minute||0),date.getSeconds()+(_unit.seconds||0))}function setFullDate(date,unit){return createDate(getNum(date.getFullYear(),unit.year),getNum(date.getMonth(),unit.month),1,getNum(date.getHours(),unit.hour),getNum(date.getMinutes(),unit.minute),getNum(date.getSeconds(),unit.seconds),getNum(date.getMilliseconds(),unit.milliseconds))}function getNum(def,num){return isNumber(num)?num:def}function setMonth(date,value,isUTC){const dayOfMonth=Math.min(getDate(date),daysInMonth(getFullYear(date),value));isUTC?date.setUTCMonth(value,dayOfMonth):date.setMonth(value,dayOfMonth);return date}function setHours(date,value,isUTC){isUTC?date.setUTCHours(value):date.setHours(value);return date}function setMinutes(date,value,isUTC){isUTC?date.setUTCMinutes(value):date.setMinutes(value);return date}function setSeconds(date,value,isUTC){isUTC?date.setUTCSeconds(value):date.setSeconds(value);return date}function setMilliseconds(date,value,isUTC){isUTC?date.setUTCMilliseconds(value):date.setMilliseconds(value);return date}function setDate(date,value,isUTC){isUTC?date.setUTCDate(value):date.setDate(value);return date}function setTime(date,value){date.setTime(value);return date}function cloneDate(date){return new Date(date.getTime())}function startOf(date,unit,isUTC){const _date=cloneDate(date);switch(unit){case"year":setMonth(_date,0,isUTC);case"quarter":case"month":setDate(_date,1,isUTC);case"week":case"isoWeek":case"day":case"date":setHours(_date,0,isUTC);case"hours":setMinutes(_date,0,isUTC);case"minutes":setSeconds(_date,0,isUTC);case"seconds":setMilliseconds(_date,0,isUTC)}if(unit==="week"){setLocaleDayOfWeek(_date,0,{isUTC:isUTC})}if(unit==="isoWeek"){setISODayOfWeek(_date,1)}if(unit==="quarter"){setMonth(_date,Math.floor(getMonth(_date,isUTC)/3)*3,isUTC)}return _date}function endOf(date,unit,isUTC){let _unit=unit;if(_unit==="date"){_unit="day"}const start=startOf(date,_unit,isUTC);const _step=add(start,1,_unit==="isoWeek"?"week":_unit,isUTC);const res=subtract(_step,1,"milliseconds",isUTC);return res}function initDayOfYear(){addFormatToken("DDD",["DDDD",3,false],"DDDo",(function(date){return getDayOfYear(date).toString(10)}));addUnitAlias("dayOfYear","DDD");addUnitPriority("dayOfYear",4);addRegexToken("DDD",match1to3);addRegexToken("DDDD",match3);addParseToken(["DDD","DDDD"],(function(input,array,config){config._dayOfYear=toInt(input);return config}))}function getDayOfYear(date,isUTC){const date1=+startOf(date,"day",isUTC);const date2=+startOf(date,"year",isUTC);const someDate=date1-date2;const oneDay=1e3*60*60*24;return Math.round(someDate/oneDay)+1}function firstWeekOffset(year,dow,doy){const fwd=dow-doy+7;const fwdlw=(createUTCDate(year,0,fwd).getUTCDay()-dow+7)%7;return-fwdlw+fwd-1}function dayOfYearFromWeeks(year,week,weekday,dow,doy){const localWeekday=(7+weekday-dow)%7;const weekOffset=firstWeekOffset(year,dow,doy);const dayOfYear=1+7*(week-1)+localWeekday+weekOffset;let resYear;let resDayOfYear;if(dayOfYear<=0){resYear=year-1;resDayOfYear=daysInYear(resYear)+dayOfYear}else if(dayOfYear>daysInYear(year)){resYear=year+1;resDayOfYear=dayOfYear-daysInYear(year)}else{resYear=year;resDayOfYear=dayOfYear}return{year:resYear,dayOfYear:resDayOfYear}}function weekOfYear(date,dow,doy,isUTC){const weekOffset=firstWeekOffset(getFullYear(date,isUTC),dow,doy);const week=Math.floor((getDayOfYear(date,isUTC)-weekOffset-1)/7)+1;let resWeek;let resYear;if(week<1){resYear=getFullYear(date,isUTC)-1;resWeek=week+weeksInYear(resYear,dow,doy)}else if(week>weeksInYear(getFullYear(date,isUTC),dow,doy)){resWeek=week-weeksInYear(getFullYear(date,isUTC),dow,doy);resYear=getFullYear(date,isUTC)+1}else{resYear=getFullYear(date,isUTC);resWeek=week}return{week:resWeek,year:resYear}}function weeksInYear(year,dow,doy){const weekOffset=firstWeekOffset(year,dow,doy);const weekOffsetNext=firstWeekOffset(year+1,dow,doy);return(daysInYear(year)-weekOffset+weekOffsetNext)/7}const MONTHS_IN_FORMAT=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;const defaultLocaleMonths="January_February_March_April_May_June_July_August_September_October_November_December".split("_");const defaultLocaleMonthsShort="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");const defaultLocaleWeekdays="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");const defaultLocaleWeekdaysShort="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");const defaultLocaleWeekdaysMin="Su_Mo_Tu_We_Th_Fr_Sa".split("_");const defaultLongDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};const defaultOrdinal="%d";const defaultDayOfMonthOrdinalParse=/\d{1,2}/;const defaultMonthsShortRegex=matchWord;const defaultMonthsRegex=matchWord;class Locale{constructor(config){if(config){this.set(config)}}set(config){let confKey;for(confKey in config){if(!config.hasOwnProperty(confKey)){continue}const prop=config[confKey];const key=isFunction(prop)?confKey:`_${confKey}`;this[key]=prop}this._config=config}calendar(key,date,now){const output=this._calendar[key]||this._calendar["sameElse"];return isFunction(output)?output.call(null,date,now):output}longDateFormat(key){const format=this._longDateFormat[key];const formatUpper=this._longDateFormat[key.toUpperCase()];if(format||!formatUpper){return format}this._longDateFormat[key]=formatUpper.replace(/MMMM|MM|DD|dddd/g,(function(val){return val.slice(1)}));return this._longDateFormat[key]}get invalidDate(){return this._invalidDate}set invalidDate(val){this._invalidDate=val}ordinal(num,token){return this._ordinal.replace("%d",num.toString(10))}preparse(str,format){return str}getFullYear(date,isUTC=false){return getFullYear(date,isUTC)}postformat(str){return str}relativeTime(num,withoutSuffix,str,isFuture){const output=this._relativeTime[str];return isFunction(output)?output(num,withoutSuffix,str,isFuture):output.replace(/%d/i,num.toString(10))}pastFuture(diff,output){const format=this._relativeTime[diff>0?"future":"past"];return isFunction(format)?format(output):format.replace(/%s/i,output)}months(date,format,isUTC=false){if(!date){return isArray(this._months)?this._months:this._months.standalone}if(isArray(this._months)){return this._months[getMonth(date,isUTC)]}const key=(this._months.isFormat||MONTHS_IN_FORMAT).test(format)?"format":"standalone";return this._months[key][getMonth(date,isUTC)]}monthsShort(date,format,isUTC=false){if(!date){return isArray(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}if(isArray(this._monthsShort)){return this._monthsShort[getMonth(date,isUTC)]}const key=MONTHS_IN_FORMAT.test(format)?"format":"standalone";return this._monthsShort[key][getMonth(date,isUTC)]}monthsParse(monthName,format,strict){let date;let regex;if(this._monthsParseExact){return this.handleMonthStrictParse(monthName,format,strict)}if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[]}let i;for(i=0;i<12;i++){date=new Date(Date.UTC(2e3,i));if(strict&&!this._longMonthsParse[i]){const _months=this.months(date,"",true).replace(".","");const _shortMonths=this.monthsShort(date,"",true).replace(".","");this._longMonthsParse[i]=new RegExp(`^${_months}$`,"i");this._shortMonthsParse[i]=new RegExp(`^${_shortMonths}$`,"i")}if(!strict&&!this._monthsParse[i]){regex=`^${this.months(date,"",true)}|^${this.monthsShort(date,"",true)}`;this._monthsParse[i]=new RegExp(regex.replace(".",""),"i")}if(strict&&format==="MMMM"&&this._longMonthsParse[i].test(monthName)){return i}if(strict&&format==="MMM"&&this._shortMonthsParse[i].test(monthName)){return i}if(!strict&&this._monthsParse[i].test(monthName)){return i}}}monthsRegex(isStrict){if(this._monthsParseExact){if(!hasOwnProp(this,"_monthsRegex")){this.computeMonthsParse()}if(isStrict){return this._monthsStrictRegex}return this._monthsRegex}if(!hasOwnProp(this,"_monthsRegex")){this._monthsRegex=defaultMonthsRegex}return this._monthsStrictRegex&&isStrict?this._monthsStrictRegex:this._monthsRegex}monthsShortRegex(isStrict){if(this._monthsParseExact){if(!hasOwnProp(this,"_monthsRegex")){this.computeMonthsParse()}if(isStrict){return this._monthsShortStrictRegex}return this._monthsShortRegex}if(!hasOwnProp(this,"_monthsShortRegex")){this._monthsShortRegex=defaultMonthsShortRegex}return this._monthsShortStrictRegex&&isStrict?this._monthsShortStrictRegex:this._monthsShortRegex}week(date,isUTC){return weekOfYear(date,this._week.dow,this._week.doy,isUTC).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(date,format,isUTC){if(!date){return isArray(this._weekdays)?this._weekdays:this._weekdays.standalone}if(isArray(this._weekdays)){return this._weekdays[getDay(date,isUTC)]}const _key=this._weekdays.isFormat.test(format)?"format":"standalone";return this._weekdays[_key][getDay(date,isUTC)]}weekdaysMin(date,format,isUTC){return date?this._weekdaysMin[getDay(date,isUTC)]:this._weekdaysMin}weekdaysShort(date,format,isUTC){return date?this._weekdaysShort[getDay(date,isUTC)]:this._weekdaysShort}weekdaysParse(weekdayName,format,strict){let i;let regex;if(this._weekdaysParseExact){return this.handleWeekStrictParse(weekdayName,format,strict)}if(!this._weekdaysParse){this._weekdaysParse=[];this._minWeekdaysParse=[];this._shortWeekdaysParse=[];this._fullWeekdaysParse=[]}for(i=0;i<7;i++){const date=setDayOfWeek(new Date(Date.UTC(2e3,1)),i,null,true);if(strict&&!this._fullWeekdaysParse[i]){this._fullWeekdaysParse[i]=new RegExp(`^${this.weekdays(date,"",true).replace(".",".?")}$`,"i");this._shortWeekdaysParse[i]=new RegExp(`^${this.weekdaysShort(date,"",true).replace(".",".?")}$`,"i");this._minWeekdaysParse[i]=new RegExp(`^${this.weekdaysMin(date,"",true).replace(".",".?")}$`,"i")}if(!this._weekdaysParse[i]){regex=`^${this.weekdays(date,"",true)}|^${this.weekdaysShort(date,"",true)}|^${this.weekdaysMin(date,"",true)}`;this._weekdaysParse[i]=new RegExp(regex.replace(".",""),"i")}if(!isArray(this._fullWeekdaysParse)||!isArray(this._shortWeekdaysParse)||!isArray(this._minWeekdaysParse)||!isArray(this._weekdaysParse)){return}if(strict&&format==="dddd"&&this._fullWeekdaysParse[i].test(weekdayName)){return i}else if(strict&&format==="ddd"&&this._shortWeekdaysParse[i].test(weekdayName)){return i}else if(strict&&format==="dd"&&this._minWeekdaysParse[i].test(weekdayName)){return i}else if(!strict&&this._weekdaysParse[i].test(weekdayName)){return i}}}weekdaysRegex(isStrict){if(this._weekdaysParseExact){if(!hasOwnProp(this,"_weekdaysRegex")){this.computeWeekdaysParse()}if(isStrict){return this._weekdaysStrictRegex}else{return this._weekdaysRegex}}else{if(!hasOwnProp(this,"_weekdaysRegex")){this._weekdaysRegex=matchWord}return this._weekdaysStrictRegex&&isStrict?this._weekdaysStrictRegex:this._weekdaysRegex}}weekdaysShortRegex(isStrict){if(this._weekdaysParseExact){if(!hasOwnProp(this,"_weekdaysRegex")){this.computeWeekdaysParse()}if(isStrict){return this._weekdaysShortStrictRegex}else{return this._weekdaysShortRegex}}else{if(!hasOwnProp(this,"_weekdaysShortRegex")){this._weekdaysShortRegex=matchWord}return this._weekdaysShortStrictRegex&&isStrict?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}}weekdaysMinRegex(isStrict){if(this._weekdaysParseExact){if(!hasOwnProp(this,"_weekdaysRegex")){this.computeWeekdaysParse()}if(isStrict){return this._weekdaysMinStrictRegex}else{return this._weekdaysMinRegex}}else{if(!hasOwnProp(this,"_weekdaysMinRegex")){this._weekdaysMinRegex=matchWord}return this._weekdaysMinStrictRegex&&isStrict?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}}isPM(input){return input.toLowerCase().charAt(0)==="p"}meridiem(hours,minutes,isLower){if(hours>11){return isLower?"pm":"PM"}return isLower?"am":"AM"}formatLongDate(key){this._longDateFormat=this._longDateFormat?this._longDateFormat:defaultLongDateFormat;const format=this._longDateFormat[key];const formatUpper=this._longDateFormat[key.toUpperCase()];if(format||!formatUpper){return format}this._longDateFormat[key]=formatUpper.replace(/MMMM|MM|DD|dddd/g,(val=>val.slice(1)));return this._longDateFormat[key]}handleMonthStrictParse(monthName,format,strict){const llc=monthName.toLocaleLowerCase();let i;let ii;let mom;if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[];for(i=0;i<12;++i){mom=new Date(2e3,i);this._shortMonthsParse[i]=this.monthsShort(mom,"").toLocaleLowerCase();this._longMonthsParse[i]=this.months(mom,"").toLocaleLowerCase()}}if(strict){if(format==="MMM"){ii=this._shortMonthsParse.indexOf(llc);return ii!==-1?ii:null}ii=this._longMonthsParse.indexOf(llc);return ii!==-1?ii:null}if(format==="MMM"){ii=this._shortMonthsParse.indexOf(llc);if(ii!==-1){return ii}ii=this._longMonthsParse.indexOf(llc);return ii!==-1?ii:null}ii=this._longMonthsParse.indexOf(llc);if(ii!==-1){return ii}ii=this._shortMonthsParse.indexOf(llc);return ii!==-1?ii:null}handleWeekStrictParse(weekdayName,format,strict){let ii;const llc=weekdayName.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[];this._shortWeekdaysParse=[];this._minWeekdaysParse=[];let i;for(i=0;i<7;++i){const date=setDayOfWeek(new Date(Date.UTC(2e3,1)),i,null,true);this._minWeekdaysParse[i]=this.weekdaysMin(date).toLocaleLowerCase();this._shortWeekdaysParse[i]=this.weekdaysShort(date).toLocaleLowerCase();this._weekdaysParse[i]=this.weekdays(date,"").toLocaleLowerCase()}}if(!isArray(this._weekdaysParse)||!isArray(this._shortWeekdaysParse)||!isArray(this._minWeekdaysParse)){return}if(strict){if(format==="dddd"){ii=this._weekdaysParse.indexOf(llc);return ii!==-1?ii:null}else if(format==="ddd"){ii=this._shortWeekdaysParse.indexOf(llc);return ii!==-1?ii:null}else{ii=this._minWeekdaysParse.indexOf(llc);return ii!==-1?ii:null}}else{if(format==="dddd"){ii=this._weekdaysParse.indexOf(llc);if(ii!==-1){return ii}ii=this._shortWeekdaysParse.indexOf(llc);if(ii!==-1){return ii}ii=this._minWeekdaysParse.indexOf(llc);return ii!==-1?ii:null}else if(format==="ddd"){ii=this._shortWeekdaysParse.indexOf(llc);if(ii!==-1){return ii}ii=this._weekdaysParse.indexOf(llc);if(ii!==-1){return ii}ii=this._minWeekdaysParse.indexOf(llc);return ii!==-1?ii:null}else{ii=this._minWeekdaysParse.indexOf(llc);if(ii!==-1){return ii}ii=this._weekdaysParse.indexOf(llc);if(ii!==-1){return ii}ii=this._shortWeekdaysParse.indexOf(llc);return ii!==-1?ii:null}}}computeMonthsParse(){const shortPieces=[];const longPieces=[];const mixedPieces=[];let date;let i;for(i=0;i<12;i++){date=new Date(2e3,i);shortPieces.push(this.monthsShort(date,""));longPieces.push(this.months(date,""));mixedPieces.push(this.months(date,""));mixedPieces.push(this.monthsShort(date,""))}shortPieces.sort(cmpLenRev);longPieces.sort(cmpLenRev);mixedPieces.sort(cmpLenRev);for(i=0;i<12;i++){shortPieces[i]=regexEscape(shortPieces[i]);longPieces[i]=regexEscape(longPieces[i])}for(i=0;i<24;i++){mixedPieces[i]=regexEscape(mixedPieces[i])}this._monthsRegex=new RegExp(`^(${mixedPieces.join("|")})`,"i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp(`^(${longPieces.join("|")})`,"i");this._monthsShortStrictRegex=new RegExp(`^(${shortPieces.join("|")})`,"i")}computeWeekdaysParse(){const minPieces=[];const shortPieces=[];const longPieces=[];const mixedPieces=[];let i;for(i=0;i<7;i++){const date=setDayOfWeek(new Date(Date.UTC(2e3,1)),i,null,true);const minp=this.weekdaysMin(date);const shortp=this.weekdaysShort(date);const longp=this.weekdays(date);minPieces.push(minp);shortPieces.push(shortp);longPieces.push(longp);mixedPieces.push(minp);mixedPieces.push(shortp);mixedPieces.push(longp)}minPieces.sort(cmpLenRev);shortPieces.sort(cmpLenRev);longPieces.sort(cmpLenRev);mixedPieces.sort(cmpLenRev);for(i=0;i<7;i++){shortPieces[i]=regexEscape(shortPieces[i]);longPieces[i]=regexEscape(longPieces[i]);mixedPieces[i]=regexEscape(mixedPieces[i])}this._weekdaysRegex=new RegExp(`^(${mixedPieces.join("|")})`,"i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp(`^(${longPieces.join("|")})`,"i");this._weekdaysShortStrictRegex=new RegExp(`^(${shortPieces.join("|")})`,"i");this._weekdaysMinStrictRegex=new RegExp(`^(${minPieces.join("|")})`,"i")}}function cmpLenRev(a,b){return b.length-a.length}const defaultCalendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};const defaultInvalidDate="Invalid date";const defaultLocaleWeek={dow:0,doy:6};const defaultLocaleMeridiemParse=/[ap]\.?m?\.?/i;const defaultRelativeTime={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};const baseConfig={calendar:defaultCalendar,longDateFormat:defaultLongDateFormat,invalidDate:defaultInvalidDate,ordinal:defaultOrdinal,dayOfMonthOrdinalParse:defaultDayOfMonthOrdinalParse,relativeTime:defaultRelativeTime,months:defaultLocaleMonths,monthsShort:defaultLocaleMonthsShort,week:defaultLocaleWeek,weekdays:defaultLocaleWeekdays,weekdaysMin:defaultLocaleWeekdaysMin,weekdaysShort:defaultLocaleWeekdaysShort,meridiemParse:defaultLocaleMeridiemParse};function compareArrays(array1,array2,dontConvert){const len=Math.min(array1.length,array2.length);const lengthDiff=Math.abs(array1.length-array2.length);let diffs=0;let i;for(i=0;i<len;i++){if(array1[i]!==array2[i]||!dontConvert){diffs++}}return diffs+lengthDiff}function initWeek(){addFormatToken("w",["ww",2,false],"wo",(function(date,opts){return getWeek(date,opts.locale).toString(10)}));addFormatToken("W",["WW",2,false],"Wo",(function(date){return getISOWeek(date).toString(10)}));addUnitAlias("week","w");addUnitAlias("isoWeek","W");addUnitPriority("week",5);addUnitPriority("isoWeek",5);addRegexToken("w",match1to2);addRegexToken("ww",match1to2,match2);addRegexToken("W",match1to2);addRegexToken("WW",match1to2,match2);addWeekParseToken(["w","ww","W","WW"],(function(input,week,config,token){week[token.substr(0,1)]=toInt(input);return config}))}function getWeek(date,locale=getLocale(),isUTC){return locale.week(date,isUTC)}function getISOWeek(date,isUTC){return weekOfYear(date,1,4,isUTC).week}function initWeekYear(){addFormatToken(null,["gg",2,false],null,(function(date,opts){return(getWeekYear(date,opts.locale)%100).toString()}));addFormatToken(null,["GG",2,false],null,(function(date){return(getISOWeekYear(date)%100).toString()}));addWeekYearFormatToken("gggg",_getWeekYearFormatCb);addWeekYearFormatToken("ggggg",_getWeekYearFormatCb);addWeekYearFormatToken("GGGG",_getISOWeekYearFormatCb);addWeekYearFormatToken("GGGGG",_getISOWeekYearFormatCb);addUnitAlias("weekYear","gg");addUnitAlias("isoWeekYear","GG");addUnitPriority("weekYear",1);addUnitPriority("isoWeekYear",1);addRegexToken("G",matchSigned);addRegexToken("g",matchSigned);addRegexToken("GG",match1to2,match2);addRegexToken("gg",match1to2,match2);addRegexToken("GGGG",match1to4,match4);addRegexToken("gggg",match1to4,match4);addRegexToken("GGGGG",match1to6,match6);addRegexToken("ggggg",match1to6,match6);addWeekParseToken(["gggg","ggggg","GGGG","GGGGG"],(function(input,week,config,token){week[token.substr(0,2)]=toInt(input);return config}));addWeekParseToken(["gg","GG"],(function(input,week,config,token){week[token]=parseTwoDigitYear(input);return config}))}function addWeekYearFormatToken(token,getter){addFormatToken(null,[token,token.length,false],null,getter)}function _getWeekYearFormatCb(date,opts){return getWeekYear(date,opts.locale).toString()}function _getISOWeekYearFormatCb(date){return getISOWeekYear(date).toString()}function getWeekYear(date,locale=getLocale(),isUTC){return weekOfYear(date,locale.firstDayOfWeek(),locale.firstDayOfYear(),isUTC).year}function getISOWeekYear(date,isUTC){return weekOfYear(date,1,4,isUTC).year}function initTimezone(){addFormatToken("z",null,null,(function(date,opts){return opts.isUTC?"UTC":""}));addFormatToken("zz",null,null,(function(date,opts){return opts.isUTC?"Coordinated Universal Time":""}))}function initTimestamp(){addFormatToken("X",null,null,(function(date){return unix(date).toString(10)}));addFormatToken("x",null,null,(function(date){return date.valueOf().toString(10)}));addRegexToken("x",matchSigned);addRegexToken("X",matchTimestamp);addParseToken("X",(function(input,array,config){config._d=new Date(parseFloat(input)*1e3);return config}));addParseToken("x",(function(input,array,config){config._d=new Date(toInt(input));return config}))}function initSecond(){addFormatToken("s",["ss",2,false],null,(function(date,opts){return getSeconds(date,opts.isUTC).toString(10)}));addUnitAlias("second","s");addUnitPriority("second",15);addRegexToken("s",match1to2);addRegexToken("ss",match1to2,match2);addParseToken(["s","ss"],SECOND)}function initQuarter(){addFormatToken("Q",null,"Qo",(function(date,opts){return getQuarter(date,opts.isUTC).toString(10)}));addUnitAlias("quarter","Q");addUnitPriority("quarter",7);addRegexToken("Q",match1);addParseToken("Q",(function(input,array,config){array[MONTH]=(toInt(input)-1)*3;return config}))}function getQuarter(date,isUTC=false){return Math.ceil((getMonth(date,isUTC)+1)/3)}function addOffsetFormatToken(token,separator){addFormatToken(token,null,null,(function(date,config){let offset=getUTCOffset(date,{_isUTC:config.isUTC,_offset:config.offset});let sign="+";if(offset<0){offset=-offset;sign="-"}return sign+zeroFill(~~(offset/60),2)+separator+zeroFill(~~offset%60,2)}))}function initOffset(){addOffsetFormatToken("Z",":");addOffsetFormatToken("ZZ","");addRegexToken("Z",matchShortOffset);addRegexToken("ZZ",matchShortOffset);addParseToken(["Z","ZZ"],(function(input,array,config){config._useUTC=true;config._tzm=offsetFromString(matchShortOffset,input);return config}))}const chunkOffset=/([\+\-]|\d\d)/gi;function offsetFromString(matcher,str){const matches=(str||"").match(matcher);if(matches===null){return null}const chunk=matches[matches.length-1];const parts=chunk.match(chunkOffset)||["-","0","0"];const minutes=parseInt(parts[1],10)*60+toInt(parts[2]);const _min=parts[0]==="+"?minutes:-minutes;return minutes===0?0:_min}function cloneWithOffset(input,date,config={}){if(!config._isUTC){return input}const res=cloneDate(date);const offsetDiff=(config._offset||0)*6e4;const diff=input.valueOf()-res.valueOf()+offsetDiff;res.setTime(res.valueOf()+diff);return res}function getDateOffset(date){return-Math.round(date.getTimezoneOffset()/15)*15}function getUTCOffset(date,config={}){const _offset=config._offset||0;return config._isUTC?_offset:getDateOffset(date)}function initMinute(){addFormatToken("m",["mm",2,false],null,(function(date,opts){return getMinutes(date,opts.isUTC).toString(10)}));addUnitAlias("minute","m");addUnitPriority("minute",14);addRegexToken("m",match1to2);addRegexToken("mm",match1to2,match2);addParseToken(["m","mm"],MINUTE)}function initMillisecond(){addFormatToken("S",null,null,(function(date,opts){return(~~(getMilliseconds(date,opts.isUTC)/100)).toString(10)}));addFormatToken(null,["SS",2,false],null,(function(date,opts){return(~~(getMilliseconds(date,opts.isUTC)/10)).toString(10)}));addFormatToken(null,["SSS",3,false],null,(function(date,opts){return getMilliseconds(date,opts.isUTC).toString(10)}));addFormatToken(null,["SSSS",4,false],null,(function(date,opts){return(getMilliseconds(date,opts.isUTC)*10).toString(10)}));addFormatToken(null,["SSSSS",5,false],null,(function(date,opts){return(getMilliseconds(date,opts.isUTC)*100).toString(10)}));addFormatToken(null,["SSSSSS",6,false],null,(function(date,opts){return(getMilliseconds(date,opts.isUTC)*1e3).toString(10)}));addFormatToken(null,["SSSSSSS",7,false],null,(function(date,opts){return(getMilliseconds(date,opts.isUTC)*1e4).toString(10)}));addFormatToken(null,["SSSSSSSS",8,false],null,(function(date,opts){return(getMilliseconds(date,opts.isUTC)*1e5).toString(10)}));addFormatToken(null,["SSSSSSSSS",9,false],null,(function(date,opts){return(getMilliseconds(date,opts.isUTC)*1e6).toString(10)}));addUnitAlias("millisecond","ms");addUnitPriority("millisecond",16);addRegexToken("S",match1to3,match1);addRegexToken("SS",match1to3,match2);addRegexToken("SSS",match1to3,match3);let token;for(token="SSSS";token.length<=9;token+="S"){addRegexToken(token,matchUnsigned)}function parseMs(input,array,config){array[MILLISECOND]=toInt(parseFloat(`0.${input}`)*1e3);return config}for(token="S";token.length<=9;token+="S"){addParseToken(token,parseMs)}}function initHour(){function hFormat(date,isUTC){return getHours(date,isUTC)%12||12}function kFormat(date,isUTC){return getHours(date,isUTC)||24}addFormatToken("H",["HH",2,false],null,(function(date,opts){return getHours(date,opts.isUTC).toString(10)}));addFormatToken("h",["hh",2,false],null,(function(date,opts){return hFormat(date,opts.isUTC).toString(10)}));addFormatToken("k",["kk",2,false],null,(function(date,opts){return kFormat(date,opts.isUTC).toString(10)}));addFormatToken("hmm",null,null,(function(date,opts){const _h=hFormat(date,opts.isUTC);const _mm=zeroFill(getMinutes(date,opts.isUTC),2);return`${_h}${_mm}`}));addFormatToken("hmmss",null,null,(function(date,opts){const _h=hFormat(date,opts.isUTC);const _mm=zeroFill(getMinutes(date,opts.isUTC),2);const _ss=zeroFill(getSeconds(date,opts.isUTC),2);return`${_h}${_mm}${_ss}`}));addFormatToken("Hmm",null,null,(function(date,opts){const _H=getHours(date,opts.isUTC);const _mm=zeroFill(getMinutes(date,opts.isUTC),2);return`${_H}${_mm}`}));addFormatToken("Hmmss",null,null,(function(date,opts){const _H=getHours(date,opts.isUTC);const _mm=zeroFill(getMinutes(date,opts.isUTC),2);const _ss=zeroFill(getSeconds(date,opts.isUTC),2);return`${_H}${_mm}${_ss}`}));function meridiem(token,lowercase){addFormatToken(token,null,null,(function(date,opts){return opts.locale.meridiem(getHours(date,opts.isUTC),getMinutes(date,opts.isUTC),lowercase)}))}meridiem("a",true);meridiem("A",false);addUnitAlias("hour","h");addUnitPriority("hour",13);function matchMeridiem(isStrict,locale){return locale._meridiemParse}addRegexToken("a",matchMeridiem);addRegexToken("A",matchMeridiem);addRegexToken("H",match1to2);addRegexToken("h",match1to2);addRegexToken("k",match1to2);addRegexToken("HH",match1to2,match2);addRegexToken("hh",match1to2,match2);addRegexToken("kk",match1to2,match2);addRegexToken("hmm",match3to4);addRegexToken("hmmss",match5to6);addRegexToken("Hmm",match3to4);addRegexToken("Hmmss",match5to6);addParseToken(["H","HH"],HOUR);addParseToken(["k","kk"],(function(input,array,config){const kInput=toInt(input);array[HOUR]=kInput===24?0:kInput;return config}));addParseToken(["a","A"],(function(input,array,config){config._isPm=config._locale.isPM(input);config._meridiem=input;return config}));addParseToken(["h","hh"],(function(input,array,config){array[HOUR]=toInt(input);getParsingFlags(config).bigHour=true;return config}));addParseToken("hmm",(function(input,array,config){const pos=input.length-2;array[HOUR]=toInt(input.substr(0,pos));array[MINUTE]=toInt(input.substr(pos));getParsingFlags(config).bigHour=true;return config}));addParseToken("hmmss",(function(input,array,config){const pos1=input.length-4;const pos2=input.length-2;array[HOUR]=toInt(input.substr(0,pos1));array[MINUTE]=toInt(input.substr(pos1,2));array[SECOND]=toInt(input.substr(pos2));getParsingFlags(config).bigHour=true;return config}));addParseToken("Hmm",(function(input,array,config){const pos=input.length-2;array[HOUR]=toInt(input.substr(0,pos));array[MINUTE]=toInt(input.substr(pos));return config}));addParseToken("Hmmss",(function(input,array,config){const pos1=input.length-4;const pos2=input.length-2;array[HOUR]=toInt(input.substr(0,pos1));array[MINUTE]=toInt(input.substr(pos1,2));array[SECOND]=toInt(input.substr(pos2));return config}))}const locales={};const localeFamilies={};let globalLocale;function normalizeLocale(key){return key?key.toLowerCase().replace("_","-"):key}function chooseLocale(names){let next;let locale;let i=0;while(i<names.length){const split=normalizeLocale(names[i]).split("-");let j=split.length;next=normalizeLocale(names[i+1]);next=next?next.split("-"):null;while(j>0){locale=loadLocale(split.slice(0,j).join("-"));if(locale){return locale}if(next&&next.length>=j&&compareArrays(split,next,true)>=j-1){break}j--}i++}return null}function mergeConfigs(parentConfig,childConfig){const res=Object.assign({},parentConfig);for(const childProp in childConfig){if(!hasOwnProp(childConfig,childProp)){continue}if(isObject(parentConfig[childProp])&&isObject(childConfig[childProp])){res[childProp]={};Object.assign(res[childProp],parentConfig[childProp]);Object.assign(res[childProp],childConfig[childProp])}else if(childConfig[childProp]!=null){res[childProp]=childConfig[childProp]}else{delete res[childProp]}}for(const parentProp in parentConfig){if(hasOwnProp(parentConfig,parentProp)&&!hasOwnProp(childConfig,parentProp)&&isObject(parentConfig[parentProp])){res[parentProp]=Object.assign({},res[parentProp])}}return res}function loadLocale(name){if(!locales[name]){console.error(`Khronos locale error: please load locale "${name}" before using it`)}return locales[name]}function getSetGlobalLocale(key,values){let data;if(key){if(isUndefined(values)){data=getLocale(key)}else if(isString(key)){data=defineLocale(key,values)}if(data){globalLocale=data}}return globalLocale&&globalLocale._abbr}function defineLocale(name,config){if(config===null){delete locales[name];globalLocale=getLocale("en");return null}if(!config){return}let parentConfig=baseConfig;config.abbr=name;if(config.parentLocale!=null){if(locales[config.parentLocale]!=null){parentConfig=locales[config.parentLocale]._config}else{if(!localeFamilies[config.parentLocale]){localeFamilies[config.parentLocale]=[]}localeFamilies[config.parentLocale].push({name:name,config:config});return null}}locales[name]=new Locale(mergeConfigs(parentConfig,config));if(localeFamilies[name]){localeFamilies[name].forEach((function(x){defineLocale(x.name,x.config)}))}getSetGlobalLocale(name);return locales[name]}function updateLocale(name,config){let _config=config;if(_config!=null){let parentConfig=baseConfig;const tmpLocale=loadLocale(name);if(tmpLocale!=null){parentConfig=tmpLocale._config}_config=mergeConfigs(parentConfig,_config);const locale=new Locale(_config);locale.parentLocale=locales[name];locales[name]=locale;getSetGlobalLocale(name)}else{if(locales[name]!=null){if(locales[name].parentLocale!=null){locales[name]=locales[name].parentLocale}else if(locales[name]!=null){delete locales[name]}}}return locales[name]}function getLocale(key){setDefaultLocale();if(!key){return globalLocale}const _key=isArray(key)?key:[key];return chooseLocale(_key)}function listLocales(){return Object.keys(locales)}function setDefaultLocale(){if(locales[`en`]){return undefined}getSetGlobalLocale("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal(num){const b=num%10;const output=toInt(num%100/10)===1?"th":b===1?"st":b===2?"nd":b===3?"rd":"th";return num+output}});initWeek();initWeekYear();initYear();initTimezone();initTimestamp();initSecond();initQuarter();initOffset();initMonth();initMinute();initMillisecond();initHour();initDayOfYear();initDayOfWeek();initDayOfMonth()}const ordering=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"];const orderingHash=ordering.reduce(((mem,order)=>{mem[order]=true;return mem}),{});function isDurationValid(duration){const durationKeys=Object.keys(duration);if(durationKeys.some((key=>key in orderingHash&&duration[key]===null||isNaN(duration[key])))){return false}let unitHasDecimal=false;for(let i=0;i<ordering.length;++i){if(duration[ordering[i]]){if(unitHasDecimal){return false}if(duration[ordering[i]]!==toInt(duration[ordering[i]])){unitHasDecimal=true}}}return true}function absCeil(number){return number<0?Math.floor(number):Math.ceil(number)}function bubble(dur){let milliseconds=dur._milliseconds;let days=dur._days;let months=dur._months;const data=dur._data;if(!(milliseconds>=0&&days>=0&&months>=0||milliseconds<=0&&days<=0&&months<=0)){milliseconds+=absCeil(monthsToDays(months)+days)*864e5;days=0;months=0}data.milliseconds=milliseconds%1e3;const seconds=absFloor(milliseconds/1e3);data.seconds=seconds%60;const minutes=absFloor(seconds/60);data.minutes=minutes%60;const hours=absFloor(minutes/60);data.hours=hours%24;days+=absFloor(hours/24);const monthsFromDays=absFloor(daysToMonths(days));months+=monthsFromDays;days-=absCeil(monthsToDays(monthsFromDays));const years=absFloor(months/12);months%=12;data.day=days;data.month=months;data.year=years;return dur}function daysToMonths(day){return day*4800/146097}function monthsToDays(month){return month*146097/4800}let round=Math.round;const thresholds={ss:44,s:45,m:45,h:22,d:26,M:11};function substituteTimeAgo(str,num,withoutSuffix,isFuture,locale){return locale.relativeTime(num||1,!!withoutSuffix,str,isFuture)}function relativeTime(posNegDuration,withoutSuffix,locale){const duration=createDuration(posNegDuration).abs();const seconds=round(duration.as("s"));const minutes=round(duration.as("m"));const hours=round(duration.as("h"));const days=round(duration.as("d"));const months=round(duration.as("M"));const years=round(duration.as("y"));const a=seconds<=thresholds["ss"]&&["s",seconds]||seconds<thresholds["s"]&&["ss",seconds]||minutes<=1&&["m"]||minutes<thresholds["m"]&&["mm",minutes]||hours<=1&&["h"]||hours<thresholds["h"]&&["hh",hours]||days<=1&&["d"]||days<thresholds["d"]&&["dd",days]||months<=1&&["M"]||months<thresholds["M"]&&["MM",months]||years<=1&&["y"]||["yy",years];const b=[a[0],a[1],withoutSuffix,+posNegDuration>0,locale];return substituteTimeAgo.apply(null,b)}class Duration{constructor(duration,config={}){this._data={};this._locale=getLocale();this._locale=config&&config._locale||getLocale();const normalizedInput=duration;const years=normalizedInput.year||0;const quarters=normalizedInput.quarter||0;const months=normalizedInput.month||0;const weeks=normalizedInput.week||0;const days=normalizedInput.day||0;const hours=normalizedInput.hours||0;const minutes=normalizedInput.minutes||0;const seconds=normalizedInput.seconds||0;const milliseconds=normalizedInput.milliseconds||0;this._isValid=isDurationValid(normalizedInput);this._milliseconds=+milliseconds+seconds*1e3+minutes*60*1e3+hours*1e3*60*60;this._days=+days+weeks*7;this._months=+months+quarters*3+years*12;return bubble(this)}isValid(){return this._isValid}humanize(withSuffix){if(!this.isValid()){return this.localeData().invalidDate}const locale=this.localeData();let output=relativeTime(this,!withSuffix,locale);if(withSuffix){output=locale.pastFuture(+this,output)}return locale.postformat(output)}localeData(){return this._locale}locale(localeKey){if(!localeKey){return this._locale._abbr}this._locale=getLocale(localeKey)||this._locale;return this}abs(){const mathAbs=Math.abs;const data=this._data;this._milliseconds=mathAbs(this._milliseconds);this._days=mathAbs(this._days);this._months=mathAbs(this._months);data.milliseconds=mathAbs(data.milliseconds);data.seconds=mathAbs(data.seconds);data.minutes=mathAbs(data.minutes);data.hours=mathAbs(data.hours);data.month=mathAbs(data.month);data.year=mathAbs(data.year);return this}as(_units){if(!this.isValid()){return NaN}let days;let months;const milliseconds=this._milliseconds;const units=normalizeUnits(_units);if(units==="month"||units==="year"){days=this._days+milliseconds/864e5;months=this._months+daysToMonths(days);return units==="month"?months:months/12}days=this._days+Math.round(monthsToDays(this._months));switch(units){case"week":return days/7+milliseconds/6048e5;case"day":return days+milliseconds/864e5;case"hours":return days*24+milliseconds/36e5;case"minutes":return days*1440+milliseconds/6e4;case"seconds":return days*86400+milliseconds/1e3;case"milliseconds":return Math.floor(days*864e5)+milliseconds;default:throw new Error(`Unknown unit ${units}`)}}valueOf(){if(!this.isValid()){return NaN}return this._milliseconds+this._days*864e5+this._months%12*2592e6+toInt(this._months/12)*31536e6}}function isDuration(obj){return obj instanceof Duration}function isValid(config){if(config._isValid==null){const flags=getParsingFlags(config);const parsedParts=Array.prototype.some.call(flags.parsedDateParts,(function(i){return i!=null}));let isNowValid=!isNaN(config._d&&config._d.getTime())&&flags.overflow<0&&!flags.empty&&!flags.invalidMonth&&!flags.invalidWeekday&&!flags.weekdayMismatch&&!flags.nullInput&&!flags.invalidFormat&&!flags.userInvalidated&&(!flags.meridiem||flags.meridiem&&parsedParts);if(config._strict){isNowValid=isNowValid&&flags.charsLeftOver===0&&flags.unusedTokens.length===0&&flags.bigHour===undefined}if(Object.isFrozen==null||!Object.isFrozen(config)){config._isValid=isNowValid}else{return isNowValid}}return config._isValid}function createInvalid(config,flags){config._d=new Date(NaN);Object.assign(getParsingFlags(config),flags||{userInvalidated:true});return config}function markInvalid(config){config._isValid=false;return config}const extendedIsoRegex=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/;const basicIsoRegex=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/;const tzRegex=/Z|[+-]\d\d(?::?\d\d)?/;const isoDates=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,true],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,true],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,true],["GGGG-[W]WW",/\d{4}-W\d\d/,false],["YYYY-DDD",/\d{4}-\d{3}/,true],["YYYY-MM",/\d{4}-\d\d/,false],["YYYYYYMMDD",/[+-]\d{10}/,true],["YYYYMMDD",/\d{8}/,true],["GGGG[W]WWE",/\d{4}W\d{3}/,true],["GGGG[W]WW",/\d{4}W\d{2}/,false],["YYYYDDD",/\d{7}/,true]];const isoTimes=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]];const aspNetJsonRegex=/^\/?Date\((\-?\d+)/i;const obsOffsets={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};const rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function configFromISO(config){if(!isString(config._i)){return config}const input=config._i;const match=extendedIsoRegex.exec(input)||basicIsoRegex.exec(input);let allowTime;let dateFormat;let timeFormat;let tzFormat;if(!match){config._isValid=false;return config}let i;let l;for(i=0,l=isoDates.length;i<l;i++){if(isoDates[i][1].exec(match[1])){dateFormat=isoDates[i][0];allowTime=isoDates[i][2]!==false;break}}if(dateFormat==null){config._isValid=false;return config}if(match[3]){for(i=0,l=isoTimes.length;i<l;i++){if(isoTimes[i][1].exec(match[3])){timeFormat=(match[2]||" ")+isoTimes[i][0];break}}if(timeFormat==null){config._isValid=false;return config}}if(!allowTime&&timeFormat!=null){config._isValid=false;return config}if(match[4]){if(tzRegex.exec(match[4])){tzFormat="Z"}else{config._isValid=false;return config}}config._f=dateFormat+(timeFormat||"")+(tzFormat||"");return configFromStringAndFormat(config)}function extractFromRFC2822Strings(yearStr,monthStr,dayStr,hourStr,minuteStr,secondStr){const result=[untruncateYear(yearStr),defaultLocaleMonthsShort.indexOf(monthStr),parseInt(dayStr,10),parseInt(hourStr,10),parseInt(minuteStr,10)];if(secondStr){result.push(parseInt(secondStr,10))}return result}function untruncateYear(yearStr){const year=parseInt(yearStr,10);return year<=49?year+2e3:year}function preprocessRFC2822(str){return str.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function checkWeekday(weekdayStr,parsedInput,config){if(weekdayStr){const weekdayProvided=defaultLocaleWeekdaysShort.indexOf(weekdayStr);const weekdayActual=new Date(parsedInput[0],parsedInput[1],parsedInput[2]).getDay();if(weekdayProvided!==weekdayActual){getParsingFlags(config).weekdayMismatch=true;config._isValid=false;return false}}return true}function calculateOffset(obsOffset,militaryOffset,numOffset){if(obsOffset){return obsOffsets[obsOffset]}else if(militaryOffset){return 0}else{const hm=parseInt(numOffset,10);const m=hm%100;const h=(hm-m)/100;return h*60+m}}function configFromRFC2822(config){if(!isString(config._i)){return config}const match=rfc2822.exec(preprocessRFC2822(config._i));if(!match){return markInvalid(config)}const parsedArray=extractFromRFC2822Strings(match[4],match[3],match[2],match[5],match[6],match[7]);if(!checkWeekday(match[1],parsedArray,config)){return config}config._a=parsedArray;config._tzm=calculateOffset(match[8],match[9],match[10]);config._d=createUTCDate.apply(null,config._a);config._d.setUTCMinutes(config._d.getUTCMinutes()-config._tzm);getParsingFlags(config).rfc2822=true;return config}function configFromString(config){if(!isString(config._i)){return config}const matched=aspNetJsonRegex.exec(config._i);if(matched!==null){config._d=new Date(+matched[1]);return config}configFromISO(config);if(config._isValid===false){delete config._isValid}else{return config}configFromRFC2822(config);if(config._isValid===false){delete config._isValid}else{return config}return createInvalid(config)}function formatDate(date,format,locale,isUTC,offset=0){const _locale=getLocale(locale||"en");if(!_locale){throw new Error(`Locale "${locale}" is not defined, please add it with "defineLocale(...)"`)}const _format=format||(isUTC?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ");const output=formatMoment(date,_format,_locale,isUTC,offset);if(!output){return output}return _locale.postformat(output)}function formatMoment(date,_format,locale,isUTC,offset=0){if(!isDateValid(date)){return locale.invalidDate}const format=expandFormat(_format,locale);formatFunctions[format]=formatFunctions[format]||makeFormatFunction(format);return formatFunctions[format](date,locale,isUTC,offset)}function expandFormat(_format,locale){let format=_format;let i=5;const localFormattingTokens=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g;const replaceLongDateFormatTokens=input=>locale.formatLongDate(input)||input;localFormattingTokens.lastIndex=0;while(i>=0&&localFormattingTokens.test(format)){format=format.replace(localFormattingTokens,replaceLongDateFormatTokens);localFormattingTokens.lastIndex=0;i-=1}return format}function defaults(a,b,c){if(a!=null){return a}if(b!=null){return b}return c}function currentDateArray(config){const nowValue=new Date;if(config._useUTC){return[nowValue.getUTCFullYear(),nowValue.getUTCMonth(),nowValue.getUTCDate()]}return[nowValue.getFullYear(),nowValue.getMonth(),nowValue.getDate()]}function configFromArray(config){const input=[];let i;let date;let yearToUse;if(config._d){return config}const currentDate=currentDateArray(config);if(config._w&&config._a[DATE]==null&&config._a[MONTH]==null){dayOfYearFromWeekInfo(config)}if(config._dayOfYear!=null){yearToUse=defaults(config._a[YEAR],currentDate[YEAR]);if(config._dayOfYear>daysInYear(yearToUse)||config._dayOfYear===0){getParsingFlags(config)._overflowDayOfYear=true}date=new Date(Date.UTC(yearToUse,0,config._dayOfYear));config._a[MONTH]=date.getUTCMonth();config._a[DATE]=date.getUTCDate()}for(i=0;i<3&&config._a[i]==null;++i){config._a[i]=input[i]=currentDate[i]}for(;i<7;i++){config._a[i]=input[i]=config._a[i]==null?i===2?1:0:config._a[i]}if(config._a[HOUR]===24&&config._a[MINUTE]===0&&config._a[SECOND]===0&&config._a[MILLISECOND]===0){config._nextDay=true;config._a[HOUR]=0}config._d=(config._useUTC?createUTCDate:createDate).apply(null,input);const expectedWeekday=config._useUTC?config._d.getUTCDay():config._d.getDay();if(config._tzm!=null){config._d.setUTCMinutes(config._d.getUTCMinutes()-config._tzm)}if(config._nextDay){config._a[HOUR]=24}if(config._w&&typeof config._w["d"]!=="undefined"&&config._w["d"]!==expectedWeekday){getParsingFlags(config).weekdayMismatch=true}return config}function dayOfYearFromWeekInfo(config){let weekYear,week,weekday,dow,doy,temp,weekdayOverflow;const w=config._w;if(w["GG"]!=null||w["W"]!=null||w["E"]!=null){dow=1;doy=4;weekYear=defaults(w["GG"],config._a[YEAR],weekOfYear(new Date,1,4).year);week=defaults(w["W"],1);weekday=defaults(w["E"],1);if(weekday<1||weekday>7){weekdayOverflow=true}}else{dow=config._locale._week.dow;doy=config._locale._week.doy;const curWeek=weekOfYear(new Date,dow,doy);weekYear=defaults(w["gg"],config._a[YEAR],curWeek.year);week=defaults(w["w"],curWeek.week);if(w["d"]!=null){weekday=w["d"];if(weekday<0||weekday>6){weekdayOverflow=true}}else if(w["e"]!=null){weekday=w["e"]+dow;if(w["e"]<0||w["e"]>6){weekdayOverflow=true}}else{weekday=dow}}if(week<1||week>weeksInYear(weekYear,dow,doy)){getParsingFlags(config)._overflowWeeks=true}else if(weekdayOverflow!=null){getParsingFlags(config)._overflowWeekday=true}else{temp=dayOfYearFromWeeks(weekYear,week,weekday,dow,doy);config._a[YEAR]=temp.year;config._dayOfYear=temp.dayOfYear}return config}function checkOverflow(config){let overflow;const a=config._a;if(a&&getParsingFlags(config).overflow===-2){overflow=a[MONTH]<0||a[MONTH]>11?MONTH:a[DATE]<1||a[DATE]>daysInMonth(a[YEAR],a[MONTH])?DATE:a[HOUR]<0||a[HOUR]>24||a[HOUR]===24&&(a[MINUTE]!==0||a[SECOND]!==0||a[MILLISECOND]!==0)?HOUR:a[MINUTE]<0||a[MINUTE]>59?MINUTE:a[SECOND]<0||a[SECOND]>59?SECOND:a[MILLISECOND]<0||a[MILLISECOND]>999?MILLISECOND:-1;if(getParsingFlags(config)._overflowDayOfYear&&(overflow<YEAR||overflow>DATE)){overflow=DATE}if(getParsingFlags(config)._overflowWeeks&&overflow===-1){overflow=WEEK}if(getParsingFlags(config)._overflowWeekday&&overflow===-1){overflow=WEEKDAY}getParsingFlags(config).overflow=overflow}return config}const ISO_8601="ISO_8601";const RFC_2822="RFC_2822";function configFromStringAndFormat(config){if(config._f===ISO_8601){return configFromISO(config)}if(config._f===RFC_2822){return configFromRFC2822(config)}config._a=[];getParsingFlags(config).empty=true;if(isArray(config._f)||!config._i&&config._i!==0){return config}let input=config._i.toString();let totalParsedInputLength=0;const inputLength=input.length;const tokens=expandFormat(config._f,config._locale).match(formattingTokens)||[];let i;let token;let parsedInput;let skipped;for(i=0;i<tokens.length;i++){token=tokens[i];parsedInput=(input.match(getParseRegexForToken(token,config._locale))||[])[0];if(parsedInput){skipped=input.substr(0,input.indexOf(parsedInput));if(skipped.length>0){getParsingFlags(config).unusedInput.push(skipped)}input=input.slice(input.indexOf(parsedInput)+parsedInput.length);totalParsedInputLength+=parsedInput.length}if(formatTokenFunctions[token]){if(parsedInput){getParsingFlags(config).empty=false}else{getParsingFlags(config).unusedTokens.push(token)}addTimeToArrayFromToken(token,parsedInput,config)}else if(config._strict&&!parsedInput){getParsingFlags(config).unusedTokens.push(token)}}getParsingFlags(config).charsLeftOver=inputLength-totalParsedInputLength;if(input.length>0){getParsingFlags(config).unusedInput.push(input)}if(config._a[HOUR]<=12&&getParsingFlags(config).bigHour===true&&config._a[HOUR]>0){getParsingFlags(config).bigHour=void 0}getParsingFlags(config).parsedDateParts=config._a.slice(0);getParsingFlags(config).meridiem=config._meridiem;config._a[HOUR]=meridiemFixWrap(config._locale,config._a[HOUR],config._meridiem);configFromArray(config);return checkOverflow(config)}function meridiemFixWrap(locale,_hour,meridiem){let hour=_hour;if(meridiem==null){return hour}if(locale.meridiemHour!=null){return locale.meridiemHour(hour,meridiem)}if(locale.isPM==null){return hour}const isPm=locale.isPM(meridiem);if(isPm&&hour<12){hour+=12}if(!isPm&&hour===12){hour=0}return hour}function configFromStringAndArray(config){let tempConfig;let bestMoment;let scoreToBeat;let currentScore;if(!config._f||config._f.length===0){getParsingFlags(config).invalidFormat=true;return createInvalid(config)}let i;for(i=0;i<config._f.length;i++){currentScore=0;tempConfig=Object.assign({},config);if(config._useUTC!=null){tempConfig._useUTC=config._useUTC}tempConfig._f=config._f[i];configFromStringAndFormat(tempConfig);if(!isValid(tempConfig)){continue}currentScore+=getParsingFlags(tempConfig).charsLeftOver;currentScore+=getParsingFlags(tempConfig).unusedTokens.length*10;getParsingFlags(tempConfig).score=currentScore;if(scoreToBeat==null||currentScore<scoreToBeat){scoreToBeat=currentScore;bestMoment=tempConfig}}return Object.assign(config,bestMoment||tempConfig)}function configFromObject(config){if(config._d){return config}const input=config._i;if(isObject(input)){const i=normalizeObjectUnits(input);config._a=[i.year,i.month,i.day,i.hours,i.minutes,i.seconds,i.milliseconds].map((obj=>isString(obj)?parseInt(obj,10):obj))}return configFromArray(config)}function createFromConfig(config){const res=checkOverflow(prepareConfig(config));res._d=new Date(res._d!=null?res._d.getTime():NaN);if(!isValid(Object.assign({},res,{_isValid:null}))){res._d=new Date(NaN)}return res}function prepareConfig(config){let input=config._i;const format=config._f;config._locale=config._locale||getLocale(config._l);if(input===null||format===undefined&&input===""){return createInvalid(config,{nullInput:true})}if(isString(input)){config._i=input=config._locale.preparse(input,format)}if(isDate(input)){config._d=cloneDate(input);return config}if(isArray(format)){configFromStringAndArray(config)}else if(format){configFromStringAndFormat(config)}else{configFromInput(config)}if(!isValid(config)){config._d=null}return config}function configFromInput(config){const input=config._i;if(isUndefined(input)){config._d=new Date}else if(isDate(input)){config._d=cloneDate(input)}else if(isString(input)){configFromString(config)}else if(isArray(input)&&input.length){const _arr=input.slice(0);config._a=_arr.map((obj=>isString(obj)?parseInt(obj,10):obj));configFromArray(config)}else if(isObject(input)){configFromObject(config)}else if(isNumber(input)){config._d=new Date(input)}else{return createInvalid(config)}return config}function createLocalOrUTC(input,format,localeKey,strict,isUTC){const config={};let _input=input;if(isObject(_input)&&isObjectEmpty(_input)||isArray(_input)&&_input.length===0){_input=undefined}config._useUTC=config._isUTC=isUTC;config._l=localeKey;config._i=_input;config._f=format;config._strict=strict;return createFromConfig(config)}function parseDate(input,format,localeKey,strict,isUTC){if(isDate(input)){return input}const config=createLocalOrUTC(input,format,localeKey,strict,isUTC);return config._d}function utcAsLocal(date){if(!(date instanceof Date)){return null}return new Date(date.getUTCFullYear(),date.getUTCMonth(),date.getUTCDate(),date.getUTCHours(),date.getUTCMinutes(),date.getUTCSeconds(),date.getUTCMilliseconds())}function absRound(num){return num<0?Math.round(num*-1)*-1:Math.round(num)}function isAfter(date1,date2,units="milliseconds"){if(!date1||!date2){return false}if(units==="milliseconds"){return date1.valueOf()>date2.valueOf()}return date2.valueOf()<startOf(date1,units).valueOf()}function isBefore(date1,date2,units="milliseconds"){if(!date1||!date2){return false}if(units==="milliseconds"){return date1.valueOf()<date2.valueOf()}return endOf(date1,units).valueOf()<date2.valueOf()}function isDisabledDay(date,daysDisabled){if(typeof daysDisabled==="undefined"||!daysDisabled||!daysDisabled.length){return false}return daysDisabled.some((day=>day===date.getDay()))}function isSame(date1,date2,units="milliseconds"){if(!date1||!date2){return false}if(units==="milliseconds"){return date1.valueOf()===date2.valueOf()}const inputMs=date2.valueOf();return startOf(date1,units).valueOf()<=inputMs&&inputMs<=endOf(date1,units).valueOf()}const aspNetRegex=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/;const isoRegex=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(input,key,config={}){const duration=convertDuration(input,key);return new Duration(duration,config)}function convertDuration(input,key){if(input==null){return{}}if(isDuration(input)){return{milliseconds:input._milliseconds,day:input._days,month:input._months}}if(isNumber(input)){return key?{[key]:input}:{milliseconds:input}}if(isString(input)){let match=aspNetRegex.exec(input);if(match){const sign=match[1]==="-"?-1:1;return{year:0,day:toInt(match[DATE])*sign,hours:toInt(match[HOUR])*sign,minutes:toInt(match[MINUTE])*sign,seconds:toInt(match[SECOND])*sign,milliseconds:toInt(absRound(toInt(match[MILLISECOND])*1e3))*sign}}match=isoRegex.exec(input);if(match){const sign=match[1]==="-"?-1:match[1]==="+"?1:1;return{year:parseIso(match[2],sign),month:parseIso(match[3],sign),week:parseIso(match[4],sign),day:parseIso(match[5],sign),hours:parseIso(match[6],sign),minutes:parseIso(match[7],sign),seconds:parseIso(match[8],sign)}}}if(isObject(input)&&("from"in input||"to"in input)){const diffRes=momentsDifference(parseDate(input.from),parseDate(input.to));return{milliseconds:diffRes.milliseconds,month:diffRes.months}}return input}function parseIso(inp,sign){const res=inp&&parseFloat(inp.replace(",","."));return(isNaN(res)?0:res)*sign}function positiveMomentsDifference(base,other){const res={milliseconds:0,months:0};res.months=getMonth(other)-getMonth(base)+(getFullYear(other)-getFullYear(base))*12;const _basePlus=add(cloneDate(base),res.months,"month");if(isAfter(_basePlus,other)){--res.months}res.milliseconds=+other-+add(cloneDate(base),res.months,"month");return res}function momentsDifference(base,other){if(!(isDateValid(base)&&isDateValid(other))){return{milliseconds:0,months:0}}let res;const _other=cloneWithOffset(other,base,{_offset:base.getTimezoneOffset()});if(isBefore(base,_other)){res=positiveMomentsDifference(base,_other)}else{res=positiveMomentsDifference(_other,base);res.milliseconds=-res.milliseconds;res.months=-res.months}return res}function add(date,val,period,isUTC){const dur=createDuration(val,period);return addSubtract(date,dur,1,isUTC)}function subtract(date,val,period,isUTC){const dur=createDuration(val,period);return addSubtract(date,dur,-1,isUTC)}function addSubtract(date,duration,isAdding,isUTC){const milliseconds=duration._milliseconds;const days=absRound(duration._days);const months=absRound(duration._months);if(months){setMonth(date,getMonth(date,isUTC)+months*isAdding,isUTC)}if(days){setDate(date,getDate(date,isUTC)+days*isAdding,isUTC)}if(milliseconds){setTime(date,getTime(date)+milliseconds*isAdding)}return cloneDate(date)}function initDayOfWeek(){addFormatToken("d",null,"do",(function(date,opts){return getDay(date,opts.isUTC).toString(10)}));addFormatToken("dd",null,null,(function(date,opts){return opts.locale.weekdaysMin(date,opts.format,opts.isUTC)}));addFormatToken("ddd",null,null,(function(date,opts){return opts.locale.weekdaysShort(date,opts.format,opts.isUTC)}));addFormatToken("dddd",null,null,(function(date,opts){return opts.locale.weekdays(date,opts.format,opts.isUTC)}));addFormatToken("e",null,null,(function(date,opts){return getLocaleDayOfWeek(date,opts.locale,opts.isUTC).toString(10)}));addFormatToken("E",null,null,(function(date,opts){return getISODayOfWeek(date,opts.isUTC).toString(10)}));addUnitAlias("day","d");addUnitAlias("weekday","e");addUnitAlias("isoWeekday","E");addUnitPriority("day",11);addUnitPriority("weekday",11);addUnitPriority("isoWeekday",11);addRegexToken("d",match1to2);addRegexToken("e",match1to2);addRegexToken("E",match1to2);addRegexToken("dd",(function(isStrict,locale){return locale.weekdaysMinRegex(isStrict)}));addRegexToken("ddd",(function(isStrict,locale){return locale.weekdaysShortRegex(isStrict)}));addRegexToken("dddd",(function(isStrict,locale){return locale.weekdaysRegex(isStrict)}));addWeekParseToken(["dd","ddd","dddd"],(function(input,week,config,token){const weekday=config._locale.weekdaysParse(input,token,config._strict);if(weekday!=null){week["d"]=weekday}else{getParsingFlags(config).invalidWeekday=!!input}return config}));addWeekParseToken(["d","e","E"],(function(input,week,config,token){week[token]=toInt(input);return config}))}function parseWeekday(input,locale){if(!isString(input)){return input}const _num=parseInt(input,10);if(!isNaN(_num)){return _num}const _weekDay=locale.weekdaysParse(input);if(isNumber(_weekDay)){return _weekDay}return null}function parseIsoWeekday(input,locale=getLocale()){if(isString(input)){return locale.weekdaysParse(input)%7||7}return isNumber(input)&&isNaN(input)?null:input}function setDayOfWeek(date,input,locale=getLocale(),isUTC){const day=getDay(date,isUTC);const _input=parseWeekday(input,locale);return add(date,_input-day,"day")}function getDayOfWeek(date,isUTC){return getDay(date,isUTC)}function getLocaleDayOfWeek(date,locale=getLocale(),isUTC){return(getDay(date,isUTC)+7-locale.firstDayOfWeek())%7}function setLocaleDayOfWeek(date,input,opts={}){const weekday=getLocaleDayOfWeek(date,opts.locale,opts.isUTC);return add(date,input-weekday,"day")}function getISODayOfWeek(date,isUTC){return getDay(date,isUTC)||7}function setISODayOfWeek(date,input,opts={}){const weekday=parseIsoWeekday(input,opts.locale);return setDayOfWeek(date,getDayOfWeek(date)%7?weekday:weekday-7)}