{"version":3,"sources":["build/src/AdvancedHtml.js","build/src/Button.js","build/src/AbstractButtonGroup.js","build/src/ButtonGroup.js","build/src/ButtonGroupItem.js","build/src/Checkbox.js","build/src/RadioGroup.js","build/src/RadioButton.js","build/src/Container.js","node_modules/classnames/index.js","build/src/DropdownCustom.js","build/src/DropdownNative.js","build/src/Dropdown.js","build/src/Expression.js","build/src/List.js","build/src/Swipeable.js","build/src/ListItem.js","build/src/ListItemAction.js","build/src/TableRecords.js","build/src/HeaderCell.js","build/src/RowCell.js","build/src/Form.js","build/src/Icon.js","build/src/Image.js","build/src/Throttling.js","build/src/Input.js","build/src/Label.js","build/src/Link.js","build/src/Popup.js","build/src/Placeholder.js","build/src/Utils.js","build/src/Popover.js","build/src/Switch.js","build/src/Text.js","build/src/TextArea.js","build/src/Upload.js","build/src/Main.js"],"names":["define","require","exports","tslib_1","Widget_1","React","Object","defineProperty","value","AdvancedHtml","_super","apply","this","arguments","__extends","prototype","render","tagFactory","createElement","bind","props","tag","attributes","data-advancedhtml","fillWithBuiltinProperties","children","__decorate","WidgetSpec","Widget","HtmlTags_1","Button","handleClick","event","_this","preventDefault","stopPropagation","onClick","onClickAction","confirmationMessage","length","notification","navigator","confirm","button","executeWithActiveClassOn","window","buttonAttributes","data-button","className","style","type","isDefault","disabled","enabled","HtmlTags","DataTypes_1","AbstractButtonGroup","selectedValue","selectedElementId","syncSelectedValueWithProps","found","Children","forEach","child","equals","variable","componentDidMount","componentDidUpdate","updateValue","onChange","executeAfterPaint","get","enumerable","configurable","getHTMLNode","mandatory","_a","dataAttribute","getDataAttribute","map","index","cloneElement","__assign","isSelected","updateValueInParent","key","getAdditionalPropsToChild","idProperties","_idProps","service","getId","name","inputGroupContainerAttributes","role","createValidationElement","InputWithVariableWidget","AbstractButtonGroup_1","ButtonGroup","ButtonGroupItem","buttonGroupItemAttributes","data-button-group-item","aria-checked","Checkbox","context","call","state","elem","target","checked","setState","htmlElement","validity","UNSAFE_componentWillReceiveProps","nextProps","checkboxAttributes","data-checkbox","span","input","RadioGroup","groupName","DataConversion_1","RadioButton","radioButtonInputId","radioButtonDivAttributes","data-radio-button","radioButtonInputAttributes","id","JSConversions","convertTo","DataTypes","Text","hidden","visible","radioButtonLabelAttributes","htmlFor","AnimatedGroup_1","ScrollExtensions","Container","Container_1","toHtmlAlign","align","serializeCustomStateProperties","serializeScrollProperties","loadCustomStateProperties","customProperties","loadScrollProperties","container","textAlign","cursor","extendedEvents","undefined","containerAttributes","data-container","div","classNames","classes","i","arg","argType","push","Array","isArray","inner","hasOwn","join","hasOwnProperty","module","default","amd","DropdownCustom","listVisible","position","left","top","width","height","DropdownCustom_1","select","item","hide","element","isValueInList","valid","badInput","setVariable","updateState","scrollIntoSelectedElement","list","itemValue","values","getItem","isEmptyValueDefined","newValue","show","offsetLeft","getBoundingClientRect","dropdownNode","dropdownDisplay","childNodes","dropdownLabel","dropdownList","classList","remove","DropdownExpandedDown","DropdownExpandedUp","DropdownExpanded","newposition","dropdownLabelRect","dropdownDisplayRect","viewportTop","pageYOffset","viewportLeft","pageXOffset","labelOffsetLeft","Math","round","labelOffsetRight","right","displayOffsetTop","displayOffsetBottom","bottom","listRect","popupHeight","popupWidth","viewportBottom","innerHeight","centerX","innerWidth","SmartphonePortraitWidth","PopupBoxMargin","max","top_1","popupOpened","document","querySelector","popupRect","viewportTopMin","add","emptyValue","prepareDropdownContainerAttributes","dropdownContainerAttributes","data-dropdown","DropdownContainer","prepareDropdownDisplayAttributes","DropdownDisplay","DropdownDisabled","renderEmptyValue","selectedElement","emptyValueItem","emptySpan","emptyValueItemAttributes","DropdownPopUpRow","DropdownEmptyValueRow","DropdownPopUpRowSelected","_event","renderDropdownList","dropdownListAttributes","DropdownList","ScrollableList","ScrollableListWithScroll","placeholders","content","listDivAttributes","getElementsByClassName","parentWithScroll","getScrollParent","contains","pos","offsetTop","parentPos","scrollTop","node","stopElement","scrollHeight","clientHeight","parentElement","renderDropdownBackground","dropdownBackgroundStyle","DropdownBackgroundWindow","dropdownDisplayAttributes","DropdownDisplayContent","DropdownNative","DropdownNative_1","getSelectedValueAndOptions","options","EmptyValue","label","labels","handleChange","parseInt","dropdownDivAttributes","nativeDropdownAttributes","required","aria-disabled","selectStyle","Dropdown","dropdownMode","Expression","expressionAttributes","data-expression","virtualized_list_1","Flow","ObjectExtensions","PropTypes","List","previousListLength","shouldLoadState","isScrollEndingEventHandlerRunning","scrollViewerRef","createRef","isVirtualizationEnabled","List_1","shouldVirtualizeList","getScreenStateCache","shouldLoad","scrollHostInfo","getScrollHostInfo","scrollInfo","getScrollInfo","scrollHost","scroll","y","x","properties","scrollViewer","getScrollViewer","scrollToOffset","scrollableParent","setScrollOffset","getInfiniteScrollThreshold","infiniteScrollThreshold","extendedProperties","customInfiniteScrollThreshold","InfiniteScrollThresholdName","screenStateCache","navigationKey","shouldSave","getChildContext","ancestorGenerationNode","_generationNode","locale","toLowerCase","onScrollEnding","isDisposed","scrollHandler","tryFireScrollEndingEvent","deferredScrollHandler","scrollableElement","addEventListener","storeListLength","source","UNSAFE_componentWillUpdate","nextState","source_dataFetchStatus","componentWillUnmount","removeEventListener","deferred","InfiniteScrollThreshold","lastScrollTop","viewport","executeScrollEndingEventHandler","lastScrollLeft","tryFinally","renderListItems","startIndex","current","shouldSuspendAnimations","abs","isInitialized","isScrolling","renderListWrapper","listWrapperAttributes","createFactory","listStatus","listAttributes","data-list","data-virtualization-disabled","data-animation-disabled","animateItems","viewportSafetyMarginBefore","viewportSafetyMarginAfter","ViewportSafetyMarginBefore","ViewportSafetyMarginAfter","virtualizedProperties","renderWrapper","renderItems","ref","initializationCompleted","VirtualizedScrollViewer","assign","childContextTypes","func","Swipeable","defaultState","swiping","start","calculatePos","e","changedTouches","clientX","clientY","xd","yd","deltaX","deltaY","absX","absY","touchStart","touches","Date","now","touchMove","cancelPageSwipe","delta","onSwiping","onSwipingLeft","onSwipingRight","onSwipingUp","onSwipingDown","touchEnd","time","velocity","sqrt","isFlick","flickThreshold","onSwiped","onSwipedLeft","onSwipedRight","onSwipedUp","onSwipedDown","newProps","onTouchStart","onTouchMove","onTouchEnd","propTypes","flickthreshold","number","defaultProps","Component","Swipeable_1","ListItem","ListItemSwipeable","ListItemBasic","SwipeActions","Actions","Directions","listItemAttributes","data-list-item","data-not-scrollable","containerClick","classProperty","fillWithParentProperties","placeholderContent","leftRef","rightRef","swipeRef","touchWindowEventListener","unregisterTouchWindowEventListener","animate","handleTouch","propagateTouch","registerTouchWindowEventListener","TouchStartEvent","startX","handleSwiping","showRightButtons","showLeftButtons","action","RightVisible","LeftVisible","LeftAction","element_1","timeoutClickHandle","setTimeout","click","animationTimeout","RightAction","actions","element_2","deltaPixels","swipingLeft","swipingRight","animating","animatingFullSwipeRight","animatingFullSwipeLeft","startAnimationTimeout","handleActionContainerClick","handleContentClick","callActionWhenSwipingFarRight","callActionWhenSwipingFarLeft","lastContainerClass","shouldRenderActions","isExpandedInWebEditor","actionsMaxWidth","leftPlaceholderCache","rightPlaceholderCache","contentPlaceholderCache","clearAnimationTimeout","animationTimeoutHandle","clearTimeout","clearClickTimeout","swipeLeftEdgeCustom","SwipeLeftEdgeThresholdExtended","swipeRightEdgeCustom","SwipeRightEdgeThresholdExtended","swipeLeftEdgeThreshold","swipeRightEdgeThreshold","updateElementCachedInfo","actionElement","getComputedStyle","getPropertyValue","leftActionsCount","LeftActions","getElementsByTagName","rightActionsCount","RightActions","contentWidth","clientWidth","deviceWidth","documentElement","showFullSwipe","getSwipeLeftEdgeThreshold","SwipeLeftEdgeDefaultThreshold","getSwipeRightEdgeThreshold","SwipeRightEdgeDefaultThreshold","getSwipeThresholdToTriggerAction","direction","Right","min","Left","swipingHandleStylesAndDelta","visibilityThreshold","realDelta","SwipeStartThreshold","getActionsPlaceholderStyle","actionsCount","showingButtons","animatingFullSwipe","offset","shouldAbort","tryAnimate","getContainerClass","FloatRight","FloatLeft","getRenderedLeftPlaceholder","placeholderLeftActions","getRenderedRightPlaceholder","placeholderRightActions","getRenderedContentPlaceholder","FullSwipe","Animating","ShowRightButtons","ShowLeftButtons","swipeableProperties","data-list-item-content","listItemProperties","leftActionsProperties","rightActionsProperties","extraActionsProperties","swipeableActionsExtraProperties","leftPlaceholderEmpty","leftActions","PlaceholderContent","Empty","rightPlaceholderEmpty","rightActions","triggerActionOnFullSwipeRight","triggerActionOnFullSwipeLeft","expandedInWebEditor","ListItemAction","disableSpamProtect","disableSpamProtection","alreadyTriggered","listItemActionAttributes","data-list-item-action","TableRecords","sortAttribute","setDataHeaderInRowCells","rows","body","headerCells","header","h","headerCell","r","row","setAttribute","innerText","renderHeader","tableHeaderAttributes","styleHeader","showHeader","headerRow","renderRows","tableRowAttributes","styleRow","onSort","result","onTableRecordsSort","tableRecordsCurrentSortAttribute","tableAttributes","string","HeaderCell","handleInteractive","shouldComponentUpdate","nextContext","sortDiv","sortDivAttributes","headerCellContext","trim","headerCellAttributes","tabIndex","onKeyDown","keyCode","contextTypes","RowCell","rowCellAttributes","Form","_b","formAttributes","data-form","noValidate","onSubmit","ValidationWidget","Icon","size","iconSize","iconAttributes","data-icon","icon","ApplicationInfo","Settings_1","Image","ImageCache","gc","underPressure","GC_HIGH_PRESSURE","cacheSize","cached","referenceCount","expireDate","URL","revokeObjectURL","cachedObjectURL","delete","releaseURL","imageBinary","TTL","set","requestURL","imageBlob","toBlob","createObjectURL","GC_INTERVAL","Map","intervalFunction","getEnvParams","EnforceUnsafeEval","interval","setInterval","objectURL","hasError","Image_1","loadBinary","loadingBinary","cachedContent","imageContent","loadContent","then","UNSAFE_componentWillMount","isBinary","fastEquals","url","getBinaryImgAbsoluteURL","RegExp","test","getBasePath","replace","prepareImageAttributes","imageAttributes","data-image","src","defaultImage","hasContent","image","onError","img","Throttling","last","dispose","deferTimerHandle","timeoutFunction","throttle","fn","effectiveInterval","DefaultThrottlingInterval","valueOf","CustomThrottlingRuntimeAttribute","CustomThrottlingProperty","Throttling_1","Input","customThrottlingValue","throttleValue","ShowDefaultValue","Input_1","getShowDefaultValue","convertFromModel","throttling","customShowDefaultValue","ShowDefaultValueProperty","getCorrectDatePartForType","inputType","toString","Error","isNullDate","parseFloat","DateTime","defaultValue","inputedValueValidity","stepMismatch","substr","preparePromptForBrowsersThatDontSupportHTML5","inputElem","placeholder","Constants","FORMAT","defaultDateTimeFormat","dateFormat","timeFormat","dateTimeFormat","supportsHTML5Inputs","toInputHtmlType","prompt","nextValue","canonicalValueInInput","valueAndModelAreEquivalent","showDefaultValue","shouldUpdateValue","shouldUseDefaultProperty","propertyName","inputAttributes","data-input","aria-required","hasValidationMessage","aria-describedby","DescribedBySuffix","ShowDefaultValueDefault","ShowDefaultValueRuntimeAttribute","Integer","pattern","MAX_INTEGER_VALUE","LongInteger","MAX_LONGINTEGER_VALUE","Currency","Decimal","step","maxLength","outerSpanAttributes","Label","labelAttributes","data-label","getSiblingWidgetId","targetWidget","gridProperties","Navigation","querystring","react_router_dom_1","Link","handleClickForAction","handleClickForUrl","transition","linkAttributes","data-link","href","urlInfo","getUrlInfo","isInternal","to","pathname","path","search","keys","queryParams","stringify","sort","activeClassName","isActive","match","location","isExact","NavLink","Portal_1","Popup","updateMainContainerAriaHiddenAttr","focusFirstFocusableElement","showPopup","Popup_1","disableScroll","disable","DisableScrollClass","getElementById","removeAttribute","htmlNode","focus","popupDialogDivAttributes","data-popup","aria-modal","Portal","data-popup-backdrop","WidgetHelpers_1","Placeholder","Placeholder_1","hasOrWillHaveChildren","placeholderStyle","minHeight","placeholderAttributes","wrapElements","KeyboardKey","debounce","callback","debounceDelay","immediate","timeout","args","_i","react_dom_1","Utils_1","Popover","IPopoverAnchorState","bottomPlaceholderRef","anchorRef","verticalAnchor","horizontalAnchor","screenContainer","getCoords","anchorBoundingRect","popoverBottomRect","newLeft","newRight","newTop","newBottom","Start","End","updateCoords","coords","debouncedUpdateCoords","outerOnClickHander","isElementInsidePopover","unregisterEvents","expanded","anchored","popoverParent","registerEvents","capture","popover","adjustPositionBasedOnViewport","popoverBottom","Middle","boundingRect","setParentComponent","from","preparePopoverAttributes","popoverAttributes","data-popover","preparePopoverTopPlaceholderAttributes","ENTER_KEY","SPACE_KEY","ESCAPE_KEY","preparePopoverBottomPlaceholderAnchorAttributes","currentRef","zIndex","firstElementChild","preparePopoverBottomPlaceholderAttributes","popoverWidth","topContent","bottomContent","createPortal","Switch","switchAttributes","data-switch","__spreadArrays","text","arrayShallowEquals","TextArea","customValue","textAreaAttributes","data-textarea","textLines","textarea","NativeHelper","Upload","hiddenInputRef","filename","Upload_1","fileContent","hiddenInput","getAcceptProperty","accept","handleFileSelect","evt","file","files","newFilename","previousFilename","reader","FileReader","onload","base64Index","indexOf","actualContent","substring","contentVar","BinaryData","fileName","readAsDataURL","inputStyle","display","extendedPropertyName","shouldIncludeOnExtendedProperty","data-upload","Capture","isRunningOnNative","w","device","platform","version","VersionDefinition","AdvancedHtml_1","Button_1","ButtonGroup_1","ButtonGroupItem_1","Checkbox_1","RadioGroup_1","RadioButton_1","Dropdown_1","Expression_1","ListItem_1","ListItemAction_1","TableRecords_1","HeaderCell_1","RowCell_1","Form_1","Icon_1","Label_1","Link_1","Popover_1","Switch_1","Text_1","TextArea_1","Version","registerPackage"],"mappings":"AAAAA,OAAA,wCAAA,UAAA,UAAA,QAAA,8BAAA,SAAA,SAAAC,EAAAC,EAAAC,EAAAC,EAAAC,GACA,YACAC,QAAAC,eAAAL,EAAA,cAAAM,OAAA,IACAN,EAAAO,iBAAA,EACA,IAAAA,GAAA,SAAAC,GAEA,QAAAD,KACA,MAAA,QAAAC,GAAAA,EAAAC,MAAAC,KAAAC,YAAAD,KAgBA,MAlBAT,GAAAW,UAAAL,EAAAC,GAIAD,EAAAM,UAAAC,OAAA,WACA,GAAAC,GAAAZ,EAAAa,cAAAC,KAAA,KAAAP,KAAAQ,MAAAC,IACA,IAAAJ,EAAA,CACA,GAAAK,IACAC,oBAAA,GAGA,OADAX,MAAAY,0BAAAF,GACAL,EAAAK,EAAAV,KAAAQ,MAAAK,UAEA,MAAA,OAEAhB,EAAAN,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","file":"Main.build.js","sourcesContent":["define('OutSystems/ReactWidgets/AdvancedHtml',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.AdvancedHtml = void 0;\n var AdvancedHtml = (function (_super) {\n tslib_1.__extends(AdvancedHtml, _super);\n function AdvancedHtml() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AdvancedHtml.prototype.render = function () {\n var tagFactory = React.createElement.bind(null, this.props.tag);\n if (tagFactory) {\n var attributes = {\n \"data-advancedhtml\": \"\",\n };\n this.fillWithBuiltinProperties(attributes);\n return tagFactory(attributes, this.props.children);\n }\n return null;\n };\n AdvancedHtml = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], AdvancedHtml);\n return AdvancedHtml;\n }(Widget_1.Widget));\n exports.AdvancedHtml = AdvancedHtml;\n});\n//# sourceMappingURL=AdvancedHtml.js.map;\n","define('OutSystems/ReactWidgets/Button',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, HtmlTags_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Button = void 0;\n var Button = (function (_super) {\n tslib_1.__extends(Button, _super);\n function Button() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Button.prototype.handleClick = function (event) {\n var _this = this;\n event.preventDefault();\n event.stopPropagation();\n var onClick = this.props.onClick;\n var onClickAction = function () { return onClick === null || onClick === void 0 ? void 0 : onClick(); };\n if (this.props.confirmationMessage && this.props.confirmationMessage.length) {\n var notification = navigator.notification;\n if (notification) {\n notification.confirm(this.props.confirmationMessage, function (button) {\n if (button === 1) {\n _this.executeWithActiveClassOn(onClickAction);\n }\n }, \"\");\n }\n else if (window.confirm(this.props.confirmationMessage)) {\n this.executeWithActiveClassOn(onClickAction);\n }\n }\n else {\n this.executeWithActiveClassOn(onClickAction);\n }\n };\n Button.prototype.render = function () {\n var _this = this;\n var buttonAttributes = {\n \"data-button\": \"\",\n className: this.props.style,\n type: this.props.isDefault ? \"submit\" : \"button\",\n disabled: !this.props.enabled,\n onClick: function (event) { return _this.handleClick(event); },\n };\n this.fillWithBuiltinProperties(buttonAttributes);\n return React.createElement(HtmlTags_1.HtmlTags.button, buttonAttributes, this.props.children);\n };\n Button = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Button);\n return Button;\n }(Widget_1.Widget));\n exports.Button = Button;\n});\n//# sourceMappingURL=Button.js.map;\n","define('OutSystems/ReactWidgets/AbstractButtonGroup',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/DataTypes\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, DataTypes_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.AbstractButtonGroup = void 0;\n var AbstractButtonGroup = (function (_super) {\n tslib_1.__extends(AbstractButtonGroup, _super);\n function AbstractButtonGroup() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.selectedValue = null;\n _this.selectedElementId = null;\n return _this;\n }\n AbstractButtonGroup.prototype.syncSelectedValueWithProps = function () {\n var _this = this;\n this.selectedValue = null;\n var found = false;\n React.Children.forEach(this.props.children, function (child) {\n found = found || (child && child.props && DataTypes_1.equals(_this.props.variable.value, child.props.value));\n });\n this.selectedValue = found ? this.props.variable.value : null;\n };\n AbstractButtonGroup.prototype.componentDidMount = function () {\n this.syncSelectedValueWithProps();\n };\n AbstractButtonGroup.prototype.componentDidUpdate = function () {\n this.syncSelectedValueWithProps();\n };\n AbstractButtonGroup.prototype.updateValue = function (value) {\n var _this = this;\n if (DataTypes_1.equals(this.props.variable.value, value)) {\n return;\n }\n this.selectedValue = value;\n this.props.variable.value = value;\n if (this.props.onChange) {\n this.executeAfterPaint(function () {\n _this.props.onChange();\n });\n }\n };\n Object.defineProperty(AbstractButtonGroup.prototype, \"variable\", {\n get: function () {\n return this.props.variable;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(AbstractButtonGroup.prototype, \"htmlElement\", {\n get: function () {\n return this.getHTMLNode();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(AbstractButtonGroup.prototype, \"isMandatory\", {\n get: function () {\n return this.props.mandatory;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(AbstractButtonGroup.prototype, \"inputedValue\", {\n get: function () {\n return this.selectedValue;\n },\n enumerable: false,\n configurable: true\n });\n AbstractButtonGroup.prototype.render = function () {\n var _a;\n var _this = this;\n var dataAttribute = this.getDataAttribute();\n var children = React.Children.map(this.props.children, function (child, index) {\n if (child && child.props) {\n child = React.cloneElement(child, tslib_1.__assign({ isSelected: DataTypes_1.equals(_this.props.variable.value, child.props.value), enabled: child.props.enabled && _this.props.enabled, updateValueInParent: function (value) {\n _this.updateValue(value);\n }, key: index }, _this.getAdditionalPropsToChild()));\n if (DataTypes_1.equals(_this.props.variable.value, child.props.value)) {\n var idProperties = child.props._idProps;\n _this.selectedElementId = idProperties.service.getId(idProperties.name);\n }\n }\n return child;\n });\n var inputGroupContainerAttributes = (_a = {},\n _a[dataAttribute] = \"\",\n _a.className = this.props.style,\n _a.role = \"radiogroup\",\n _a[\"aria-activedescendant\"] = this.selectedElementId,\n _a);\n this.fillWithBuiltinProperties(inputGroupContainerAttributes);\n return (React.createElement(\"div\", tslib_1.__assign({}, inputGroupContainerAttributes),\n React.createElement(\"div\", null, children),\n this.createValidationElement()));\n };\n return AbstractButtonGroup;\n }(Widget_1.InputWithVariableWidget));\n exports.AbstractButtonGroup = AbstractButtonGroup;\n});\n//# sourceMappingURL=AbstractButtonGroup.js.map;\n","define('OutSystems/ReactWidgets/ButtonGroup',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/Widget\", \"./AbstractButtonGroup\"], function (require, exports, tslib_1, Widget_1, AbstractButtonGroup_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.ButtonGroup = void 0;\n var ButtonGroup = (function (_super) {\n tslib_1.__extends(ButtonGroup, _super);\n function ButtonGroup() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ButtonGroup.prototype.getAdditionalPropsToChild = function () {\n return {};\n };\n ButtonGroup.prototype.getDataAttribute = function () {\n return \"data-button-group\";\n };\n ButtonGroup = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], ButtonGroup);\n return ButtonGroup;\n }(AbstractButtonGroup_1.AbstractButtonGroup));\n exports.ButtonGroup = ButtonGroup;\n});\n//# sourceMappingURL=ButtonGroup.js.map;\n","define('OutSystems/ReactWidgets/ButtonGroupItem',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.ButtonGroupItem = void 0;\n var ButtonGroupItem = (function (_super) {\n tslib_1.__extends(ButtonGroupItem, _super);\n function ButtonGroupItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ButtonGroupItem.prototype.handleClick = function (event) {\n var _this = this;\n this.executeWithActiveClassOn(function () { return _this.props.updateValueInParent(_this.props.value); });\n };\n ButtonGroupItem.prototype.render = function () {\n var _this = this;\n var buttonGroupItemAttributes = {\n \"data-button-group-item\": \"\",\n className: this.props.style + (this.props.isSelected ? \" button-group-selected-item\" : \"\"),\n disabled: !this.props.enabled,\n \"aria-checked\": \"\" + this.props.isSelected,\n role: \"radio\",\n onClick: function (event) { return _this.handleClick(event); },\n };\n this.fillWithBuiltinProperties(buttonGroupItemAttributes);\n return React.createElement(\"button\", tslib_1.__assign({}, buttonGroupItemAttributes), this.props.children);\n };\n ButtonGroupItem = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], ButtonGroupItem);\n return ButtonGroupItem;\n }(Widget_1.Widget));\n exports.ButtonGroupItem = ButtonGroupItem;\n});\n//# sourceMappingURL=ButtonGroupItem.js.map;\n","define('OutSystems/ReactWidgets/Checkbox',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, HtmlTags_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Checkbox = void 0;\n var Checkbox = (function (_super) {\n tslib_1.__extends(Checkbox, _super);\n function Checkbox(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.state = { value: props.variable.value };\n return _this;\n }\n Checkbox.prototype.onChange = function (event) {\n var _this = this;\n var elem = event.target;\n this.props.variable.value = elem.checked;\n this.setState({ value: elem.checked }, function () {\n if (_this.props.onChange) {\n _this.executeAfterPaint(function () {\n _this.executeWithActiveClassOn(function () { return _this.props.onChange(); });\n });\n }\n });\n };\n Object.defineProperty(Checkbox.prototype, \"htmlElement\", {\n get: function () {\n return this.getHTMLNode();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Checkbox.prototype, \"inputedValue\", {\n get: function () {\n return this.htmlElement.checked;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Checkbox.prototype, \"inputedValueValidity\", {\n get: function () {\n return this.htmlElement.validity;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Checkbox.prototype, \"variable\", {\n get: function () {\n return this.props.variable;\n },\n enumerable: false,\n configurable: true\n });\n Checkbox.prototype.updateValue = function (value) {\n this.setState({ value: value });\n };\n Checkbox.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {\n if (this.props.variable.value !== nextProps.variable.value) {\n this.updateValue(nextProps.variable.value);\n }\n };\n Checkbox.prototype.render = function () {\n var _this = this;\n var checkboxAttributes = {\n \"data-checkbox\": \"\",\n className: this.props.style,\n disabled: !this.props.enabled,\n type: \"checkbox\",\n onChange: function (event) { return _this.onChange(event); },\n onClick: function (event) { return event.stopPropagation(); },\n checked: this.state.value,\n };\n this.fillWithBuiltinProperties(checkboxAttributes);\n return React.createElement(HtmlTags_1.HtmlTags.span, null, React.createElement(HtmlTags_1.HtmlTags.input, tslib_1.__assign({}, checkboxAttributes)), this.createValidationElement());\n };\n Checkbox = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Checkbox);\n return Checkbox;\n }(Widget_1.InputWithVariableWidget));\n exports.Checkbox = Checkbox;\n});\n//# sourceMappingURL=Checkbox.js.map;\n","define('OutSystems/ReactWidgets/RadioGroup',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/Widget\", \"./AbstractButtonGroup\"], function (require, exports, tslib_1, Widget_1, AbstractButtonGroup_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.RadioGroup = void 0;\n var RadioGroup = (function (_super) {\n tslib_1.__extends(RadioGroup, _super);\n function RadioGroup() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RadioGroup.prototype.getAdditionalPropsToChild = function () {\n return { groupName: this.getId() };\n };\n RadioGroup.prototype.getDataAttribute = function () {\n return \"data-radio-group\";\n };\n RadioGroup = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], RadioGroup);\n return RadioGroup;\n }(AbstractButtonGroup_1.AbstractButtonGroup));\n exports.RadioGroup = RadioGroup;\n});\n//# sourceMappingURL=RadioGroup.js.map;\n","define('OutSystems/ReactWidgets/RadioButton',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/DataConversion\", \"OutSystems/ClientRuntime/DataTypes\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, DataConversion_1, DataTypes_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.RadioButton = void 0;\n var RadioButton = (function (_super) {\n tslib_1.__extends(RadioButton, _super);\n function RadioButton() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RadioButton.prototype.handleClick = function () {\n var _this = this;\n this.executeWithActiveClassOn(function () { return _this.props.updateValueInParent(_this.props.value); });\n };\n RadioButton.prototype.render = function () {\n var _this = this;\n var radioButtonInputId = this.getId() + \"-input\";\n var radioButtonDivAttributes = {\n \"data-radio-button\": \"\",\n };\n var radioButtonInputAttributes = {\n type: \"radio\",\n id: radioButtonInputId,\n className: this.props.style,\n name: this.props.groupName,\n value: DataConversion_1.JSConversions.convertTo(this.props.value, DataTypes_1.DataTypes.Text),\n hidden: !this.props.visible,\n disabled: !this.props.enabled,\n checked: this.props.isSelected,\n onChange: function () { return _this.handleClick(); },\n };\n var radioButtonLabelAttributes = {\n htmlFor: radioButtonInputId,\n };\n this.fillWithBuiltinProperties(radioButtonDivAttributes);\n return (React.createElement(\"div\", tslib_1.__assign({}, radioButtonDivAttributes),\n React.createElement(\"input\", tslib_1.__assign({}, radioButtonInputAttributes)),\n React.createElement(\"label\", tslib_1.__assign({}, radioButtonLabelAttributes), this.props.children)));\n };\n RadioButton = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], RadioButton);\n return RadioButton;\n }(Widget_1.Widget));\n exports.RadioButton = RadioButton;\n});\n//# sourceMappingURL=RadioButton.js.map;\n","define('OutSystems/ReactWidgets/Container',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/AnimatedGroup\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/ScrollExtensions\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, AnimatedGroup_1, HtmlTags_1, ScrollExtensions, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Container = void 0;\n var Container = (function (_super) {\n tslib_1.__extends(Container, _super);\n function Container() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Container_1 = Container;\n Container.toHtmlAlign = function (align) {\n switch (align) {\n case 2:\n return \"center\";\n case 1:\n return \"left\";\n case 3:\n return \"right\";\n case 0:\n return undefined;\n default:\n return undefined;\n }\n };\n Container.prototype.serializeCustomStateProperties = function () {\n return ScrollExtensions.serializeScrollProperties(this.getHTMLNode());\n };\n Container.prototype.loadCustomStateProperties = function (customProperties) {\n ScrollExtensions.loadScrollProperties(this.getHTMLNode(), customProperties);\n };\n Object.defineProperty(Container.prototype, \"skipRenderWhenHidden\", {\n get: function () {\n return false;\n },\n enumerable: false,\n configurable: true\n });\n Container.prototype.render = function () {\n var container = null;\n if (this.props.visible) {\n var style = {\n textAlign: Container_1.toHtmlAlign(this.props.align),\n cursor: this.props.extendedEvents && this.props.extendedEvents.onClick ? \"pointer\" : undefined,\n };\n var containerAttributes = {\n \"data-container\": \"\",\n className: this.props.style,\n style: style,\n };\n this.fillWithBuiltinProperties(containerAttributes);\n container = React.createElement(HtmlTags_1.HtmlTags.div, containerAttributes, this.props.children);\n }\n var disabledAnimation = true;\n return !disabledAnimation && this.props.animate\n ? React.createElement(AnimatedGroup_1.AnimatedGroup, {}, container)\n : container;\n };\n var Container_1;\n Container = Container_1 = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Container);\n return Container;\n }(Widget_1.Widget));\n exports.Container = Container;\n});\n//# sourceMappingURL=Container.js.map;\n","/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n","define('OutSystems/ReactWidgets/DropdownCustom',[\"require\", \"exports\", \"tslib\", \"classnames\", \"OutSystems/ClientRuntime/DataConversion\", \"OutSystems/ClientRuntime/DataTypes\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, classNames, DataConversion_1, DataTypes_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.DropdownCustom = void 0;\n var DropdownCustom = (function (_super) {\n tslib_1.__extends(DropdownCustom, _super);\n function DropdownCustom(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.selectedValue = null;\n _this.state = {\n listVisible: false,\n position: { left: \"0px\", top: \"0px\", width: \"0px\", height: \"0px\" },\n };\n return _this;\n }\n DropdownCustom_1 = DropdownCustom;\n DropdownCustom.prototype.select = function (item) {\n if (this.variable.value === item) {\n this.hide();\n }\n else {\n this.variable.value = item;\n this.selectedValue = item;\n this.setState({ listVisible: false });\n if (this.props.onChange) {\n this.props.onChange();\n }\n }\n };\n Object.defineProperty(DropdownCustom.prototype, \"variable\", {\n get: function () {\n return this.props.variable;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(DropdownCustom.prototype, \"htmlElement\", {\n get: function () {\n return this.element;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(DropdownCustom.prototype, \"isMandatory\", {\n get: function () {\n return this.props.mandatory;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(DropdownCustom.prototype, \"inputedValue\", {\n get: function () {\n return this.isValueInList(this.selectedValue) ? this.selectedValue : null;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(DropdownCustom.prototype, \"inputedValueValidity\", {\n get: function () {\n var variableValue = this.isValueInList(this.selectedValue);\n var validity = {\n valid: variableValue,\n badInput: false,\n };\n return validity;\n },\n enumerable: false,\n configurable: true\n });\n DropdownCustom.prototype.componentDidMount = function () {\n this.setVariable();\n this.element = this.getHTMLNode();\n this.updateState();\n this.scrollIntoSelectedElement();\n };\n DropdownCustom.prototype.componentDidUpdate = function () {\n this.setVariable();\n this.updateState();\n this.scrollIntoSelectedElement();\n };\n DropdownCustom.prototype.isValueInList = function (value) {\n if (this.props.list && this.props.list.length > 0) {\n for (var i = 0; i < this.props.list.length; i++) {\n var itemValue = this.props.values(this.props.list.getItem(i));\n if (DataTypes_1.equals(itemValue, value)) {\n return true;\n }\n }\n }\n return false;\n };\n DropdownCustom.prototype.setVariable = function () {\n if (this.props.list && this.props.list.length > 0) {\n var valueFound = this.isValueInList(this.variable.value);\n if (!valueFound) {\n if (this.isEmptyValueDefined()) {\n this.selectedValue = this.variable.value;\n }\n else {\n var newValue = this.props.values(this.props.list.getItem(0));\n if (!DataTypes_1.equals(newValue, this.variable.value)) {\n this.variable.value = newValue;\n this.selectedValue = newValue;\n if (this.props.onChange) {\n this.props.onChange();\n }\n }\n }\n }\n }\n };\n DropdownCustom.prototype.show = function () {\n this.offsetLeft = this.htmlElement.getBoundingClientRect().left;\n this.setState({ listVisible: true });\n };\n DropdownCustom.prototype.hide = function (event) {\n if (event === void 0) { event = null; }\n if (event) {\n event.stopPropagation();\n }\n this.setState({ listVisible: false });\n };\n DropdownCustom.prototype.updateState = function () {\n var dropdownNode = this.getHTMLNode();\n var dropdownDisplay = dropdownNode.childNodes[0];\n var dropdownLabel = dropdownDisplay.childNodes[0];\n var dropdownList = dropdownNode.childNodes[1];\n if (!dropdownList) {\n dropdownNode.classList.remove(DropdownCustom_1.DropdownExpandedDown);\n dropdownNode.classList.remove(DropdownCustom_1.DropdownExpandedUp);\n dropdownNode.classList.remove(DropdownCustom_1.DropdownExpanded);\n }\n if (dropdownNode && dropdownDisplay && dropdownList && dropdownLabel) {\n var newposition = {\n left: \"\",\n top: \"\",\n width: \"\",\n height: \"\",\n };\n var dropdownLabelRect = dropdownLabel.getBoundingClientRect();\n var dropdownDisplayRect = dropdownDisplay.getBoundingClientRect();\n var viewportTop = window.pageYOffset;\n var viewportLeft = window.pageXOffset;\n var labelOffsetLeft = Math.round(dropdownLabelRect.left + viewportLeft);\n var labelOffsetRight = Math.round(dropdownLabelRect.right + viewportLeft);\n var displayOffsetTop = Math.round(dropdownDisplayRect.top + viewportTop);\n var displayOffsetBottom = Math.round(dropdownDisplayRect.bottom + viewportTop);\n var listRect = dropdownList.getBoundingClientRect();\n var popupHeight = Math.round(listRect.height);\n var popupWidth = Math.round(listRect.width);\n var viewportBottom = viewportTop + window.innerHeight;\n var centerX = (labelOffsetLeft + labelOffsetRight) / 2;\n var width = void 0;\n var left = void 0;\n if (window.innerWidth <= DropdownCustom_1.SmartphonePortraitWidth) {\n width = window.innerWidth - 2 * DropdownCustom_1.PopupBoxMargin;\n newposition.width = Math.round(width) + \"px\";\n left = viewportLeft + DropdownCustom_1.PopupBoxMargin;\n }\n else {\n width = popupWidth;\n if (this.state.listVisible) {\n left = this.offsetLeft;\n }\n else {\n left = Math.max(viewportLeft, centerX - width / 2);\n }\n }\n var top_1;\n var height = void 0;\n var popupOpened = document.querySelector(\"[data-popup]\");\n var popupRect = popupOpened ? popupOpened.getBoundingClientRect() : null;\n var viewportTopMin = popupRect ? popupRect.top : viewportTop;\n if (displayOffsetTop - viewportTopMin > viewportBottom - displayOffsetBottom) {\n dropdownNode.classList.add(DropdownCustom_1.DropdownExpanded, DropdownCustom_1.DropdownExpandedUp);\n dropdownNode.classList.remove(DropdownCustom_1.DropdownExpandedDown);\n top_1 = displayOffsetTop - popupHeight;\n if (top_1 < viewportTopMin - DropdownCustom_1.PopupBoxMargin) {\n top_1 = viewportTopMin + DropdownCustom_1.PopupBoxMargin;\n height = displayOffsetTop - viewportTopMin - DropdownCustom_1.PopupBoxMargin;\n newposition.height = Math.round(height) + \"px\";\n }\n }\n else {\n dropdownNode.classList.add(DropdownCustom_1.DropdownExpanded, DropdownCustom_1.DropdownExpandedDown);\n dropdownNode.classList.remove(DropdownCustom_1.DropdownExpandedUp);\n top_1 = displayOffsetBottom;\n if (top_1 + popupHeight > viewportBottom - DropdownCustom_1.PopupBoxMargin) {\n height = viewportBottom - displayOffsetBottom - DropdownCustom_1.PopupBoxMargin;\n newposition.height = Math.round(height) + \"px\";\n }\n }\n newposition.left = Math.round(left) + \"px\";\n newposition.top = Math.round(top_1) + \"px\";\n if (this.state.position.left !== newposition.left ||\n this.state.position.top !== newposition.top ||\n this.state.position.width !== newposition.width ||\n (this.state.position.height !== newposition.height && newposition.height !== \"\")) {\n this.setState({ position: newposition });\n }\n }\n };\n DropdownCustom.prototype.isEmptyValueDefined = function () {\n return this.props.emptyValue && this.props.emptyValue.length > 0;\n };\n DropdownCustom.prototype.prepareDropdownContainerAttributes = function () {\n var dropdownContainerAttributes = {\n \"data-dropdown\": \"\",\n className: DropdownCustom_1.DropdownContainer + \" \" + this.props.style,\n };\n this.fillWithBuiltinProperties(dropdownContainerAttributes);\n return dropdownContainerAttributes;\n };\n DropdownCustom.prototype.prepareDropdownDisplayAttributes = function () {\n var _this = this;\n var dropdownDisplayAttributes = {\n className: DropdownCustom_1.DropdownDisplay + (this.props.enabled ? \"\" : \" \" + DropdownCustom_1.DropdownDisabled),\n onClick: function (event) {\n event.stopPropagation();\n if (_this.props.enabled) {\n _this.show();\n }\n },\n };\n return dropdownDisplayAttributes;\n };\n DropdownCustom.prototype.renderEmptyValue = function () {\n var _a;\n var _this = this;\n var selectedElement = null;\n var emptyValueItem = null;\n if (this.isEmptyValueDefined()) {\n var isValueInList = this.isValueInList(this.variable.value);\n var emptySpan = React.createElement(\"span\", null, this.props.emptyValue);\n var emptyValueItemAttributes = {\n className: classNames(DropdownCustom_1.DropdownPopUpRow, DropdownCustom_1.DropdownEmptyValueRow, (_a = {},\n _a[DropdownCustom_1.DropdownPopUpRowSelected] = !isValueInList,\n _a)),\n onClick: function (_event) {\n var emptyValue = DataConversion_1.JSConversions.convertTo(null, _this.variable.type);\n _this.variable.value = emptyValue;\n _this.selectedValue = emptyValue;\n if (_this.props.onChange) {\n _this.props.onChange();\n }\n _this.setState({ listVisible: false });\n },\n };\n emptyValueItem = React.createElement(\"div\", tslib_1.__assign({}, emptyValueItemAttributes), emptySpan);\n if (!isValueInList) {\n selectedElement = emptySpan;\n }\n }\n return {\n selectedElement: selectedElement,\n emptyValueItem: emptyValueItem,\n };\n };\n DropdownCustom.prototype.renderDropdownList = function (emptyValueItem) {\n var _this = this;\n var dropdownList = null;\n var selectedElement = null;\n var dropdownListAttributes = {\n className: DropdownCustom_1.DropdownList,\n style: this.state.position,\n };\n dropdownList = (React.createElement(\"div\", tslib_1.__assign({}, dropdownListAttributes),\n React.createElement(\"div\", { className: DropdownCustom_1.ScrollableList + \" \" + DropdownCustom_1.ScrollableListWithScroll },\n emptyValueItem,\n this.props.placeholders.content.render(this, this.props.list, function (element, index) {\n var value = null;\n value = _this.props.values(_this.props.list.getItem(index));\n var listDivAttributes = {\n onClick: function (_event) { return _this.select(value); },\n className: DropdownCustom_1.DropdownPopUpRow,\n };\n if (DataTypes_1.equals(value, _this.variable.value)) {\n selectedElement = element;\n _this.selectedValue = _this.variable.value;\n listDivAttributes.className =\n listDivAttributes.className + \" \" + DropdownCustom_1.DropdownPopUpRowSelected;\n }\n return React.createElement(\"div\", tslib_1.__assign({}, listDivAttributes), element);\n }))));\n return {\n list: dropdownList,\n selectedElement: selectedElement,\n };\n };\n DropdownCustom.prototype.scrollIntoSelectedElement = function () {\n var dropdownList = this.getHTMLNode().childNodes[1];\n if (dropdownList) {\n var selectedElement = dropdownList.getElementsByClassName(DropdownCustom_1.DropdownPopUpRowSelected)[0];\n if (selectedElement) {\n var parentWithScroll = this.getScrollParent(selectedElement, dropdownList);\n if (dropdownList === parentWithScroll || dropdownList.contains(parentWithScroll)) {\n var pos = selectedElement.offsetTop;\n var parentPos = parentWithScroll.offsetTop;\n parentWithScroll.scrollTop = pos - parentPos;\n }\n }\n }\n };\n DropdownCustom.prototype.getScrollParent = function (node, stopElement) {\n if (node === null) {\n return null;\n }\n if (node.scrollHeight > node.clientHeight) {\n return node;\n }\n else {\n if (node === stopElement) {\n return null;\n }\n else {\n return this.getScrollParent(node.parentElement, stopElement);\n }\n }\n };\n DropdownCustom.prototype.renderDropdownBackground = function () {\n var _this = this;\n if (this.state.listVisible) {\n var dropdownBackgroundStyle = {\n width: \"100%\",\n height: \"100%\",\n position: \"fixed\",\n top: \"0px\",\n left: \"0px\",\n };\n var dropdownBackground = (React.createElement(\"div\", { className: DropdownCustom_1.DropdownBackgroundWindow, style: dropdownBackgroundStyle, onClick: function (event) { return _this.hide(event); } }));\n return dropdownBackground;\n }\n else {\n return null;\n }\n };\n DropdownCustom.prototype.render = function () {\n var emptyValue = this.renderEmptyValue();\n var dropdownList = this.renderDropdownList(emptyValue ? emptyValue.emptyValueItem : null);\n var dropdownDisplayAttributes = this.prepareDropdownDisplayAttributes();\n var dropdownDisplay = (React.createElement(\"div\", tslib_1.__assign({}, dropdownDisplayAttributes),\n React.createElement(\"div\", { className: DropdownCustom_1.DropdownDisplayContent }, dropdownList.selectedElement\n ? dropdownList.selectedElement\n : emptyValue\n ? emptyValue.selectedElement\n : null)));\n return (React.createElement(\"div\", tslib_1.__assign({}, this.prepareDropdownContainerAttributes()),\n dropdownDisplay,\n this.state.listVisible ? dropdownList.list : null,\n this.renderDropdownBackground(),\n this.createValidationElement()));\n };\n var DropdownCustom_1;\n DropdownCustom.SmartphonePortraitWidth = 420;\n DropdownCustom.PopupBoxMargin = 10;\n DropdownCustom.DropdownList = \"dropdown-list\";\n DropdownCustom.DropdownContainer = \"dropdown-container\";\n DropdownCustom.DropdownDisplay = \"dropdown-display\";\n DropdownCustom.DropdownDisplayContent = \"dropdown-display-content\";\n DropdownCustom.DropdownDisabled = \"dropdown-disabled\";\n DropdownCustom.DropdownPopUpRow = \"dropdown-popup-row\";\n DropdownCustom.DropdownPopUpRowSelected = \"dropdown-popup-row-selected\";\n DropdownCustom.DropdownEmptyValueRow = \"drowpdown-empty-value-row\";\n DropdownCustom.DropdownBackgroundWindow = \"dropdown-background-window\";\n DropdownCustom.ScrollableList = \"scrollable-list\";\n DropdownCustom.ScrollableListWithScroll = \"scrollable-list-with-scroll\";\n DropdownCustom.DropdownExpanded = \"dropdown-expanded\";\n DropdownCustom.DropdownExpandedUp = \"dropdown-expanded-up\";\n DropdownCustom.DropdownExpandedDown = \"dropdown-expanded-down\";\n DropdownCustom = DropdownCustom_1 = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], DropdownCustom);\n return DropdownCustom;\n }(Widget_1.InputWithVariableWidget));\n exports.DropdownCustom = DropdownCustom;\n});\n//# sourceMappingURL=DropdownCustom.js.map;\n","define('OutSystems/ReactWidgets/DropdownNative',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/DataConversion\", \"OutSystems/ClientRuntime/DataTypes\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, DataConversion_1, DataTypes_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.DropdownNative = void 0;\n var DropdownNative = (function (_super) {\n tslib_1.__extends(DropdownNative, _super);\n function DropdownNative(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.selectedValue = null;\n return _this;\n }\n DropdownNative_1 = DropdownNative;\n Object.defineProperty(DropdownNative.prototype, \"variable\", {\n get: function () {\n return this.props.variable;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(DropdownNative.prototype, \"isMandatory\", {\n get: function () {\n return this.props.mandatory;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(DropdownNative.prototype, \"inputedValue\", {\n get: function () {\n return this.isValueInList(this.selectedValue) ? this.selectedValue : null;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(DropdownNative.prototype, \"inputedValueValidity\", {\n get: function () {\n var variableValue = this.isValueInList(this.selectedValue);\n var validity = {\n valid: variableValue,\n badInput: false,\n };\n return validity;\n },\n enumerable: false,\n configurable: true\n });\n DropdownNative.prototype.componentDidMount = function () {\n this.setVariable();\n };\n DropdownNative.prototype.componentDidUpdate = function () {\n this.setVariable();\n };\n DropdownNative.prototype.isValueInList = function (value) {\n if (this.props.list && this.props.list.length > 0) {\n for (var i = 0; i < this.props.list.length; i++) {\n var itemValue = this.props.values(this.props.list.getItem(i));\n if (DataTypes_1.equals(itemValue, value)) {\n return true;\n }\n }\n }\n return false;\n };\n DropdownNative.prototype.setVariable = function () {\n if (this.props.list && this.props.list.length > 0) {\n var valueFound = this.isValueInList(this.variable.value);\n if (!valueFound) {\n if (this.isEmptyValueDefined()) {\n this.selectedValue = this.variable.value;\n }\n else {\n var newValue = this.props.values(this.props.list.getItem(0));\n if (!DataTypes_1.equals(newValue, this.variable.value)) {\n this.variable.value = newValue;\n this.selectedValue = newValue;\n if (this.props.onChange) {\n this.props.onChange();\n }\n }\n }\n }\n }\n };\n DropdownNative.prototype.isEmptyValueDefined = function () {\n return this.props.emptyValue && this.props.emptyValue.length > 0;\n };\n DropdownNative.prototype.getSelectedValueAndOptions = function () {\n var selectedValue = 0;\n var options = [];\n if (this.isEmptyValueDefined()) {\n selectedValue = DropdownNative_1.EmptyValue;\n options.push(React.createElement(\"option\", { key: DropdownNative_1.EmptyValue, value: DropdownNative_1.EmptyValue }, this.props.emptyValue));\n }\n if (this.props.list && this.props.list.length > 0) {\n for (var i = 0; i < this.props.list.length; i++) {\n var item = this.props.list.getItem(i);\n if (DataTypes_1.equals(this.variable.value, this.props.values(item))) {\n selectedValue = i;\n this.selectedValue = this.variable.value;\n }\n var label = DataConversion_1.JSConversions.convertTo(this.props.labels(item), DataTypes_1.DataTypes.Text);\n options.push(React.createElement(\"option\", { key: i, value: i }, label));\n }\n }\n return { selectedValue: selectedValue, options: options };\n };\n DropdownNative.prototype.handleChange = function (event) {\n var index = parseInt(event.target.value, 10);\n var value = index >= 0\n ? this.props.values(this.props.list.getItem(index))\n : DataConversion_1.JSConversions.convertTo(null, this.variable.type);\n this.variable.value = value;\n this.selectedValue = value;\n if (this.props.onChange) {\n this.props.onChange();\n }\n };\n DropdownNative.prototype.render = function () {\n var dropdownDivAttributes = {\n id: this.getId() + \"-container\",\n className: DropdownNative_1.DropdownContainer + (this.props.enabled ? \"\" : \" \" + DropdownNative_1.DropdownDisabled),\n \"data-dropdown\": \"\",\n };\n var nativeDropdownAttributes = {\n className: DropdownNative_1.DropdownDisplay + \" \" + this.props.style,\n onChange: this.handleChange.bind(this),\n disabled: !this.props.enabled,\n required: this.props.mandatory,\n \"aria-disabled\": !this.props.enabled,\n };\n this.fillWithBuiltinProperties(dropdownDivAttributes);\n var _a = this.getSelectedValueAndOptions(), selectedValue = _a.selectedValue, options = _a.options;\n var selectStyle = dropdownDivAttributes.style;\n return (React.createElement(\"div\", tslib_1.__assign({}, dropdownDivAttributes, { style: undefined }),\n React.createElement(\"select\", tslib_1.__assign({}, nativeDropdownAttributes, { id: this.getId(), style: selectStyle, value: selectedValue }), options),\n this.createValidationElement()));\n };\n var DropdownNative_1;\n DropdownNative.DropdownContainer = \"dropdown-container\";\n DropdownNative.DropdownDisplay = \"dropdown-display\";\n DropdownNative.DropdownDisabled = \"dropdown-disabled\";\n DropdownNative.EmptyValue = -1;\n DropdownNative = DropdownNative_1 = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], DropdownNative);\n return DropdownNative;\n }(Widget_1.InputWithVariableWidget));\n exports.DropdownNative = DropdownNative;\n});\n//# sourceMappingURL=DropdownNative.js.map;\n","define('OutSystems/ReactWidgets/Dropdown',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/Widget\", \"react\", \"./DropdownCustom\", \"./DropdownNative\"], function (require, exports, tslib_1, Widget_1, React, DropdownCustom_1, DropdownNative_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Dropdown = void 0;\n var Dropdown = (function (_super) {\n tslib_1.__extends(Dropdown, _super);\n function Dropdown() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Dropdown.prototype.render = function () {\n if (this.props.dropdownMode === 1) {\n return React.createElement(DropdownCustom_1.DropdownCustom, tslib_1.__assign({}, this.props));\n }\n else {\n return React.createElement(DropdownNative_1.DropdownNative, tslib_1.__assign({}, this.props));\n }\n };\n Dropdown = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Dropdown);\n return Dropdown;\n }(Widget_1.InputWithVariableWidget));\n exports.Dropdown = Dropdown;\n});\n//# sourceMappingURL=Dropdown.js.map;\n","define('OutSystems/ReactWidgets/Expression',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, HtmlTags_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Expression = void 0;\n var Expression = (function (_super) {\n tslib_1.__extends(Expression, _super);\n function Expression() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Expression.prototype.render = function () {\n var expressionAttributes = {\n \"data-expression\": \"\",\n className: this.props.style,\n };\n this.fillWithBuiltinProperties(expressionAttributes);\n return React.createElement(HtmlTags_1.HtmlTags.span, expressionAttributes, this.props.value);\n };\n Expression = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Expression);\n return Expression;\n }(Widget_1.Widget));\n exports.Expression = Expression;\n});\n//# sourceMappingURL=Expression.js.map;\n","define('OutSystems/ReactWidgets/List',[\"require\", \"exports\", \"tslib\", \"@outsystems/virtualized-list\", \"OutSystems/ClientRuntime/Flow\", \"OutSystems/ClientRuntime/ObjectExtensions\", \"OutSystems/ReactView/AnimatedGroup\", \"OutSystems/ReactView/ScrollExtensions\", \"OutSystems/ReactView/Widget\", \"prop-types\", \"react\"], function (require, exports, tslib_1, virtualized_list_1, Flow, ObjectExtensions, AnimatedGroup_1, ScrollExtensions, Widget_1, PropTypes, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.List = void 0;\n var SCROLL_EVENTNAME = \"scroll\";\n var RESIZE_EVENTNAME = \"resize\";\n var ORIENTATION_CHANGE_EVENTNAME = \"orientationchange\";\n var List = (function (_super) {\n tslib_1.__extends(List, _super);\n function List(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.previousListLength = 0;\n _this.shouldLoadState = false;\n _this.isScrollEndingEventHandlerRunning = false;\n _this.scrollViewerRef = React.createRef();\n _this.isVirtualizationEnabled = List_1.shouldVirtualizeList(props);\n _this.shouldLoadState = _super.prototype.getScreenStateCache.call(_this).shouldLoad;\n return _this;\n }\n List_1 = List;\n List.prototype.serializeCustomStateProperties = function () {\n var scrollHostInfo = this.getScrollHostInfo();\n var scrollInfo = ScrollExtensions.getScrollInfo(scrollHostInfo.scrollHost);\n return {\n top: scrollInfo.scroll.y,\n left: scrollInfo.scroll.x,\n };\n };\n List.prototype.loadCustomStateProperties = function (customProperties) {\n var properties = customProperties;\n var scrollViewer = this.getScrollViewer();\n if (scrollViewer) {\n scrollViewer.scrollToOffset(properties.left, properties.top);\n }\n else {\n var scrollableParent = this.getScrollHostInfo().scrollHost;\n ScrollExtensions.setScrollOffset(scrollableParent, properties.left, properties.top);\n }\n };\n List.prototype.getInfiniteScrollThreshold = function () {\n if (this.infiniteScrollThreshold === undefined) {\n this.infiniteScrollThreshold = 2000;\n if (this.props.extendedProperties) {\n var customInfiniteScrollThreshold = this.props.extendedProperties[List_1.InfiniteScrollThresholdName];\n if (customInfiniteScrollThreshold !== undefined) {\n this.infiniteScrollThreshold = parseInt(customInfiniteScrollThreshold, 10);\n }\n }\n }\n return this.infiniteScrollThreshold;\n };\n List.prototype.getScreenStateCache = function () {\n var screenStateCache = _super.prototype.getScreenStateCache.call(this);\n return {\n navigationKey: screenStateCache.navigationKey,\n shouldSave: screenStateCache.shouldSave,\n shouldLoad: this.isVirtualizationEnabled ? this.shouldLoadState : screenStateCache.shouldLoad,\n state: screenStateCache.state,\n };\n };\n List.prototype.getChildContext = function () {\n var _this = this;\n return {\n ancestorGenerationNode: this._generationNode,\n getScreenStateCache: function () { return _this.getScreenStateCache(); },\n locale: this.context.locale,\n };\n };\n List.prototype.getScrollHostInfo = function () {\n if (!this.scrollHostInfo) {\n this.scrollHostInfo = ScrollExtensions.getScrollHostInfo(this.getHTMLNode());\n }\n return this.scrollHostInfo;\n };\n List.shouldVirtualizeList = function (props) {\n return (!props.extendedProperties ||\n (props.extendedProperties[\"disable-virtualization\"] + \"\").toLowerCase() !== \"true\");\n };\n List.prototype.componentDidMount = function () {\n var _this = this;\n if (this.props.onScrollEnding) {\n this.executeAfterPaint(function () {\n if (!_this.isDisposed) {\n _this.scrollHandler = function () { return _this.tryFireScrollEndingEvent(); };\n _this.deferredScrollHandler = function () { return _this.tryFireScrollEndingEvent(true); };\n var scrollableElement = _this.getScrollHostInfo().scrollHost;\n scrollableElement.addEventListener(SCROLL_EVENTNAME, _this.scrollHandler);\n scrollableElement.addEventListener(RESIZE_EVENTNAME, _this.scrollHandler);\n window.addEventListener(ORIENTATION_CHANGE_EVENTNAME, _this.deferredScrollHandler);\n }\n });\n }\n this.storeListLength();\n };\n List.prototype.componentDidUpdate = function () {\n if (this.props.onScrollEnding && this.previousListLength !== this.props.source.length) {\n this.tryFireScrollEndingEvent();\n }\n this.storeListLength();\n };\n List.prototype.UNSAFE_componentWillUpdate = function (nextProps, nextState) {\n this.isVirtualizationEnabled = List_1.shouldVirtualizeList(nextProps);\n };\n List.prototype.storeListLength = function () {\n if (this.props.source_dataFetchStatus !== 0 &&\n this.props.source.length > 0) {\n this.previousListLength = this.props.source.length;\n }\n };\n List.prototype.componentWillUnmount = function () {\n if (this.scrollHandler) {\n var scrollableElement = this.getScrollHostInfo().scrollHost;\n scrollableElement.removeEventListener(SCROLL_EVENTNAME, this.scrollHandler);\n scrollableElement.removeEventListener(RESIZE_EVENTNAME, this.scrollHandler);\n }\n if (this.deferredScrollHandler) {\n window.removeEventListener(ORIENTATION_CHANGE_EVENTNAME, this.deferredScrollHandler);\n }\n this.scrollHostInfo = null;\n };\n List.prototype.tryFireScrollEndingEvent = function (deferred) {\n if (deferred === void 0) { deferred = false; }\n if (!this.isScrollEndingEventHandlerRunning) {\n var InfiniteScrollThreshold = this.getInfiniteScrollThreshold();\n var scrollHostInfo = this.getScrollHostInfo();\n var scrollInfo = ScrollExtensions.getScrollInfo(scrollHostInfo.scrollHost);\n if ((scrollInfo.scroll.y > 0 && scrollInfo.scroll.y > this.lastScrollTop) || deferred) {\n if (scrollInfo.scroll.height <=\n scrollInfo.scroll.y + scrollInfo.viewport.height + InfiniteScrollThreshold) {\n this.executeScrollEndingEventHandler();\n }\n }\n else if ((scrollInfo.scroll.x > 0 && scrollInfo.scroll.x > this.lastScrollLeft) || deferred) {\n if (scrollInfo.scroll.width <=\n scrollInfo.scroll.x + scrollInfo.viewport.width + InfiniteScrollThreshold) {\n this.executeScrollEndingEventHandler();\n }\n }\n this.lastScrollTop = scrollInfo.scroll.y;\n this.lastScrollLeft = scrollInfo.scroll.x;\n }\n };\n List.prototype.executeScrollEndingEventHandler = function () {\n var _this = this;\n this.isScrollEndingEventHandlerRunning = true;\n Flow.tryFinally(this.props.onScrollEnding, function () {\n _this.isScrollEndingEventHandlerRunning = false;\n });\n };\n List.prototype.renderListItems = function (startIndex, length) {\n if (this.props.source.length > 0) {\n return this.props.placeholders.content.render(this, this.props.source, null, startIndex, length);\n }\n return null;\n };\n List.prototype.getScrollViewer = function () {\n return this.scrollViewerRef.current;\n };\n List.prototype.shouldSuspendAnimations = function () {\n if (Math.abs(this.previousListLength - this.props.source.length) !== 1) {\n return true;\n }\n if (this.isVirtualizationEnabled) {\n var scrollViewer = this.getScrollViewer();\n return !scrollViewer || !scrollViewer.isInitialized || scrollViewer.isScrolling;\n }\n return false;\n };\n List.prototype.renderListWrapper = function (listWrapperAttributes, children) {\n var _this = this;\n var disabledAnimation = true;\n if (!disabledAnimation && this.props.animateItems) {\n var listAnimationAttributes = {\n component: this.props.tag,\n shouldSuspendAnimations: function () { return _this.shouldSuspendAnimations(); },\n };\n return React.createElement(AnimatedGroup_1.AnimatedGroup, ObjectExtensions.assign({}, listWrapperAttributes, listAnimationAttributes), children);\n }\n var tagFactory = React.createFactory(this.props.tag);\n return tagFactory(listWrapperAttributes, children);\n };\n List.prototype.render = function () {\n var _this = this;\n var listStatus = \"\";\n switch (this.props.source_dataFetchStatus) {\n case 0:\n listStatus = \" list-loading\";\n break;\n case 2:\n listStatus = \" list-error\";\n break;\n default:\n break;\n }\n var listAttributes = {\n \"data-list\": \"\",\n \"data-virtualization-disabled\": !this.isVirtualizationEnabled ? \"\" : null,\n \"data-animation-disabled\": !this.props.animateItems ? \"\" : null,\n className: this.props.style + listStatus,\n };\n this.fillWithBuiltinProperties(listAttributes);\n if (this.isVirtualizationEnabled) {\n var viewportSafetyMarginBefore = void 0;\n var viewportSafetyMarginAfter = void 0;\n if (this.props.extendedProperties) {\n viewportSafetyMarginBefore = parseInt(this.props.extendedProperties[List_1.ViewportSafetyMarginBefore], 10);\n viewportSafetyMarginAfter = parseInt(this.props.extendedProperties[List_1.ViewportSafetyMarginAfter], 10);\n }\n var virtualizedProperties = {\n renderWrapper: function (children) {\n return _this.renderListWrapper(listAttributes, children);\n },\n renderItems: function (startIndex, length) {\n return _this.renderListItems(startIndex, length);\n },\n length: this.props.source.length,\n ref: this.scrollViewerRef,\n viewportSafetyMarginBefore: viewportSafetyMarginBefore ? viewportSafetyMarginBefore : null,\n viewportSafetyMarginAfter: viewportSafetyMarginAfter ? viewportSafetyMarginAfter : null,\n initializationCompleted: function () {\n _this.shouldLoadState = false;\n },\n };\n return React.createElement(virtualized_list_1.VirtualizedScrollViewer, ObjectExtensions.assign({}, listAttributes, virtualizedProperties));\n }\n else {\n return this.renderListWrapper(listAttributes, this.renderListItems());\n }\n };\n var List_1;\n List.InfiniteScrollThresholdName = \"infinite-scroll-threshold\";\n List.ViewportSafetyMarginBefore = \"virtualization-threshold-before\";\n List.ViewportSafetyMarginAfter = \"virtualization-threshold-after\";\n List.childContextTypes = ObjectExtensions.assign({\n getScreenStateCache: PropTypes.func,\n }, Widget_1.Widget.childContextTypes);\n List = List_1 = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], List);\n return List;\n }(Widget_1.Widget));\n exports.List = List;\n});\n//# sourceMappingURL=List.js.map;\n","/*!\nReact-Swipeable\nversion 3.5.1 (modified by OutSystems)\n\nCopyright (C) 2014-present Dogfessional\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\ndefine('OutSystems/ReactWidgets/Swipeable',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/ObjectExtensions\", \"OutSystems/ReactView/HtmlTags\", \"prop-types\", \"react\"], function (require, exports, tslib_1, ObjectExtensions, HtmlTags_1, PropTypes, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Swipeable = void 0;\n var Swipeable = (function (_super) {\n tslib_1.__extends(Swipeable, _super);\n function Swipeable(props) {\n var _this = _super.call(this, props) || this;\n _this.defaultState = {\n x: null,\n y: null,\n swiping: false,\n start: 0,\n };\n _this.calculatePos = function (e) {\n var x = e.changedTouches[0].clientX;\n var y = e.changedTouches[0].clientY;\n var xd = _this.state.x - x;\n var yd = _this.state.y - y;\n var axd = Math.abs(xd);\n var ayd = Math.abs(yd);\n return {\n deltaX: xd,\n deltaY: yd,\n absX: axd,\n absY: ayd,\n };\n };\n _this.touchStart = function (e) {\n if (e.touches.length > 1) {\n return;\n }\n _this.setState({\n start: Date.now(),\n x: e.touches[0].clientX,\n y: e.touches[0].clientY,\n swiping: false,\n });\n };\n _this.touchMove = function (e) {\n if (!_this.state.x || !_this.state.y || e.touches.length > 1) {\n return;\n }\n var cancelPageSwipe = false;\n var pos = _this.calculatePos(e);\n if (Math.abs(pos.deltaX) > Math.abs(pos.deltaY)) {\n e.preventDefault();\n }\n if (pos.absX < _this.props.delta && pos.absY < _this.props.delta) {\n return;\n }\n if (_this.props.onSwiping) {\n _this.props.onSwiping(e, pos.deltaX, pos.deltaY, pos.absX, pos.absY);\n }\n if (pos.absX > pos.absY) {\n if (pos.deltaX > 0) {\n if (_this.props.onSwipingLeft) {\n _this.props.onSwipingLeft(e, pos.absX, _this.state.x);\n cancelPageSwipe = true;\n }\n }\n else {\n if (_this.props.onSwipingRight) {\n _this.props.onSwipingRight(e, pos.absX, _this.state.x);\n cancelPageSwipe = true;\n }\n }\n }\n else {\n if (pos.deltaY > 0) {\n if (_this.props.onSwipingUp) {\n _this.props.onSwipingUp(e, pos.absY);\n cancelPageSwipe = true;\n }\n }\n else {\n if (_this.props.onSwipingDown) {\n _this.props.onSwipingDown(e, pos.absY);\n cancelPageSwipe = true;\n }\n }\n }\n _this.setState({ swiping: true });\n if (cancelPageSwipe) {\n e.preventDefault();\n }\n };\n _this.touchEnd = function (e) {\n if (_this.state.swiping) {\n var pos = _this.calculatePos(e);\n var time = Date.now() - _this.state.start;\n var velocity = Math.sqrt(pos.absX * pos.absX + pos.absY * pos.absY) / time;\n var isFlick = velocity > _this.props.flickThreshold;\n if (_this.props.onSwiped) {\n _this.props.onSwiped(e, pos.deltaX, pos.deltaY, isFlick);\n }\n if (pos.absX > pos.absY) {\n if (pos.deltaX > 0) {\n if (_this.props.onSwipedLeft) {\n _this.props.onSwipedLeft(e, pos.deltaX, isFlick);\n }\n }\n else {\n if (_this.props.onSwipedRight) {\n _this.props.onSwipedRight(e, pos.deltaX, isFlick);\n }\n }\n }\n else {\n if (pos.deltaY > 0) {\n if (_this.props.onSwipedUp) {\n _this.props.onSwipedUp(e, pos.deltaY, isFlick);\n }\n }\n else {\n if (_this.props.onSwipedDown) {\n _this.props.onSwipedDown(e, pos.deltaY, isFlick);\n }\n }\n }\n }\n _this.setState(_this.defaultState);\n };\n _this.state = _this.defaultState;\n return _this;\n }\n Swipeable.prototype.render = function () {\n var newProps = ObjectExtensions.assign({}, this.props, {\n onTouchStart: this.touchStart,\n onTouchMove: this.touchMove,\n onTouchEnd: this.touchEnd,\n });\n delete newProps.onSwiped;\n delete newProps.onSwiping;\n delete newProps.onSwipingUp;\n delete newProps.onSwipingRight;\n delete newProps.onSwipingDown;\n delete newProps.onSwipingLeft;\n delete newProps.onSwipedUp;\n delete newProps.onSwipedRight;\n delete newProps.onSwipedDown;\n delete newProps.onSwipedLeft;\n delete newProps.flickThreshold;\n delete newProps.delta;\n return React.createElement(HtmlTags_1.HtmlTags.div, newProps, this.props.children);\n };\n Swipeable.propTypes = {\n onSwiped: PropTypes.func,\n onSwiping: PropTypes.func,\n onSwipingUp: PropTypes.func,\n onSwipingRight: PropTypes.func,\n onSwipingDown: PropTypes.func,\n onSwipingLeft: PropTypes.func,\n onSwipedUp: PropTypes.func,\n onSwipedRight: PropTypes.func,\n onSwipedDown: PropTypes.func,\n onSwipedLeft: PropTypes.func,\n flickthreshold: PropTypes.number,\n delta: PropTypes.number,\n };\n Swipeable.defaultProps = {\n flickthreshold: 0.6,\n delta: 10,\n };\n return Swipeable;\n }(React.Component));\n exports.Swipeable = Swipeable;\n});\n//# sourceMappingURL=Swipeable.js.map;\n","define('OutSystems/ReactWidgets/ListItem',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\", \"./Swipeable\"], function (require, exports, tslib_1, HtmlTags_1, Widget_1, React, Swipeable_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.ListItem = exports.ListItemSwipeable = exports.ListItemBasic = exports.SwipeActions = void 0;\n var SwipeActions;\n (function (SwipeActions) {\n var Actions;\n (function (Actions) {\n Actions[Actions[\"RightVisible\"] = 0] = \"RightVisible\";\n Actions[Actions[\"RightAction\"] = 1] = \"RightAction\";\n Actions[Actions[\"LeftVisible\"] = 2] = \"LeftVisible\";\n Actions[Actions[\"LeftAction\"] = 3] = \"LeftAction\";\n })(Actions = SwipeActions.Actions || (SwipeActions.Actions = {}));\n var Directions;\n (function (Directions) {\n Directions[Directions[\"Left\"] = 0] = \"Left\";\n Directions[Directions[\"Right\"] = 1] = \"Right\";\n })(Directions = SwipeActions.Directions || (SwipeActions.Directions = {}));\n })(SwipeActions = exports.SwipeActions || (exports.SwipeActions = {}));\n var ListItemBasic = (function (_super) {\n tslib_1.__extends(ListItemBasic, _super);\n function ListItemBasic() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ListItemBasic.prototype.render = function () {\n var listItemAttributes = {\n \"data-list-item\": \"\",\n \"data-not-scrollable\": \"\",\n onClick: this.props.containerClick,\n className: this.props.classProperty,\n };\n this.props.fillWithParentProperties(listItemAttributes);\n return React.createElement(HtmlTags_1.HtmlTags.div, listItemAttributes, this.props.placeholderContent.render());\n };\n return ListItemBasic;\n }(React.Component));\n exports.ListItemBasic = ListItemBasic;\n var ListItemSwipeable = (function (_super) {\n tslib_1.__extends(ListItemSwipeable, _super);\n function ListItemSwipeable(props, context) {\n var _a;\n var _this = _super.call(this, props, context) || this;\n _this.leftRef = React.createRef();\n _this.rightRef = React.createRef();\n _this.swipeRef = React.createRef();\n _this.touchWindowEventListener = function (e) {\n _this.unregisterTouchWindowEventListener();\n _this.animate();\n };\n _this.handleTouch = function (e) {\n if (!_this.propagateTouch) {\n e.stopPropagation();\n }\n };\n _this.registerTouchWindowEventListener = function () {\n _this.propagateTouch = false;\n window.addEventListener(ListItemSwipeable.TouchStartEvent, _this.touchWindowEventListener);\n };\n _this.unregisterTouchWindowEventListener = function () {\n _this.propagateTouch = true;\n window.removeEventListener(ListItemSwipeable.TouchStartEvent, _this.touchWindowEventListener);\n };\n _this.onSwipingLeft = function (event, delta, startX) {\n _this.handleSwiping(false, event, delta, startX);\n };\n _this.onSwipingRight = function (event, delta, startX) {\n _this.handleSwiping(true, event, delta, startX);\n };\n _this.onSwiped = function () {\n var showRightButtons = false;\n var showLeftButtons = false;\n _this.setState({ showRightButtons: false, showLeftButtons: false });\n switch (_this.state.action) {\n case SwipeActions.Actions.RightVisible:\n _this.registerTouchWindowEventListener();\n showRightButtons = true;\n break;\n case SwipeActions.Actions.LeftVisible:\n _this.registerTouchWindowEventListener();\n showLeftButtons = true;\n break;\n case SwipeActions.Actions.LeftAction:\n var element_1 = _this.leftRef.current.children[0];\n if (element_1) {\n _this.timeoutClickHandle = setTimeout(function () { return element_1.click(); }, _this.props.animationTimeout);\n }\n break;\n case SwipeActions.Actions.RightAction:\n var actions = _this.rightRef.current.children;\n if (actions.length > 0) {\n var element_2 = actions[actions.length - 1];\n if (element_2) {\n _this.timeoutClickHandle = setTimeout(function () { return element_2.click(); }, _this.props.animationTimeout);\n }\n }\n break;\n default:\n break;\n }\n _this.setState({\n deltaPixels: 0,\n action: null,\n showRightButtons: showRightButtons,\n showLeftButtons: showLeftButtons,\n swipingLeft: false,\n swipingRight: false,\n animating: true,\n animatingFullSwipeRight: _this.state.action === SwipeActions.Actions.LeftAction,\n animatingFullSwipeLeft: _this.state.action === SwipeActions.Actions.RightAction,\n });\n _this.startAnimationTimeout();\n };\n _this.handleActionContainerClick = function (event) {\n _this.animate();\n event.stopPropagation();\n };\n _this.handleContentClick = function (event) {\n if (_this.state.showRightButtons || _this.state.showLeftButtons) {\n return;\n }\n if (!_this.state.animating) {\n _this.props.containerClick(event);\n }\n };\n _this.state = {\n deltaPixels: 0,\n showRightButtons: false,\n showLeftButtons: false,\n swipingLeft: false,\n swipingRight: false,\n animating: false,\n action: null,\n callActionWhenSwipingFarRight: false,\n callActionWhenSwipingFarLeft: false,\n lastContainerClass: \"\",\n shouldRenderActions: (_a = props.isExpandedInWebEditor) !== null && _a !== void 0 ? _a : false,\n animatingFullSwipeRight: false,\n animatingFullSwipeLeft: false,\n };\n _this.propagateTouch = true;\n _this.actionsMaxWidth = 0;\n _this.leftPlaceholderCache = null;\n _this.rightPlaceholderCache = null;\n _this.contentPlaceholderCache = null;\n return _this;\n }\n ListItemSwipeable.prototype.startAnimationTimeout = function () {\n var _this = this;\n this.clearAnimationTimeout();\n this.animationTimeoutHandle = setTimeout(function () {\n _this.setState({\n animating: false,\n action: null,\n animatingFullSwipeRight: false,\n animatingFullSwipeLeft: false,\n shouldRenderActions: _this.state.showLeftButtons || _this.state.showRightButtons,\n });\n }, this.props.animationTimeout);\n };\n ListItemSwipeable.prototype.clearAnimationTimeout = function () {\n if (this.animationTimeoutHandle) {\n clearTimeout(this.animationTimeoutHandle);\n }\n };\n ListItemSwipeable.prototype.clearClickTimeout = function () {\n if (this.timeoutClickHandle) {\n clearTimeout(this.timeoutClickHandle);\n }\n };\n ListItemSwipeable.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {\n var _a;\n this.leftPlaceholderCache = null;\n this.rightPlaceholderCache = null;\n this.contentPlaceholderCache = null;\n if (this.props.isExpandedInWebEditor !== nextProps.isExpandedInWebEditor) {\n this.setState({ shouldRenderActions: (_a = nextProps.isExpandedInWebEditor) !== null && _a !== void 0 ? _a : this.state.shouldRenderActions });\n }\n };\n ListItemSwipeable.prototype.componentDidMount = function () {\n if (this.props.extendedProperties) {\n var swipeLeftEdgeCustom = this.props.extendedProperties[ListItemSwipeable.SwipeLeftEdgeThresholdExtended];\n var swipeRightEdgeCustom = this.props.extendedProperties[ListItemSwipeable.SwipeRightEdgeThresholdExtended];\n if (swipeLeftEdgeCustom) {\n this.swipeLeftEdgeThreshold = parseInt(swipeLeftEdgeCustom, 10);\n }\n if (swipeRightEdgeCustom) {\n this.swipeRightEdgeThreshold = parseInt(swipeRightEdgeCustom, 10);\n }\n }\n };\n ListItemSwipeable.prototype.componentDidUpdate = function () {\n if (this.state.lastContainerClass !== this.lastContainerClass) {\n this.setState({ lastContainerClass: this.lastContainerClass });\n }\n };\n ListItemSwipeable.prototype.componentWillUnmount = function () {\n this.clearAnimationTimeout();\n this.clearClickTimeout();\n this.unregisterTouchWindowEventListener();\n };\n ListItemSwipeable.prototype.updateElementCachedInfo = function () {\n var element = this.swipeRef.current;\n if (!this.actionsMaxWidth) {\n var actionElement = element.querySelector(\"[data-list-item-action]\");\n if (actionElement) {\n this.actionsMaxWidth = parseInt(window.getComputedStyle(actionElement, null).getPropertyValue(\"max-width\"), 10);\n }\n }\n this.leftActionsCount = element\n .getElementsByClassName(ListItemSwipeable.LeftActions)[0]\n .getElementsByTagName(ListItemSwipeable.Button).length;\n this.rightActionsCount = element\n .getElementsByClassName(ListItemSwipeable.RightActions)[0]\n .getElementsByTagName(ListItemSwipeable.Button).length;\n this.contentWidth = element.querySelector(\"[data-list-item-content]\").clientWidth;\n ListItemSwipeable.deviceWidth = window.innerWidth || document.documentElement.clientWidth;\n };\n ListItemSwipeable.prototype.showFullSwipe = function () {\n return (this.state.action === SwipeActions.Actions.LeftAction ||\n this.state.action === SwipeActions.Actions.RightAction ||\n this.state.animatingFullSwipeLeft ||\n this.state.animatingFullSwipeRight);\n };\n ListItemSwipeable.prototype.getSwipeLeftEdgeThreshold = function () {\n if (this.swipeLeftEdgeThreshold) {\n return this.swipeLeftEdgeThreshold;\n }\n return ListItemSwipeable.SwipeLeftEdgeDefaultThreshold;\n };\n ListItemSwipeable.prototype.getSwipeRightEdgeThreshold = function () {\n if (this.swipeRightEdgeThreshold) {\n return this.swipeRightEdgeThreshold;\n }\n return ListItemSwipeable.SwipeRightEdgeDefaultThreshold;\n };\n ListItemSwipeable.prototype.getSwipeThresholdToTriggerAction = function (direction) {\n if (this.state.showLeftButtons || this.state.showRightButtons) {\n return this.actionsMaxWidth * 0.75;\n }\n if (direction === SwipeActions.Directions.Right) {\n return this.actionsMaxWidth * (Math.min(2, this.leftActionsCount) + 0.75);\n }\n return this.actionsMaxWidth * (Math.min(2, this.rightActionsCount) + 0.75);\n };\n ListItemSwipeable.prototype.handleSwiping = function (right, event, delta, startX) {\n this.updateElementCachedInfo();\n this.setState({ shouldRenderActions: true });\n var direction = right ? SwipeActions.Directions.Right : SwipeActions.Directions.Left;\n if (this.swipingHandleStylesAndDelta(delta, direction, startX)) {\n return;\n }\n var action = null;\n if (delta > this.props.visibilityThreshold) {\n action = right ? SwipeActions.Actions.LeftVisible : SwipeActions.Actions.RightVisible;\n }\n var callAction = right\n ? this.props.callActionWhenSwipingFarRight\n : this.props.callActionWhenSwipingFarLeft;\n if (callAction && delta > this.getSwipeThresholdToTriggerAction(direction)) {\n action = right ? SwipeActions.Actions.LeftAction : SwipeActions.Actions.RightAction;\n }\n var realDelta = delta - ListItemSwipeable.SwipeStartThreshold;\n this.setState({\n deltaPixels: right ? realDelta : -realDelta,\n action: action,\n swipingLeft: !right,\n swipingRight: right,\n });\n };\n ListItemSwipeable.prototype.getActionsPlaceholderStyle = function (right) {\n var left = !right;\n var actionsCount = left ? this.leftActionsCount : this.rightActionsCount;\n var swiping = (left && this.state.swipingRight) || (right && this.state.swipingLeft);\n var showingButtons = (left && this.state.showLeftButtons) ||\n (right && this.state.showRightButtons) ||\n this.props.isExpandedInWebEditor;\n var animatingFullSwipe = (left && this.state.animatingFullSwipeRight) || (right && this.state.animatingFullSwipeLeft);\n if (swiping) {\n var offset = 0;\n if (showingButtons && !this.state.animating) {\n offset = actionsCount * this.actionsMaxWidth;\n }\n return {\n width: Math.abs(this.state.deltaPixels) + offset + \"px\",\n };\n }\n if (showingButtons) {\n return {\n width: this.props.isExpandedInWebEditor ? \"auto\" : actionsCount * this.actionsMaxWidth + \"px\",\n };\n }\n if (animatingFullSwipe) {\n return {\n width: this.contentWidth + \"px\",\n };\n }\n return null;\n };\n ListItemSwipeable.prototype.swipingHandleStylesAndDelta = function (delta, direction, startX) {\n if (this.shouldAbort(direction, startX)) {\n return true;\n }\n this.tryAnimate(direction);\n return false;\n };\n ListItemSwipeable.prototype.shouldAbort = function (direction, startX) {\n if (direction === SwipeActions.Directions.Right) {\n if (startX < this.getSwipeRightEdgeThreshold()) {\n return true;\n }\n }\n else {\n if (startX > ListItemSwipeable.deviceWidth - this.getSwipeLeftEdgeThreshold()) {\n return true;\n }\n }\n if (this.state.animating) {\n return true;\n }\n if (direction === SwipeActions.Directions.Right) {\n return ((!this.leftActionsCount && !this.state.showRightButtons) ||\n (this.state.showLeftButtons && !this.props.callActionWhenSwipingFarRight));\n }\n else {\n return ((!this.rightActionsCount && !this.state.showLeftButtons) ||\n (this.state.showRightButtons && !this.props.callActionWhenSwipingFarLeft));\n }\n };\n ListItemSwipeable.prototype.tryAnimate = function (direction) {\n if ((direction === SwipeActions.Directions.Right && this.state.showRightButtons) ||\n (direction === SwipeActions.Directions.Left && this.state.showLeftButtons)) {\n this.animate();\n }\n };\n ListItemSwipeable.prototype.animate = function () {\n this.setState({\n showLeftButtons: false,\n showRightButtons: false,\n animating: true,\n });\n this.startAnimationTimeout();\n };\n ListItemSwipeable.prototype.getContainerClass = function () {\n if (this.state.animating) {\n return this.state.lastContainerClass;\n }\n var lastContainerClass = null;\n if (this.state.showRightButtons) {\n lastContainerClass = ListItemSwipeable.FloatRight;\n }\n else if (this.state.showLeftButtons) {\n lastContainerClass = ListItemSwipeable.FloatLeft;\n }\n else {\n lastContainerClass =\n this.state.deltaPixels < 0 ? ListItemSwipeable.FloatRight : ListItemSwipeable.FloatLeft;\n }\n return lastContainerClass;\n };\n ListItemSwipeable.prototype.getRenderedLeftPlaceholder = function () {\n if (this.state.shouldRenderActions) {\n if (this.leftPlaceholderCache === null) {\n this.leftPlaceholderCache = this.props.placeholderLeftActions.render();\n }\n return this.leftPlaceholderCache;\n }\n return null;\n };\n ListItemSwipeable.prototype.getRenderedRightPlaceholder = function () {\n if (this.state.shouldRenderActions) {\n if (this.rightPlaceholderCache === null) {\n this.rightPlaceholderCache = this.props.placeholderRightActions.render();\n }\n return this.rightPlaceholderCache;\n }\n return null;\n };\n ListItemSwipeable.prototype.getRenderedContentPlaceholder = function () {\n if (this.contentPlaceholderCache === null) {\n this.contentPlaceholderCache = this.props.placeholderContent.render();\n }\n return this.contentPlaceholderCache;\n };\n ListItemSwipeable.prototype.render = function () {\n this.lastContainerClass = this.getContainerClass();\n var classes = ListItemSwipeable.Container + (this.showFullSwipe() ? \" \" + ListItemSwipeable.FullSwipe : \"\");\n if (this.state.animating) {\n classes += \" \" + ListItemSwipeable.Animating;\n }\n if (this.state.showRightButtons) {\n classes += \" \" + ListItemSwipeable.ShowRightButtons;\n }\n if (this.state.showLeftButtons) {\n classes += \" \" + ListItemSwipeable.ShowLeftButtons;\n }\n var swipeableProperties = {\n \"data-list-item-content\": \"\",\n \"data-not-scrollable\": \"\",\n className: this.props.classProperty,\n onSwipingLeft: this.onSwipingLeft,\n onClick: this.handleContentClick,\n onSwipingRight: this.onSwipingRight,\n delta: ListItemSwipeable.SwipeStartThreshold,\n onSwiped: this.onSwiped,\n };\n this.props.fillWithParentProperties(swipeableProperties);\n var ref = swipeableProperties.ref;\n swipeableProperties.ref = null;\n var listItemProperties = {\n \"data-list-item\": \"\",\n \"data-not-scrollable\": \"\",\n ref: ref,\n };\n var leftActionsProperties = {\n className: ListItemSwipeable.LeftActions,\n style: this.getActionsPlaceholderStyle(false),\n onClick: this.handleActionContainerClick,\n };\n var rightActionsProperties = {\n className: ListItemSwipeable.RightActions,\n style: this.getActionsPlaceholderStyle(true),\n onClick: this.handleActionContainerClick,\n };\n return React.createElement(HtmlTags_1.HtmlTags.div, listItemProperties, React.createElement(HtmlTags_1.HtmlTags.div, {\n className: classes + \" \" + this.lastContainerClass,\n ref: this.swipeRef,\n onTouchStart: this.handleTouch,\n }, React.createElement(HtmlTags_1.HtmlTags.div, tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, leftActionsProperties), this.props.extraActionsProperties), { ref: this.leftRef }), this.getRenderedLeftPlaceholder()), React.createElement(Swipeable_1.Swipeable, swipeableProperties, this.getRenderedContentPlaceholder()), React.createElement(HtmlTags_1.HtmlTags.div, tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, rightActionsProperties), this.props.extraActionsProperties), { ref: this.rightRef }), this.getRenderedRightPlaceholder())));\n };\n ListItemSwipeable.TouchStartEvent = \"touchstart\";\n ListItemSwipeable.Button = \"button\";\n ListItemSwipeable.Container = \"list-item-container\";\n ListItemSwipeable.LeftActions = \"list-item-left-actions\";\n ListItemSwipeable.RightActions = \"list-item-right-actions\";\n ListItemSwipeable.FloatRight = \"list-item-float-right\";\n ListItemSwipeable.FloatLeft = \"list-item-float-left\";\n ListItemSwipeable.FullSwipe = \"list-item-full-swipe\";\n ListItemSwipeable.Animating = \"list-item-animating\";\n ListItemSwipeable.ShowRightButtons = \"list-item-show-right-buttons\";\n ListItemSwipeable.ShowLeftButtons = \"list-item-show-left-buttons\";\n ListItemSwipeable.SwipeStartThreshold = 15;\n ListItemSwipeable.SwipeLeftEdgeThresholdExtended = \"list-item-swipe-left-edge-threshold\";\n ListItemSwipeable.SwipeRightEdgeThresholdExtended = \"list-item-swipe-right-edge-threshold\";\n ListItemSwipeable.SwipeLeftEdgeDefaultThreshold = 15;\n ListItemSwipeable.SwipeRightEdgeDefaultThreshold = 15;\n return ListItemSwipeable;\n }(React.Component));\n exports.ListItemSwipeable = ListItemSwipeable;\n var ListItem = (function (_super) {\n tslib_1.__extends(ListItem, _super);\n function ListItem() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.handleClick = function (event) {\n if (_this.props.onClick) {\n event.stopPropagation();\n _this.executeWithActiveClassOn(function () { return _this.props.onClick(); });\n }\n };\n return _this;\n }\n ListItem.prototype.swipeableActionsExtraProperties = function () {\n return {};\n };\n ListItem.prototype.render = function () {\n var _this = this;\n var _a;\n var leftPlaceholderEmpty = this.props.placeholders.leftActions === Widget_1.PlaceholderContent.Empty;\n var rightPlaceholderEmpty = this.props.placeholders.rightActions === Widget_1.PlaceholderContent.Empty;\n if (leftPlaceholderEmpty && rightPlaceholderEmpty) {\n return React.createElement(ListItemBasic, {\n containerClick: this.handleClick,\n placeholderContent: this.props.placeholders.content,\n fillWithParentProperties: function (attributes) {\n return _this.fillWithBuiltinProperties(attributes);\n },\n classProperty: this.props.style,\n }, null);\n }\n else {\n return React.createElement(ListItemSwipeable, {\n extendedProperties: this.props.extendedProperties,\n visibilityThreshold: 35,\n animationTimeout: 400,\n placeholderContent: this.props.placeholders.content,\n placeholderLeftActions: this.props.placeholders.leftActions,\n placeholderRightActions: this.props.placeholders.rightActions,\n callActionWhenSwipingFarRight: this.props.triggerActionOnFullSwipeRight,\n callActionWhenSwipingFarLeft: this.props.triggerActionOnFullSwipeLeft,\n isExpandedInWebEditor: (_a = this.props.expandedInWebEditor) !== null && _a !== void 0 ? _a : false,\n containerClick: this.handleClick,\n fillWithParentProperties: function (attributes) {\n return _this.fillWithBuiltinProperties(attributes);\n },\n classProperty: this.props.style,\n extraActionsProperties: this.swipeableActionsExtraProperties(),\n }, null);\n }\n };\n ListItem = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], ListItem);\n return ListItem;\n }(Widget_1.Widget));\n exports.ListItem = ListItem;\n});\n//# sourceMappingURL=ListItem.js.map;\n","define('OutSystems/ReactWidgets/ListItemAction',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, HtmlTags_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.ListItemAction = void 0;\n var ListItemAction = (function (_super) {\n tslib_1.__extends(ListItemAction, _super);\n function ListItemAction(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.disableSpamProtect = _this.disableSpamProtection(props);\n return _this;\n }\n ListItemAction.prototype.handleClick = function (event) {\n var _this = this;\n if (!this.alreadyTriggered || this.disableSpamProtect) {\n this.executeWithActiveClassOn(function () { return _this.props.onClick(); });\n this.alreadyTriggered = true;\n }\n };\n ListItemAction.prototype.render = function () {\n var _this = this;\n var listItemActionAttributes = {\n \"data-list-item-action\": \"\",\n className: this.props.style,\n onClick: function (event) { return _this.handleClick(event); },\n };\n this.fillWithBuiltinProperties(listItemActionAttributes);\n return React.createElement(HtmlTags_1.HtmlTags.button, listItemActionAttributes, this.props.children);\n };\n ListItemAction.prototype.disableSpamProtection = function (props) {\n return (!!props.extendedProperties &&\n (props.extendedProperties[\"disable-spam-protection\"] + \"\").toLowerCase() !== \"true\");\n };\n ListItemAction = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], ListItemAction);\n return ListItemAction;\n }(Widget_1.Widget));\n exports.ListItemAction = ListItemAction;\n});\n//# sourceMappingURL=ListItemAction.js.map;\n","define('OutSystems/ReactWidgets/TableRecords',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/ObjectExtensions\", \"OutSystems/ReactView/Widget\", \"prop-types\", \"react\"], function (require, exports, tslib_1, ObjectExtensions, Widget_1, PropTypes, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.TableRecords = void 0;\n var TableRecords = (function (_super) {\n tslib_1.__extends(TableRecords, _super);\n function TableRecords() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = {\n sortAttribute: \"\",\n };\n return _this;\n }\n TableRecords.prototype.setDataHeaderInRowCells = function () {\n var _a;\n var rows = this.body ? this.body.children : [];\n var headerCells = this.header ? this.header.getElementsByTagName(\"th\") : [];\n for (var h = 0; h < headerCells.length; h++) {\n var headerCell = headerCells[h];\n for (var r = 0; r < rows.length; r++) {\n var row = rows[r];\n (_a = row.children[h]) === null || _a === void 0 ? void 0 : _a.setAttribute(\"data-header\", headerCell.innerText);\n }\n }\n };\n TableRecords.prototype.componentDidMount = function () {\n this.setDataHeaderInRowCells();\n };\n TableRecords.prototype.componentDidUpdate = function () {\n this.setDataHeaderInRowCells();\n };\n TableRecords.prototype.renderHeader = function () {\n var _this = this;\n var tableHeaderAttributes = {\n className: this.props.styleHeader,\n };\n if (this.props.showHeader) {\n return (React.createElement(\"thead\", { ref: function (elem) { return (_this.header = elem); } },\n React.createElement(\"tr\", tslib_1.__assign({}, tableHeaderAttributes), this.props.placeholders.headerRow.render())));\n }\n return null;\n };\n TableRecords.prototype.renderRows = function () {\n var _this = this;\n var tableRowAttributes = {\n className: this.props.styleRow,\n };\n if (this.props.source.length > 0) {\n return (React.createElement(\"tbody\", { ref: function (elem) { return (_this.body = elem); } }, this.props.placeholders.row.render(this, this.props.source, function (element, index) {\n return React.createElement(\"tr\", tslib_1.__assign({}, tableRowAttributes), element);\n })));\n }\n return null;\n };\n TableRecords.prototype.onSort = function (sortAttribute) {\n this.setState({ sortAttribute: sortAttribute });\n this.props.onSort(sortAttribute);\n };\n TableRecords.prototype.getChildContext = function () {\n var _this = this;\n var result = _super.prototype.getChildContext.call(this);\n if (!!this.props.onSort) {\n result.onTableRecordsSort = function (sortAttribute) { return _this.onSort(sortAttribute); };\n result.tableRecordsCurrentSortAttribute = this.state.sortAttribute;\n }\n return result;\n };\n TableRecords.prototype.render = function () {\n var tableAttributes = {\n className: this.props.style,\n role: \"grid\",\n };\n this.fillWithBuiltinProperties(tableAttributes);\n return (React.createElement(\"table\", tslib_1.__assign({}, tableAttributes),\n this.renderHeader(),\n this.renderRows()));\n };\n TableRecords.childContextTypes = ObjectExtensions.assign({\n onTableRecordsSort: PropTypes.func,\n tableRecordsCurrentSortAttribute: PropTypes.string,\n }, Widget_1.Widget.childContextTypes);\n TableRecords = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], TableRecords);\n return TableRecords;\n }(Widget_1.Widget));\n exports.TableRecords = TableRecords;\n});\n//# sourceMappingURL=TableRecords.js.map;\n","define('OutSystems/ReactWidgets/HeaderCell',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/ObjectExtensions\", \"OutSystems/ReactView/Widget\", \"prop-types\", \"react\"], function (require, exports, tslib_1, ObjectExtensions, Widget_1, PropTypes, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.HeaderCell = void 0;\n var HeaderCell = (function (_super) {\n tslib_1.__extends(HeaderCell, _super);\n function HeaderCell() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.handleInteractive = function (event) {\n event.preventDefault();\n event.stopPropagation();\n _this.executeWithActiveClassOn(function () { return _this.onSort(_this.props.sortAttribute); });\n };\n return _this;\n }\n Object.defineProperty(HeaderCell.prototype, \"onSort\", {\n get: function () {\n return this.context.onTableRecordsSort;\n },\n enumerable: false,\n configurable: true\n });\n HeaderCell.prototype.shouldComponentUpdate = function (nextProps, nextState, nextContext) {\n return (this.context.tableRecordsCurrentSortAttribute !== nextContext.tableRecordsCurrentSortAttribute ||\n _super.prototype.shouldComponentUpdate.call(this, nextProps, nextState, nextContext));\n };\n HeaderCell.prototype.render = function () {\n var _this = this;\n var className = this.props.style || \"\";\n var sortDiv;\n var sortDivAttributes = {\n className: \"sortable-icon\",\n };\n if (this.props.style !== \"sortable\" && this.props.sortAttribute) {\n className += \" sortable\";\n sortDiv = React.createElement(\"div\", tslib_1.__assign({}, sortDivAttributes));\n }\n var headerCellContext = this.context;\n if (this.props.style !== \"sorted\" &&\n headerCellContext &&\n this.props.sortAttribute &&\n this.props.sortAttribute === headerCellContext.tableRecordsCurrentSortAttribute) {\n className += \" sorted\";\n }\n className = className.trim();\n var headerCellAttributes = {\n className: className,\n tabIndex: 0,\n };\n if (this.onSort && this.props.sortAttribute) {\n var enterKeyCode_1 = 13;\n headerCellAttributes.onClick = this.handleInteractive;\n headerCellAttributes.onKeyDown = function (event) { return event.keyCode === enterKeyCode_1 && _this.handleInteractive(event); };\n }\n this.fillWithBuiltinProperties(headerCellAttributes);\n return (React.createElement(\"th\", tslib_1.__assign({}, headerCellAttributes),\n this.props.children,\n sortDiv));\n };\n HeaderCell.contextTypes = ObjectExtensions.assign({\n onTableRecordsSort: PropTypes.func,\n tableRecordsCurrentSortAttribute: PropTypes.string,\n }, Widget_1.Widget.contextTypes);\n HeaderCell = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], HeaderCell);\n return HeaderCell;\n }(Widget_1.Widget));\n exports.HeaderCell = HeaderCell;\n});\n//# sourceMappingURL=HeaderCell.js.map;\n","define('OutSystems/ReactWidgets/RowCell',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.RowCell = void 0;\n var RowCell = (function (_super) {\n tslib_1.__extends(RowCell, _super);\n function RowCell() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RowCell.prototype.render = function () {\n var rowCellAttributes = {\n className: this.props.style,\n };\n this.fillWithBuiltinProperties(rowCellAttributes);\n return React.createElement(\"td\", tslib_1.__assign({}, rowCellAttributes), this.props.children);\n };\n RowCell = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], RowCell);\n return RowCell;\n }(Widget_1.Widget));\n exports.RowCell = RowCell;\n});\n//# sourceMappingURL=RowCell.js.map;\n","define('OutSystems/ReactWidgets/Form',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Form = void 0;\n var Form = (function (_super) {\n tslib_1.__extends(Form, _super);\n function Form() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(Form.prototype, \"isValidationAggregator\", {\n get: function () {\n return true;\n },\n enumerable: false,\n configurable: true\n });\n Form.prototype.render = function () {\n var _a, _b;\n var formAttributes = {\n \"data-form\": \"\",\n action: (_b = (_a = this.props.extendedProperties) === null || _a === void 0 ? void 0 : _a.action) !== null && _b !== void 0 ? _b : \"\",\n noValidate: true,\n className: this.props.style,\n onSubmit: function (e) { return e.preventDefault(); },\n };\n this.fillWithBuiltinProperties(formAttributes);\n return React.createElement(\"form\", tslib_1.__assign({}, formAttributes), this.props.children);\n };\n Form = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Form);\n return Form;\n }(Widget_1.ValidationWidget));\n exports.Form = Form;\n});\n//# sourceMappingURL=Form.js.map;\n","define('OutSystems/ReactWidgets/Icon',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, HtmlTags_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Icon = void 0;\n var Icon = (function (_super) {\n tslib_1.__extends(Icon, _super);\n function Icon() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Icon.prototype.render = function () {\n var size = \"\";\n switch (this.props.iconSize) {\n case 0:\n size = \"1x\";\n break;\n case 1:\n size = \"2x\";\n break;\n case 2:\n size = \"3x\";\n break;\n case 3:\n size = \"4x\";\n break;\n default:\n size = \"1x\";\n break;\n }\n var iconAttributes = {\n \"data-icon\": \"\",\n className: (this.props.style ? this.props.style : \"\") + \" fa fa-\" + this.props.icon + \" fa-\" + size,\n };\n this.fillWithBuiltinProperties(iconAttributes);\n return React.createElement(HtmlTags_1.HtmlTags.i, iconAttributes);\n };\n Icon = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Icon);\n return Icon;\n }(Widget_1.Widget));\n exports.Icon = Icon;\n});\n//# sourceMappingURL=Icon.js.map;\n","define('OutSystems/ReactWidgets/Image',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/ApplicationInfo\", \"OutSystems/ClientRuntime/Settings\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, ApplicationInfo, Settings_1, HtmlTags_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Image = exports.ImageCache = void 0;\n var ImageCache;\n (function (ImageCache) {\n ImageCache.TTL = 2 * 60 * 1000;\n ImageCache.GC_INTERVAL = 10 * 1000;\n ImageCache.GC_HIGH_PRESSURE = 50 * 1024 * 1024;\n ImageCache.map = new Map();\n function gc() {\n var now = Date.now();\n var underPressure = ImageCache.GC_HIGH_PRESSURE < cacheSize;\n ImageCache.map.forEach(function (cached, key, map) {\n if (cached.referenceCount <= 0 && (underPressure || cached.expireDate < now)) {\n URL.revokeObjectURL(cached.cachedObjectURL);\n map.delete(key);\n cacheSize -= cached.size;\n }\n });\n }\n ImageCache.gc = gc;\n ImageCache.intervalFunction = function () { return (Settings_1.getEnvParams().EnforceUnsafeEval ? undefined : ImageCache.gc); };\n ImageCache.interval = setInterval(ImageCache.intervalFunction(), ImageCache.GC_INTERVAL);\n var cacheSize = 0;\n function releaseURL(imageBinary) {\n var key = imageBinary.content;\n var element = ImageCache.map.get(key);\n if (element !== undefined) {\n element.referenceCount--;\n element.expireDate = Date.now() + ImageCache.TTL;\n ImageCache.map.set(key, element);\n if (ImageCache.GC_HIGH_PRESSURE < cacheSize) {\n gc();\n }\n }\n }\n ImageCache.releaseURL = releaseURL;\n function requestURL(imageBinary) {\n var key = imageBinary.content;\n var element = ImageCache.map.get(key);\n if (!key) {\n return null;\n }\n if (element === undefined) {\n var imageBlob = imageBinary.toBlob();\n if (!imageBlob) {\n return null;\n }\n element = {\n expireDate: 0,\n referenceCount: 0,\n cachedObjectURL: URL.createObjectURL(imageBlob),\n size: imageBlob.size,\n };\n cacheSize += element.size;\n }\n element.referenceCount++;\n ImageCache.map.set(key, element);\n return element.cachedObjectURL;\n }\n ImageCache.requestURL = requestURL;\n })(ImageCache = exports.ImageCache || (exports.ImageCache = {}));\n var Image = (function (_super) {\n tslib_1.__extends(Image, _super);\n function Image(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.state = {\n objectURL: null,\n hasError: false,\n };\n return _this;\n }\n Image_1 = Image;\n Image.prototype.loadBinary = function (loadingBinary) {\n var _this = this;\n var cachedContent = this.props.imageContent.content;\n loadingBinary.loadContent().then(function (imageBinary) {\n var content = imageBinary.content;\n if (!_this.state.objectURL || content !== cachedContent) {\n var objectURL = ImageCache.requestURL(loadingBinary);\n _this.setState({\n objectURL: objectURL,\n hasError: false,\n });\n }\n });\n };\n Image.prototype.UNSAFE_componentWillMount = function () {\n if (Image_1.isBinary(this.props)) {\n this.loadBinary(this.props.imageContent);\n }\n };\n Image.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {\n if (Image_1.isBinary(nextProps)) {\n if (!nextProps.imageContent.fastEquals(this.props.imageContent)) {\n ImageCache.releaseURL(this.props.imageContent);\n this.loadBinary(nextProps.imageContent);\n }\n }\n else {\n this.setState({\n hasError: false,\n });\n }\n };\n Image.isBinary = function (props) {\n return props.type === 2 && props.imageContent && !props.imageContent.url;\n };\n Image.prototype.componentWillUnmount = function () {\n if (Image_1.isBinary(this.props)) {\n ImageCache.releaseURL(this.props.imageContent);\n }\n };\n Image.getBinaryImgAbsoluteURL = function (url) {\n if (!url) {\n return url;\n }\n var r = new RegExp(\"^(blob:)?(?:[a-z]+:)?//|^/\", \"i\");\n if (r.test(url)) {\n return url;\n }\n else {\n return (\"/\" + ApplicationInfo.getBasePath() + \"/\" + url).replace(new RegExp(\"/(/)+\", \"g\"), \"/\");\n }\n };\n Image.prototype.prepareImageAttributes = function () {\n var _this = this;\n var imageAttributes = {\n \"data-image\": \"\",\n className: this.props.style,\n src: \"\",\n };\n if (this.state.hasError) {\n imageAttributes.src = Image_1.getBinaryImgAbsoluteURL(this.props.defaultImage);\n }\n else {\n switch (this.props.type) {\n case 1:\n imageAttributes.src = this.props.url;\n break;\n case 2:\n if (this.state.objectURL) {\n imageAttributes.src = this.state.objectURL;\n }\n else {\n if (this.props.imageContent && this.props.imageContent.hasContent()) {\n imageAttributes.src = Image_1.getBinaryImgAbsoluteURL(this.props.imageContent.url);\n }\n else {\n imageAttributes.src = Image_1.getBinaryImgAbsoluteURL(this.props.defaultImage);\n }\n }\n break;\n default:\n imageAttributes.src = this.props.image;\n break;\n }\n imageAttributes.onError = function () {\n if (_this.props.defaultImage) {\n _this.setState({\n hasError: true,\n });\n }\n };\n }\n this.fillWithBuiltinProperties(imageAttributes);\n return imageAttributes;\n };\n Image.prototype.render = function () {\n return React.createElement(HtmlTags_1.HtmlTags.img, this.prepareImageAttributes());\n };\n var Image_1;\n Image = Image_1 = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Image);\n return Image;\n }(Widget_1.Widget));\n exports.Image = Image;\n});\n//# sourceMappingURL=Image.js.map;\n","define('OutSystems/ReactWidgets/Throttling',[\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Throttling = void 0;\n var Throttling = (function () {\n function Throttling() {\n this.last = 0;\n }\n Throttling.prototype.dispose = function () {\n clearTimeout(this.deferTimerHandle);\n if (this.timeoutFunction) {\n this.timeoutFunction();\n }\n };\n Throttling.prototype.throttle = function (fn, effectiveInterval) {\n var _this = this;\n if (effectiveInterval === void 0) { effectiveInterval = Throttling.DefaultThrottlingInterval; }\n var now = new Date().valueOf();\n if (this.last && now < this.last + effectiveInterval) {\n clearTimeout(this.deferTimerHandle);\n this.timeoutFunction = function () {\n _this.last = now;\n _this.timeoutFunction = null;\n fn();\n };\n this.deferTimerHandle = setTimeout(this.timeoutFunction, effectiveInterval);\n }\n else {\n this.last = now;\n fn();\n }\n };\n Throttling.DefaultThrottlingInterval = 200;\n Throttling.CustomThrottlingRuntimeAttribute = \"data-throttlemilliseconds\";\n Throttling.CustomThrottlingProperty = \"onchange-throttle-milliseconds\";\n return Throttling;\n }());\n exports.Throttling = Throttling;\n});\n//# sourceMappingURL=Throttling.js.map;\n","define('OutSystems/ReactWidgets/Input',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/DataConversion\", \"OutSystems/ClientRuntime/DataTypes\", \"OutSystems/ReactView/Widget\", \"react\", \"./Throttling\"], function (require, exports, tslib_1, DataConversion_1, DataTypes_1, Widget_1, React, Throttling_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Input = void 0;\n var Input = (function (_super) {\n tslib_1.__extends(Input, _super);\n function Input(props, context) {\n var _this = _super.call(this, props, context) || this;\n if (_this.props.extendedProperties) {\n var customThrottlingValue = _this.props.extendedProperties[Throttling_1.Throttling.CustomThrottlingProperty];\n if (typeof customThrottlingValue !== \"undefined\") {\n _this.throttleValue = parseInt(customThrottlingValue, 10);\n }\n }\n _this.ShowDefaultValue = Input_1.getShowDefaultValue(props);\n _this.state = { value: _this.convertFromModel(props.variable.value) };\n _this.throttling = new Throttling_1.Throttling();\n return _this;\n }\n Input_1 = Input;\n Input.getShowDefaultValue = function (props) {\n if (props.extendedProperties) {\n var customShowDefaultValue = props.extendedProperties[Input_1.ShowDefaultValueProperty];\n if (typeof customShowDefaultValue !== \"undefined\") {\n return customShowDefaultValue.toLowerCase() === \"true\";\n }\n }\n return false;\n };\n Input.prototype.getCorrectDatePartForType = function (value, inputType) {\n switch (this.props.inputType) {\n case 5:\n return value.toString(\"yyyy-MM-ddTHH:mm\");\n case 4:\n return value.toString(\"yyyy-MM-dd\");\n case 3:\n return value.toString(\"HH:mm\");\n default:\n break;\n }\n throw new Error(\"A correct datetime type is required\");\n };\n Input.prototype.convertFromModel = function (value) {\n switch (this.props.inputType) {\n case 5:\n case 4:\n case 3:\n if (Input_1.isNullDate(value) && !this.ShowDefaultValue) {\n return \"\";\n }\n return this.getCorrectDatePartForType(value, this.props.inputType);\n case 2:\n if (parseFloat(value) === 0.0 && !this.ShowDefaultValue) {\n return \"\";\n }\n return value;\n default:\n return value;\n }\n };\n Input.isNullDate = function (value) {\n return value.equals(DataTypes_1.DateTime.defaultValue);\n };\n Object.defineProperty(Input.prototype, \"isMandatory\", {\n get: function () {\n return this.props.mandatory;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Input.prototype, \"variable\", {\n get: function () {\n return this.props.variable;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Input.prototype, \"htmlElement\", {\n get: function () {\n return this.getHTMLNode();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Input.prototype, \"inputedValue\", {\n get: function () {\n return this.htmlElement.value;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Input.prototype, \"inputedValueValidity\", {\n get: function () {\n return this.htmlElement.validity;\n },\n enumerable: false,\n configurable: true\n });\n Input.prototype.onChange = function (e) {\n var _this = this;\n var _a;\n var elem = e.target;\n if (this.props.inputType === 5 && ((_a = this.inputedValueValidity) === null || _a === void 0 ? void 0 : _a.stepMismatch)) {\n elem.value = elem.value.substr(0, 16);\n }\n this.variable.value = elem.value;\n this.setState({ value: elem.value });\n if (this.props.onChange) {\n this.throttling.throttle(function () { return _this.props.onChange(); }, this.throttleValue);\n }\n };\n Input.prototype.preparePromptForBrowsersThatDontSupportHTML5 = function (inputType) {\n var inputElem = this.htmlElement;\n switch (inputType) {\n case 4:\n inputElem.placeholder = DataTypes_1.Constants.FORMAT.defaultDateTimeFormat.dateFormat;\n break;\n case 3:\n inputElem.placeholder = DataTypes_1.Constants.FORMAT.defaultDateTimeFormat.timeFormat;\n break;\n case 5:\n inputElem.placeholder = DataTypes_1.Constants.FORMAT.defaultDateTimeFormat.dateTimeFormat;\n break;\n default:\n break;\n }\n };\n Input.prototype.componentDidMount = function () {\n var inputType = this.props.inputType;\n if (Input_1.supportsHTML5Inputs === undefined) {\n var inputElem = this.htmlElement;\n if (inputElem.type !== Input_1.toInputHtmlType(inputType)) {\n Input_1.supportsHTML5Inputs = false;\n }\n else {\n Input_1.supportsHTML5Inputs = true;\n }\n }\n if (this.props.prompt === undefined &&\n (inputType === 4 || inputType === 5 || inputType === 3)) {\n if (!Input_1.supportsHTML5Inputs) {\n this.preparePromptForBrowsersThatDontSupportHTML5(inputType);\n }\n }\n };\n Input.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {\n var elem = this.getHTMLNode();\n var nextValue = nextProps.variable.value.valueOf().toString();\n var canonicalValueInInput = DataConversion_1.JSConversions.convertTo(elem.value, this.variable.type).valueOf().toString();\n var valueAndModelAreEquivalent = canonicalValueInInput === nextValue;\n var showDefaultValue = Input_1.getShowDefaultValue(nextProps);\n if ((this.shouldUpdateValue(nextProps.variable) && !valueAndModelAreEquivalent) ||\n showDefaultValue !== this.ShowDefaultValue) {\n this.ShowDefaultValue = showDefaultValue;\n this.updateValue(nextProps.variable.value);\n }\n };\n Input.prototype.componentWillUnmount = function () {\n this.throttling.dispose();\n };\n Input.prototype.updateValue = function (value) {\n this.setState({ value: this.convertFromModel(value) });\n };\n Input.toInputHtmlType = function (type) {\n switch (type) {\n case 0:\n return \"text\";\n case 1:\n return \"password\";\n case 2:\n return \"number\";\n case 3:\n return \"time\";\n case 4:\n return \"date\";\n case 5:\n return \"datetime-local\";\n case 6:\n return \"tel\";\n case 7:\n return \"email\";\n case 8:\n return \"search\";\n default:\n return \"\";\n }\n };\n Input.prototype.shouldUseDefaultProperty = function (propertyName) {\n return !this.props.extendedProperties || !this.props.extendedProperties.hasOwnProperty(propertyName);\n };\n Input.prototype.render = function () {\n var _this = this;\n var inputAttributes = tslib_1.__assign({ \"data-input\": \"\", className: this.props.style, disabled: !this.props.enabled, required: this.props.mandatory, type: Input_1.toInputHtmlType(this.props.inputType), placeholder: this.props.prompt, onChange: function (event) { return _this.onChange(event); }, value: this.state.value.toString(), \"aria-required\": this.props.mandatory }, (this.hasValidationMessage() ? { \"aria-describedby\": this.getId() + Input_1.DescribedBySuffix } : {}));\n if (this.throttleValue !== Throttling_1.Throttling.DefaultThrottlingInterval) {\n inputAttributes[Throttling_1.Throttling.CustomThrottlingRuntimeAttribute] = this.throttleValue;\n }\n if (this.ShowDefaultValue !== Input_1.ShowDefaultValueDefault) {\n inputAttributes[Input_1.ShowDefaultValueRuntimeAttribute] = this.ShowDefaultValue;\n }\n switch (this.props.inputType) {\n case 2:\n var type = this.props.variable.type;\n switch (type) {\n case DataTypes_1.DataTypes.Integer:\n if (this.shouldUseDefaultProperty(\"pattern\")) {\n inputAttributes.pattern = \"[0-9]*\";\n }\n inputAttributes.max = DataTypes_1.Constants.MAX_INTEGER_VALUE;\n break;\n case DataTypes_1.DataTypes.LongInteger:\n if (this.shouldUseDefaultProperty(\"pattern\")) {\n inputAttributes.pattern = \"[0-9]*\";\n }\n inputAttributes.max = DataTypes_1.Constants.MAX_LONGINTEGER_VALUE.toString();\n break;\n case DataTypes_1.DataTypes.Currency:\n case DataTypes_1.DataTypes.Decimal:\n if (this.shouldUseDefaultProperty(\"pattern\")) {\n inputAttributes.pattern = \"[0-9]+.[0-9]*\";\n }\n if (this.shouldUseDefaultProperty(\"step\")) {\n inputAttributes.step = \"any\";\n }\n break;\n default:\n break;\n }\n break;\n case 3:\n case 5:\n case 4:\n break;\n default:\n if (this.props.maxLength > 0) {\n inputAttributes.maxLength = this.props.maxLength;\n }\n break;\n }\n this.fillWithBuiltinProperties(inputAttributes);\n delete inputAttributes[Throttling_1.Throttling.CustomThrottlingProperty];\n var outerSpanAttributes = {\n className: \"input-\" + inputAttributes.type,\n };\n return (React.createElement(\"span\", tslib_1.__assign({}, outerSpanAttributes),\n React.createElement(\"input\", tslib_1.__assign({}, inputAttributes)),\n this.createValidationElement()));\n };\n var Input_1;\n Input.ShowDefaultValueDefault = false;\n Input.ShowDefaultValueRuntimeAttribute = \"data-show-default-value\";\n Input.ShowDefaultValueProperty = \"show-default-value\";\n Input.supportsHTML5Inputs = undefined;\n Input = Input_1 = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Input);\n return Input;\n }(Widget_1.InputWithVariableWidget));\n exports.Input = Input;\n});\n//# sourceMappingURL=Input.js.map;\n","define('OutSystems/ReactWidgets/Label',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, HtmlTags_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Label = void 0;\n var Label = (function (_super) {\n tslib_1.__extends(Label, _super);\n function Label() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Label.prototype.render = function () {\n var labelAttributes = {\n \"data-label\": \"\",\n className: this.props.style,\n htmlFor: this.getSiblingWidgetId(this.props.targetWidget),\n };\n if (this.props.mandatory) {\n labelAttributes.className =\n (labelAttributes.className === undefined ? \"\" : labelAttributes.className + \" \") + \"mandatory\";\n }\n if (this.props.gridProperties && this.props.gridProperties.width) {\n labelAttributes.className =\n (labelAttributes.className === undefined ? \"\" : labelAttributes.className + \" \") + \"OSInline\";\n }\n this.fillWithBuiltinProperties(labelAttributes);\n return React.createElement(HtmlTags_1.HtmlTags.label, labelAttributes, this.props.children);\n };\n Label = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Label);\n return Label;\n }(Widget_1.Widget));\n exports.Label = Label;\n});\n//# sourceMappingURL=Label.js.map;\n","define('OutSystems/ReactWidgets/Link',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/Navigation\", \"OutSystems/ReactView/Widget\", \"query-string\", \"react\", \"react-router-dom\"], function (require, exports, tslib_1, Navigation, Widget_1, querystring, React, react_router_dom_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Link = void 0;\n var Link = (function (_super) {\n tslib_1.__extends(Link, _super);\n function Link() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.handleClickForAction = function (event) {\n event.preventDefault();\n event.stopPropagation();\n var onClick = _this.props.onClick;\n var click = function () { return _this.executeWithActiveClassOn(function () { return onClick === null || onClick === void 0 ? void 0 : onClick(); }); };\n if (_this.props.confirmationMessage && _this.props.confirmationMessage.length) {\n var notification = navigator.notification;\n if (notification) {\n notification.confirm(_this.props.confirmationMessage, function (button) {\n if (button === 1) {\n click();\n }\n }, \"\");\n }\n else if (window.confirm(_this.props.confirmationMessage)) {\n click();\n }\n }\n else {\n click();\n }\n };\n _this.handleClickForUrl = function (event) {\n event.stopPropagation();\n };\n return _this;\n }\n Link.prototype.render = function () {\n var _a;\n var _b = this.props, url = _b.url, enabled = _b.enabled, style = _b.style, transition = _b.transition, children = _b.children;\n var linkAttributes = {\n \"data-link\": \"\",\n className: style,\n disabled: !enabled,\n href: undefined,\n };\n if (enabled) {\n if (url) {\n linkAttributes.onClick = this.handleClickForUrl;\n var urlInfo = Navigation.getUrlInfo(url);\n if (urlInfo.isInternal) {\n linkAttributes.to = {\n pathname: urlInfo.path,\n search: Object.keys((_a = urlInfo.queryParams) !== null && _a !== void 0 ? _a : {}).length > 0\n ? \"?\" + querystring.stringify(urlInfo.queryParams, { sort: false })\n : \"\",\n state: {\n transition: transition,\n },\n };\n linkAttributes.activeClassName = \"active\";\n linkAttributes.isActive = function (match, location) {\n if (!match) {\n return false;\n }\n return match.isExact && linkAttributes.to.search === location.search;\n };\n this.fillWithBuiltinProperties(linkAttributes);\n return React.createElement(react_router_dom_1.NavLink, tslib_1.__assign({}, linkAttributes), children);\n }\n else {\n linkAttributes.href = url;\n }\n }\n else {\n linkAttributes.onClick = this.handleClickForAction;\n linkAttributes.href = \"#\";\n }\n }\n this.fillWithBuiltinProperties(linkAttributes);\n return React.createElement(\"a\", tslib_1.__assign({}, linkAttributes), children);\n };\n Link = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Link);\n return Link;\n }(Widget_1.Widget));\n exports.Link = Link;\n});\n//# sourceMappingURL=Link.js.map;\n","define('OutSystems/ReactWidgets/Popup',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/Portal\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, Portal_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Popup = void 0;\n var REACT_CONTAINER_ID = \"reactContainer\";\n var Popup = (function (_super) {\n tslib_1.__extends(Popup, _super);\n function Popup(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.updateMainContainerAriaHiddenAttr();\n _this.focusFirstFocusableElement = _this.focusFirstFocusableElement.bind(_this);\n _this.state = { value: props.showPopup };\n return _this;\n }\n Popup_1 = Popup;\n Popup.prototype.componentWillUnmount = function () {\n this.disableScroll(false);\n this.updateMainContainerAriaHiddenAttr();\n };\n Popup.prototype.UNSAFE_componentWillMount = function () {\n this.disableScroll(this.props.showPopup);\n };\n Popup.prototype.UNSAFE_componentWillUpdate = function (nextProps) {\n this.disableScroll(nextProps.showPopup);\n };\n Popup.prototype.componentDidUpdate = function () {\n var _this = this;\n this.updateMainContainerAriaHiddenAttr();\n if (this.props.showPopup !== this.state.value) {\n this.setState({ value: this.props.showPopup }, function () {\n _this.focusFirstFocusableElement();\n });\n }\n };\n Popup.prototype.disableScroll = function (disable) {\n if (disable) {\n document.documentElement.classList.add(Popup_1.DisableScrollClass);\n }\n else {\n document.documentElement.classList.remove(Popup_1.DisableScrollClass);\n }\n };\n Popup.prototype.updateMainContainerAriaHiddenAttr = function () {\n if (this.props.showPopup) {\n document.getElementById(REACT_CONTAINER_ID).setAttribute(\"aria-hidden\", \"true\");\n }\n else if (document.getElementsByClassName(\"popup-backdrop\").length === 0) {\n document.getElementById(REACT_CONTAINER_ID).removeAttribute(\"aria-hidden\");\n }\n };\n Popup.prototype.focusFirstFocusableElement = function () {\n if (this.props.showPopup) {\n var htmlNode = this.getHTMLNode();\n if (htmlNode) {\n var element = htmlNode.querySelector(\"input, button, textarea, select, a\");\n if (element) {\n element.focus();\n }\n }\n }\n };\n Popup.prototype.render = function () {\n if (this.props.showPopup) {\n var popupDialogDivAttributes = {\n \"data-popup\": \"\",\n className: \"popup-dialog \" + this.props.style,\n role: \"dialog\",\n \"aria-modal\": true,\n };\n this.fillWithBuiltinProperties(popupDialogDivAttributes);\n return (React.createElement(Portal_1.Portal, null,\n React.createElement(\"div\", { onClick: function (e) { return e.stopPropagation(); }, onTouchMove: function (e) { return e.stopPropagation(); }, className: \"popup-backdrop\", \"data-popup-backdrop\": \"\" },\n React.createElement(\"div\", tslib_1.__assign({}, popupDialogDivAttributes),\n React.createElement(\"div\", { className: \"popup-content\" }, this.props.children)))));\n }\n else {\n return null;\n }\n };\n var Popup_1;\n Popup.DisableScrollClass = \"popup-disable-scroll\";\n Popup = Popup_1 = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Popup);\n return Popup;\n }(Widget_1.Widget));\n exports.Popup = Popup;\n});\n//# sourceMappingURL=Popup.js.map;\n","define('OutSystems/ReactWidgets/Placeholder',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/ScrollExtensions\", \"OutSystems/ReactView/Widget\", \"OutSystems/ReactView/WidgetHelpers\", \"react\"], function (require, exports, tslib_1, HtmlTags_1, ScrollExtensions, Widget_1, WidgetHelpers_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Placeholder = void 0;\n var Placeholder = (function (_super) {\n tslib_1.__extends(Placeholder, _super);\n function Placeholder() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Placeholder_1 = Placeholder;\n Placeholder.toHtmlAlign = function (align) {\n switch (align) {\n case 2:\n return \"center\";\n case 1:\n return \"left\";\n case 3:\n return \"right\";\n default:\n return undefined;\n }\n };\n Placeholder.prototype.hasOrWillHaveChildren = function (nextProps) {\n return true;\n };\n Placeholder.prototype.serializeCustomStateProperties = function () {\n return ScrollExtensions.serializeScrollProperties(this.getHTMLNode());\n };\n Placeholder.prototype.loadCustomStateProperties = function (customProperties) {\n ScrollExtensions.loadScrollProperties(this.getHTMLNode(), customProperties);\n };\n Placeholder.prototype.render = function () {\n var placeholderStyle = {\n textAlign: Placeholder_1.toHtmlAlign(this.props.align),\n minHeight: this.props.height,\n cursor: this.props.extendedEvents && this.props.extendedEvents.onClick ? \"pointer\" : undefined,\n };\n var placeholderAttributes = {\n className: this.props.style,\n style: placeholderStyle,\n };\n this.fillWithBuiltinProperties(placeholderAttributes);\n return React.createElement(HtmlTags_1.HtmlTags.div, placeholderAttributes, WidgetHelpers_1.wrapElements(this.props.content.render()));\n };\n var Placeholder_1;\n Placeholder = Placeholder_1 = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Placeholder);\n return Placeholder;\n }(Widget_1.Widget));\n exports.Placeholder = Placeholder;\n});\n//# sourceMappingURL=Placeholder.js.map;\n","define('OutSystems/ReactWidgets/Utils',[\"require\", \"exports\"], function (require, exports) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.KeyboardKey = exports.debounce = void 0;\n exports.debounce = function (callback, debounceDelay, immediate) {\n if (debounceDelay === void 0) { debounceDelay = 300; }\n if (immediate === void 0) { immediate = false; }\n var timeout;\n return function () {\n var _this = this;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (immediate && !timeout) {\n callback.apply(this, args);\n }\n if (typeof timeout === \"number\") {\n clearTimeout(timeout);\n }\n timeout = setTimeout(function () {\n timeout = null;\n if (!immediate) {\n callback.apply(_this, args);\n }\n }, debounceDelay);\n };\n };\n var KeyboardKey;\n (function (KeyboardKey) {\n KeyboardKey[\"ENTER_KEY\"] = \"Enter\";\n KeyboardKey[\"ESCAPE_KEY\"] = \"Escape\";\n KeyboardKey[\"SPACE_KEY\"] = \" \";\n })(KeyboardKey = exports.KeyboardKey || (exports.KeyboardKey = {}));\n});\n//# sourceMappingURL=Utils.js.map;\n","define('OutSystems/ReactWidgets/Popover',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/Widget\", \"react\", \"react-dom\", \"./Utils\"], function (require, exports, tslib_1, Widget_1, React, react_dom_1, Utils_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Popover = exports.IPopoverAnchorState = void 0;\n var IPopoverAnchorState;\n (function (IPopoverAnchorState) {\n IPopoverAnchorState[IPopoverAnchorState[\"Start\"] = 0] = \"Start\";\n IPopoverAnchorState[IPopoverAnchorState[\"Middle\"] = 1] = \"Middle\";\n IPopoverAnchorState[IPopoverAnchorState[\"End\"] = 2] = \"End\";\n })(IPopoverAnchorState = exports.IPopoverAnchorState || (exports.IPopoverAnchorState = {}));\n var Popover = (function (_super) {\n tslib_1.__extends(Popover, _super);\n function Popover(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.bottomPlaceholderRef = React.createRef();\n _this.anchorRef = React.createRef();\n _this.verticalAnchor = null;\n _this.horizontalAnchor = null;\n _this.screenContainer = \"screen-container\";\n _this.getCoords = function () {\n var anchorBoundingRect = _this.anchorRef.current.getBoundingClientRect();\n var popoverBottomRect = _this.bottomPlaceholderRef.current.getBoundingClientRect();\n var horizontalAnchor = _this.horizontalAnchor;\n var verticalAnchor = _this.verticalAnchor;\n var newLeft = anchorBoundingRect.left + anchorBoundingRect.width / 2 - popoverBottomRect.width / 2 + \"px\";\n var newRight = \"\";\n var newTop = anchorBoundingRect.top + \"px\";\n var newBottom = \"\";\n if (horizontalAnchor !== null && verticalAnchor !== null) {\n if (horizontalAnchor === IPopoverAnchorState.Start) {\n newLeft = anchorBoundingRect.left + \"px\";\n }\n else if (horizontalAnchor === IPopoverAnchorState.End) {\n newLeft = \"\";\n newRight = window.innerWidth - anchorBoundingRect.right + \"px\";\n }\n if (verticalAnchor === IPopoverAnchorState.End) {\n newTop = \"\";\n newBottom = window.innerHeight - anchorBoundingRect.bottom + \"px\";\n }\n }\n var newCoords = {\n newLeft: newLeft,\n newRight: newRight,\n newTop: newTop,\n newBottom: newBottom,\n };\n return newCoords;\n };\n _this.updateCoords = function () {\n var _a = _this.getCoords(), newLeft = _a.newLeft, newRight = _a.newRight, newTop = _a.newTop, newBottom = _a.newBottom;\n var _b = _this.state.coords, left = _b.left, right = _b.right, top = _b.top, bottom = _b.bottom;\n if (left !== newLeft || right !== newRight || top !== newTop || bottom !== newBottom) {\n _this.setState({\n coords: {\n left: newLeft,\n right: newRight,\n top: newTop,\n bottom: newBottom,\n },\n });\n }\n };\n _this.debouncedUpdateCoords = Utils_1.debounce(_this.updateCoords);\n _this.outerOnClickHander = function (event) {\n if (!_this.isElementInsidePopover(event.target)) {\n event.stopPropagation();\n _this.unregisterEvents();\n _this.horizontalAnchor = null;\n _this.verticalAnchor = null;\n _this.setState({\n expanded: false,\n anchored: false,\n });\n }\n };\n _this.state = {\n expanded: false,\n coords: {\n left: \"\",\n top: \"\",\n right: \"\",\n bottom: \"\",\n },\n anchored: false,\n popoverParent: null,\n };\n return _this;\n }\n Popover.prototype.show = function (event) {\n event.stopPropagation();\n this.registerEvents();\n this.setState({\n expanded: true,\n });\n };\n Popover.prototype.hide = function (event) {\n event.stopPropagation();\n this.unregisterEvents();\n this.horizontalAnchor = null;\n this.verticalAnchor = null;\n this.setState({\n expanded: false,\n anchored: false,\n });\n };\n Popover.prototype.registerEvents = function () {\n document.addEventListener(\"click\", this.outerOnClickHander, { capture: true });\n window.addEventListener(\"resize\", this.debouncedUpdateCoords);\n window.addEventListener(\"scroll\", this.updateCoords, { capture: true });\n };\n Popover.prototype.unregisterEvents = function () {\n document.removeEventListener(\"click\", this.outerOnClickHander, { capture: true });\n window.removeEventListener(\"resize\", this.debouncedUpdateCoords);\n window.removeEventListener(\"scroll\", this.updateCoords, { capture: true });\n };\n Popover.prototype.isElementInsidePopover = function (element) {\n var popover = this.bottomPlaceholderRef.current;\n return popover && element && (element === popover || popover.contains(element));\n };\n Popover.prototype.adjustPositionBasedOnViewport = function () {\n if (this.state.expanded) {\n var popoverBottom = this.bottomPlaceholderRef.current;\n if (!this.state.anchored) {\n var _a = this.getCoords(), newLeft = _a.newLeft, newRight = _a.newRight, newTop = _a.newTop, newBottom = _a.newBottom;\n this.setState({\n coords: {\n left: newLeft,\n right: newRight,\n top: newTop,\n bottom: newBottom,\n },\n anchored: true,\n });\n }\n else if (this.horizontalAnchor === null && this.verticalAnchor === null) {\n var horizontalAnchor = IPopoverAnchorState.Middle;\n var verticalAnchor = IPopoverAnchorState.Start;\n var boundingRect = popoverBottom.getBoundingClientRect();\n if (boundingRect.left < 0) {\n horizontalAnchor = IPopoverAnchorState.Start;\n }\n else if (boundingRect.right > window.innerWidth) {\n horizontalAnchor = IPopoverAnchorState.End;\n }\n if (boundingRect.bottom > window.innerHeight) {\n verticalAnchor = IPopoverAnchorState.End;\n }\n this.horizontalAnchor = horizontalAnchor;\n this.verticalAnchor = verticalAnchor;\n }\n this.updateCoords();\n }\n };\n Popover.prototype.componentDidUpdate = function () {\n this.adjustPositionBasedOnViewport();\n };\n Popover.prototype.setParentComponent = function () {\n var _this = this;\n var popover = this.anchorRef.current;\n Array.from(document.getElementsByClassName(this.screenContainer)).forEach(function (element) {\n if (element.contains(popover)) {\n _this.setState({\n popoverParent: element,\n });\n }\n else {\n _this.setState({\n popoverParent: popover.parentElement,\n });\n }\n });\n };\n Popover.prototype.componentDidMount = function () {\n this.setParentComponent();\n this.adjustPositionBasedOnViewport();\n };\n Popover.prototype.componentWillUnmount = function () {\n this.unregisterEvents();\n };\n Popover.prototype.preparePopoverAttributes = function () {\n var popoverAttributes = {\n \"data-popover\": \"\",\n className: this.props.style,\n };\n this.fillWithBuiltinProperties(popoverAttributes);\n if (this.state.expanded) {\n popoverAttributes.className += \" popover-expanded\";\n }\n return popoverAttributes;\n };\n Popover.prototype.preparePopoverTopPlaceholderAttributes = function () {\n var _this = this;\n var popoverTopAttributes = {\n className: \"popover-top\",\n onClick: function (event) { return _this.show(event); },\n onKeyDown: function (event) {\n if (event.key === Utils_1.KeyboardKey.ENTER_KEY || event.key === Utils_1.KeyboardKey.SPACE_KEY) {\n _this.show(event);\n }\n else if (_this.state.expanded && event.key === Utils_1.KeyboardKey.ESCAPE_KEY) {\n _this.hide(event);\n }\n },\n tabIndex: 0,\n ref: this.anchorRef,\n };\n return popoverTopAttributes;\n };\n Popover.prototype.preparePopoverBottomPlaceholderAnchorAttributes = function () {\n var _a = this.state.coords, left = _a.left, top = _a.top, right = _a.right, bottom = _a.bottom;\n var currentRef = this.bottomPlaceholderRef.current;\n var zindex = currentRef ? getComputedStyle(currentRef.firstElementChild)[\"z-index\"] : \"\";\n var popoverStyle = {\n position: \"fixed\",\n width: \"max-content\",\n left: left,\n top: top,\n right: right,\n bottom: bottom,\n zIndex: zindex,\n };\n var popoverAttributes = {\n \"data-popover\": \"\",\n style: popoverStyle,\n className: this.props.style,\n ref: this.bottomPlaceholderRef,\n };\n return popoverAttributes;\n };\n Popover.prototype.preparePopoverBottomPlaceholderAttributes = function () {\n var _this = this;\n var popoverStyle = {\n width: this.props.popoverWidth ? this.props.popoverWidth + \"px\" : \"\",\n };\n var popoverBottomAttributes = {\n className: \"popover-bottom \",\n style: popoverStyle,\n onClick: function (event) { return _this.hide(event); },\n onKeyDown: function (event) {\n if (event.key === Utils_1.KeyboardKey.ESCAPE_KEY) {\n _this.hide(event);\n }\n },\n };\n return popoverBottomAttributes;\n };\n Popover.prototype.render = function () {\n var topContent = (React.createElement(\"div\", tslib_1.__assign({}, this.preparePopoverTopPlaceholderAttributes()), this.props.placeholders.topContent.render()));\n var bottomContent = this.state.expanded ? (React.createElement(\"div\", tslib_1.__assign({}, this.preparePopoverBottomPlaceholderAnchorAttributes()),\n React.createElement(\"div\", tslib_1.__assign({}, this.preparePopoverBottomPlaceholderAttributes()), this.props.placeholders.bottomContent.render()))) : null;\n return (React.createElement(\"div\", tslib_1.__assign({}, this.preparePopoverAttributes()),\n topContent,\n this.state.popoverParent ? react_dom_1.createPortal(bottomContent, this.state.popoverParent) : null));\n };\n Popover = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Popover);\n return Popover;\n }(Widget_1.Widget));\n exports.Popover = Popover;\n});\n//# sourceMappingURL=Popover.js.map;\n","define('OutSystems/ReactWidgets/Switch',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, HtmlTags_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Switch = void 0;\n var Switch = (function (_super) {\n tslib_1.__extends(Switch, _super);\n function Switch(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.state = { value: props.variable.value };\n return _this;\n }\n Switch.prototype.onChange = function (e) {\n var _this = this;\n var elem = e.target;\n this.props.variable.value = elem.checked;\n this.setState({ value: elem.checked }, function () {\n if (_this.props.onChange) {\n _this.executeAfterPaint(function () {\n _this.executeWithActiveClassOn(function () { return _this.props.onChange(); });\n });\n }\n });\n };\n Object.defineProperty(Switch.prototype, \"htmlElement\", {\n get: function () {\n return this.getHTMLNode();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Switch.prototype, \"inputedValue\", {\n get: function () {\n return this.htmlElement.checked;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Switch.prototype, \"inputedValueValidity\", {\n get: function () {\n return this.htmlElement.validity;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Switch.prototype, \"variable\", {\n get: function () {\n return this.props.variable;\n },\n enumerable: false,\n configurable: true\n });\n Switch.prototype.updateValue = function (value) {\n this.setState({ value: value });\n };\n Switch.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {\n if (this.props.variable.value !== nextProps.variable.value) {\n this.updateValue(nextProps.variable.value);\n }\n };\n Switch.prototype.render = function () {\n var _this = this;\n var switchAttributes = {\n \"data-switch\": \"\",\n className: this.props.style,\n disabled: !this.props.enabled,\n type: \"checkbox\",\n onChange: function (e) { return _this.onChange(e); },\n checked: this.state.value,\n };\n this.fillWithBuiltinProperties(switchAttributes);\n return React.createElement(HtmlTags_1.HtmlTags.span, null, React.createElement(HtmlTags_1.HtmlTags.input, switchAttributes), this.createValidationElement());\n };\n Switch = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Switch);\n return Switch;\n }(Widget_1.InputWithVariableWidget));\n exports.Switch = Switch;\n});\n//# sourceMappingURL=Switch.js.map;\n","define('OutSystems/ReactWidgets/Text',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/ObjectExtensions\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\"], function (require, exports, tslib_1, ObjectExtensions, HtmlTags_1, Widget_1, React) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Text = void 0;\n var Text = (function (_super) {\n tslib_1.__extends(Text, _super);\n function Text() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Text.prototype.render = function () {\n var attributes = {\n className: this.props.style,\n };\n this.fillWithBuiltinProperties(attributes);\n return React.createElement.apply(React, tslib_1.__spreadArrays([HtmlTags_1.HtmlTags.span, attributes], this.props.text));\n };\n Text.prototype.shouldComponentUpdate = function (nextProps, nextState, nextContext) {\n return (!ObjectExtensions.arrayShallowEquals(this.props.text, nextProps.text) || _super.prototype.shouldComponentUpdate.call(this, nextProps, nextState, nextContext));\n };\n Text = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Text);\n return Text;\n }(Widget_1.Widget));\n exports.Text = Text;\n});\n//# sourceMappingURL=Text.js.map;\n","define('OutSystems/ReactWidgets/TextArea',[\"require\", \"exports\", \"tslib\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\", \"./Throttling\"], function (require, exports, tslib_1, HtmlTags_1, Widget_1, React, Throttling_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.TextArea = void 0;\n var TextArea = (function (_super) {\n tslib_1.__extends(TextArea, _super);\n function TextArea(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.state = { value: \"\" };\n _this.throttling = new Throttling_1.Throttling();\n return _this;\n }\n TextArea.prototype.onChange = function (e) {\n var _this = this;\n var input = e.target;\n this.variable.value = input.value;\n this.setState({ value: input.value });\n if (this.props.onChange) {\n this.throttling.throttle(function () { return _this.props.onChange(); }, this.throttleValue);\n }\n };\n Object.defineProperty(TextArea.prototype, \"htmlElement\", {\n get: function () {\n return this.getHTMLNode();\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(TextArea.prototype, \"inputedValue\", {\n get: function () {\n return this.htmlElement.value;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(TextArea.prototype, \"inputedValueValidity\", {\n get: function () {\n return this.htmlElement.validity;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(TextArea.prototype, \"isMandatory\", {\n get: function () {\n return this.props.mandatory;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(TextArea.prototype, \"variable\", {\n get: function () {\n return this.props.variable;\n },\n enumerable: false,\n configurable: true\n });\n TextArea.prototype.componentDidMount = function () {\n this.updateValue(this.props.variable.value);\n if (this.props.extendedProperties) {\n var customValue = this.props.extendedProperties[Throttling_1.Throttling.CustomThrottlingProperty];\n if (typeof customValue !== \"undefined\") {\n this.throttleValue = parseInt(customValue, 10);\n }\n }\n };\n TextArea.prototype.updateValue = function (value) {\n this.setState({ value: value });\n };\n TextArea.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {\n if (this.props.variable.value !== nextProps.variable.value) {\n this.updateValue(nextProps.variable.value);\n }\n };\n TextArea.prototype.componentWillUnmount = function () {\n this.throttling.dispose();\n };\n TextArea.prototype.render = function () {\n var _this = this;\n var textAreaAttributes = {\n \"data-textarea\": \"\",\n className: this.props.style,\n disabled: !this.props.enabled,\n required: this.props.mandatory,\n rows: this.props.textLines,\n placeholder: this.props.prompt,\n onChange: function (e) { return _this.onChange(e); },\n value: this.state.value.toString(),\n };\n if (this.props.maxLength > 0) {\n textAreaAttributes.maxLength = this.props.maxLength;\n }\n this.fillWithBuiltinProperties(textAreaAttributes);\n delete textAreaAttributes[Throttling_1.Throttling.CustomThrottlingProperty];\n return React.createElement(HtmlTags_1.HtmlTags.span, null, React.createElement(HtmlTags_1.HtmlTags.textarea, textAreaAttributes), this.createValidationElement());\n };\n TextArea = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], TextArea);\n return TextArea;\n }(Widget_1.InputWithVariableWidget));\n exports.TextArea = TextArea;\n});\n//# sourceMappingURL=TextArea.js.map;\n","define('OutSystems/ReactWidgets/Upload',[\"require\", \"exports\", \"tslib\", \"OutSystems/ClientRuntime/DataTypes\", \"OutSystems/ClientRuntime/NativeHelper\", \"OutSystems/ReactView/HtmlTags\", \"OutSystems/ReactView/Widget\", \"react\", \"./Utils\"], function (require, exports, tslib_1, DataTypes_1, NativeHelper, HtmlTags_1, Widget_1, React, Utils_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Upload = void 0;\n var Upload = (function (_super) {\n tslib_1.__extends(Upload, _super);\n function Upload(props, context) {\n var _this = _super.call(this, props, context) || this;\n _this.hiddenInputRef = React.createRef();\n _this.state = {\n filename: null,\n value: null,\n };\n return _this;\n }\n Upload_1 = Upload;\n Object.defineProperty(Upload.prototype, \"isMandatory\", {\n get: function () {\n return this.props.mandatory;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Upload.prototype, \"variable\", {\n get: function () {\n return this.props.fileContent;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Upload.prototype, \"hiddenInput\", {\n get: function () {\n return this.hiddenInputRef.current;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Upload.prototype, \"inputedValue\", {\n get: function () {\n return this.variable;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Upload.prototype, \"inputedValueValidity\", {\n get: function () {\n return this.hiddenInput.validity;\n },\n enumerable: false,\n configurable: true\n });\n Upload.prototype.getAcceptProperty = function () {\n var type;\n switch (this.props.accept) {\n case 0:\n type = \"image/*\";\n break;\n case 1:\n type = \"video/*\";\n break;\n default:\n type = \"\";\n }\n return type;\n };\n Upload.prototype.handleFileSelect = function (evt) {\n var _this = this;\n var _a;\n var file = (_a = evt.target.files) === null || _a === void 0 ? void 0 : _a[0];\n var newFilename = file === null || file === void 0 ? void 0 : file.name;\n var previousFilename = this.state.filename;\n var shouldContinue = file && newFilename && previousFilename !== newFilename;\n if (shouldContinue) {\n var reader = new FileReader();\n reader.onload = function (e) {\n var content = e.target.result;\n var base64Index = content.indexOf(\";base64,\");\n var actualContent = content.substring(base64Index + 8);\n var contentVar = new DataTypes_1.BinaryData(actualContent);\n if (_this.props.fileName) {\n _this.props.fileName.value = newFilename;\n }\n _this.variable.value = contentVar;\n _this.setState({ filename: newFilename, value: contentVar });\n if (_this.props.onChange) {\n _this.props.onChange();\n }\n };\n reader.readAsDataURL(file);\n }\n };\n Upload.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {\n var _a;\n if (this.shouldUpdateValue(nextProps.fileContent)) {\n this.updateValue((_a = nextProps.fileName) === null || _a === void 0 ? void 0 : _a.value, nextProps.fileContent.value);\n }\n };\n Upload.prototype.updateValue = function (filename, value) {\n this.setState({ filename: filename, value: value });\n if (value.content === null && this.hiddenInputRef.current) {\n this.hiddenInputRef.current.value = \"\";\n }\n };\n Upload.prototype.render = function () {\n var _this = this;\n var type = this.getAcceptProperty();\n var inputStyle = {\n display: \"none\",\n };\n var inputAttributes = {\n type: \"file\",\n accept: type,\n style: inputStyle,\n onChange: function (evt) { return _this.handleFileSelect(evt); },\n ref: this.hiddenInputRef,\n required: this.props.mandatory,\n };\n var extendedProperties = this.props.extendedProperties;\n if (extendedProperties) {\n for (var extendedPropertyName in extendedProperties) {\n if (this.shouldIncludeOnExtendedProperty(extendedPropertyName)) {\n inputAttributes[extendedPropertyName] = extendedProperties[extendedPropertyName];\n }\n }\n }\n var labelAttributes = {\n \"data-upload\": \"\",\n className: this.props.style,\n onKeyDown: function (event) {\n if (event.key === Utils_1.KeyboardKey.ENTER_KEY || event.key === Utils_1.KeyboardKey.SPACE_KEY) {\n _this.hiddenInputRef.current.click();\n }\n },\n tabIndex: 0,\n };\n if (this.variable.value.hasContent()) {\n labelAttributes.className += \" uploaded\";\n }\n this.fillWithBuiltinProperties(labelAttributes);\n var outerSpanAttributes = {\n className: \"upload-\" + inputAttributes.type,\n };\n var label = React.createElement(HtmlTags_1.HtmlTags.label, labelAttributes, React.createElement(HtmlTags_1.HtmlTags.input, inputAttributes), this.props.children);\n return React.createElement(HtmlTags_1.HtmlTags.span, outerSpanAttributes, label, this.createValidationElement());\n };\n Upload.prototype.shouldIncludeOnExtendedProperty = function (extendedPropertyName) {\n if (extendedPropertyName === \"style\") {\n return false;\n }\n if (extendedPropertyName === Upload_1.Capture) {\n if (NativeHelper.isRunningOnNative()) {\n var w = window;\n if (w.device &&\n w.device.platform.toLowerCase() === \"android\" &&\n /^[7-9](\\..*)?$/.test(w.device.version)) {\n return false;\n }\n }\n }\n return true;\n };\n var Upload_1;\n Upload.Capture = \"capture\";\n Upload = Upload_1 = tslib_1.__decorate([\n Widget_1.WidgetSpec\n ], Upload);\n return Upload;\n }(Widget_1.InputWithVariableWidget));\n exports.Upload = Upload;\n});\n//# sourceMappingURL=Upload.js.map;\n","define('OutSystems/ReactWidgets/Main',[\"require\", \"exports\", \"OutSystems/ClientRuntime/VersionDefinition\", \"./AdvancedHtml\", \"./Button\", \"./ButtonGroup\", \"./ButtonGroupItem\", \"./Checkbox\", \"./RadioGroup\", \"./RadioButton\", \"./Container\", \"./Dropdown\", \"./Expression\", \"./List\", \"./ListItem\", \"./ListItemAction\", \"./TableRecords\", \"./HeaderCell\", \"./RowCell\", \"./Form\", \"./Icon\", \"./Image\", \"./Input\", \"./Label\", \"./Link\", \"./Popup\", \"./Placeholder\", \"./Popover\", \"./Switch\", \"./Text\", \"./TextArea\", \"./Upload\"], function (require, exports, VersionDefinition, AdvancedHtml_1, Button_1, ButtonGroup_1, ButtonGroupItem_1, Checkbox_1, RadioGroup_1, RadioButton_1, Container_1, Dropdown_1, Expression_1, List_1, ListItem_1, ListItemAction_1, TableRecords_1, HeaderCell_1, RowCell_1, Form_1, Icon_1, Image_1, Input_1, Label_1, Link_1, Popup_1, Placeholder_1, Popover_1, Switch_1, Text_1, TextArea_1, Upload_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.Version = void 0;\n Object.defineProperty(exports, \"AdvancedHtml\", { enumerable: true, get: function () { return AdvancedHtml_1.AdvancedHtml; } });\n Object.defineProperty(exports, \"Button\", { enumerable: true, get: function () { return Button_1.Button; } });\n Object.defineProperty(exports, \"ButtonGroup\", { enumerable: true, get: function () { return ButtonGroup_1.ButtonGroup; } });\n Object.defineProperty(exports, \"ButtonGroupItem\", { enumerable: true, get: function () { return ButtonGroupItem_1.ButtonGroupItem; } });\n Object.defineProperty(exports, \"Checkbox\", { enumerable: true, get: function () { return Checkbox_1.Checkbox; } });\n Object.defineProperty(exports, \"RadioGroup\", { enumerable: true, get: function () { return RadioGroup_1.RadioGroup; } });\n Object.defineProperty(exports, \"RadioButton\", { enumerable: true, get: function () { return RadioButton_1.RadioButton; } });\n Object.defineProperty(exports, \"Container\", { enumerable: true, get: function () { return Container_1.Container; } });\n Object.defineProperty(exports, \"Dropdown\", { enumerable: true, get: function () { return Dropdown_1.Dropdown; } });\n Object.defineProperty(exports, \"Expression\", { enumerable: true, get: function () { return Expression_1.Expression; } });\n Object.defineProperty(exports, \"List\", { enumerable: true, get: function () { return List_1.List; } });\n Object.defineProperty(exports, \"ListItem\", { enumerable: true, get: function () { return ListItem_1.ListItem; } });\n Object.defineProperty(exports, \"ListItemAction\", { enumerable: true, get: function () { return ListItemAction_1.ListItemAction; } });\n Object.defineProperty(exports, \"TableRecords\", { enumerable: true, get: function () { return TableRecords_1.TableRecords; } });\n Object.defineProperty(exports, \"HeaderCell\", { enumerable: true, get: function () { return HeaderCell_1.HeaderCell; } });\n Object.defineProperty(exports, \"RowCell\", { enumerable: true, get: function () { return RowCell_1.RowCell; } });\n Object.defineProperty(exports, \"Form\", { enumerable: true, get: function () { return Form_1.Form; } });\n Object.defineProperty(exports, \"Icon\", { enumerable: true, get: function () { return Icon_1.Icon; } });\n Object.defineProperty(exports, \"Image\", { enumerable: true, get: function () { return Image_1.Image; } });\n Object.defineProperty(exports, \"Input\", { enumerable: true, get: function () { return Input_1.Input; } });\n Object.defineProperty(exports, \"Label\", { enumerable: true, get: function () { return Label_1.Label; } });\n Object.defineProperty(exports, \"Link\", { enumerable: true, get: function () { return Link_1.Link; } });\n Object.defineProperty(exports, \"Popup\", { enumerable: true, get: function () { return Popup_1.Popup; } });\n Object.defineProperty(exports, \"Placeholder\", { enumerable: true, get: function () { return Placeholder_1.Placeholder; } });\n Object.defineProperty(exports, \"Popover\", { enumerable: true, get: function () { return Popover_1.Popover; } });\n Object.defineProperty(exports, \"Switch\", { enumerable: true, get: function () { return Switch_1.Switch; } });\n Object.defineProperty(exports, \"Text\", { enumerable: true, get: function () { return Text_1.Text; } });\n Object.defineProperty(exports, \"TextArea\", { enumerable: true, get: function () { return TextArea_1.TextArea; } });\n Object.defineProperty(exports, \"Upload\", { enumerable: true, get: function () { return Upload_1.Upload; } });\n exports.Version = \"3.23.0\";\n VersionDefinition.registerPackage(\"client-runtime-widgets\", exports.Version);\n});\n//# sourceMappingURL=Main.js.map;\n"]}